@xpert-ai/contracts 3.35.0 → 3.37.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 (105) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +1165 -805
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +1140 -801
  10. package/package.json +18 -2
  11. package/src/agent-plugin.d.ts +4 -29
  12. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  13. package/src/ai/agent-runtime.model.d.ts +4 -4
  14. package/src/ai/assistant-capability.model.d.ts +0 -1
  15. package/src/ai/assistant-template-manifest.model.d.ts +272 -308
  16. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  17. package/src/ai/assistant-template.model.d.ts +0 -4
  18. package/src/ai/bosi.model.d.ts +1 -1
  19. package/src/ai/chat-activity.model.d.ts +13 -0
  20. package/src/ai/chat-message.model.d.ts +0 -11
  21. package/src/ai/chat.model.d.ts +3 -0
  22. package/src/ai/cli-execution.model.d.ts +88 -0
  23. package/src/ai/conversation-trail.model.d.ts +274 -274
  24. package/src/ai/copilot-store.model.d.ts +0 -13
  25. package/src/ai/evolution/entities.d.ts +164 -0
  26. package/src/ai/evolution/evaluation.d.ts +7 -0
  27. package/src/ai/evolution/execution-review.d.ts +68 -0
  28. package/src/ai/evolution/index.d.ts +2 -0
  29. package/src/ai/evolution/provider.d.ts +1 -0
  30. package/src/ai/evolution/target.d.ts +5 -0
  31. package/src/ai/execution-activity.model.d.ts +362 -362
  32. package/src/ai/execution-control-evidence.schema.d.ts +26 -26
  33. package/src/ai/execution-observability.model.d.ts +160 -160
  34. package/src/ai/execution-source.model.d.ts +45 -0
  35. package/src/ai/index.d.ts +2 -0
  36. package/src/ai/middleware.model.d.ts +1 -0
  37. package/src/ai/model-execution.model.d.ts +5 -108
  38. package/src/ai/model-replacement.model.d.ts +12 -12
  39. package/src/ai/project-configuration-view.model.d.ts +1 -0
  40. package/src/ai/project-pipeline/analytics.d.ts +288 -288
  41. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  42. package/src/ai/project-pipeline/commands.schema.d.ts +519 -476
  43. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  44. package/src/ai/project-pipeline/configuration-form.d.ts +1903 -1759
  45. package/src/ai/project-pipeline/configuration.schema.d.ts +425 -388
  46. package/src/ai/project-pipeline/contribution.schema.d.ts +764 -612
  47. package/src/ai/project-pipeline/definition.schema.d.ts +382 -338
  48. package/src/ai/project-pipeline/execution-statistics.d.ts +30 -30
  49. package/src/ai/project-pipeline/graph.model.d.ts +7 -2
  50. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  51. package/src/ai/project-pipeline/index.d.ts +1 -0
  52. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  53. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  54. package/src/ai/project-pipeline/operation.schema.d.ts +378 -378
  55. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  56. package/src/ai/project-pipeline/portfolio.schema.d.ts +684 -684
  57. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  58. package/src/ai/project-pipeline/projection.schema.d.ts +674 -637
  59. package/src/ai/project-pipeline/provider-actions.schema.d.ts +120 -120
  60. package/src/ai/project-pipeline/queue-statistics.d.ts +34 -34
  61. package/src/ai/project-pipeline/runtime.schema.d.ts +89 -89
  62. package/src/ai/project-pipeline/statistics.d.ts +142 -142
  63. package/src/ai/project-task-runtime.model.d.ts +265 -789
  64. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  65. package/src/ai/template-installation.model.d.ts +13 -13
  66. package/src/ai/template-lifecycle.model.d.ts +4 -4
  67. package/src/ai/xpert-agent-execution.model.d.ts +33 -0
  68. package/src/ai/xpert-project.model.d.ts +2 -1
  69. package/src/ai/xpert-tool.model.d.ts +12 -0
  70. package/src/ai/xpert.model.d.ts +0 -34
  71. package/src/ai/xpert.utils.d.ts +0 -1
  72. package/src/always-on/agent-event.model.d.ts +121 -0
  73. package/src/always-on/agent-event.schema.d.ts +139 -0
  74. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  75. package/src/always-on/agent-output.model.d.ts +411 -0
  76. package/src/always-on/human-decision.model.d.ts +204 -0
  77. package/src/always-on/index.d.ts +3 -0
  78. package/src/always-on/output-workbench.schema.d.ts +154 -0
  79. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  80. package/src/analytics/analytics-certification.model.d.ts +17 -0
  81. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  82. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  83. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  84. package/src/analytics/index.d.ts +7 -0
  85. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  86. package/src/app-platform.d.ts +14 -14
  87. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  88. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  89. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  90. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  91. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +4 -2
  92. package/src/artifacts/index.d.ts +5 -0
  93. package/src/collaboration.model.d.ts +31 -11
  94. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  95. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +7 -3
  96. package/src/content/content-transfer.model.d.ts +21 -0
  97. package/src/content/index.d.ts +4 -0
  98. package/src/execution-control-admission.schema.d.ts +2 -2
  99. package/src/icon-definition.schema.d.ts +6 -10
  100. package/src/index.d.ts +5 -14
  101. package/src/secret-token.model.d.ts +4 -4
  102. package/src/user-notification.schema.d.ts +1300 -471
  103. package/src/view-extension/client-commands.d.ts +24 -0
  104. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  105. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -25,6 +25,7 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
25
25
  producerOperationId?: string | undefined;
26
26
  }>;
27
27
  }, "strict", z.ZodTypeAny, {
28
+ kind: "evidence";
28
29
  value: {
29
30
  version: string;
30
31
  resolverRef: string;
@@ -33,8 +34,8 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
33
34
  schemaRef: string;
34
35
  producerOperationId?: string | undefined;
35
36
  };
36
- kind: "evidence";
37
37
  }, {
38
+ kind: "evidence";
38
39
  value: {
39
40
  version: string;
40
41
  resolverRef: string;
@@ -43,7 +44,6 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
43
44
  schemaRef: string;
44
45
  producerOperationId?: string | undefined;
45
46
  };
46
- kind: "evidence";
47
47
  }>, z.ZodObject<{
48
48
  kind: z.ZodLiteral<"evidence_collection">;
49
49
  value: z.ZodArray<z.ZodObject<{
@@ -70,6 +70,7 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
70
70
  producerOperationId?: string | undefined;
71
71
  }>, "many">;
72
72
  }, "strict", z.ZodTypeAny, {
73
+ kind: "evidence_collection";
73
74
  value: {
74
75
  version: string;
75
76
  resolverRef: string;
@@ -78,8 +79,8 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
78
79
  schemaRef: string;
79
80
  producerOperationId?: string | undefined;
80
81
  }[];
81
- kind: "evidence_collection";
82
82
  }, {
83
+ kind: "evidence_collection";
83
84
  value: {
84
85
  version: string;
85
86
  resolverRef: string;
@@ -88,7 +89,6 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
88
89
  schemaRef: string;
89
90
  producerOperationId?: string | undefined;
90
91
  }[];
91
- kind: "evidence_collection";
92
92
  }>, z.ZodObject<{
93
93
  kind: z.ZodLiteral<"subjects">;
94
94
  value: z.ZodArray<z.ZodObject<{
@@ -108,30 +108,30 @@ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnio
108
108
  objectKey: string;
109
109
  }>, "many">;
110
110
  }, "strict", z.ZodTypeAny, {
111
+ kind: "subjects";
111
112
  value: {
112
113
  version: string;
113
114
  resolverRef: string;
114
115
  digest: string;
115
116
  objectKey: string;
116
117
  }[];
117
- kind: "subjects";
118
118
  }, {
119
+ kind: "subjects";
119
120
  value: {
120
121
  version: string;
121
122
  resolverRef: string;
122
123
  digest: string;
123
124
  objectKey: string;
124
125
  }[];
125
- kind: "subjects";
126
126
  }>, z.ZodObject<{
127
127
  kind: z.ZodLiteral<"parameter">;
128
128
  value: z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>;
129
129
  }, "strict", z.ZodTypeAny, {
130
- value: import("./primitives.schema").ProjectPipelineJsonValue;
131
130
  kind: "parameter";
132
- }, {
133
131
  value: import("./primitives.schema").ProjectPipelineJsonValue;
132
+ }, {
134
133
  kind: "parameter";
134
+ value: import("./primitives.schema").ProjectPipelineJsonValue;
135
135
  }>]>;
136
136
  export declare const projectPipelineAssistantInputSchema: z.ZodObject<{
137
137
  prompt: z.ZodString;
@@ -169,19 +169,19 @@ export declare const projectPipelineAssistantExecutionSchema: z.ZodObject<{
169
169
  publishedVersion: z.ZodString;
170
170
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
171
171
  }, "strict", z.ZodTypeAny, {
172
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
173
172
  kind: "assistant_task";
174
- xpertId: string;
173
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
174
+ executionId: string;
175
175
  conversationId: string;
176
+ xpertId: string;
176
177
  publishedVersion: string;
177
- executionId: string;
178
178
  }, {
179
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
180
179
  kind: "assistant_task";
181
- xpertId: string;
180
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
181
+ executionId: string;
182
182
  conversationId: string;
183
+ xpertId: string;
183
184
  publishedVersion: string;
184
- executionId: string;
185
185
  }>;
186
186
  export declare const projectPipelineRuntimeExecutionSchema: z.ZodObject<{
187
187
  kind: z.ZodLiteral<"runtime_invocation">;
@@ -191,17 +191,17 @@ export declare const projectPipelineRuntimeExecutionSchema: z.ZodObject<{
191
191
  revision: z.ZodString;
192
192
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
193
193
  }, "strict", z.ZodTypeAny, {
194
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
195
194
  kind: "runtime_invocation";
196
- provider: string;
195
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
197
196
  revision: string;
197
+ provider: string;
198
198
  bindingId: string;
199
199
  invocationId: string;
200
200
  }, {
201
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
202
201
  kind: "runtime_invocation";
203
- provider: string;
202
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
204
203
  revision: string;
204
+ provider: string;
205
205
  bindingId: string;
206
206
  invocationId: string;
207
207
  }>;
@@ -240,10 +240,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
240
240
  kind: "invocation";
241
241
  id: string;
242
242
  };
243
+ state: "unknown";
243
244
  source: "unavailable";
244
245
  version: 1;
245
246
  reason: "unregistered" | "unconfirmed" | "unsupported";
246
- state: "unknown";
247
247
  observedAt: string;
248
248
  }, {
249
249
  subject: {
@@ -253,10 +253,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
253
253
  kind: "invocation";
254
254
  id: string;
255
255
  };
256
+ state: "unknown";
256
257
  source: "unavailable";
257
258
  version: 1;
258
259
  reason: "unregistered" | "unconfirmed" | "unsupported";
259
- state: "unknown";
260
260
  observedAt: string;
261
261
  }>, z.ZodObject<{
262
262
  source: z.ZodLiteral<"platform">;
@@ -297,17 +297,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
297
297
  kind: "invocation";
298
298
  id: string;
299
299
  };
300
- source: "platform";
301
- version: 1;
302
- scope: "owned_subtree";
303
300
  revision: number;
304
301
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
302
+ taskId: string;
303
+ executionId: string;
305
304
  threadId: string;
305
+ source: "platform";
306
+ version: 1;
307
+ scope: "owned_subtree";
306
308
  observedAt: string;
307
309
  desired: "running" | "paused" | "terminated";
308
- taskId: string;
309
310
  rootId: string;
310
- executionId: string;
311
311
  }, {
312
312
  subject: {
313
313
  kind: "execution";
@@ -316,17 +316,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
316
316
  kind: "invocation";
317
317
  id: string;
318
318
  };
319
- source: "platform";
320
- version: 1;
321
- scope: "owned_subtree";
322
319
  revision: number;
323
320
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
321
+ taskId: string;
322
+ executionId: string;
324
323
  threadId: string;
324
+ source: "platform";
325
+ version: 1;
326
+ scope: "owned_subtree";
325
327
  observedAt: string;
326
328
  desired: "running" | "paused" | "terminated";
327
- taskId: string;
328
329
  rootId: string;
329
- executionId: string;
330
330
  }>, z.ZodObject<{
331
331
  source: z.ZodLiteral<"provider">;
332
332
  subject: z.ZodObject<{
@@ -380,11 +380,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
380
380
  kind: "invocation";
381
381
  id: string;
382
382
  };
383
- outcome: "succeeded" | "failed" | "cancelled";
383
+ state: "settled";
384
384
  source: "provider";
385
385
  version: 1;
386
+ outcome: "failed" | "cancelled" | "succeeded";
386
387
  scope: "operation";
387
- state: "settled";
388
388
  runId: string;
389
389
  observedAt: string;
390
390
  sessionId: string;
@@ -404,11 +404,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
404
404
  kind: "invocation";
405
405
  id: string;
406
406
  };
407
- outcome: "succeeded" | "failed" | "cancelled";
407
+ state: "settled";
408
408
  source: "provider";
409
409
  version: 1;
410
+ outcome: "failed" | "cancelled" | "succeeded";
410
411
  scope: "operation";
411
- state: "settled";
412
412
  runId: string;
413
413
  observedAt: string;
414
414
  sessionId: string;
@@ -446,25 +446,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
446
446
  kind: "invocation";
447
447
  id: string;
448
448
  };
449
- outcome: "cancelled";
449
+ state: "settled";
450
+ executionId: string;
450
451
  source: "native_graph";
451
452
  version: 1;
453
+ outcome: "cancelled";
452
454
  scope: "operation";
453
- state: "settled";
454
455
  observedAt: string;
455
- executionId: string;
456
456
  }, {
457
457
  subject: {
458
458
  kind: "invocation";
459
459
  id: string;
460
460
  };
461
- outcome: "cancelled";
461
+ state: "settled";
462
+ executionId: string;
462
463
  source: "native_graph";
463
464
  version: 1;
465
+ outcome: "cancelled";
464
466
  scope: "operation";
465
- state: "settled";
466
467
  observedAt: string;
467
- executionId: string;
468
468
  }>, z.ZodObject<{
469
469
  source: z.ZodLiteral<"host_admission">;
470
470
  subject: z.ZodObject<{
@@ -488,24 +488,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
488
488
  kind: "invocation";
489
489
  id: string;
490
490
  };
491
- outcome: "failed" | "cancelled";
491
+ state: "settled";
492
492
  source: "host_admission";
493
493
  version: 1;
494
+ outcome: "failed" | "cancelled";
494
495
  reason: "not_started";
495
496
  scope: "operation";
496
- state: "settled";
497
497
  observedAt: string;
498
498
  }, {
499
499
  subject: {
500
500
  kind: "invocation";
501
501
  id: string;
502
502
  };
503
- outcome: "failed" | "cancelled";
503
+ state: "settled";
504
504
  source: "host_admission";
505
505
  version: 1;
506
+ outcome: "failed" | "cancelled";
506
507
  reason: "not_started";
507
508
  scope: "operation";
508
- state: "settled";
509
509
  observedAt: string;
510
510
  }>]>>;
511
511
  receiptKey: z.ZodString;
@@ -517,19 +517,19 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
517
517
  publishedVersion: z.ZodString;
518
518
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
519
519
  }, "strict", z.ZodTypeAny, {
520
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
521
520
  kind: "assistant_task";
522
- xpertId: string;
521
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
522
+ executionId: string;
523
523
  conversationId: string;
524
+ xpertId: string;
524
525
  publishedVersion: string;
525
- executionId: string;
526
526
  }, {
527
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
528
527
  kind: "assistant_task";
529
- xpertId: string;
528
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
529
+ executionId: string;
530
530
  conversationId: string;
531
+ xpertId: string;
531
532
  publishedVersion: string;
532
- executionId: string;
533
533
  }>, z.ZodObject<{
534
534
  kind: z.ZodLiteral<"runtime_invocation">;
535
535
  invocationId: z.ZodString;
@@ -538,17 +538,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
538
538
  revision: z.ZodString;
539
539
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
540
540
  }, "strict", z.ZodTypeAny, {
541
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
542
541
  kind: "runtime_invocation";
543
- provider: string;
542
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
544
543
  revision: string;
544
+ provider: string;
545
545
  bindingId: string;
546
546
  invocationId: string;
547
547
  }, {
548
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
549
548
  kind: "runtime_invocation";
550
- provider: string;
549
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
551
550
  revision: string;
551
+ provider: string;
552
552
  bindingId: string;
553
553
  invocationId: string;
554
554
  }>]>>;
@@ -556,17 +556,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
556
556
  status: "pending";
557
557
  receiptKey: string;
558
558
  execution?: {
559
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
560
559
  kind: "assistant_task";
561
- xpertId: string;
560
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
561
+ executionId: string;
562
562
  conversationId: string;
563
+ xpertId: string;
563
564
  publishedVersion: string;
564
- executionId: string;
565
565
  } | {
566
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
567
566
  kind: "runtime_invocation";
568
- provider: string;
567
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
569
568
  revision: string;
569
+ provider: string;
570
570
  bindingId: string;
571
571
  invocationId: string;
572
572
  } | undefined;
@@ -578,10 +578,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
578
578
  kind: "invocation";
579
579
  id: string;
580
580
  };
581
+ state: "unknown";
581
582
  source: "unavailable";
582
583
  version: 1;
583
584
  reason: "unregistered" | "unconfirmed" | "unsupported";
584
- state: "unknown";
585
585
  observedAt: string;
586
586
  } | {
587
587
  subject: {
@@ -591,27 +591,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
591
591
  kind: "invocation";
592
592
  id: string;
593
593
  };
594
- source: "platform";
595
- version: 1;
596
- scope: "owned_subtree";
597
594
  revision: number;
598
595
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
596
+ taskId: string;
597
+ executionId: string;
599
598
  threadId: string;
599
+ source: "platform";
600
+ version: 1;
601
+ scope: "owned_subtree";
600
602
  observedAt: string;
601
603
  desired: "running" | "paused" | "terminated";
602
- taskId: string;
603
604
  rootId: string;
604
- executionId: string;
605
605
  } | {
606
606
  subject: {
607
607
  kind: "invocation";
608
608
  id: string;
609
609
  };
610
- outcome: "succeeded" | "failed" | "cancelled";
610
+ state: "settled";
611
611
  source: "provider";
612
612
  version: 1;
613
+ outcome: "failed" | "cancelled" | "succeeded";
613
614
  scope: "operation";
614
- state: "settled";
615
615
  runId: string;
616
616
  observedAt: string;
617
617
  sessionId: string;
@@ -631,41 +631,41 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
631
631
  kind: "invocation";
632
632
  id: string;
633
633
  };
634
- outcome: "cancelled";
634
+ state: "settled";
635
+ executionId: string;
635
636
  source: "native_graph";
636
637
  version: 1;
638
+ outcome: "cancelled";
637
639
  scope: "operation";
638
- state: "settled";
639
640
  observedAt: string;
640
- executionId: string;
641
641
  } | {
642
642
  subject: {
643
643
  kind: "invocation";
644
644
  id: string;
645
645
  };
646
- outcome: "failed" | "cancelled";
646
+ state: "settled";
647
647
  source: "host_admission";
648
648
  version: 1;
649
+ outcome: "failed" | "cancelled";
649
650
  reason: "not_started";
650
651
  scope: "operation";
651
- state: "settled";
652
652
  observedAt: string;
653
653
  } | undefined;
654
654
  }, {
655
655
  status: "pending";
656
656
  receiptKey: string;
657
657
  execution?: {
658
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
659
658
  kind: "assistant_task";
660
- xpertId: string;
659
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
660
+ executionId: string;
661
661
  conversationId: string;
662
+ xpertId: string;
662
663
  publishedVersion: string;
663
- executionId: string;
664
664
  } | {
665
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
666
665
  kind: "runtime_invocation";
667
- provider: string;
666
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
668
667
  revision: string;
668
+ provider: string;
669
669
  bindingId: string;
670
670
  invocationId: string;
671
671
  } | undefined;
@@ -677,10 +677,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
677
677
  kind: "invocation";
678
678
  id: string;
679
679
  };
680
+ state: "unknown";
680
681
  source: "unavailable";
681
682
  version: 1;
682
683
  reason: "unregistered" | "unconfirmed" | "unsupported";
683
- state: "unknown";
684
684
  observedAt: string;
685
685
  } | {
686
686
  subject: {
@@ -690,27 +690,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
690
690
  kind: "invocation";
691
691
  id: string;
692
692
  };
693
- source: "platform";
694
- version: 1;
695
- scope: "owned_subtree";
696
693
  revision: number;
697
694
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
695
+ taskId: string;
696
+ executionId: string;
698
697
  threadId: string;
698
+ source: "platform";
699
+ version: 1;
700
+ scope: "owned_subtree";
699
701
  observedAt: string;
700
702
  desired: "running" | "paused" | "terminated";
701
- taskId: string;
702
703
  rootId: string;
703
- executionId: string;
704
704
  } | {
705
705
  subject: {
706
706
  kind: "invocation";
707
707
  id: string;
708
708
  };
709
- outcome: "succeeded" | "failed" | "cancelled";
709
+ state: "settled";
710
710
  source: "provider";
711
711
  version: 1;
712
+ outcome: "failed" | "cancelled" | "succeeded";
712
713
  scope: "operation";
713
- state: "settled";
714
714
  runId: string;
715
715
  observedAt: string;
716
716
  sessionId: string;
@@ -730,24 +730,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
730
730
  kind: "invocation";
731
731
  id: string;
732
732
  };
733
- outcome: "cancelled";
733
+ state: "settled";
734
+ executionId: string;
734
735
  source: "native_graph";
735
736
  version: 1;
737
+ outcome: "cancelled";
736
738
  scope: "operation";
737
- state: "settled";
738
739
  observedAt: string;
739
- executionId: string;
740
740
  } | {
741
741
  subject: {
742
742
  kind: "invocation";
743
743
  id: string;
744
744
  };
745
- outcome: "failed" | "cancelled";
745
+ state: "settled";
746
746
  source: "host_admission";
747
747
  version: 1;
748
+ outcome: "failed" | "cancelled";
748
749
  reason: "not_started";
749
750
  scope: "operation";
750
- state: "settled";
751
751
  observedAt: string;
752
752
  } | undefined;
753
753
  }>, z.ZodObject<{
@@ -822,10 +822,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
822
822
  kind: "invocation";
823
823
  id: string;
824
824
  };
825
+ state: "unknown";
825
826
  source: "unavailable";
826
827
  version: 1;
827
828
  reason: "unregistered" | "unconfirmed" | "unsupported";
828
- state: "unknown";
829
829
  observedAt: string;
830
830
  }, {
831
831
  subject: {
@@ -835,10 +835,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
835
835
  kind: "invocation";
836
836
  id: string;
837
837
  };
838
+ state: "unknown";
838
839
  source: "unavailable";
839
840
  version: 1;
840
841
  reason: "unregistered" | "unconfirmed" | "unsupported";
841
- state: "unknown";
842
842
  observedAt: string;
843
843
  }>, z.ZodObject<{
844
844
  source: z.ZodLiteral<"platform">;
@@ -879,17 +879,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
879
879
  kind: "invocation";
880
880
  id: string;
881
881
  };
882
- source: "platform";
883
- version: 1;
884
- scope: "owned_subtree";
885
882
  revision: number;
886
883
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
884
+ taskId: string;
885
+ executionId: string;
887
886
  threadId: string;
887
+ source: "platform";
888
+ version: 1;
889
+ scope: "owned_subtree";
888
890
  observedAt: string;
889
891
  desired: "running" | "paused" | "terminated";
890
- taskId: string;
891
892
  rootId: string;
892
- executionId: string;
893
893
  }, {
894
894
  subject: {
895
895
  kind: "execution";
@@ -898,17 +898,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
898
898
  kind: "invocation";
899
899
  id: string;
900
900
  };
901
- source: "platform";
902
- version: 1;
903
- scope: "owned_subtree";
904
901
  revision: number;
905
902
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
903
+ taskId: string;
904
+ executionId: string;
906
905
  threadId: string;
906
+ source: "platform";
907
+ version: 1;
908
+ scope: "owned_subtree";
907
909
  observedAt: string;
908
910
  desired: "running" | "paused" | "terminated";
909
- taskId: string;
910
911
  rootId: string;
911
- executionId: string;
912
912
  }>, z.ZodObject<{
913
913
  source: z.ZodLiteral<"provider">;
914
914
  subject: z.ZodObject<{
@@ -962,11 +962,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
962
962
  kind: "invocation";
963
963
  id: string;
964
964
  };
965
- outcome: "succeeded" | "failed" | "cancelled";
965
+ state: "settled";
966
966
  source: "provider";
967
967
  version: 1;
968
+ outcome: "failed" | "cancelled" | "succeeded";
968
969
  scope: "operation";
969
- state: "settled";
970
970
  runId: string;
971
971
  observedAt: string;
972
972
  sessionId: string;
@@ -986,11 +986,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
986
986
  kind: "invocation";
987
987
  id: string;
988
988
  };
989
- outcome: "succeeded" | "failed" | "cancelled";
989
+ state: "settled";
990
990
  source: "provider";
991
991
  version: 1;
992
+ outcome: "failed" | "cancelled" | "succeeded";
992
993
  scope: "operation";
993
- state: "settled";
994
994
  runId: string;
995
995
  observedAt: string;
996
996
  sessionId: string;
@@ -1028,25 +1028,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1028
1028
  kind: "invocation";
1029
1029
  id: string;
1030
1030
  };
1031
- outcome: "cancelled";
1031
+ state: "settled";
1032
+ executionId: string;
1032
1033
  source: "native_graph";
1033
1034
  version: 1;
1035
+ outcome: "cancelled";
1034
1036
  scope: "operation";
1035
- state: "settled";
1036
1037
  observedAt: string;
1037
- executionId: string;
1038
1038
  }, {
1039
1039
  subject: {
1040
1040
  kind: "invocation";
1041
1041
  id: string;
1042
1042
  };
1043
- outcome: "cancelled";
1043
+ state: "settled";
1044
+ executionId: string;
1044
1045
  source: "native_graph";
1045
1046
  version: 1;
1047
+ outcome: "cancelled";
1046
1048
  scope: "operation";
1047
- state: "settled";
1048
1049
  observedAt: string;
1049
- executionId: string;
1050
1050
  }>, z.ZodObject<{
1051
1051
  source: z.ZodLiteral<"host_admission">;
1052
1052
  subject: z.ZodObject<{
@@ -1070,24 +1070,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1070
1070
  kind: "invocation";
1071
1071
  id: string;
1072
1072
  };
1073
- outcome: "failed" | "cancelled";
1073
+ state: "settled";
1074
1074
  source: "host_admission";
1075
1075
  version: 1;
1076
+ outcome: "failed" | "cancelled";
1076
1077
  reason: "not_started";
1077
1078
  scope: "operation";
1078
- state: "settled";
1079
1079
  observedAt: string;
1080
1080
  }, {
1081
1081
  subject: {
1082
1082
  kind: "invocation";
1083
1083
  id: string;
1084
1084
  };
1085
- outcome: "failed" | "cancelled";
1085
+ state: "settled";
1086
1086
  source: "host_admission";
1087
1087
  version: 1;
1088
+ outcome: "failed" | "cancelled";
1088
1089
  reason: "not_started";
1089
1090
  scope: "operation";
1090
- state: "settled";
1091
1091
  observedAt: string;
1092
1092
  }>]>>;
1093
1093
  receiptKey: z.ZodString;
@@ -1099,19 +1099,19 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1099
1099
  publishedVersion: z.ZodString;
1100
1100
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
1101
1101
  }, "strict", z.ZodTypeAny, {
1102
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1103
1102
  kind: "assistant_task";
1104
- xpertId: string;
1103
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1104
+ executionId: string;
1105
1105
  conversationId: string;
1106
+ xpertId: string;
1106
1107
  publishedVersion: string;
1107
- executionId: string;
1108
1108
  }, {
1109
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1110
1109
  kind: "assistant_task";
1111
- xpertId: string;
1110
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1111
+ executionId: string;
1112
1112
  conversationId: string;
1113
+ xpertId: string;
1113
1114
  publishedVersion: string;
1114
- executionId: string;
1115
1115
  }>, z.ZodObject<{
1116
1116
  kind: z.ZodLiteral<"runtime_invocation">;
1117
1117
  invocationId: z.ZodString;
@@ -1120,17 +1120,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1120
1120
  revision: z.ZodString;
1121
1121
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
1122
1122
  }, "strict", z.ZodTypeAny, {
1123
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1124
1123
  kind: "runtime_invocation";
1125
- provider: string;
1124
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1126
1125
  revision: string;
1126
+ provider: string;
1127
1127
  bindingId: string;
1128
1128
  invocationId: string;
1129
1129
  }, {
1130
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1131
1130
  kind: "runtime_invocation";
1132
- provider: string;
1131
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1133
1132
  revision: string;
1133
+ provider: string;
1134
1134
  bindingId: string;
1135
1135
  invocationId: string;
1136
1136
  }>]>>;
@@ -1146,17 +1146,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1146
1146
  }>;
1147
1147
  receiptKey: string;
1148
1148
  execution?: {
1149
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1150
1149
  kind: "assistant_task";
1151
- xpertId: string;
1150
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1151
+ executionId: string;
1152
1152
  conversationId: string;
1153
+ xpertId: string;
1153
1154
  publishedVersion: string;
1154
- executionId: string;
1155
1155
  } | {
1156
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1157
1156
  kind: "runtime_invocation";
1158
- provider: string;
1157
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1159
1158
  revision: string;
1159
+ provider: string;
1160
1160
  bindingId: string;
1161
1161
  invocationId: string;
1162
1162
  } | undefined;
@@ -1168,10 +1168,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1168
1168
  kind: "invocation";
1169
1169
  id: string;
1170
1170
  };
1171
+ state: "unknown";
1171
1172
  source: "unavailable";
1172
1173
  version: 1;
1173
1174
  reason: "unregistered" | "unconfirmed" | "unsupported";
1174
- state: "unknown";
1175
1175
  observedAt: string;
1176
1176
  } | {
1177
1177
  subject: {
@@ -1181,27 +1181,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1181
1181
  kind: "invocation";
1182
1182
  id: string;
1183
1183
  };
1184
- source: "platform";
1185
- version: 1;
1186
- scope: "owned_subtree";
1187
1184
  revision: number;
1188
1185
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1186
+ taskId: string;
1187
+ executionId: string;
1189
1188
  threadId: string;
1189
+ source: "platform";
1190
+ version: 1;
1191
+ scope: "owned_subtree";
1190
1192
  observedAt: string;
1191
1193
  desired: "running" | "paused" | "terminated";
1192
- taskId: string;
1193
1194
  rootId: string;
1194
- executionId: string;
1195
1195
  } | {
1196
1196
  subject: {
1197
1197
  kind: "invocation";
1198
1198
  id: string;
1199
1199
  };
1200
- outcome: "succeeded" | "failed" | "cancelled";
1200
+ state: "settled";
1201
1201
  source: "provider";
1202
1202
  version: 1;
1203
+ outcome: "failed" | "cancelled" | "succeeded";
1203
1204
  scope: "operation";
1204
- state: "settled";
1205
1205
  runId: string;
1206
1206
  observedAt: string;
1207
1207
  sessionId: string;
@@ -1221,24 +1221,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1221
1221
  kind: "invocation";
1222
1222
  id: string;
1223
1223
  };
1224
- outcome: "cancelled";
1224
+ state: "settled";
1225
+ executionId: string;
1225
1226
  source: "native_graph";
1226
1227
  version: 1;
1228
+ outcome: "cancelled";
1227
1229
  scope: "operation";
1228
- state: "settled";
1229
1230
  observedAt: string;
1230
- executionId: string;
1231
1231
  } | {
1232
1232
  subject: {
1233
1233
  kind: "invocation";
1234
1234
  id: string;
1235
1235
  };
1236
- outcome: "failed" | "cancelled";
1236
+ state: "settled";
1237
1237
  source: "host_admission";
1238
1238
  version: 1;
1239
+ outcome: "failed" | "cancelled";
1239
1240
  reason: "not_started";
1240
1241
  scope: "operation";
1241
- state: "settled";
1242
1242
  observedAt: string;
1243
1243
  } | undefined;
1244
1244
  }, {
@@ -1253,17 +1253,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1253
1253
  }>;
1254
1254
  receiptKey: string;
1255
1255
  execution?: {
1256
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1257
1256
  kind: "assistant_task";
1258
- xpertId: string;
1257
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1258
+ executionId: string;
1259
1259
  conversationId: string;
1260
+ xpertId: string;
1260
1261
  publishedVersion: string;
1261
- executionId: string;
1262
1262
  } | {
1263
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1264
1263
  kind: "runtime_invocation";
1265
- provider: string;
1264
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1266
1265
  revision: string;
1266
+ provider: string;
1267
1267
  bindingId: string;
1268
1268
  invocationId: string;
1269
1269
  } | undefined;
@@ -1275,10 +1275,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1275
1275
  kind: "invocation";
1276
1276
  id: string;
1277
1277
  };
1278
+ state: "unknown";
1278
1279
  source: "unavailable";
1279
1280
  version: 1;
1280
1281
  reason: "unregistered" | "unconfirmed" | "unsupported";
1281
- state: "unknown";
1282
1282
  observedAt: string;
1283
1283
  } | {
1284
1284
  subject: {
@@ -1288,27 +1288,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1288
1288
  kind: "invocation";
1289
1289
  id: string;
1290
1290
  };
1291
- source: "platform";
1292
- version: 1;
1293
- scope: "owned_subtree";
1294
1291
  revision: number;
1295
1292
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1293
+ taskId: string;
1294
+ executionId: string;
1296
1295
  threadId: string;
1296
+ source: "platform";
1297
+ version: 1;
1298
+ scope: "owned_subtree";
1297
1299
  observedAt: string;
1298
1300
  desired: "running" | "paused" | "terminated";
1299
- taskId: string;
1300
1301
  rootId: string;
1301
- executionId: string;
1302
1302
  } | {
1303
1303
  subject: {
1304
1304
  kind: "invocation";
1305
1305
  id: string;
1306
1306
  };
1307
- outcome: "succeeded" | "failed" | "cancelled";
1307
+ state: "settled";
1308
1308
  source: "provider";
1309
1309
  version: 1;
1310
+ outcome: "failed" | "cancelled" | "succeeded";
1310
1311
  scope: "operation";
1311
- state: "settled";
1312
1312
  runId: string;
1313
1313
  observedAt: string;
1314
1314
  sessionId: string;
@@ -1328,24 +1328,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1328
1328
  kind: "invocation";
1329
1329
  id: string;
1330
1330
  };
1331
- outcome: "cancelled";
1331
+ state: "settled";
1332
+ executionId: string;
1332
1333
  source: "native_graph";
1333
1334
  version: 1;
1335
+ outcome: "cancelled";
1334
1336
  scope: "operation";
1335
- state: "settled";
1336
1337
  observedAt: string;
1337
- executionId: string;
1338
1338
  } | {
1339
1339
  subject: {
1340
1340
  kind: "invocation";
1341
1341
  id: string;
1342
1342
  };
1343
- outcome: "failed" | "cancelled";
1343
+ state: "settled";
1344
1344
  source: "host_admission";
1345
1345
  version: 1;
1346
+ outcome: "failed" | "cancelled";
1346
1347
  reason: "not_started";
1347
1348
  scope: "operation";
1348
- state: "settled";
1349
1349
  observedAt: string;
1350
1350
  } | undefined;
1351
1351
  }>, z.ZodObject<{
@@ -1384,10 +1384,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1384
1384
  kind: "invocation";
1385
1385
  id: string;
1386
1386
  };
1387
+ state: "unknown";
1387
1388
  source: "unavailable";
1388
1389
  version: 1;
1389
1390
  reason: "unregistered" | "unconfirmed" | "unsupported";
1390
- state: "unknown";
1391
1391
  observedAt: string;
1392
1392
  }, {
1393
1393
  subject: {
@@ -1397,10 +1397,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1397
1397
  kind: "invocation";
1398
1398
  id: string;
1399
1399
  };
1400
+ state: "unknown";
1400
1401
  source: "unavailable";
1401
1402
  version: 1;
1402
1403
  reason: "unregistered" | "unconfirmed" | "unsupported";
1403
- state: "unknown";
1404
1404
  observedAt: string;
1405
1405
  }>, z.ZodObject<{
1406
1406
  source: z.ZodLiteral<"platform">;
@@ -1441,17 +1441,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1441
1441
  kind: "invocation";
1442
1442
  id: string;
1443
1443
  };
1444
- source: "platform";
1445
- version: 1;
1446
- scope: "owned_subtree";
1447
1444
  revision: number;
1448
1445
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1446
+ taskId: string;
1447
+ executionId: string;
1449
1448
  threadId: string;
1449
+ source: "platform";
1450
+ version: 1;
1451
+ scope: "owned_subtree";
1450
1452
  observedAt: string;
1451
1453
  desired: "running" | "paused" | "terminated";
1452
- taskId: string;
1453
1454
  rootId: string;
1454
- executionId: string;
1455
1455
  }, {
1456
1456
  subject: {
1457
1457
  kind: "execution";
@@ -1460,17 +1460,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1460
1460
  kind: "invocation";
1461
1461
  id: string;
1462
1462
  };
1463
- source: "platform";
1464
- version: 1;
1465
- scope: "owned_subtree";
1466
1463
  revision: number;
1467
1464
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1465
+ taskId: string;
1466
+ executionId: string;
1468
1467
  threadId: string;
1468
+ source: "platform";
1469
+ version: 1;
1470
+ scope: "owned_subtree";
1469
1471
  observedAt: string;
1470
1472
  desired: "running" | "paused" | "terminated";
1471
- taskId: string;
1472
1473
  rootId: string;
1473
- executionId: string;
1474
1474
  }>, z.ZodObject<{
1475
1475
  source: z.ZodLiteral<"provider">;
1476
1476
  subject: z.ZodObject<{
@@ -1524,11 +1524,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1524
1524
  kind: "invocation";
1525
1525
  id: string;
1526
1526
  };
1527
- outcome: "succeeded" | "failed" | "cancelled";
1527
+ state: "settled";
1528
1528
  source: "provider";
1529
1529
  version: 1;
1530
+ outcome: "failed" | "cancelled" | "succeeded";
1530
1531
  scope: "operation";
1531
- state: "settled";
1532
1532
  runId: string;
1533
1533
  observedAt: string;
1534
1534
  sessionId: string;
@@ -1548,11 +1548,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1548
1548
  kind: "invocation";
1549
1549
  id: string;
1550
1550
  };
1551
- outcome: "succeeded" | "failed" | "cancelled";
1551
+ state: "settled";
1552
1552
  source: "provider";
1553
1553
  version: 1;
1554
+ outcome: "failed" | "cancelled" | "succeeded";
1554
1555
  scope: "operation";
1555
- state: "settled";
1556
1556
  runId: string;
1557
1557
  observedAt: string;
1558
1558
  sessionId: string;
@@ -1590,25 +1590,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1590
1590
  kind: "invocation";
1591
1591
  id: string;
1592
1592
  };
1593
- outcome: "cancelled";
1593
+ state: "settled";
1594
+ executionId: string;
1594
1595
  source: "native_graph";
1595
1596
  version: 1;
1597
+ outcome: "cancelled";
1596
1598
  scope: "operation";
1597
- state: "settled";
1598
1599
  observedAt: string;
1599
- executionId: string;
1600
1600
  }, {
1601
1601
  subject: {
1602
1602
  kind: "invocation";
1603
1603
  id: string;
1604
1604
  };
1605
- outcome: "cancelled";
1605
+ state: "settled";
1606
+ executionId: string;
1606
1607
  source: "native_graph";
1607
1608
  version: 1;
1609
+ outcome: "cancelled";
1608
1610
  scope: "operation";
1609
- state: "settled";
1610
1611
  observedAt: string;
1611
- executionId: string;
1612
1612
  }>, z.ZodObject<{
1613
1613
  source: z.ZodLiteral<"host_admission">;
1614
1614
  subject: z.ZodObject<{
@@ -1632,24 +1632,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1632
1632
  kind: "invocation";
1633
1633
  id: string;
1634
1634
  };
1635
- outcome: "failed" | "cancelled";
1635
+ state: "settled";
1636
1636
  source: "host_admission";
1637
1637
  version: 1;
1638
+ outcome: "failed" | "cancelled";
1638
1639
  reason: "not_started";
1639
1640
  scope: "operation";
1640
- state: "settled";
1641
1641
  observedAt: string;
1642
1642
  }, {
1643
1643
  subject: {
1644
1644
  kind: "invocation";
1645
1645
  id: string;
1646
1646
  };
1647
- outcome: "failed" | "cancelled";
1647
+ state: "settled";
1648
1648
  source: "host_admission";
1649
1649
  version: 1;
1650
+ outcome: "failed" | "cancelled";
1650
1651
  reason: "not_started";
1651
1652
  scope: "operation";
1652
- state: "settled";
1653
1653
  observedAt: string;
1654
1654
  }>]>>;
1655
1655
  receiptKey: z.ZodString;
@@ -1661,19 +1661,19 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1661
1661
  publishedVersion: z.ZodString;
1662
1662
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
1663
1663
  }, "strict", z.ZodTypeAny, {
1664
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1665
1664
  kind: "assistant_task";
1666
- xpertId: string;
1665
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1666
+ executionId: string;
1667
1667
  conversationId: string;
1668
+ xpertId: string;
1668
1669
  publishedVersion: string;
1669
- executionId: string;
1670
1670
  }, {
1671
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1672
1671
  kind: "assistant_task";
1673
- xpertId: string;
1672
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1673
+ executionId: string;
1674
1674
  conversationId: string;
1675
+ xpertId: string;
1675
1676
  publishedVersion: string;
1676
- executionId: string;
1677
1677
  }>, z.ZodObject<{
1678
1678
  kind: z.ZodLiteral<"runtime_invocation">;
1679
1679
  invocationId: z.ZodString;
@@ -1682,17 +1682,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1682
1682
  revision: z.ZodString;
1683
1683
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
1684
1684
  }, "strict", z.ZodTypeAny, {
1685
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1686
1685
  kind: "runtime_invocation";
1687
- provider: string;
1686
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1688
1687
  revision: string;
1688
+ provider: string;
1689
1689
  bindingId: string;
1690
1690
  invocationId: string;
1691
1691
  }, {
1692
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1693
1692
  kind: "runtime_invocation";
1694
- provider: string;
1693
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1695
1694
  revision: string;
1695
+ provider: string;
1696
1696
  bindingId: string;
1697
1697
  invocationId: string;
1698
1698
  }>]>>;
@@ -1701,17 +1701,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1701
1701
  status: "failed";
1702
1702
  receiptKey: string;
1703
1703
  execution?: {
1704
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1705
1704
  kind: "assistant_task";
1706
- xpertId: string;
1705
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1706
+ executionId: string;
1707
1707
  conversationId: string;
1708
+ xpertId: string;
1708
1709
  publishedVersion: string;
1709
- executionId: string;
1710
1710
  } | {
1711
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1712
1711
  kind: "runtime_invocation";
1713
- provider: string;
1712
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1714
1713
  revision: string;
1714
+ provider: string;
1715
1715
  bindingId: string;
1716
1716
  invocationId: string;
1717
1717
  } | undefined;
@@ -1723,10 +1723,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1723
1723
  kind: "invocation";
1724
1724
  id: string;
1725
1725
  };
1726
+ state: "unknown";
1726
1727
  source: "unavailable";
1727
1728
  version: 1;
1728
1729
  reason: "unregistered" | "unconfirmed" | "unsupported";
1729
- state: "unknown";
1730
1730
  observedAt: string;
1731
1731
  } | {
1732
1732
  subject: {
@@ -1736,27 +1736,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1736
1736
  kind: "invocation";
1737
1737
  id: string;
1738
1738
  };
1739
- source: "platform";
1740
- version: 1;
1741
- scope: "owned_subtree";
1742
1739
  revision: number;
1743
1740
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1741
+ taskId: string;
1742
+ executionId: string;
1744
1743
  threadId: string;
1744
+ source: "platform";
1745
+ version: 1;
1746
+ scope: "owned_subtree";
1745
1747
  observedAt: string;
1746
1748
  desired: "running" | "paused" | "terminated";
1747
- taskId: string;
1748
1749
  rootId: string;
1749
- executionId: string;
1750
1750
  } | {
1751
1751
  subject: {
1752
1752
  kind: "invocation";
1753
1753
  id: string;
1754
1754
  };
1755
- outcome: "succeeded" | "failed" | "cancelled";
1755
+ state: "settled";
1756
1756
  source: "provider";
1757
1757
  version: 1;
1758
+ outcome: "failed" | "cancelled" | "succeeded";
1758
1759
  scope: "operation";
1759
- state: "settled";
1760
1760
  runId: string;
1761
1761
  observedAt: string;
1762
1762
  sessionId: string;
@@ -1776,24 +1776,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1776
1776
  kind: "invocation";
1777
1777
  id: string;
1778
1778
  };
1779
- outcome: "cancelled";
1779
+ state: "settled";
1780
+ executionId: string;
1780
1781
  source: "native_graph";
1781
1782
  version: 1;
1783
+ outcome: "cancelled";
1782
1784
  scope: "operation";
1783
- state: "settled";
1784
1785
  observedAt: string;
1785
- executionId: string;
1786
1786
  } | {
1787
1787
  subject: {
1788
1788
  kind: "invocation";
1789
1789
  id: string;
1790
1790
  };
1791
- outcome: "failed" | "cancelled";
1791
+ state: "settled";
1792
1792
  source: "host_admission";
1793
1793
  version: 1;
1794
+ outcome: "failed" | "cancelled";
1794
1795
  reason: "not_started";
1795
1796
  scope: "operation";
1796
- state: "settled";
1797
1797
  observedAt: string;
1798
1798
  } | undefined;
1799
1799
  }, {
@@ -1801,17 +1801,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1801
1801
  status: "failed";
1802
1802
  receiptKey: string;
1803
1803
  execution?: {
1804
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
1805
1804
  kind: "assistant_task";
1806
- xpertId: string;
1805
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
1806
+ executionId: string;
1807
1807
  conversationId: string;
1808
+ xpertId: string;
1808
1809
  publishedVersion: string;
1809
- executionId: string;
1810
1810
  } | {
1811
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
1812
1811
  kind: "runtime_invocation";
1813
- provider: string;
1812
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
1814
1813
  revision: string;
1814
+ provider: string;
1815
1815
  bindingId: string;
1816
1816
  invocationId: string;
1817
1817
  } | undefined;
@@ -1823,10 +1823,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1823
1823
  kind: "invocation";
1824
1824
  id: string;
1825
1825
  };
1826
+ state: "unknown";
1826
1827
  source: "unavailable";
1827
1828
  version: 1;
1828
1829
  reason: "unregistered" | "unconfirmed" | "unsupported";
1829
- state: "unknown";
1830
1830
  observedAt: string;
1831
1831
  } | {
1832
1832
  subject: {
@@ -1836,27 +1836,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1836
1836
  kind: "invocation";
1837
1837
  id: string;
1838
1838
  };
1839
- source: "platform";
1840
- version: 1;
1841
- scope: "owned_subtree";
1842
1839
  revision: number;
1843
1840
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1841
+ taskId: string;
1842
+ executionId: string;
1844
1843
  threadId: string;
1844
+ source: "platform";
1845
+ version: 1;
1846
+ scope: "owned_subtree";
1845
1847
  observedAt: string;
1846
1848
  desired: "running" | "paused" | "terminated";
1847
- taskId: string;
1848
1849
  rootId: string;
1849
- executionId: string;
1850
1850
  } | {
1851
1851
  subject: {
1852
1852
  kind: "invocation";
1853
1853
  id: string;
1854
1854
  };
1855
- outcome: "succeeded" | "failed" | "cancelled";
1855
+ state: "settled";
1856
1856
  source: "provider";
1857
1857
  version: 1;
1858
+ outcome: "failed" | "cancelled" | "succeeded";
1858
1859
  scope: "operation";
1859
- state: "settled";
1860
1860
  runId: string;
1861
1861
  observedAt: string;
1862
1862
  sessionId: string;
@@ -1876,24 +1876,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1876
1876
  kind: "invocation";
1877
1877
  id: string;
1878
1878
  };
1879
- outcome: "cancelled";
1879
+ state: "settled";
1880
+ executionId: string;
1880
1881
  source: "native_graph";
1881
1882
  version: 1;
1883
+ outcome: "cancelled";
1882
1884
  scope: "operation";
1883
- state: "settled";
1884
1885
  observedAt: string;
1885
- executionId: string;
1886
1886
  } | {
1887
1887
  subject: {
1888
1888
  kind: "invocation";
1889
1889
  id: string;
1890
1890
  };
1891
- outcome: "failed" | "cancelled";
1891
+ state: "settled";
1892
1892
  source: "host_admission";
1893
1893
  version: 1;
1894
+ outcome: "failed" | "cancelled";
1894
1895
  reason: "not_started";
1895
1896
  scope: "operation";
1896
- state: "settled";
1897
1897
  observedAt: string;
1898
1898
  } | undefined;
1899
1899
  }>, z.ZodObject<{
@@ -1931,10 +1931,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1931
1931
  kind: "invocation";
1932
1932
  id: string;
1933
1933
  };
1934
+ state: "unknown";
1934
1935
  source: "unavailable";
1935
1936
  version: 1;
1936
1937
  reason: "unregistered" | "unconfirmed" | "unsupported";
1937
- state: "unknown";
1938
1938
  observedAt: string;
1939
1939
  }, {
1940
1940
  subject: {
@@ -1944,10 +1944,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1944
1944
  kind: "invocation";
1945
1945
  id: string;
1946
1946
  };
1947
+ state: "unknown";
1947
1948
  source: "unavailable";
1948
1949
  version: 1;
1949
1950
  reason: "unregistered" | "unconfirmed" | "unsupported";
1950
- state: "unknown";
1951
1951
  observedAt: string;
1952
1952
  }>, z.ZodObject<{
1953
1953
  source: z.ZodLiteral<"platform">;
@@ -1988,17 +1988,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1988
1988
  kind: "invocation";
1989
1989
  id: string;
1990
1990
  };
1991
- source: "platform";
1992
- version: 1;
1993
- scope: "owned_subtree";
1994
1991
  revision: number;
1995
1992
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1993
+ taskId: string;
1994
+ executionId: string;
1996
1995
  threadId: string;
1996
+ source: "platform";
1997
+ version: 1;
1998
+ scope: "owned_subtree";
1997
1999
  observedAt: string;
1998
2000
  desired: "running" | "paused" | "terminated";
1999
- taskId: string;
2000
2001
  rootId: string;
2001
- executionId: string;
2002
2002
  }, {
2003
2003
  subject: {
2004
2004
  kind: "execution";
@@ -2007,17 +2007,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2007
2007
  kind: "invocation";
2008
2008
  id: string;
2009
2009
  };
2010
- source: "platform";
2011
- version: 1;
2012
- scope: "owned_subtree";
2013
2010
  revision: number;
2014
2011
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2012
+ taskId: string;
2013
+ executionId: string;
2015
2014
  threadId: string;
2015
+ source: "platform";
2016
+ version: 1;
2017
+ scope: "owned_subtree";
2016
2018
  observedAt: string;
2017
2019
  desired: "running" | "paused" | "terminated";
2018
- taskId: string;
2019
2020
  rootId: string;
2020
- executionId: string;
2021
2021
  }>, z.ZodObject<{
2022
2022
  source: z.ZodLiteral<"provider">;
2023
2023
  subject: z.ZodObject<{
@@ -2071,11 +2071,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2071
2071
  kind: "invocation";
2072
2072
  id: string;
2073
2073
  };
2074
- outcome: "succeeded" | "failed" | "cancelled";
2074
+ state: "settled";
2075
2075
  source: "provider";
2076
2076
  version: 1;
2077
+ outcome: "failed" | "cancelled" | "succeeded";
2077
2078
  scope: "operation";
2078
- state: "settled";
2079
2079
  runId: string;
2080
2080
  observedAt: string;
2081
2081
  sessionId: string;
@@ -2095,11 +2095,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2095
2095
  kind: "invocation";
2096
2096
  id: string;
2097
2097
  };
2098
- outcome: "succeeded" | "failed" | "cancelled";
2098
+ state: "settled";
2099
2099
  source: "provider";
2100
2100
  version: 1;
2101
+ outcome: "failed" | "cancelled" | "succeeded";
2101
2102
  scope: "operation";
2102
- state: "settled";
2103
2103
  runId: string;
2104
2104
  observedAt: string;
2105
2105
  sessionId: string;
@@ -2137,25 +2137,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2137
2137
  kind: "invocation";
2138
2138
  id: string;
2139
2139
  };
2140
- outcome: "cancelled";
2140
+ state: "settled";
2141
+ executionId: string;
2141
2142
  source: "native_graph";
2142
2143
  version: 1;
2144
+ outcome: "cancelled";
2143
2145
  scope: "operation";
2144
- state: "settled";
2145
2146
  observedAt: string;
2146
- executionId: string;
2147
2147
  }, {
2148
2148
  subject: {
2149
2149
  kind: "invocation";
2150
2150
  id: string;
2151
2151
  };
2152
- outcome: "cancelled";
2152
+ state: "settled";
2153
+ executionId: string;
2153
2154
  source: "native_graph";
2154
2155
  version: 1;
2156
+ outcome: "cancelled";
2155
2157
  scope: "operation";
2156
- state: "settled";
2157
2158
  observedAt: string;
2158
- executionId: string;
2159
2159
  }>, z.ZodObject<{
2160
2160
  source: z.ZodLiteral<"host_admission">;
2161
2161
  subject: z.ZodObject<{
@@ -2179,24 +2179,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2179
2179
  kind: "invocation";
2180
2180
  id: string;
2181
2181
  };
2182
- outcome: "failed" | "cancelled";
2182
+ state: "settled";
2183
2183
  source: "host_admission";
2184
2184
  version: 1;
2185
+ outcome: "failed" | "cancelled";
2185
2186
  reason: "not_started";
2186
2187
  scope: "operation";
2187
- state: "settled";
2188
2188
  observedAt: string;
2189
2189
  }, {
2190
2190
  subject: {
2191
2191
  kind: "invocation";
2192
2192
  id: string;
2193
2193
  };
2194
- outcome: "failed" | "cancelled";
2194
+ state: "settled";
2195
2195
  source: "host_admission";
2196
2196
  version: 1;
2197
+ outcome: "failed" | "cancelled";
2197
2198
  reason: "not_started";
2198
2199
  scope: "operation";
2199
- state: "settled";
2200
2200
  observedAt: string;
2201
2201
  }>]>>;
2202
2202
  receiptKey: z.ZodString;
@@ -2208,19 +2208,19 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2208
2208
  publishedVersion: z.ZodString;
2209
2209
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
2210
2210
  }, "strict", z.ZodTypeAny, {
2211
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2212
2211
  kind: "assistant_task";
2213
- xpertId: string;
2212
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2213
+ executionId: string;
2214
2214
  conversationId: string;
2215
+ xpertId: string;
2215
2216
  publishedVersion: string;
2216
- executionId: string;
2217
2217
  }, {
2218
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2219
2218
  kind: "assistant_task";
2220
- xpertId: string;
2219
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2220
+ executionId: string;
2221
2221
  conversationId: string;
2222
+ xpertId: string;
2222
2223
  publishedVersion: string;
2223
- executionId: string;
2224
2224
  }>, z.ZodObject<{
2225
2225
  kind: z.ZodLiteral<"runtime_invocation">;
2226
2226
  invocationId: z.ZodString;
@@ -2229,17 +2229,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2229
2229
  revision: z.ZodString;
2230
2230
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
2231
2231
  }, "strict", z.ZodTypeAny, {
2232
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2233
2232
  kind: "runtime_invocation";
2234
- provider: string;
2233
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2235
2234
  revision: string;
2235
+ provider: string;
2236
2236
  bindingId: string;
2237
2237
  invocationId: string;
2238
2238
  }, {
2239
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2240
2239
  kind: "runtime_invocation";
2241
- provider: string;
2240
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2242
2241
  revision: string;
2242
+ provider: string;
2243
2243
  bindingId: string;
2244
2244
  invocationId: string;
2245
2245
  }>]>>;
@@ -2247,17 +2247,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2247
2247
  status: "cancelled";
2248
2248
  receiptKey: string;
2249
2249
  execution?: {
2250
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2251
2250
  kind: "assistant_task";
2252
- xpertId: string;
2251
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2252
+ executionId: string;
2253
2253
  conversationId: string;
2254
+ xpertId: string;
2254
2255
  publishedVersion: string;
2255
- executionId: string;
2256
2256
  } | {
2257
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2258
2257
  kind: "runtime_invocation";
2259
- provider: string;
2258
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2260
2259
  revision: string;
2260
+ provider: string;
2261
2261
  bindingId: string;
2262
2262
  invocationId: string;
2263
2263
  } | undefined;
@@ -2269,10 +2269,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2269
2269
  kind: "invocation";
2270
2270
  id: string;
2271
2271
  };
2272
+ state: "unknown";
2272
2273
  source: "unavailable";
2273
2274
  version: 1;
2274
2275
  reason: "unregistered" | "unconfirmed" | "unsupported";
2275
- state: "unknown";
2276
2276
  observedAt: string;
2277
2277
  } | {
2278
2278
  subject: {
@@ -2282,27 +2282,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2282
2282
  kind: "invocation";
2283
2283
  id: string;
2284
2284
  };
2285
- source: "platform";
2286
- version: 1;
2287
- scope: "owned_subtree";
2288
2285
  revision: number;
2289
2286
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2287
+ taskId: string;
2288
+ executionId: string;
2290
2289
  threadId: string;
2290
+ source: "platform";
2291
+ version: 1;
2292
+ scope: "owned_subtree";
2291
2293
  observedAt: string;
2292
2294
  desired: "running" | "paused" | "terminated";
2293
- taskId: string;
2294
2295
  rootId: string;
2295
- executionId: string;
2296
2296
  } | {
2297
2297
  subject: {
2298
2298
  kind: "invocation";
2299
2299
  id: string;
2300
2300
  };
2301
- outcome: "succeeded" | "failed" | "cancelled";
2301
+ state: "settled";
2302
2302
  source: "provider";
2303
2303
  version: 1;
2304
+ outcome: "failed" | "cancelled" | "succeeded";
2304
2305
  scope: "operation";
2305
- state: "settled";
2306
2306
  runId: string;
2307
2307
  observedAt: string;
2308
2308
  sessionId: string;
@@ -2322,41 +2322,41 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2322
2322
  kind: "invocation";
2323
2323
  id: string;
2324
2324
  };
2325
- outcome: "cancelled";
2325
+ state: "settled";
2326
+ executionId: string;
2326
2327
  source: "native_graph";
2327
2328
  version: 1;
2329
+ outcome: "cancelled";
2328
2330
  scope: "operation";
2329
- state: "settled";
2330
2331
  observedAt: string;
2331
- executionId: string;
2332
2332
  } | {
2333
2333
  subject: {
2334
2334
  kind: "invocation";
2335
2335
  id: string;
2336
2336
  };
2337
- outcome: "failed" | "cancelled";
2337
+ state: "settled";
2338
2338
  source: "host_admission";
2339
2339
  version: 1;
2340
+ outcome: "failed" | "cancelled";
2340
2341
  reason: "not_started";
2341
2342
  scope: "operation";
2342
- state: "settled";
2343
2343
  observedAt: string;
2344
2344
  } | undefined;
2345
2345
  }, {
2346
2346
  status: "cancelled";
2347
2347
  receiptKey: string;
2348
2348
  execution?: {
2349
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2350
2349
  kind: "assistant_task";
2351
- xpertId: string;
2350
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2351
+ executionId: string;
2352
2352
  conversationId: string;
2353
+ xpertId: string;
2353
2354
  publishedVersion: string;
2354
- executionId: string;
2355
2355
  } | {
2356
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2357
2356
  kind: "runtime_invocation";
2358
- provider: string;
2357
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2359
2358
  revision: string;
2359
+ provider: string;
2360
2360
  bindingId: string;
2361
2361
  invocationId: string;
2362
2362
  } | undefined;
@@ -2368,10 +2368,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2368
2368
  kind: "invocation";
2369
2369
  id: string;
2370
2370
  };
2371
+ state: "unknown";
2371
2372
  source: "unavailable";
2372
2373
  version: 1;
2373
2374
  reason: "unregistered" | "unconfirmed" | "unsupported";
2374
- state: "unknown";
2375
2375
  observedAt: string;
2376
2376
  } | {
2377
2377
  subject: {
@@ -2381,27 +2381,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2381
2381
  kind: "invocation";
2382
2382
  id: string;
2383
2383
  };
2384
- source: "platform";
2385
- version: 1;
2386
- scope: "owned_subtree";
2387
2384
  revision: number;
2388
2385
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2386
+ taskId: string;
2387
+ executionId: string;
2389
2388
  threadId: string;
2389
+ source: "platform";
2390
+ version: 1;
2391
+ scope: "owned_subtree";
2390
2392
  observedAt: string;
2391
2393
  desired: "running" | "paused" | "terminated";
2392
- taskId: string;
2393
2394
  rootId: string;
2394
- executionId: string;
2395
2395
  } | {
2396
2396
  subject: {
2397
2397
  kind: "invocation";
2398
2398
  id: string;
2399
2399
  };
2400
- outcome: "succeeded" | "failed" | "cancelled";
2400
+ state: "settled";
2401
2401
  source: "provider";
2402
2402
  version: 1;
2403
+ outcome: "failed" | "cancelled" | "succeeded";
2403
2404
  scope: "operation";
2404
- state: "settled";
2405
2405
  runId: string;
2406
2406
  observedAt: string;
2407
2407
  sessionId: string;
@@ -2421,24 +2421,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2421
2421
  kind: "invocation";
2422
2422
  id: string;
2423
2423
  };
2424
- outcome: "cancelled";
2424
+ state: "settled";
2425
+ executionId: string;
2425
2426
  source: "native_graph";
2426
2427
  version: 1;
2428
+ outcome: "cancelled";
2427
2429
  scope: "operation";
2428
- state: "settled";
2429
2430
  observedAt: string;
2430
- executionId: string;
2431
2431
  } | {
2432
2432
  subject: {
2433
2433
  kind: "invocation";
2434
2434
  id: string;
2435
2435
  };
2436
- outcome: "failed" | "cancelled";
2436
+ state: "settled";
2437
2437
  source: "host_admission";
2438
2438
  version: 1;
2439
+ outcome: "failed" | "cancelled";
2439
2440
  reason: "not_started";
2440
2441
  scope: "operation";
2441
- state: "settled";
2442
2442
  observedAt: string;
2443
2443
  } | undefined;
2444
2444
  }>, z.ZodObject<{
@@ -2475,10 +2475,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2475
2475
  kind: "invocation";
2476
2476
  id: string;
2477
2477
  };
2478
+ state: "unknown";
2478
2479
  source: "unavailable";
2479
2480
  version: 1;
2480
2481
  reason: "unregistered" | "unconfirmed" | "unsupported";
2481
- state: "unknown";
2482
2482
  observedAt: string;
2483
2483
  }, {
2484
2484
  subject: {
@@ -2488,10 +2488,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2488
2488
  kind: "invocation";
2489
2489
  id: string;
2490
2490
  };
2491
+ state: "unknown";
2491
2492
  source: "unavailable";
2492
2493
  version: 1;
2493
2494
  reason: "unregistered" | "unconfirmed" | "unsupported";
2494
- state: "unknown";
2495
2495
  observedAt: string;
2496
2496
  }>, z.ZodObject<{
2497
2497
  source: z.ZodLiteral<"platform">;
@@ -2532,17 +2532,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2532
2532
  kind: "invocation";
2533
2533
  id: string;
2534
2534
  };
2535
- source: "platform";
2536
- version: 1;
2537
- scope: "owned_subtree";
2538
2535
  revision: number;
2539
2536
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2537
+ taskId: string;
2538
+ executionId: string;
2540
2539
  threadId: string;
2540
+ source: "platform";
2541
+ version: 1;
2542
+ scope: "owned_subtree";
2541
2543
  observedAt: string;
2542
2544
  desired: "running" | "paused" | "terminated";
2543
- taskId: string;
2544
2545
  rootId: string;
2545
- executionId: string;
2546
2546
  }, {
2547
2547
  subject: {
2548
2548
  kind: "execution";
@@ -2551,17 +2551,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2551
2551
  kind: "invocation";
2552
2552
  id: string;
2553
2553
  };
2554
- source: "platform";
2555
- version: 1;
2556
- scope: "owned_subtree";
2557
2554
  revision: number;
2558
2555
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2556
+ taskId: string;
2557
+ executionId: string;
2559
2558
  threadId: string;
2559
+ source: "platform";
2560
+ version: 1;
2561
+ scope: "owned_subtree";
2560
2562
  observedAt: string;
2561
2563
  desired: "running" | "paused" | "terminated";
2562
- taskId: string;
2563
2564
  rootId: string;
2564
- executionId: string;
2565
2565
  }>, z.ZodObject<{
2566
2566
  source: z.ZodLiteral<"provider">;
2567
2567
  subject: z.ZodObject<{
@@ -2615,11 +2615,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2615
2615
  kind: "invocation";
2616
2616
  id: string;
2617
2617
  };
2618
- outcome: "succeeded" | "failed" | "cancelled";
2618
+ state: "settled";
2619
2619
  source: "provider";
2620
2620
  version: 1;
2621
+ outcome: "failed" | "cancelled" | "succeeded";
2621
2622
  scope: "operation";
2622
- state: "settled";
2623
2623
  runId: string;
2624
2624
  observedAt: string;
2625
2625
  sessionId: string;
@@ -2639,11 +2639,11 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2639
2639
  kind: "invocation";
2640
2640
  id: string;
2641
2641
  };
2642
- outcome: "succeeded" | "failed" | "cancelled";
2642
+ state: "settled";
2643
2643
  source: "provider";
2644
2644
  version: 1;
2645
+ outcome: "failed" | "cancelled" | "succeeded";
2645
2646
  scope: "operation";
2646
- state: "settled";
2647
2647
  runId: string;
2648
2648
  observedAt: string;
2649
2649
  sessionId: string;
@@ -2681,25 +2681,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2681
2681
  kind: "invocation";
2682
2682
  id: string;
2683
2683
  };
2684
- outcome: "cancelled";
2684
+ state: "settled";
2685
+ executionId: string;
2685
2686
  source: "native_graph";
2686
2687
  version: 1;
2688
+ outcome: "cancelled";
2687
2689
  scope: "operation";
2688
- state: "settled";
2689
2690
  observedAt: string;
2690
- executionId: string;
2691
2691
  }, {
2692
2692
  subject: {
2693
2693
  kind: "invocation";
2694
2694
  id: string;
2695
2695
  };
2696
- outcome: "cancelled";
2696
+ state: "settled";
2697
+ executionId: string;
2697
2698
  source: "native_graph";
2698
2699
  version: 1;
2700
+ outcome: "cancelled";
2699
2701
  scope: "operation";
2700
- state: "settled";
2701
2702
  observedAt: string;
2702
- executionId: string;
2703
2703
  }>, z.ZodObject<{
2704
2704
  source: z.ZodLiteral<"host_admission">;
2705
2705
  subject: z.ZodObject<{
@@ -2723,24 +2723,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2723
2723
  kind: "invocation";
2724
2724
  id: string;
2725
2725
  };
2726
- outcome: "failed" | "cancelled";
2726
+ state: "settled";
2727
2727
  source: "host_admission";
2728
2728
  version: 1;
2729
+ outcome: "failed" | "cancelled";
2729
2730
  reason: "not_started";
2730
2731
  scope: "operation";
2731
- state: "settled";
2732
2732
  observedAt: string;
2733
2733
  }, {
2734
2734
  subject: {
2735
2735
  kind: "invocation";
2736
2736
  id: string;
2737
2737
  };
2738
- outcome: "failed" | "cancelled";
2738
+ state: "settled";
2739
2739
  source: "host_admission";
2740
2740
  version: 1;
2741
+ outcome: "failed" | "cancelled";
2741
2742
  reason: "not_started";
2742
2743
  scope: "operation";
2743
- state: "settled";
2744
2744
  observedAt: string;
2745
2745
  }>]>>;
2746
2746
  receiptKey: z.ZodOptional<z.ZodString>;
@@ -2752,19 +2752,19 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2752
2752
  publishedVersion: z.ZodString;
2753
2753
  status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
2754
2754
  }, "strict", z.ZodTypeAny, {
2755
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2756
2755
  kind: "assistant_task";
2757
- xpertId: string;
2756
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2757
+ executionId: string;
2758
2758
  conversationId: string;
2759
+ xpertId: string;
2759
2760
  publishedVersion: string;
2760
- executionId: string;
2761
2761
  }, {
2762
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2763
2762
  kind: "assistant_task";
2764
- xpertId: string;
2763
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2764
+ executionId: string;
2765
2765
  conversationId: string;
2766
+ xpertId: string;
2766
2767
  publishedVersion: string;
2767
- executionId: string;
2768
2768
  }>, z.ZodObject<{
2769
2769
  kind: z.ZodLiteral<"runtime_invocation">;
2770
2770
  invocationId: z.ZodString;
@@ -2773,17 +2773,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2773
2773
  revision: z.ZodString;
2774
2774
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
2775
2775
  }, "strict", z.ZodTypeAny, {
2776
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2777
2776
  kind: "runtime_invocation";
2778
- provider: string;
2777
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2779
2778
  revision: string;
2779
+ provider: string;
2780
2780
  bindingId: string;
2781
2781
  invocationId: string;
2782
2782
  }, {
2783
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2784
2783
  kind: "runtime_invocation";
2785
- provider: string;
2784
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2786
2785
  revision: string;
2786
+ provider: string;
2787
2787
  bindingId: string;
2788
2788
  invocationId: string;
2789
2789
  }>]>>;
@@ -2791,17 +2791,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2791
2791
  }, "strict", z.ZodTypeAny, {
2792
2792
  status: "unknown";
2793
2793
  execution?: {
2794
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2795
2794
  kind: "assistant_task";
2796
- xpertId: string;
2795
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2796
+ executionId: string;
2797
2797
  conversationId: string;
2798
+ xpertId: string;
2798
2799
  publishedVersion: string;
2799
- executionId: string;
2800
2800
  } | {
2801
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2802
2801
  kind: "runtime_invocation";
2803
- provider: string;
2802
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2804
2803
  revision: string;
2804
+ provider: string;
2805
2805
  bindingId: string;
2806
2806
  invocationId: string;
2807
2807
  } | undefined;
@@ -2814,10 +2814,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2814
2814
  kind: "invocation";
2815
2815
  id: string;
2816
2816
  };
2817
+ state: "unknown";
2817
2818
  source: "unavailable";
2818
2819
  version: 1;
2819
2820
  reason: "unregistered" | "unconfirmed" | "unsupported";
2820
- state: "unknown";
2821
2821
  observedAt: string;
2822
2822
  } | {
2823
2823
  subject: {
@@ -2827,27 +2827,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2827
2827
  kind: "invocation";
2828
2828
  id: string;
2829
2829
  };
2830
- source: "platform";
2831
- version: 1;
2832
- scope: "owned_subtree";
2833
2830
  revision: number;
2834
2831
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2832
+ taskId: string;
2833
+ executionId: string;
2835
2834
  threadId: string;
2835
+ source: "platform";
2836
+ version: 1;
2837
+ scope: "owned_subtree";
2836
2838
  observedAt: string;
2837
2839
  desired: "running" | "paused" | "terminated";
2838
- taskId: string;
2839
2840
  rootId: string;
2840
- executionId: string;
2841
2841
  } | {
2842
2842
  subject: {
2843
2843
  kind: "invocation";
2844
2844
  id: string;
2845
2845
  };
2846
- outcome: "succeeded" | "failed" | "cancelled";
2846
+ state: "settled";
2847
2847
  source: "provider";
2848
2848
  version: 1;
2849
+ outcome: "failed" | "cancelled" | "succeeded";
2849
2850
  scope: "operation";
2850
- state: "settled";
2851
2851
  runId: string;
2852
2852
  observedAt: string;
2853
2853
  sessionId: string;
@@ -2867,40 +2867,40 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2867
2867
  kind: "invocation";
2868
2868
  id: string;
2869
2869
  };
2870
- outcome: "cancelled";
2870
+ state: "settled";
2871
+ executionId: string;
2871
2872
  source: "native_graph";
2872
2873
  version: 1;
2874
+ outcome: "cancelled";
2873
2875
  scope: "operation";
2874
- state: "settled";
2875
2876
  observedAt: string;
2876
- executionId: string;
2877
2877
  } | {
2878
2878
  subject: {
2879
2879
  kind: "invocation";
2880
2880
  id: string;
2881
2881
  };
2882
- outcome: "failed" | "cancelled";
2882
+ state: "settled";
2883
2883
  source: "host_admission";
2884
2884
  version: 1;
2885
+ outcome: "failed" | "cancelled";
2885
2886
  reason: "not_started";
2886
2887
  scope: "operation";
2887
- state: "settled";
2888
2888
  observedAt: string;
2889
2889
  } | undefined;
2890
2890
  }, {
2891
2891
  status: "unknown";
2892
2892
  execution?: {
2893
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
2894
2893
  kind: "assistant_task";
2895
- xpertId: string;
2894
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
2895
+ executionId: string;
2896
2896
  conversationId: string;
2897
+ xpertId: string;
2897
2898
  publishedVersion: string;
2898
- executionId: string;
2899
2899
  } | {
2900
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
2901
2900
  kind: "runtime_invocation";
2902
- provider: string;
2901
+ status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued";
2903
2902
  revision: string;
2903
+ provider: string;
2904
2904
  bindingId: string;
2905
2905
  invocationId: string;
2906
2906
  } | undefined;
@@ -2913,10 +2913,10 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2913
2913
  kind: "invocation";
2914
2914
  id: string;
2915
2915
  };
2916
+ state: "unknown";
2916
2917
  source: "unavailable";
2917
2918
  version: 1;
2918
2919
  reason: "unregistered" | "unconfirmed" | "unsupported";
2919
- state: "unknown";
2920
2920
  observedAt: string;
2921
2921
  } | {
2922
2922
  subject: {
@@ -2926,27 +2926,27 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2926
2926
  kind: "invocation";
2927
2927
  id: string;
2928
2928
  };
2929
- source: "platform";
2930
- version: 1;
2931
- scope: "owned_subtree";
2932
2929
  revision: number;
2933
2930
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2931
+ taskId: string;
2932
+ executionId: string;
2934
2933
  threadId: string;
2934
+ source: "platform";
2935
+ version: 1;
2936
+ scope: "owned_subtree";
2935
2937
  observedAt: string;
2936
2938
  desired: "running" | "paused" | "terminated";
2937
- taskId: string;
2938
2939
  rootId: string;
2939
- executionId: string;
2940
2940
  } | {
2941
2941
  subject: {
2942
2942
  kind: "invocation";
2943
2943
  id: string;
2944
2944
  };
2945
- outcome: "succeeded" | "failed" | "cancelled";
2945
+ state: "settled";
2946
2946
  source: "provider";
2947
2947
  version: 1;
2948
+ outcome: "failed" | "cancelled" | "succeeded";
2948
2949
  scope: "operation";
2949
- state: "settled";
2950
2950
  runId: string;
2951
2951
  observedAt: string;
2952
2952
  sessionId: string;
@@ -2966,24 +2966,24 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2966
2966
  kind: "invocation";
2967
2967
  id: string;
2968
2968
  };
2969
- outcome: "cancelled";
2969
+ state: "settled";
2970
+ executionId: string;
2970
2971
  source: "native_graph";
2971
2972
  version: 1;
2973
+ outcome: "cancelled";
2972
2974
  scope: "operation";
2973
- state: "settled";
2974
2975
  observedAt: string;
2975
- executionId: string;
2976
2976
  } | {
2977
2977
  subject: {
2978
2978
  kind: "invocation";
2979
2979
  id: string;
2980
2980
  };
2981
- outcome: "failed" | "cancelled";
2981
+ state: "settled";
2982
2982
  source: "host_admission";
2983
2983
  version: 1;
2984
+ outcome: "failed" | "cancelled";
2984
2985
  reason: "not_started";
2985
2986
  scope: "operation";
2986
- state: "settled";
2987
2987
  observedAt: string;
2988
2988
  } | undefined;
2989
2989
  }>]>;