You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sdk/generated/domain-map.json
+50-19Lines changed: 50 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,35 @@
46
46
},
47
47
"Screen": {
48
48
"description": "A generated UI screen. Provides access to HTML and screenshots.",
49
+
"extensionPath": "../../src/screen-ext.js",
49
50
"constructorParams": ["projectId", "screenId"],
50
51
"parentField": "projectId",
52
+
"sideEffects": [
53
+
{
54
+
"method": "getHtml",
55
+
"reason": "binary_data",
56
+
"specPath": "src/spec/content.ts"
57
+
},
58
+
{
59
+
"method": "getImage",
60
+
"reason": "binary_data",
61
+
"specPath": "src/spec/content.ts"
62
+
},
63
+
{
64
+
"method": "readHtml",
65
+
"reason": "binary_data",
66
+
"specPath": "src/spec/content.ts"
67
+
},
68
+
{
69
+
"method": "readImage",
70
+
"reason": "binary_data",
71
+
"specPath": "src/spec/content.ts"
72
+
}
73
+
],
74
+
"publicInterface": {
75
+
"name": "ScreenContentSpec",
76
+
"importPath": "../../src/spec/content.js"
77
+
},
51
78
"reference": {
52
79
"keys": ["projectId", "screenId"]
53
80
}
@@ -115,19 +142,18 @@
115
142
},
116
143
"returns": {
117
144
"class": "Screen",
145
+
"kind": "generation",
118
146
"projection": [
119
147
{
120
148
"prop": "outputComponents",
121
-
"find": "design.screens",
122
-
"acknowledgeSingle": true
149
+
"each": true
123
150
},
124
151
{
125
152
"prop": "design"
126
153
},
127
154
{
128
155
"prop": "screens",
129
-
"index": 0,
130
-
"acknowledgeSingle": true
156
+
"each": true
131
157
}
132
158
]
133
159
}
@@ -158,19 +184,18 @@
158
184
},
159
185
"returns": {
160
186
"class": "Screen",
187
+
"kind": "generation",
161
188
"projection": [
162
189
{
163
190
"prop": "outputComponents",
164
-
"find": "design.screens",
165
-
"acknowledgeSingle": true
191
+
"each": true
166
192
},
167
193
{
168
194
"prop": "design"
169
195
},
170
196
{
171
197
"prop": "screens",
172
-
"index": 0,
173
-
"acknowledgeSingle": true
198
+
"each": true
174
199
}
175
200
]
176
201
}
@@ -204,6 +229,7 @@
204
229
},
205
230
"returns": {
206
231
"class": "Screen",
232
+
"kind": "generation",
207
233
"projection": [
208
234
{
209
235
"prop": "outputComponents",
@@ -216,8 +242,7 @@
216
242
"prop": "screens",
217
243
"each": true
218
244
}
219
-
],
220
-
"array": true
245
+
]
221
246
}
222
247
},
223
248
{
@@ -258,12 +283,13 @@
258
283
"returns": {
259
284
"class": "Screen",
260
285
"projection": []
261
-
}
286
+
},
287
+
"description": "Fetch a screen by ID and return its identity-mapped handle."
262
288
},
263
289
{
264
290
"tool": "get_screen",
265
291
"class": "Screen",
266
-
"method": "getHtml",
292
+
"method": "getHtmlUrl",
267
293
"args": {
268
294
"projectId": {
269
295
"from": "self"
@@ -296,13 +322,15 @@
296
322
"prop": "downloadUrl"
297
323
}
298
324
],
299
-
"description": "Use cached HTML download URL from generation response if available"
300
-
}
325
+
"description": "Use cached HTML download URL from generation response if available",
326
+
"writeBack": true
327
+
},
328
+
"description": "Get the signed download URL for this screen's HTML. Cache-aware: served from generation data when present; responses are written back to the cache."
301
329
},
302
330
{
303
331
"tool": "get_screen",
304
332
"class": "Screen",
305
-
"method": "getImage",
333
+
"method": "getImageUrl",
306
334
"args": {
307
335
"projectId": {
308
336
"from": "self"
@@ -335,8 +363,10 @@
335
363
"prop": "downloadUrl"
336
364
}
337
365
],
338
-
"description": "Use cached screenshot URL from generation response"
339
-
}
366
+
"description": "Use cached screenshot URL from generation response",
367
+
"writeBack": true
368
+
},
369
+
"description": "Get the signed download URL for this screen's screenshot. Cache-aware: served from generation data when present; responses are written back to the cache."
0 commit comments