@sixb/server 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/artifacts/frame.d.ts +5 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/browser-origin.d.ts +5 -1
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/experience.d.ts +1 -0
  6. package/dist/auth/experience.d.ts.map +1 -1
  7. package/dist/auth/public-routes.d.ts.map +1 -1
  8. package/dist/auth/responses.d.ts +1 -1
  9. package/dist/auth/responses.d.ts.map +1 -1
  10. package/dist/auth/scope.d.ts +19 -3
  11. package/dist/auth/scope.d.ts.map +1 -1
  12. package/dist/index.js +10093 -7553
  13. package/dist/index.js.map +51 -39
  14. package/dist/models/display.d.ts +27 -0
  15. package/dist/models/display.d.ts.map +1 -1
  16. package/dist/openapi/components.d.ts +14 -0
  17. package/dist/openapi/components.d.ts.map +1 -0
  18. package/dist/openapi/tags.d.ts +14 -2
  19. package/dist/openapi/tags.d.ts.map +1 -1
  20. package/dist/registerRoutes.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +5 -5
  22. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  23. package/dist/routes/agent-approval-gate.d.ts +27 -0
  24. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  25. package/dist/routes/agent-approvals.d.ts +599 -0
  26. package/dist/routes/agent-approvals.d.ts.map +1 -0
  27. package/dist/routes/agent-children.d.ts +318 -0
  28. package/dist/routes/agent-children.d.ts.map +1 -0
  29. package/dist/routes/agent-memory.d.ts +267 -0
  30. package/dist/routes/agent-memory.d.ts.map +1 -0
  31. package/dist/routes/agents.d.ts +999 -80
  32. package/dist/routes/agents.d.ts.map +1 -1
  33. package/dist/routes/ai-accounting.d.ts.map +1 -1
  34. package/dist/routes/artifact-frames.d.ts +3 -3
  35. package/dist/routes/artifact-frames.d.ts.map +1 -1
  36. package/dist/routes/artifacts.d.ts +790 -134
  37. package/dist/routes/artifacts.d.ts.map +1 -1
  38. package/dist/routes/auth.d.ts +116 -10
  39. package/dist/routes/auth.d.ts.map +1 -1
  40. package/dist/routes/connector-connection-runs.d.ts +50 -50
  41. package/dist/routes/connectors.d.ts +2 -2
  42. package/dist/routes/datasets.d.ts +20 -20
  43. package/dist/routes/events.d.ts +4 -4
  44. package/dist/routes/files.d.ts +14 -14
  45. package/dist/routes/files.d.ts.map +1 -1
  46. package/dist/routes/links.d.ts +2 -2
  47. package/dist/routes/logs.d.ts +5 -5
  48. package/dist/routes/model-calls.d.ts +155 -0
  49. package/dist/routes/model-calls.d.ts.map +1 -0
  50. package/dist/routes/model-generations.d.ts +400 -0
  51. package/dist/routes/model-generations.d.ts.map +1 -0
  52. package/dist/routes/models.d.ts +434 -1
  53. package/dist/routes/models.d.ts.map +1 -1
  54. package/dist/routes/objects.d.ts +71 -40
  55. package/dist/routes/objects.d.ts.map +1 -1
  56. package/dist/routes/observed-agent-threads.d.ts +682 -0
  57. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  58. package/dist/routes/ontology.d.ts +66 -62
  59. package/dist/routes/ontology.d.ts.map +1 -1
  60. package/dist/routes/pipelines.d.ts +24 -24
  61. package/dist/routes/projections.d.ts +55 -55
  62. package/dist/routes/rules.d.ts +2 -2
  63. package/dist/routes/share-grants.d.ts +9 -9
  64. package/dist/routes/syncs.d.ts +46 -46
  65. package/dist/routes/users.d.ts +117 -0
  66. package/dist/routes/users.d.ts.map +1 -0
  67. package/dist/routes/webhook-runs.d.ts +1 -1
  68. package/dist/routes/workflows.d.ts +118 -52
  69. package/dist/routes/workflows.d.ts.map +1 -1
  70. package/dist/routes/ws/agents.d.ts +7 -2
  71. package/dist/routes/ws/agents.d.ts.map +1 -1
  72. package/dist/routes/ws/events.d.ts +6 -6
  73. package/dist/routes/ws/logs.d.ts +14 -14
  74. package/dist/schemas/actions.d.ts +15 -15
  75. package/dist/schemas/activity.d.ts +48 -28
  76. package/dist/schemas/activity.d.ts.map +1 -1
  77. package/dist/schemas/agent-approvals.d.ts +1091 -0
  78. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  79. package/dist/schemas/agent-memory.d.ts +250 -0
  80. package/dist/schemas/agent-memory.d.ts.map +1 -0
  81. package/dist/schemas/agents.d.ts +5442 -369
  82. package/dist/schemas/agents.d.ts.map +1 -1
  83. package/dist/schemas/ai-accounting.d.ts +1290 -411
  84. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  85. package/dist/schemas/ai-limits.d.ts +10 -10
  86. package/dist/schemas/ai-usage.d.ts +12 -0
  87. package/dist/schemas/ai-usage.d.ts.map +1 -1
  88. package/dist/schemas/artifacts.d.ts +650 -98
  89. package/dist/schemas/artifacts.d.ts.map +1 -1
  90. package/dist/schemas/auth.d.ts +119 -46
  91. package/dist/schemas/auth.d.ts.map +1 -1
  92. package/dist/schemas/connectors.d.ts +22 -22
  93. package/dist/schemas/datasets.d.ts +98 -98
  94. package/dist/schemas/event-payloads.d.ts +6 -6
  95. package/dist/schemas/events.d.ts +26 -26
  96. package/dist/schemas/events.d.ts.map +1 -1
  97. package/dist/schemas/files.d.ts +24 -24
  98. package/dist/schemas/links.d.ts +2 -2
  99. package/dist/schemas/logs.d.ts +32 -32
  100. package/dist/schemas/models.d.ts +8889 -10
  101. package/dist/schemas/models.d.ts.map +1 -1
  102. package/dist/schemas/objects.d.ts +48 -12
  103. package/dist/schemas/objects.d.ts.map +1 -1
  104. package/dist/schemas/ontology.d.ts +127 -104
  105. package/dist/schemas/ontology.d.ts.map +1 -1
  106. package/dist/schemas/pipelines.d.ts +132 -132
  107. package/dist/schemas/projections.d.ts +314 -314
  108. package/dist/schemas/rules.d.ts +4 -4
  109. package/dist/schemas/share-grants.d.ts +30 -30
  110. package/dist/schemas/syncs.d.ts +49 -49
  111. package/dist/schemas/users.d.ts +72 -0
  112. package/dist/schemas/users.d.ts.map +1 -0
  113. package/dist/schemas/webhook-runs.d.ts +6 -6
  114. package/dist/schemas/workflows.d.ts +701 -186
  115. package/dist/schemas/workflows.d.ts.map +1 -1
  116. package/dist/server.d.ts +1 -0
  117. package/dist/server.d.ts.map +1 -1
  118. package/dist/utils/http.d.ts.map +1 -1
  119. package/package.json +7 -7
  120. package/src/artifacts/frame.ts +6 -1
  121. package/src/auth/browser-origin.ts +8 -3
  122. package/src/auth/experience.ts +1 -1
  123. package/src/auth/guard.ts +2 -2
  124. package/src/auth/public-routes.ts +6 -0
  125. package/src/auth/responses.ts +7 -6
  126. package/src/auth/scope.ts +32 -3
  127. package/src/models/display.ts +61 -16
  128. package/src/openapi/components.ts +54 -0
  129. package/src/openapi/tags.ts +12 -0
  130. package/src/registerRoutes.ts +14 -0
  131. package/src/routes/agent-api-gateway.ts +115 -91
  132. package/src/routes/agent-approval-gate.ts +213 -0
  133. package/src/routes/agent-approvals.ts +299 -0
  134. package/src/routes/agent-children.ts +209 -0
  135. package/src/routes/agent-memory.ts +210 -0
  136. package/src/routes/agents.ts +363 -142
  137. package/src/routes/ai-accounting.ts +4 -0
  138. package/src/routes/artifact-frames.ts +14 -8
  139. package/src/routes/artifacts.ts +297 -22
  140. package/src/routes/auth.ts +306 -13
  141. package/src/routes/files.ts +6 -7
  142. package/src/routes/model-calls.ts +120 -0
  143. package/src/routes/model-generations.ts +245 -0
  144. package/src/routes/models.ts +116 -9
  145. package/src/routes/objects.ts +55 -61
  146. package/src/routes/observed-agent-threads.ts +253 -0
  147. package/src/routes/ontology.ts +1 -0
  148. package/src/routes/users.ts +73 -0
  149. package/src/routes/workflows.ts +6 -9
  150. package/src/routes/ws/agents.ts +10 -5
  151. package/src/schemas/activity.ts +2 -0
  152. package/src/schemas/agent-approvals.ts +129 -0
  153. package/src/schemas/agent-memory.ts +96 -0
  154. package/src/schemas/agents.ts +239 -0
  155. package/src/schemas/ai-accounting.ts +40 -4
  156. package/src/schemas/ai-usage.ts +10 -0
  157. package/src/schemas/artifacts.ts +91 -3
  158. package/src/schemas/auth.ts +25 -0
  159. package/src/schemas/models.ts +197 -1
  160. package/src/schemas/objects.ts +181 -0
  161. package/src/schemas/ontology.ts +1 -0
  162. package/src/schemas/users.ts +24 -0
  163. package/src/schemas/workflows.ts +2 -0
  164. package/src/server.ts +9 -10
  165. package/src/utils/http.ts +2 -0
@@ -22,7 +22,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- kind?: "file" | "document" | "sheet" | "slides" | undefined;
25
+ kind?: "file" | "page" | "document" | "sheet" | "slides" | "canvas" | undefined;
26
26
  limit?: string | undefined;
27
27
  offset?: string | undefined;
28
28
  thread?: string | undefined;
@@ -33,14 +33,14 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
33
33
  artifacts: {
34
34
  projectId: string;
35
35
  id: string;
36
- kind: "file" | "document" | "sheet" | "slides";
36
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
37
37
  title: string;
38
38
  createdAt: string;
39
- updatedAt: string;
40
39
  owner: {
41
40
  id: string;
42
41
  type: "user" | "serviceAccount" | "system";
43
42
  };
43
+ updatedAt: string;
44
44
  latestVersion: number;
45
45
  }[];
46
46
  hasMore: boolean;
@@ -49,10 +49,24 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
49
49
  400: {
50
50
  error: string;
51
51
  code?: string | undefined;
52
+ latest?: {
53
+ version: number;
54
+ author: {
55
+ id: string;
56
+ type: "user" | "serviceAccount" | "system";
57
+ };
58
+ } | undefined;
52
59
  };
53
60
  501: {
54
61
  error: string;
55
62
  code?: string | undefined;
63
+ latest?: {
64
+ version: number;
65
+ author: {
66
+ id: string;
67
+ type: "user" | "serviceAccount" | "system";
68
+ };
69
+ } | undefined;
56
70
  };
57
71
  422: {
58
72
  type: "validation";
@@ -72,7 +86,8 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
72
86
  artifacts: {
73
87
  post: {
74
88
  body: {
75
- kind: "file" | "document" | "sheet" | "slides";
89
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
90
+ title: string;
76
91
  files: {
77
92
  path: string;
78
93
  file: {
@@ -84,7 +99,6 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
84
99
  logicalPath?: string | undefined;
85
100
  };
86
101
  }[];
87
- title: string;
88
102
  };
89
103
  params: {};
90
104
  query: unknown;
@@ -96,6 +110,9 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
96
110
  details?: import("@sixb/core").ReadonlyJsonValue;
97
111
  } | {
98
112
  version: {
113
+ title: string;
114
+ version: number;
115
+ createdAt: string;
99
116
  files: {
100
117
  path: string;
101
118
  file: {
@@ -107,9 +124,10 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
107
124
  logicalPath?: string | undefined;
108
125
  };
109
126
  }[];
110
- title: string;
111
- version: number;
112
- createdAt: string;
127
+ author: {
128
+ id: string;
129
+ type: "user" | "serviceAccount" | "system";
130
+ };
113
131
  artifactId: string;
114
132
  entry: string;
115
133
  outline: {
@@ -125,6 +143,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
125
143
  name: string;
126
144
  rows: number;
127
145
  columns: string[];
146
+ query?: string | undefined;
128
147
  }[];
129
148
  charts: string[];
130
149
  } | {
@@ -132,6 +151,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
132
151
  slides: {
133
152
  title?: string | undefined;
134
153
  }[];
154
+ } | {
155
+ kind: "page";
156
+ title?: string | undefined;
157
+ } | {
158
+ kind: "canvas";
159
+ items: ({
160
+ id: string;
161
+ type: "board";
162
+ file: string;
163
+ w: number;
164
+ h: number;
165
+ title?: string | undefined;
166
+ } | {
167
+ id: string;
168
+ type: "section";
169
+ title?: string | undefined;
170
+ })[];
135
171
  } | {
136
172
  kind: "file";
137
173
  mediaType: string;
@@ -139,62 +175,97 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
139
175
  references: {
140
176
  at: string;
141
177
  address: string;
142
- as: "embed" | "link";
178
+ as: "link" | "embed";
143
179
  resolvedVersion: number;
144
180
  }[];
145
- author: {
146
- id: string;
147
- type: "user" | "serviceAccount" | "system";
148
- };
149
181
  origin?: {
150
182
  runId: string;
151
183
  threadId: string;
152
184
  } | undefined;
153
185
  };
186
+ warnings: {
187
+ code: string;
188
+ message: string;
189
+ part?: string | undefined;
190
+ }[];
154
191
  artifact: {
155
192
  projectId: string;
156
193
  id: string;
157
- kind: "file" | "document" | "sheet" | "slides";
194
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
158
195
  title: string;
159
196
  createdAt: string;
160
- updatedAt: string;
161
197
  owner: {
162
198
  id: string;
163
199
  type: "user" | "serviceAccount" | "system";
164
200
  };
201
+ updatedAt: string;
165
202
  latestVersion: number;
166
203
  };
167
- warnings: {
168
- code: string;
169
- message: string;
170
- part?: string | undefined;
171
- }[];
172
204
  } | {
205
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
173
206
  error: string;
174
207
  code: import("@sixb/core").ArtifactRequestErrorCode;
175
208
  };
176
209
  404: {
177
210
  error: string;
178
211
  code?: string | undefined;
212
+ latest?: {
213
+ version: number;
214
+ author: {
215
+ id: string;
216
+ type: "user" | "serviceAccount" | "system";
217
+ };
218
+ } | undefined;
179
219
  };
180
220
  403: {
181
221
  error: string;
182
222
  code?: string | undefined;
223
+ latest?: {
224
+ version: number;
225
+ author: {
226
+ id: string;
227
+ type: "user" | "serviceAccount" | "system";
228
+ };
229
+ } | undefined;
183
230
  };
184
231
  409: {
185
232
  error: string;
186
233
  code?: string | undefined;
234
+ latest?: {
235
+ version: number;
236
+ author: {
237
+ id: string;
238
+ type: "user" | "serviceAccount" | "system";
239
+ };
240
+ } | undefined;
187
241
  };
188
242
  400: {
189
243
  error: string;
190
244
  code?: string | undefined;
245
+ latest?: {
246
+ version: number;
247
+ author: {
248
+ id: string;
249
+ type: "user" | "serviceAccount" | "system";
250
+ };
251
+ } | undefined;
191
252
  };
192
253
  501: {
193
254
  error: string;
194
255
  code?: string | undefined;
256
+ latest?: {
257
+ version: number;
258
+ author: {
259
+ id: string;
260
+ type: "user" | "serviceAccount" | "system";
261
+ };
262
+ } | undefined;
195
263
  };
196
264
  201: {
197
265
  version: {
266
+ title: string;
267
+ version: number;
268
+ createdAt: string;
198
269
  files: {
199
270
  path: string;
200
271
  file: {
@@ -206,9 +277,10 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
206
277
  logicalPath?: string | undefined;
207
278
  };
208
279
  }[];
209
- title: string;
210
- version: number;
211
- createdAt: string;
280
+ author: {
281
+ id: string;
282
+ type: "user" | "serviceAccount" | "system";
283
+ };
212
284
  artifactId: string;
213
285
  entry: string;
214
286
  outline: {
@@ -224,6 +296,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
224
296
  name: string;
225
297
  rows: number;
226
298
  columns: string[];
299
+ query?: string | undefined;
227
300
  }[];
228
301
  charts: string[];
229
302
  } | {
@@ -231,6 +304,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
231
304
  slides: {
232
305
  title?: string | undefined;
233
306
  }[];
307
+ } | {
308
+ kind: "page";
309
+ title?: string | undefined;
310
+ } | {
311
+ kind: "canvas";
312
+ items: ({
313
+ id: string;
314
+ type: "board";
315
+ file: string;
316
+ w: number;
317
+ h: number;
318
+ title?: string | undefined;
319
+ } | {
320
+ id: string;
321
+ type: "section";
322
+ title?: string | undefined;
323
+ })[];
234
324
  } | {
235
325
  kind: "file";
236
326
  mediaType: string;
@@ -238,36 +328,32 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
238
328
  references: {
239
329
  at: string;
240
330
  address: string;
241
- as: "embed" | "link";
331
+ as: "link" | "embed";
242
332
  resolvedVersion: number;
243
333
  }[];
244
- author: {
245
- id: string;
246
- type: "user" | "serviceAccount" | "system";
247
- };
248
334
  origin?: {
249
335
  runId: string;
250
336
  threadId: string;
251
337
  } | undefined;
252
338
  };
339
+ warnings: {
340
+ code: string;
341
+ message: string;
342
+ part?: string | undefined;
343
+ }[];
253
344
  artifact: {
254
345
  projectId: string;
255
346
  id: string;
256
- kind: "file" | "document" | "sheet" | "slides";
347
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
257
348
  title: string;
258
349
  createdAt: string;
259
- updatedAt: string;
260
350
  owner: {
261
351
  id: string;
262
352
  type: "user" | "serviceAccount" | "system";
263
353
  };
354
+ updatedAt: string;
264
355
  latestVersion: number;
265
356
  };
266
- warnings: {
267
- code: string;
268
- message: string;
269
- part?: string | undefined;
270
- }[];
271
357
  };
272
358
  422: {
273
359
  type: "validation";
@@ -298,46 +384,373 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
298
384
  artifact: {
299
385
  projectId: string;
300
386
  id: string;
301
- kind: "file" | "document" | "sheet" | "slides";
387
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
302
388
  title: string;
303
389
  createdAt: string;
304
- updatedAt: string;
305
390
  owner: {
306
391
  id: string;
307
392
  type: "user" | "serviceAccount" | "system";
308
393
  };
309
- latestVersion: number;
394
+ updatedAt: string;
395
+ latestVersion: number;
396
+ };
397
+ versions: {
398
+ title: string;
399
+ version: number;
400
+ createdAt: string;
401
+ author: {
402
+ id: string;
403
+ type: "user" | "serviceAccount" | "system";
404
+ };
405
+ origin?: {
406
+ runId: string;
407
+ threadId: string;
408
+ } | undefined;
409
+ }[];
410
+ access: "owner" | "read" | "update";
411
+ };
412
+ 404: {
413
+ error: string;
414
+ code?: string | undefined;
415
+ latest?: {
416
+ version: number;
417
+ author: {
418
+ id: string;
419
+ type: "user" | "serviceAccount" | "system";
420
+ };
421
+ } | undefined;
422
+ };
423
+ 403: {
424
+ error: string;
425
+ code?: string | undefined;
426
+ latest?: {
427
+ version: number;
428
+ author: {
429
+ id: string;
430
+ type: "user" | "serviceAccount" | "system";
431
+ };
432
+ } | undefined;
433
+ };
434
+ 501: {
435
+ error: string;
436
+ code?: string | undefined;
437
+ latest?: {
438
+ version: number;
439
+ author: {
440
+ id: string;
441
+ type: "user" | "serviceAccount" | "system";
442
+ };
443
+ } | undefined;
444
+ };
445
+ 422: {
446
+ type: "validation";
447
+ on: string;
448
+ summary?: string;
449
+ message?: string;
450
+ found?: unknown;
451
+ property?: string;
452
+ expected?: string;
453
+ };
454
+ };
455
+ };
456
+ };
457
+ };
458
+ };
459
+ } & {
460
+ api: {
461
+ artifacts: {
462
+ ":artifactId": {
463
+ delete: {
464
+ body: unknown;
465
+ params: {
466
+ artifactId: string;
467
+ };
468
+ query: unknown;
469
+ headers: unknown;
470
+ response: {
471
+ 200: {
472
+ deleted: true;
473
+ };
474
+ 404: {
475
+ error: string;
476
+ code?: string | undefined;
477
+ latest?: {
478
+ version: number;
479
+ author: {
480
+ id: string;
481
+ type: "user" | "serviceAccount" | "system";
482
+ };
483
+ } | undefined;
484
+ };
485
+ 403: {
486
+ error: string;
487
+ code?: string | undefined;
488
+ latest?: {
489
+ version: number;
490
+ author: {
491
+ id: string;
492
+ type: "user" | "serviceAccount" | "system";
493
+ };
494
+ } | undefined;
495
+ };
496
+ 501: {
497
+ error: string;
498
+ code?: string | undefined;
499
+ latest?: {
500
+ version: number;
501
+ author: {
502
+ id: string;
503
+ type: "user" | "serviceAccount" | "system";
504
+ };
505
+ } | undefined;
506
+ };
507
+ 422: {
508
+ type: "validation";
509
+ on: string;
510
+ summary?: string;
511
+ message?: string;
512
+ found?: unknown;
513
+ property?: string;
514
+ expected?: string;
515
+ };
516
+ };
517
+ };
518
+ };
519
+ };
520
+ };
521
+ } & {
522
+ api: {
523
+ artifacts: {
524
+ ":artifactId": {
525
+ state: {
526
+ get: {
527
+ body: unknown;
528
+ params: {
529
+ artifactId: string;
530
+ };
531
+ query: unknown;
532
+ headers: unknown;
533
+ response: {
534
+ 200: {
535
+ entries: {
536
+ key: string;
537
+ updatedAt: string;
538
+ value?: unknown;
539
+ }[];
540
+ };
541
+ 404: {
542
+ error: string;
543
+ code?: string | undefined;
544
+ latest?: {
545
+ version: number;
546
+ author: {
547
+ id: string;
548
+ type: "user" | "serviceAccount" | "system";
549
+ };
550
+ } | undefined;
551
+ };
552
+ 403: {
553
+ error: string;
554
+ code?: string | undefined;
555
+ latest?: {
556
+ version: number;
557
+ author: {
558
+ id: string;
559
+ type: "user" | "serviceAccount" | "system";
560
+ };
561
+ } | undefined;
562
+ };
563
+ 501: {
564
+ error: string;
565
+ code?: string | undefined;
566
+ latest?: {
567
+ version: number;
568
+ author: {
569
+ id: string;
570
+ type: "user" | "serviceAccount" | "system";
571
+ };
572
+ } | undefined;
573
+ };
574
+ 422: {
575
+ type: "validation";
576
+ on: string;
577
+ summary?: string;
578
+ message?: string;
579
+ found?: unknown;
580
+ property?: string;
581
+ expected?: string;
582
+ };
583
+ };
584
+ };
585
+ };
586
+ };
587
+ };
588
+ };
589
+ } & {
590
+ api: {
591
+ artifacts: {
592
+ ":artifactId": {
593
+ state: {
594
+ ":key": {
595
+ put: {
596
+ body: {
597
+ value: {} | null;
598
+ };
599
+ params: {
600
+ key: string;
601
+ artifactId: string;
602
+ };
603
+ query: unknown;
604
+ headers: unknown;
605
+ response: {
606
+ 200: {
607
+ key: string;
608
+ updatedAt: string;
609
+ value?: unknown;
610
+ };
611
+ 404: {
612
+ error: string;
613
+ code?: string | undefined;
614
+ latest?: {
615
+ version: number;
616
+ author: {
617
+ id: string;
618
+ type: "user" | "serviceAccount" | "system";
619
+ };
620
+ } | undefined;
621
+ };
622
+ 403: {
623
+ error: string;
624
+ code?: string | undefined;
625
+ latest?: {
626
+ version: number;
627
+ author: {
628
+ id: string;
629
+ type: "user" | "serviceAccount" | "system";
630
+ };
631
+ } | undefined;
632
+ };
633
+ 400: {
634
+ error: string;
635
+ code?: string | undefined;
636
+ latest?: {
637
+ version: number;
638
+ author: {
639
+ id: string;
640
+ type: "user" | "serviceAccount" | "system";
641
+ };
642
+ } | undefined;
643
+ };
644
+ 501: {
645
+ error: string;
646
+ code?: string | undefined;
647
+ latest?: {
648
+ version: number;
649
+ author: {
650
+ id: string;
651
+ type: "user" | "serviceAccount" | "system";
652
+ };
653
+ } | undefined;
654
+ };
655
+ 413: {
656
+ error: string;
657
+ code?: string | undefined;
658
+ latest?: {
659
+ version: number;
660
+ author: {
661
+ id: string;
662
+ type: "user" | "serviceAccount" | "system";
663
+ };
664
+ } | undefined;
665
+ };
666
+ 422: {
667
+ type: "validation";
668
+ on: string;
669
+ summary?: string;
670
+ message?: string;
671
+ found?: unknown;
672
+ property?: string;
673
+ expected?: string;
674
+ };
675
+ };
676
+ };
677
+ };
678
+ };
679
+ };
680
+ };
681
+ };
682
+ } & {
683
+ api: {
684
+ artifacts: {
685
+ ":artifactId": {
686
+ state: {
687
+ ":key": {
688
+ delete: {
689
+ body: unknown;
690
+ params: {
691
+ key: string;
692
+ artifactId: string;
693
+ };
694
+ query: unknown;
695
+ headers: unknown;
696
+ response: {
697
+ 200: {
698
+ deleted: boolean;
699
+ };
700
+ 404: {
701
+ error: string;
702
+ code?: string | undefined;
703
+ latest?: {
704
+ version: number;
705
+ author: {
706
+ id: string;
707
+ type: "user" | "serviceAccount" | "system";
708
+ };
709
+ } | undefined;
710
+ };
711
+ 403: {
712
+ error: string;
713
+ code?: string | undefined;
714
+ latest?: {
715
+ version: number;
716
+ author: {
717
+ id: string;
718
+ type: "user" | "serviceAccount" | "system";
719
+ };
720
+ } | undefined;
721
+ };
722
+ 400: {
723
+ error: string;
724
+ code?: string | undefined;
725
+ latest?: {
726
+ version: number;
727
+ author: {
728
+ id: string;
729
+ type: "user" | "serviceAccount" | "system";
730
+ };
731
+ } | undefined;
732
+ };
733
+ 501: {
734
+ error: string;
735
+ code?: string | undefined;
736
+ latest?: {
737
+ version: number;
738
+ author: {
739
+ id: string;
740
+ type: "user" | "serviceAccount" | "system";
741
+ };
742
+ } | undefined;
743
+ };
744
+ 422: {
745
+ type: "validation";
746
+ on: string;
747
+ summary?: string;
748
+ message?: string;
749
+ found?: unknown;
750
+ property?: string;
751
+ expected?: string;
752
+ };
310
753
  };
311
- versions: {
312
- title: string;
313
- version: number;
314
- createdAt: string;
315
- author: {
316
- id: string;
317
- type: "user" | "serviceAccount" | "system";
318
- };
319
- origin?: {
320
- runId: string;
321
- threadId: string;
322
- } | undefined;
323
- }[];
324
- };
325
- 404: {
326
- error: string;
327
- code?: string | undefined;
328
- };
329
- 501: {
330
- error: string;
331
- code?: string | undefined;
332
- };
333
- 422: {
334
- type: "validation";
335
- on: string;
336
- summary?: string;
337
- message?: string;
338
- found?: unknown;
339
- property?: string;
340
- expected?: string;
341
754
  };
342
755
  };
343
756
  };
@@ -348,33 +761,60 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
348
761
  api: {
349
762
  artifacts: {
350
763
  ":artifactId": {
351
- delete: {
352
- body: unknown;
353
- params: {
354
- artifactId: string;
355
- };
356
- query: unknown;
357
- headers: unknown;
358
- response: {
359
- 200: {
360
- deleted: true;
361
- };
362
- 404: {
363
- error: string;
364
- code?: string | undefined;
365
- };
366
- 501: {
367
- error: string;
368
- code?: string | undefined;
764
+ state: {
765
+ delete: {
766
+ body: unknown;
767
+ params: {
768
+ artifactId: string;
369
769
  };
370
- 422: {
371
- type: "validation";
372
- on: string;
373
- summary?: string;
374
- message?: string;
375
- found?: unknown;
376
- property?: string;
377
- expected?: string;
770
+ query: unknown;
771
+ headers: unknown;
772
+ response: {
773
+ 200: {
774
+ cleared: number;
775
+ };
776
+ 404: {
777
+ error: string;
778
+ code?: string | undefined;
779
+ latest?: {
780
+ version: number;
781
+ author: {
782
+ id: string;
783
+ type: "user" | "serviceAccount" | "system";
784
+ };
785
+ } | undefined;
786
+ };
787
+ 403: {
788
+ error: string;
789
+ code?: string | undefined;
790
+ latest?: {
791
+ version: number;
792
+ author: {
793
+ id: string;
794
+ type: "user" | "serviceAccount" | "system";
795
+ };
796
+ } | undefined;
797
+ };
798
+ 501: {
799
+ error: string;
800
+ code?: string | undefined;
801
+ latest?: {
802
+ version: number;
803
+ author: {
804
+ id: string;
805
+ type: "user" | "serviceAccount" | "system";
806
+ };
807
+ } | undefined;
808
+ };
809
+ 422: {
810
+ type: "validation";
811
+ on: string;
812
+ summary?: string;
813
+ message?: string;
814
+ found?: unknown;
815
+ property?: string;
816
+ expected?: string;
817
+ };
378
818
  };
379
819
  };
380
820
  };
@@ -388,7 +828,8 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
388
828
  versions: {
389
829
  post: {
390
830
  body: {
391
- kind: "file" | "document" | "sheet" | "slides";
831
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
832
+ title: string;
392
833
  files: {
393
834
  path: string;
394
835
  file: {
@@ -400,7 +841,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
400
841
  logicalPath?: string | undefined;
401
842
  };
402
843
  }[];
403
- title: string;
844
+ baseVersion?: number | undefined;
404
845
  };
405
846
  params: {
406
847
  artifactId: string;
@@ -414,6 +855,9 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
414
855
  details?: import("@sixb/core").ReadonlyJsonValue;
415
856
  } | {
416
857
  version: {
858
+ title: string;
859
+ version: number;
860
+ createdAt: string;
417
861
  files: {
418
862
  path: string;
419
863
  file: {
@@ -425,9 +869,10 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
425
869
  logicalPath?: string | undefined;
426
870
  };
427
871
  }[];
428
- title: string;
429
- version: number;
430
- createdAt: string;
872
+ author: {
873
+ id: string;
874
+ type: "user" | "serviceAccount" | "system";
875
+ };
431
876
  artifactId: string;
432
877
  entry: string;
433
878
  outline: {
@@ -443,6 +888,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
443
888
  name: string;
444
889
  rows: number;
445
890
  columns: string[];
891
+ query?: string | undefined;
446
892
  }[];
447
893
  charts: string[];
448
894
  } | {
@@ -450,6 +896,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
450
896
  slides: {
451
897
  title?: string | undefined;
452
898
  }[];
899
+ } | {
900
+ kind: "page";
901
+ title?: string | undefined;
902
+ } | {
903
+ kind: "canvas";
904
+ items: ({
905
+ id: string;
906
+ type: "board";
907
+ file: string;
908
+ w: number;
909
+ h: number;
910
+ title?: string | undefined;
911
+ } | {
912
+ id: string;
913
+ type: "section";
914
+ title?: string | undefined;
915
+ })[];
453
916
  } | {
454
917
  kind: "file";
455
918
  mediaType: string;
@@ -457,62 +920,97 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
457
920
  references: {
458
921
  at: string;
459
922
  address: string;
460
- as: "embed" | "link";
923
+ as: "link" | "embed";
461
924
  resolvedVersion: number;
462
925
  }[];
463
- author: {
464
- id: string;
465
- type: "user" | "serviceAccount" | "system";
466
- };
467
926
  origin?: {
468
927
  runId: string;
469
928
  threadId: string;
470
929
  } | undefined;
471
930
  };
931
+ warnings: {
932
+ code: string;
933
+ message: string;
934
+ part?: string | undefined;
935
+ }[];
472
936
  artifact: {
473
937
  projectId: string;
474
938
  id: string;
475
- kind: "file" | "document" | "sheet" | "slides";
939
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
476
940
  title: string;
477
941
  createdAt: string;
478
- updatedAt: string;
479
942
  owner: {
480
943
  id: string;
481
944
  type: "user" | "serviceAccount" | "system";
482
945
  };
946
+ updatedAt: string;
483
947
  latestVersion: number;
484
948
  };
485
- warnings: {
486
- code: string;
487
- message: string;
488
- part?: string | undefined;
489
- }[];
490
949
  } | {
950
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
491
951
  error: string;
492
952
  code: import("@sixb/core").ArtifactRequestErrorCode;
493
953
  };
494
954
  404: {
495
955
  error: string;
496
956
  code?: string | undefined;
957
+ latest?: {
958
+ version: number;
959
+ author: {
960
+ id: string;
961
+ type: "user" | "serviceAccount" | "system";
962
+ };
963
+ } | undefined;
497
964
  };
498
965
  403: {
499
966
  error: string;
500
967
  code?: string | undefined;
968
+ latest?: {
969
+ version: number;
970
+ author: {
971
+ id: string;
972
+ type: "user" | "serviceAccount" | "system";
973
+ };
974
+ } | undefined;
501
975
  };
502
976
  409: {
503
977
  error: string;
504
978
  code?: string | undefined;
979
+ latest?: {
980
+ version: number;
981
+ author: {
982
+ id: string;
983
+ type: "user" | "serviceAccount" | "system";
984
+ };
985
+ } | undefined;
505
986
  };
506
987
  400: {
507
988
  error: string;
508
989
  code?: string | undefined;
990
+ latest?: {
991
+ version: number;
992
+ author: {
993
+ id: string;
994
+ type: "user" | "serviceAccount" | "system";
995
+ };
996
+ } | undefined;
509
997
  };
510
998
  501: {
511
999
  error: string;
512
1000
  code?: string | undefined;
1001
+ latest?: {
1002
+ version: number;
1003
+ author: {
1004
+ id: string;
1005
+ type: "user" | "serviceAccount" | "system";
1006
+ };
1007
+ } | undefined;
513
1008
  };
514
1009
  201: {
515
1010
  version: {
1011
+ title: string;
1012
+ version: number;
1013
+ createdAt: string;
516
1014
  files: {
517
1015
  path: string;
518
1016
  file: {
@@ -524,9 +1022,10 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
524
1022
  logicalPath?: string | undefined;
525
1023
  };
526
1024
  }[];
527
- title: string;
528
- version: number;
529
- createdAt: string;
1025
+ author: {
1026
+ id: string;
1027
+ type: "user" | "serviceAccount" | "system";
1028
+ };
530
1029
  artifactId: string;
531
1030
  entry: string;
532
1031
  outline: {
@@ -542,6 +1041,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
542
1041
  name: string;
543
1042
  rows: number;
544
1043
  columns: string[];
1044
+ query?: string | undefined;
545
1045
  }[];
546
1046
  charts: string[];
547
1047
  } | {
@@ -549,6 +1049,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
549
1049
  slides: {
550
1050
  title?: string | undefined;
551
1051
  }[];
1052
+ } | {
1053
+ kind: "page";
1054
+ title?: string | undefined;
1055
+ } | {
1056
+ kind: "canvas";
1057
+ items: ({
1058
+ id: string;
1059
+ type: "board";
1060
+ file: string;
1061
+ w: number;
1062
+ h: number;
1063
+ title?: string | undefined;
1064
+ } | {
1065
+ id: string;
1066
+ type: "section";
1067
+ title?: string | undefined;
1068
+ })[];
552
1069
  } | {
553
1070
  kind: "file";
554
1071
  mediaType: string;
@@ -556,36 +1073,32 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
556
1073
  references: {
557
1074
  at: string;
558
1075
  address: string;
559
- as: "embed" | "link";
1076
+ as: "link" | "embed";
560
1077
  resolvedVersion: number;
561
1078
  }[];
562
- author: {
563
- id: string;
564
- type: "user" | "serviceAccount" | "system";
565
- };
566
1079
  origin?: {
567
1080
  runId: string;
568
1081
  threadId: string;
569
1082
  } | undefined;
570
1083
  };
1084
+ warnings: {
1085
+ code: string;
1086
+ message: string;
1087
+ part?: string | undefined;
1088
+ }[];
571
1089
  artifact: {
572
1090
  projectId: string;
573
1091
  id: string;
574
- kind: "file" | "document" | "sheet" | "slides";
1092
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
575
1093
  title: string;
576
1094
  createdAt: string;
577
- updatedAt: string;
578
1095
  owner: {
579
1096
  id: string;
580
1097
  type: "user" | "serviceAccount" | "system";
581
1098
  };
1099
+ updatedAt: string;
582
1100
  latestVersion: number;
583
1101
  };
584
- warnings: {
585
- code: string;
586
- message: string;
587
- part?: string | undefined;
588
- }[];
589
1102
  };
590
1103
  422: {
591
1104
  type: "validation";
@@ -625,14 +1138,46 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
625
1138
  404: {
626
1139
  error: string;
627
1140
  code?: string | undefined;
1141
+ latest?: {
1142
+ version: number;
1143
+ author: {
1144
+ id: string;
1145
+ type: "user" | "serviceAccount" | "system";
1146
+ };
1147
+ } | undefined;
1148
+ };
1149
+ 403: {
1150
+ error: string;
1151
+ code?: string | undefined;
1152
+ latest?: {
1153
+ version: number;
1154
+ author: {
1155
+ id: string;
1156
+ type: "user" | "serviceAccount" | "system";
1157
+ };
1158
+ } | undefined;
628
1159
  };
629
1160
  409: {
630
1161
  error: string;
631
1162
  code?: string | undefined;
1163
+ latest?: {
1164
+ version: number;
1165
+ author: {
1166
+ id: string;
1167
+ type: "user" | "serviceAccount" | "system";
1168
+ };
1169
+ } | undefined;
632
1170
  };
633
1171
  501: {
634
1172
  error: string;
635
1173
  code?: string | undefined;
1174
+ latest?: {
1175
+ version: number;
1176
+ author: {
1177
+ id: string;
1178
+ type: "user" | "serviceAccount" | "system";
1179
+ };
1180
+ } | undefined;
636
1181
  };
637
1182
  422: {
638
1183
  type: "validation";
@@ -667,6 +1212,9 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
667
1212
  headers: unknown;
668
1213
  response: {
669
1214
  200: {
1215
+ title: string;
1216
+ version: number;
1217
+ createdAt: string;
670
1218
  files: {
671
1219
  path: string;
672
1220
  file: {
@@ -678,9 +1226,10 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
678
1226
  logicalPath?: string | undefined;
679
1227
  };
680
1228
  }[];
681
- title: string;
682
- version: number;
683
- createdAt: string;
1229
+ author: {
1230
+ id: string;
1231
+ type: "user" | "serviceAccount" | "system";
1232
+ };
684
1233
  artifactId: string;
685
1234
  entry: string;
686
1235
  outline: {
@@ -696,6 +1245,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
696
1245
  name: string;
697
1246
  rows: number;
698
1247
  columns: string[];
1248
+ query?: string | undefined;
699
1249
  }[];
700
1250
  charts: string[];
701
1251
  } | {
@@ -703,6 +1253,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
703
1253
  slides: {
704
1254
  title?: string | undefined;
705
1255
  }[];
1256
+ } | {
1257
+ kind: "page";
1258
+ title?: string | undefined;
1259
+ } | {
1260
+ kind: "canvas";
1261
+ items: ({
1262
+ id: string;
1263
+ type: "board";
1264
+ file: string;
1265
+ w: number;
1266
+ h: number;
1267
+ title?: string | undefined;
1268
+ } | {
1269
+ id: string;
1270
+ type: "section";
1271
+ title?: string | undefined;
1272
+ })[];
706
1273
  } | {
707
1274
  kind: "file";
708
1275
  mediaType: string;
@@ -710,13 +1277,9 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
710
1277
  references: {
711
1278
  at: string;
712
1279
  address: string;
713
- as: "embed" | "link";
1280
+ as: "link" | "embed";
714
1281
  resolvedVersion: number;
715
1282
  }[];
716
- author: {
717
- id: string;
718
- type: "user" | "serviceAccount" | "system";
719
- };
720
1283
  origin?: {
721
1284
  runId: string;
722
1285
  threadId: string;
@@ -725,10 +1288,35 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
725
1288
  404: {
726
1289
  error: string;
727
1290
  code?: string | undefined;
1291
+ latest?: {
1292
+ version: number;
1293
+ author: {
1294
+ id: string;
1295
+ type: "user" | "serviceAccount" | "system";
1296
+ };
1297
+ } | undefined;
1298
+ };
1299
+ 403: {
1300
+ error: string;
1301
+ code?: string | undefined;
1302
+ latest?: {
1303
+ version: number;
1304
+ author: {
1305
+ id: string;
1306
+ type: "user" | "serviceAccount" | "system";
1307
+ };
1308
+ } | undefined;
728
1309
  };
729
1310
  501: {
730
1311
  error: string;
731
1312
  code?: string | undefined;
1313
+ latest?: {
1314
+ version: number;
1315
+ author: {
1316
+ id: string;
1317
+ type: "user" | "serviceAccount" | "system";
1318
+ };
1319
+ } | undefined;
732
1320
  };
733
1321
  422: {
734
1322
  type: "validation";
@@ -746,6 +1334,60 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
746
1334
  };
747
1335
  };
748
1336
  };
1337
+ } & {
1338
+ api: {
1339
+ artifacts: {
1340
+ ":artifactId": {
1341
+ versions: {
1342
+ ":version": {
1343
+ queries: {
1344
+ ":name": {
1345
+ get: {
1346
+ body: unknown;
1347
+ params: {
1348
+ name: string;
1349
+ version: string;
1350
+ artifactId: string;
1351
+ };
1352
+ query: unknown;
1353
+ headers: unknown;
1354
+ response: {
1355
+ 200: {
1356
+ error: string;
1357
+ code?: import("@sixb/core").SixbErrorCode;
1358
+ details?: import("@sixb/core").ReadonlyJsonValue;
1359
+ } | {
1360
+ error: string;
1361
+ issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
1362
+ } | {
1363
+ error: string;
1364
+ code: "artifact_not_found";
1365
+ } | {
1366
+ error: string;
1367
+ code: "not_shared";
1368
+ } | {
1369
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1370
+ error: string;
1371
+ code: import("@sixb/core").ArtifactRequestErrorCode;
1372
+ } | import("@sixb/core/internal/artifacts/frames").SerializedArtifactQueryResult;
1373
+ 422: {
1374
+ type: "validation";
1375
+ on: string;
1376
+ summary?: string;
1377
+ message?: string;
1378
+ found?: unknown;
1379
+ property?: string;
1380
+ expected?: string;
1381
+ };
1382
+ };
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ };
1390
+ };
749
1391
  } & {
750
1392
  api: {
751
1393
  artifacts: {
@@ -771,6 +1413,13 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
771
1413
  code?: import("@sixb/core").SixbErrorCode;
772
1414
  details?: import("@sixb/core").ReadonlyJsonValue;
773
1415
  } | {
1416
+ error: string;
1417
+ code: "artifact_not_found";
1418
+ } | {
1419
+ error: string;
1420
+ code: "not_shared";
1421
+ } | {
1422
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
774
1423
  error: string;
775
1424
  code: import("@sixb/core").ArtifactRequestErrorCode;
776
1425
  };
@@ -816,6 +1465,13 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
816
1465
  code?: import("@sixb/core").SixbErrorCode;
817
1466
  details?: import("@sixb/core").ReadonlyJsonValue;
818
1467
  } | {
1468
+ error: string;
1469
+ code: "artifact_not_found";
1470
+ } | {
1471
+ error: string;
1472
+ code: "not_shared";
1473
+ } | {
1474
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
819
1475
  error: string;
820
1476
  code: import("@sixb/core").ArtifactRequestErrorCode;
821
1477
  };