@xpert-ai/contracts 3.34.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 (106) 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 +670 -319
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +637 -318
  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 +22 -22
  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 +4 -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 +7 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +78 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
  46. package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
  47. package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
  48. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  49. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  50. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  51. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  52. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  53. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  54. package/src/ai/project-pipeline/index.d.ts +1 -0
  55. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  56. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  57. package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
  58. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
  59. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  60. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  61. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  62. package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
  63. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  64. package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
  65. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  66. package/src/ai/project-task-runtime.model.d.ts +969 -242
  67. package/src/ai/project-type-configuration.model.d.ts +48 -0
  68. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  69. package/src/ai/template-installation.model.d.ts +18 -18
  70. package/src/ai/template-lifecycle.model.d.ts +6 -6
  71. package/src/ai/thread-control-view.schema.d.ts +4 -4
  72. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  73. package/src/ai/xpert-project-type.model.d.ts +3 -0
  74. package/src/ai/xpert-project.model.d.ts +4 -1
  75. package/src/ai/xpert-task.model.d.ts +16 -0
  76. package/src/ai/xpert.model.d.ts +0 -34
  77. package/src/ai/xpert.utils.d.ts +0 -1
  78. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  79. package/src/analytics/analytics-certification.model.d.ts +17 -0
  80. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  81. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  82. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  83. package/src/analytics/index.d.ts +7 -0
  84. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  85. package/src/app-platform.d.ts +16 -16
  86. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  87. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  88. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  89. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  90. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  91. package/src/artifacts/index.d.ts +5 -0
  92. package/src/collaboration.model.d.ts +31 -11
  93. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  94. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  95. package/src/content/content-transfer.model.d.ts +21 -0
  96. package/src/content/index.d.ts +4 -0
  97. package/src/execution-control-admission.schema.d.ts +2 -2
  98. package/src/index.d.ts +5 -14
  99. package/src/plugin-management.d.ts +13 -0
  100. package/src/plugin.d.ts +2 -0
  101. package/src/user-notification.schema.d.ts +75 -28
  102. package/src/view-extension/client-commands.d.ts +24 -0
  103. package/src/view-extension/context-event.d.ts +66 -0
  104. package/src/view-extension/index.d.ts +1 -0
  105. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  106. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -214,6 +214,11 @@ export declare const pipelineQueueStatisticsSchema: z.ZodObject<{
214
214
  };
215
215
  }>, "many">;
216
216
  }, "strict", z.ZodTypeAny, {
217
+ coverage: {
218
+ recorded: number;
219
+ missingCreatedAt: number;
220
+ outsideWindow: number;
221
+ };
217
222
  scope: "recorded_dispatch_outbox_created_in_window";
218
223
  total: {
219
224
  total: number;
@@ -234,11 +239,6 @@ export declare const pipelineQueueStatisticsSchema: z.ZodObject<{
234
239
  oldestMs: number | null;
235
240
  };
236
241
  };
237
- coverage: {
238
- recorded: number;
239
- missingCreatedAt: number;
240
- outsideWindow: number;
241
- };
242
242
  bySource: {
243
243
  source: "provider_action" | "managed_operation";
244
244
  metrics: {
@@ -262,6 +262,11 @@ export declare const pipelineQueueStatisticsSchema: z.ZodObject<{
262
262
  };
263
263
  }[];
264
264
  }, {
265
+ coverage: {
266
+ recorded: number;
267
+ missingCreatedAt: number;
268
+ outsideWindow: number;
269
+ };
265
270
  scope: "recorded_dispatch_outbox_created_in_window";
266
271
  total: {
267
272
  total: number;
@@ -282,11 +287,6 @@ export declare const pipelineQueueStatisticsSchema: z.ZodObject<{
282
287
  oldestMs: number | null;
283
288
  };
284
289
  };
285
- coverage: {
286
- recorded: number;
287
- missingCreatedAt: number;
288
- outsideWindow: number;
289
- };
290
290
  bySource: {
291
291
  source: "provider_action" | "managed_operation";
292
292
  metrics: {
@@ -34,26 +34,26 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
34
34
  roleKey: z.ZodEffects<z.ZodString, string, string>;
35
35
  workspaceId: z.ZodOptional<z.ZodString>;
36
36
  }, "strict", z.ZodTypeAny, {
37
- roleKey: string;
38
37
  kind: "assistant" | "runtime_binding" | "human" | "service";
38
+ roleKey: string;
39
39
  selectionKey: string;
40
40
  requiredCapabilities?: string[] | undefined;
41
41
  workspaceId?: string | undefined;
42
42
  }, {
43
- roleKey: string;
44
43
  kind: "assistant" | "runtime_binding" | "human" | "service";
44
+ roleKey: string;
45
45
  selectionKey: string;
46
46
  requiredCapabilities?: string[] | undefined;
47
47
  workspaceId?: string | undefined;
48
48
  }>, {
49
- roleKey: string;
50
49
  kind: "assistant" | "runtime_binding" | "human" | "service";
50
+ roleKey: string;
51
51
  selectionKey: string;
52
52
  requiredCapabilities?: string[] | undefined;
53
53
  workspaceId?: string | undefined;
54
54
  }, {
55
- roleKey: string;
56
55
  kind: "assistant" | "runtime_binding" | "human" | "service";
56
+ roleKey: string;
57
57
  selectionKey: string;
58
58
  requiredCapabilities?: string[] | undefined;
59
59
  workspaceId?: string | undefined;
@@ -123,8 +123,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
123
123
  }>;
124
124
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
125
125
  executorBindings?: Record<string, {
126
- roleKey: string;
127
126
  kind: "assistant" | "runtime_binding" | "human" | "service";
127
+ roleKey: string;
128
128
  selectionKey: string;
129
129
  requiredCapabilities?: string[] | undefined;
130
130
  workspaceId?: string | undefined;
@@ -153,8 +153,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
153
153
  }>;
154
154
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
155
155
  executorBindings?: Record<string, {
156
- roleKey: string;
157
156
  kind: "assistant" | "runtime_binding" | "human" | "service";
157
+ roleKey: string;
158
158
  selectionKey: string;
159
159
  requiredCapabilities?: string[] | undefined;
160
160
  workspaceId?: string | undefined;
@@ -180,11 +180,12 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
180
180
  organizationId: z.ZodNullable<z.ZodString>;
181
181
  projectId: z.ZodString;
182
182
  }, "strict", z.ZodTypeAny, {
183
+ revision: number;
184
+ id: string;
183
185
  definition: {
184
186
  templateRef: string;
185
187
  digest: string;
186
188
  };
187
- revision: number;
188
189
  configuration: {
189
190
  templateRef: string;
190
191
  roleBindings: Record<string, {
@@ -194,8 +195,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
194
195
  }>;
195
196
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
196
197
  executorBindings?: Record<string, {
197
- roleKey: string;
198
198
  kind: "assistant" | "runtime_binding" | "human" | "service";
199
+ roleKey: string;
199
200
  selectionKey: string;
200
201
  requiredCapabilities?: string[] | undefined;
201
202
  workspaceId?: string | undefined;
@@ -216,16 +217,16 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
216
217
  events: string[];
217
218
  }[] | undefined;
218
219
  };
219
- id: string;
220
220
  tenantId: string;
221
221
  organizationId: string | null;
222
222
  projectId: string;
223
223
  }, {
224
+ revision: number;
225
+ id: string;
224
226
  definition: {
225
227
  templateRef: string;
226
228
  digest: string;
227
229
  };
228
- revision: number;
229
230
  configuration: {
230
231
  templateRef: string;
231
232
  roleBindings: Record<string, {
@@ -235,8 +236,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
235
236
  }>;
236
237
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
237
238
  executorBindings?: Record<string, {
238
- roleKey: string;
239
239
  kind: "assistant" | "runtime_binding" | "human" | "service";
240
+ roleKey: string;
240
241
  selectionKey: string;
241
242
  requiredCapabilities?: string[] | undefined;
242
243
  workspaceId?: string | undefined;
@@ -257,7 +258,6 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
257
258
  events: string[];
258
259
  }[] | undefined;
259
260
  };
260
- id: string;
261
261
  tenantId: string;
262
262
  organizationId: string | null;
263
263
  projectId: string;
@@ -296,14 +296,14 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
296
296
  resolverRef: string;
297
297
  objectKey: string;
298
298
  };
299
+ revision: number;
300
+ id: string;
299
301
  executionAuthority: "provider";
300
302
  providerRef: string;
301
303
  definition: {
302
304
  templateRef: string;
303
305
  digest: string;
304
306
  };
305
- revision: number;
306
- id: string;
307
307
  tenantId: string;
308
308
  organizationId: string | null;
309
309
  projectId: string;
@@ -313,14 +313,14 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
313
313
  resolverRef: string;
314
314
  objectKey: string;
315
315
  };
316
+ revision: number;
317
+ id: string;
316
318
  executionAuthority: "provider";
317
319
  providerRef: string;
318
320
  definition: {
319
321
  templateRef: string;
320
322
  digest: string;
321
323
  };
322
- revision: number;
323
- id: string;
324
324
  tenantId: string;
325
325
  organizationId: string | null;
326
326
  projectId: string;
@@ -359,13 +359,13 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
359
359
  resolverRef: string;
360
360
  objectKey: string;
361
361
  };
362
+ revision: number;
363
+ id: string;
362
364
  executionAuthority: "platform";
363
365
  definition: {
364
366
  templateRef: string;
365
367
  digest: string;
366
368
  };
367
- revision: number;
368
- id: string;
369
369
  tenantId: string;
370
370
  organizationId: string | null;
371
371
  projectId: string;
@@ -376,13 +376,13 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
376
376
  resolverRef: string;
377
377
  objectKey: string;
378
378
  };
379
+ revision: number;
380
+ id: string;
379
381
  executionAuthority: "platform";
380
382
  definition: {
381
383
  templateRef: string;
382
384
  digest: string;
383
385
  };
384
- revision: number;
385
- id: string;
386
386
  tenantId: string;
387
387
  organizationId: string | null;
388
388
  projectId: string;
@@ -425,26 +425,26 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
425
425
  roleKey: z.ZodEffects<z.ZodString, string, string>;
426
426
  workspaceId: z.ZodOptional<z.ZodString>;
427
427
  }, "strict", z.ZodTypeAny, {
428
- roleKey: string;
429
428
  kind: "assistant" | "runtime_binding" | "human" | "service";
429
+ roleKey: string;
430
430
  selectionKey: string;
431
431
  requiredCapabilities?: string[] | undefined;
432
432
  workspaceId?: string | undefined;
433
433
  }, {
434
- roleKey: string;
435
434
  kind: "assistant" | "runtime_binding" | "human" | "service";
435
+ roleKey: string;
436
436
  selectionKey: string;
437
437
  requiredCapabilities?: string[] | undefined;
438
438
  workspaceId?: string | undefined;
439
439
  }>, {
440
- roleKey: string;
441
440
  kind: "assistant" | "runtime_binding" | "human" | "service";
441
+ roleKey: string;
442
442
  selectionKey: string;
443
443
  requiredCapabilities?: string[] | undefined;
444
444
  workspaceId?: string | undefined;
445
445
  }, {
446
- roleKey: string;
447
446
  kind: "assistant" | "runtime_binding" | "human" | "service";
447
+ roleKey: string;
448
448
  selectionKey: string;
449
449
  requiredCapabilities?: string[] | undefined;
450
450
  workspaceId?: string | undefined;
@@ -514,8 +514,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
514
514
  }>;
515
515
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
516
516
  executorBindings?: Record<string, {
517
- roleKey: string;
518
517
  kind: "assistant" | "runtime_binding" | "human" | "service";
518
+ roleKey: string;
519
519
  selectionKey: string;
520
520
  requiredCapabilities?: string[] | undefined;
521
521
  workspaceId?: string | undefined;
@@ -544,8 +544,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
544
544
  }>;
545
545
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
546
546
  executorBindings?: Record<string, {
547
- roleKey: string;
548
547
  kind: "assistant" | "runtime_binding" | "human" | "service";
548
+ roleKey: string;
549
549
  selectionKey: string;
550
550
  requiredCapabilities?: string[] | undefined;
551
551
  workspaceId?: string | undefined;
@@ -575,16 +575,17 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
575
575
  organizationId: z.ZodNullable<z.ZodString>;
576
576
  projectId: z.ZodString;
577
577
  }, "strict", z.ZodTypeAny, {
578
+ revision: number;
579
+ id: string;
580
+ startedAt: string | null;
578
581
  definition: {
579
582
  templateRef: string;
580
583
  digest: string;
581
584
  };
582
- revision: number;
583
- id: string;
585
+ instanceId: string;
584
586
  tenantId: string;
585
587
  organizationId: string | null;
586
588
  projectId: string;
587
- instanceId: string;
588
589
  triggerKey: string;
589
590
  bindingSnapshot: {
590
591
  templateRef: string;
@@ -595,8 +596,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
595
596
  }>;
596
597
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
597
598
  executorBindings?: Record<string, {
598
- roleKey: string;
599
599
  kind: "assistant" | "runtime_binding" | "human" | "service";
600
+ roleKey: string;
600
601
  selectionKey: string;
601
602
  requiredCapabilities?: string[] | undefined;
602
603
  workspaceId?: string | undefined;
@@ -617,20 +618,20 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
617
618
  events: string[];
618
619
  }[] | undefined;
619
620
  };
620
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
621
- startedAt: string | null;
621
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
622
622
  completedAt: string | null;
623
623
  }, {
624
+ revision: number;
625
+ id: string;
626
+ startedAt: string | null;
624
627
  definition: {
625
628
  templateRef: string;
626
629
  digest: string;
627
630
  };
628
- revision: number;
629
- id: string;
631
+ instanceId: string;
630
632
  tenantId: string;
631
633
  organizationId: string | null;
632
634
  projectId: string;
633
- instanceId: string;
634
635
  triggerKey: string;
635
636
  bindingSnapshot: {
636
637
  templateRef: string;
@@ -641,8 +642,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
641
642
  }>;
642
643
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
643
644
  executorBindings?: Record<string, {
644
- roleKey: string;
645
645
  kind: "assistant" | "runtime_binding" | "human" | "service";
646
+ roleKey: string;
646
647
  selectionKey: string;
647
648
  requiredCapabilities?: string[] | undefined;
648
649
  workspaceId?: string | undefined;
@@ -663,8 +664,7 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
663
664
  events: string[];
664
665
  }[] | undefined;
665
666
  };
666
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
667
- startedAt: string | null;
667
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
668
668
  completedAt: string | null;
669
669
  }>;
670
670
  export declare const projectPipelineSubjectVersionSchema: z.ZodObject<{
@@ -714,17 +714,17 @@ export declare const projectPipelineNodeStateSchema: z.ZodObject<{
714
714
  freshness: z.ZodEnum<["current", "superseded"]>;
715
715
  runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
716
716
  }, "strict", z.ZodTypeAny, {
717
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
718
- readiness: "waiting" | "ready" | "blocked";
717
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
718
+ readiness: "blocked" | "waiting" | "ready";
719
719
  applicability: "undetermined" | "selected" | "excluded";
720
720
  freshness: "superseded" | "current";
721
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
721
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
722
722
  }, {
723
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
724
- readiness: "waiting" | "ready" | "blocked";
723
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
724
+ readiness: "blocked" | "waiting" | "ready";
725
725
  applicability: "undetermined" | "selected" | "excluded";
726
726
  freshness: "superseded" | "current";
727
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
727
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
728
728
  }>;
729
729
  export declare const projectPipelineWorkContextSchema: z.ZodObject<{
730
730
  instanceId: z.ZodString;
@@ -783,7 +783,7 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
783
783
  tenantId: string;
784
784
  organizationId: string | null;
785
785
  projectId: string;
786
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
786
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
787
787
  runId: string;
788
788
  inputDigest: string;
789
789
  generation: number;
@@ -800,7 +800,7 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
800
800
  tenantId: string;
801
801
  organizationId: string | null;
802
802
  projectId: string;
803
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
803
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
804
804
  runId: string;
805
805
  inputDigest: string;
806
806
  generation: number;
@@ -827,17 +827,17 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
827
827
  freshness: z.ZodEnum<["current", "superseded"]>;
828
828
  runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
829
829
  }, "strict", z.ZodTypeAny, {
830
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
831
- readiness: "waiting" | "ready" | "blocked";
830
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
831
+ readiness: "blocked" | "waiting" | "ready";
832
832
  applicability: "undetermined" | "selected" | "excluded";
833
833
  freshness: "superseded" | "current";
834
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
834
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
835
835
  }, {
836
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
837
- readiness: "waiting" | "ready" | "blocked";
836
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
837
+ readiness: "blocked" | "waiting" | "ready";
838
838
  applicability: "undetermined" | "selected" | "excluded";
839
839
  freshness: "superseded" | "current";
840
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
840
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
841
841
  }>;
842
842
  taskIds: z.ZodArray<z.ZodString, "many">;
843
843
  evidence: z.ZodArray<z.ZodObject<{
@@ -869,20 +869,20 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
869
869
  organizationId: z.ZodNullable<z.ZodString>;
870
870
  projectId: z.ZodString;
871
871
  }, "strict", z.ZodTypeAny, {
872
+ revision: number;
873
+ id: string;
872
874
  nodeKey: string;
873
875
  laneKey: string | null;
874
876
  stageKey: string;
875
- revision: number;
876
- id: string;
877
877
  tenantId: string;
878
878
  organizationId: string | null;
879
879
  projectId: string;
880
880
  state: {
881
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
882
- readiness: "waiting" | "ready" | "blocked";
881
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
882
+ readiness: "blocked" | "waiting" | "ready";
883
883
  applicability: "undetermined" | "selected" | "excluded";
884
884
  freshness: "superseded" | "current";
885
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
885
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
886
886
  };
887
887
  roundId: string;
888
888
  expansionKey: string;
@@ -896,20 +896,20 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
896
896
  producerOperationId?: string | undefined;
897
897
  }[];
898
898
  }, {
899
+ revision: number;
900
+ id: string;
899
901
  nodeKey: string;
900
902
  laneKey: string | null;
901
903
  stageKey: string;
902
- revision: number;
903
- id: string;
904
904
  tenantId: string;
905
905
  organizationId: string | null;
906
906
  projectId: string;
907
907
  state: {
908
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
909
- readiness: "waiting" | "ready" | "blocked";
908
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
909
+ readiness: "blocked" | "waiting" | "ready";
910
910
  applicability: "undetermined" | "selected" | "excluded";
911
911
  freshness: "superseded" | "current";
912
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
912
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
913
913
  };
914
914
  roundId: string;
915
915
  expansionKey: string;