@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
@@ -64,14 +64,14 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
64
64
  order: z.ZodNumber;
65
65
  }, "strict", z.ZodTypeAny, {
66
66
  key: string;
67
+ order: number;
67
68
  roleKey: string;
68
69
  label: string;
69
- order: number;
70
70
  }, {
71
71
  key: string;
72
+ order: number;
72
73
  roleKey: string;
73
74
  label: string;
74
- order: number;
75
75
  }>, "many">;
76
76
  stages: z.ZodArray<z.ZodObject<{
77
77
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -80,13 +80,13 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
80
80
  order: z.ZodNumber;
81
81
  }, "strict", z.ZodTypeAny, {
82
82
  key: string;
83
- label: string;
84
83
  order: number;
84
+ label: string;
85
85
  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;
86
86
  }, {
87
87
  key: string;
88
- label: string;
89
88
  order: number;
89
+ label: string;
90
90
  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;
91
91
  }>, "many">;
92
92
  presentation: z.ZodOptional<z.ZodObject<{
@@ -114,14 +114,20 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
114
114
  }>>;
115
115
  }, "strict", z.ZodTypeAny, {
116
116
  key: string;
117
+ title: string;
118
+ version: string;
119
+ lanes: {
120
+ key: string;
121
+ order: number;
122
+ roleKey: string;
123
+ label: string;
124
+ }[];
117
125
  executionAuthority: "provider";
118
126
  providerRef: string;
119
127
  topology: {
120
128
  source: "provider";
121
129
  presentationAdapterRef: string;
122
130
  };
123
- version: string;
124
- title: string;
125
131
  projectTypes: {
126
132
  applicationKey: string;
127
133
  projectTypeKey: string;
@@ -131,42 +137,42 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
131
137
  key: string;
132
138
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
133
139
  }[];
134
- lanes: {
135
- key: string;
136
- roleKey: string;
137
- label: string;
138
- order: number;
139
- }[];
140
140
  stages: {
141
141
  key: string;
142
- label: string;
143
142
  order: number;
143
+ label: string;
144
144
  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;
145
145
  }[];
146
- actionRefs?: string[] | undefined;
147
- hostRequirements?: {
148
- protocol: number;
149
- features: Record<string, number>;
150
- } | undefined;
151
146
  presentation?: {
152
147
  views: ("tasks" | "pipeline" | "agent_timeline")[];
153
148
  nodeDetailRef?: string | undefined;
154
149
  evidenceTypes?: string[] | undefined;
155
150
  } | undefined;
151
+ actionRefs?: string[] | undefined;
152
+ hostRequirements?: {
153
+ protocol: number;
154
+ features: Record<string, number>;
155
+ } | undefined;
156
156
  metrics?: {
157
157
  dimensionRefs: string[];
158
158
  metricRefs: string[];
159
159
  } | undefined;
160
160
  }, {
161
161
  key: string;
162
+ title: string;
163
+ version: string;
164
+ lanes: {
165
+ key: string;
166
+ order: number;
167
+ roleKey: string;
168
+ label: string;
169
+ }[];
162
170
  executionAuthority: "provider";
163
171
  providerRef: string;
164
172
  topology: {
165
173
  source: "provider";
166
174
  presentationAdapterRef: string;
167
175
  };
168
- version: string;
169
- title: string;
170
176
  projectTypes: {
171
177
  applicationKey: string;
172
178
  projectTypeKey: string;
@@ -176,28 +182,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
176
182
  key: string;
177
183
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
178
184
  }[];
179
- lanes: {
180
- key: string;
181
- roleKey: string;
182
- label: string;
183
- order: number;
184
- }[];
185
185
  stages: {
186
186
  key: string;
187
- label: string;
188
187
  order: number;
188
+ label: string;
189
189
  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;
190
190
  }[];
191
- actionRefs?: string[] | undefined;
192
- hostRequirements?: {
193
- protocol: number;
194
- features: Record<string, number>;
195
- } | undefined;
196
191
  presentation?: {
197
192
  views: ("tasks" | "pipeline" | "agent_timeline")[];
198
193
  nodeDetailRef?: string | undefined;
199
194
  evidenceTypes?: string[] | undefined;
200
195
  } | undefined;
196
+ actionRefs?: string[] | undefined;
197
+ hostRequirements?: {
198
+ protocol: number;
199
+ features: Record<string, number>;
200
+ } | undefined;
201
201
  metrics?: {
202
202
  dimensionRefs: string[];
203
203
  metricRefs: string[];
@@ -214,6 +214,13 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
214
214
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
215
215
  kind: z.ZodLiteral<"work">;
216
216
  laneKey: z.ZodEffects<z.ZodString, string, string>;
217
+ presentation: z.ZodOptional<z.ZodObject<{
218
+ foldIntoApproval: z.ZodEffects<z.ZodString, string, string>;
219
+ }, "strict", z.ZodTypeAny, {
220
+ foldIntoApproval: string;
221
+ }, {
222
+ foldIntoApproval: string;
223
+ }>>;
217
224
  operationRef: z.ZodString;
218
225
  executorSlot: z.ZodEffects<z.ZodString, string, string>;
219
226
  completionRef: z.ZodString;
@@ -265,29 +272,32 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
265
272
  port: string;
266
273
  }>, "many">;
267
274
  }, "strict", z.ZodTypeAny, {
268
- from: "collection";
269
275
  items: {
270
276
  from: "node_output";
271
277
  nodeKey: string;
272
278
  port: string;
273
279
  }[];
274
- }, {
275
280
  from: "collection";
281
+ }, {
276
282
  items: {
277
283
  from: "node_output";
278
284
  nodeKey: string;
279
285
  port: string;
280
286
  }[];
287
+ from: "collection";
281
288
  }>]>>>;
282
289
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
283
290
  }, "strict", z.ZodTypeAny, {
284
- key: string;
285
291
  kind: "work";
292
+ key: string;
286
293
  laneKey: string;
287
294
  operationRef: string;
288
295
  executorSlot: string;
289
296
  completionRef: string;
290
297
  stageKey: string;
298
+ presentation?: {
299
+ foldIntoApproval: string;
300
+ } | undefined;
291
301
  label?: string | undefined;
292
302
  resourceResolverRef?: string | undefined;
293
303
  outputSchemaRef?: string | undefined;
@@ -301,22 +311,25 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
301
311
  key: string;
302
312
  from: "parameter";
303
313
  } | {
304
- from: "collection";
305
314
  items: {
306
315
  from: "node_output";
307
316
  nodeKey: string;
308
317
  port: string;
309
318
  }[];
319
+ from: "collection";
310
320
  }> | undefined;
311
321
  outputPorts?: Record<string, string> | undefined;
312
322
  }, {
313
- key: string;
314
323
  kind: "work";
324
+ key: string;
315
325
  laneKey: string;
316
326
  operationRef: string;
317
327
  executorSlot: string;
318
328
  completionRef: string;
319
329
  stageKey: string;
330
+ presentation?: {
331
+ foldIntoApproval: string;
332
+ } | undefined;
320
333
  label?: string | undefined;
321
334
  resourceResolverRef?: string | undefined;
322
335
  outputSchemaRef?: string | undefined;
@@ -330,12 +343,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
330
343
  key: string;
331
344
  from: "parameter";
332
345
  } | {
333
- from: "collection";
334
346
  items: {
335
347
  from: "node_output";
336
348
  nodeKey: string;
337
349
  port: string;
338
350
  }[];
351
+ from: "collection";
339
352
  }> | undefined;
340
353
  outputPorts?: Record<string, string> | undefined;
341
354
  }>, z.ZodObject<{
@@ -386,24 +399,24 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
386
399
  port: string;
387
400
  }>, "many">;
388
401
  }, "strict", z.ZodTypeAny, {
389
- from: "collection";
390
402
  items: {
391
403
  from: "node_output";
392
404
  nodeKey: string;
393
405
  port: string;
394
406
  }[];
395
- }, {
396
407
  from: "collection";
408
+ }, {
397
409
  items: {
398
410
  from: "node_output";
399
411
  nodeKey: string;
400
412
  port: string;
401
413
  }[];
414
+ from: "collection";
402
415
  }>]>>>;
403
416
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
404
417
  }, "strict", z.ZodTypeAny, {
405
- key: string;
406
418
  kind: "fork";
419
+ key: string;
407
420
  stageKey: string;
408
421
  label?: string | undefined;
409
422
  inputBindings?: Record<string, {
@@ -416,17 +429,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
416
429
  key: string;
417
430
  from: "parameter";
418
431
  } | {
419
- from: "collection";
420
432
  items: {
421
433
  from: "node_output";
422
434
  nodeKey: string;
423
435
  port: string;
424
436
  }[];
437
+ from: "collection";
425
438
  }> | undefined;
426
439
  outputPorts?: Record<string, string> | undefined;
427
440
  }, {
428
- key: string;
429
441
  kind: "fork";
442
+ key: string;
430
443
  stageKey: string;
431
444
  label?: string | undefined;
432
445
  inputBindings?: Record<string, {
@@ -439,12 +452,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
439
452
  key: string;
440
453
  from: "parameter";
441
454
  } | {
442
- from: "collection";
443
455
  items: {
444
456
  from: "node_output";
445
457
  nodeKey: string;
446
458
  port: string;
447
459
  }[];
460
+ from: "collection";
448
461
  }> | undefined;
449
462
  outputPorts?: Record<string, string> | undefined;
450
463
  }>, z.ZodObject<{
@@ -505,28 +518,28 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
505
518
  port: string;
506
519
  }>, "many">;
507
520
  }, "strict", z.ZodTypeAny, {
508
- from: "collection";
509
521
  items: {
510
522
  from: "node_output";
511
523
  nodeKey: string;
512
524
  port: string;
513
525
  }[];
514
- }, {
515
526
  from: "collection";
527
+ }, {
516
528
  items: {
517
529
  from: "node_output";
518
530
  nodeKey: string;
519
531
  port: string;
520
532
  }[];
533
+ from: "collection";
521
534
  }>]>>>;
522
535
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
523
536
  }, "strict", z.ZodTypeAny, {
537
+ kind: "join";
538
+ key: string;
524
539
  join: {
525
540
  mode: "all_selected";
526
541
  accept: "completed";
527
542
  };
528
- key: string;
529
- kind: "join";
530
543
  stageKey: string;
531
544
  label?: string | undefined;
532
545
  inputBindings?: Record<string, {
@@ -539,21 +552,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
539
552
  key: string;
540
553
  from: "parameter";
541
554
  } | {
542
- from: "collection";
543
555
  items: {
544
556
  from: "node_output";
545
557
  nodeKey: string;
546
558
  port: string;
547
559
  }[];
560
+ from: "collection";
548
561
  }> | undefined;
549
562
  outputPorts?: Record<string, string> | undefined;
550
563
  }, {
564
+ kind: "join";
565
+ key: string;
551
566
  join: {
552
567
  mode: "all_selected";
553
568
  accept: "completed";
554
569
  };
555
- key: string;
556
- kind: "join";
557
570
  stageKey: string;
558
571
  label?: string | undefined;
559
572
  inputBindings?: Record<string, {
@@ -566,12 +579,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
566
579
  key: string;
567
580
  from: "parameter";
568
581
  } | {
569
- from: "collection";
570
582
  items: {
571
583
  from: "node_output";
572
584
  nodeKey: string;
573
585
  port: string;
574
586
  }[];
587
+ from: "collection";
575
588
  }> | undefined;
576
589
  outputPorts?: Record<string, string> | undefined;
577
590
  }>, z.ZodObject<{
@@ -625,24 +638,24 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
625
638
  port: string;
626
639
  }>, "many">;
627
640
  }, "strict", z.ZodTypeAny, {
628
- from: "collection";
629
641
  items: {
630
642
  from: "node_output";
631
643
  nodeKey: string;
632
644
  port: string;
633
645
  }[];
634
- }, {
635
646
  from: "collection";
647
+ }, {
636
648
  items: {
637
649
  from: "node_output";
638
650
  nodeKey: string;
639
651
  port: string;
640
652
  }[];
653
+ from: "collection";
641
654
  }>]>>>;
642
655
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
643
656
  }, "strict", z.ZodTypeAny, {
644
- key: string;
645
657
  kind: "router";
658
+ key: string;
646
659
  stageKey: string;
647
660
  policyRef: string;
648
661
  outcomes: string[];
@@ -658,17 +671,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
658
671
  key: string;
659
672
  from: "parameter";
660
673
  } | {
661
- from: "collection";
662
674
  items: {
663
675
  from: "node_output";
664
676
  nodeKey: string;
665
677
  port: string;
666
678
  }[];
679
+ from: "collection";
667
680
  }> | undefined;
668
681
  outputPorts?: Record<string, string> | undefined;
669
682
  }, {
670
- key: string;
671
683
  kind: "router";
684
+ key: string;
672
685
  stageKey: string;
673
686
  policyRef: string;
674
687
  outcomes: string[];
@@ -684,12 +697,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
684
697
  key: string;
685
698
  from: "parameter";
686
699
  } | {
687
- from: "collection";
688
700
  items: {
689
701
  from: "node_output";
690
702
  nodeKey: string;
691
703
  port: string;
692
704
  }[];
705
+ from: "collection";
693
706
  }> | undefined;
694
707
  outputPorts?: Record<string, string> | undefined;
695
708
  }>, z.ZodObject<{
@@ -745,24 +758,24 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
745
758
  port: string;
746
759
  }>, "many">;
747
760
  }, "strict", z.ZodTypeAny, {
748
- from: "collection";
749
761
  items: {
750
762
  from: "node_output";
751
763
  nodeKey: string;
752
764
  port: string;
753
765
  }[];
754
- }, {
755
766
  from: "collection";
767
+ }, {
756
768
  items: {
757
769
  from: "node_output";
758
770
  nodeKey: string;
759
771
  port: string;
760
772
  }[];
773
+ from: "collection";
761
774
  }>]>>>;
762
775
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
763
776
  }, "strict", z.ZodTypeAny, {
764
- key: string;
765
777
  kind: "human_gate";
778
+ key: string;
766
779
  laneKey: string;
767
780
  stageKey: string;
768
781
  policyRef: string;
@@ -779,18 +792,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
779
792
  key: string;
780
793
  from: "parameter";
781
794
  } | {
782
- from: "collection";
783
795
  items: {
784
796
  from: "node_output";
785
797
  nodeKey: string;
786
798
  port: string;
787
799
  }[];
800
+ from: "collection";
788
801
  }> | undefined;
789
802
  outputPorts?: Record<string, string> | undefined;
790
803
  outcomeLabels?: Record<string, string> | undefined;
791
804
  }, {
792
- key: string;
793
805
  kind: "human_gate";
806
+ key: string;
794
807
  laneKey: string;
795
808
  stageKey: string;
796
809
  policyRef: string;
@@ -807,12 +820,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
807
820
  key: string;
808
821
  from: "parameter";
809
822
  } | {
810
- from: "collection";
811
823
  items: {
812
824
  from: "node_output";
813
825
  nodeKey: string;
814
826
  port: string;
815
827
  }[];
828
+ from: "collection";
816
829
  }> | undefined;
817
830
  outputPorts?: Record<string, string> | undefined;
818
831
  outcomeLabels?: Record<string, string> | undefined;
@@ -866,24 +879,24 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
866
879
  port: string;
867
880
  }>, "many">;
868
881
  }, "strict", z.ZodTypeAny, {
869
- from: "collection";
870
882
  items: {
871
883
  from: "node_output";
872
884
  nodeKey: string;
873
885
  port: string;
874
886
  }[];
875
- }, {
876
887
  from: "collection";
888
+ }, {
877
889
  items: {
878
890
  from: "node_output";
879
891
  nodeKey: string;
880
892
  port: string;
881
893
  }[];
894
+ from: "collection";
882
895
  }>]>>>;
883
896
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
884
897
  }, "strict", z.ZodTypeAny, {
885
- key: string;
886
898
  kind: "external_wait";
899
+ key: string;
887
900
  laneKey: string;
888
901
  stageKey: string;
889
902
  subscriptionRef: string;
@@ -898,17 +911,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
898
911
  key: string;
899
912
  from: "parameter";
900
913
  } | {
901
- from: "collection";
902
914
  items: {
903
915
  from: "node_output";
904
916
  nodeKey: string;
905
917
  port: string;
906
918
  }[];
919
+ from: "collection";
907
920
  }> | undefined;
908
921
  outputPorts?: Record<string, string> | undefined;
909
922
  }, {
910
- key: string;
911
923
  kind: "external_wait";
924
+ key: string;
912
925
  laneKey: string;
913
926
  stageKey: string;
914
927
  subscriptionRef: string;
@@ -923,12 +936,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
923
936
  key: string;
924
937
  from: "parameter";
925
938
  } | {
926
- from: "collection";
927
939
  items: {
928
940
  from: "node_output";
929
941
  nodeKey: string;
930
942
  port: string;
931
943
  }[];
944
+ from: "collection";
932
945
  }> | undefined;
933
946
  outputPorts?: Record<string, string> | undefined;
934
947
  }>, z.ZodObject<{
@@ -981,25 +994,25 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
981
994
  port: string;
982
995
  }>, "many">;
983
996
  }, "strict", z.ZodTypeAny, {
984
- from: "collection";
985
997
  items: {
986
998
  from: "node_output";
987
999
  nodeKey: string;
988
1000
  port: string;
989
1001
  }[];
990
- }, {
991
1002
  from: "collection";
1003
+ }, {
992
1004
  items: {
993
1005
  from: "node_output";
994
1006
  nodeKey: string;
995
1007
  port: string;
996
1008
  }[];
1009
+ from: "collection";
997
1010
  }>]>>>;
998
1011
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
999
1012
  }, "strict", z.ZodTypeAny, {
1013
+ kind: "terminal";
1000
1014
  key: string;
1001
1015
  outcome: string;
1002
- kind: "terminal";
1003
1016
  stageKey: string;
1004
1017
  label?: string | undefined;
1005
1018
  inputBindings?: Record<string, {
@@ -1012,19 +1025,19 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1012
1025
  key: string;
1013
1026
  from: "parameter";
1014
1027
  } | {
1015
- from: "collection";
1016
1028
  items: {
1017
1029
  from: "node_output";
1018
1030
  nodeKey: string;
1019
1031
  port: string;
1020
1032
  }[];
1033
+ from: "collection";
1021
1034
  }> | undefined;
1022
1035
  outputPorts?: Record<string, string> | undefined;
1023
1036
  disposition?: "complete" | "await_new_subject" | undefined;
1024
1037
  }, {
1038
+ kind: "terminal";
1025
1039
  key: string;
1026
1040
  outcome: string;
1027
- kind: "terminal";
1028
1041
  stageKey: string;
1029
1042
  label?: string | undefined;
1030
1043
  inputBindings?: Record<string, {
@@ -1037,12 +1050,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1037
1050
  key: string;
1038
1051
  from: "parameter";
1039
1052
  } | {
1040
- from: "collection";
1041
1053
  items: {
1042
1054
  from: "node_output";
1043
1055
  nodeKey: string;
1044
1056
  port: string;
1045
1057
  }[];
1058
+ from: "collection";
1046
1059
  }> | undefined;
1047
1060
  outputPorts?: Record<string, string> | undefined;
1048
1061
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1139,14 +1152,14 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1139
1152
  order: z.ZodNumber;
1140
1153
  }, "strict", z.ZodTypeAny, {
1141
1154
  key: string;
1155
+ order: number;
1142
1156
  roleKey: string;
1143
1157
  label: string;
1144
- order: number;
1145
1158
  }, {
1146
1159
  key: string;
1160
+ order: number;
1147
1161
  roleKey: string;
1148
1162
  label: string;
1149
- order: number;
1150
1163
  }>, "many">;
1151
1164
  stages: z.ZodArray<z.ZodObject<{
1152
1165
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -1155,13 +1168,13 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1155
1168
  order: z.ZodNumber;
1156
1169
  }, "strict", z.ZodTypeAny, {
1157
1170
  key: string;
1158
- label: string;
1159
1171
  order: number;
1172
+ label: string;
1160
1173
  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;
1161
1174
  }, {
1162
1175
  key: string;
1163
- label: string;
1164
1176
  order: number;
1177
+ label: string;
1165
1178
  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;
1166
1179
  }>, "many">;
1167
1180
  presentation: z.ZodOptional<z.ZodObject<{
@@ -1189,12 +1202,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1189
1202
  }>>;
1190
1203
  }, "strict", z.ZodTypeAny, {
1191
1204
  key: string;
1205
+ title: string;
1206
+ version: string;
1207
+ lanes: {
1208
+ key: string;
1209
+ order: number;
1210
+ roleKey: string;
1211
+ label: string;
1212
+ }[];
1192
1213
  executionAuthority: "platform";
1193
1214
  topology: {
1194
1215
  source: "definition";
1195
1216
  };
1196
- version: string;
1197
- title: string;
1198
1217
  projectTypes: {
1199
1218
  applicationKey: string;
1200
1219
  projectTypeKey: string;
@@ -1204,26 +1223,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1204
1223
  key: string;
1205
1224
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1206
1225
  }[];
1207
- lanes: {
1208
- key: string;
1209
- roleKey: string;
1210
- label: string;
1211
- order: number;
1212
- }[];
1213
1226
  stages: {
1214
1227
  key: string;
1215
- label: string;
1216
1228
  order: number;
1229
+ label: string;
1217
1230
  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;
1218
1231
  }[];
1219
1232
  nodes: ({
1220
- key: string;
1221
1233
  kind: "work";
1234
+ key: string;
1222
1235
  laneKey: string;
1223
1236
  operationRef: string;
1224
1237
  executorSlot: string;
1225
1238
  completionRef: string;
1226
1239
  stageKey: string;
1240
+ presentation?: {
1241
+ foldIntoApproval: string;
1242
+ } | undefined;
1227
1243
  label?: string | undefined;
1228
1244
  resourceResolverRef?: string | undefined;
1229
1245
  outputSchemaRef?: string | undefined;
@@ -1237,17 +1253,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1237
1253
  key: string;
1238
1254
  from: "parameter";
1239
1255
  } | {
1240
- from: "collection";
1241
1256
  items: {
1242
1257
  from: "node_output";
1243
1258
  nodeKey: string;
1244
1259
  port: string;
1245
1260
  }[];
1261
+ from: "collection";
1246
1262
  }> | undefined;
1247
1263
  outputPorts?: Record<string, string> | undefined;
1248
1264
  } | {
1249
- key: string;
1250
1265
  kind: "fork";
1266
+ key: string;
1251
1267
  stageKey: string;
1252
1268
  label?: string | undefined;
1253
1269
  inputBindings?: Record<string, {
@@ -1260,21 +1276,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1260
1276
  key: string;
1261
1277
  from: "parameter";
1262
1278
  } | {
1263
- from: "collection";
1264
1279
  items: {
1265
1280
  from: "node_output";
1266
1281
  nodeKey: string;
1267
1282
  port: string;
1268
1283
  }[];
1284
+ from: "collection";
1269
1285
  }> | undefined;
1270
1286
  outputPorts?: Record<string, string> | undefined;
1271
1287
  } | {
1288
+ kind: "join";
1289
+ key: string;
1272
1290
  join: {
1273
1291
  mode: "all_selected";
1274
1292
  accept: "completed";
1275
1293
  };
1276
- key: string;
1277
- kind: "join";
1278
1294
  stageKey: string;
1279
1295
  label?: string | undefined;
1280
1296
  inputBindings?: Record<string, {
@@ -1287,17 +1303,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1287
1303
  key: string;
1288
1304
  from: "parameter";
1289
1305
  } | {
1290
- from: "collection";
1291
1306
  items: {
1292
1307
  from: "node_output";
1293
1308
  nodeKey: string;
1294
1309
  port: string;
1295
1310
  }[];
1311
+ from: "collection";
1296
1312
  }> | undefined;
1297
1313
  outputPorts?: Record<string, string> | undefined;
1298
1314
  } | {
1299
- key: string;
1300
1315
  kind: "router";
1316
+ key: string;
1301
1317
  stageKey: string;
1302
1318
  policyRef: string;
1303
1319
  outcomes: string[];
@@ -1313,17 +1329,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1313
1329
  key: string;
1314
1330
  from: "parameter";
1315
1331
  } | {
1316
- from: "collection";
1317
1332
  items: {
1318
1333
  from: "node_output";
1319
1334
  nodeKey: string;
1320
1335
  port: string;
1321
1336
  }[];
1337
+ from: "collection";
1322
1338
  }> | undefined;
1323
1339
  outputPorts?: Record<string, string> | undefined;
1324
1340
  } | {
1325
- key: string;
1326
1341
  kind: "human_gate";
1342
+ key: string;
1327
1343
  laneKey: string;
1328
1344
  stageKey: string;
1329
1345
  policyRef: string;
@@ -1340,18 +1356,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1340
1356
  key: string;
1341
1357
  from: "parameter";
1342
1358
  } | {
1343
- from: "collection";
1344
1359
  items: {
1345
1360
  from: "node_output";
1346
1361
  nodeKey: string;
1347
1362
  port: string;
1348
1363
  }[];
1364
+ from: "collection";
1349
1365
  }> | undefined;
1350
1366
  outputPorts?: Record<string, string> | undefined;
1351
1367
  outcomeLabels?: Record<string, string> | undefined;
1352
1368
  } | {
1353
- key: string;
1354
1369
  kind: "external_wait";
1370
+ key: string;
1355
1371
  laneKey: string;
1356
1372
  stageKey: string;
1357
1373
  subscriptionRef: string;
@@ -1366,18 +1382,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1366
1382
  key: string;
1367
1383
  from: "parameter";
1368
1384
  } | {
1369
- from: "collection";
1370
1385
  items: {
1371
1386
  from: "node_output";
1372
1387
  nodeKey: string;
1373
1388
  port: string;
1374
1389
  }[];
1390
+ from: "collection";
1375
1391
  }> | undefined;
1376
1392
  outputPorts?: Record<string, string> | undefined;
1377
1393
  } | {
1394
+ kind: "terminal";
1378
1395
  key: string;
1379
1396
  outcome: string;
1380
- kind: "terminal";
1381
1397
  stageKey: string;
1382
1398
  label?: string | undefined;
1383
1399
  inputBindings?: Record<string, {
@@ -1390,12 +1406,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1390
1406
  key: string;
1391
1407
  from: "parameter";
1392
1408
  } | {
1393
- from: "collection";
1394
1409
  items: {
1395
1410
  from: "node_output";
1396
1411
  nodeKey: string;
1397
1412
  port: string;
1398
1413
  }[];
1414
+ from: "collection";
1399
1415
  }> | undefined;
1400
1416
  outputPorts?: Record<string, string> | undefined;
1401
1417
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1417,27 +1433,33 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1417
1433
  requiredNodeFailure: "block_and_attention";
1418
1434
  unknownExecution: "inspect_without_replay";
1419
1435
  };
1420
- hostRequirements?: {
1421
- protocol: number;
1422
- features: Record<string, number>;
1423
- } | undefined;
1424
1436
  presentation?: {
1425
1437
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1426
1438
  nodeDetailRef?: string | undefined;
1427
1439
  evidenceTypes?: string[] | undefined;
1428
1440
  } | undefined;
1441
+ hostRequirements?: {
1442
+ protocol: number;
1443
+ features: Record<string, number>;
1444
+ } | undefined;
1429
1445
  metrics?: {
1430
1446
  dimensionRefs: string[];
1431
1447
  metricRefs: string[];
1432
1448
  } | undefined;
1433
1449
  }, {
1434
1450
  key: string;
1451
+ title: string;
1452
+ version: string;
1453
+ lanes: {
1454
+ key: string;
1455
+ order: number;
1456
+ roleKey: string;
1457
+ label: string;
1458
+ }[];
1435
1459
  executionAuthority: "platform";
1436
1460
  topology: {
1437
1461
  source: "definition";
1438
1462
  };
1439
- version: string;
1440
- title: string;
1441
1463
  projectTypes: {
1442
1464
  applicationKey: string;
1443
1465
  projectTypeKey: string;
@@ -1447,26 +1469,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1447
1469
  key: string;
1448
1470
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1449
1471
  }[];
1450
- lanes: {
1451
- key: string;
1452
- roleKey: string;
1453
- label: string;
1454
- order: number;
1455
- }[];
1456
1472
  stages: {
1457
1473
  key: string;
1458
- label: string;
1459
1474
  order: number;
1475
+ label: string;
1460
1476
  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;
1461
1477
  }[];
1462
1478
  nodes: ({
1463
- key: string;
1464
1479
  kind: "work";
1480
+ key: string;
1465
1481
  laneKey: string;
1466
1482
  operationRef: string;
1467
1483
  executorSlot: string;
1468
1484
  completionRef: string;
1469
1485
  stageKey: string;
1486
+ presentation?: {
1487
+ foldIntoApproval: string;
1488
+ } | undefined;
1470
1489
  label?: string | undefined;
1471
1490
  resourceResolverRef?: string | undefined;
1472
1491
  outputSchemaRef?: string | undefined;
@@ -1480,17 +1499,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1480
1499
  key: string;
1481
1500
  from: "parameter";
1482
1501
  } | {
1483
- from: "collection";
1484
1502
  items: {
1485
1503
  from: "node_output";
1486
1504
  nodeKey: string;
1487
1505
  port: string;
1488
1506
  }[];
1507
+ from: "collection";
1489
1508
  }> | undefined;
1490
1509
  outputPorts?: Record<string, string> | undefined;
1491
1510
  } | {
1492
- key: string;
1493
1511
  kind: "fork";
1512
+ key: string;
1494
1513
  stageKey: string;
1495
1514
  label?: string | undefined;
1496
1515
  inputBindings?: Record<string, {
@@ -1503,21 +1522,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1503
1522
  key: string;
1504
1523
  from: "parameter";
1505
1524
  } | {
1506
- from: "collection";
1507
1525
  items: {
1508
1526
  from: "node_output";
1509
1527
  nodeKey: string;
1510
1528
  port: string;
1511
1529
  }[];
1530
+ from: "collection";
1512
1531
  }> | undefined;
1513
1532
  outputPorts?: Record<string, string> | undefined;
1514
1533
  } | {
1534
+ kind: "join";
1535
+ key: string;
1515
1536
  join: {
1516
1537
  mode: "all_selected";
1517
1538
  accept: "completed";
1518
1539
  };
1519
- key: string;
1520
- kind: "join";
1521
1540
  stageKey: string;
1522
1541
  label?: string | undefined;
1523
1542
  inputBindings?: Record<string, {
@@ -1530,17 +1549,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1530
1549
  key: string;
1531
1550
  from: "parameter";
1532
1551
  } | {
1533
- from: "collection";
1534
1552
  items: {
1535
1553
  from: "node_output";
1536
1554
  nodeKey: string;
1537
1555
  port: string;
1538
1556
  }[];
1557
+ from: "collection";
1539
1558
  }> | undefined;
1540
1559
  outputPorts?: Record<string, string> | undefined;
1541
1560
  } | {
1542
- key: string;
1543
1561
  kind: "router";
1562
+ key: string;
1544
1563
  stageKey: string;
1545
1564
  policyRef: string;
1546
1565
  outcomes: string[];
@@ -1556,17 +1575,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1556
1575
  key: string;
1557
1576
  from: "parameter";
1558
1577
  } | {
1559
- from: "collection";
1560
1578
  items: {
1561
1579
  from: "node_output";
1562
1580
  nodeKey: string;
1563
1581
  port: string;
1564
1582
  }[];
1583
+ from: "collection";
1565
1584
  }> | undefined;
1566
1585
  outputPorts?: Record<string, string> | undefined;
1567
1586
  } | {
1568
- key: string;
1569
1587
  kind: "human_gate";
1588
+ key: string;
1570
1589
  laneKey: string;
1571
1590
  stageKey: string;
1572
1591
  policyRef: string;
@@ -1583,18 +1602,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1583
1602
  key: string;
1584
1603
  from: "parameter";
1585
1604
  } | {
1586
- from: "collection";
1587
1605
  items: {
1588
1606
  from: "node_output";
1589
1607
  nodeKey: string;
1590
1608
  port: string;
1591
1609
  }[];
1610
+ from: "collection";
1592
1611
  }> | undefined;
1593
1612
  outputPorts?: Record<string, string> | undefined;
1594
1613
  outcomeLabels?: Record<string, string> | undefined;
1595
1614
  } | {
1596
- key: string;
1597
1615
  kind: "external_wait";
1616
+ key: string;
1598
1617
  laneKey: string;
1599
1618
  stageKey: string;
1600
1619
  subscriptionRef: string;
@@ -1609,18 +1628,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1609
1628
  key: string;
1610
1629
  from: "parameter";
1611
1630
  } | {
1612
- from: "collection";
1613
1631
  items: {
1614
1632
  from: "node_output";
1615
1633
  nodeKey: string;
1616
1634
  port: string;
1617
1635
  }[];
1636
+ from: "collection";
1618
1637
  }> | undefined;
1619
1638
  outputPorts?: Record<string, string> | undefined;
1620
1639
  } | {
1640
+ kind: "terminal";
1621
1641
  key: string;
1622
1642
  outcome: string;
1623
- kind: "terminal";
1624
1643
  stageKey: string;
1625
1644
  label?: string | undefined;
1626
1645
  inputBindings?: Record<string, {
@@ -1633,12 +1652,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1633
1652
  key: string;
1634
1653
  from: "parameter";
1635
1654
  } | {
1636
- from: "collection";
1637
1655
  items: {
1638
1656
  from: "node_output";
1639
1657
  nodeKey: string;
1640
1658
  port: string;
1641
1659
  }[];
1660
+ from: "collection";
1642
1661
  }> | undefined;
1643
1662
  outputPorts?: Record<string, string> | undefined;
1644
1663
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1660,29 +1679,35 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1660
1679
  requiredNodeFailure: "block_and_attention";
1661
1680
  unknownExecution: "inspect_without_replay";
1662
1681
  };
1663
- hostRequirements?: {
1664
- protocol: number;
1665
- features: Record<string, number>;
1666
- } | undefined;
1667
1682
  presentation?: {
1668
1683
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1669
1684
  nodeDetailRef?: string | undefined;
1670
1685
  evidenceTypes?: string[] | undefined;
1671
1686
  } | undefined;
1687
+ hostRequirements?: {
1688
+ protocol: number;
1689
+ features: Record<string, number>;
1690
+ } | undefined;
1672
1691
  metrics?: {
1673
1692
  dimensionRefs: string[];
1674
1693
  metricRefs: string[];
1675
1694
  } | undefined;
1676
1695
  }>]>, {
1677
1696
  key: string;
1697
+ title: string;
1698
+ version: string;
1699
+ lanes: {
1700
+ key: string;
1701
+ order: number;
1702
+ roleKey: string;
1703
+ label: string;
1704
+ }[];
1678
1705
  executionAuthority: "provider";
1679
1706
  providerRef: string;
1680
1707
  topology: {
1681
1708
  source: "provider";
1682
1709
  presentationAdapterRef: string;
1683
1710
  };
1684
- version: string;
1685
- title: string;
1686
1711
  projectTypes: {
1687
1712
  applicationKey: string;
1688
1713
  projectTypeKey: string;
@@ -1692,40 +1717,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1692
1717
  key: string;
1693
1718
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1694
1719
  }[];
1695
- lanes: {
1696
- key: string;
1697
- roleKey: string;
1698
- label: string;
1699
- order: number;
1700
- }[];
1701
1720
  stages: {
1702
1721
  key: string;
1703
- label: string;
1704
1722
  order: number;
1723
+ label: string;
1705
1724
  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;
1706
1725
  }[];
1707
- actionRefs?: string[] | undefined;
1708
- hostRequirements?: {
1709
- protocol: number;
1710
- features: Record<string, number>;
1711
- } | undefined;
1712
1726
  presentation?: {
1713
1727
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1714
1728
  nodeDetailRef?: string | undefined;
1715
1729
  evidenceTypes?: string[] | undefined;
1716
1730
  } | undefined;
1731
+ actionRefs?: string[] | undefined;
1732
+ hostRequirements?: {
1733
+ protocol: number;
1734
+ features: Record<string, number>;
1735
+ } | undefined;
1717
1736
  metrics?: {
1718
1737
  dimensionRefs: string[];
1719
1738
  metricRefs: string[];
1720
1739
  } | undefined;
1721
1740
  } | {
1722
1741
  key: string;
1742
+ title: string;
1743
+ version: string;
1744
+ lanes: {
1745
+ key: string;
1746
+ order: number;
1747
+ roleKey: string;
1748
+ label: string;
1749
+ }[];
1723
1750
  executionAuthority: "platform";
1724
1751
  topology: {
1725
1752
  source: "definition";
1726
1753
  };
1727
- version: string;
1728
- title: string;
1729
1754
  projectTypes: {
1730
1755
  applicationKey: string;
1731
1756
  projectTypeKey: string;
@@ -1735,26 +1760,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1735
1760
  key: string;
1736
1761
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1737
1762
  }[];
1738
- lanes: {
1739
- key: string;
1740
- roleKey: string;
1741
- label: string;
1742
- order: number;
1743
- }[];
1744
1763
  stages: {
1745
1764
  key: string;
1746
- label: string;
1747
1765
  order: number;
1766
+ label: string;
1748
1767
  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;
1749
1768
  }[];
1750
1769
  nodes: ({
1751
- key: string;
1752
1770
  kind: "work";
1771
+ key: string;
1753
1772
  laneKey: string;
1754
1773
  operationRef: string;
1755
1774
  executorSlot: string;
1756
1775
  completionRef: string;
1757
1776
  stageKey: string;
1777
+ presentation?: {
1778
+ foldIntoApproval: string;
1779
+ } | undefined;
1758
1780
  label?: string | undefined;
1759
1781
  resourceResolverRef?: string | undefined;
1760
1782
  outputSchemaRef?: string | undefined;
@@ -1768,17 +1790,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1768
1790
  key: string;
1769
1791
  from: "parameter";
1770
1792
  } | {
1771
- from: "collection";
1772
1793
  items: {
1773
1794
  from: "node_output";
1774
1795
  nodeKey: string;
1775
1796
  port: string;
1776
1797
  }[];
1798
+ from: "collection";
1777
1799
  }> | undefined;
1778
1800
  outputPorts?: Record<string, string> | undefined;
1779
1801
  } | {
1780
- key: string;
1781
1802
  kind: "fork";
1803
+ key: string;
1782
1804
  stageKey: string;
1783
1805
  label?: string | undefined;
1784
1806
  inputBindings?: Record<string, {
@@ -1791,21 +1813,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1791
1813
  key: string;
1792
1814
  from: "parameter";
1793
1815
  } | {
1794
- from: "collection";
1795
1816
  items: {
1796
1817
  from: "node_output";
1797
1818
  nodeKey: string;
1798
1819
  port: string;
1799
1820
  }[];
1821
+ from: "collection";
1800
1822
  }> | undefined;
1801
1823
  outputPorts?: Record<string, string> | undefined;
1802
1824
  } | {
1825
+ kind: "join";
1826
+ key: string;
1803
1827
  join: {
1804
1828
  mode: "all_selected";
1805
1829
  accept: "completed";
1806
1830
  };
1807
- key: string;
1808
- kind: "join";
1809
1831
  stageKey: string;
1810
1832
  label?: string | undefined;
1811
1833
  inputBindings?: Record<string, {
@@ -1818,17 +1840,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1818
1840
  key: string;
1819
1841
  from: "parameter";
1820
1842
  } | {
1821
- from: "collection";
1822
1843
  items: {
1823
1844
  from: "node_output";
1824
1845
  nodeKey: string;
1825
1846
  port: string;
1826
1847
  }[];
1848
+ from: "collection";
1827
1849
  }> | undefined;
1828
1850
  outputPorts?: Record<string, string> | undefined;
1829
1851
  } | {
1830
- key: string;
1831
1852
  kind: "router";
1853
+ key: string;
1832
1854
  stageKey: string;
1833
1855
  policyRef: string;
1834
1856
  outcomes: string[];
@@ -1844,17 +1866,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1844
1866
  key: string;
1845
1867
  from: "parameter";
1846
1868
  } | {
1847
- from: "collection";
1848
1869
  items: {
1849
1870
  from: "node_output";
1850
1871
  nodeKey: string;
1851
1872
  port: string;
1852
1873
  }[];
1874
+ from: "collection";
1853
1875
  }> | undefined;
1854
1876
  outputPorts?: Record<string, string> | undefined;
1855
1877
  } | {
1856
- key: string;
1857
1878
  kind: "human_gate";
1879
+ key: string;
1858
1880
  laneKey: string;
1859
1881
  stageKey: string;
1860
1882
  policyRef: string;
@@ -1871,18 +1893,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1871
1893
  key: string;
1872
1894
  from: "parameter";
1873
1895
  } | {
1874
- from: "collection";
1875
1896
  items: {
1876
1897
  from: "node_output";
1877
1898
  nodeKey: string;
1878
1899
  port: string;
1879
1900
  }[];
1901
+ from: "collection";
1880
1902
  }> | undefined;
1881
1903
  outputPorts?: Record<string, string> | undefined;
1882
1904
  outcomeLabels?: Record<string, string> | undefined;
1883
1905
  } | {
1884
- key: string;
1885
1906
  kind: "external_wait";
1907
+ key: string;
1886
1908
  laneKey: string;
1887
1909
  stageKey: string;
1888
1910
  subscriptionRef: string;
@@ -1897,18 +1919,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1897
1919
  key: string;
1898
1920
  from: "parameter";
1899
1921
  } | {
1900
- from: "collection";
1901
1922
  items: {
1902
1923
  from: "node_output";
1903
1924
  nodeKey: string;
1904
1925
  port: string;
1905
1926
  }[];
1927
+ from: "collection";
1906
1928
  }> | undefined;
1907
1929
  outputPorts?: Record<string, string> | undefined;
1908
1930
  } | {
1931
+ kind: "terminal";
1909
1932
  key: string;
1910
1933
  outcome: string;
1911
- kind: "terminal";
1912
1934
  stageKey: string;
1913
1935
  label?: string | undefined;
1914
1936
  inputBindings?: Record<string, {
@@ -1921,12 +1943,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1921
1943
  key: string;
1922
1944
  from: "parameter";
1923
1945
  } | {
1924
- from: "collection";
1925
1946
  items: {
1926
1947
  from: "node_output";
1927
1948
  nodeKey: string;
1928
1949
  port: string;
1929
1950
  }[];
1951
+ from: "collection";
1930
1952
  }> | undefined;
1931
1953
  outputPorts?: Record<string, string> | undefined;
1932
1954
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1948,29 +1970,35 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1948
1970
  requiredNodeFailure: "block_and_attention";
1949
1971
  unknownExecution: "inspect_without_replay";
1950
1972
  };
1951
- hostRequirements?: {
1952
- protocol: number;
1953
- features: Record<string, number>;
1954
- } | undefined;
1955
1973
  presentation?: {
1956
1974
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1957
1975
  nodeDetailRef?: string | undefined;
1958
1976
  evidenceTypes?: string[] | undefined;
1959
1977
  } | undefined;
1978
+ hostRequirements?: {
1979
+ protocol: number;
1980
+ features: Record<string, number>;
1981
+ } | undefined;
1960
1982
  metrics?: {
1961
1983
  dimensionRefs: string[];
1962
1984
  metricRefs: string[];
1963
1985
  } | undefined;
1964
1986
  }, {
1965
1987
  key: string;
1988
+ title: string;
1989
+ version: string;
1990
+ lanes: {
1991
+ key: string;
1992
+ order: number;
1993
+ roleKey: string;
1994
+ label: string;
1995
+ }[];
1966
1996
  executionAuthority: "provider";
1967
1997
  providerRef: string;
1968
1998
  topology: {
1969
1999
  source: "provider";
1970
2000
  presentationAdapterRef: string;
1971
2001
  };
1972
- version: string;
1973
- title: string;
1974
2002
  projectTypes: {
1975
2003
  applicationKey: string;
1976
2004
  projectTypeKey: string;
@@ -1980,40 +2008,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
1980
2008
  key: string;
1981
2009
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1982
2010
  }[];
1983
- lanes: {
1984
- key: string;
1985
- roleKey: string;
1986
- label: string;
1987
- order: number;
1988
- }[];
1989
2011
  stages: {
1990
2012
  key: string;
1991
- label: string;
1992
2013
  order: number;
2014
+ label: string;
1993
2015
  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;
1994
2016
  }[];
1995
- actionRefs?: string[] | undefined;
1996
- hostRequirements?: {
1997
- protocol: number;
1998
- features: Record<string, number>;
1999
- } | undefined;
2000
2017
  presentation?: {
2001
2018
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2002
2019
  nodeDetailRef?: string | undefined;
2003
2020
  evidenceTypes?: string[] | undefined;
2004
2021
  } | undefined;
2022
+ actionRefs?: string[] | undefined;
2023
+ hostRequirements?: {
2024
+ protocol: number;
2025
+ features: Record<string, number>;
2026
+ } | undefined;
2005
2027
  metrics?: {
2006
2028
  dimensionRefs: string[];
2007
2029
  metricRefs: string[];
2008
2030
  } | undefined;
2009
2031
  } | {
2010
2032
  key: string;
2033
+ title: string;
2034
+ version: string;
2035
+ lanes: {
2036
+ key: string;
2037
+ order: number;
2038
+ roleKey: string;
2039
+ label: string;
2040
+ }[];
2011
2041
  executionAuthority: "platform";
2012
2042
  topology: {
2013
2043
  source: "definition";
2014
2044
  };
2015
- version: string;
2016
- title: string;
2017
2045
  projectTypes: {
2018
2046
  applicationKey: string;
2019
2047
  projectTypeKey: string;
@@ -2023,26 +2051,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2023
2051
  key: string;
2024
2052
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2025
2053
  }[];
2026
- lanes: {
2027
- key: string;
2028
- roleKey: string;
2029
- label: string;
2030
- order: number;
2031
- }[];
2032
2054
  stages: {
2033
2055
  key: string;
2034
- label: string;
2035
2056
  order: number;
2057
+ label: string;
2036
2058
  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;
2037
2059
  }[];
2038
2060
  nodes: ({
2039
- key: string;
2040
2061
  kind: "work";
2062
+ key: string;
2041
2063
  laneKey: string;
2042
2064
  operationRef: string;
2043
2065
  executorSlot: string;
2044
2066
  completionRef: string;
2045
2067
  stageKey: string;
2068
+ presentation?: {
2069
+ foldIntoApproval: string;
2070
+ } | undefined;
2046
2071
  label?: string | undefined;
2047
2072
  resourceResolverRef?: string | undefined;
2048
2073
  outputSchemaRef?: string | undefined;
@@ -2056,17 +2081,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2056
2081
  key: string;
2057
2082
  from: "parameter";
2058
2083
  } | {
2059
- from: "collection";
2060
2084
  items: {
2061
2085
  from: "node_output";
2062
2086
  nodeKey: string;
2063
2087
  port: string;
2064
2088
  }[];
2089
+ from: "collection";
2065
2090
  }> | undefined;
2066
2091
  outputPorts?: Record<string, string> | undefined;
2067
2092
  } | {
2068
- key: string;
2069
2093
  kind: "fork";
2094
+ key: string;
2070
2095
  stageKey: string;
2071
2096
  label?: string | undefined;
2072
2097
  inputBindings?: Record<string, {
@@ -2079,21 +2104,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2079
2104
  key: string;
2080
2105
  from: "parameter";
2081
2106
  } | {
2082
- from: "collection";
2083
2107
  items: {
2084
2108
  from: "node_output";
2085
2109
  nodeKey: string;
2086
2110
  port: string;
2087
2111
  }[];
2112
+ from: "collection";
2088
2113
  }> | undefined;
2089
2114
  outputPorts?: Record<string, string> | undefined;
2090
2115
  } | {
2116
+ kind: "join";
2117
+ key: string;
2091
2118
  join: {
2092
2119
  mode: "all_selected";
2093
2120
  accept: "completed";
2094
2121
  };
2095
- key: string;
2096
- kind: "join";
2097
2122
  stageKey: string;
2098
2123
  label?: string | undefined;
2099
2124
  inputBindings?: Record<string, {
@@ -2106,17 +2131,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2106
2131
  key: string;
2107
2132
  from: "parameter";
2108
2133
  } | {
2109
- from: "collection";
2110
2134
  items: {
2111
2135
  from: "node_output";
2112
2136
  nodeKey: string;
2113
2137
  port: string;
2114
2138
  }[];
2139
+ from: "collection";
2115
2140
  }> | undefined;
2116
2141
  outputPorts?: Record<string, string> | undefined;
2117
2142
  } | {
2118
- key: string;
2119
2143
  kind: "router";
2144
+ key: string;
2120
2145
  stageKey: string;
2121
2146
  policyRef: string;
2122
2147
  outcomes: string[];
@@ -2132,17 +2157,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2132
2157
  key: string;
2133
2158
  from: "parameter";
2134
2159
  } | {
2135
- from: "collection";
2136
2160
  items: {
2137
2161
  from: "node_output";
2138
2162
  nodeKey: string;
2139
2163
  port: string;
2140
2164
  }[];
2165
+ from: "collection";
2141
2166
  }> | undefined;
2142
2167
  outputPorts?: Record<string, string> | undefined;
2143
2168
  } | {
2144
- key: string;
2145
2169
  kind: "human_gate";
2170
+ key: string;
2146
2171
  laneKey: string;
2147
2172
  stageKey: string;
2148
2173
  policyRef: string;
@@ -2159,18 +2184,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2159
2184
  key: string;
2160
2185
  from: "parameter";
2161
2186
  } | {
2162
- from: "collection";
2163
2187
  items: {
2164
2188
  from: "node_output";
2165
2189
  nodeKey: string;
2166
2190
  port: string;
2167
2191
  }[];
2192
+ from: "collection";
2168
2193
  }> | undefined;
2169
2194
  outputPorts?: Record<string, string> | undefined;
2170
2195
  outcomeLabels?: Record<string, string> | undefined;
2171
2196
  } | {
2172
- key: string;
2173
2197
  kind: "external_wait";
2198
+ key: string;
2174
2199
  laneKey: string;
2175
2200
  stageKey: string;
2176
2201
  subscriptionRef: string;
@@ -2185,18 +2210,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2185
2210
  key: string;
2186
2211
  from: "parameter";
2187
2212
  } | {
2188
- from: "collection";
2189
2213
  items: {
2190
2214
  from: "node_output";
2191
2215
  nodeKey: string;
2192
2216
  port: string;
2193
2217
  }[];
2218
+ from: "collection";
2194
2219
  }> | undefined;
2195
2220
  outputPorts?: Record<string, string> | undefined;
2196
2221
  } | {
2222
+ kind: "terminal";
2197
2223
  key: string;
2198
2224
  outcome: string;
2199
- kind: "terminal";
2200
2225
  stageKey: string;
2201
2226
  label?: string | undefined;
2202
2227
  inputBindings?: Record<string, {
@@ -2209,12 +2234,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2209
2234
  key: string;
2210
2235
  from: "parameter";
2211
2236
  } | {
2212
- from: "collection";
2213
2237
  items: {
2214
2238
  from: "node_output";
2215
2239
  nodeKey: string;
2216
2240
  port: string;
2217
2241
  }[];
2242
+ from: "collection";
2218
2243
  }> | undefined;
2219
2244
  outputPorts?: Record<string, string> | undefined;
2220
2245
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2236,15 +2261,15 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2236
2261
  requiredNodeFailure: "block_and_attention";
2237
2262
  unknownExecution: "inspect_without_replay";
2238
2263
  };
2239
- hostRequirements?: {
2240
- protocol: number;
2241
- features: Record<string, number>;
2242
- } | undefined;
2243
2264
  presentation?: {
2244
2265
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2245
2266
  nodeDetailRef?: string | undefined;
2246
2267
  evidenceTypes?: string[] | undefined;
2247
2268
  } | undefined;
2269
+ hostRequirements?: {
2270
+ protocol: number;
2271
+ features: Record<string, number>;
2272
+ } | undefined;
2248
2273
  metrics?: {
2249
2274
  dimensionRefs: string[];
2250
2275
  metricRefs: string[];
@@ -2273,26 +2298,26 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2273
2298
  roleKey: z.ZodEffects<z.ZodString, string, string>;
2274
2299
  workspaceId: z.ZodOptional<z.ZodString>;
2275
2300
  }, "strict", z.ZodTypeAny, {
2276
- roleKey: string;
2277
2301
  kind: "assistant" | "runtime_binding" | "human" | "service";
2302
+ roleKey: string;
2278
2303
  selectionKey: string;
2279
2304
  requiredCapabilities?: string[] | undefined;
2280
2305
  workspaceId?: string | undefined;
2281
2306
  }, {
2282
- roleKey: string;
2283
2307
  kind: "assistant" | "runtime_binding" | "human" | "service";
2308
+ roleKey: string;
2284
2309
  selectionKey: string;
2285
2310
  requiredCapabilities?: string[] | undefined;
2286
2311
  workspaceId?: string | undefined;
2287
2312
  }>, {
2288
- roleKey: string;
2289
2313
  kind: "assistant" | "runtime_binding" | "human" | "service";
2314
+ roleKey: string;
2290
2315
  selectionKey: string;
2291
2316
  requiredCapabilities?: string[] | undefined;
2292
2317
  workspaceId?: string | undefined;
2293
2318
  }, {
2294
- roleKey: string;
2295
2319
  kind: "assistant" | "runtime_binding" | "human" | "service";
2320
+ roleKey: string;
2296
2321
  selectionKey: string;
2297
2322
  requiredCapabilities?: string[] | undefined;
2298
2323
  workspaceId?: string | undefined;
@@ -2362,8 +2387,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2362
2387
  }>;
2363
2388
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2364
2389
  executorBindings?: Record<string, {
2365
- roleKey: string;
2366
2390
  kind: "assistant" | "runtime_binding" | "human" | "service";
2391
+ roleKey: string;
2367
2392
  selectionKey: string;
2368
2393
  requiredCapabilities?: string[] | undefined;
2369
2394
  workspaceId?: string | undefined;
@@ -2392,8 +2417,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2392
2417
  }>;
2393
2418
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2394
2419
  executorBindings?: Record<string, {
2395
- roleKey: string;
2396
2420
  kind: "assistant" | "runtime_binding" | "human" | "service";
2421
+ roleKey: string;
2397
2422
  selectionKey: string;
2398
2423
  requiredCapabilities?: string[] | undefined;
2399
2424
  workspaceId?: string | undefined;
@@ -2415,6 +2440,7 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2415
2440
  }[] | undefined;
2416
2441
  }>;
2417
2442
  }, "strict", z.ZodTypeAny, {
2443
+ schemaVersion: 1;
2418
2444
  binding: {
2419
2445
  templateRef: string;
2420
2446
  roleBindings: Record<string, {
@@ -2424,8 +2450,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2424
2450
  }>;
2425
2451
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2426
2452
  executorBindings?: Record<string, {
2427
- roleKey: string;
2428
2453
  kind: "assistant" | "runtime_binding" | "human" | "service";
2454
+ roleKey: string;
2429
2455
  selectionKey: string;
2430
2456
  requiredCapabilities?: string[] | undefined;
2431
2457
  workspaceId?: string | undefined;
@@ -2446,17 +2472,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2446
2472
  events: string[];
2447
2473
  }[] | undefined;
2448
2474
  };
2449
- schemaVersion: 1;
2450
2475
  template: {
2451
2476
  key: string;
2477
+ title: string;
2478
+ version: string;
2479
+ lanes: {
2480
+ key: string;
2481
+ order: number;
2482
+ roleKey: string;
2483
+ label: string;
2484
+ }[];
2452
2485
  executionAuthority: "provider";
2453
2486
  providerRef: string;
2454
2487
  topology: {
2455
2488
  source: "provider";
2456
2489
  presentationAdapterRef: string;
2457
2490
  };
2458
- version: string;
2459
- title: string;
2460
2491
  projectTypes: {
2461
2492
  applicationKey: string;
2462
2493
  projectTypeKey: string;
@@ -2466,40 +2497,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2466
2497
  key: string;
2467
2498
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2468
2499
  }[];
2469
- lanes: {
2470
- key: string;
2471
- roleKey: string;
2472
- label: string;
2473
- order: number;
2474
- }[];
2475
2500
  stages: {
2476
2501
  key: string;
2477
- label: string;
2478
2502
  order: number;
2503
+ label: string;
2479
2504
  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;
2480
2505
  }[];
2481
- actionRefs?: string[] | undefined;
2482
- hostRequirements?: {
2483
- protocol: number;
2484
- features: Record<string, number>;
2485
- } | undefined;
2486
2506
  presentation?: {
2487
2507
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2488
2508
  nodeDetailRef?: string | undefined;
2489
2509
  evidenceTypes?: string[] | undefined;
2490
2510
  } | undefined;
2511
+ actionRefs?: string[] | undefined;
2512
+ hostRequirements?: {
2513
+ protocol: number;
2514
+ features: Record<string, number>;
2515
+ } | undefined;
2491
2516
  metrics?: {
2492
2517
  dimensionRefs: string[];
2493
2518
  metricRefs: string[];
2494
2519
  } | undefined;
2495
2520
  } | {
2496
2521
  key: string;
2522
+ title: string;
2523
+ version: string;
2524
+ lanes: {
2525
+ key: string;
2526
+ order: number;
2527
+ roleKey: string;
2528
+ label: string;
2529
+ }[];
2497
2530
  executionAuthority: "platform";
2498
2531
  topology: {
2499
2532
  source: "definition";
2500
2533
  };
2501
- version: string;
2502
- title: string;
2503
2534
  projectTypes: {
2504
2535
  applicationKey: string;
2505
2536
  projectTypeKey: string;
@@ -2509,26 +2540,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2509
2540
  key: string;
2510
2541
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2511
2542
  }[];
2512
- lanes: {
2513
- key: string;
2514
- roleKey: string;
2515
- label: string;
2516
- order: number;
2517
- }[];
2518
2543
  stages: {
2519
2544
  key: string;
2520
- label: string;
2521
2545
  order: number;
2546
+ label: string;
2522
2547
  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;
2523
2548
  }[];
2524
2549
  nodes: ({
2525
- key: string;
2526
2550
  kind: "work";
2551
+ key: string;
2527
2552
  laneKey: string;
2528
2553
  operationRef: string;
2529
2554
  executorSlot: string;
2530
2555
  completionRef: string;
2531
2556
  stageKey: string;
2557
+ presentation?: {
2558
+ foldIntoApproval: string;
2559
+ } | undefined;
2532
2560
  label?: string | undefined;
2533
2561
  resourceResolverRef?: string | undefined;
2534
2562
  outputSchemaRef?: string | undefined;
@@ -2542,17 +2570,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2542
2570
  key: string;
2543
2571
  from: "parameter";
2544
2572
  } | {
2545
- from: "collection";
2546
2573
  items: {
2547
2574
  from: "node_output";
2548
2575
  nodeKey: string;
2549
2576
  port: string;
2550
2577
  }[];
2578
+ from: "collection";
2551
2579
  }> | undefined;
2552
2580
  outputPorts?: Record<string, string> | undefined;
2553
2581
  } | {
2554
- key: string;
2555
2582
  kind: "fork";
2583
+ key: string;
2556
2584
  stageKey: string;
2557
2585
  label?: string | undefined;
2558
2586
  inputBindings?: Record<string, {
@@ -2565,21 +2593,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2565
2593
  key: string;
2566
2594
  from: "parameter";
2567
2595
  } | {
2568
- from: "collection";
2569
2596
  items: {
2570
2597
  from: "node_output";
2571
2598
  nodeKey: string;
2572
2599
  port: string;
2573
2600
  }[];
2601
+ from: "collection";
2574
2602
  }> | undefined;
2575
2603
  outputPorts?: Record<string, string> | undefined;
2576
2604
  } | {
2605
+ kind: "join";
2606
+ key: string;
2577
2607
  join: {
2578
2608
  mode: "all_selected";
2579
2609
  accept: "completed";
2580
2610
  };
2581
- key: string;
2582
- kind: "join";
2583
2611
  stageKey: string;
2584
2612
  label?: string | undefined;
2585
2613
  inputBindings?: Record<string, {
@@ -2592,17 +2620,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2592
2620
  key: string;
2593
2621
  from: "parameter";
2594
2622
  } | {
2595
- from: "collection";
2596
2623
  items: {
2597
2624
  from: "node_output";
2598
2625
  nodeKey: string;
2599
2626
  port: string;
2600
2627
  }[];
2628
+ from: "collection";
2601
2629
  }> | undefined;
2602
2630
  outputPorts?: Record<string, string> | undefined;
2603
2631
  } | {
2604
- key: string;
2605
2632
  kind: "router";
2633
+ key: string;
2606
2634
  stageKey: string;
2607
2635
  policyRef: string;
2608
2636
  outcomes: string[];
@@ -2618,17 +2646,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2618
2646
  key: string;
2619
2647
  from: "parameter";
2620
2648
  } | {
2621
- from: "collection";
2622
2649
  items: {
2623
2650
  from: "node_output";
2624
2651
  nodeKey: string;
2625
2652
  port: string;
2626
2653
  }[];
2654
+ from: "collection";
2627
2655
  }> | undefined;
2628
2656
  outputPorts?: Record<string, string> | undefined;
2629
2657
  } | {
2630
- key: string;
2631
2658
  kind: "human_gate";
2659
+ key: string;
2632
2660
  laneKey: string;
2633
2661
  stageKey: string;
2634
2662
  policyRef: string;
@@ -2645,18 +2673,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2645
2673
  key: string;
2646
2674
  from: "parameter";
2647
2675
  } | {
2648
- from: "collection";
2649
2676
  items: {
2650
2677
  from: "node_output";
2651
2678
  nodeKey: string;
2652
2679
  port: string;
2653
2680
  }[];
2681
+ from: "collection";
2654
2682
  }> | undefined;
2655
2683
  outputPorts?: Record<string, string> | undefined;
2656
2684
  outcomeLabels?: Record<string, string> | undefined;
2657
2685
  } | {
2658
- key: string;
2659
2686
  kind: "external_wait";
2687
+ key: string;
2660
2688
  laneKey: string;
2661
2689
  stageKey: string;
2662
2690
  subscriptionRef: string;
@@ -2671,18 +2699,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2671
2699
  key: string;
2672
2700
  from: "parameter";
2673
2701
  } | {
2674
- from: "collection";
2675
2702
  items: {
2676
2703
  from: "node_output";
2677
2704
  nodeKey: string;
2678
2705
  port: string;
2679
2706
  }[];
2707
+ from: "collection";
2680
2708
  }> | undefined;
2681
2709
  outputPorts?: Record<string, string> | undefined;
2682
2710
  } | {
2711
+ kind: "terminal";
2683
2712
  key: string;
2684
2713
  outcome: string;
2685
- kind: "terminal";
2686
2714
  stageKey: string;
2687
2715
  label?: string | undefined;
2688
2716
  inputBindings?: Record<string, {
@@ -2695,12 +2723,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2695
2723
  key: string;
2696
2724
  from: "parameter";
2697
2725
  } | {
2698
- from: "collection";
2699
2726
  items: {
2700
2727
  from: "node_output";
2701
2728
  nodeKey: string;
2702
2729
  port: string;
2703
2730
  }[];
2731
+ from: "collection";
2704
2732
  }> | undefined;
2705
2733
  outputPorts?: Record<string, string> | undefined;
2706
2734
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2722,21 +2750,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2722
2750
  requiredNodeFailure: "block_and_attention";
2723
2751
  unknownExecution: "inspect_without_replay";
2724
2752
  };
2725
- hostRequirements?: {
2726
- protocol: number;
2727
- features: Record<string, number>;
2728
- } | undefined;
2729
2753
  presentation?: {
2730
2754
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2731
2755
  nodeDetailRef?: string | undefined;
2732
2756
  evidenceTypes?: string[] | undefined;
2733
2757
  } | undefined;
2758
+ hostRequirements?: {
2759
+ protocol: number;
2760
+ features: Record<string, number>;
2761
+ } | undefined;
2734
2762
  metrics?: {
2735
2763
  dimensionRefs: string[];
2736
2764
  metricRefs: string[];
2737
2765
  } | undefined;
2738
2766
  };
2739
2767
  }, {
2768
+ schemaVersion: 1;
2740
2769
  binding: {
2741
2770
  templateRef: string;
2742
2771
  roleBindings: Record<string, {
@@ -2746,8 +2775,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2746
2775
  }>;
2747
2776
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2748
2777
  executorBindings?: Record<string, {
2749
- roleKey: string;
2750
2778
  kind: "assistant" | "runtime_binding" | "human" | "service";
2779
+ roleKey: string;
2751
2780
  selectionKey: string;
2752
2781
  requiredCapabilities?: string[] | undefined;
2753
2782
  workspaceId?: string | undefined;
@@ -2768,17 +2797,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2768
2797
  events: string[];
2769
2798
  }[] | undefined;
2770
2799
  };
2771
- schemaVersion: 1;
2772
2800
  template: {
2773
2801
  key: string;
2802
+ title: string;
2803
+ version: string;
2804
+ lanes: {
2805
+ key: string;
2806
+ order: number;
2807
+ roleKey: string;
2808
+ label: string;
2809
+ }[];
2774
2810
  executionAuthority: "provider";
2775
2811
  providerRef: string;
2776
2812
  topology: {
2777
2813
  source: "provider";
2778
2814
  presentationAdapterRef: string;
2779
2815
  };
2780
- version: string;
2781
- title: string;
2782
2816
  projectTypes: {
2783
2817
  applicationKey: string;
2784
2818
  projectTypeKey: string;
@@ -2788,40 +2822,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2788
2822
  key: string;
2789
2823
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2790
2824
  }[];
2791
- lanes: {
2792
- key: string;
2793
- roleKey: string;
2794
- label: string;
2795
- order: number;
2796
- }[];
2797
2825
  stages: {
2798
2826
  key: string;
2799
- label: string;
2800
2827
  order: number;
2828
+ label: string;
2801
2829
  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;
2802
2830
  }[];
2803
- actionRefs?: string[] | undefined;
2804
- hostRequirements?: {
2805
- protocol: number;
2806
- features: Record<string, number>;
2807
- } | undefined;
2808
2831
  presentation?: {
2809
2832
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2810
2833
  nodeDetailRef?: string | undefined;
2811
2834
  evidenceTypes?: string[] | undefined;
2812
2835
  } | undefined;
2836
+ actionRefs?: string[] | undefined;
2837
+ hostRequirements?: {
2838
+ protocol: number;
2839
+ features: Record<string, number>;
2840
+ } | undefined;
2813
2841
  metrics?: {
2814
2842
  dimensionRefs: string[];
2815
2843
  metricRefs: string[];
2816
2844
  } | undefined;
2817
2845
  } | {
2818
2846
  key: string;
2847
+ title: string;
2848
+ version: string;
2849
+ lanes: {
2850
+ key: string;
2851
+ order: number;
2852
+ roleKey: string;
2853
+ label: string;
2854
+ }[];
2819
2855
  executionAuthority: "platform";
2820
2856
  topology: {
2821
2857
  source: "definition";
2822
2858
  };
2823
- version: string;
2824
- title: string;
2825
2859
  projectTypes: {
2826
2860
  applicationKey: string;
2827
2861
  projectTypeKey: string;
@@ -2831,26 +2865,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2831
2865
  key: string;
2832
2866
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2833
2867
  }[];
2834
- lanes: {
2835
- key: string;
2836
- roleKey: string;
2837
- label: string;
2838
- order: number;
2839
- }[];
2840
2868
  stages: {
2841
2869
  key: string;
2842
- label: string;
2843
2870
  order: number;
2871
+ label: string;
2844
2872
  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;
2845
2873
  }[];
2846
2874
  nodes: ({
2847
- key: string;
2848
2875
  kind: "work";
2876
+ key: string;
2849
2877
  laneKey: string;
2850
2878
  operationRef: string;
2851
2879
  executorSlot: string;
2852
2880
  completionRef: string;
2853
2881
  stageKey: string;
2882
+ presentation?: {
2883
+ foldIntoApproval: string;
2884
+ } | undefined;
2854
2885
  label?: string | undefined;
2855
2886
  resourceResolverRef?: string | undefined;
2856
2887
  outputSchemaRef?: string | undefined;
@@ -2864,17 +2895,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2864
2895
  key: string;
2865
2896
  from: "parameter";
2866
2897
  } | {
2867
- from: "collection";
2868
2898
  items: {
2869
2899
  from: "node_output";
2870
2900
  nodeKey: string;
2871
2901
  port: string;
2872
2902
  }[];
2903
+ from: "collection";
2873
2904
  }> | undefined;
2874
2905
  outputPorts?: Record<string, string> | undefined;
2875
2906
  } | {
2876
- key: string;
2877
2907
  kind: "fork";
2908
+ key: string;
2878
2909
  stageKey: string;
2879
2910
  label?: string | undefined;
2880
2911
  inputBindings?: Record<string, {
@@ -2887,21 +2918,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2887
2918
  key: string;
2888
2919
  from: "parameter";
2889
2920
  } | {
2890
- from: "collection";
2891
2921
  items: {
2892
2922
  from: "node_output";
2893
2923
  nodeKey: string;
2894
2924
  port: string;
2895
2925
  }[];
2926
+ from: "collection";
2896
2927
  }> | undefined;
2897
2928
  outputPorts?: Record<string, string> | undefined;
2898
2929
  } | {
2930
+ kind: "join";
2931
+ key: string;
2899
2932
  join: {
2900
2933
  mode: "all_selected";
2901
2934
  accept: "completed";
2902
2935
  };
2903
- key: string;
2904
- kind: "join";
2905
2936
  stageKey: string;
2906
2937
  label?: string | undefined;
2907
2938
  inputBindings?: Record<string, {
@@ -2914,17 +2945,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2914
2945
  key: string;
2915
2946
  from: "parameter";
2916
2947
  } | {
2917
- from: "collection";
2918
2948
  items: {
2919
2949
  from: "node_output";
2920
2950
  nodeKey: string;
2921
2951
  port: string;
2922
2952
  }[];
2953
+ from: "collection";
2923
2954
  }> | undefined;
2924
2955
  outputPorts?: Record<string, string> | undefined;
2925
2956
  } | {
2926
- key: string;
2927
2957
  kind: "router";
2958
+ key: string;
2928
2959
  stageKey: string;
2929
2960
  policyRef: string;
2930
2961
  outcomes: string[];
@@ -2940,17 +2971,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2940
2971
  key: string;
2941
2972
  from: "parameter";
2942
2973
  } | {
2943
- from: "collection";
2944
2974
  items: {
2945
2975
  from: "node_output";
2946
2976
  nodeKey: string;
2947
2977
  port: string;
2948
2978
  }[];
2979
+ from: "collection";
2949
2980
  }> | undefined;
2950
2981
  outputPorts?: Record<string, string> | undefined;
2951
2982
  } | {
2952
- key: string;
2953
2983
  kind: "human_gate";
2984
+ key: string;
2954
2985
  laneKey: string;
2955
2986
  stageKey: string;
2956
2987
  policyRef: string;
@@ -2967,18 +2998,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2967
2998
  key: string;
2968
2999
  from: "parameter";
2969
3000
  } | {
2970
- from: "collection";
2971
3001
  items: {
2972
3002
  from: "node_output";
2973
3003
  nodeKey: string;
2974
3004
  port: string;
2975
3005
  }[];
3006
+ from: "collection";
2976
3007
  }> | undefined;
2977
3008
  outputPorts?: Record<string, string> | undefined;
2978
3009
  outcomeLabels?: Record<string, string> | undefined;
2979
3010
  } | {
2980
- key: string;
2981
3011
  kind: "external_wait";
3012
+ key: string;
2982
3013
  laneKey: string;
2983
3014
  stageKey: string;
2984
3015
  subscriptionRef: string;
@@ -2993,18 +3024,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
2993
3024
  key: string;
2994
3025
  from: "parameter";
2995
3026
  } | {
2996
- from: "collection";
2997
3027
  items: {
2998
3028
  from: "node_output";
2999
3029
  nodeKey: string;
3000
3030
  port: string;
3001
3031
  }[];
3032
+ from: "collection";
3002
3033
  }> | undefined;
3003
3034
  outputPorts?: Record<string, string> | undefined;
3004
3035
  } | {
3036
+ kind: "terminal";
3005
3037
  key: string;
3006
3038
  outcome: string;
3007
- kind: "terminal";
3008
3039
  stageKey: string;
3009
3040
  label?: string | undefined;
3010
3041
  inputBindings?: Record<string, {
@@ -3017,12 +3048,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3017
3048
  key: string;
3018
3049
  from: "parameter";
3019
3050
  } | {
3020
- from: "collection";
3021
3051
  items: {
3022
3052
  from: "node_output";
3023
3053
  nodeKey: string;
3024
3054
  port: string;
3025
3055
  }[];
3056
+ from: "collection";
3026
3057
  }> | undefined;
3027
3058
  outputPorts?: Record<string, string> | undefined;
3028
3059
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3044,21 +3075,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3044
3075
  requiredNodeFailure: "block_and_attention";
3045
3076
  unknownExecution: "inspect_without_replay";
3046
3077
  };
3047
- hostRequirements?: {
3048
- protocol: number;
3049
- features: Record<string, number>;
3050
- } | undefined;
3051
3078
  presentation?: {
3052
3079
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3053
3080
  nodeDetailRef?: string | undefined;
3054
3081
  evidenceTypes?: string[] | undefined;
3055
3082
  } | undefined;
3083
+ hostRequirements?: {
3084
+ protocol: number;
3085
+ features: Record<string, number>;
3086
+ } | undefined;
3056
3087
  metrics?: {
3057
3088
  dimensionRefs: string[];
3058
3089
  metricRefs: string[];
3059
3090
  } | undefined;
3060
3091
  };
3061
3092
  }>, {
3093
+ schemaVersion: 1;
3062
3094
  binding: {
3063
3095
  templateRef: string;
3064
3096
  roleBindings: Record<string, {
@@ -3068,8 +3100,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3068
3100
  }>;
3069
3101
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
3070
3102
  executorBindings?: Record<string, {
3071
- roleKey: string;
3072
3103
  kind: "assistant" | "runtime_binding" | "human" | "service";
3104
+ roleKey: string;
3073
3105
  selectionKey: string;
3074
3106
  requiredCapabilities?: string[] | undefined;
3075
3107
  workspaceId?: string | undefined;
@@ -3090,17 +3122,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3090
3122
  events: string[];
3091
3123
  }[] | undefined;
3092
3124
  };
3093
- schemaVersion: 1;
3094
3125
  template: {
3095
3126
  key: string;
3127
+ title: string;
3128
+ version: string;
3129
+ lanes: {
3130
+ key: string;
3131
+ order: number;
3132
+ roleKey: string;
3133
+ label: string;
3134
+ }[];
3096
3135
  executionAuthority: "provider";
3097
3136
  providerRef: string;
3098
3137
  topology: {
3099
3138
  source: "provider";
3100
3139
  presentationAdapterRef: string;
3101
3140
  };
3102
- version: string;
3103
- title: string;
3104
3141
  projectTypes: {
3105
3142
  applicationKey: string;
3106
3143
  projectTypeKey: string;
@@ -3110,40 +3147,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3110
3147
  key: string;
3111
3148
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3112
3149
  }[];
3113
- lanes: {
3114
- key: string;
3115
- roleKey: string;
3116
- label: string;
3117
- order: number;
3118
- }[];
3119
3150
  stages: {
3120
3151
  key: string;
3121
- label: string;
3122
3152
  order: number;
3153
+ label: string;
3123
3154
  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;
3124
3155
  }[];
3125
- actionRefs?: string[] | undefined;
3126
- hostRequirements?: {
3127
- protocol: number;
3128
- features: Record<string, number>;
3129
- } | undefined;
3130
3156
  presentation?: {
3131
3157
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3132
3158
  nodeDetailRef?: string | undefined;
3133
3159
  evidenceTypes?: string[] | undefined;
3134
3160
  } | undefined;
3161
+ actionRefs?: string[] | undefined;
3162
+ hostRequirements?: {
3163
+ protocol: number;
3164
+ features: Record<string, number>;
3165
+ } | undefined;
3135
3166
  metrics?: {
3136
3167
  dimensionRefs: string[];
3137
3168
  metricRefs: string[];
3138
3169
  } | undefined;
3139
3170
  } | {
3140
3171
  key: string;
3172
+ title: string;
3173
+ version: string;
3174
+ lanes: {
3175
+ key: string;
3176
+ order: number;
3177
+ roleKey: string;
3178
+ label: string;
3179
+ }[];
3141
3180
  executionAuthority: "platform";
3142
3181
  topology: {
3143
3182
  source: "definition";
3144
3183
  };
3145
- version: string;
3146
- title: string;
3147
3184
  projectTypes: {
3148
3185
  applicationKey: string;
3149
3186
  projectTypeKey: string;
@@ -3153,26 +3190,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3153
3190
  key: string;
3154
3191
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3155
3192
  }[];
3156
- lanes: {
3157
- key: string;
3158
- roleKey: string;
3159
- label: string;
3160
- order: number;
3161
- }[];
3162
3193
  stages: {
3163
3194
  key: string;
3164
- label: string;
3165
3195
  order: number;
3196
+ label: string;
3166
3197
  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;
3167
3198
  }[];
3168
3199
  nodes: ({
3169
- key: string;
3170
3200
  kind: "work";
3201
+ key: string;
3171
3202
  laneKey: string;
3172
3203
  operationRef: string;
3173
3204
  executorSlot: string;
3174
3205
  completionRef: string;
3175
3206
  stageKey: string;
3207
+ presentation?: {
3208
+ foldIntoApproval: string;
3209
+ } | undefined;
3176
3210
  label?: string | undefined;
3177
3211
  resourceResolverRef?: string | undefined;
3178
3212
  outputSchemaRef?: string | undefined;
@@ -3186,17 +3220,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3186
3220
  key: string;
3187
3221
  from: "parameter";
3188
3222
  } | {
3189
- from: "collection";
3190
3223
  items: {
3191
3224
  from: "node_output";
3192
3225
  nodeKey: string;
3193
3226
  port: string;
3194
3227
  }[];
3228
+ from: "collection";
3195
3229
  }> | undefined;
3196
3230
  outputPorts?: Record<string, string> | undefined;
3197
3231
  } | {
3198
- key: string;
3199
3232
  kind: "fork";
3233
+ key: string;
3200
3234
  stageKey: string;
3201
3235
  label?: string | undefined;
3202
3236
  inputBindings?: Record<string, {
@@ -3209,21 +3243,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3209
3243
  key: string;
3210
3244
  from: "parameter";
3211
3245
  } | {
3212
- from: "collection";
3213
3246
  items: {
3214
3247
  from: "node_output";
3215
3248
  nodeKey: string;
3216
3249
  port: string;
3217
3250
  }[];
3251
+ from: "collection";
3218
3252
  }> | undefined;
3219
3253
  outputPorts?: Record<string, string> | undefined;
3220
3254
  } | {
3255
+ kind: "join";
3256
+ key: string;
3221
3257
  join: {
3222
3258
  mode: "all_selected";
3223
3259
  accept: "completed";
3224
3260
  };
3225
- key: string;
3226
- kind: "join";
3227
3261
  stageKey: string;
3228
3262
  label?: string | undefined;
3229
3263
  inputBindings?: Record<string, {
@@ -3236,17 +3270,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3236
3270
  key: string;
3237
3271
  from: "parameter";
3238
3272
  } | {
3239
- from: "collection";
3240
3273
  items: {
3241
3274
  from: "node_output";
3242
3275
  nodeKey: string;
3243
3276
  port: string;
3244
3277
  }[];
3278
+ from: "collection";
3245
3279
  }> | undefined;
3246
3280
  outputPorts?: Record<string, string> | undefined;
3247
3281
  } | {
3248
- key: string;
3249
3282
  kind: "router";
3283
+ key: string;
3250
3284
  stageKey: string;
3251
3285
  policyRef: string;
3252
3286
  outcomes: string[];
@@ -3262,17 +3296,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3262
3296
  key: string;
3263
3297
  from: "parameter";
3264
3298
  } | {
3265
- from: "collection";
3266
3299
  items: {
3267
3300
  from: "node_output";
3268
3301
  nodeKey: string;
3269
3302
  port: string;
3270
3303
  }[];
3304
+ from: "collection";
3271
3305
  }> | undefined;
3272
3306
  outputPorts?: Record<string, string> | undefined;
3273
3307
  } | {
3274
- key: string;
3275
3308
  kind: "human_gate";
3309
+ key: string;
3276
3310
  laneKey: string;
3277
3311
  stageKey: string;
3278
3312
  policyRef: string;
@@ -3289,18 +3323,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3289
3323
  key: string;
3290
3324
  from: "parameter";
3291
3325
  } | {
3292
- from: "collection";
3293
3326
  items: {
3294
3327
  from: "node_output";
3295
3328
  nodeKey: string;
3296
3329
  port: string;
3297
3330
  }[];
3331
+ from: "collection";
3298
3332
  }> | undefined;
3299
3333
  outputPorts?: Record<string, string> | undefined;
3300
3334
  outcomeLabels?: Record<string, string> | undefined;
3301
3335
  } | {
3302
- key: string;
3303
3336
  kind: "external_wait";
3337
+ key: string;
3304
3338
  laneKey: string;
3305
3339
  stageKey: string;
3306
3340
  subscriptionRef: string;
@@ -3315,18 +3349,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3315
3349
  key: string;
3316
3350
  from: "parameter";
3317
3351
  } | {
3318
- from: "collection";
3319
3352
  items: {
3320
3353
  from: "node_output";
3321
3354
  nodeKey: string;
3322
3355
  port: string;
3323
3356
  }[];
3357
+ from: "collection";
3324
3358
  }> | undefined;
3325
3359
  outputPorts?: Record<string, string> | undefined;
3326
3360
  } | {
3361
+ kind: "terminal";
3327
3362
  key: string;
3328
3363
  outcome: string;
3329
- kind: "terminal";
3330
3364
  stageKey: string;
3331
3365
  label?: string | undefined;
3332
3366
  inputBindings?: Record<string, {
@@ -3339,12 +3373,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3339
3373
  key: string;
3340
3374
  from: "parameter";
3341
3375
  } | {
3342
- from: "collection";
3343
3376
  items: {
3344
3377
  from: "node_output";
3345
3378
  nodeKey: string;
3346
3379
  port: string;
3347
3380
  }[];
3381
+ from: "collection";
3348
3382
  }> | undefined;
3349
3383
  outputPorts?: Record<string, string> | undefined;
3350
3384
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3366,21 +3400,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3366
3400
  requiredNodeFailure: "block_and_attention";
3367
3401
  unknownExecution: "inspect_without_replay";
3368
3402
  };
3369
- hostRequirements?: {
3370
- protocol: number;
3371
- features: Record<string, number>;
3372
- } | undefined;
3373
3403
  presentation?: {
3374
3404
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3375
3405
  nodeDetailRef?: string | undefined;
3376
3406
  evidenceTypes?: string[] | undefined;
3377
3407
  } | undefined;
3408
+ hostRequirements?: {
3409
+ protocol: number;
3410
+ features: Record<string, number>;
3411
+ } | undefined;
3378
3412
  metrics?: {
3379
3413
  dimensionRefs: string[];
3380
3414
  metricRefs: string[];
3381
3415
  } | undefined;
3382
3416
  };
3383
3417
  }, {
3418
+ schemaVersion: 1;
3384
3419
  binding: {
3385
3420
  templateRef: string;
3386
3421
  roleBindings: Record<string, {
@@ -3390,8 +3425,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3390
3425
  }>;
3391
3426
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
3392
3427
  executorBindings?: Record<string, {
3393
- roleKey: string;
3394
3428
  kind: "assistant" | "runtime_binding" | "human" | "service";
3429
+ roleKey: string;
3395
3430
  selectionKey: string;
3396
3431
  requiredCapabilities?: string[] | undefined;
3397
3432
  workspaceId?: string | undefined;
@@ -3412,17 +3447,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3412
3447
  events: string[];
3413
3448
  }[] | undefined;
3414
3449
  };
3415
- schemaVersion: 1;
3416
3450
  template: {
3417
3451
  key: string;
3452
+ title: string;
3453
+ version: string;
3454
+ lanes: {
3455
+ key: string;
3456
+ order: number;
3457
+ roleKey: string;
3458
+ label: string;
3459
+ }[];
3418
3460
  executionAuthority: "provider";
3419
3461
  providerRef: string;
3420
3462
  topology: {
3421
3463
  source: "provider";
3422
3464
  presentationAdapterRef: string;
3423
3465
  };
3424
- version: string;
3425
- title: string;
3426
3466
  projectTypes: {
3427
3467
  applicationKey: string;
3428
3468
  projectTypeKey: string;
@@ -3432,40 +3472,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3432
3472
  key: string;
3433
3473
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3434
3474
  }[];
3435
- lanes: {
3436
- key: string;
3437
- roleKey: string;
3438
- label: string;
3439
- order: number;
3440
- }[];
3441
3475
  stages: {
3442
3476
  key: string;
3443
- label: string;
3444
3477
  order: number;
3478
+ label: string;
3445
3479
  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;
3446
3480
  }[];
3447
- actionRefs?: string[] | undefined;
3448
- hostRequirements?: {
3449
- protocol: number;
3450
- features: Record<string, number>;
3451
- } | undefined;
3452
3481
  presentation?: {
3453
3482
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3454
3483
  nodeDetailRef?: string | undefined;
3455
3484
  evidenceTypes?: string[] | undefined;
3456
3485
  } | undefined;
3486
+ actionRefs?: string[] | undefined;
3487
+ hostRequirements?: {
3488
+ protocol: number;
3489
+ features: Record<string, number>;
3490
+ } | undefined;
3457
3491
  metrics?: {
3458
3492
  dimensionRefs: string[];
3459
3493
  metricRefs: string[];
3460
3494
  } | undefined;
3461
3495
  } | {
3462
3496
  key: string;
3497
+ title: string;
3498
+ version: string;
3499
+ lanes: {
3500
+ key: string;
3501
+ order: number;
3502
+ roleKey: string;
3503
+ label: string;
3504
+ }[];
3463
3505
  executionAuthority: "platform";
3464
3506
  topology: {
3465
3507
  source: "definition";
3466
3508
  };
3467
- version: string;
3468
- title: string;
3469
3509
  projectTypes: {
3470
3510
  applicationKey: string;
3471
3511
  projectTypeKey: string;
@@ -3475,26 +3515,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3475
3515
  key: string;
3476
3516
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3477
3517
  }[];
3478
- lanes: {
3479
- key: string;
3480
- roleKey: string;
3481
- label: string;
3482
- order: number;
3483
- }[];
3484
3518
  stages: {
3485
3519
  key: string;
3486
- label: string;
3487
3520
  order: number;
3521
+ label: string;
3488
3522
  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;
3489
3523
  }[];
3490
3524
  nodes: ({
3491
- key: string;
3492
3525
  kind: "work";
3526
+ key: string;
3493
3527
  laneKey: string;
3494
3528
  operationRef: string;
3495
3529
  executorSlot: string;
3496
3530
  completionRef: string;
3497
3531
  stageKey: string;
3532
+ presentation?: {
3533
+ foldIntoApproval: string;
3534
+ } | undefined;
3498
3535
  label?: string | undefined;
3499
3536
  resourceResolverRef?: string | undefined;
3500
3537
  outputSchemaRef?: string | undefined;
@@ -3508,17 +3545,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3508
3545
  key: string;
3509
3546
  from: "parameter";
3510
3547
  } | {
3511
- from: "collection";
3512
3548
  items: {
3513
3549
  from: "node_output";
3514
3550
  nodeKey: string;
3515
3551
  port: string;
3516
3552
  }[];
3553
+ from: "collection";
3517
3554
  }> | undefined;
3518
3555
  outputPorts?: Record<string, string> | undefined;
3519
3556
  } | {
3520
- key: string;
3521
3557
  kind: "fork";
3558
+ key: string;
3522
3559
  stageKey: string;
3523
3560
  label?: string | undefined;
3524
3561
  inputBindings?: Record<string, {
@@ -3531,21 +3568,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3531
3568
  key: string;
3532
3569
  from: "parameter";
3533
3570
  } | {
3534
- from: "collection";
3535
3571
  items: {
3536
3572
  from: "node_output";
3537
3573
  nodeKey: string;
3538
3574
  port: string;
3539
3575
  }[];
3576
+ from: "collection";
3540
3577
  }> | undefined;
3541
3578
  outputPorts?: Record<string, string> | undefined;
3542
3579
  } | {
3580
+ kind: "join";
3581
+ key: string;
3543
3582
  join: {
3544
3583
  mode: "all_selected";
3545
3584
  accept: "completed";
3546
3585
  };
3547
- key: string;
3548
- kind: "join";
3549
3586
  stageKey: string;
3550
3587
  label?: string | undefined;
3551
3588
  inputBindings?: Record<string, {
@@ -3558,17 +3595,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3558
3595
  key: string;
3559
3596
  from: "parameter";
3560
3597
  } | {
3561
- from: "collection";
3562
3598
  items: {
3563
3599
  from: "node_output";
3564
3600
  nodeKey: string;
3565
3601
  port: string;
3566
3602
  }[];
3603
+ from: "collection";
3567
3604
  }> | undefined;
3568
3605
  outputPorts?: Record<string, string> | undefined;
3569
3606
  } | {
3570
- key: string;
3571
3607
  kind: "router";
3608
+ key: string;
3572
3609
  stageKey: string;
3573
3610
  policyRef: string;
3574
3611
  outcomes: string[];
@@ -3584,17 +3621,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3584
3621
  key: string;
3585
3622
  from: "parameter";
3586
3623
  } | {
3587
- from: "collection";
3588
3624
  items: {
3589
3625
  from: "node_output";
3590
3626
  nodeKey: string;
3591
3627
  port: string;
3592
3628
  }[];
3629
+ from: "collection";
3593
3630
  }> | undefined;
3594
3631
  outputPorts?: Record<string, string> | undefined;
3595
3632
  } | {
3596
- key: string;
3597
3633
  kind: "human_gate";
3634
+ key: string;
3598
3635
  laneKey: string;
3599
3636
  stageKey: string;
3600
3637
  policyRef: string;
@@ -3611,18 +3648,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3611
3648
  key: string;
3612
3649
  from: "parameter";
3613
3650
  } | {
3614
- from: "collection";
3615
3651
  items: {
3616
3652
  from: "node_output";
3617
3653
  nodeKey: string;
3618
3654
  port: string;
3619
3655
  }[];
3656
+ from: "collection";
3620
3657
  }> | undefined;
3621
3658
  outputPorts?: Record<string, string> | undefined;
3622
3659
  outcomeLabels?: Record<string, string> | undefined;
3623
3660
  } | {
3624
- key: string;
3625
3661
  kind: "external_wait";
3662
+ key: string;
3626
3663
  laneKey: string;
3627
3664
  stageKey: string;
3628
3665
  subscriptionRef: string;
@@ -3637,18 +3674,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3637
3674
  key: string;
3638
3675
  from: "parameter";
3639
3676
  } | {
3640
- from: "collection";
3641
3677
  items: {
3642
3678
  from: "node_output";
3643
3679
  nodeKey: string;
3644
3680
  port: string;
3645
3681
  }[];
3682
+ from: "collection";
3646
3683
  }> | undefined;
3647
3684
  outputPorts?: Record<string, string> | undefined;
3648
3685
  } | {
3686
+ kind: "terminal";
3649
3687
  key: string;
3650
3688
  outcome: string;
3651
- kind: "terminal";
3652
3689
  stageKey: string;
3653
3690
  label?: string | undefined;
3654
3691
  inputBindings?: Record<string, {
@@ -3661,12 +3698,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3661
3698
  key: string;
3662
3699
  from: "parameter";
3663
3700
  } | {
3664
- from: "collection";
3665
3701
  items: {
3666
3702
  from: "node_output";
3667
3703
  nodeKey: string;
3668
3704
  port: string;
3669
3705
  }[];
3706
+ from: "collection";
3670
3707
  }> | undefined;
3671
3708
  outputPorts?: Record<string, string> | undefined;
3672
3709
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3688,15 +3725,15 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3688
3725
  requiredNodeFailure: "block_and_attention";
3689
3726
  unknownExecution: "inspect_without_replay";
3690
3727
  };
3691
- hostRequirements?: {
3692
- protocol: number;
3693
- features: Record<string, number>;
3694
- } | undefined;
3695
3728
  presentation?: {
3696
3729
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3697
3730
  nodeDetailRef?: string | undefined;
3698
3731
  evidenceTypes?: string[] | undefined;
3699
3732
  } | undefined;
3733
+ hostRequirements?: {
3734
+ protocol: number;
3735
+ features: Record<string, number>;
3736
+ } | undefined;
3700
3737
  metrics?: {
3701
3738
  dimensionRefs: string[];
3702
3739
  metricRefs: string[];
@@ -3706,6 +3743,7 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3706
3743
  }, "strict", z.ZodTypeAny, {
3707
3744
  requestId: string;
3708
3745
  configuration: {
3746
+ schemaVersion: 1;
3709
3747
  binding: {
3710
3748
  templateRef: string;
3711
3749
  roleBindings: Record<string, {
@@ -3715,8 +3753,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3715
3753
  }>;
3716
3754
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
3717
3755
  executorBindings?: Record<string, {
3718
- roleKey: string;
3719
3756
  kind: "assistant" | "runtime_binding" | "human" | "service";
3757
+ roleKey: string;
3720
3758
  selectionKey: string;
3721
3759
  requiredCapabilities?: string[] | undefined;
3722
3760
  workspaceId?: string | undefined;
@@ -3737,17 +3775,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3737
3775
  events: string[];
3738
3776
  }[] | undefined;
3739
3777
  };
3740
- schemaVersion: 1;
3741
3778
  template: {
3742
3779
  key: string;
3780
+ title: string;
3781
+ version: string;
3782
+ lanes: {
3783
+ key: string;
3784
+ order: number;
3785
+ roleKey: string;
3786
+ label: string;
3787
+ }[];
3743
3788
  executionAuthority: "provider";
3744
3789
  providerRef: string;
3745
3790
  topology: {
3746
3791
  source: "provider";
3747
3792
  presentationAdapterRef: string;
3748
3793
  };
3749
- version: string;
3750
- title: string;
3751
3794
  projectTypes: {
3752
3795
  applicationKey: string;
3753
3796
  projectTypeKey: string;
@@ -3757,40 +3800,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3757
3800
  key: string;
3758
3801
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3759
3802
  }[];
3760
- lanes: {
3761
- key: string;
3762
- roleKey: string;
3763
- label: string;
3764
- order: number;
3765
- }[];
3766
3803
  stages: {
3767
3804
  key: string;
3768
- label: string;
3769
3805
  order: number;
3806
+ label: string;
3770
3807
  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;
3771
3808
  }[];
3772
- actionRefs?: string[] | undefined;
3773
- hostRequirements?: {
3774
- protocol: number;
3775
- features: Record<string, number>;
3776
- } | undefined;
3777
3809
  presentation?: {
3778
3810
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3779
3811
  nodeDetailRef?: string | undefined;
3780
3812
  evidenceTypes?: string[] | undefined;
3781
3813
  } | undefined;
3814
+ actionRefs?: string[] | undefined;
3815
+ hostRequirements?: {
3816
+ protocol: number;
3817
+ features: Record<string, number>;
3818
+ } | undefined;
3782
3819
  metrics?: {
3783
3820
  dimensionRefs: string[];
3784
3821
  metricRefs: string[];
3785
3822
  } | undefined;
3786
3823
  } | {
3787
3824
  key: string;
3825
+ title: string;
3826
+ version: string;
3827
+ lanes: {
3828
+ key: string;
3829
+ order: number;
3830
+ roleKey: string;
3831
+ label: string;
3832
+ }[];
3788
3833
  executionAuthority: "platform";
3789
3834
  topology: {
3790
3835
  source: "definition";
3791
3836
  };
3792
- version: string;
3793
- title: string;
3794
3837
  projectTypes: {
3795
3838
  applicationKey: string;
3796
3839
  projectTypeKey: string;
@@ -3800,26 +3843,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3800
3843
  key: string;
3801
3844
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3802
3845
  }[];
3803
- lanes: {
3804
- key: string;
3805
- roleKey: string;
3806
- label: string;
3807
- order: number;
3808
- }[];
3809
3846
  stages: {
3810
3847
  key: string;
3811
- label: string;
3812
3848
  order: number;
3849
+ label: string;
3813
3850
  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;
3814
3851
  }[];
3815
3852
  nodes: ({
3816
- key: string;
3817
3853
  kind: "work";
3854
+ key: string;
3818
3855
  laneKey: string;
3819
3856
  operationRef: string;
3820
3857
  executorSlot: string;
3821
3858
  completionRef: string;
3822
3859
  stageKey: string;
3860
+ presentation?: {
3861
+ foldIntoApproval: string;
3862
+ } | undefined;
3823
3863
  label?: string | undefined;
3824
3864
  resourceResolverRef?: string | undefined;
3825
3865
  outputSchemaRef?: string | undefined;
@@ -3833,17 +3873,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3833
3873
  key: string;
3834
3874
  from: "parameter";
3835
3875
  } | {
3836
- from: "collection";
3837
3876
  items: {
3838
3877
  from: "node_output";
3839
3878
  nodeKey: string;
3840
3879
  port: string;
3841
3880
  }[];
3881
+ from: "collection";
3842
3882
  }> | undefined;
3843
3883
  outputPorts?: Record<string, string> | undefined;
3844
3884
  } | {
3845
- key: string;
3846
3885
  kind: "fork";
3886
+ key: string;
3847
3887
  stageKey: string;
3848
3888
  label?: string | undefined;
3849
3889
  inputBindings?: Record<string, {
@@ -3856,21 +3896,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3856
3896
  key: string;
3857
3897
  from: "parameter";
3858
3898
  } | {
3859
- from: "collection";
3860
3899
  items: {
3861
3900
  from: "node_output";
3862
3901
  nodeKey: string;
3863
3902
  port: string;
3864
3903
  }[];
3904
+ from: "collection";
3865
3905
  }> | undefined;
3866
3906
  outputPorts?: Record<string, string> | undefined;
3867
3907
  } | {
3908
+ kind: "join";
3909
+ key: string;
3868
3910
  join: {
3869
3911
  mode: "all_selected";
3870
3912
  accept: "completed";
3871
3913
  };
3872
- key: string;
3873
- kind: "join";
3874
3914
  stageKey: string;
3875
3915
  label?: string | undefined;
3876
3916
  inputBindings?: Record<string, {
@@ -3883,17 +3923,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3883
3923
  key: string;
3884
3924
  from: "parameter";
3885
3925
  } | {
3886
- from: "collection";
3887
3926
  items: {
3888
3927
  from: "node_output";
3889
3928
  nodeKey: string;
3890
3929
  port: string;
3891
3930
  }[];
3931
+ from: "collection";
3892
3932
  }> | undefined;
3893
3933
  outputPorts?: Record<string, string> | undefined;
3894
3934
  } | {
3895
- key: string;
3896
3935
  kind: "router";
3936
+ key: string;
3897
3937
  stageKey: string;
3898
3938
  policyRef: string;
3899
3939
  outcomes: string[];
@@ -3909,17 +3949,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3909
3949
  key: string;
3910
3950
  from: "parameter";
3911
3951
  } | {
3912
- from: "collection";
3913
3952
  items: {
3914
3953
  from: "node_output";
3915
3954
  nodeKey: string;
3916
3955
  port: string;
3917
3956
  }[];
3957
+ from: "collection";
3918
3958
  }> | undefined;
3919
3959
  outputPorts?: Record<string, string> | undefined;
3920
3960
  } | {
3921
- key: string;
3922
3961
  kind: "human_gate";
3962
+ key: string;
3923
3963
  laneKey: string;
3924
3964
  stageKey: string;
3925
3965
  policyRef: string;
@@ -3936,18 +3976,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3936
3976
  key: string;
3937
3977
  from: "parameter";
3938
3978
  } | {
3939
- from: "collection";
3940
3979
  items: {
3941
3980
  from: "node_output";
3942
3981
  nodeKey: string;
3943
3982
  port: string;
3944
3983
  }[];
3984
+ from: "collection";
3945
3985
  }> | undefined;
3946
3986
  outputPorts?: Record<string, string> | undefined;
3947
3987
  outcomeLabels?: Record<string, string> | undefined;
3948
3988
  } | {
3949
- key: string;
3950
3989
  kind: "external_wait";
3990
+ key: string;
3951
3991
  laneKey: string;
3952
3992
  stageKey: string;
3953
3993
  subscriptionRef: string;
@@ -3962,18 +4002,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3962
4002
  key: string;
3963
4003
  from: "parameter";
3964
4004
  } | {
3965
- from: "collection";
3966
4005
  items: {
3967
4006
  from: "node_output";
3968
4007
  nodeKey: string;
3969
4008
  port: string;
3970
4009
  }[];
4010
+ from: "collection";
3971
4011
  }> | undefined;
3972
4012
  outputPorts?: Record<string, string> | undefined;
3973
4013
  } | {
4014
+ kind: "terminal";
3974
4015
  key: string;
3975
4016
  outcome: string;
3976
- kind: "terminal";
3977
4017
  stageKey: string;
3978
4018
  label?: string | undefined;
3979
4019
  inputBindings?: Record<string, {
@@ -3986,12 +4026,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
3986
4026
  key: string;
3987
4027
  from: "parameter";
3988
4028
  } | {
3989
- from: "collection";
3990
4029
  items: {
3991
4030
  from: "node_output";
3992
4031
  nodeKey: string;
3993
4032
  port: string;
3994
4033
  }[];
4034
+ from: "collection";
3995
4035
  }> | undefined;
3996
4036
  outputPorts?: Record<string, string> | undefined;
3997
4037
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -4013,15 +4053,15 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4013
4053
  requiredNodeFailure: "block_and_attention";
4014
4054
  unknownExecution: "inspect_without_replay";
4015
4055
  };
4016
- hostRequirements?: {
4017
- protocol: number;
4018
- features: Record<string, number>;
4019
- } | undefined;
4020
4056
  presentation?: {
4021
4057
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4022
4058
  nodeDetailRef?: string | undefined;
4023
4059
  evidenceTypes?: string[] | undefined;
4024
4060
  } | undefined;
4061
+ hostRequirements?: {
4062
+ protocol: number;
4063
+ features: Record<string, number>;
4064
+ } | undefined;
4025
4065
  metrics?: {
4026
4066
  dimensionRefs: string[];
4027
4067
  metricRefs: string[];
@@ -4031,6 +4071,7 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4031
4071
  }, {
4032
4072
  requestId: string;
4033
4073
  configuration: {
4074
+ schemaVersion: 1;
4034
4075
  binding: {
4035
4076
  templateRef: string;
4036
4077
  roleBindings: Record<string, {
@@ -4040,8 +4081,8 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4040
4081
  }>;
4041
4082
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
4042
4083
  executorBindings?: Record<string, {
4043
- roleKey: string;
4044
4084
  kind: "assistant" | "runtime_binding" | "human" | "service";
4085
+ roleKey: string;
4045
4086
  selectionKey: string;
4046
4087
  requiredCapabilities?: string[] | undefined;
4047
4088
  workspaceId?: string | undefined;
@@ -4062,17 +4103,22 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4062
4103
  events: string[];
4063
4104
  }[] | undefined;
4064
4105
  };
4065
- schemaVersion: 1;
4066
4106
  template: {
4067
4107
  key: string;
4108
+ title: string;
4109
+ version: string;
4110
+ lanes: {
4111
+ key: string;
4112
+ order: number;
4113
+ roleKey: string;
4114
+ label: string;
4115
+ }[];
4068
4116
  executionAuthority: "provider";
4069
4117
  providerRef: string;
4070
4118
  topology: {
4071
4119
  source: "provider";
4072
4120
  presentationAdapterRef: string;
4073
4121
  };
4074
- version: string;
4075
- title: string;
4076
4122
  projectTypes: {
4077
4123
  applicationKey: string;
4078
4124
  projectTypeKey: string;
@@ -4082,40 +4128,40 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4082
4128
  key: string;
4083
4129
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4084
4130
  }[];
4085
- lanes: {
4086
- key: string;
4087
- roleKey: string;
4088
- label: string;
4089
- order: number;
4090
- }[];
4091
4131
  stages: {
4092
4132
  key: string;
4093
- label: string;
4094
4133
  order: number;
4134
+ label: string;
4095
4135
  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;
4096
4136
  }[];
4097
- actionRefs?: string[] | undefined;
4098
- hostRequirements?: {
4099
- protocol: number;
4100
- features: Record<string, number>;
4101
- } | undefined;
4102
4137
  presentation?: {
4103
4138
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4104
4139
  nodeDetailRef?: string | undefined;
4105
4140
  evidenceTypes?: string[] | undefined;
4106
4141
  } | undefined;
4142
+ actionRefs?: string[] | undefined;
4143
+ hostRequirements?: {
4144
+ protocol: number;
4145
+ features: Record<string, number>;
4146
+ } | undefined;
4107
4147
  metrics?: {
4108
4148
  dimensionRefs: string[];
4109
4149
  metricRefs: string[];
4110
4150
  } | undefined;
4111
4151
  } | {
4112
4152
  key: string;
4153
+ title: string;
4154
+ version: string;
4155
+ lanes: {
4156
+ key: string;
4157
+ order: number;
4158
+ roleKey: string;
4159
+ label: string;
4160
+ }[];
4113
4161
  executionAuthority: "platform";
4114
4162
  topology: {
4115
4163
  source: "definition";
4116
4164
  };
4117
- version: string;
4118
- title: string;
4119
4165
  projectTypes: {
4120
4166
  applicationKey: string;
4121
4167
  projectTypeKey: string;
@@ -4125,26 +4171,23 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4125
4171
  key: string;
4126
4172
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4127
4173
  }[];
4128
- lanes: {
4129
- key: string;
4130
- roleKey: string;
4131
- label: string;
4132
- order: number;
4133
- }[];
4134
4174
  stages: {
4135
4175
  key: string;
4136
- label: string;
4137
4176
  order: number;
4177
+ label: string;
4138
4178
  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;
4139
4179
  }[];
4140
4180
  nodes: ({
4141
- key: string;
4142
4181
  kind: "work";
4182
+ key: string;
4143
4183
  laneKey: string;
4144
4184
  operationRef: string;
4145
4185
  executorSlot: string;
4146
4186
  completionRef: string;
4147
4187
  stageKey: string;
4188
+ presentation?: {
4189
+ foldIntoApproval: string;
4190
+ } | undefined;
4148
4191
  label?: string | undefined;
4149
4192
  resourceResolverRef?: string | undefined;
4150
4193
  outputSchemaRef?: string | undefined;
@@ -4158,17 +4201,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4158
4201
  key: string;
4159
4202
  from: "parameter";
4160
4203
  } | {
4161
- from: "collection";
4162
4204
  items: {
4163
4205
  from: "node_output";
4164
4206
  nodeKey: string;
4165
4207
  port: string;
4166
4208
  }[];
4209
+ from: "collection";
4167
4210
  }> | undefined;
4168
4211
  outputPorts?: Record<string, string> | undefined;
4169
4212
  } | {
4170
- key: string;
4171
4213
  kind: "fork";
4214
+ key: string;
4172
4215
  stageKey: string;
4173
4216
  label?: string | undefined;
4174
4217
  inputBindings?: Record<string, {
@@ -4181,21 +4224,21 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4181
4224
  key: string;
4182
4225
  from: "parameter";
4183
4226
  } | {
4184
- from: "collection";
4185
4227
  items: {
4186
4228
  from: "node_output";
4187
4229
  nodeKey: string;
4188
4230
  port: string;
4189
4231
  }[];
4232
+ from: "collection";
4190
4233
  }> | undefined;
4191
4234
  outputPorts?: Record<string, string> | undefined;
4192
4235
  } | {
4236
+ kind: "join";
4237
+ key: string;
4193
4238
  join: {
4194
4239
  mode: "all_selected";
4195
4240
  accept: "completed";
4196
4241
  };
4197
- key: string;
4198
- kind: "join";
4199
4242
  stageKey: string;
4200
4243
  label?: string | undefined;
4201
4244
  inputBindings?: Record<string, {
@@ -4208,17 +4251,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4208
4251
  key: string;
4209
4252
  from: "parameter";
4210
4253
  } | {
4211
- from: "collection";
4212
4254
  items: {
4213
4255
  from: "node_output";
4214
4256
  nodeKey: string;
4215
4257
  port: string;
4216
4258
  }[];
4259
+ from: "collection";
4217
4260
  }> | undefined;
4218
4261
  outputPorts?: Record<string, string> | undefined;
4219
4262
  } | {
4220
- key: string;
4221
4263
  kind: "router";
4264
+ key: string;
4222
4265
  stageKey: string;
4223
4266
  policyRef: string;
4224
4267
  outcomes: string[];
@@ -4234,17 +4277,17 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4234
4277
  key: string;
4235
4278
  from: "parameter";
4236
4279
  } | {
4237
- from: "collection";
4238
4280
  items: {
4239
4281
  from: "node_output";
4240
4282
  nodeKey: string;
4241
4283
  port: string;
4242
4284
  }[];
4285
+ from: "collection";
4243
4286
  }> | undefined;
4244
4287
  outputPorts?: Record<string, string> | undefined;
4245
4288
  } | {
4246
- key: string;
4247
4289
  kind: "human_gate";
4290
+ key: string;
4248
4291
  laneKey: string;
4249
4292
  stageKey: string;
4250
4293
  policyRef: string;
@@ -4261,18 +4304,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4261
4304
  key: string;
4262
4305
  from: "parameter";
4263
4306
  } | {
4264
- from: "collection";
4265
4307
  items: {
4266
4308
  from: "node_output";
4267
4309
  nodeKey: string;
4268
4310
  port: string;
4269
4311
  }[];
4312
+ from: "collection";
4270
4313
  }> | undefined;
4271
4314
  outputPorts?: Record<string, string> | undefined;
4272
4315
  outcomeLabels?: Record<string, string> | undefined;
4273
4316
  } | {
4274
- key: string;
4275
4317
  kind: "external_wait";
4318
+ key: string;
4276
4319
  laneKey: string;
4277
4320
  stageKey: string;
4278
4321
  subscriptionRef: string;
@@ -4287,18 +4330,18 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4287
4330
  key: string;
4288
4331
  from: "parameter";
4289
4332
  } | {
4290
- from: "collection";
4291
4333
  items: {
4292
4334
  from: "node_output";
4293
4335
  nodeKey: string;
4294
4336
  port: string;
4295
4337
  }[];
4338
+ from: "collection";
4296
4339
  }> | undefined;
4297
4340
  outputPorts?: Record<string, string> | undefined;
4298
4341
  } | {
4342
+ kind: "terminal";
4299
4343
  key: string;
4300
4344
  outcome: string;
4301
- kind: "terminal";
4302
4345
  stageKey: string;
4303
4346
  label?: string | undefined;
4304
4347
  inputBindings?: Record<string, {
@@ -4311,12 +4354,12 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4311
4354
  key: string;
4312
4355
  from: "parameter";
4313
4356
  } | {
4314
- from: "collection";
4315
4357
  items: {
4316
4358
  from: "node_output";
4317
4359
  nodeKey: string;
4318
4360
  port: string;
4319
4361
  }[];
4362
+ from: "collection";
4320
4363
  }> | undefined;
4321
4364
  outputPorts?: Record<string, string> | undefined;
4322
4365
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -4338,15 +4381,15 @@ export declare const projectPipelineConfigureSchema: z.ZodObject<{
4338
4381
  requiredNodeFailure: "block_and_attention";
4339
4382
  unknownExecution: "inspect_without_replay";
4340
4383
  };
4341
- hostRequirements?: {
4342
- protocol: number;
4343
- features: Record<string, number>;
4344
- } | undefined;
4345
4384
  presentation?: {
4346
4385
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4347
4386
  nodeDetailRef?: string | undefined;
4348
4387
  evidenceTypes?: string[] | undefined;
4349
4388
  } | undefined;
4389
+ hostRequirements?: {
4390
+ protocol: number;
4391
+ features: Record<string, number>;
4392
+ } | undefined;
4350
4393
  metrics?: {
4351
4394
  dimensionRefs: string[];
4352
4395
  metricRefs: string[];