@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
@@ -60,14 +60,14 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
60
60
  order: z.ZodNumber;
61
61
  }, "strict", z.ZodTypeAny, {
62
62
  key: string;
63
+ order: number;
63
64
  roleKey: string;
64
65
  label: string;
65
- order: number;
66
66
  }, {
67
67
  key: string;
68
+ order: number;
68
69
  roleKey: string;
69
70
  label: string;
70
- order: number;
71
71
  }>, "many">;
72
72
  stages: z.ZodArray<z.ZodObject<{
73
73
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -76,13 +76,13 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
76
76
  order: z.ZodNumber;
77
77
  }, "strict", z.ZodTypeAny, {
78
78
  key: string;
79
- label: string;
80
79
  order: number;
80
+ label: string;
81
81
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
82
82
  }, {
83
83
  key: string;
84
- label: string;
85
84
  order: number;
85
+ label: string;
86
86
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
87
87
  }>, "many">;
88
88
  presentation: z.ZodOptional<z.ZodObject<{
@@ -110,14 +110,20 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
110
110
  }>>;
111
111
  }, "strict", z.ZodTypeAny, {
112
112
  key: string;
113
+ title: string;
114
+ version: string;
115
+ lanes: {
116
+ key: string;
117
+ order: number;
118
+ roleKey: string;
119
+ label: string;
120
+ }[];
113
121
  executionAuthority: "provider";
114
122
  providerRef: string;
115
123
  topology: {
116
124
  source: "provider";
117
125
  presentationAdapterRef: string;
118
126
  };
119
- version: string;
120
- title: string;
121
127
  projectTypes: {
122
128
  applicationKey: string;
123
129
  projectTypeKey: string;
@@ -127,42 +133,42 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
127
133
  key: string;
128
134
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
129
135
  }[];
130
- lanes: {
131
- key: string;
132
- roleKey: string;
133
- label: string;
134
- order: number;
135
- }[];
136
136
  stages: {
137
137
  key: string;
138
- label: string;
139
138
  order: number;
139
+ label: string;
140
140
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
141
141
  }[];
142
- actionRefs?: string[] | undefined;
143
- hostRequirements?: {
144
- protocol: number;
145
- features: Record<string, number>;
146
- } | undefined;
147
142
  presentation?: {
148
143
  views: ("tasks" | "pipeline" | "agent_timeline")[];
149
144
  nodeDetailRef?: string | undefined;
150
145
  evidenceTypes?: string[] | undefined;
151
146
  } | undefined;
147
+ actionRefs?: string[] | undefined;
148
+ hostRequirements?: {
149
+ protocol: number;
150
+ features: Record<string, number>;
151
+ } | undefined;
152
152
  metrics?: {
153
153
  dimensionRefs: string[];
154
154
  metricRefs: string[];
155
155
  } | undefined;
156
156
  }, {
157
157
  key: string;
158
+ title: string;
159
+ version: string;
160
+ lanes: {
161
+ key: string;
162
+ order: number;
163
+ roleKey: string;
164
+ label: string;
165
+ }[];
158
166
  executionAuthority: "provider";
159
167
  providerRef: string;
160
168
  topology: {
161
169
  source: "provider";
162
170
  presentationAdapterRef: string;
163
171
  };
164
- version: string;
165
- title: string;
166
172
  projectTypes: {
167
173
  applicationKey: string;
168
174
  projectTypeKey: string;
@@ -172,28 +178,22 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
172
178
  key: string;
173
179
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
174
180
  }[];
175
- lanes: {
176
- key: string;
177
- roleKey: string;
178
- label: string;
179
- order: number;
180
- }[];
181
181
  stages: {
182
182
  key: string;
183
- label: string;
184
183
  order: number;
184
+ label: string;
185
185
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
186
186
  }[];
187
- actionRefs?: string[] | undefined;
188
- hostRequirements?: {
189
- protocol: number;
190
- features: Record<string, number>;
191
- } | undefined;
192
187
  presentation?: {
193
188
  views: ("tasks" | "pipeline" | "agent_timeline")[];
194
189
  nodeDetailRef?: string | undefined;
195
190
  evidenceTypes?: string[] | undefined;
196
191
  } | undefined;
192
+ actionRefs?: string[] | undefined;
193
+ hostRequirements?: {
194
+ protocol: number;
195
+ features: Record<string, number>;
196
+ } | undefined;
197
197
  metrics?: {
198
198
  dimensionRefs: string[];
199
199
  metricRefs: string[];
@@ -210,6 +210,13 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
210
210
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
211
211
  kind: z.ZodLiteral<"work">;
212
212
  laneKey: z.ZodEffects<z.ZodString, string, string>;
213
+ presentation: z.ZodOptional<z.ZodObject<{
214
+ foldIntoApproval: z.ZodEffects<z.ZodString, string, string>;
215
+ }, "strict", z.ZodTypeAny, {
216
+ foldIntoApproval: string;
217
+ }, {
218
+ foldIntoApproval: string;
219
+ }>>;
213
220
  operationRef: z.ZodString;
214
221
  executorSlot: z.ZodEffects<z.ZodString, string, string>;
215
222
  completionRef: z.ZodString;
@@ -261,29 +268,32 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
261
268
  port: string;
262
269
  }>, "many">;
263
270
  }, "strict", z.ZodTypeAny, {
264
- from: "collection";
265
271
  items: {
266
272
  from: "node_output";
267
273
  nodeKey: string;
268
274
  port: string;
269
275
  }[];
270
- }, {
271
276
  from: "collection";
277
+ }, {
272
278
  items: {
273
279
  from: "node_output";
274
280
  nodeKey: string;
275
281
  port: string;
276
282
  }[];
283
+ from: "collection";
277
284
  }>]>>>;
278
285
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
279
286
  }, "strict", z.ZodTypeAny, {
280
- key: string;
281
287
  kind: "work";
288
+ key: string;
282
289
  laneKey: string;
283
290
  operationRef: string;
284
291
  executorSlot: string;
285
292
  completionRef: string;
286
293
  stageKey: string;
294
+ presentation?: {
295
+ foldIntoApproval: string;
296
+ } | undefined;
287
297
  label?: string | undefined;
288
298
  resourceResolverRef?: string | undefined;
289
299
  outputSchemaRef?: string | undefined;
@@ -297,22 +307,25 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
297
307
  key: string;
298
308
  from: "parameter";
299
309
  } | {
300
- from: "collection";
301
310
  items: {
302
311
  from: "node_output";
303
312
  nodeKey: string;
304
313
  port: string;
305
314
  }[];
315
+ from: "collection";
306
316
  }> | undefined;
307
317
  outputPorts?: Record<string, string> | undefined;
308
318
  }, {
309
- key: string;
310
319
  kind: "work";
320
+ key: string;
311
321
  laneKey: string;
312
322
  operationRef: string;
313
323
  executorSlot: string;
314
324
  completionRef: string;
315
325
  stageKey: string;
326
+ presentation?: {
327
+ foldIntoApproval: string;
328
+ } | undefined;
316
329
  label?: string | undefined;
317
330
  resourceResolverRef?: string | undefined;
318
331
  outputSchemaRef?: string | undefined;
@@ -326,12 +339,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
326
339
  key: string;
327
340
  from: "parameter";
328
341
  } | {
329
- from: "collection";
330
342
  items: {
331
343
  from: "node_output";
332
344
  nodeKey: string;
333
345
  port: string;
334
346
  }[];
347
+ from: "collection";
335
348
  }> | undefined;
336
349
  outputPorts?: Record<string, string> | undefined;
337
350
  }>, z.ZodObject<{
@@ -382,24 +395,24 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
382
395
  port: string;
383
396
  }>, "many">;
384
397
  }, "strict", z.ZodTypeAny, {
385
- from: "collection";
386
398
  items: {
387
399
  from: "node_output";
388
400
  nodeKey: string;
389
401
  port: string;
390
402
  }[];
391
- }, {
392
403
  from: "collection";
404
+ }, {
393
405
  items: {
394
406
  from: "node_output";
395
407
  nodeKey: string;
396
408
  port: string;
397
409
  }[];
410
+ from: "collection";
398
411
  }>]>>>;
399
412
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
400
413
  }, "strict", z.ZodTypeAny, {
401
- key: string;
402
414
  kind: "fork";
415
+ key: string;
403
416
  stageKey: string;
404
417
  label?: string | undefined;
405
418
  inputBindings?: Record<string, {
@@ -412,17 +425,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
412
425
  key: string;
413
426
  from: "parameter";
414
427
  } | {
415
- from: "collection";
416
428
  items: {
417
429
  from: "node_output";
418
430
  nodeKey: string;
419
431
  port: string;
420
432
  }[];
433
+ from: "collection";
421
434
  }> | undefined;
422
435
  outputPorts?: Record<string, string> | undefined;
423
436
  }, {
424
- key: string;
425
437
  kind: "fork";
438
+ key: string;
426
439
  stageKey: string;
427
440
  label?: string | undefined;
428
441
  inputBindings?: Record<string, {
@@ -435,12 +448,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
435
448
  key: string;
436
449
  from: "parameter";
437
450
  } | {
438
- from: "collection";
439
451
  items: {
440
452
  from: "node_output";
441
453
  nodeKey: string;
442
454
  port: string;
443
455
  }[];
456
+ from: "collection";
444
457
  }> | undefined;
445
458
  outputPorts?: Record<string, string> | undefined;
446
459
  }>, z.ZodObject<{
@@ -501,28 +514,28 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
501
514
  port: string;
502
515
  }>, "many">;
503
516
  }, "strict", z.ZodTypeAny, {
504
- from: "collection";
505
517
  items: {
506
518
  from: "node_output";
507
519
  nodeKey: string;
508
520
  port: string;
509
521
  }[];
510
- }, {
511
522
  from: "collection";
523
+ }, {
512
524
  items: {
513
525
  from: "node_output";
514
526
  nodeKey: string;
515
527
  port: string;
516
528
  }[];
529
+ from: "collection";
517
530
  }>]>>>;
518
531
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
519
532
  }, "strict", z.ZodTypeAny, {
533
+ kind: "join";
534
+ key: string;
520
535
  join: {
521
536
  mode: "all_selected";
522
537
  accept: "completed";
523
538
  };
524
- key: string;
525
- kind: "join";
526
539
  stageKey: string;
527
540
  label?: string | undefined;
528
541
  inputBindings?: Record<string, {
@@ -535,21 +548,21 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
535
548
  key: string;
536
549
  from: "parameter";
537
550
  } | {
538
- from: "collection";
539
551
  items: {
540
552
  from: "node_output";
541
553
  nodeKey: string;
542
554
  port: string;
543
555
  }[];
556
+ from: "collection";
544
557
  }> | undefined;
545
558
  outputPorts?: Record<string, string> | undefined;
546
559
  }, {
560
+ kind: "join";
561
+ key: string;
547
562
  join: {
548
563
  mode: "all_selected";
549
564
  accept: "completed";
550
565
  };
551
- key: string;
552
- kind: "join";
553
566
  stageKey: string;
554
567
  label?: string | undefined;
555
568
  inputBindings?: Record<string, {
@@ -562,12 +575,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
562
575
  key: string;
563
576
  from: "parameter";
564
577
  } | {
565
- from: "collection";
566
578
  items: {
567
579
  from: "node_output";
568
580
  nodeKey: string;
569
581
  port: string;
570
582
  }[];
583
+ from: "collection";
571
584
  }> | undefined;
572
585
  outputPorts?: Record<string, string> | undefined;
573
586
  }>, z.ZodObject<{
@@ -621,24 +634,24 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
621
634
  port: string;
622
635
  }>, "many">;
623
636
  }, "strict", z.ZodTypeAny, {
624
- from: "collection";
625
637
  items: {
626
638
  from: "node_output";
627
639
  nodeKey: string;
628
640
  port: string;
629
641
  }[];
630
- }, {
631
642
  from: "collection";
643
+ }, {
632
644
  items: {
633
645
  from: "node_output";
634
646
  nodeKey: string;
635
647
  port: string;
636
648
  }[];
649
+ from: "collection";
637
650
  }>]>>>;
638
651
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
639
652
  }, "strict", z.ZodTypeAny, {
640
- key: string;
641
653
  kind: "router";
654
+ key: string;
642
655
  stageKey: string;
643
656
  policyRef: string;
644
657
  outcomes: string[];
@@ -654,17 +667,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
654
667
  key: string;
655
668
  from: "parameter";
656
669
  } | {
657
- from: "collection";
658
670
  items: {
659
671
  from: "node_output";
660
672
  nodeKey: string;
661
673
  port: string;
662
674
  }[];
675
+ from: "collection";
663
676
  }> | undefined;
664
677
  outputPorts?: Record<string, string> | undefined;
665
678
  }, {
666
- key: string;
667
679
  kind: "router";
680
+ key: string;
668
681
  stageKey: string;
669
682
  policyRef: string;
670
683
  outcomes: string[];
@@ -680,12 +693,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
680
693
  key: string;
681
694
  from: "parameter";
682
695
  } | {
683
- from: "collection";
684
696
  items: {
685
697
  from: "node_output";
686
698
  nodeKey: string;
687
699
  port: string;
688
700
  }[];
701
+ from: "collection";
689
702
  }> | undefined;
690
703
  outputPorts?: Record<string, string> | undefined;
691
704
  }>, z.ZodObject<{
@@ -741,24 +754,24 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
741
754
  port: string;
742
755
  }>, "many">;
743
756
  }, "strict", z.ZodTypeAny, {
744
- from: "collection";
745
757
  items: {
746
758
  from: "node_output";
747
759
  nodeKey: string;
748
760
  port: string;
749
761
  }[];
750
- }, {
751
762
  from: "collection";
763
+ }, {
752
764
  items: {
753
765
  from: "node_output";
754
766
  nodeKey: string;
755
767
  port: string;
756
768
  }[];
769
+ from: "collection";
757
770
  }>]>>>;
758
771
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
759
772
  }, "strict", z.ZodTypeAny, {
760
- key: string;
761
773
  kind: "human_gate";
774
+ key: string;
762
775
  laneKey: string;
763
776
  stageKey: string;
764
777
  policyRef: string;
@@ -775,18 +788,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
775
788
  key: string;
776
789
  from: "parameter";
777
790
  } | {
778
- from: "collection";
779
791
  items: {
780
792
  from: "node_output";
781
793
  nodeKey: string;
782
794
  port: string;
783
795
  }[];
796
+ from: "collection";
784
797
  }> | undefined;
785
798
  outputPorts?: Record<string, string> | undefined;
786
799
  outcomeLabels?: Record<string, string> | undefined;
787
800
  }, {
788
- key: string;
789
801
  kind: "human_gate";
802
+ key: string;
790
803
  laneKey: string;
791
804
  stageKey: string;
792
805
  policyRef: string;
@@ -803,12 +816,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
803
816
  key: string;
804
817
  from: "parameter";
805
818
  } | {
806
- from: "collection";
807
819
  items: {
808
820
  from: "node_output";
809
821
  nodeKey: string;
810
822
  port: string;
811
823
  }[];
824
+ from: "collection";
812
825
  }> | undefined;
813
826
  outputPorts?: Record<string, string> | undefined;
814
827
  outcomeLabels?: Record<string, string> | undefined;
@@ -862,24 +875,24 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
862
875
  port: string;
863
876
  }>, "many">;
864
877
  }, "strict", z.ZodTypeAny, {
865
- from: "collection";
866
878
  items: {
867
879
  from: "node_output";
868
880
  nodeKey: string;
869
881
  port: string;
870
882
  }[];
871
- }, {
872
883
  from: "collection";
884
+ }, {
873
885
  items: {
874
886
  from: "node_output";
875
887
  nodeKey: string;
876
888
  port: string;
877
889
  }[];
890
+ from: "collection";
878
891
  }>]>>>;
879
892
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
880
893
  }, "strict", z.ZodTypeAny, {
881
- key: string;
882
894
  kind: "external_wait";
895
+ key: string;
883
896
  laneKey: string;
884
897
  stageKey: string;
885
898
  subscriptionRef: string;
@@ -894,17 +907,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
894
907
  key: string;
895
908
  from: "parameter";
896
909
  } | {
897
- from: "collection";
898
910
  items: {
899
911
  from: "node_output";
900
912
  nodeKey: string;
901
913
  port: string;
902
914
  }[];
915
+ from: "collection";
903
916
  }> | undefined;
904
917
  outputPorts?: Record<string, string> | undefined;
905
918
  }, {
906
- key: string;
907
919
  kind: "external_wait";
920
+ key: string;
908
921
  laneKey: string;
909
922
  stageKey: string;
910
923
  subscriptionRef: string;
@@ -919,12 +932,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
919
932
  key: string;
920
933
  from: "parameter";
921
934
  } | {
922
- from: "collection";
923
935
  items: {
924
936
  from: "node_output";
925
937
  nodeKey: string;
926
938
  port: string;
927
939
  }[];
940
+ from: "collection";
928
941
  }> | undefined;
929
942
  outputPorts?: Record<string, string> | undefined;
930
943
  }>, z.ZodObject<{
@@ -977,25 +990,25 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
977
990
  port: string;
978
991
  }>, "many">;
979
992
  }, "strict", z.ZodTypeAny, {
980
- from: "collection";
981
993
  items: {
982
994
  from: "node_output";
983
995
  nodeKey: string;
984
996
  port: string;
985
997
  }[];
986
- }, {
987
998
  from: "collection";
999
+ }, {
988
1000
  items: {
989
1001
  from: "node_output";
990
1002
  nodeKey: string;
991
1003
  port: string;
992
1004
  }[];
1005
+ from: "collection";
993
1006
  }>]>>>;
994
1007
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
995
1008
  }, "strict", z.ZodTypeAny, {
1009
+ kind: "terminal";
996
1010
  key: string;
997
1011
  outcome: string;
998
- kind: "terminal";
999
1012
  stageKey: string;
1000
1013
  label?: string | undefined;
1001
1014
  inputBindings?: Record<string, {
@@ -1008,19 +1021,19 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1008
1021
  key: string;
1009
1022
  from: "parameter";
1010
1023
  } | {
1011
- from: "collection";
1012
1024
  items: {
1013
1025
  from: "node_output";
1014
1026
  nodeKey: string;
1015
1027
  port: string;
1016
1028
  }[];
1029
+ from: "collection";
1017
1030
  }> | undefined;
1018
1031
  outputPorts?: Record<string, string> | undefined;
1019
1032
  disposition?: "complete" | "await_new_subject" | undefined;
1020
1033
  }, {
1034
+ kind: "terminal";
1021
1035
  key: string;
1022
1036
  outcome: string;
1023
- kind: "terminal";
1024
1037
  stageKey: string;
1025
1038
  label?: string | undefined;
1026
1039
  inputBindings?: Record<string, {
@@ -1033,12 +1046,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1033
1046
  key: string;
1034
1047
  from: "parameter";
1035
1048
  } | {
1036
- from: "collection";
1037
1049
  items: {
1038
1050
  from: "node_output";
1039
1051
  nodeKey: string;
1040
1052
  port: string;
1041
1053
  }[];
1054
+ from: "collection";
1042
1055
  }> | undefined;
1043
1056
  outputPorts?: Record<string, string> | undefined;
1044
1057
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1135,14 +1148,14 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1135
1148
  order: z.ZodNumber;
1136
1149
  }, "strict", z.ZodTypeAny, {
1137
1150
  key: string;
1151
+ order: number;
1138
1152
  roleKey: string;
1139
1153
  label: string;
1140
- order: number;
1141
1154
  }, {
1142
1155
  key: string;
1156
+ order: number;
1143
1157
  roleKey: string;
1144
1158
  label: string;
1145
- order: number;
1146
1159
  }>, "many">;
1147
1160
  stages: z.ZodArray<z.ZodObject<{
1148
1161
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -1151,13 +1164,13 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1151
1164
  order: z.ZodNumber;
1152
1165
  }, "strict", z.ZodTypeAny, {
1153
1166
  key: string;
1154
- label: string;
1155
1167
  order: number;
1168
+ label: string;
1156
1169
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1157
1170
  }, {
1158
1171
  key: string;
1159
- label: string;
1160
1172
  order: number;
1173
+ label: string;
1161
1174
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1162
1175
  }>, "many">;
1163
1176
  presentation: z.ZodOptional<z.ZodObject<{
@@ -1185,12 +1198,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1185
1198
  }>>;
1186
1199
  }, "strict", z.ZodTypeAny, {
1187
1200
  key: string;
1201
+ title: string;
1202
+ version: string;
1203
+ lanes: {
1204
+ key: string;
1205
+ order: number;
1206
+ roleKey: string;
1207
+ label: string;
1208
+ }[];
1188
1209
  executionAuthority: "platform";
1189
1210
  topology: {
1190
1211
  source: "definition";
1191
1212
  };
1192
- version: string;
1193
- title: string;
1194
1213
  projectTypes: {
1195
1214
  applicationKey: string;
1196
1215
  projectTypeKey: string;
@@ -1200,26 +1219,23 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1200
1219
  key: string;
1201
1220
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1202
1221
  }[];
1203
- lanes: {
1204
- key: string;
1205
- roleKey: string;
1206
- label: string;
1207
- order: number;
1208
- }[];
1209
1222
  stages: {
1210
1223
  key: string;
1211
- label: string;
1212
1224
  order: number;
1225
+ label: string;
1213
1226
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1214
1227
  }[];
1215
1228
  nodes: ({
1216
- key: string;
1217
1229
  kind: "work";
1230
+ key: string;
1218
1231
  laneKey: string;
1219
1232
  operationRef: string;
1220
1233
  executorSlot: string;
1221
1234
  completionRef: string;
1222
1235
  stageKey: string;
1236
+ presentation?: {
1237
+ foldIntoApproval: string;
1238
+ } | undefined;
1223
1239
  label?: string | undefined;
1224
1240
  resourceResolverRef?: string | undefined;
1225
1241
  outputSchemaRef?: string | undefined;
@@ -1233,17 +1249,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1233
1249
  key: string;
1234
1250
  from: "parameter";
1235
1251
  } | {
1236
- from: "collection";
1237
1252
  items: {
1238
1253
  from: "node_output";
1239
1254
  nodeKey: string;
1240
1255
  port: string;
1241
1256
  }[];
1257
+ from: "collection";
1242
1258
  }> | undefined;
1243
1259
  outputPorts?: Record<string, string> | undefined;
1244
1260
  } | {
1245
- key: string;
1246
1261
  kind: "fork";
1262
+ key: string;
1247
1263
  stageKey: string;
1248
1264
  label?: string | undefined;
1249
1265
  inputBindings?: Record<string, {
@@ -1256,21 +1272,21 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1256
1272
  key: string;
1257
1273
  from: "parameter";
1258
1274
  } | {
1259
- from: "collection";
1260
1275
  items: {
1261
1276
  from: "node_output";
1262
1277
  nodeKey: string;
1263
1278
  port: string;
1264
1279
  }[];
1280
+ from: "collection";
1265
1281
  }> | undefined;
1266
1282
  outputPorts?: Record<string, string> | undefined;
1267
1283
  } | {
1284
+ kind: "join";
1285
+ key: string;
1268
1286
  join: {
1269
1287
  mode: "all_selected";
1270
1288
  accept: "completed";
1271
1289
  };
1272
- key: string;
1273
- kind: "join";
1274
1290
  stageKey: string;
1275
1291
  label?: string | undefined;
1276
1292
  inputBindings?: Record<string, {
@@ -1283,17 +1299,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1283
1299
  key: string;
1284
1300
  from: "parameter";
1285
1301
  } | {
1286
- from: "collection";
1287
1302
  items: {
1288
1303
  from: "node_output";
1289
1304
  nodeKey: string;
1290
1305
  port: string;
1291
1306
  }[];
1307
+ from: "collection";
1292
1308
  }> | undefined;
1293
1309
  outputPorts?: Record<string, string> | undefined;
1294
1310
  } | {
1295
- key: string;
1296
1311
  kind: "router";
1312
+ key: string;
1297
1313
  stageKey: string;
1298
1314
  policyRef: string;
1299
1315
  outcomes: string[];
@@ -1309,17 +1325,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1309
1325
  key: string;
1310
1326
  from: "parameter";
1311
1327
  } | {
1312
- from: "collection";
1313
1328
  items: {
1314
1329
  from: "node_output";
1315
1330
  nodeKey: string;
1316
1331
  port: string;
1317
1332
  }[];
1333
+ from: "collection";
1318
1334
  }> | undefined;
1319
1335
  outputPorts?: Record<string, string> | undefined;
1320
1336
  } | {
1321
- key: string;
1322
1337
  kind: "human_gate";
1338
+ key: string;
1323
1339
  laneKey: string;
1324
1340
  stageKey: string;
1325
1341
  policyRef: string;
@@ -1336,18 +1352,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1336
1352
  key: string;
1337
1353
  from: "parameter";
1338
1354
  } | {
1339
- from: "collection";
1340
1355
  items: {
1341
1356
  from: "node_output";
1342
1357
  nodeKey: string;
1343
1358
  port: string;
1344
1359
  }[];
1360
+ from: "collection";
1345
1361
  }> | undefined;
1346
1362
  outputPorts?: Record<string, string> | undefined;
1347
1363
  outcomeLabels?: Record<string, string> | undefined;
1348
1364
  } | {
1349
- key: string;
1350
1365
  kind: "external_wait";
1366
+ key: string;
1351
1367
  laneKey: string;
1352
1368
  stageKey: string;
1353
1369
  subscriptionRef: string;
@@ -1362,18 +1378,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1362
1378
  key: string;
1363
1379
  from: "parameter";
1364
1380
  } | {
1365
- from: "collection";
1366
1381
  items: {
1367
1382
  from: "node_output";
1368
1383
  nodeKey: string;
1369
1384
  port: string;
1370
1385
  }[];
1386
+ from: "collection";
1371
1387
  }> | undefined;
1372
1388
  outputPorts?: Record<string, string> | undefined;
1373
1389
  } | {
1390
+ kind: "terminal";
1374
1391
  key: string;
1375
1392
  outcome: string;
1376
- kind: "terminal";
1377
1393
  stageKey: string;
1378
1394
  label?: string | undefined;
1379
1395
  inputBindings?: Record<string, {
@@ -1386,12 +1402,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1386
1402
  key: string;
1387
1403
  from: "parameter";
1388
1404
  } | {
1389
- from: "collection";
1390
1405
  items: {
1391
1406
  from: "node_output";
1392
1407
  nodeKey: string;
1393
1408
  port: string;
1394
1409
  }[];
1410
+ from: "collection";
1395
1411
  }> | undefined;
1396
1412
  outputPorts?: Record<string, string> | undefined;
1397
1413
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1413,27 +1429,33 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1413
1429
  requiredNodeFailure: "block_and_attention";
1414
1430
  unknownExecution: "inspect_without_replay";
1415
1431
  };
1416
- hostRequirements?: {
1417
- protocol: number;
1418
- features: Record<string, number>;
1419
- } | undefined;
1420
1432
  presentation?: {
1421
1433
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1422
1434
  nodeDetailRef?: string | undefined;
1423
1435
  evidenceTypes?: string[] | undefined;
1424
1436
  } | undefined;
1437
+ hostRequirements?: {
1438
+ protocol: number;
1439
+ features: Record<string, number>;
1440
+ } | undefined;
1425
1441
  metrics?: {
1426
1442
  dimensionRefs: string[];
1427
1443
  metricRefs: string[];
1428
1444
  } | undefined;
1429
1445
  }, {
1430
1446
  key: string;
1447
+ title: string;
1448
+ version: string;
1449
+ lanes: {
1450
+ key: string;
1451
+ order: number;
1452
+ roleKey: string;
1453
+ label: string;
1454
+ }[];
1431
1455
  executionAuthority: "platform";
1432
1456
  topology: {
1433
1457
  source: "definition";
1434
1458
  };
1435
- version: string;
1436
- title: string;
1437
1459
  projectTypes: {
1438
1460
  applicationKey: string;
1439
1461
  projectTypeKey: string;
@@ -1443,26 +1465,23 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1443
1465
  key: string;
1444
1466
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1445
1467
  }[];
1446
- lanes: {
1447
- key: string;
1448
- roleKey: string;
1449
- label: string;
1450
- order: number;
1451
- }[];
1452
1468
  stages: {
1453
1469
  key: string;
1454
- label: string;
1455
1470
  order: number;
1471
+ label: string;
1456
1472
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1457
1473
  }[];
1458
1474
  nodes: ({
1459
- key: string;
1460
1475
  kind: "work";
1476
+ key: string;
1461
1477
  laneKey: string;
1462
1478
  operationRef: string;
1463
1479
  executorSlot: string;
1464
1480
  completionRef: string;
1465
1481
  stageKey: string;
1482
+ presentation?: {
1483
+ foldIntoApproval: string;
1484
+ } | undefined;
1466
1485
  label?: string | undefined;
1467
1486
  resourceResolverRef?: string | undefined;
1468
1487
  outputSchemaRef?: string | undefined;
@@ -1476,17 +1495,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1476
1495
  key: string;
1477
1496
  from: "parameter";
1478
1497
  } | {
1479
- from: "collection";
1480
1498
  items: {
1481
1499
  from: "node_output";
1482
1500
  nodeKey: string;
1483
1501
  port: string;
1484
1502
  }[];
1503
+ from: "collection";
1485
1504
  }> | undefined;
1486
1505
  outputPorts?: Record<string, string> | undefined;
1487
1506
  } | {
1488
- key: string;
1489
1507
  kind: "fork";
1508
+ key: string;
1490
1509
  stageKey: string;
1491
1510
  label?: string | undefined;
1492
1511
  inputBindings?: Record<string, {
@@ -1499,21 +1518,21 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1499
1518
  key: string;
1500
1519
  from: "parameter";
1501
1520
  } | {
1502
- from: "collection";
1503
1521
  items: {
1504
1522
  from: "node_output";
1505
1523
  nodeKey: string;
1506
1524
  port: string;
1507
1525
  }[];
1526
+ from: "collection";
1508
1527
  }> | undefined;
1509
1528
  outputPorts?: Record<string, string> | undefined;
1510
1529
  } | {
1530
+ kind: "join";
1531
+ key: string;
1511
1532
  join: {
1512
1533
  mode: "all_selected";
1513
1534
  accept: "completed";
1514
1535
  };
1515
- key: string;
1516
- kind: "join";
1517
1536
  stageKey: string;
1518
1537
  label?: string | undefined;
1519
1538
  inputBindings?: Record<string, {
@@ -1526,17 +1545,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1526
1545
  key: string;
1527
1546
  from: "parameter";
1528
1547
  } | {
1529
- from: "collection";
1530
1548
  items: {
1531
1549
  from: "node_output";
1532
1550
  nodeKey: string;
1533
1551
  port: string;
1534
1552
  }[];
1553
+ from: "collection";
1535
1554
  }> | undefined;
1536
1555
  outputPorts?: Record<string, string> | undefined;
1537
1556
  } | {
1538
- key: string;
1539
1557
  kind: "router";
1558
+ key: string;
1540
1559
  stageKey: string;
1541
1560
  policyRef: string;
1542
1561
  outcomes: string[];
@@ -1552,17 +1571,17 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1552
1571
  key: string;
1553
1572
  from: "parameter";
1554
1573
  } | {
1555
- from: "collection";
1556
1574
  items: {
1557
1575
  from: "node_output";
1558
1576
  nodeKey: string;
1559
1577
  port: string;
1560
1578
  }[];
1579
+ from: "collection";
1561
1580
  }> | undefined;
1562
1581
  outputPorts?: Record<string, string> | undefined;
1563
1582
  } | {
1564
- key: string;
1565
1583
  kind: "human_gate";
1584
+ key: string;
1566
1585
  laneKey: string;
1567
1586
  stageKey: string;
1568
1587
  policyRef: string;
@@ -1579,18 +1598,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1579
1598
  key: string;
1580
1599
  from: "parameter";
1581
1600
  } | {
1582
- from: "collection";
1583
1601
  items: {
1584
1602
  from: "node_output";
1585
1603
  nodeKey: string;
1586
1604
  port: string;
1587
1605
  }[];
1606
+ from: "collection";
1588
1607
  }> | undefined;
1589
1608
  outputPorts?: Record<string, string> | undefined;
1590
1609
  outcomeLabels?: Record<string, string> | undefined;
1591
1610
  } | {
1592
- key: string;
1593
1611
  kind: "external_wait";
1612
+ key: string;
1594
1613
  laneKey: string;
1595
1614
  stageKey: string;
1596
1615
  subscriptionRef: string;
@@ -1605,18 +1624,18 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1605
1624
  key: string;
1606
1625
  from: "parameter";
1607
1626
  } | {
1608
- from: "collection";
1609
1627
  items: {
1610
1628
  from: "node_output";
1611
1629
  nodeKey: string;
1612
1630
  port: string;
1613
1631
  }[];
1632
+ from: "collection";
1614
1633
  }> | undefined;
1615
1634
  outputPorts?: Record<string, string> | undefined;
1616
1635
  } | {
1636
+ kind: "terminal";
1617
1637
  key: string;
1618
1638
  outcome: string;
1619
- kind: "terminal";
1620
1639
  stageKey: string;
1621
1640
  label?: string | undefined;
1622
1641
  inputBindings?: Record<string, {
@@ -1629,12 +1648,12 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1629
1648
  key: string;
1630
1649
  from: "parameter";
1631
1650
  } | {
1632
- from: "collection";
1633
1651
  items: {
1634
1652
  from: "node_output";
1635
1653
  nodeKey: string;
1636
1654
  port: string;
1637
1655
  }[];
1656
+ from: "collection";
1638
1657
  }> | undefined;
1639
1658
  outputPorts?: Record<string, string> | undefined;
1640
1659
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1656,15 +1675,15 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
1656
1675
  requiredNodeFailure: "block_and_attention";
1657
1676
  unknownExecution: "inspect_without_replay";
1658
1677
  };
1659
- hostRequirements?: {
1660
- protocol: number;
1661
- features: Record<string, number>;
1662
- } | undefined;
1663
1678
  presentation?: {
1664
1679
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1665
1680
  nodeDetailRef?: string | undefined;
1666
1681
  evidenceTypes?: string[] | undefined;
1667
1682
  } | undefined;
1683
+ hostRequirements?: {
1684
+ protocol: number;
1685
+ features: Record<string, number>;
1686
+ } | undefined;
1668
1687
  metrics?: {
1669
1688
  dimensionRefs: string[];
1670
1689
  metricRefs: string[];
@@ -1732,14 +1751,14 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1732
1751
  order: z.ZodNumber;
1733
1752
  }, "strict", z.ZodTypeAny, {
1734
1753
  key: string;
1754
+ order: number;
1735
1755
  roleKey: string;
1736
1756
  label: string;
1737
- order: number;
1738
1757
  }, {
1739
1758
  key: string;
1759
+ order: number;
1740
1760
  roleKey: string;
1741
1761
  label: string;
1742
- order: number;
1743
1762
  }>, "many">;
1744
1763
  stages: z.ZodArray<z.ZodObject<{
1745
1764
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -1748,13 +1767,13 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1748
1767
  order: z.ZodNumber;
1749
1768
  }, "strict", z.ZodTypeAny, {
1750
1769
  key: string;
1751
- label: string;
1752
1770
  order: number;
1771
+ label: string;
1753
1772
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1754
1773
  }, {
1755
1774
  key: string;
1756
- label: string;
1757
1775
  order: number;
1776
+ label: string;
1758
1777
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1759
1778
  }>, "many">;
1760
1779
  presentation: z.ZodOptional<z.ZodObject<{
@@ -1782,14 +1801,20 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1782
1801
  }>>;
1783
1802
  }, "strict", z.ZodTypeAny, {
1784
1803
  key: string;
1804
+ title: string;
1805
+ version: string;
1806
+ lanes: {
1807
+ key: string;
1808
+ order: number;
1809
+ roleKey: string;
1810
+ label: string;
1811
+ }[];
1785
1812
  executionAuthority: "provider";
1786
1813
  providerRef: string;
1787
1814
  topology: {
1788
1815
  source: "provider";
1789
1816
  presentationAdapterRef: string;
1790
1817
  };
1791
- version: string;
1792
- title: string;
1793
1818
  projectTypes: {
1794
1819
  applicationKey: string;
1795
1820
  projectTypeKey: string;
@@ -1799,42 +1824,42 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1799
1824
  key: string;
1800
1825
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1801
1826
  }[];
1802
- lanes: {
1803
- key: string;
1804
- roleKey: string;
1805
- label: string;
1806
- order: number;
1807
- }[];
1808
1827
  stages: {
1809
1828
  key: string;
1810
- label: string;
1811
1829
  order: number;
1830
+ label: string;
1812
1831
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1813
1832
  }[];
1814
- actionRefs?: string[] | undefined;
1815
- hostRequirements?: {
1816
- protocol: number;
1817
- features: Record<string, number>;
1818
- } | undefined;
1819
1833
  presentation?: {
1820
1834
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1821
1835
  nodeDetailRef?: string | undefined;
1822
1836
  evidenceTypes?: string[] | undefined;
1823
1837
  } | undefined;
1838
+ actionRefs?: string[] | undefined;
1839
+ hostRequirements?: {
1840
+ protocol: number;
1841
+ features: Record<string, number>;
1842
+ } | undefined;
1824
1843
  metrics?: {
1825
1844
  dimensionRefs: string[];
1826
1845
  metricRefs: string[];
1827
1846
  } | undefined;
1828
1847
  }, {
1829
1848
  key: string;
1849
+ title: string;
1850
+ version: string;
1851
+ lanes: {
1852
+ key: string;
1853
+ order: number;
1854
+ roleKey: string;
1855
+ label: string;
1856
+ }[];
1830
1857
  executionAuthority: "provider";
1831
1858
  providerRef: string;
1832
1859
  topology: {
1833
1860
  source: "provider";
1834
1861
  presentationAdapterRef: string;
1835
1862
  };
1836
- version: string;
1837
- title: string;
1838
1863
  projectTypes: {
1839
1864
  applicationKey: string;
1840
1865
  projectTypeKey: string;
@@ -1844,28 +1869,22 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1844
1869
  key: string;
1845
1870
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1846
1871
  }[];
1847
- lanes: {
1848
- key: string;
1849
- roleKey: string;
1850
- label: string;
1851
- order: number;
1852
- }[];
1853
1872
  stages: {
1854
1873
  key: string;
1855
- label: string;
1856
1874
  order: number;
1875
+ label: string;
1857
1876
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
1858
1877
  }[];
1859
- actionRefs?: string[] | undefined;
1860
- hostRequirements?: {
1861
- protocol: number;
1862
- features: Record<string, number>;
1863
- } | undefined;
1864
1878
  presentation?: {
1865
1879
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1866
1880
  nodeDetailRef?: string | undefined;
1867
1881
  evidenceTypes?: string[] | undefined;
1868
1882
  } | undefined;
1883
+ actionRefs?: string[] | undefined;
1884
+ hostRequirements?: {
1885
+ protocol: number;
1886
+ features: Record<string, number>;
1887
+ } | undefined;
1869
1888
  metrics?: {
1870
1889
  dimensionRefs: string[];
1871
1890
  metricRefs: string[];
@@ -1882,6 +1901,13 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1882
1901
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1883
1902
  kind: z.ZodLiteral<"work">;
1884
1903
  laneKey: z.ZodEffects<z.ZodString, string, string>;
1904
+ presentation: z.ZodOptional<z.ZodObject<{
1905
+ foldIntoApproval: z.ZodEffects<z.ZodString, string, string>;
1906
+ }, "strict", z.ZodTypeAny, {
1907
+ foldIntoApproval: string;
1908
+ }, {
1909
+ foldIntoApproval: string;
1910
+ }>>;
1885
1911
  operationRef: z.ZodString;
1886
1912
  executorSlot: z.ZodEffects<z.ZodString, string, string>;
1887
1913
  completionRef: z.ZodString;
@@ -1933,29 +1959,32 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1933
1959
  port: string;
1934
1960
  }>, "many">;
1935
1961
  }, "strict", z.ZodTypeAny, {
1936
- from: "collection";
1937
1962
  items: {
1938
1963
  from: "node_output";
1939
1964
  nodeKey: string;
1940
1965
  port: string;
1941
1966
  }[];
1942
- }, {
1943
1967
  from: "collection";
1968
+ }, {
1944
1969
  items: {
1945
1970
  from: "node_output";
1946
1971
  nodeKey: string;
1947
1972
  port: string;
1948
1973
  }[];
1974
+ from: "collection";
1949
1975
  }>]>>>;
1950
1976
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
1951
1977
  }, "strict", z.ZodTypeAny, {
1952
- key: string;
1953
1978
  kind: "work";
1979
+ key: string;
1954
1980
  laneKey: string;
1955
1981
  operationRef: string;
1956
1982
  executorSlot: string;
1957
1983
  completionRef: string;
1958
1984
  stageKey: string;
1985
+ presentation?: {
1986
+ foldIntoApproval: string;
1987
+ } | undefined;
1959
1988
  label?: string | undefined;
1960
1989
  resourceResolverRef?: string | undefined;
1961
1990
  outputSchemaRef?: string | undefined;
@@ -1969,22 +1998,25 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1969
1998
  key: string;
1970
1999
  from: "parameter";
1971
2000
  } | {
1972
- from: "collection";
1973
2001
  items: {
1974
2002
  from: "node_output";
1975
2003
  nodeKey: string;
1976
2004
  port: string;
1977
2005
  }[];
2006
+ from: "collection";
1978
2007
  }> | undefined;
1979
2008
  outputPorts?: Record<string, string> | undefined;
1980
2009
  }, {
1981
- key: string;
1982
2010
  kind: "work";
2011
+ key: string;
1983
2012
  laneKey: string;
1984
2013
  operationRef: string;
1985
2014
  executorSlot: string;
1986
2015
  completionRef: string;
1987
2016
  stageKey: string;
2017
+ presentation?: {
2018
+ foldIntoApproval: string;
2019
+ } | undefined;
1988
2020
  label?: string | undefined;
1989
2021
  resourceResolverRef?: string | undefined;
1990
2022
  outputSchemaRef?: string | undefined;
@@ -1998,12 +2030,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
1998
2030
  key: string;
1999
2031
  from: "parameter";
2000
2032
  } | {
2001
- from: "collection";
2002
2033
  items: {
2003
2034
  from: "node_output";
2004
2035
  nodeKey: string;
2005
2036
  port: string;
2006
2037
  }[];
2038
+ from: "collection";
2007
2039
  }> | undefined;
2008
2040
  outputPorts?: Record<string, string> | undefined;
2009
2041
  }>, z.ZodObject<{
@@ -2054,24 +2086,24 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2054
2086
  port: string;
2055
2087
  }>, "many">;
2056
2088
  }, "strict", z.ZodTypeAny, {
2057
- from: "collection";
2058
2089
  items: {
2059
2090
  from: "node_output";
2060
2091
  nodeKey: string;
2061
2092
  port: string;
2062
2093
  }[];
2063
- }, {
2064
2094
  from: "collection";
2095
+ }, {
2065
2096
  items: {
2066
2097
  from: "node_output";
2067
2098
  nodeKey: string;
2068
2099
  port: string;
2069
2100
  }[];
2101
+ from: "collection";
2070
2102
  }>]>>>;
2071
2103
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2072
2104
  }, "strict", z.ZodTypeAny, {
2073
- key: string;
2074
2105
  kind: "fork";
2106
+ key: string;
2075
2107
  stageKey: string;
2076
2108
  label?: string | undefined;
2077
2109
  inputBindings?: Record<string, {
@@ -2084,17 +2116,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2084
2116
  key: string;
2085
2117
  from: "parameter";
2086
2118
  } | {
2087
- from: "collection";
2088
2119
  items: {
2089
2120
  from: "node_output";
2090
2121
  nodeKey: string;
2091
2122
  port: string;
2092
2123
  }[];
2124
+ from: "collection";
2093
2125
  }> | undefined;
2094
2126
  outputPorts?: Record<string, string> | undefined;
2095
2127
  }, {
2096
- key: string;
2097
2128
  kind: "fork";
2129
+ key: string;
2098
2130
  stageKey: string;
2099
2131
  label?: string | undefined;
2100
2132
  inputBindings?: Record<string, {
@@ -2107,12 +2139,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2107
2139
  key: string;
2108
2140
  from: "parameter";
2109
2141
  } | {
2110
- from: "collection";
2111
2142
  items: {
2112
2143
  from: "node_output";
2113
2144
  nodeKey: string;
2114
2145
  port: string;
2115
2146
  }[];
2147
+ from: "collection";
2116
2148
  }> | undefined;
2117
2149
  outputPorts?: Record<string, string> | undefined;
2118
2150
  }>, z.ZodObject<{
@@ -2173,28 +2205,28 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2173
2205
  port: string;
2174
2206
  }>, "many">;
2175
2207
  }, "strict", z.ZodTypeAny, {
2176
- from: "collection";
2177
2208
  items: {
2178
2209
  from: "node_output";
2179
2210
  nodeKey: string;
2180
2211
  port: string;
2181
2212
  }[];
2182
- }, {
2183
2213
  from: "collection";
2214
+ }, {
2184
2215
  items: {
2185
2216
  from: "node_output";
2186
2217
  nodeKey: string;
2187
2218
  port: string;
2188
2219
  }[];
2220
+ from: "collection";
2189
2221
  }>]>>>;
2190
2222
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2191
2223
  }, "strict", z.ZodTypeAny, {
2224
+ kind: "join";
2225
+ key: string;
2192
2226
  join: {
2193
2227
  mode: "all_selected";
2194
2228
  accept: "completed";
2195
2229
  };
2196
- key: string;
2197
- kind: "join";
2198
2230
  stageKey: string;
2199
2231
  label?: string | undefined;
2200
2232
  inputBindings?: Record<string, {
@@ -2207,21 +2239,21 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2207
2239
  key: string;
2208
2240
  from: "parameter";
2209
2241
  } | {
2210
- from: "collection";
2211
2242
  items: {
2212
2243
  from: "node_output";
2213
2244
  nodeKey: string;
2214
2245
  port: string;
2215
2246
  }[];
2247
+ from: "collection";
2216
2248
  }> | undefined;
2217
2249
  outputPorts?: Record<string, string> | undefined;
2218
2250
  }, {
2251
+ kind: "join";
2252
+ key: string;
2219
2253
  join: {
2220
2254
  mode: "all_selected";
2221
2255
  accept: "completed";
2222
2256
  };
2223
- key: string;
2224
- kind: "join";
2225
2257
  stageKey: string;
2226
2258
  label?: string | undefined;
2227
2259
  inputBindings?: Record<string, {
@@ -2234,12 +2266,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2234
2266
  key: string;
2235
2267
  from: "parameter";
2236
2268
  } | {
2237
- from: "collection";
2238
2269
  items: {
2239
2270
  from: "node_output";
2240
2271
  nodeKey: string;
2241
2272
  port: string;
2242
2273
  }[];
2274
+ from: "collection";
2243
2275
  }> | undefined;
2244
2276
  outputPorts?: Record<string, string> | undefined;
2245
2277
  }>, z.ZodObject<{
@@ -2293,24 +2325,24 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2293
2325
  port: string;
2294
2326
  }>, "many">;
2295
2327
  }, "strict", z.ZodTypeAny, {
2296
- from: "collection";
2297
2328
  items: {
2298
2329
  from: "node_output";
2299
2330
  nodeKey: string;
2300
2331
  port: string;
2301
2332
  }[];
2302
- }, {
2303
2333
  from: "collection";
2334
+ }, {
2304
2335
  items: {
2305
2336
  from: "node_output";
2306
2337
  nodeKey: string;
2307
2338
  port: string;
2308
2339
  }[];
2340
+ from: "collection";
2309
2341
  }>]>>>;
2310
2342
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2311
2343
  }, "strict", z.ZodTypeAny, {
2312
- key: string;
2313
2344
  kind: "router";
2345
+ key: string;
2314
2346
  stageKey: string;
2315
2347
  policyRef: string;
2316
2348
  outcomes: string[];
@@ -2326,17 +2358,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2326
2358
  key: string;
2327
2359
  from: "parameter";
2328
2360
  } | {
2329
- from: "collection";
2330
2361
  items: {
2331
2362
  from: "node_output";
2332
2363
  nodeKey: string;
2333
2364
  port: string;
2334
2365
  }[];
2366
+ from: "collection";
2335
2367
  }> | undefined;
2336
2368
  outputPorts?: Record<string, string> | undefined;
2337
2369
  }, {
2338
- key: string;
2339
2370
  kind: "router";
2371
+ key: string;
2340
2372
  stageKey: string;
2341
2373
  policyRef: string;
2342
2374
  outcomes: string[];
@@ -2352,12 +2384,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2352
2384
  key: string;
2353
2385
  from: "parameter";
2354
2386
  } | {
2355
- from: "collection";
2356
2387
  items: {
2357
2388
  from: "node_output";
2358
2389
  nodeKey: string;
2359
2390
  port: string;
2360
2391
  }[];
2392
+ from: "collection";
2361
2393
  }> | undefined;
2362
2394
  outputPorts?: Record<string, string> | undefined;
2363
2395
  }>, z.ZodObject<{
@@ -2413,24 +2445,24 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2413
2445
  port: string;
2414
2446
  }>, "many">;
2415
2447
  }, "strict", z.ZodTypeAny, {
2416
- from: "collection";
2417
2448
  items: {
2418
2449
  from: "node_output";
2419
2450
  nodeKey: string;
2420
2451
  port: string;
2421
2452
  }[];
2422
- }, {
2423
2453
  from: "collection";
2454
+ }, {
2424
2455
  items: {
2425
2456
  from: "node_output";
2426
2457
  nodeKey: string;
2427
2458
  port: string;
2428
2459
  }[];
2460
+ from: "collection";
2429
2461
  }>]>>>;
2430
2462
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2431
2463
  }, "strict", z.ZodTypeAny, {
2432
- key: string;
2433
2464
  kind: "human_gate";
2465
+ key: string;
2434
2466
  laneKey: string;
2435
2467
  stageKey: string;
2436
2468
  policyRef: string;
@@ -2447,18 +2479,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2447
2479
  key: string;
2448
2480
  from: "parameter";
2449
2481
  } | {
2450
- from: "collection";
2451
2482
  items: {
2452
2483
  from: "node_output";
2453
2484
  nodeKey: string;
2454
2485
  port: string;
2455
2486
  }[];
2487
+ from: "collection";
2456
2488
  }> | undefined;
2457
2489
  outputPorts?: Record<string, string> | undefined;
2458
2490
  outcomeLabels?: Record<string, string> | undefined;
2459
2491
  }, {
2460
- key: string;
2461
2492
  kind: "human_gate";
2493
+ key: string;
2462
2494
  laneKey: string;
2463
2495
  stageKey: string;
2464
2496
  policyRef: string;
@@ -2475,12 +2507,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2475
2507
  key: string;
2476
2508
  from: "parameter";
2477
2509
  } | {
2478
- from: "collection";
2479
2510
  items: {
2480
2511
  from: "node_output";
2481
2512
  nodeKey: string;
2482
2513
  port: string;
2483
2514
  }[];
2515
+ from: "collection";
2484
2516
  }> | undefined;
2485
2517
  outputPorts?: Record<string, string> | undefined;
2486
2518
  outcomeLabels?: Record<string, string> | undefined;
@@ -2534,24 +2566,24 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2534
2566
  port: string;
2535
2567
  }>, "many">;
2536
2568
  }, "strict", z.ZodTypeAny, {
2537
- from: "collection";
2538
2569
  items: {
2539
2570
  from: "node_output";
2540
2571
  nodeKey: string;
2541
2572
  port: string;
2542
2573
  }[];
2543
- }, {
2544
2574
  from: "collection";
2575
+ }, {
2545
2576
  items: {
2546
2577
  from: "node_output";
2547
2578
  nodeKey: string;
2548
2579
  port: string;
2549
2580
  }[];
2581
+ from: "collection";
2550
2582
  }>]>>>;
2551
2583
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2552
2584
  }, "strict", z.ZodTypeAny, {
2553
- key: string;
2554
2585
  kind: "external_wait";
2586
+ key: string;
2555
2587
  laneKey: string;
2556
2588
  stageKey: string;
2557
2589
  subscriptionRef: string;
@@ -2566,17 +2598,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2566
2598
  key: string;
2567
2599
  from: "parameter";
2568
2600
  } | {
2569
- from: "collection";
2570
2601
  items: {
2571
2602
  from: "node_output";
2572
2603
  nodeKey: string;
2573
2604
  port: string;
2574
2605
  }[];
2606
+ from: "collection";
2575
2607
  }> | undefined;
2576
2608
  outputPorts?: Record<string, string> | undefined;
2577
2609
  }, {
2578
- key: string;
2579
2610
  kind: "external_wait";
2611
+ key: string;
2580
2612
  laneKey: string;
2581
2613
  stageKey: string;
2582
2614
  subscriptionRef: string;
@@ -2591,12 +2623,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2591
2623
  key: string;
2592
2624
  from: "parameter";
2593
2625
  } | {
2594
- from: "collection";
2595
2626
  items: {
2596
2627
  from: "node_output";
2597
2628
  nodeKey: string;
2598
2629
  port: string;
2599
2630
  }[];
2631
+ from: "collection";
2600
2632
  }> | undefined;
2601
2633
  outputPorts?: Record<string, string> | undefined;
2602
2634
  }>, z.ZodObject<{
@@ -2649,25 +2681,25 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2649
2681
  port: string;
2650
2682
  }>, "many">;
2651
2683
  }, "strict", z.ZodTypeAny, {
2652
- from: "collection";
2653
2684
  items: {
2654
2685
  from: "node_output";
2655
2686
  nodeKey: string;
2656
2687
  port: string;
2657
2688
  }[];
2658
- }, {
2659
2689
  from: "collection";
2690
+ }, {
2660
2691
  items: {
2661
2692
  from: "node_output";
2662
2693
  nodeKey: string;
2663
2694
  port: string;
2664
2695
  }[];
2696
+ from: "collection";
2665
2697
  }>]>>>;
2666
2698
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
2667
2699
  }, "strict", z.ZodTypeAny, {
2700
+ kind: "terminal";
2668
2701
  key: string;
2669
2702
  outcome: string;
2670
- kind: "terminal";
2671
2703
  stageKey: string;
2672
2704
  label?: string | undefined;
2673
2705
  inputBindings?: Record<string, {
@@ -2680,19 +2712,19 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2680
2712
  key: string;
2681
2713
  from: "parameter";
2682
2714
  } | {
2683
- from: "collection";
2684
2715
  items: {
2685
2716
  from: "node_output";
2686
2717
  nodeKey: string;
2687
2718
  port: string;
2688
2719
  }[];
2720
+ from: "collection";
2689
2721
  }> | undefined;
2690
2722
  outputPorts?: Record<string, string> | undefined;
2691
2723
  disposition?: "complete" | "await_new_subject" | undefined;
2692
2724
  }, {
2725
+ kind: "terminal";
2693
2726
  key: string;
2694
2727
  outcome: string;
2695
- kind: "terminal";
2696
2728
  stageKey: string;
2697
2729
  label?: string | undefined;
2698
2730
  inputBindings?: Record<string, {
@@ -2705,12 +2737,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2705
2737
  key: string;
2706
2738
  from: "parameter";
2707
2739
  } | {
2708
- from: "collection";
2709
2740
  items: {
2710
2741
  from: "node_output";
2711
2742
  nodeKey: string;
2712
2743
  port: string;
2713
2744
  }[];
2745
+ from: "collection";
2714
2746
  }> | undefined;
2715
2747
  outputPorts?: Record<string, string> | undefined;
2716
2748
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2807,14 +2839,14 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2807
2839
  order: z.ZodNumber;
2808
2840
  }, "strict", z.ZodTypeAny, {
2809
2841
  key: string;
2842
+ order: number;
2810
2843
  roleKey: string;
2811
2844
  label: string;
2812
- order: number;
2813
2845
  }, {
2814
2846
  key: string;
2847
+ order: number;
2815
2848
  roleKey: string;
2816
2849
  label: string;
2817
- order: number;
2818
2850
  }>, "many">;
2819
2851
  stages: z.ZodArray<z.ZodObject<{
2820
2852
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -2823,13 +2855,13 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2823
2855
  order: z.ZodNumber;
2824
2856
  }, "strict", z.ZodTypeAny, {
2825
2857
  key: string;
2826
- label: string;
2827
2858
  order: number;
2859
+ label: string;
2828
2860
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
2829
2861
  }, {
2830
2862
  key: string;
2831
- label: string;
2832
2863
  order: number;
2864
+ label: string;
2833
2865
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
2834
2866
  }>, "many">;
2835
2867
  presentation: z.ZodOptional<z.ZodObject<{
@@ -2857,12 +2889,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2857
2889
  }>>;
2858
2890
  }, "strict", z.ZodTypeAny, {
2859
2891
  key: string;
2892
+ title: string;
2893
+ version: string;
2894
+ lanes: {
2895
+ key: string;
2896
+ order: number;
2897
+ roleKey: string;
2898
+ label: string;
2899
+ }[];
2860
2900
  executionAuthority: "platform";
2861
2901
  topology: {
2862
2902
  source: "definition";
2863
2903
  };
2864
- version: string;
2865
- title: string;
2866
2904
  projectTypes: {
2867
2905
  applicationKey: string;
2868
2906
  projectTypeKey: string;
@@ -2872,26 +2910,23 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2872
2910
  key: string;
2873
2911
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2874
2912
  }[];
2875
- lanes: {
2876
- key: string;
2877
- roleKey: string;
2878
- label: string;
2879
- order: number;
2880
- }[];
2881
2913
  stages: {
2882
2914
  key: string;
2883
- label: string;
2884
2915
  order: number;
2916
+ label: string;
2885
2917
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
2886
2918
  }[];
2887
2919
  nodes: ({
2888
- key: string;
2889
2920
  kind: "work";
2921
+ key: string;
2890
2922
  laneKey: string;
2891
2923
  operationRef: string;
2892
2924
  executorSlot: string;
2893
2925
  completionRef: string;
2894
2926
  stageKey: string;
2927
+ presentation?: {
2928
+ foldIntoApproval: string;
2929
+ } | undefined;
2895
2930
  label?: string | undefined;
2896
2931
  resourceResolverRef?: string | undefined;
2897
2932
  outputSchemaRef?: string | undefined;
@@ -2905,17 +2940,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2905
2940
  key: string;
2906
2941
  from: "parameter";
2907
2942
  } | {
2908
- from: "collection";
2909
2943
  items: {
2910
2944
  from: "node_output";
2911
2945
  nodeKey: string;
2912
2946
  port: string;
2913
2947
  }[];
2948
+ from: "collection";
2914
2949
  }> | undefined;
2915
2950
  outputPorts?: Record<string, string> | undefined;
2916
2951
  } | {
2917
- key: string;
2918
2952
  kind: "fork";
2953
+ key: string;
2919
2954
  stageKey: string;
2920
2955
  label?: string | undefined;
2921
2956
  inputBindings?: Record<string, {
@@ -2928,21 +2963,21 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2928
2963
  key: string;
2929
2964
  from: "parameter";
2930
2965
  } | {
2931
- from: "collection";
2932
2966
  items: {
2933
2967
  from: "node_output";
2934
2968
  nodeKey: string;
2935
2969
  port: string;
2936
2970
  }[];
2971
+ from: "collection";
2937
2972
  }> | undefined;
2938
2973
  outputPorts?: Record<string, string> | undefined;
2939
2974
  } | {
2975
+ kind: "join";
2976
+ key: string;
2940
2977
  join: {
2941
2978
  mode: "all_selected";
2942
2979
  accept: "completed";
2943
2980
  };
2944
- key: string;
2945
- kind: "join";
2946
2981
  stageKey: string;
2947
2982
  label?: string | undefined;
2948
2983
  inputBindings?: Record<string, {
@@ -2955,17 +2990,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2955
2990
  key: string;
2956
2991
  from: "parameter";
2957
2992
  } | {
2958
- from: "collection";
2959
2993
  items: {
2960
2994
  from: "node_output";
2961
2995
  nodeKey: string;
2962
2996
  port: string;
2963
2997
  }[];
2998
+ from: "collection";
2964
2999
  }> | undefined;
2965
3000
  outputPorts?: Record<string, string> | undefined;
2966
3001
  } | {
2967
- key: string;
2968
3002
  kind: "router";
3003
+ key: string;
2969
3004
  stageKey: string;
2970
3005
  policyRef: string;
2971
3006
  outcomes: string[];
@@ -2981,17 +3016,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
2981
3016
  key: string;
2982
3017
  from: "parameter";
2983
3018
  } | {
2984
- from: "collection";
2985
3019
  items: {
2986
3020
  from: "node_output";
2987
3021
  nodeKey: string;
2988
3022
  port: string;
2989
3023
  }[];
3024
+ from: "collection";
2990
3025
  }> | undefined;
2991
3026
  outputPorts?: Record<string, string> | undefined;
2992
3027
  } | {
2993
- key: string;
2994
3028
  kind: "human_gate";
3029
+ key: string;
2995
3030
  laneKey: string;
2996
3031
  stageKey: string;
2997
3032
  policyRef: string;
@@ -3008,18 +3043,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3008
3043
  key: string;
3009
3044
  from: "parameter";
3010
3045
  } | {
3011
- from: "collection";
3012
3046
  items: {
3013
3047
  from: "node_output";
3014
3048
  nodeKey: string;
3015
3049
  port: string;
3016
3050
  }[];
3051
+ from: "collection";
3017
3052
  }> | undefined;
3018
3053
  outputPorts?: Record<string, string> | undefined;
3019
3054
  outcomeLabels?: Record<string, string> | undefined;
3020
3055
  } | {
3021
- key: string;
3022
3056
  kind: "external_wait";
3057
+ key: string;
3023
3058
  laneKey: string;
3024
3059
  stageKey: string;
3025
3060
  subscriptionRef: string;
@@ -3034,18 +3069,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3034
3069
  key: string;
3035
3070
  from: "parameter";
3036
3071
  } | {
3037
- from: "collection";
3038
3072
  items: {
3039
3073
  from: "node_output";
3040
3074
  nodeKey: string;
3041
3075
  port: string;
3042
3076
  }[];
3077
+ from: "collection";
3043
3078
  }> | undefined;
3044
3079
  outputPorts?: Record<string, string> | undefined;
3045
3080
  } | {
3081
+ kind: "terminal";
3046
3082
  key: string;
3047
3083
  outcome: string;
3048
- kind: "terminal";
3049
3084
  stageKey: string;
3050
3085
  label?: string | undefined;
3051
3086
  inputBindings?: Record<string, {
@@ -3058,12 +3093,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3058
3093
  key: string;
3059
3094
  from: "parameter";
3060
3095
  } | {
3061
- from: "collection";
3062
3096
  items: {
3063
3097
  from: "node_output";
3064
3098
  nodeKey: string;
3065
3099
  port: string;
3066
3100
  }[];
3101
+ from: "collection";
3067
3102
  }> | undefined;
3068
3103
  outputPorts?: Record<string, string> | undefined;
3069
3104
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3085,27 +3120,33 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3085
3120
  requiredNodeFailure: "block_and_attention";
3086
3121
  unknownExecution: "inspect_without_replay";
3087
3122
  };
3088
- hostRequirements?: {
3089
- protocol: number;
3090
- features: Record<string, number>;
3091
- } | undefined;
3092
3123
  presentation?: {
3093
3124
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3094
3125
  nodeDetailRef?: string | undefined;
3095
3126
  evidenceTypes?: string[] | undefined;
3096
3127
  } | undefined;
3128
+ hostRequirements?: {
3129
+ protocol: number;
3130
+ features: Record<string, number>;
3131
+ } | undefined;
3097
3132
  metrics?: {
3098
3133
  dimensionRefs: string[];
3099
3134
  metricRefs: string[];
3100
3135
  } | undefined;
3101
3136
  }, {
3102
3137
  key: string;
3138
+ title: string;
3139
+ version: string;
3140
+ lanes: {
3141
+ key: string;
3142
+ order: number;
3143
+ roleKey: string;
3144
+ label: string;
3145
+ }[];
3103
3146
  executionAuthority: "platform";
3104
3147
  topology: {
3105
3148
  source: "definition";
3106
3149
  };
3107
- version: string;
3108
- title: string;
3109
3150
  projectTypes: {
3110
3151
  applicationKey: string;
3111
3152
  projectTypeKey: string;
@@ -3115,26 +3156,23 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3115
3156
  key: string;
3116
3157
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3117
3158
  }[];
3118
- lanes: {
3119
- key: string;
3120
- roleKey: string;
3121
- label: string;
3122
- order: number;
3123
- }[];
3124
3159
  stages: {
3125
3160
  key: string;
3126
- label: string;
3127
3161
  order: number;
3162
+ label: string;
3128
3163
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
3129
3164
  }[];
3130
3165
  nodes: ({
3131
- key: string;
3132
3166
  kind: "work";
3167
+ key: string;
3133
3168
  laneKey: string;
3134
3169
  operationRef: string;
3135
3170
  executorSlot: string;
3136
3171
  completionRef: string;
3137
3172
  stageKey: string;
3173
+ presentation?: {
3174
+ foldIntoApproval: string;
3175
+ } | undefined;
3138
3176
  label?: string | undefined;
3139
3177
  resourceResolverRef?: string | undefined;
3140
3178
  outputSchemaRef?: string | undefined;
@@ -3148,17 +3186,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3148
3186
  key: string;
3149
3187
  from: "parameter";
3150
3188
  } | {
3151
- from: "collection";
3152
3189
  items: {
3153
3190
  from: "node_output";
3154
3191
  nodeKey: string;
3155
3192
  port: string;
3156
3193
  }[];
3194
+ from: "collection";
3157
3195
  }> | undefined;
3158
3196
  outputPorts?: Record<string, string> | undefined;
3159
3197
  } | {
3160
- key: string;
3161
3198
  kind: "fork";
3199
+ key: string;
3162
3200
  stageKey: string;
3163
3201
  label?: string | undefined;
3164
3202
  inputBindings?: Record<string, {
@@ -3171,21 +3209,21 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3171
3209
  key: string;
3172
3210
  from: "parameter";
3173
3211
  } | {
3174
- from: "collection";
3175
3212
  items: {
3176
3213
  from: "node_output";
3177
3214
  nodeKey: string;
3178
3215
  port: string;
3179
3216
  }[];
3217
+ from: "collection";
3180
3218
  }> | undefined;
3181
3219
  outputPorts?: Record<string, string> | undefined;
3182
3220
  } | {
3221
+ kind: "join";
3222
+ key: string;
3183
3223
  join: {
3184
3224
  mode: "all_selected";
3185
3225
  accept: "completed";
3186
3226
  };
3187
- key: string;
3188
- kind: "join";
3189
3227
  stageKey: string;
3190
3228
  label?: string | undefined;
3191
3229
  inputBindings?: Record<string, {
@@ -3198,17 +3236,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3198
3236
  key: string;
3199
3237
  from: "parameter";
3200
3238
  } | {
3201
- from: "collection";
3202
3239
  items: {
3203
3240
  from: "node_output";
3204
3241
  nodeKey: string;
3205
3242
  port: string;
3206
3243
  }[];
3244
+ from: "collection";
3207
3245
  }> | undefined;
3208
3246
  outputPorts?: Record<string, string> | undefined;
3209
3247
  } | {
3210
- key: string;
3211
3248
  kind: "router";
3249
+ key: string;
3212
3250
  stageKey: string;
3213
3251
  policyRef: string;
3214
3252
  outcomes: string[];
@@ -3224,17 +3262,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3224
3262
  key: string;
3225
3263
  from: "parameter";
3226
3264
  } | {
3227
- from: "collection";
3228
3265
  items: {
3229
3266
  from: "node_output";
3230
3267
  nodeKey: string;
3231
3268
  port: string;
3232
3269
  }[];
3270
+ from: "collection";
3233
3271
  }> | undefined;
3234
3272
  outputPorts?: Record<string, string> | undefined;
3235
3273
  } | {
3236
- key: string;
3237
3274
  kind: "human_gate";
3275
+ key: string;
3238
3276
  laneKey: string;
3239
3277
  stageKey: string;
3240
3278
  policyRef: string;
@@ -3251,18 +3289,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3251
3289
  key: string;
3252
3290
  from: "parameter";
3253
3291
  } | {
3254
- from: "collection";
3255
3292
  items: {
3256
3293
  from: "node_output";
3257
3294
  nodeKey: string;
3258
3295
  port: string;
3259
3296
  }[];
3297
+ from: "collection";
3260
3298
  }> | undefined;
3261
3299
  outputPorts?: Record<string, string> | undefined;
3262
3300
  outcomeLabels?: Record<string, string> | undefined;
3263
3301
  } | {
3264
- key: string;
3265
3302
  kind: "external_wait";
3303
+ key: string;
3266
3304
  laneKey: string;
3267
3305
  stageKey: string;
3268
3306
  subscriptionRef: string;
@@ -3277,18 +3315,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3277
3315
  key: string;
3278
3316
  from: "parameter";
3279
3317
  } | {
3280
- from: "collection";
3281
3318
  items: {
3282
3319
  from: "node_output";
3283
3320
  nodeKey: string;
3284
3321
  port: string;
3285
3322
  }[];
3323
+ from: "collection";
3286
3324
  }> | undefined;
3287
3325
  outputPorts?: Record<string, string> | undefined;
3288
3326
  } | {
3327
+ kind: "terminal";
3289
3328
  key: string;
3290
3329
  outcome: string;
3291
- kind: "terminal";
3292
3330
  stageKey: string;
3293
3331
  label?: string | undefined;
3294
3332
  inputBindings?: Record<string, {
@@ -3301,12 +3339,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3301
3339
  key: string;
3302
3340
  from: "parameter";
3303
3341
  } | {
3304
- from: "collection";
3305
3342
  items: {
3306
3343
  from: "node_output";
3307
3344
  nodeKey: string;
3308
3345
  port: string;
3309
3346
  }[];
3347
+ from: "collection";
3310
3348
  }> | undefined;
3311
3349
  outputPorts?: Record<string, string> | undefined;
3312
3350
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3328,29 +3366,35 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3328
3366
  requiredNodeFailure: "block_and_attention";
3329
3367
  unknownExecution: "inspect_without_replay";
3330
3368
  };
3331
- hostRequirements?: {
3332
- protocol: number;
3333
- features: Record<string, number>;
3334
- } | undefined;
3335
3369
  presentation?: {
3336
3370
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3337
3371
  nodeDetailRef?: string | undefined;
3338
3372
  evidenceTypes?: string[] | undefined;
3339
3373
  } | undefined;
3374
+ hostRequirements?: {
3375
+ protocol: number;
3376
+ features: Record<string, number>;
3377
+ } | undefined;
3340
3378
  metrics?: {
3341
3379
  dimensionRefs: string[];
3342
3380
  metricRefs: string[];
3343
3381
  } | undefined;
3344
3382
  }>]>, {
3345
3383
  key: string;
3384
+ title: string;
3385
+ version: string;
3386
+ lanes: {
3387
+ key: string;
3388
+ order: number;
3389
+ roleKey: string;
3390
+ label: string;
3391
+ }[];
3346
3392
  executionAuthority: "provider";
3347
3393
  providerRef: string;
3348
3394
  topology: {
3349
3395
  source: "provider";
3350
3396
  presentationAdapterRef: string;
3351
3397
  };
3352
- version: string;
3353
- title: string;
3354
3398
  projectTypes: {
3355
3399
  applicationKey: string;
3356
3400
  projectTypeKey: string;
@@ -3360,40 +3404,40 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3360
3404
  key: string;
3361
3405
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3362
3406
  }[];
3363
- lanes: {
3364
- key: string;
3365
- roleKey: string;
3366
- label: string;
3367
- order: number;
3368
- }[];
3369
3407
  stages: {
3370
3408
  key: string;
3371
- label: string;
3372
3409
  order: number;
3410
+ label: string;
3373
3411
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
3374
3412
  }[];
3375
- actionRefs?: string[] | undefined;
3376
- hostRequirements?: {
3377
- protocol: number;
3378
- features: Record<string, number>;
3379
- } | undefined;
3380
3413
  presentation?: {
3381
3414
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3382
3415
  nodeDetailRef?: string | undefined;
3383
3416
  evidenceTypes?: string[] | undefined;
3384
3417
  } | undefined;
3418
+ actionRefs?: string[] | undefined;
3419
+ hostRequirements?: {
3420
+ protocol: number;
3421
+ features: Record<string, number>;
3422
+ } | undefined;
3385
3423
  metrics?: {
3386
3424
  dimensionRefs: string[];
3387
3425
  metricRefs: string[];
3388
3426
  } | undefined;
3389
3427
  } | {
3390
3428
  key: string;
3429
+ title: string;
3430
+ version: string;
3431
+ lanes: {
3432
+ key: string;
3433
+ order: number;
3434
+ roleKey: string;
3435
+ label: string;
3436
+ }[];
3391
3437
  executionAuthority: "platform";
3392
3438
  topology: {
3393
3439
  source: "definition";
3394
3440
  };
3395
- version: string;
3396
- title: string;
3397
3441
  projectTypes: {
3398
3442
  applicationKey: string;
3399
3443
  projectTypeKey: string;
@@ -3403,26 +3447,23 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3403
3447
  key: string;
3404
3448
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3405
3449
  }[];
3406
- lanes: {
3407
- key: string;
3408
- roleKey: string;
3409
- label: string;
3410
- order: number;
3411
- }[];
3412
3450
  stages: {
3413
3451
  key: string;
3414
- label: string;
3415
3452
  order: number;
3453
+ label: string;
3416
3454
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
3417
3455
  }[];
3418
3456
  nodes: ({
3419
- key: string;
3420
3457
  kind: "work";
3458
+ key: string;
3421
3459
  laneKey: string;
3422
3460
  operationRef: string;
3423
3461
  executorSlot: string;
3424
3462
  completionRef: string;
3425
3463
  stageKey: string;
3464
+ presentation?: {
3465
+ foldIntoApproval: string;
3466
+ } | undefined;
3426
3467
  label?: string | undefined;
3427
3468
  resourceResolverRef?: string | undefined;
3428
3469
  outputSchemaRef?: string | undefined;
@@ -3436,17 +3477,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3436
3477
  key: string;
3437
3478
  from: "parameter";
3438
3479
  } | {
3439
- from: "collection";
3440
3480
  items: {
3441
3481
  from: "node_output";
3442
3482
  nodeKey: string;
3443
3483
  port: string;
3444
3484
  }[];
3485
+ from: "collection";
3445
3486
  }> | undefined;
3446
3487
  outputPorts?: Record<string, string> | undefined;
3447
3488
  } | {
3448
- key: string;
3449
3489
  kind: "fork";
3490
+ key: string;
3450
3491
  stageKey: string;
3451
3492
  label?: string | undefined;
3452
3493
  inputBindings?: Record<string, {
@@ -3459,21 +3500,21 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3459
3500
  key: string;
3460
3501
  from: "parameter";
3461
3502
  } | {
3462
- from: "collection";
3463
3503
  items: {
3464
3504
  from: "node_output";
3465
3505
  nodeKey: string;
3466
3506
  port: string;
3467
3507
  }[];
3508
+ from: "collection";
3468
3509
  }> | undefined;
3469
3510
  outputPorts?: Record<string, string> | undefined;
3470
3511
  } | {
3512
+ kind: "join";
3513
+ key: string;
3471
3514
  join: {
3472
3515
  mode: "all_selected";
3473
3516
  accept: "completed";
3474
3517
  };
3475
- key: string;
3476
- kind: "join";
3477
3518
  stageKey: string;
3478
3519
  label?: string | undefined;
3479
3520
  inputBindings?: Record<string, {
@@ -3486,17 +3527,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3486
3527
  key: string;
3487
3528
  from: "parameter";
3488
3529
  } | {
3489
- from: "collection";
3490
3530
  items: {
3491
3531
  from: "node_output";
3492
3532
  nodeKey: string;
3493
3533
  port: string;
3494
3534
  }[];
3535
+ from: "collection";
3495
3536
  }> | undefined;
3496
3537
  outputPorts?: Record<string, string> | undefined;
3497
3538
  } | {
3498
- key: string;
3499
3539
  kind: "router";
3540
+ key: string;
3500
3541
  stageKey: string;
3501
3542
  policyRef: string;
3502
3543
  outcomes: string[];
@@ -3512,17 +3553,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3512
3553
  key: string;
3513
3554
  from: "parameter";
3514
3555
  } | {
3515
- from: "collection";
3516
3556
  items: {
3517
3557
  from: "node_output";
3518
3558
  nodeKey: string;
3519
3559
  port: string;
3520
3560
  }[];
3561
+ from: "collection";
3521
3562
  }> | undefined;
3522
3563
  outputPorts?: Record<string, string> | undefined;
3523
3564
  } | {
3524
- key: string;
3525
3565
  kind: "human_gate";
3566
+ key: string;
3526
3567
  laneKey: string;
3527
3568
  stageKey: string;
3528
3569
  policyRef: string;
@@ -3539,18 +3580,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3539
3580
  key: string;
3540
3581
  from: "parameter";
3541
3582
  } | {
3542
- from: "collection";
3543
3583
  items: {
3544
3584
  from: "node_output";
3545
3585
  nodeKey: string;
3546
3586
  port: string;
3547
3587
  }[];
3588
+ from: "collection";
3548
3589
  }> | undefined;
3549
3590
  outputPorts?: Record<string, string> | undefined;
3550
3591
  outcomeLabels?: Record<string, string> | undefined;
3551
3592
  } | {
3552
- key: string;
3553
3593
  kind: "external_wait";
3594
+ key: string;
3554
3595
  laneKey: string;
3555
3596
  stageKey: string;
3556
3597
  subscriptionRef: string;
@@ -3565,18 +3606,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3565
3606
  key: string;
3566
3607
  from: "parameter";
3567
3608
  } | {
3568
- from: "collection";
3569
3609
  items: {
3570
3610
  from: "node_output";
3571
3611
  nodeKey: string;
3572
3612
  port: string;
3573
3613
  }[];
3614
+ from: "collection";
3574
3615
  }> | undefined;
3575
3616
  outputPorts?: Record<string, string> | undefined;
3576
3617
  } | {
3618
+ kind: "terminal";
3577
3619
  key: string;
3578
3620
  outcome: string;
3579
- kind: "terminal";
3580
3621
  stageKey: string;
3581
3622
  label?: string | undefined;
3582
3623
  inputBindings?: Record<string, {
@@ -3589,12 +3630,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3589
3630
  key: string;
3590
3631
  from: "parameter";
3591
3632
  } | {
3592
- from: "collection";
3593
3633
  items: {
3594
3634
  from: "node_output";
3595
3635
  nodeKey: string;
3596
3636
  port: string;
3597
3637
  }[];
3638
+ from: "collection";
3598
3639
  }> | undefined;
3599
3640
  outputPorts?: Record<string, string> | undefined;
3600
3641
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3616,29 +3657,35 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3616
3657
  requiredNodeFailure: "block_and_attention";
3617
3658
  unknownExecution: "inspect_without_replay";
3618
3659
  };
3619
- hostRequirements?: {
3620
- protocol: number;
3621
- features: Record<string, number>;
3622
- } | undefined;
3623
3660
  presentation?: {
3624
3661
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3625
3662
  nodeDetailRef?: string | undefined;
3626
3663
  evidenceTypes?: string[] | undefined;
3627
3664
  } | undefined;
3665
+ hostRequirements?: {
3666
+ protocol: number;
3667
+ features: Record<string, number>;
3668
+ } | undefined;
3628
3669
  metrics?: {
3629
3670
  dimensionRefs: string[];
3630
3671
  metricRefs: string[];
3631
3672
  } | undefined;
3632
3673
  }, {
3633
3674
  key: string;
3675
+ title: string;
3676
+ version: string;
3677
+ lanes: {
3678
+ key: string;
3679
+ order: number;
3680
+ roleKey: string;
3681
+ label: string;
3682
+ }[];
3634
3683
  executionAuthority: "provider";
3635
3684
  providerRef: string;
3636
3685
  topology: {
3637
3686
  source: "provider";
3638
3687
  presentationAdapterRef: string;
3639
3688
  };
3640
- version: string;
3641
- title: string;
3642
3689
  projectTypes: {
3643
3690
  applicationKey: string;
3644
3691
  projectTypeKey: string;
@@ -3648,40 +3695,40 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3648
3695
  key: string;
3649
3696
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3650
3697
  }[];
3651
- lanes: {
3652
- key: string;
3653
- roleKey: string;
3654
- label: string;
3655
- order: number;
3656
- }[];
3657
3698
  stages: {
3658
3699
  key: string;
3659
- label: string;
3660
3700
  order: number;
3701
+ label: string;
3661
3702
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
3662
3703
  }[];
3663
- actionRefs?: string[] | undefined;
3664
- hostRequirements?: {
3665
- protocol: number;
3666
- features: Record<string, number>;
3667
- } | undefined;
3668
3704
  presentation?: {
3669
3705
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3670
3706
  nodeDetailRef?: string | undefined;
3671
3707
  evidenceTypes?: string[] | undefined;
3672
3708
  } | undefined;
3709
+ actionRefs?: string[] | undefined;
3710
+ hostRequirements?: {
3711
+ protocol: number;
3712
+ features: Record<string, number>;
3713
+ } | undefined;
3673
3714
  metrics?: {
3674
3715
  dimensionRefs: string[];
3675
3716
  metricRefs: string[];
3676
3717
  } | undefined;
3677
3718
  } | {
3678
3719
  key: string;
3720
+ title: string;
3721
+ version: string;
3722
+ lanes: {
3723
+ key: string;
3724
+ order: number;
3725
+ roleKey: string;
3726
+ label: string;
3727
+ }[];
3679
3728
  executionAuthority: "platform";
3680
3729
  topology: {
3681
3730
  source: "definition";
3682
3731
  };
3683
- version: string;
3684
- title: string;
3685
3732
  projectTypes: {
3686
3733
  applicationKey: string;
3687
3734
  projectTypeKey: string;
@@ -3691,26 +3738,23 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3691
3738
  key: string;
3692
3739
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3693
3740
  }[];
3694
- lanes: {
3695
- key: string;
3696
- roleKey: string;
3697
- label: string;
3698
- order: number;
3699
- }[];
3700
3741
  stages: {
3701
3742
  key: string;
3702
- label: string;
3703
3743
  order: number;
3744
+ label: string;
3704
3745
  icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
3705
3746
  }[];
3706
3747
  nodes: ({
3707
- key: string;
3708
3748
  kind: "work";
3749
+ key: string;
3709
3750
  laneKey: string;
3710
3751
  operationRef: string;
3711
3752
  executorSlot: string;
3712
3753
  completionRef: string;
3713
3754
  stageKey: string;
3755
+ presentation?: {
3756
+ foldIntoApproval: string;
3757
+ } | undefined;
3714
3758
  label?: string | undefined;
3715
3759
  resourceResolverRef?: string | undefined;
3716
3760
  outputSchemaRef?: string | undefined;
@@ -3724,17 +3768,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3724
3768
  key: string;
3725
3769
  from: "parameter";
3726
3770
  } | {
3727
- from: "collection";
3728
3771
  items: {
3729
3772
  from: "node_output";
3730
3773
  nodeKey: string;
3731
3774
  port: string;
3732
3775
  }[];
3776
+ from: "collection";
3733
3777
  }> | undefined;
3734
3778
  outputPorts?: Record<string, string> | undefined;
3735
3779
  } | {
3736
- key: string;
3737
3780
  kind: "fork";
3781
+ key: string;
3738
3782
  stageKey: string;
3739
3783
  label?: string | undefined;
3740
3784
  inputBindings?: Record<string, {
@@ -3747,21 +3791,21 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3747
3791
  key: string;
3748
3792
  from: "parameter";
3749
3793
  } | {
3750
- from: "collection";
3751
3794
  items: {
3752
3795
  from: "node_output";
3753
3796
  nodeKey: string;
3754
3797
  port: string;
3755
3798
  }[];
3799
+ from: "collection";
3756
3800
  }> | undefined;
3757
3801
  outputPorts?: Record<string, string> | undefined;
3758
3802
  } | {
3803
+ kind: "join";
3804
+ key: string;
3759
3805
  join: {
3760
3806
  mode: "all_selected";
3761
3807
  accept: "completed";
3762
3808
  };
3763
- key: string;
3764
- kind: "join";
3765
3809
  stageKey: string;
3766
3810
  label?: string | undefined;
3767
3811
  inputBindings?: Record<string, {
@@ -3774,17 +3818,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3774
3818
  key: string;
3775
3819
  from: "parameter";
3776
3820
  } | {
3777
- from: "collection";
3778
3821
  items: {
3779
3822
  from: "node_output";
3780
3823
  nodeKey: string;
3781
3824
  port: string;
3782
3825
  }[];
3826
+ from: "collection";
3783
3827
  }> | undefined;
3784
3828
  outputPorts?: Record<string, string> | undefined;
3785
3829
  } | {
3786
- key: string;
3787
3830
  kind: "router";
3831
+ key: string;
3788
3832
  stageKey: string;
3789
3833
  policyRef: string;
3790
3834
  outcomes: string[];
@@ -3800,17 +3844,17 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3800
3844
  key: string;
3801
3845
  from: "parameter";
3802
3846
  } | {
3803
- from: "collection";
3804
3847
  items: {
3805
3848
  from: "node_output";
3806
3849
  nodeKey: string;
3807
3850
  port: string;
3808
3851
  }[];
3852
+ from: "collection";
3809
3853
  }> | undefined;
3810
3854
  outputPorts?: Record<string, string> | undefined;
3811
3855
  } | {
3812
- key: string;
3813
3856
  kind: "human_gate";
3857
+ key: string;
3814
3858
  laneKey: string;
3815
3859
  stageKey: string;
3816
3860
  policyRef: string;
@@ -3827,18 +3871,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3827
3871
  key: string;
3828
3872
  from: "parameter";
3829
3873
  } | {
3830
- from: "collection";
3831
3874
  items: {
3832
3875
  from: "node_output";
3833
3876
  nodeKey: string;
3834
3877
  port: string;
3835
3878
  }[];
3879
+ from: "collection";
3836
3880
  }> | undefined;
3837
3881
  outputPorts?: Record<string, string> | undefined;
3838
3882
  outcomeLabels?: Record<string, string> | undefined;
3839
3883
  } | {
3840
- key: string;
3841
3884
  kind: "external_wait";
3885
+ key: string;
3842
3886
  laneKey: string;
3843
3887
  stageKey: string;
3844
3888
  subscriptionRef: string;
@@ -3853,18 +3897,18 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3853
3897
  key: string;
3854
3898
  from: "parameter";
3855
3899
  } | {
3856
- from: "collection";
3857
3900
  items: {
3858
3901
  from: "node_output";
3859
3902
  nodeKey: string;
3860
3903
  port: string;
3861
3904
  }[];
3905
+ from: "collection";
3862
3906
  }> | undefined;
3863
3907
  outputPorts?: Record<string, string> | undefined;
3864
3908
  } | {
3909
+ kind: "terminal";
3865
3910
  key: string;
3866
3911
  outcome: string;
3867
- kind: "terminal";
3868
3912
  stageKey: string;
3869
3913
  label?: string | undefined;
3870
3914
  inputBindings?: Record<string, {
@@ -3877,12 +3921,12 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3877
3921
  key: string;
3878
3922
  from: "parameter";
3879
3923
  } | {
3880
- from: "collection";
3881
3924
  items: {
3882
3925
  from: "node_output";
3883
3926
  nodeKey: string;
3884
3927
  port: string;
3885
3928
  }[];
3929
+ from: "collection";
3886
3930
  }> | undefined;
3887
3931
  outputPorts?: Record<string, string> | undefined;
3888
3932
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3904,15 +3948,15 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
3904
3948
  requiredNodeFailure: "block_and_attention";
3905
3949
  unknownExecution: "inspect_without_replay";
3906
3950
  };
3907
- hostRequirements?: {
3908
- protocol: number;
3909
- features: Record<string, number>;
3910
- } | undefined;
3911
3951
  presentation?: {
3912
3952
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3913
3953
  nodeDetailRef?: string | undefined;
3914
3954
  evidenceTypes?: string[] | undefined;
3915
3955
  } | undefined;
3956
+ hostRequirements?: {
3957
+ protocol: number;
3958
+ features: Record<string, number>;
3959
+ } | undefined;
3916
3960
  metrics?: {
3917
3961
  dimensionRefs: string[];
3918
3962
  metricRefs: string[];