@xpert-ai/contracts 3.35.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +1165 -805
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +1140 -801
  10. package/package.json +18 -2
  11. package/src/agent-plugin.d.ts +4 -29
  12. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  13. package/src/ai/agent-runtime.model.d.ts +4 -4
  14. package/src/ai/assistant-capability.model.d.ts +0 -1
  15. package/src/ai/assistant-template-manifest.model.d.ts +272 -308
  16. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  17. package/src/ai/assistant-template.model.d.ts +0 -4
  18. package/src/ai/bosi.model.d.ts +1 -1
  19. package/src/ai/chat-activity.model.d.ts +13 -0
  20. package/src/ai/chat-message.model.d.ts +0 -11
  21. package/src/ai/chat.model.d.ts +3 -0
  22. package/src/ai/cli-execution.model.d.ts +88 -0
  23. package/src/ai/conversation-trail.model.d.ts +274 -274
  24. package/src/ai/copilot-store.model.d.ts +0 -13
  25. package/src/ai/evolution/entities.d.ts +164 -0
  26. package/src/ai/evolution/evaluation.d.ts +7 -0
  27. package/src/ai/evolution/execution-review.d.ts +68 -0
  28. package/src/ai/evolution/index.d.ts +2 -0
  29. package/src/ai/evolution/provider.d.ts +1 -0
  30. package/src/ai/evolution/target.d.ts +5 -0
  31. package/src/ai/execution-activity.model.d.ts +362 -362
  32. package/src/ai/execution-control-evidence.schema.d.ts +26 -26
  33. package/src/ai/execution-observability.model.d.ts +160 -160
  34. package/src/ai/execution-source.model.d.ts +45 -0
  35. package/src/ai/index.d.ts +2 -0
  36. package/src/ai/middleware.model.d.ts +1 -0
  37. package/src/ai/model-execution.model.d.ts +5 -108
  38. package/src/ai/model-replacement.model.d.ts +12 -12
  39. package/src/ai/project-configuration-view.model.d.ts +1 -0
  40. package/src/ai/project-pipeline/analytics.d.ts +288 -288
  41. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  42. package/src/ai/project-pipeline/commands.schema.d.ts +519 -476
  43. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  44. package/src/ai/project-pipeline/configuration-form.d.ts +1903 -1759
  45. package/src/ai/project-pipeline/configuration.schema.d.ts +425 -388
  46. package/src/ai/project-pipeline/contribution.schema.d.ts +764 -612
  47. package/src/ai/project-pipeline/definition.schema.d.ts +382 -338
  48. package/src/ai/project-pipeline/execution-statistics.d.ts +30 -30
  49. package/src/ai/project-pipeline/graph.model.d.ts +7 -2
  50. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  51. package/src/ai/project-pipeline/index.d.ts +1 -0
  52. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  53. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  54. package/src/ai/project-pipeline/operation.schema.d.ts +378 -378
  55. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  56. package/src/ai/project-pipeline/portfolio.schema.d.ts +684 -684
  57. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  58. package/src/ai/project-pipeline/projection.schema.d.ts +674 -637
  59. package/src/ai/project-pipeline/provider-actions.schema.d.ts +120 -120
  60. package/src/ai/project-pipeline/queue-statistics.d.ts +34 -34
  61. package/src/ai/project-pipeline/runtime.schema.d.ts +89 -89
  62. package/src/ai/project-pipeline/statistics.d.ts +142 -142
  63. package/src/ai/project-task-runtime.model.d.ts +265 -789
  64. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  65. package/src/ai/template-installation.model.d.ts +13 -13
  66. package/src/ai/template-lifecycle.model.d.ts +4 -4
  67. package/src/ai/xpert-agent-execution.model.d.ts +33 -0
  68. package/src/ai/xpert-project.model.d.ts +2 -1
  69. package/src/ai/xpert-tool.model.d.ts +12 -0
  70. package/src/ai/xpert.model.d.ts +0 -34
  71. package/src/ai/xpert.utils.d.ts +0 -1
  72. package/src/always-on/agent-event.model.d.ts +121 -0
  73. package/src/always-on/agent-event.schema.d.ts +139 -0
  74. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  75. package/src/always-on/agent-output.model.d.ts +411 -0
  76. package/src/always-on/human-decision.model.d.ts +204 -0
  77. package/src/always-on/index.d.ts +3 -0
  78. package/src/always-on/output-workbench.schema.d.ts +154 -0
  79. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  80. package/src/analytics/analytics-certification.model.d.ts +17 -0
  81. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  82. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  83. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  84. package/src/analytics/index.d.ts +7 -0
  85. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  86. package/src/app-platform.d.ts +14 -14
  87. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  88. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  89. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  90. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  91. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +4 -2
  92. package/src/artifacts/index.d.ts +5 -0
  93. package/src/collaboration.model.d.ts +31 -11
  94. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  95. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +7 -3
  96. package/src/content/content-transfer.model.d.ts +21 -0
  97. package/src/content/index.d.ts +4 -0
  98. package/src/execution-control-admission.schema.d.ts +2 -2
  99. package/src/icon-definition.schema.d.ts +6 -10
  100. package/src/index.d.ts +5 -14
  101. package/src/secret-token.model.d.ts +4 -4
  102. package/src/user-notification.schema.d.ts +1300 -471
  103. package/src/view-extension/client-commands.d.ts +24 -0
  104. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  105. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -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,14 @@ 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
+ organizationId: string | null;
185
+ projectId: string;
186
+ id: string;
183
187
  definition: {
184
188
  templateRef: string;
185
189
  digest: string;
186
190
  };
187
- revision: number;
188
191
  configuration: {
189
192
  templateRef: string;
190
193
  roleBindings: Record<string, {
@@ -194,8 +197,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
194
197
  }>;
195
198
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
196
199
  executorBindings?: Record<string, {
197
- roleKey: string;
198
200
  kind: "assistant" | "runtime_binding" | "human" | "service";
201
+ roleKey: string;
199
202
  selectionKey: string;
200
203
  requiredCapabilities?: string[] | undefined;
201
204
  workspaceId?: string | undefined;
@@ -216,16 +219,16 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
216
219
  events: string[];
217
220
  }[] | undefined;
218
221
  };
219
- id: string;
220
222
  tenantId: string;
223
+ }, {
224
+ revision: number;
221
225
  organizationId: string | null;
222
226
  projectId: string;
223
- }, {
227
+ id: string;
224
228
  definition: {
225
229
  templateRef: string;
226
230
  digest: string;
227
231
  };
228
- revision: number;
229
232
  configuration: {
230
233
  templateRef: string;
231
234
  roleBindings: Record<string, {
@@ -235,8 +238,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
235
238
  }>;
236
239
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
237
240
  executorBindings?: Record<string, {
238
- roleKey: string;
239
241
  kind: "assistant" | "runtime_binding" | "human" | "service";
242
+ roleKey: string;
240
243
  selectionKey: string;
241
244
  requiredCapabilities?: string[] | undefined;
242
245
  workspaceId?: string | undefined;
@@ -257,10 +260,7 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
257
260
  events: string[];
258
261
  }[] | undefined;
259
262
  };
260
- id: string;
261
263
  tenantId: string;
262
- organizationId: string | null;
263
- projectId: string;
264
264
  }>;
265
265
  export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"executionAuthority", [z.ZodObject<{
266
266
  executionAuthority: z.ZodLiteral<"provider">;
@@ -296,34 +296,34 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
296
296
  resolverRef: string;
297
297
  objectKey: string;
298
298
  };
299
+ revision: number;
300
+ organizationId: string | null;
301
+ projectId: string;
302
+ id: string;
299
303
  executionAuthority: "provider";
300
304
  providerRef: string;
301
305
  definition: {
302
306
  templateRef: string;
303
307
  digest: string;
304
308
  };
305
- revision: number;
306
- id: string;
307
309
  tenantId: string;
308
- organizationId: string | null;
309
- projectId: string;
310
310
  sourceKey: string;
311
311
  }, {
312
312
  subject: {
313
313
  resolverRef: string;
314
314
  objectKey: string;
315
315
  };
316
+ revision: number;
317
+ organizationId: string | null;
318
+ projectId: string;
319
+ id: string;
316
320
  executionAuthority: "provider";
317
321
  providerRef: string;
318
322
  definition: {
319
323
  templateRef: string;
320
324
  digest: string;
321
325
  };
322
- revision: number;
323
- id: string;
324
326
  tenantId: string;
325
- organizationId: string | null;
326
- projectId: string;
327
327
  sourceKey: string;
328
328
  }>, z.ZodObject<{
329
329
  executionAuthority: z.ZodLiteral<"platform">;
@@ -359,16 +359,16 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
359
359
  resolverRef: string;
360
360
  objectKey: string;
361
361
  };
362
+ revision: number;
363
+ organizationId: string | null;
364
+ projectId: string;
365
+ id: string;
362
366
  executionAuthority: "platform";
363
367
  definition: {
364
368
  templateRef: string;
365
369
  digest: string;
366
370
  };
367
- revision: number;
368
- id: string;
369
371
  tenantId: string;
370
- organizationId: string | null;
371
- projectId: string;
372
372
  sourceKey: string;
373
373
  bindingId: string;
374
374
  }, {
@@ -376,16 +376,16 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
376
376
  resolverRef: string;
377
377
  objectKey: string;
378
378
  };
379
+ revision: number;
380
+ organizationId: string | null;
381
+ projectId: string;
382
+ id: string;
379
383
  executionAuthority: "platform";
380
384
  definition: {
381
385
  templateRef: string;
382
386
  digest: string;
383
387
  };
384
- revision: number;
385
- id: string;
386
388
  tenantId: string;
387
- organizationId: string | null;
388
- projectId: string;
389
389
  sourceKey: string;
390
390
  bindingId: string;
391
391
  }>]>;
@@ -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,18 @@ 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
+ state: "pending" | "failed" | "cancelled" | "superseded" | "waiting" | "cancelling" | "completed" | "active";
580
+ organizationId: string | null;
581
+ projectId: string;
582
+ id: string;
583
+ startedAt: string | null;
578
584
  definition: {
579
585
  templateRef: string;
580
586
  digest: string;
581
587
  };
582
588
  instanceId: string;
583
- revision: number;
584
- id: string;
585
589
  tenantId: string;
586
- organizationId: string | null;
587
- projectId: string;
588
590
  triggerKey: string;
589
591
  bindingSnapshot: {
590
592
  templateRef: string;
@@ -595,8 +597,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
595
597
  }>;
596
598
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
597
599
  executorBindings?: Record<string, {
598
- roleKey: string;
599
600
  kind: "assistant" | "runtime_binding" | "human" | "service";
601
+ roleKey: string;
600
602
  selectionKey: string;
601
603
  requiredCapabilities?: string[] | undefined;
602
604
  workspaceId?: string | undefined;
@@ -617,20 +619,20 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
617
619
  events: string[];
618
620
  }[] | undefined;
619
621
  };
620
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
621
- startedAt: string | null;
622
622
  completedAt: string | null;
623
623
  }, {
624
+ revision: number;
625
+ state: "pending" | "failed" | "cancelled" | "superseded" | "waiting" | "cancelling" | "completed" | "active";
626
+ organizationId: string | null;
627
+ projectId: string;
628
+ id: string;
629
+ startedAt: string | null;
624
630
  definition: {
625
631
  templateRef: string;
626
632
  digest: string;
627
633
  };
628
634
  instanceId: string;
629
- revision: number;
630
- id: string;
631
635
  tenantId: string;
632
- organizationId: string | null;
633
- projectId: string;
634
636
  triggerKey: string;
635
637
  bindingSnapshot: {
636
638
  templateRef: string;
@@ -641,8 +643,8 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
641
643
  }>;
642
644
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
643
645
  executorBindings?: Record<string, {
644
- roleKey: string;
645
646
  kind: "assistant" | "runtime_binding" | "human" | "service";
647
+ roleKey: string;
646
648
  selectionKey: string;
647
649
  requiredCapabilities?: string[] | undefined;
648
650
  workspaceId?: string | undefined;
@@ -663,8 +665,6 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
663
665
  events: string[];
664
666
  }[] | undefined;
665
667
  };
666
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
667
- startedAt: string | null;
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" | "cancelled" | "completed" | "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" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
722
722
  }, {
723
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
724
- readiness: "waiting" | "ready" | "blocked";
723
+ lifecycle: "pending" | "failed" | "cancelled" | "completed" | "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" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
728
728
  }>;
729
729
  export declare const projectPipelineWorkContextSchema: z.ZodObject<{
730
730
  instanceId: z.ZodString;
@@ -779,11 +779,11 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
779
779
  organizationId: z.ZodNullable<z.ZodString>;
780
780
  projectId: z.ZodString;
781
781
  }, "strict", z.ZodTypeAny, {
782
- id: string;
783
- tenantId: string;
782
+ state: "failed" | "cancelled" | "superseded" | "completed" | "active" | "awaiting_new_subject";
784
783
  organizationId: string | null;
785
784
  projectId: string;
786
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
785
+ id: string;
786
+ tenantId: string;
787
787
  runId: string;
788
788
  inputDigest: string;
789
789
  generation: number;
@@ -796,11 +796,11 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
796
796
  }[];
797
797
  supersedes: string | null;
798
798
  }, {
799
- id: string;
800
- tenantId: string;
799
+ state: "failed" | "cancelled" | "superseded" | "completed" | "active" | "awaiting_new_subject";
801
800
  organizationId: string | null;
802
801
  projectId: string;
803
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
802
+ id: string;
803
+ tenantId: string;
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" | "cancelled" | "completed" | "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" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
835
835
  }, {
836
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
837
- readiness: "waiting" | "ready" | "blocked";
836
+ lifecycle: "pending" | "failed" | "cancelled" | "completed" | "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" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
841
841
  }>;
842
842
  taskIds: z.ZodArray<z.ZodString, "many">;
843
843
  evidence: z.ZodArray<z.ZodObject<{
@@ -869,21 +869,21 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
869
869
  organizationId: z.ZodNullable<z.ZodString>;
870
870
  projectId: z.ZodString;
871
871
  }, "strict", z.ZodTypeAny, {
872
- nodeKey: string;
873
- laneKey: string | null;
874
- stageKey: string;
875
872
  revision: number;
876
- id: string;
877
- tenantId: string;
878
- organizationId: string | null;
879
- projectId: string;
880
873
  state: {
881
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
882
- readiness: "waiting" | "ready" | "blocked";
874
+ lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
875
+ readiness: "blocked" | "waiting" | "ready";
883
876
  applicability: "undetermined" | "selected" | "excluded";
884
877
  freshness: "superseded" | "current";
885
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
878
+ runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
886
879
  };
880
+ organizationId: string | null;
881
+ projectId: string;
882
+ id: string;
883
+ nodeKey: string;
884
+ laneKey: string | null;
885
+ stageKey: string;
886
+ tenantId: string;
887
887
  roundId: string;
888
888
  expansionKey: string;
889
889
  taskIds: string[];
@@ -896,21 +896,21 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
896
896
  producerOperationId?: string | undefined;
897
897
  }[];
898
898
  }, {
899
- nodeKey: string;
900
- laneKey: string | null;
901
- stageKey: string;
902
899
  revision: number;
903
- id: string;
904
- tenantId: string;
905
- organizationId: string | null;
906
- projectId: string;
907
900
  state: {
908
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
909
- readiness: "waiting" | "ready" | "blocked";
901
+ lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
902
+ readiness: "blocked" | "waiting" | "ready";
910
903
  applicability: "undetermined" | "selected" | "excluded";
911
904
  freshness: "superseded" | "current";
912
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
905
+ runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
913
906
  };
907
+ organizationId: string | null;
908
+ projectId: string;
909
+ id: string;
910
+ nodeKey: string;
911
+ laneKey: string | null;
912
+ stageKey: string;
913
+ tenantId: string;
914
914
  roundId: string;
915
915
  expansionKey: string;
916
916
  taskIds: string[];