@xpert-ai/plugin-sdk 3.23.0 → 3.25.0

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 (88) hide show
  1. package/_object_without_properties_loose.cjs.js +16 -0
  2. package/_object_without_properties_loose.esm.js +14 -0
  3. package/analytics-result.cjs.js +212 -0
  4. package/analytics-result.esm.js +201 -0
  5. package/analytics.cjs.default.js +1 -0
  6. package/analytics.cjs.js +17 -0
  7. package/analytics.cjs.mjs +2 -0
  8. package/analytics.d.ts +1 -0
  9. package/analytics.esm.js +2 -0
  10. package/artifact-document.cjs.default.js +1 -0
  11. package/artifact-document.cjs.js +581 -0
  12. package/artifact-document.cjs.mjs +2 -0
  13. package/artifact-document.d.ts +1 -0
  14. package/artifact-document.esm.js +563 -0
  15. package/data-workbench.cjs.js +23 -6
  16. package/data-workbench.esm.js +23 -6
  17. package/docs/README.md +8 -0
  18. package/docs/analytics.md +108 -0
  19. package/docs/artifact-documents.md +74 -0
  20. package/docs/artifact-drafts.md +24 -0
  21. package/docs/artifact-presentations.md +43 -0
  22. package/docs/json-encoded-schema.md +19 -0
  23. package/docs/mcp-client.md +63 -0
  24. package/docs/provider-credential-validation.md +34 -0
  25. package/docs/rest-client.md +24 -0
  26. package/docs/workspace-dataset-pipelines.md +120 -0
  27. package/docs/workspace-file-tools.md +66 -0
  28. package/index.cjs.js +555 -108
  29. package/index.esm.js +573 -172
  30. package/model-provider-toolset.cjs.js +1 -1
  31. package/model-provider-toolset.esm.js +1 -1
  32. package/model-provider.cjs.js +47 -1
  33. package/model-provider.esm.js +41 -2
  34. package/package.json +14 -2
  35. package/src/analytics.d.ts +3 -0
  36. package/src/artifact-document.d.ts +5 -0
  37. package/src/index.d.ts +2 -0
  38. package/src/lib/agent/handoff/agent-runtime-message.contract.d.ts +80 -80
  39. package/src/lib/agent/middleware/capabilities/assistant-task.d.ts +36 -1
  40. package/src/lib/agent/runtime/dispatch.d.ts +284 -284
  41. package/src/lib/agent/runtime/index.d.ts +1 -0
  42. package/src/lib/agent/runtime/pipeline-scope.d.ts +110 -0
  43. package/src/lib/agent/runtime/types.d.ts +4 -2
  44. package/src/lib/ai-model/ai-model-provider.interface.d.ts +3 -1
  45. package/src/lib/ai-model/utils/limits.d.ts +4 -2
  46. package/src/lib/artifact-document/dependencies.d.ts +101 -0
  47. package/src/lib/artifact-document/host.d.ts +30 -0
  48. package/src/lib/artifact-document/protocol.d.ts +60 -0
  49. package/src/lib/artifact-document/runtime.d.ts +4 -0
  50. package/src/lib/artifact-document/sha256.d.ts +2 -0
  51. package/src/lib/artifact-presentation/index.d.ts +35 -0
  52. package/src/lib/core/index.d.ts +1 -0
  53. package/src/lib/core/json-encoded-schema.d.ts +15 -0
  54. package/src/lib/data/analytics/analytics-payload.d.ts +3 -0
  55. package/src/lib/data/analytics/analytics-provider.d.ts +74 -0
  56. package/src/lib/data/analytics/analytics-result.d.ts +4 -0
  57. package/src/lib/data/analytics/analytics.registry.d.ts +10 -0
  58. package/src/lib/data/analytics/analytics.schema.d.ts +206 -0
  59. package/src/lib/data/analytics/index.d.ts +5 -0
  60. package/src/lib/data/datasource/index.d.ts +1 -0
  61. package/src/lib/data/datasource/types.d.ts +1 -1
  62. package/src/lib/data/datasource/workbench-adapter.d.ts +11 -1
  63. package/src/lib/data/datasource/workbench-sql.d.ts +12 -0
  64. package/src/lib/project-pipeline/adapters.d.ts +87 -0
  65. package/src/lib/project-pipeline/capability.d.ts +100 -0
  66. package/src/lib/project-pipeline/index.d.ts +5 -0
  67. package/src/lib/project-pipeline/projection.d.ts +71 -0
  68. package/src/lib/project-pipeline/registry.d.ts +509 -0
  69. package/src/lib/project-pipeline/runtime-registry.d.ts +45 -0
  70. package/src/lib/project-pipeline/scoped-registry.d.ts +10 -0
  71. package/src/lib/project-task/index.d.ts +6 -0
  72. package/src/lib/project-type/index.d.ts +17 -1
  73. package/src/lib/rag/types.d.ts +1 -1
  74. package/src/lib/runtime/capabilities/artifact-drafts.d.ts +29 -0
  75. package/src/lib/runtime/capabilities/artifacts.d.ts +12 -0
  76. package/src/lib/runtime/capabilities/index.d.ts +3 -0
  77. package/src/lib/runtime/capabilities/mcp-client-runtime.d.ts +41 -0
  78. package/src/lib/runtime/capabilities/rest-client-runtime.d.ts +34 -0
  79. package/src/lib/runtime/capabilities/sandbox-jobs.d.ts +36 -2
  80. package/src/lib/runtime/index.d.ts +2 -0
  81. package/src/lib/runtime/mutation-evidence.d.ts +7 -0
  82. package/src/lib/runtime/workspace-file-tools.d.ts +11 -0
  83. package/src/lib/sandbox/file-edits.d.ts +4 -0
  84. package/src/lib/sandbox/protocol.d.ts +7 -1
  85. package/src/lib/sandbox/runtime-provider.d.ts +4 -0
  86. package/src/lib/sandbox/sandbox.d.ts +2 -8
  87. package/src/lib/tool-provider/adapters.d.ts +1 -1
  88. package/src/lib/tool-provider/types.d.ts +2 -0
@@ -95,80 +95,80 @@ export declare const agentInvocationDispatchContextSchema: z.ZodObject<{
95
95
  stepIndex: z.ZodNumber;
96
96
  description: z.ZodString;
97
97
  }, "strict", z.ZodTypeAny, {
98
- description?: string;
99
- stepIndex?: number;
98
+ description: string;
99
+ stepIndex: number;
100
100
  }, {
101
- description?: string;
102
- stepIndex?: number;
101
+ description: string;
102
+ stepIndex: number;
103
103
  }>, "many">;
104
104
  }, "strict", z.ZodTypeAny, {
105
- description?: string;
106
- version?: 1;
107
- title?: string;
108
- steps?: {
109
- description?: string;
110
- stepIndex?: number;
105
+ version: 1;
106
+ title: string;
107
+ steps: {
108
+ description: string;
109
+ stepIndex: number;
111
110
  }[];
112
- requirements?: string[];
111
+ requirements: string[];
112
+ description?: string | undefined;
113
113
  }, {
114
- description?: string;
115
- version?: 1;
116
- title?: string;
117
- steps?: {
118
- description?: string;
119
- stepIndex?: number;
114
+ version: 1;
115
+ title: string;
116
+ steps: {
117
+ description: string;
118
+ stepIndex: number;
120
119
  }[];
121
- requirements?: string[];
120
+ requirements: string[];
121
+ description?: string | undefined;
122
122
  }>, {
123
- description?: string;
124
- version?: 1;
125
- title?: string;
126
- steps?: {
127
- description?: string;
128
- stepIndex?: number;
123
+ version: 1;
124
+ title: string;
125
+ steps: {
126
+ description: string;
127
+ stepIndex: number;
129
128
  }[];
130
- requirements?: string[];
129
+ requirements: string[];
130
+ description?: string | undefined;
131
131
  }, {
132
- description?: string;
133
- version?: 1;
134
- title?: string;
135
- steps?: {
136
- description?: string;
137
- stepIndex?: number;
132
+ version: 1;
133
+ title: string;
134
+ steps: {
135
+ description: string;
136
+ stepIndex: number;
138
137
  }[];
139
- requirements?: string[];
138
+ requirements: string[];
139
+ description?: string | undefined;
140
140
  }>;
141
141
  }, "strict", z.ZodTypeAny, {
142
- digest?: string;
143
- specification?: {
144
- description?: string;
145
- version?: 1;
146
- title?: string;
147
- steps?: {
148
- description?: string;
149
- stepIndex?: number;
142
+ digest: string;
143
+ specification: {
144
+ version: 1;
145
+ title: string;
146
+ steps: {
147
+ description: string;
148
+ stepIndex: number;
150
149
  }[];
151
- requirements?: string[];
150
+ requirements: string[];
151
+ description?: string | undefined;
152
152
  };
153
153
  }, {
154
- digest?: string;
155
- specification?: {
156
- description?: string;
157
- version?: 1;
158
- title?: string;
159
- steps?: {
160
- description?: string;
161
- stepIndex?: number;
154
+ digest: string;
155
+ specification: {
156
+ version: 1;
157
+ title: string;
158
+ steps: {
159
+ description: string;
160
+ stepIndex: number;
162
161
  }[];
163
- requirements?: string[];
162
+ requirements: string[];
163
+ description?: string | undefined;
164
164
  };
165
165
  }>;
166
166
  purpose: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
167
167
  type: z.ZodLiteral<"implementation">;
168
168
  }, "strict", z.ZodTypeAny, {
169
- type?: "implementation";
169
+ type: "implementation";
170
170
  }, {
171
- type?: "implementation";
171
+ type: "implementation";
172
172
  }>, z.ZodObject<{
173
173
  type: z.ZodLiteral<"review">;
174
174
  implementationExecutionId: z.ZodString;
@@ -179,227 +179,227 @@ export declare const agentInvocationDispatchContextSchema: z.ZodObject<{
179
179
  artifactId: z.ZodString;
180
180
  versionId: z.ZodString;
181
181
  }, "strict", z.ZodTypeAny, {
182
- type?: "artifact";
183
- versionId?: string;
184
- artifactId?: string;
182
+ type: "artifact";
183
+ artifactId: string;
184
+ versionId: string;
185
185
  }, {
186
- type?: "artifact";
187
- versionId?: string;
188
- artifactId?: string;
186
+ type: "artifact";
187
+ artifactId: string;
188
+ versionId: string;
189
189
  }>, z.ZodObject<{
190
190
  type: z.ZodLiteral<"invocation_result">;
191
191
  invocationId: z.ZodString;
192
192
  revision: z.ZodNumber;
193
193
  }, "strict", z.ZodTypeAny, {
194
- type?: "invocation_result";
195
- revision?: number;
196
- invocationId?: string;
194
+ type: "invocation_result";
195
+ revision: number;
196
+ invocationId: string;
197
197
  }, {
198
- type?: "invocation_result";
199
- revision?: number;
200
- invocationId?: string;
198
+ type: "invocation_result";
199
+ revision: number;
200
+ invocationId: string;
201
201
  }>, z.ZodObject<{
202
202
  type: z.ZodLiteral<"workspace_snapshot">;
203
203
  snapshotId: z.ZodString;
204
204
  digest: z.ZodString;
205
205
  }, "strict", z.ZodTypeAny, {
206
- type?: "workspace_snapshot";
207
- digest?: string;
208
- snapshotId?: string;
206
+ type: "workspace_snapshot";
207
+ digest: string;
208
+ snapshotId: string;
209
209
  }, {
210
- type?: "workspace_snapshot";
211
- digest?: string;
212
- snapshotId?: string;
210
+ type: "workspace_snapshot";
211
+ digest: string;
212
+ snapshotId: string;
213
213
  }>]>, "many">;
214
214
  }, "strict", z.ZodTypeAny, {
215
- type?: "review";
216
- implementationExecutionId?: string;
217
- implementationInvocationId?: string;
218
- specificationDigest?: string;
219
- evidence?: ({
220
- type?: "artifact";
221
- versionId?: string;
222
- artifactId?: string;
215
+ type: "review";
216
+ evidence: ({
217
+ type: "artifact";
218
+ artifactId: string;
219
+ versionId: string;
223
220
  } | {
224
- type?: "invocation_result";
225
- revision?: number;
226
- invocationId?: string;
221
+ type: "invocation_result";
222
+ revision: number;
223
+ invocationId: string;
227
224
  } | {
228
- type?: "workspace_snapshot";
229
- digest?: string;
230
- snapshotId?: string;
225
+ type: "workspace_snapshot";
226
+ digest: string;
227
+ snapshotId: string;
231
228
  })[];
229
+ implementationExecutionId: string;
230
+ implementationInvocationId: string;
231
+ specificationDigest: string;
232
232
  }, {
233
- type?: "review";
234
- implementationExecutionId?: string;
235
- implementationInvocationId?: string;
236
- specificationDigest?: string;
237
- evidence?: ({
238
- type?: "artifact";
239
- versionId?: string;
240
- artifactId?: string;
233
+ type: "review";
234
+ evidence: ({
235
+ type: "artifact";
236
+ artifactId: string;
237
+ versionId: string;
241
238
  } | {
242
- type?: "invocation_result";
243
- revision?: number;
244
- invocationId?: string;
239
+ type: "invocation_result";
240
+ revision: number;
241
+ invocationId: string;
245
242
  } | {
246
- type?: "workspace_snapshot";
247
- digest?: string;
248
- snapshotId?: string;
243
+ type: "workspace_snapshot";
244
+ digest: string;
245
+ snapshotId: string;
249
246
  })[];
247
+ implementationExecutionId: string;
248
+ implementationInvocationId: string;
249
+ specificationDigest: string;
250
250
  }>]>;
251
251
  }, "strict", z.ZodTypeAny, {
252
- projectId?: string;
253
- purpose?: {
254
- type?: "implementation";
252
+ projectId: string;
253
+ specification: {
254
+ digest: string;
255
+ specification: {
256
+ version: 1;
257
+ title: string;
258
+ steps: {
259
+ description: string;
260
+ stepIndex: number;
261
+ }[];
262
+ requirements: string[];
263
+ description?: string | undefined;
264
+ };
265
+ };
266
+ projectTaskId: string;
267
+ taskExecutionId: string;
268
+ purpose: {
269
+ type: "implementation";
255
270
  } | {
256
- type?: "review";
257
- implementationExecutionId?: string;
258
- implementationInvocationId?: string;
259
- specificationDigest?: string;
260
- evidence?: ({
261
- type?: "artifact";
262
- versionId?: string;
263
- artifactId?: string;
271
+ type: "review";
272
+ evidence: ({
273
+ type: "artifact";
274
+ artifactId: string;
275
+ versionId: string;
264
276
  } | {
265
- type?: "invocation_result";
266
- revision?: number;
267
- invocationId?: string;
277
+ type: "invocation_result";
278
+ revision: number;
279
+ invocationId: string;
268
280
  } | {
269
- type?: "workspace_snapshot";
270
- digest?: string;
271
- snapshotId?: string;
281
+ type: "workspace_snapshot";
282
+ digest: string;
283
+ snapshotId: string;
272
284
  })[];
285
+ implementationExecutionId: string;
286
+ implementationInvocationId: string;
287
+ specificationDigest: string;
273
288
  };
274
- specification?: {
275
- digest?: string;
276
- specification?: {
277
- description?: string;
278
- version?: 1;
279
- title?: string;
280
- steps?: {
281
- description?: string;
282
- stepIndex?: number;
289
+ }, {
290
+ projectId: string;
291
+ specification: {
292
+ digest: string;
293
+ specification: {
294
+ version: 1;
295
+ title: string;
296
+ steps: {
297
+ description: string;
298
+ stepIndex: number;
283
299
  }[];
284
- requirements?: string[];
300
+ requirements: string[];
301
+ description?: string | undefined;
285
302
  };
286
303
  };
287
- projectTaskId?: string;
288
- taskExecutionId?: string;
289
- }, {
290
- projectId?: string;
291
- purpose?: {
292
- type?: "implementation";
304
+ projectTaskId: string;
305
+ taskExecutionId: string;
306
+ purpose: {
307
+ type: "implementation";
293
308
  } | {
294
- type?: "review";
295
- implementationExecutionId?: string;
296
- implementationInvocationId?: string;
297
- specificationDigest?: string;
298
- evidence?: ({
299
- type?: "artifact";
300
- versionId?: string;
301
- artifactId?: string;
309
+ type: "review";
310
+ evidence: ({
311
+ type: "artifact";
312
+ artifactId: string;
313
+ versionId: string;
302
314
  } | {
303
- type?: "invocation_result";
304
- revision?: number;
305
- invocationId?: string;
315
+ type: "invocation_result";
316
+ revision: number;
317
+ invocationId: string;
306
318
  } | {
307
- type?: "workspace_snapshot";
308
- digest?: string;
309
- snapshotId?: string;
319
+ type: "workspace_snapshot";
320
+ digest: string;
321
+ snapshotId: string;
310
322
  })[];
323
+ implementationExecutionId: string;
324
+ implementationInvocationId: string;
325
+ specificationDigest: string;
311
326
  };
312
- specification?: {
313
- digest?: string;
314
- specification?: {
315
- description?: string;
316
- version?: 1;
317
- title?: string;
318
- steps?: {
319
- description?: string;
320
- stepIndex?: number;
327
+ }>, {
328
+ projectId: string;
329
+ specification: {
330
+ digest: string;
331
+ specification: {
332
+ version: 1;
333
+ title: string;
334
+ steps: {
335
+ description: string;
336
+ stepIndex: number;
321
337
  }[];
322
- requirements?: string[];
338
+ requirements: string[];
339
+ description?: string | undefined;
323
340
  };
324
341
  };
325
- projectTaskId?: string;
326
- taskExecutionId?: string;
327
- }>, {
328
- projectId?: string;
329
- purpose?: {
330
- type?: "implementation";
342
+ projectTaskId: string;
343
+ taskExecutionId: string;
344
+ purpose: {
345
+ type: "implementation";
331
346
  } | {
332
- type?: "review";
333
- implementationExecutionId?: string;
334
- implementationInvocationId?: string;
335
- specificationDigest?: string;
336
- evidence?: ({
337
- type?: "artifact";
338
- versionId?: string;
339
- artifactId?: string;
347
+ type: "review";
348
+ evidence: ({
349
+ type: "artifact";
350
+ artifactId: string;
351
+ versionId: string;
340
352
  } | {
341
- type?: "invocation_result";
342
- revision?: number;
343
- invocationId?: string;
353
+ type: "invocation_result";
354
+ revision: number;
355
+ invocationId: string;
344
356
  } | {
345
- type?: "workspace_snapshot";
346
- digest?: string;
347
- snapshotId?: string;
357
+ type: "workspace_snapshot";
358
+ digest: string;
359
+ snapshotId: string;
348
360
  })[];
361
+ implementationExecutionId: string;
362
+ implementationInvocationId: string;
363
+ specificationDigest: string;
349
364
  };
350
- specification?: {
351
- digest?: string;
352
- specification?: {
353
- description?: string;
354
- version?: 1;
355
- title?: string;
356
- steps?: {
357
- description?: string;
358
- stepIndex?: number;
365
+ }, {
366
+ projectId: string;
367
+ specification: {
368
+ digest: string;
369
+ specification: {
370
+ version: 1;
371
+ title: string;
372
+ steps: {
373
+ description: string;
374
+ stepIndex: number;
359
375
  }[];
360
- requirements?: string[];
376
+ requirements: string[];
377
+ description?: string | undefined;
361
378
  };
362
379
  };
363
- projectTaskId?: string;
364
- taskExecutionId?: string;
365
- }, {
366
- projectId?: string;
367
- purpose?: {
368
- type?: "implementation";
380
+ projectTaskId: string;
381
+ taskExecutionId: string;
382
+ purpose: {
383
+ type: "implementation";
369
384
  } | {
370
- type?: "review";
371
- implementationExecutionId?: string;
372
- implementationInvocationId?: string;
373
- specificationDigest?: string;
374
- evidence?: ({
375
- type?: "artifact";
376
- versionId?: string;
377
- artifactId?: string;
385
+ type: "review";
386
+ evidence: ({
387
+ type: "artifact";
388
+ artifactId: string;
389
+ versionId: string;
378
390
  } | {
379
- type?: "invocation_result";
380
- revision?: number;
381
- invocationId?: string;
391
+ type: "invocation_result";
392
+ revision: number;
393
+ invocationId: string;
382
394
  } | {
383
- type?: "workspace_snapshot";
384
- digest?: string;
385
- snapshotId?: string;
395
+ type: "workspace_snapshot";
396
+ digest: string;
397
+ snapshotId: string;
386
398
  })[];
399
+ implementationExecutionId: string;
400
+ implementationInvocationId: string;
401
+ specificationDigest: string;
387
402
  };
388
- specification?: {
389
- digest?: string;
390
- specification?: {
391
- description?: string;
392
- version?: 1;
393
- title?: string;
394
- steps?: {
395
- description?: string;
396
- stepIndex?: number;
397
- }[];
398
- requirements?: string[];
399
- };
400
- };
401
- projectTaskId?: string;
402
- taskExecutionId?: string;
403
403
  }>>;
404
404
  }, "strict", z.ZodTypeAny, {
405
405
  version?: 1;
@@ -419,43 +419,43 @@ export declare const agentInvocationDispatchContextSchema: z.ZodObject<{
419
419
  agentKey?: "general_agent";
420
420
  };
421
421
  projectTask?: {
422
- projectId?: string;
423
- purpose?: {
424
- type?: "implementation";
422
+ projectId: string;
423
+ specification: {
424
+ digest: string;
425
+ specification: {
426
+ version: 1;
427
+ title: string;
428
+ steps: {
429
+ description: string;
430
+ stepIndex: number;
431
+ }[];
432
+ requirements: string[];
433
+ description?: string | undefined;
434
+ };
435
+ };
436
+ projectTaskId: string;
437
+ taskExecutionId: string;
438
+ purpose: {
439
+ type: "implementation";
425
440
  } | {
426
- type?: "review";
427
- implementationExecutionId?: string;
428
- implementationInvocationId?: string;
429
- specificationDigest?: string;
430
- evidence?: ({
431
- type?: "artifact";
432
- versionId?: string;
433
- artifactId?: string;
441
+ type: "review";
442
+ evidence: ({
443
+ type: "artifact";
444
+ artifactId: string;
445
+ versionId: string;
434
446
  } | {
435
- type?: "invocation_result";
436
- revision?: number;
437
- invocationId?: string;
447
+ type: "invocation_result";
448
+ revision: number;
449
+ invocationId: string;
438
450
  } | {
439
- type?: "workspace_snapshot";
440
- digest?: string;
441
- snapshotId?: string;
451
+ type: "workspace_snapshot";
452
+ digest: string;
453
+ snapshotId: string;
442
454
  })[];
455
+ implementationExecutionId: string;
456
+ implementationInvocationId: string;
457
+ specificationDigest: string;
443
458
  };
444
- specification?: {
445
- digest?: string;
446
- specification?: {
447
- description?: string;
448
- version?: 1;
449
- title?: string;
450
- steps?: {
451
- description?: string;
452
- stepIndex?: number;
453
- }[];
454
- requirements?: string[];
455
- };
456
- };
457
- projectTaskId?: string;
458
- taskExecutionId?: string;
459
459
  };
460
460
  }, {
461
461
  version?: 1;
@@ -475,43 +475,43 @@ export declare const agentInvocationDispatchContextSchema: z.ZodObject<{
475
475
  agentKey?: "general_agent";
476
476
  };
477
477
  projectTask?: {
478
- projectId?: string;
479
- purpose?: {
480
- type?: "implementation";
478
+ projectId: string;
479
+ specification: {
480
+ digest: string;
481
+ specification: {
482
+ version: 1;
483
+ title: string;
484
+ steps: {
485
+ description: string;
486
+ stepIndex: number;
487
+ }[];
488
+ requirements: string[];
489
+ description?: string | undefined;
490
+ };
491
+ };
492
+ projectTaskId: string;
493
+ taskExecutionId: string;
494
+ purpose: {
495
+ type: "implementation";
481
496
  } | {
482
- type?: "review";
483
- implementationExecutionId?: string;
484
- implementationInvocationId?: string;
485
- specificationDigest?: string;
486
- evidence?: ({
487
- type?: "artifact";
488
- versionId?: string;
489
- artifactId?: string;
497
+ type: "review";
498
+ evidence: ({
499
+ type: "artifact";
500
+ artifactId: string;
501
+ versionId: string;
490
502
  } | {
491
- type?: "invocation_result";
492
- revision?: number;
493
- invocationId?: string;
503
+ type: "invocation_result";
504
+ revision: number;
505
+ invocationId: string;
494
506
  } | {
495
- type?: "workspace_snapshot";
496
- digest?: string;
497
- snapshotId?: string;
507
+ type: "workspace_snapshot";
508
+ digest: string;
509
+ snapshotId: string;
498
510
  })[];
511
+ implementationExecutionId: string;
512
+ implementationInvocationId: string;
513
+ specificationDigest: string;
499
514
  };
500
- specification?: {
501
- digest?: string;
502
- specification?: {
503
- description?: string;
504
- version?: 1;
505
- title?: string;
506
- steps?: {
507
- description?: string;
508
- stepIndex?: number;
509
- }[];
510
- requirements?: string[];
511
- };
512
- };
513
- projectTaskId?: string;
514
- taskExecutionId?: string;
515
515
  };
516
516
  }>;
517
517
  export type AgentInvocationDispatchContext = z.output<typeof agentInvocationDispatchContextSchema>;