@xpert-ai/contracts 3.35.0 → 3.36.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 (97) 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 +291 -299
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +280 -296
  10. package/package.json +18 -2
  11. package/src/agent-event.model.d.ts +88 -0
  12. package/src/agent-event.schema.d.ts +120 -0
  13. package/src/agent-plugin.d.ts +4 -29
  14. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  15. package/src/ai/agent-runtime.model.d.ts +4 -4
  16. package/src/ai/assistant-capability.model.d.ts +0 -1
  17. package/src/ai/assistant-template-manifest.model.d.ts +316 -352
  18. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  19. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  20. package/src/ai/assistant-template.model.d.ts +0 -4
  21. package/src/ai/bosi.model.d.ts +1 -1
  22. package/src/ai/chat-activity.model.d.ts +8 -0
  23. package/src/ai/chat-message.model.d.ts +0 -11
  24. package/src/ai/chat.model.d.ts +1 -0
  25. package/src/ai/cli-execution.model.d.ts +88 -0
  26. package/src/ai/conversation-trail.model.d.ts +274 -274
  27. package/src/ai/copilot-store.model.d.ts +0 -13
  28. package/src/ai/evolution/entities.d.ts +164 -0
  29. package/src/ai/evolution/evaluation.d.ts +7 -0
  30. package/src/ai/evolution/execution-review.d.ts +68 -0
  31. package/src/ai/evolution/index.d.ts +2 -0
  32. package/src/ai/evolution/provider.d.ts +1 -0
  33. package/src/ai/evolution/target.d.ts +5 -0
  34. package/src/ai/execution-activity.model.d.ts +362 -362
  35. package/src/ai/execution-control-evidence.schema.d.ts +18 -18
  36. package/src/ai/execution-observability.model.d.ts +196 -196
  37. package/src/ai/execution-source.model.d.ts +45 -0
  38. package/src/ai/index.d.ts +2 -0
  39. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  40. package/src/ai/middleware.model.d.ts +1 -0
  41. package/src/ai/model-execution.model.d.ts +5 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +1 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/commands.schema.d.ts +533 -490
  46. package/src/ai/project-pipeline/configuration-form.d.ts +1976 -1832
  47. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  48. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  49. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  50. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  51. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  52. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  53. package/src/ai/project-pipeline/model-usage-statistics.d.ts +4 -4
  54. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  55. package/src/ai/project-pipeline/operation.schema.d.ts +298 -298
  56. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  57. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  58. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  59. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  60. package/src/ai/project-pipeline/provider-actions.schema.d.ts +100 -100
  61. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  62. package/src/ai/project-pipeline/runtime.schema.d.ts +60 -60
  63. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  64. package/src/ai/project-task-runtime.model.d.ts +256 -780
  65. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  66. package/src/ai/template-installation.model.d.ts +18 -18
  67. package/src/ai/template-lifecycle.model.d.ts +6 -6
  68. package/src/ai/thread-control-view.schema.d.ts +4 -4
  69. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  70. package/src/ai/xpert-project.model.d.ts +2 -1
  71. package/src/ai/xpert.model.d.ts +0 -34
  72. package/src/ai/xpert.utils.d.ts +0 -1
  73. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  74. package/src/analytics/analytics-certification.model.d.ts +17 -0
  75. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  76. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  77. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  78. package/src/analytics/index.d.ts +7 -0
  79. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  80. package/src/app-platform.d.ts +16 -16
  81. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  82. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  83. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  84. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  85. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  86. package/src/artifacts/index.d.ts +5 -0
  87. package/src/collaboration.model.d.ts +31 -11
  88. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  89. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  90. package/src/content/content-transfer.model.d.ts +21 -0
  91. package/src/content/index.d.ts +4 -0
  92. package/src/execution-control-admission.schema.d.ts +2 -2
  93. package/src/index.d.ts +5 -14
  94. package/src/user-notification.schema.d.ts +46 -28
  95. package/src/view-extension/client-commands.d.ts +24 -0
  96. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  97. /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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
204
203
  revision: string;
204
+ provider: string;
205
205
  bindingId: string;
206
206
  invocationId: string;
207
207
  }>;
@@ -240,8 +240,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
240
240
  kind: "invocation";
241
241
  id: string;
242
242
  };
243
- source: "unavailable";
244
243
  version: 1;
244
+ source: "unavailable";
245
245
  reason: "unregistered" | "unconfirmed" | "unsupported";
246
246
  state: "unknown";
247
247
  observedAt: string;
@@ -253,8 +253,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
253
253
  kind: "invocation";
254
254
  id: string;
255
255
  };
256
- source: "unavailable";
257
256
  version: 1;
257
+ source: "unavailable";
258
258
  reason: "unregistered" | "unconfirmed" | "unsupported";
259
259
  state: "unknown";
260
260
  observedAt: string;
@@ -297,17 +297,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
297
297
  kind: "invocation";
298
298
  id: string;
299
299
  };
300
- source: "platform";
300
+ revision: number;
301
+ threadId: string;
302
+ executionId: string;
301
303
  version: 1;
304
+ source: "platform";
302
305
  scope: "owned_subtree";
303
- revision: number;
304
306
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
305
- threadId: string;
306
307
  observedAt: string;
307
308
  desired: "running" | "paused" | "terminated";
308
309
  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";
319
+ revision: number;
320
+ threadId: string;
321
+ executionId: string;
320
322
  version: 1;
323
+ source: "platform";
321
324
  scope: "owned_subtree";
322
- revision: number;
323
325
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
324
- threadId: string;
325
326
  observedAt: string;
326
327
  desired: "running" | "paused" | "terminated";
327
328
  taskId: string;
328
329
  rootId: string;
329
- executionId: string;
330
330
  }>, z.ZodObject<{
331
331
  source: z.ZodLiteral<"provider">;
332
332
  subject: z.ZodObject<{
@@ -381,8 +381,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
381
381
  id: string;
382
382
  };
383
383
  outcome: "succeeded" | "failed" | "cancelled";
384
- source: "provider";
385
384
  version: 1;
385
+ source: "provider";
386
386
  scope: "operation";
387
387
  state: "settled";
388
388
  runId: string;
@@ -405,8 +405,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
405
405
  id: string;
406
406
  };
407
407
  outcome: "succeeded" | "failed" | "cancelled";
408
- source: "provider";
409
408
  version: 1;
409
+ source: "provider";
410
410
  scope: "operation";
411
411
  state: "settled";
412
412
  runId: string;
@@ -446,25 +446,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
446
446
  kind: "invocation";
447
447
  id: string;
448
448
  };
449
+ executionId: string;
449
450
  outcome: "cancelled";
450
- source: "native_graph";
451
451
  version: 1;
452
+ source: "native_graph";
452
453
  scope: "operation";
453
454
  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
+ executionId: string;
461
462
  outcome: "cancelled";
462
- source: "native_graph";
463
463
  version: 1;
464
+ source: "native_graph";
464
465
  scope: "operation";
465
466
  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<{
@@ -489,8 +489,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
489
489
  id: string;
490
490
  };
491
491
  outcome: "failed" | "cancelled";
492
- source: "host_admission";
493
492
  version: 1;
493
+ source: "host_admission";
494
494
  reason: "not_started";
495
495
  scope: "operation";
496
496
  state: "settled";
@@ -501,8 +501,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
501
501
  id: string;
502
502
  };
503
503
  outcome: "failed" | "cancelled";
504
- source: "host_admission";
505
504
  version: 1;
505
+ source: "host_admission";
506
506
  reason: "not_started";
507
507
  scope: "operation";
508
508
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
569
568
  revision: string;
569
+ provider: string;
570
570
  bindingId: string;
571
571
  invocationId: string;
572
572
  } | undefined;
@@ -578,8 +578,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
578
578
  kind: "invocation";
579
579
  id: string;
580
580
  };
581
- source: "unavailable";
582
581
  version: 1;
582
+ source: "unavailable";
583
583
  reason: "unregistered" | "unconfirmed" | "unsupported";
584
584
  state: "unknown";
585
585
  observedAt: string;
@@ -591,25 +591,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
591
591
  kind: "invocation";
592
592
  id: string;
593
593
  };
594
- source: "platform";
594
+ revision: number;
595
+ threadId: string;
596
+ executionId: string;
595
597
  version: 1;
598
+ source: "platform";
596
599
  scope: "owned_subtree";
597
- revision: number;
598
600
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
599
- threadId: string;
600
601
  observedAt: string;
601
602
  desired: "running" | "paused" | "terminated";
602
603
  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
610
  outcome: "succeeded" | "failed" | "cancelled";
611
- source: "provider";
612
611
  version: 1;
612
+ source: "provider";
613
613
  scope: "operation";
614
614
  state: "settled";
615
615
  runId: string;
@@ -631,21 +631,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
631
631
  kind: "invocation";
632
632
  id: string;
633
633
  };
634
+ executionId: string;
634
635
  outcome: "cancelled";
635
- source: "native_graph";
636
636
  version: 1;
637
+ source: "native_graph";
637
638
  scope: "operation";
638
639
  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
646
  outcome: "failed" | "cancelled";
647
- source: "host_admission";
648
647
  version: 1;
648
+ source: "host_admission";
649
649
  reason: "not_started";
650
650
  scope: "operation";
651
651
  state: "settled";
@@ -655,17 +655,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
668
667
  revision: string;
668
+ provider: string;
669
669
  bindingId: string;
670
670
  invocationId: string;
671
671
  } | undefined;
@@ -677,8 +677,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
677
677
  kind: "invocation";
678
678
  id: string;
679
679
  };
680
- source: "unavailable";
681
680
  version: 1;
681
+ source: "unavailable";
682
682
  reason: "unregistered" | "unconfirmed" | "unsupported";
683
683
  state: "unknown";
684
684
  observedAt: string;
@@ -690,25 +690,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
690
690
  kind: "invocation";
691
691
  id: string;
692
692
  };
693
- source: "platform";
693
+ revision: number;
694
+ threadId: string;
695
+ executionId: string;
694
696
  version: 1;
697
+ source: "platform";
695
698
  scope: "owned_subtree";
696
- revision: number;
697
699
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
698
- threadId: string;
699
700
  observedAt: string;
700
701
  desired: "running" | "paused" | "terminated";
701
702
  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
709
  outcome: "succeeded" | "failed" | "cancelled";
710
- source: "provider";
711
710
  version: 1;
711
+ source: "provider";
712
712
  scope: "operation";
713
713
  state: "settled";
714
714
  runId: string;
@@ -730,21 +730,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
730
730
  kind: "invocation";
731
731
  id: string;
732
732
  };
733
+ executionId: string;
733
734
  outcome: "cancelled";
734
- source: "native_graph";
735
735
  version: 1;
736
+ source: "native_graph";
736
737
  scope: "operation";
737
738
  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
745
  outcome: "failed" | "cancelled";
746
- source: "host_admission";
747
746
  version: 1;
747
+ source: "host_admission";
748
748
  reason: "not_started";
749
749
  scope: "operation";
750
750
  state: "settled";
@@ -822,8 +822,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
822
822
  kind: "invocation";
823
823
  id: string;
824
824
  };
825
- source: "unavailable";
826
825
  version: 1;
826
+ source: "unavailable";
827
827
  reason: "unregistered" | "unconfirmed" | "unsupported";
828
828
  state: "unknown";
829
829
  observedAt: string;
@@ -835,8 +835,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
835
835
  kind: "invocation";
836
836
  id: string;
837
837
  };
838
- source: "unavailable";
839
838
  version: 1;
839
+ source: "unavailable";
840
840
  reason: "unregistered" | "unconfirmed" | "unsupported";
841
841
  state: "unknown";
842
842
  observedAt: string;
@@ -879,17 +879,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
879
879
  kind: "invocation";
880
880
  id: string;
881
881
  };
882
- source: "platform";
882
+ revision: number;
883
+ threadId: string;
884
+ executionId: string;
883
885
  version: 1;
886
+ source: "platform";
884
887
  scope: "owned_subtree";
885
- revision: number;
886
888
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
887
- threadId: string;
888
889
  observedAt: string;
889
890
  desired: "running" | "paused" | "terminated";
890
891
  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";
901
+ revision: number;
902
+ threadId: string;
903
+ executionId: string;
902
904
  version: 1;
905
+ source: "platform";
903
906
  scope: "owned_subtree";
904
- revision: number;
905
907
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
906
- threadId: string;
907
908
  observedAt: string;
908
909
  desired: "running" | "paused" | "terminated";
909
910
  taskId: string;
910
911
  rootId: string;
911
- executionId: string;
912
912
  }>, z.ZodObject<{
913
913
  source: z.ZodLiteral<"provider">;
914
914
  subject: z.ZodObject<{
@@ -963,8 +963,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
963
963
  id: string;
964
964
  };
965
965
  outcome: "succeeded" | "failed" | "cancelled";
966
- source: "provider";
967
966
  version: 1;
967
+ source: "provider";
968
968
  scope: "operation";
969
969
  state: "settled";
970
970
  runId: string;
@@ -987,8 +987,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
987
987
  id: string;
988
988
  };
989
989
  outcome: "succeeded" | "failed" | "cancelled";
990
- source: "provider";
991
990
  version: 1;
991
+ source: "provider";
992
992
  scope: "operation";
993
993
  state: "settled";
994
994
  runId: string;
@@ -1028,25 +1028,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1028
1028
  kind: "invocation";
1029
1029
  id: string;
1030
1030
  };
1031
+ executionId: string;
1031
1032
  outcome: "cancelled";
1032
- source: "native_graph";
1033
1033
  version: 1;
1034
+ source: "native_graph";
1034
1035
  scope: "operation";
1035
1036
  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
+ executionId: string;
1043
1044
  outcome: "cancelled";
1044
- source: "native_graph";
1045
1045
  version: 1;
1046
+ source: "native_graph";
1046
1047
  scope: "operation";
1047
1048
  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<{
@@ -1071,8 +1071,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1071
1071
  id: string;
1072
1072
  };
1073
1073
  outcome: "failed" | "cancelled";
1074
- source: "host_admission";
1075
1074
  version: 1;
1075
+ source: "host_admission";
1076
1076
  reason: "not_started";
1077
1077
  scope: "operation";
1078
1078
  state: "settled";
@@ -1083,8 +1083,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1083
1083
  id: string;
1084
1084
  };
1085
1085
  outcome: "failed" | "cancelled";
1086
- source: "host_admission";
1087
1086
  version: 1;
1087
+ source: "host_admission";
1088
1088
  reason: "not_started";
1089
1089
  scope: "operation";
1090
1090
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
1159
1158
  revision: string;
1159
+ provider: string;
1160
1160
  bindingId: string;
1161
1161
  invocationId: string;
1162
1162
  } | undefined;
@@ -1168,8 +1168,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1168
1168
  kind: "invocation";
1169
1169
  id: string;
1170
1170
  };
1171
- source: "unavailable";
1172
1171
  version: 1;
1172
+ source: "unavailable";
1173
1173
  reason: "unregistered" | "unconfirmed" | "unsupported";
1174
1174
  state: "unknown";
1175
1175
  observedAt: string;
@@ -1181,25 +1181,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1181
1181
  kind: "invocation";
1182
1182
  id: string;
1183
1183
  };
1184
- source: "platform";
1184
+ revision: number;
1185
+ threadId: string;
1186
+ executionId: string;
1185
1187
  version: 1;
1188
+ source: "platform";
1186
1189
  scope: "owned_subtree";
1187
- revision: number;
1188
1190
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1189
- threadId: string;
1190
1191
  observedAt: string;
1191
1192
  desired: "running" | "paused" | "terminated";
1192
1193
  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
1200
  outcome: "succeeded" | "failed" | "cancelled";
1201
- source: "provider";
1202
1201
  version: 1;
1202
+ source: "provider";
1203
1203
  scope: "operation";
1204
1204
  state: "settled";
1205
1205
  runId: string;
@@ -1221,21 +1221,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1221
1221
  kind: "invocation";
1222
1222
  id: string;
1223
1223
  };
1224
+ executionId: string;
1224
1225
  outcome: "cancelled";
1225
- source: "native_graph";
1226
1226
  version: 1;
1227
+ source: "native_graph";
1227
1228
  scope: "operation";
1228
1229
  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
1236
  outcome: "failed" | "cancelled";
1237
- source: "host_admission";
1238
1237
  version: 1;
1238
+ source: "host_admission";
1239
1239
  reason: "not_started";
1240
1240
  scope: "operation";
1241
1241
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
1266
1265
  revision: string;
1266
+ provider: string;
1267
1267
  bindingId: string;
1268
1268
  invocationId: string;
1269
1269
  } | undefined;
@@ -1275,8 +1275,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1275
1275
  kind: "invocation";
1276
1276
  id: string;
1277
1277
  };
1278
- source: "unavailable";
1279
1278
  version: 1;
1279
+ source: "unavailable";
1280
1280
  reason: "unregistered" | "unconfirmed" | "unsupported";
1281
1281
  state: "unknown";
1282
1282
  observedAt: string;
@@ -1288,25 +1288,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1288
1288
  kind: "invocation";
1289
1289
  id: string;
1290
1290
  };
1291
- source: "platform";
1291
+ revision: number;
1292
+ threadId: string;
1293
+ executionId: string;
1292
1294
  version: 1;
1295
+ source: "platform";
1293
1296
  scope: "owned_subtree";
1294
- revision: number;
1295
1297
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1296
- threadId: string;
1297
1298
  observedAt: string;
1298
1299
  desired: "running" | "paused" | "terminated";
1299
1300
  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
1307
  outcome: "succeeded" | "failed" | "cancelled";
1308
- source: "provider";
1309
1308
  version: 1;
1309
+ source: "provider";
1310
1310
  scope: "operation";
1311
1311
  state: "settled";
1312
1312
  runId: string;
@@ -1328,21 +1328,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1328
1328
  kind: "invocation";
1329
1329
  id: string;
1330
1330
  };
1331
+ executionId: string;
1331
1332
  outcome: "cancelled";
1332
- source: "native_graph";
1333
1333
  version: 1;
1334
+ source: "native_graph";
1334
1335
  scope: "operation";
1335
1336
  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
1343
  outcome: "failed" | "cancelled";
1344
- source: "host_admission";
1345
1344
  version: 1;
1345
+ source: "host_admission";
1346
1346
  reason: "not_started";
1347
1347
  scope: "operation";
1348
1348
  state: "settled";
@@ -1384,8 +1384,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1384
1384
  kind: "invocation";
1385
1385
  id: string;
1386
1386
  };
1387
- source: "unavailable";
1388
1387
  version: 1;
1388
+ source: "unavailable";
1389
1389
  reason: "unregistered" | "unconfirmed" | "unsupported";
1390
1390
  state: "unknown";
1391
1391
  observedAt: string;
@@ -1397,8 +1397,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1397
1397
  kind: "invocation";
1398
1398
  id: string;
1399
1399
  };
1400
- source: "unavailable";
1401
1400
  version: 1;
1401
+ source: "unavailable";
1402
1402
  reason: "unregistered" | "unconfirmed" | "unsupported";
1403
1403
  state: "unknown";
1404
1404
  observedAt: string;
@@ -1441,17 +1441,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1441
1441
  kind: "invocation";
1442
1442
  id: string;
1443
1443
  };
1444
- source: "platform";
1444
+ revision: number;
1445
+ threadId: string;
1446
+ executionId: string;
1445
1447
  version: 1;
1448
+ source: "platform";
1446
1449
  scope: "owned_subtree";
1447
- revision: number;
1448
1450
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1449
- threadId: string;
1450
1451
  observedAt: string;
1451
1452
  desired: "running" | "paused" | "terminated";
1452
1453
  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";
1463
+ revision: number;
1464
+ threadId: string;
1465
+ executionId: string;
1464
1466
  version: 1;
1467
+ source: "platform";
1465
1468
  scope: "owned_subtree";
1466
- revision: number;
1467
1469
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1468
- threadId: string;
1469
1470
  observedAt: string;
1470
1471
  desired: "running" | "paused" | "terminated";
1471
1472
  taskId: string;
1472
1473
  rootId: string;
1473
- executionId: string;
1474
1474
  }>, z.ZodObject<{
1475
1475
  source: z.ZodLiteral<"provider">;
1476
1476
  subject: z.ZodObject<{
@@ -1525,8 +1525,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1525
1525
  id: string;
1526
1526
  };
1527
1527
  outcome: "succeeded" | "failed" | "cancelled";
1528
- source: "provider";
1529
1528
  version: 1;
1529
+ source: "provider";
1530
1530
  scope: "operation";
1531
1531
  state: "settled";
1532
1532
  runId: string;
@@ -1549,8 +1549,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1549
1549
  id: string;
1550
1550
  };
1551
1551
  outcome: "succeeded" | "failed" | "cancelled";
1552
- source: "provider";
1553
1552
  version: 1;
1553
+ source: "provider";
1554
1554
  scope: "operation";
1555
1555
  state: "settled";
1556
1556
  runId: string;
@@ -1590,25 +1590,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1590
1590
  kind: "invocation";
1591
1591
  id: string;
1592
1592
  };
1593
+ executionId: string;
1593
1594
  outcome: "cancelled";
1594
- source: "native_graph";
1595
1595
  version: 1;
1596
+ source: "native_graph";
1596
1597
  scope: "operation";
1597
1598
  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
+ executionId: string;
1605
1606
  outcome: "cancelled";
1606
- source: "native_graph";
1607
1607
  version: 1;
1608
+ source: "native_graph";
1608
1609
  scope: "operation";
1609
1610
  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<{
@@ -1633,8 +1633,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1633
1633
  id: string;
1634
1634
  };
1635
1635
  outcome: "failed" | "cancelled";
1636
- source: "host_admission";
1637
1636
  version: 1;
1637
+ source: "host_admission";
1638
1638
  reason: "not_started";
1639
1639
  scope: "operation";
1640
1640
  state: "settled";
@@ -1645,8 +1645,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1645
1645
  id: string;
1646
1646
  };
1647
1647
  outcome: "failed" | "cancelled";
1648
- source: "host_admission";
1649
1648
  version: 1;
1649
+ source: "host_admission";
1650
1650
  reason: "not_started";
1651
1651
  scope: "operation";
1652
1652
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
1714
1713
  revision: string;
1714
+ provider: string;
1715
1715
  bindingId: string;
1716
1716
  invocationId: string;
1717
1717
  } | undefined;
@@ -1723,8 +1723,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1723
1723
  kind: "invocation";
1724
1724
  id: string;
1725
1725
  };
1726
- source: "unavailable";
1727
1726
  version: 1;
1727
+ source: "unavailable";
1728
1728
  reason: "unregistered" | "unconfirmed" | "unsupported";
1729
1729
  state: "unknown";
1730
1730
  observedAt: string;
@@ -1736,25 +1736,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1736
1736
  kind: "invocation";
1737
1737
  id: string;
1738
1738
  };
1739
- source: "platform";
1739
+ revision: number;
1740
+ threadId: string;
1741
+ executionId: string;
1740
1742
  version: 1;
1743
+ source: "platform";
1741
1744
  scope: "owned_subtree";
1742
- revision: number;
1743
1745
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1744
- threadId: string;
1745
1746
  observedAt: string;
1746
1747
  desired: "running" | "paused" | "terminated";
1747
1748
  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
1755
  outcome: "succeeded" | "failed" | "cancelled";
1756
- source: "provider";
1757
1756
  version: 1;
1757
+ source: "provider";
1758
1758
  scope: "operation";
1759
1759
  state: "settled";
1760
1760
  runId: string;
@@ -1776,21 +1776,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1776
1776
  kind: "invocation";
1777
1777
  id: string;
1778
1778
  };
1779
+ executionId: string;
1779
1780
  outcome: "cancelled";
1780
- source: "native_graph";
1781
1781
  version: 1;
1782
+ source: "native_graph";
1782
1783
  scope: "operation";
1783
1784
  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
1791
  outcome: "failed" | "cancelled";
1792
- source: "host_admission";
1793
1792
  version: 1;
1793
+ source: "host_admission";
1794
1794
  reason: "not_started";
1795
1795
  scope: "operation";
1796
1796
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
1814
1813
  revision: string;
1814
+ provider: string;
1815
1815
  bindingId: string;
1816
1816
  invocationId: string;
1817
1817
  } | undefined;
@@ -1823,8 +1823,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1823
1823
  kind: "invocation";
1824
1824
  id: string;
1825
1825
  };
1826
- source: "unavailable";
1827
1826
  version: 1;
1827
+ source: "unavailable";
1828
1828
  reason: "unregistered" | "unconfirmed" | "unsupported";
1829
1829
  state: "unknown";
1830
1830
  observedAt: string;
@@ -1836,25 +1836,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1836
1836
  kind: "invocation";
1837
1837
  id: string;
1838
1838
  };
1839
- source: "platform";
1839
+ revision: number;
1840
+ threadId: string;
1841
+ executionId: string;
1840
1842
  version: 1;
1843
+ source: "platform";
1841
1844
  scope: "owned_subtree";
1842
- revision: number;
1843
1845
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1844
- threadId: string;
1845
1846
  observedAt: string;
1846
1847
  desired: "running" | "paused" | "terminated";
1847
1848
  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
1855
  outcome: "succeeded" | "failed" | "cancelled";
1856
- source: "provider";
1857
1856
  version: 1;
1857
+ source: "provider";
1858
1858
  scope: "operation";
1859
1859
  state: "settled";
1860
1860
  runId: string;
@@ -1876,21 +1876,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1876
1876
  kind: "invocation";
1877
1877
  id: string;
1878
1878
  };
1879
+ executionId: string;
1879
1880
  outcome: "cancelled";
1880
- source: "native_graph";
1881
1881
  version: 1;
1882
+ source: "native_graph";
1882
1883
  scope: "operation";
1883
1884
  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
1891
  outcome: "failed" | "cancelled";
1892
- source: "host_admission";
1893
1892
  version: 1;
1893
+ source: "host_admission";
1894
1894
  reason: "not_started";
1895
1895
  scope: "operation";
1896
1896
  state: "settled";
@@ -1931,8 +1931,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1931
1931
  kind: "invocation";
1932
1932
  id: string;
1933
1933
  };
1934
- source: "unavailable";
1935
1934
  version: 1;
1935
+ source: "unavailable";
1936
1936
  reason: "unregistered" | "unconfirmed" | "unsupported";
1937
1937
  state: "unknown";
1938
1938
  observedAt: string;
@@ -1944,8 +1944,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1944
1944
  kind: "invocation";
1945
1945
  id: string;
1946
1946
  };
1947
- source: "unavailable";
1948
1947
  version: 1;
1948
+ source: "unavailable";
1949
1949
  reason: "unregistered" | "unconfirmed" | "unsupported";
1950
1950
  state: "unknown";
1951
1951
  observedAt: string;
@@ -1988,17 +1988,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1988
1988
  kind: "invocation";
1989
1989
  id: string;
1990
1990
  };
1991
- source: "platform";
1991
+ revision: number;
1992
+ threadId: string;
1993
+ executionId: string;
1992
1994
  version: 1;
1995
+ source: "platform";
1993
1996
  scope: "owned_subtree";
1994
- revision: number;
1995
1997
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
1996
- threadId: string;
1997
1998
  observedAt: string;
1998
1999
  desired: "running" | "paused" | "terminated";
1999
2000
  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";
2010
+ revision: number;
2011
+ threadId: string;
2012
+ executionId: string;
2011
2013
  version: 1;
2014
+ source: "platform";
2012
2015
  scope: "owned_subtree";
2013
- revision: number;
2014
2016
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2015
- threadId: string;
2016
2017
  observedAt: string;
2017
2018
  desired: "running" | "paused" | "terminated";
2018
2019
  taskId: string;
2019
2020
  rootId: string;
2020
- executionId: string;
2021
2021
  }>, z.ZodObject<{
2022
2022
  source: z.ZodLiteral<"provider">;
2023
2023
  subject: z.ZodObject<{
@@ -2072,8 +2072,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2072
2072
  id: string;
2073
2073
  };
2074
2074
  outcome: "succeeded" | "failed" | "cancelled";
2075
- source: "provider";
2076
2075
  version: 1;
2076
+ source: "provider";
2077
2077
  scope: "operation";
2078
2078
  state: "settled";
2079
2079
  runId: string;
@@ -2096,8 +2096,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2096
2096
  id: string;
2097
2097
  };
2098
2098
  outcome: "succeeded" | "failed" | "cancelled";
2099
- source: "provider";
2100
2099
  version: 1;
2100
+ source: "provider";
2101
2101
  scope: "operation";
2102
2102
  state: "settled";
2103
2103
  runId: string;
@@ -2137,25 +2137,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2137
2137
  kind: "invocation";
2138
2138
  id: string;
2139
2139
  };
2140
+ executionId: string;
2140
2141
  outcome: "cancelled";
2141
- source: "native_graph";
2142
2142
  version: 1;
2143
+ source: "native_graph";
2143
2144
  scope: "operation";
2144
2145
  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
+ executionId: string;
2152
2153
  outcome: "cancelled";
2153
- source: "native_graph";
2154
2154
  version: 1;
2155
+ source: "native_graph";
2155
2156
  scope: "operation";
2156
2157
  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<{
@@ -2180,8 +2180,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2180
2180
  id: string;
2181
2181
  };
2182
2182
  outcome: "failed" | "cancelled";
2183
- source: "host_admission";
2184
2183
  version: 1;
2184
+ source: "host_admission";
2185
2185
  reason: "not_started";
2186
2186
  scope: "operation";
2187
2187
  state: "settled";
@@ -2192,8 +2192,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2192
2192
  id: string;
2193
2193
  };
2194
2194
  outcome: "failed" | "cancelled";
2195
- source: "host_admission";
2196
2195
  version: 1;
2196
+ source: "host_admission";
2197
2197
  reason: "not_started";
2198
2198
  scope: "operation";
2199
2199
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
2260
2259
  revision: string;
2260
+ provider: string;
2261
2261
  bindingId: string;
2262
2262
  invocationId: string;
2263
2263
  } | undefined;
@@ -2269,8 +2269,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2269
2269
  kind: "invocation";
2270
2270
  id: string;
2271
2271
  };
2272
- source: "unavailable";
2273
2272
  version: 1;
2273
+ source: "unavailable";
2274
2274
  reason: "unregistered" | "unconfirmed" | "unsupported";
2275
2275
  state: "unknown";
2276
2276
  observedAt: string;
@@ -2282,25 +2282,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2282
2282
  kind: "invocation";
2283
2283
  id: string;
2284
2284
  };
2285
- source: "platform";
2285
+ revision: number;
2286
+ threadId: string;
2287
+ executionId: string;
2286
2288
  version: 1;
2289
+ source: "platform";
2287
2290
  scope: "owned_subtree";
2288
- revision: number;
2289
2291
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2290
- threadId: string;
2291
2292
  observedAt: string;
2292
2293
  desired: "running" | "paused" | "terminated";
2293
2294
  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
2301
  outcome: "succeeded" | "failed" | "cancelled";
2302
- source: "provider";
2303
2302
  version: 1;
2303
+ source: "provider";
2304
2304
  scope: "operation";
2305
2305
  state: "settled";
2306
2306
  runId: string;
@@ -2322,21 +2322,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2322
2322
  kind: "invocation";
2323
2323
  id: string;
2324
2324
  };
2325
+ executionId: string;
2325
2326
  outcome: "cancelled";
2326
- source: "native_graph";
2327
2327
  version: 1;
2328
+ source: "native_graph";
2328
2329
  scope: "operation";
2329
2330
  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
2337
  outcome: "failed" | "cancelled";
2338
- source: "host_admission";
2339
2338
  version: 1;
2339
+ source: "host_admission";
2340
2340
  reason: "not_started";
2341
2341
  scope: "operation";
2342
2342
  state: "settled";
@@ -2346,17 +2346,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
2359
2358
  revision: string;
2359
+ provider: string;
2360
2360
  bindingId: string;
2361
2361
  invocationId: string;
2362
2362
  } | undefined;
@@ -2368,8 +2368,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2368
2368
  kind: "invocation";
2369
2369
  id: string;
2370
2370
  };
2371
- source: "unavailable";
2372
2371
  version: 1;
2372
+ source: "unavailable";
2373
2373
  reason: "unregistered" | "unconfirmed" | "unsupported";
2374
2374
  state: "unknown";
2375
2375
  observedAt: string;
@@ -2381,25 +2381,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2381
2381
  kind: "invocation";
2382
2382
  id: string;
2383
2383
  };
2384
- source: "platform";
2384
+ revision: number;
2385
+ threadId: string;
2386
+ executionId: string;
2385
2387
  version: 1;
2388
+ source: "platform";
2386
2389
  scope: "owned_subtree";
2387
- revision: number;
2388
2390
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2389
- threadId: string;
2390
2391
  observedAt: string;
2391
2392
  desired: "running" | "paused" | "terminated";
2392
2393
  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
2400
  outcome: "succeeded" | "failed" | "cancelled";
2401
- source: "provider";
2402
2401
  version: 1;
2402
+ source: "provider";
2403
2403
  scope: "operation";
2404
2404
  state: "settled";
2405
2405
  runId: string;
@@ -2421,21 +2421,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2421
2421
  kind: "invocation";
2422
2422
  id: string;
2423
2423
  };
2424
+ executionId: string;
2424
2425
  outcome: "cancelled";
2425
- source: "native_graph";
2426
2426
  version: 1;
2427
+ source: "native_graph";
2427
2428
  scope: "operation";
2428
2429
  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
2436
  outcome: "failed" | "cancelled";
2437
- source: "host_admission";
2438
2437
  version: 1;
2438
+ source: "host_admission";
2439
2439
  reason: "not_started";
2440
2440
  scope: "operation";
2441
2441
  state: "settled";
@@ -2475,8 +2475,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2475
2475
  kind: "invocation";
2476
2476
  id: string;
2477
2477
  };
2478
- source: "unavailable";
2479
2478
  version: 1;
2479
+ source: "unavailable";
2480
2480
  reason: "unregistered" | "unconfirmed" | "unsupported";
2481
2481
  state: "unknown";
2482
2482
  observedAt: string;
@@ -2488,8 +2488,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2488
2488
  kind: "invocation";
2489
2489
  id: string;
2490
2490
  };
2491
- source: "unavailable";
2492
2491
  version: 1;
2492
+ source: "unavailable";
2493
2493
  reason: "unregistered" | "unconfirmed" | "unsupported";
2494
2494
  state: "unknown";
2495
2495
  observedAt: string;
@@ -2532,17 +2532,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2532
2532
  kind: "invocation";
2533
2533
  id: string;
2534
2534
  };
2535
- source: "platform";
2535
+ revision: number;
2536
+ threadId: string;
2537
+ executionId: string;
2536
2538
  version: 1;
2539
+ source: "platform";
2537
2540
  scope: "owned_subtree";
2538
- revision: number;
2539
2541
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2540
- threadId: string;
2541
2542
  observedAt: string;
2542
2543
  desired: "running" | "paused" | "terminated";
2543
2544
  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";
2554
+ revision: number;
2555
+ threadId: string;
2556
+ executionId: string;
2555
2557
  version: 1;
2558
+ source: "platform";
2556
2559
  scope: "owned_subtree";
2557
- revision: number;
2558
2560
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2559
- threadId: string;
2560
2561
  observedAt: string;
2561
2562
  desired: "running" | "paused" | "terminated";
2562
2563
  taskId: string;
2563
2564
  rootId: string;
2564
- executionId: string;
2565
2565
  }>, z.ZodObject<{
2566
2566
  source: z.ZodLiteral<"provider">;
2567
2567
  subject: z.ZodObject<{
@@ -2616,8 +2616,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2616
2616
  id: string;
2617
2617
  };
2618
2618
  outcome: "succeeded" | "failed" | "cancelled";
2619
- source: "provider";
2620
2619
  version: 1;
2620
+ source: "provider";
2621
2621
  scope: "operation";
2622
2622
  state: "settled";
2623
2623
  runId: string;
@@ -2640,8 +2640,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2640
2640
  id: string;
2641
2641
  };
2642
2642
  outcome: "succeeded" | "failed" | "cancelled";
2643
- source: "provider";
2644
2643
  version: 1;
2644
+ source: "provider";
2645
2645
  scope: "operation";
2646
2646
  state: "settled";
2647
2647
  runId: string;
@@ -2681,25 +2681,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2681
2681
  kind: "invocation";
2682
2682
  id: string;
2683
2683
  };
2684
+ executionId: string;
2684
2685
  outcome: "cancelled";
2685
- source: "native_graph";
2686
2686
  version: 1;
2687
+ source: "native_graph";
2687
2688
  scope: "operation";
2688
2689
  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
+ executionId: string;
2696
2697
  outcome: "cancelled";
2697
- source: "native_graph";
2698
2698
  version: 1;
2699
+ source: "native_graph";
2699
2700
  scope: "operation";
2700
2701
  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<{
@@ -2724,8 +2724,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2724
2724
  id: string;
2725
2725
  };
2726
2726
  outcome: "failed" | "cancelled";
2727
- source: "host_admission";
2728
2727
  version: 1;
2728
+ source: "host_admission";
2729
2729
  reason: "not_started";
2730
2730
  scope: "operation";
2731
2731
  state: "settled";
@@ -2736,8 +2736,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2736
2736
  id: string;
2737
2737
  };
2738
2738
  outcome: "failed" | "cancelled";
2739
- source: "host_admission";
2740
2739
  version: 1;
2740
+ source: "host_admission";
2741
2741
  reason: "not_started";
2742
2742
  scope: "operation";
2743
2743
  state: "settled";
@@ -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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
2804
2803
  revision: string;
2804
+ provider: string;
2805
2805
  bindingId: string;
2806
2806
  invocationId: string;
2807
2807
  } | undefined;
@@ -2814,8 +2814,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2814
2814
  kind: "invocation";
2815
2815
  id: string;
2816
2816
  };
2817
- source: "unavailable";
2818
2817
  version: 1;
2818
+ source: "unavailable";
2819
2819
  reason: "unregistered" | "unconfirmed" | "unsupported";
2820
2820
  state: "unknown";
2821
2821
  observedAt: string;
@@ -2827,25 +2827,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2827
2827
  kind: "invocation";
2828
2828
  id: string;
2829
2829
  };
2830
- source: "platform";
2830
+ revision: number;
2831
+ threadId: string;
2832
+ executionId: string;
2831
2833
  version: 1;
2834
+ source: "platform";
2832
2835
  scope: "owned_subtree";
2833
- revision: number;
2834
2836
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2835
- threadId: string;
2836
2837
  observedAt: string;
2837
2838
  desired: "running" | "paused" | "terminated";
2838
2839
  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
2846
  outcome: "succeeded" | "failed" | "cancelled";
2847
- source: "provider";
2848
2847
  version: 1;
2848
+ source: "provider";
2849
2849
  scope: "operation";
2850
2850
  state: "settled";
2851
2851
  runId: string;
@@ -2867,21 +2867,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2867
2867
  kind: "invocation";
2868
2868
  id: string;
2869
2869
  };
2870
+ executionId: string;
2870
2871
  outcome: "cancelled";
2871
- source: "native_graph";
2872
2872
  version: 1;
2873
+ source: "native_graph";
2873
2874
  scope: "operation";
2874
2875
  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
2882
  outcome: "failed" | "cancelled";
2883
- source: "host_admission";
2884
2883
  version: 1;
2884
+ source: "host_admission";
2885
2885
  reason: "not_started";
2886
2886
  scope: "operation";
2887
2887
  state: "settled";
@@ -2890,17 +2890,17 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
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" | "running" | "waiting" | "succeeded" | "failed" | "queued" | "cancelled";
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" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
2903
2902
  revision: string;
2903
+ provider: string;
2904
2904
  bindingId: string;
2905
2905
  invocationId: string;
2906
2906
  } | undefined;
@@ -2913,8 +2913,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2913
2913
  kind: "invocation";
2914
2914
  id: string;
2915
2915
  };
2916
- source: "unavailable";
2917
2916
  version: 1;
2917
+ source: "unavailable";
2918
2918
  reason: "unregistered" | "unconfirmed" | "unsupported";
2919
2919
  state: "unknown";
2920
2920
  observedAt: string;
@@ -2926,25 +2926,25 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2926
2926
  kind: "invocation";
2927
2927
  id: string;
2928
2928
  };
2929
- source: "platform";
2929
+ revision: number;
2930
+ threadId: string;
2931
+ executionId: string;
2930
2932
  version: 1;
2933
+ source: "platform";
2931
2934
  scope: "owned_subtree";
2932
- revision: number;
2933
2935
  state: "running" | "paused" | "pausing" | "terminating" | "settled";
2934
- threadId: string;
2935
2936
  observedAt: string;
2936
2937
  desired: "running" | "paused" | "terminated";
2937
2938
  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
2945
  outcome: "succeeded" | "failed" | "cancelled";
2946
- source: "provider";
2947
2946
  version: 1;
2947
+ source: "provider";
2948
2948
  scope: "operation";
2949
2949
  state: "settled";
2950
2950
  runId: string;
@@ -2966,21 +2966,21 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2966
2966
  kind: "invocation";
2967
2967
  id: string;
2968
2968
  };
2969
+ executionId: string;
2969
2970
  outcome: "cancelled";
2970
- source: "native_graph";
2971
2971
  version: 1;
2972
+ source: "native_graph";
2972
2973
  scope: "operation";
2973
2974
  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
2981
  outcome: "failed" | "cancelled";
2982
- source: "host_admission";
2983
2982
  version: 1;
2983
+ source: "host_admission";
2984
2984
  reason: "not_started";
2985
2985
  scope: "operation";
2986
2986
  state: "settled";