@xpert-ai/contracts 3.34.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +670 -319
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +637 -318
  10. package/package.json +18 -2
  11. package/src/agent-event.model.d.ts +88 -0
  12. package/src/agent-event.schema.d.ts +120 -0
  13. package/src/agent-plugin.d.ts +4 -29
  14. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  15. package/src/ai/agent-runtime.model.d.ts +4 -4
  16. package/src/ai/assistant-capability.model.d.ts +0 -1
  17. package/src/ai/assistant-template-manifest.model.d.ts +316 -352
  18. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  19. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  20. package/src/ai/assistant-template.model.d.ts +0 -4
  21. package/src/ai/bosi.model.d.ts +1 -1
  22. package/src/ai/chat-activity.model.d.ts +8 -0
  23. package/src/ai/chat-message.model.d.ts +0 -11
  24. package/src/ai/chat.model.d.ts +1 -0
  25. package/src/ai/cli-execution.model.d.ts +88 -0
  26. package/src/ai/conversation-trail.model.d.ts +274 -274
  27. package/src/ai/copilot-store.model.d.ts +0 -13
  28. package/src/ai/evolution/entities.d.ts +164 -0
  29. package/src/ai/evolution/evaluation.d.ts +7 -0
  30. package/src/ai/evolution/execution-review.d.ts +68 -0
  31. package/src/ai/evolution/index.d.ts +2 -0
  32. package/src/ai/evolution/provider.d.ts +1 -0
  33. package/src/ai/evolution/target.d.ts +5 -0
  34. package/src/ai/execution-activity.model.d.ts +362 -362
  35. package/src/ai/execution-control-evidence.schema.d.ts +22 -22
  36. package/src/ai/execution-observability.model.d.ts +196 -196
  37. package/src/ai/execution-source.model.d.ts +45 -0
  38. package/src/ai/index.d.ts +4 -0
  39. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  40. package/src/ai/middleware.model.d.ts +1 -0
  41. package/src/ai/model-execution.model.d.ts +7 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +78 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
  46. package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
  47. package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
  48. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  49. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  50. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  51. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  52. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  53. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  54. package/src/ai/project-pipeline/index.d.ts +1 -0
  55. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  56. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  57. package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
  58. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
  59. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  60. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  61. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  62. package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
  63. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  64. package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
  65. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  66. package/src/ai/project-task-runtime.model.d.ts +969 -242
  67. package/src/ai/project-type-configuration.model.d.ts +48 -0
  68. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  69. package/src/ai/template-installation.model.d.ts +18 -18
  70. package/src/ai/template-lifecycle.model.d.ts +6 -6
  71. package/src/ai/thread-control-view.schema.d.ts +4 -4
  72. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  73. package/src/ai/xpert-project-type.model.d.ts +3 -0
  74. package/src/ai/xpert-project.model.d.ts +4 -1
  75. package/src/ai/xpert-task.model.d.ts +16 -0
  76. package/src/ai/xpert.model.d.ts +0 -34
  77. package/src/ai/xpert.utils.d.ts +0 -1
  78. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  79. package/src/analytics/analytics-certification.model.d.ts +17 -0
  80. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  81. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  82. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  83. package/src/analytics/index.d.ts +7 -0
  84. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  85. package/src/app-platform.d.ts +16 -16
  86. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  87. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  88. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  89. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  90. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  91. package/src/artifacts/index.d.ts +5 -0
  92. package/src/collaboration.model.d.ts +31 -11
  93. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  94. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  95. package/src/content/content-transfer.model.d.ts +21 -0
  96. package/src/content/index.d.ts +4 -0
  97. package/src/execution-control-admission.schema.d.ts +2 -2
  98. package/src/index.d.ts +5 -14
  99. package/src/plugin-management.d.ts +13 -0
  100. package/src/plugin.d.ts +2 -0
  101. package/src/user-notification.schema.d.ts +75 -28
  102. package/src/view-extension/client-commands.d.ts +24 -0
  103. package/src/view-extension/context-event.d.ts +66 -0
  104. package/src/view-extension/index.d.ts +1 -0
  105. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  106. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -64,14 +64,14 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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 projectPipelineContributionSchema: z.ZodEffects<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[];
@@ -4006,8 +4043,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4006
4043
  zh_Hans?: string | undefined;
4007
4044
  }>>;
4008
4045
  }, "strict", z.ZodTypeAny, {
4009
- type: "boolean";
4010
4046
  key: string;
4047
+ type: "boolean";
4011
4048
  label: {
4012
4049
  en_US: string;
4013
4050
  zh_Hans?: string | undefined;
@@ -4017,8 +4054,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4017
4054
  zh_Hans?: string | undefined;
4018
4055
  } | undefined;
4019
4056
  }, {
4020
- type: "boolean";
4021
4057
  key: string;
4058
+ type: "boolean";
4022
4059
  label: {
4023
4060
  en_US: string;
4024
4061
  zh_Hans?: string | undefined;
@@ -4053,8 +4090,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4053
4090
  zh_Hans?: string | undefined;
4054
4091
  }>>;
4055
4092
  }, "strict", z.ZodTypeAny, {
4056
- type: "text";
4057
4093
  key: string;
4094
+ type: "text";
4058
4095
  label: {
4059
4096
  en_US: string;
4060
4097
  zh_Hans?: string | undefined;
@@ -4066,8 +4103,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4066
4103
  zh_Hans?: string | undefined;
4067
4104
  } | undefined;
4068
4105
  }, {
4069
- type: "text";
4070
4106
  key: string;
4107
+ type: "text";
4071
4108
  label: {
4072
4109
  en_US: string;
4073
4110
  zh_Hans?: string | undefined;
@@ -4105,9 +4142,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4105
4142
  zh_Hans?: string | undefined;
4106
4143
  }>>;
4107
4144
  }, "strict", z.ZodTypeAny, {
4145
+ key: string;
4108
4146
  type: "number";
4109
4147
  integer: boolean;
4110
- key: string;
4111
4148
  label: {
4112
4149
  en_US: string;
4113
4150
  zh_Hans?: string | undefined;
@@ -4119,9 +4156,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4119
4156
  zh_Hans?: string | undefined;
4120
4157
  } | undefined;
4121
4158
  }, {
4159
+ key: string;
4122
4160
  type: "number";
4123
4161
  integer: boolean;
4124
- key: string;
4125
4162
  label: {
4126
4163
  en_US: string;
4127
4164
  zh_Hans?: string | undefined;
@@ -4181,6 +4218,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4181
4218
  zh_Hans?: string | undefined;
4182
4219
  }>>;
4183
4220
  }, "strict", z.ZodTypeAny, {
4221
+ key: string;
4184
4222
  options: {
4185
4223
  value: string;
4186
4224
  label: {
@@ -4189,7 +4227,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4189
4227
  };
4190
4228
  }[];
4191
4229
  type: "choice";
4192
- key: string;
4193
4230
  label: {
4194
4231
  en_US: string;
4195
4232
  zh_Hans?: string | undefined;
@@ -4199,6 +4236,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4199
4236
  zh_Hans?: string | undefined;
4200
4237
  } | undefined;
4201
4238
  }, {
4239
+ key: string;
4202
4240
  options: {
4203
4241
  value: string;
4204
4242
  label: {
@@ -4207,7 +4245,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4207
4245
  };
4208
4246
  }[];
4209
4247
  type: "choice";
4210
- key: string;
4211
4248
  label: {
4212
4249
  en_US: string;
4213
4250
  zh_Hans?: string | undefined;
@@ -4266,6 +4303,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4266
4303
  zh_Hans?: string | undefined;
4267
4304
  }>>;
4268
4305
  }, "strict", z.ZodTypeAny, {
4306
+ key: string;
4269
4307
  options: {
4270
4308
  value: string;
4271
4309
  label: {
@@ -4274,7 +4312,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4274
4312
  };
4275
4313
  }[];
4276
4314
  type: "multi_choice";
4277
- key: string;
4278
4315
  label: {
4279
4316
  en_US: string;
4280
4317
  zh_Hans?: string | undefined;
@@ -4285,6 +4322,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4285
4322
  zh_Hans?: string | undefined;
4286
4323
  } | undefined;
4287
4324
  }, {
4325
+ key: string;
4288
4326
  options: {
4289
4327
  value: string;
4290
4328
  label: {
@@ -4293,7 +4331,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4293
4331
  };
4294
4332
  }[];
4295
4333
  type: "multi_choice";
4296
- key: string;
4297
4334
  label: {
4298
4335
  en_US: string;
4299
4336
  zh_Hans?: string | undefined;
@@ -4329,8 +4366,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4329
4366
  zh_Hans?: string | undefined;
4330
4367
  }>>;
4331
4368
  }, "strict", z.ZodTypeAny, {
4332
- type: "string_list";
4333
4369
  key: string;
4370
+ type: "string_list";
4334
4371
  label: {
4335
4372
  en_US: string;
4336
4373
  zh_Hans?: string | undefined;
@@ -4342,8 +4379,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4342
4379
  zh_Hans?: string | undefined;
4343
4380
  } | undefined;
4344
4381
  }, {
4345
- type: "string_list";
4346
4382
  key: string;
4383
+ type: "string_list";
4347
4384
  label: {
4348
4385
  en_US: string;
4349
4386
  zh_Hans?: string | undefined;
@@ -4358,8 +4395,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4358
4395
  }, "strict", z.ZodTypeAny, {
4359
4396
  templateRef: string;
4360
4397
  parameters: ({
4361
- type: "boolean";
4362
4398
  key: string;
4399
+ type: "boolean";
4363
4400
  label: {
4364
4401
  en_US: string;
4365
4402
  zh_Hans?: string | undefined;
@@ -4369,8 +4406,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4369
4406
  zh_Hans?: string | undefined;
4370
4407
  } | undefined;
4371
4408
  } | {
4372
- type: "text";
4373
4409
  key: string;
4410
+ type: "text";
4374
4411
  label: {
4375
4412
  en_US: string;
4376
4413
  zh_Hans?: string | undefined;
@@ -4382,9 +4419,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4382
4419
  zh_Hans?: string | undefined;
4383
4420
  } | undefined;
4384
4421
  } | {
4422
+ key: string;
4385
4423
  type: "number";
4386
4424
  integer: boolean;
4387
- key: string;
4388
4425
  label: {
4389
4426
  en_US: string;
4390
4427
  zh_Hans?: string | undefined;
@@ -4396,6 +4433,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4396
4433
  zh_Hans?: string | undefined;
4397
4434
  } | undefined;
4398
4435
  } | {
4436
+ key: string;
4399
4437
  options: {
4400
4438
  value: string;
4401
4439
  label: {
@@ -4404,7 +4442,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4404
4442
  };
4405
4443
  }[];
4406
4444
  type: "choice";
4407
- key: string;
4408
4445
  label: {
4409
4446
  en_US: string;
4410
4447
  zh_Hans?: string | undefined;
@@ -4414,6 +4451,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4414
4451
  zh_Hans?: string | undefined;
4415
4452
  } | undefined;
4416
4453
  } | {
4454
+ key: string;
4417
4455
  options: {
4418
4456
  value: string;
4419
4457
  label: {
@@ -4422,7 +4460,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4422
4460
  };
4423
4461
  }[];
4424
4462
  type: "multi_choice";
4425
- key: string;
4426
4463
  label: {
4427
4464
  en_US: string;
4428
4465
  zh_Hans?: string | undefined;
@@ -4433,8 +4470,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4433
4470
  zh_Hans?: string | undefined;
4434
4471
  } | undefined;
4435
4472
  } | {
4436
- type: "string_list";
4437
4473
  key: string;
4474
+ type: "string_list";
4438
4475
  label: {
4439
4476
  en_US: string;
4440
4477
  zh_Hans?: string | undefined;
@@ -4480,8 +4517,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4480
4517
  }, {
4481
4518
  templateRef: string;
4482
4519
  parameters: ({
4483
- type: "boolean";
4484
4520
  key: string;
4521
+ type: "boolean";
4485
4522
  label: {
4486
4523
  en_US: string;
4487
4524
  zh_Hans?: string | undefined;
@@ -4491,8 +4528,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4491
4528
  zh_Hans?: string | undefined;
4492
4529
  } | undefined;
4493
4530
  } | {
4494
- type: "text";
4495
4531
  key: string;
4532
+ type: "text";
4496
4533
  label: {
4497
4534
  en_US: string;
4498
4535
  zh_Hans?: string | undefined;
@@ -4504,9 +4541,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4504
4541
  zh_Hans?: string | undefined;
4505
4542
  } | undefined;
4506
4543
  } | {
4544
+ key: string;
4507
4545
  type: "number";
4508
4546
  integer: boolean;
4509
- key: string;
4510
4547
  label: {
4511
4548
  en_US: string;
4512
4549
  zh_Hans?: string | undefined;
@@ -4518,6 +4555,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4518
4555
  zh_Hans?: string | undefined;
4519
4556
  } | undefined;
4520
4557
  } | {
4558
+ key: string;
4521
4559
  options: {
4522
4560
  value: string;
4523
4561
  label: {
@@ -4526,7 +4564,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4526
4564
  };
4527
4565
  }[];
4528
4566
  type: "choice";
4529
- key: string;
4530
4567
  label: {
4531
4568
  en_US: string;
4532
4569
  zh_Hans?: string | undefined;
@@ -4536,6 +4573,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4536
4573
  zh_Hans?: string | undefined;
4537
4574
  } | undefined;
4538
4575
  } | {
4576
+ key: string;
4539
4577
  options: {
4540
4578
  value: string;
4541
4579
  label: {
@@ -4544,7 +4582,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4544
4582
  };
4545
4583
  }[];
4546
4584
  type: "multi_choice";
4547
- key: string;
4548
4585
  label: {
4549
4586
  en_US: string;
4550
4587
  zh_Hans?: string | undefined;
@@ -4555,8 +4592,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4555
4592
  } | undefined;
4556
4593
  minItems?: number | undefined;
4557
4594
  } | {
4558
- type: "string_list";
4559
4595
  key: string;
4596
+ type: "string_list";
4560
4597
  label: {
4561
4598
  en_US: string;
4562
4599
  zh_Hans?: string | undefined;
@@ -4602,8 +4639,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4602
4639
  }>, {
4603
4640
  templateRef: string;
4604
4641
  parameters: ({
4605
- type: "boolean";
4606
4642
  key: string;
4643
+ type: "boolean";
4607
4644
  label: {
4608
4645
  en_US: string;
4609
4646
  zh_Hans?: string | undefined;
@@ -4613,8 +4650,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4613
4650
  zh_Hans?: string | undefined;
4614
4651
  } | undefined;
4615
4652
  } | {
4616
- type: "text";
4617
4653
  key: string;
4654
+ type: "text";
4618
4655
  label: {
4619
4656
  en_US: string;
4620
4657
  zh_Hans?: string | undefined;
@@ -4626,9 +4663,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4626
4663
  zh_Hans?: string | undefined;
4627
4664
  } | undefined;
4628
4665
  } | {
4666
+ key: string;
4629
4667
  type: "number";
4630
4668
  integer: boolean;
4631
- key: string;
4632
4669
  label: {
4633
4670
  en_US: string;
4634
4671
  zh_Hans?: string | undefined;
@@ -4640,6 +4677,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4640
4677
  zh_Hans?: string | undefined;
4641
4678
  } | undefined;
4642
4679
  } | {
4680
+ key: string;
4643
4681
  options: {
4644
4682
  value: string;
4645
4683
  label: {
@@ -4648,7 +4686,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4648
4686
  };
4649
4687
  }[];
4650
4688
  type: "choice";
4651
- key: string;
4652
4689
  label: {
4653
4690
  en_US: string;
4654
4691
  zh_Hans?: string | undefined;
@@ -4658,6 +4695,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4658
4695
  zh_Hans?: string | undefined;
4659
4696
  } | undefined;
4660
4697
  } | {
4698
+ key: string;
4661
4699
  options: {
4662
4700
  value: string;
4663
4701
  label: {
@@ -4666,7 +4704,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4666
4704
  };
4667
4705
  }[];
4668
4706
  type: "multi_choice";
4669
- key: string;
4670
4707
  label: {
4671
4708
  en_US: string;
4672
4709
  zh_Hans?: string | undefined;
@@ -4677,8 +4714,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4677
4714
  zh_Hans?: string | undefined;
4678
4715
  } | undefined;
4679
4716
  } | {
4680
- type: "string_list";
4681
4717
  key: string;
4718
+ type: "string_list";
4682
4719
  label: {
4683
4720
  en_US: string;
4684
4721
  zh_Hans?: string | undefined;
@@ -4724,8 +4761,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4724
4761
  }, {
4725
4762
  templateRef: string;
4726
4763
  parameters: ({
4727
- type: "boolean";
4728
4764
  key: string;
4765
+ type: "boolean";
4729
4766
  label: {
4730
4767
  en_US: string;
4731
4768
  zh_Hans?: string | undefined;
@@ -4735,8 +4772,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4735
4772
  zh_Hans?: string | undefined;
4736
4773
  } | undefined;
4737
4774
  } | {
4738
- type: "text";
4739
4775
  key: string;
4776
+ type: "text";
4740
4777
  label: {
4741
4778
  en_US: string;
4742
4779
  zh_Hans?: string | undefined;
@@ -4748,9 +4785,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4748
4785
  zh_Hans?: string | undefined;
4749
4786
  } | undefined;
4750
4787
  } | {
4788
+ key: string;
4751
4789
  type: "number";
4752
4790
  integer: boolean;
4753
- key: string;
4754
4791
  label: {
4755
4792
  en_US: string;
4756
4793
  zh_Hans?: string | undefined;
@@ -4762,6 +4799,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4762
4799
  zh_Hans?: string | undefined;
4763
4800
  } | undefined;
4764
4801
  } | {
4802
+ key: string;
4765
4803
  options: {
4766
4804
  value: string;
4767
4805
  label: {
@@ -4770,7 +4808,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4770
4808
  };
4771
4809
  }[];
4772
4810
  type: "choice";
4773
- key: string;
4774
4811
  label: {
4775
4812
  en_US: string;
4776
4813
  zh_Hans?: string | undefined;
@@ -4780,6 +4817,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4780
4817
  zh_Hans?: string | undefined;
4781
4818
  } | undefined;
4782
4819
  } | {
4820
+ key: string;
4783
4821
  options: {
4784
4822
  value: string;
4785
4823
  label: {
@@ -4788,7 +4826,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4788
4826
  };
4789
4827
  }[];
4790
4828
  type: "multi_choice";
4791
- key: string;
4792
4829
  label: {
4793
4830
  en_US: string;
4794
4831
  zh_Hans?: string | undefined;
@@ -4799,8 +4836,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4799
4836
  } | undefined;
4800
4837
  minItems?: number | undefined;
4801
4838
  } | {
4802
- type: "string_list";
4803
4839
  key: string;
4840
+ type: "string_list";
4804
4841
  label: {
4805
4842
  en_US: string;
4806
4843
  zh_Hans?: string | undefined;
@@ -4847,6 +4884,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4847
4884
  }, "strict", z.ZodTypeAny, {
4848
4885
  key: string;
4849
4886
  configurations: {
4887
+ schemaVersion: 1;
4850
4888
  binding: {
4851
4889
  templateRef: string;
4852
4890
  roleBindings: Record<string, {
@@ -4856,8 +4894,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4856
4894
  }>;
4857
4895
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
4858
4896
  executorBindings?: Record<string, {
4859
- roleKey: string;
4860
4897
  kind: "assistant" | "runtime_binding" | "human" | "service";
4898
+ roleKey: string;
4861
4899
  selectionKey: string;
4862
4900
  requiredCapabilities?: string[] | undefined;
4863
4901
  workspaceId?: string | undefined;
@@ -4878,17 +4916,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4878
4916
  events: string[];
4879
4917
  }[] | undefined;
4880
4918
  };
4881
- schemaVersion: 1;
4882
4919
  template: {
4883
4920
  key: string;
4921
+ title: string;
4922
+ version: string;
4923
+ lanes: {
4924
+ key: string;
4925
+ order: number;
4926
+ roleKey: string;
4927
+ label: string;
4928
+ }[];
4884
4929
  executionAuthority: "provider";
4885
4930
  providerRef: string;
4886
4931
  topology: {
4887
4932
  source: "provider";
4888
4933
  presentationAdapterRef: string;
4889
4934
  };
4890
- version: string;
4891
- title: string;
4892
4935
  projectTypes: {
4893
4936
  applicationKey: string;
4894
4937
  projectTypeKey: string;
@@ -4898,40 +4941,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4898
4941
  key: string;
4899
4942
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4900
4943
  }[];
4901
- lanes: {
4902
- key: string;
4903
- roleKey: string;
4904
- label: string;
4905
- order: number;
4906
- }[];
4907
4944
  stages: {
4908
4945
  key: string;
4909
- label: string;
4910
4946
  order: number;
4947
+ label: string;
4911
4948
  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;
4912
4949
  }[];
4913
- actionRefs?: string[] | undefined;
4914
- hostRequirements?: {
4915
- protocol: number;
4916
- features: Record<string, number>;
4917
- } | undefined;
4918
4950
  presentation?: {
4919
4951
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4920
4952
  nodeDetailRef?: string | undefined;
4921
4953
  evidenceTypes?: string[] | undefined;
4922
4954
  } | undefined;
4955
+ actionRefs?: string[] | undefined;
4956
+ hostRequirements?: {
4957
+ protocol: number;
4958
+ features: Record<string, number>;
4959
+ } | undefined;
4923
4960
  metrics?: {
4924
4961
  dimensionRefs: string[];
4925
4962
  metricRefs: string[];
4926
4963
  } | undefined;
4927
4964
  } | {
4928
4965
  key: string;
4966
+ title: string;
4967
+ version: string;
4968
+ lanes: {
4969
+ key: string;
4970
+ order: number;
4971
+ roleKey: string;
4972
+ label: string;
4973
+ }[];
4929
4974
  executionAuthority: "platform";
4930
4975
  topology: {
4931
4976
  source: "definition";
4932
4977
  };
4933
- version: string;
4934
- title: string;
4935
4978
  projectTypes: {
4936
4979
  applicationKey: string;
4937
4980
  projectTypeKey: string;
@@ -4941,26 +4984,23 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4941
4984
  key: string;
4942
4985
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4943
4986
  }[];
4944
- lanes: {
4945
- key: string;
4946
- roleKey: string;
4947
- label: string;
4948
- order: number;
4949
- }[];
4950
4987
  stages: {
4951
4988
  key: string;
4952
- label: string;
4953
4989
  order: number;
4990
+ label: string;
4954
4991
  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;
4955
4992
  }[];
4956
4993
  nodes: ({
4957
- key: string;
4958
4994
  kind: "work";
4995
+ key: string;
4959
4996
  laneKey: string;
4960
4997
  operationRef: string;
4961
4998
  executorSlot: string;
4962
4999
  completionRef: string;
4963
5000
  stageKey: string;
5001
+ presentation?: {
5002
+ foldIntoApproval: string;
5003
+ } | undefined;
4964
5004
  label?: string | undefined;
4965
5005
  resourceResolverRef?: string | undefined;
4966
5006
  outputSchemaRef?: string | undefined;
@@ -4974,17 +5014,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4974
5014
  key: string;
4975
5015
  from: "parameter";
4976
5016
  } | {
4977
- from: "collection";
4978
5017
  items: {
4979
5018
  from: "node_output";
4980
5019
  nodeKey: string;
4981
5020
  port: string;
4982
5021
  }[];
5022
+ from: "collection";
4983
5023
  }> | undefined;
4984
5024
  outputPorts?: Record<string, string> | undefined;
4985
5025
  } | {
4986
- key: string;
4987
5026
  kind: "fork";
5027
+ key: string;
4988
5028
  stageKey: string;
4989
5029
  label?: string | undefined;
4990
5030
  inputBindings?: Record<string, {
@@ -4997,21 +5037,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4997
5037
  key: string;
4998
5038
  from: "parameter";
4999
5039
  } | {
5000
- from: "collection";
5001
5040
  items: {
5002
5041
  from: "node_output";
5003
5042
  nodeKey: string;
5004
5043
  port: string;
5005
5044
  }[];
5045
+ from: "collection";
5006
5046
  }> | undefined;
5007
5047
  outputPorts?: Record<string, string> | undefined;
5008
5048
  } | {
5049
+ kind: "join";
5050
+ key: string;
5009
5051
  join: {
5010
5052
  mode: "all_selected";
5011
5053
  accept: "completed";
5012
5054
  };
5013
- key: string;
5014
- kind: "join";
5015
5055
  stageKey: string;
5016
5056
  label?: string | undefined;
5017
5057
  inputBindings?: Record<string, {
@@ -5024,17 +5064,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5024
5064
  key: string;
5025
5065
  from: "parameter";
5026
5066
  } | {
5027
- from: "collection";
5028
5067
  items: {
5029
5068
  from: "node_output";
5030
5069
  nodeKey: string;
5031
5070
  port: string;
5032
5071
  }[];
5072
+ from: "collection";
5033
5073
  }> | undefined;
5034
5074
  outputPorts?: Record<string, string> | undefined;
5035
5075
  } | {
5036
- key: string;
5037
5076
  kind: "router";
5077
+ key: string;
5038
5078
  stageKey: string;
5039
5079
  policyRef: string;
5040
5080
  outcomes: string[];
@@ -5050,17 +5090,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5050
5090
  key: string;
5051
5091
  from: "parameter";
5052
5092
  } | {
5053
- from: "collection";
5054
5093
  items: {
5055
5094
  from: "node_output";
5056
5095
  nodeKey: string;
5057
5096
  port: string;
5058
5097
  }[];
5098
+ from: "collection";
5059
5099
  }> | undefined;
5060
5100
  outputPorts?: Record<string, string> | undefined;
5061
5101
  } | {
5062
- key: string;
5063
5102
  kind: "human_gate";
5103
+ key: string;
5064
5104
  laneKey: string;
5065
5105
  stageKey: string;
5066
5106
  policyRef: string;
@@ -5077,18 +5117,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5077
5117
  key: string;
5078
5118
  from: "parameter";
5079
5119
  } | {
5080
- from: "collection";
5081
5120
  items: {
5082
5121
  from: "node_output";
5083
5122
  nodeKey: string;
5084
5123
  port: string;
5085
5124
  }[];
5125
+ from: "collection";
5086
5126
  }> | undefined;
5087
5127
  outputPorts?: Record<string, string> | undefined;
5088
5128
  outcomeLabels?: Record<string, string> | undefined;
5089
5129
  } | {
5090
- key: string;
5091
5130
  kind: "external_wait";
5131
+ key: string;
5092
5132
  laneKey: string;
5093
5133
  stageKey: string;
5094
5134
  subscriptionRef: string;
@@ -5103,18 +5143,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5103
5143
  key: string;
5104
5144
  from: "parameter";
5105
5145
  } | {
5106
- from: "collection";
5107
5146
  items: {
5108
5147
  from: "node_output";
5109
5148
  nodeKey: string;
5110
5149
  port: string;
5111
5150
  }[];
5151
+ from: "collection";
5112
5152
  }> | undefined;
5113
5153
  outputPorts?: Record<string, string> | undefined;
5114
5154
  } | {
5155
+ kind: "terminal";
5115
5156
  key: string;
5116
5157
  outcome: string;
5117
- kind: "terminal";
5118
5158
  stageKey: string;
5119
5159
  label?: string | undefined;
5120
5160
  inputBindings?: Record<string, {
@@ -5127,12 +5167,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5127
5167
  key: string;
5128
5168
  from: "parameter";
5129
5169
  } | {
5130
- from: "collection";
5131
5170
  items: {
5132
5171
  from: "node_output";
5133
5172
  nodeKey: string;
5134
5173
  port: string;
5135
5174
  }[];
5175
+ from: "collection";
5136
5176
  }> | undefined;
5137
5177
  outputPorts?: Record<string, string> | undefined;
5138
5178
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -5154,15 +5194,15 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5154
5194
  requiredNodeFailure: "block_and_attention";
5155
5195
  unknownExecution: "inspect_without_replay";
5156
5196
  };
5157
- hostRequirements?: {
5158
- protocol: number;
5159
- features: Record<string, number>;
5160
- } | undefined;
5161
5197
  presentation?: {
5162
5198
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5163
5199
  nodeDetailRef?: string | undefined;
5164
5200
  evidenceTypes?: string[] | undefined;
5165
5201
  } | undefined;
5202
+ hostRequirements?: {
5203
+ protocol: number;
5204
+ features: Record<string, number>;
5205
+ } | undefined;
5166
5206
  metrics?: {
5167
5207
  dimensionRefs: string[];
5168
5208
  metricRefs: string[];
@@ -5224,8 +5264,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5224
5264
  forms?: {
5225
5265
  templateRef: string;
5226
5266
  parameters: ({
5227
- type: "boolean";
5228
5267
  key: string;
5268
+ type: "boolean";
5229
5269
  label: {
5230
5270
  en_US: string;
5231
5271
  zh_Hans?: string | undefined;
@@ -5235,8 +5275,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5235
5275
  zh_Hans?: string | undefined;
5236
5276
  } | undefined;
5237
5277
  } | {
5238
- type: "text";
5239
5278
  key: string;
5279
+ type: "text";
5240
5280
  label: {
5241
5281
  en_US: string;
5242
5282
  zh_Hans?: string | undefined;
@@ -5248,9 +5288,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5248
5288
  zh_Hans?: string | undefined;
5249
5289
  } | undefined;
5250
5290
  } | {
5291
+ key: string;
5251
5292
  type: "number";
5252
5293
  integer: boolean;
5253
- key: string;
5254
5294
  label: {
5255
5295
  en_US: string;
5256
5296
  zh_Hans?: string | undefined;
@@ -5262,6 +5302,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5262
5302
  zh_Hans?: string | undefined;
5263
5303
  } | undefined;
5264
5304
  } | {
5305
+ key: string;
5265
5306
  options: {
5266
5307
  value: string;
5267
5308
  label: {
@@ -5270,7 +5311,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5270
5311
  };
5271
5312
  }[];
5272
5313
  type: "choice";
5273
- key: string;
5274
5314
  label: {
5275
5315
  en_US: string;
5276
5316
  zh_Hans?: string | undefined;
@@ -5280,6 +5320,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5280
5320
  zh_Hans?: string | undefined;
5281
5321
  } | undefined;
5282
5322
  } | {
5323
+ key: string;
5283
5324
  options: {
5284
5325
  value: string;
5285
5326
  label: {
@@ -5288,7 +5329,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5288
5329
  };
5289
5330
  }[];
5290
5331
  type: "multi_choice";
5291
- key: string;
5292
5332
  label: {
5293
5333
  en_US: string;
5294
5334
  zh_Hans?: string | undefined;
@@ -5299,8 +5339,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5299
5339
  zh_Hans?: string | undefined;
5300
5340
  } | undefined;
5301
5341
  } | {
5302
- type: "string_list";
5303
5342
  key: string;
5343
+ type: "string_list";
5304
5344
  label: {
5305
5345
  en_US: string;
5306
5346
  zh_Hans?: string | undefined;
@@ -5347,6 +5387,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5347
5387
  }, {
5348
5388
  key: string;
5349
5389
  configurations: {
5390
+ schemaVersion: 1;
5350
5391
  binding: {
5351
5392
  templateRef: string;
5352
5393
  roleBindings: Record<string, {
@@ -5356,8 +5397,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5356
5397
  }>;
5357
5398
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
5358
5399
  executorBindings?: Record<string, {
5359
- roleKey: string;
5360
5400
  kind: "assistant" | "runtime_binding" | "human" | "service";
5401
+ roleKey: string;
5361
5402
  selectionKey: string;
5362
5403
  requiredCapabilities?: string[] | undefined;
5363
5404
  workspaceId?: string | undefined;
@@ -5378,17 +5419,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5378
5419
  events: string[];
5379
5420
  }[] | undefined;
5380
5421
  };
5381
- schemaVersion: 1;
5382
5422
  template: {
5383
5423
  key: string;
5424
+ title: string;
5425
+ version: string;
5426
+ lanes: {
5427
+ key: string;
5428
+ order: number;
5429
+ roleKey: string;
5430
+ label: string;
5431
+ }[];
5384
5432
  executionAuthority: "provider";
5385
5433
  providerRef: string;
5386
5434
  topology: {
5387
5435
  source: "provider";
5388
5436
  presentationAdapterRef: string;
5389
5437
  };
5390
- version: string;
5391
- title: string;
5392
5438
  projectTypes: {
5393
5439
  applicationKey: string;
5394
5440
  projectTypeKey: string;
@@ -5398,40 +5444,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5398
5444
  key: string;
5399
5445
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5400
5446
  }[];
5401
- lanes: {
5402
- key: string;
5403
- roleKey: string;
5404
- label: string;
5405
- order: number;
5406
- }[];
5407
5447
  stages: {
5408
5448
  key: string;
5409
- label: string;
5410
5449
  order: number;
5450
+ label: string;
5411
5451
  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;
5412
5452
  }[];
5413
- actionRefs?: string[] | undefined;
5414
- hostRequirements?: {
5415
- protocol: number;
5416
- features: Record<string, number>;
5417
- } | undefined;
5418
5453
  presentation?: {
5419
5454
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5420
5455
  nodeDetailRef?: string | undefined;
5421
5456
  evidenceTypes?: string[] | undefined;
5422
5457
  } | undefined;
5458
+ actionRefs?: string[] | undefined;
5459
+ hostRequirements?: {
5460
+ protocol: number;
5461
+ features: Record<string, number>;
5462
+ } | undefined;
5423
5463
  metrics?: {
5424
5464
  dimensionRefs: string[];
5425
5465
  metricRefs: string[];
5426
5466
  } | undefined;
5427
5467
  } | {
5428
5468
  key: string;
5469
+ title: string;
5470
+ version: string;
5471
+ lanes: {
5472
+ key: string;
5473
+ order: number;
5474
+ roleKey: string;
5475
+ label: string;
5476
+ }[];
5429
5477
  executionAuthority: "platform";
5430
5478
  topology: {
5431
5479
  source: "definition";
5432
5480
  };
5433
- version: string;
5434
- title: string;
5435
5481
  projectTypes: {
5436
5482
  applicationKey: string;
5437
5483
  projectTypeKey: string;
@@ -5439,28 +5485,25 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5439
5485
  subjectResolverRef: string;
5440
5486
  roles: {
5441
5487
  key: string;
5442
- allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5443
- }[];
5444
- lanes: {
5445
- key: string;
5446
- roleKey: string;
5447
- label: string;
5448
- order: number;
5488
+ allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5449
5489
  }[];
5450
5490
  stages: {
5451
5491
  key: string;
5452
- label: string;
5453
5492
  order: number;
5493
+ label: string;
5454
5494
  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;
5455
5495
  }[];
5456
5496
  nodes: ({
5457
- key: string;
5458
5497
  kind: "work";
5498
+ key: string;
5459
5499
  laneKey: string;
5460
5500
  operationRef: string;
5461
5501
  executorSlot: string;
5462
5502
  completionRef: string;
5463
5503
  stageKey: string;
5504
+ presentation?: {
5505
+ foldIntoApproval: string;
5506
+ } | undefined;
5464
5507
  label?: string | undefined;
5465
5508
  resourceResolverRef?: string | undefined;
5466
5509
  outputSchemaRef?: string | undefined;
@@ -5474,17 +5517,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5474
5517
  key: string;
5475
5518
  from: "parameter";
5476
5519
  } | {
5477
- from: "collection";
5478
5520
  items: {
5479
5521
  from: "node_output";
5480
5522
  nodeKey: string;
5481
5523
  port: string;
5482
5524
  }[];
5525
+ from: "collection";
5483
5526
  }> | undefined;
5484
5527
  outputPorts?: Record<string, string> | undefined;
5485
5528
  } | {
5486
- key: string;
5487
5529
  kind: "fork";
5530
+ key: string;
5488
5531
  stageKey: string;
5489
5532
  label?: string | undefined;
5490
5533
  inputBindings?: Record<string, {
@@ -5497,21 +5540,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5497
5540
  key: string;
5498
5541
  from: "parameter";
5499
5542
  } | {
5500
- from: "collection";
5501
5543
  items: {
5502
5544
  from: "node_output";
5503
5545
  nodeKey: string;
5504
5546
  port: string;
5505
5547
  }[];
5548
+ from: "collection";
5506
5549
  }> | undefined;
5507
5550
  outputPorts?: Record<string, string> | undefined;
5508
5551
  } | {
5552
+ kind: "join";
5553
+ key: string;
5509
5554
  join: {
5510
5555
  mode: "all_selected";
5511
5556
  accept: "completed";
5512
5557
  };
5513
- key: string;
5514
- kind: "join";
5515
5558
  stageKey: string;
5516
5559
  label?: string | undefined;
5517
5560
  inputBindings?: Record<string, {
@@ -5524,17 +5567,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5524
5567
  key: string;
5525
5568
  from: "parameter";
5526
5569
  } | {
5527
- from: "collection";
5528
5570
  items: {
5529
5571
  from: "node_output";
5530
5572
  nodeKey: string;
5531
5573
  port: string;
5532
5574
  }[];
5575
+ from: "collection";
5533
5576
  }> | undefined;
5534
5577
  outputPorts?: Record<string, string> | undefined;
5535
5578
  } | {
5536
- key: string;
5537
5579
  kind: "router";
5580
+ key: string;
5538
5581
  stageKey: string;
5539
5582
  policyRef: string;
5540
5583
  outcomes: string[];
@@ -5550,17 +5593,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5550
5593
  key: string;
5551
5594
  from: "parameter";
5552
5595
  } | {
5553
- from: "collection";
5554
5596
  items: {
5555
5597
  from: "node_output";
5556
5598
  nodeKey: string;
5557
5599
  port: string;
5558
5600
  }[];
5601
+ from: "collection";
5559
5602
  }> | undefined;
5560
5603
  outputPorts?: Record<string, string> | undefined;
5561
5604
  } | {
5562
- key: string;
5563
5605
  kind: "human_gate";
5606
+ key: string;
5564
5607
  laneKey: string;
5565
5608
  stageKey: string;
5566
5609
  policyRef: string;
@@ -5577,18 +5620,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5577
5620
  key: string;
5578
5621
  from: "parameter";
5579
5622
  } | {
5580
- from: "collection";
5581
5623
  items: {
5582
5624
  from: "node_output";
5583
5625
  nodeKey: string;
5584
5626
  port: string;
5585
5627
  }[];
5628
+ from: "collection";
5586
5629
  }> | undefined;
5587
5630
  outputPorts?: Record<string, string> | undefined;
5588
5631
  outcomeLabels?: Record<string, string> | undefined;
5589
5632
  } | {
5590
- key: string;
5591
5633
  kind: "external_wait";
5634
+ key: string;
5592
5635
  laneKey: string;
5593
5636
  stageKey: string;
5594
5637
  subscriptionRef: string;
@@ -5603,18 +5646,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5603
5646
  key: string;
5604
5647
  from: "parameter";
5605
5648
  } | {
5606
- from: "collection";
5607
5649
  items: {
5608
5650
  from: "node_output";
5609
5651
  nodeKey: string;
5610
5652
  port: string;
5611
5653
  }[];
5654
+ from: "collection";
5612
5655
  }> | undefined;
5613
5656
  outputPorts?: Record<string, string> | undefined;
5614
5657
  } | {
5658
+ kind: "terminal";
5615
5659
  key: string;
5616
5660
  outcome: string;
5617
- kind: "terminal";
5618
5661
  stageKey: string;
5619
5662
  label?: string | undefined;
5620
5663
  inputBindings?: Record<string, {
@@ -5627,12 +5670,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5627
5670
  key: string;
5628
5671
  from: "parameter";
5629
5672
  } | {
5630
- from: "collection";
5631
5673
  items: {
5632
5674
  from: "node_output";
5633
5675
  nodeKey: string;
5634
5676
  port: string;
5635
5677
  }[];
5678
+ from: "collection";
5636
5679
  }> | undefined;
5637
5680
  outputPorts?: Record<string, string> | undefined;
5638
5681
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -5654,15 +5697,15 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5654
5697
  requiredNodeFailure: "block_and_attention";
5655
5698
  unknownExecution: "inspect_without_replay";
5656
5699
  };
5657
- hostRequirements?: {
5658
- protocol: number;
5659
- features: Record<string, number>;
5660
- } | undefined;
5661
5700
  presentation?: {
5662
5701
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5663
5702
  nodeDetailRef?: string | undefined;
5664
5703
  evidenceTypes?: string[] | undefined;
5665
5704
  } | undefined;
5705
+ hostRequirements?: {
5706
+ protocol: number;
5707
+ features: Record<string, number>;
5708
+ } | undefined;
5666
5709
  metrics?: {
5667
5710
  dimensionRefs: string[];
5668
5711
  metricRefs: string[];
@@ -5724,8 +5767,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5724
5767
  forms?: {
5725
5768
  templateRef: string;
5726
5769
  parameters: ({
5727
- type: "boolean";
5728
5770
  key: string;
5771
+ type: "boolean";
5729
5772
  label: {
5730
5773
  en_US: string;
5731
5774
  zh_Hans?: string | undefined;
@@ -5735,8 +5778,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5735
5778
  zh_Hans?: string | undefined;
5736
5779
  } | undefined;
5737
5780
  } | {
5738
- type: "text";
5739
5781
  key: string;
5782
+ type: "text";
5740
5783
  label: {
5741
5784
  en_US: string;
5742
5785
  zh_Hans?: string | undefined;
@@ -5748,9 +5791,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5748
5791
  zh_Hans?: string | undefined;
5749
5792
  } | undefined;
5750
5793
  } | {
5794
+ key: string;
5751
5795
  type: "number";
5752
5796
  integer: boolean;
5753
- key: string;
5754
5797
  label: {
5755
5798
  en_US: string;
5756
5799
  zh_Hans?: string | undefined;
@@ -5762,6 +5805,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5762
5805
  zh_Hans?: string | undefined;
5763
5806
  } | undefined;
5764
5807
  } | {
5808
+ key: string;
5765
5809
  options: {
5766
5810
  value: string;
5767
5811
  label: {
@@ -5770,7 +5814,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5770
5814
  };
5771
5815
  }[];
5772
5816
  type: "choice";
5773
- key: string;
5774
5817
  label: {
5775
5818
  en_US: string;
5776
5819
  zh_Hans?: string | undefined;
@@ -5780,6 +5823,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5780
5823
  zh_Hans?: string | undefined;
5781
5824
  } | undefined;
5782
5825
  } | {
5826
+ key: string;
5783
5827
  options: {
5784
5828
  value: string;
5785
5829
  label: {
@@ -5788,7 +5832,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5788
5832
  };
5789
5833
  }[];
5790
5834
  type: "multi_choice";
5791
- key: string;
5792
5835
  label: {
5793
5836
  en_US: string;
5794
5837
  zh_Hans?: string | undefined;
@@ -5799,8 +5842,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5799
5842
  } | undefined;
5800
5843
  minItems?: number | undefined;
5801
5844
  } | {
5802
- type: "string_list";
5803
5845
  key: string;
5846
+ type: "string_list";
5804
5847
  label: {
5805
5848
  en_US: string;
5806
5849
  zh_Hans?: string | undefined;
@@ -5847,6 +5890,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5847
5890
  }>, {
5848
5891
  key: string;
5849
5892
  configurations: {
5893
+ schemaVersion: 1;
5850
5894
  binding: {
5851
5895
  templateRef: string;
5852
5896
  roleBindings: Record<string, {
@@ -5856,8 +5900,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5856
5900
  }>;
5857
5901
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
5858
5902
  executorBindings?: Record<string, {
5859
- roleKey: string;
5860
5903
  kind: "assistant" | "runtime_binding" | "human" | "service";
5904
+ roleKey: string;
5861
5905
  selectionKey: string;
5862
5906
  requiredCapabilities?: string[] | undefined;
5863
5907
  workspaceId?: string | undefined;
@@ -5878,17 +5922,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5878
5922
  events: string[];
5879
5923
  }[] | undefined;
5880
5924
  };
5881
- schemaVersion: 1;
5882
5925
  template: {
5883
5926
  key: string;
5927
+ title: string;
5928
+ version: string;
5929
+ lanes: {
5930
+ key: string;
5931
+ order: number;
5932
+ roleKey: string;
5933
+ label: string;
5934
+ }[];
5884
5935
  executionAuthority: "provider";
5885
5936
  providerRef: string;
5886
5937
  topology: {
5887
5938
  source: "provider";
5888
5939
  presentationAdapterRef: string;
5889
5940
  };
5890
- version: string;
5891
- title: string;
5892
5941
  projectTypes: {
5893
5942
  applicationKey: string;
5894
5943
  projectTypeKey: string;
@@ -5898,40 +5947,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5898
5947
  key: string;
5899
5948
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5900
5949
  }[];
5901
- lanes: {
5902
- key: string;
5903
- roleKey: string;
5904
- label: string;
5905
- order: number;
5906
- }[];
5907
5950
  stages: {
5908
5951
  key: string;
5909
- label: string;
5910
5952
  order: number;
5953
+ label: string;
5911
5954
  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;
5912
5955
  }[];
5913
- actionRefs?: string[] | undefined;
5914
- hostRequirements?: {
5915
- protocol: number;
5916
- features: Record<string, number>;
5917
- } | undefined;
5918
5956
  presentation?: {
5919
5957
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5920
5958
  nodeDetailRef?: string | undefined;
5921
5959
  evidenceTypes?: string[] | undefined;
5922
5960
  } | undefined;
5961
+ actionRefs?: string[] | undefined;
5962
+ hostRequirements?: {
5963
+ protocol: number;
5964
+ features: Record<string, number>;
5965
+ } | undefined;
5923
5966
  metrics?: {
5924
5967
  dimensionRefs: string[];
5925
5968
  metricRefs: string[];
5926
5969
  } | undefined;
5927
5970
  } | {
5928
5971
  key: string;
5972
+ title: string;
5973
+ version: string;
5974
+ lanes: {
5975
+ key: string;
5976
+ order: number;
5977
+ roleKey: string;
5978
+ label: string;
5979
+ }[];
5929
5980
  executionAuthority: "platform";
5930
5981
  topology: {
5931
5982
  source: "definition";
5932
5983
  };
5933
- version: string;
5934
- title: string;
5935
5984
  projectTypes: {
5936
5985
  applicationKey: string;
5937
5986
  projectTypeKey: string;
@@ -5941,26 +5990,23 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5941
5990
  key: string;
5942
5991
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5943
5992
  }[];
5944
- lanes: {
5945
- key: string;
5946
- roleKey: string;
5947
- label: string;
5948
- order: number;
5949
- }[];
5950
5993
  stages: {
5951
5994
  key: string;
5952
- label: string;
5953
5995
  order: number;
5996
+ label: string;
5954
5997
  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;
5955
5998
  }[];
5956
5999
  nodes: ({
5957
- key: string;
5958
6000
  kind: "work";
6001
+ key: string;
5959
6002
  laneKey: string;
5960
6003
  operationRef: string;
5961
6004
  executorSlot: string;
5962
6005
  completionRef: string;
5963
6006
  stageKey: string;
6007
+ presentation?: {
6008
+ foldIntoApproval: string;
6009
+ } | undefined;
5964
6010
  label?: string | undefined;
5965
6011
  resourceResolverRef?: string | undefined;
5966
6012
  outputSchemaRef?: string | undefined;
@@ -5974,17 +6020,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5974
6020
  key: string;
5975
6021
  from: "parameter";
5976
6022
  } | {
5977
- from: "collection";
5978
6023
  items: {
5979
6024
  from: "node_output";
5980
6025
  nodeKey: string;
5981
6026
  port: string;
5982
6027
  }[];
6028
+ from: "collection";
5983
6029
  }> | undefined;
5984
6030
  outputPorts?: Record<string, string> | undefined;
5985
6031
  } | {
5986
- key: string;
5987
6032
  kind: "fork";
6033
+ key: string;
5988
6034
  stageKey: string;
5989
6035
  label?: string | undefined;
5990
6036
  inputBindings?: Record<string, {
@@ -5997,21 +6043,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5997
6043
  key: string;
5998
6044
  from: "parameter";
5999
6045
  } | {
6000
- from: "collection";
6001
6046
  items: {
6002
6047
  from: "node_output";
6003
6048
  nodeKey: string;
6004
6049
  port: string;
6005
6050
  }[];
6051
+ from: "collection";
6006
6052
  }> | undefined;
6007
6053
  outputPorts?: Record<string, string> | undefined;
6008
6054
  } | {
6055
+ kind: "join";
6056
+ key: string;
6009
6057
  join: {
6010
6058
  mode: "all_selected";
6011
6059
  accept: "completed";
6012
6060
  };
6013
- key: string;
6014
- kind: "join";
6015
6061
  stageKey: string;
6016
6062
  label?: string | undefined;
6017
6063
  inputBindings?: Record<string, {
@@ -6024,17 +6070,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6024
6070
  key: string;
6025
6071
  from: "parameter";
6026
6072
  } | {
6027
- from: "collection";
6028
6073
  items: {
6029
6074
  from: "node_output";
6030
6075
  nodeKey: string;
6031
6076
  port: string;
6032
6077
  }[];
6078
+ from: "collection";
6033
6079
  }> | undefined;
6034
6080
  outputPorts?: Record<string, string> | undefined;
6035
6081
  } | {
6036
- key: string;
6037
6082
  kind: "router";
6083
+ key: string;
6038
6084
  stageKey: string;
6039
6085
  policyRef: string;
6040
6086
  outcomes: string[];
@@ -6050,17 +6096,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6050
6096
  key: string;
6051
6097
  from: "parameter";
6052
6098
  } | {
6053
- from: "collection";
6054
6099
  items: {
6055
6100
  from: "node_output";
6056
6101
  nodeKey: string;
6057
6102
  port: string;
6058
6103
  }[];
6104
+ from: "collection";
6059
6105
  }> | undefined;
6060
6106
  outputPorts?: Record<string, string> | undefined;
6061
6107
  } | {
6062
- key: string;
6063
6108
  kind: "human_gate";
6109
+ key: string;
6064
6110
  laneKey: string;
6065
6111
  stageKey: string;
6066
6112
  policyRef: string;
@@ -6077,18 +6123,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6077
6123
  key: string;
6078
6124
  from: "parameter";
6079
6125
  } | {
6080
- from: "collection";
6081
6126
  items: {
6082
6127
  from: "node_output";
6083
6128
  nodeKey: string;
6084
6129
  port: string;
6085
6130
  }[];
6131
+ from: "collection";
6086
6132
  }> | undefined;
6087
6133
  outputPorts?: Record<string, string> | undefined;
6088
6134
  outcomeLabels?: Record<string, string> | undefined;
6089
6135
  } | {
6090
- key: string;
6091
6136
  kind: "external_wait";
6137
+ key: string;
6092
6138
  laneKey: string;
6093
6139
  stageKey: string;
6094
6140
  subscriptionRef: string;
@@ -6103,18 +6149,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6103
6149
  key: string;
6104
6150
  from: "parameter";
6105
6151
  } | {
6106
- from: "collection";
6107
6152
  items: {
6108
6153
  from: "node_output";
6109
6154
  nodeKey: string;
6110
6155
  port: string;
6111
6156
  }[];
6157
+ from: "collection";
6112
6158
  }> | undefined;
6113
6159
  outputPorts?: Record<string, string> | undefined;
6114
6160
  } | {
6161
+ kind: "terminal";
6115
6162
  key: string;
6116
6163
  outcome: string;
6117
- kind: "terminal";
6118
6164
  stageKey: string;
6119
6165
  label?: string | undefined;
6120
6166
  inputBindings?: Record<string, {
@@ -6127,12 +6173,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6127
6173
  key: string;
6128
6174
  from: "parameter";
6129
6175
  } | {
6130
- from: "collection";
6131
6176
  items: {
6132
6177
  from: "node_output";
6133
6178
  nodeKey: string;
6134
6179
  port: string;
6135
6180
  }[];
6181
+ from: "collection";
6136
6182
  }> | undefined;
6137
6183
  outputPorts?: Record<string, string> | undefined;
6138
6184
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -6154,15 +6200,15 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6154
6200
  requiredNodeFailure: "block_and_attention";
6155
6201
  unknownExecution: "inspect_without_replay";
6156
6202
  };
6157
- hostRequirements?: {
6158
- protocol: number;
6159
- features: Record<string, number>;
6160
- } | undefined;
6161
6203
  presentation?: {
6162
6204
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6163
6205
  nodeDetailRef?: string | undefined;
6164
6206
  evidenceTypes?: string[] | undefined;
6165
6207
  } | undefined;
6208
+ hostRequirements?: {
6209
+ protocol: number;
6210
+ features: Record<string, number>;
6211
+ } | undefined;
6166
6212
  metrics?: {
6167
6213
  dimensionRefs: string[];
6168
6214
  metricRefs: string[];
@@ -6224,8 +6270,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6224
6270
  forms?: {
6225
6271
  templateRef: string;
6226
6272
  parameters: ({
6227
- type: "boolean";
6228
6273
  key: string;
6274
+ type: "boolean";
6229
6275
  label: {
6230
6276
  en_US: string;
6231
6277
  zh_Hans?: string | undefined;
@@ -6235,8 +6281,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6235
6281
  zh_Hans?: string | undefined;
6236
6282
  } | undefined;
6237
6283
  } | {
6238
- type: "text";
6239
6284
  key: string;
6285
+ type: "text";
6240
6286
  label: {
6241
6287
  en_US: string;
6242
6288
  zh_Hans?: string | undefined;
@@ -6248,9 +6294,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6248
6294
  zh_Hans?: string | undefined;
6249
6295
  } | undefined;
6250
6296
  } | {
6297
+ key: string;
6251
6298
  type: "number";
6252
6299
  integer: boolean;
6253
- key: string;
6254
6300
  label: {
6255
6301
  en_US: string;
6256
6302
  zh_Hans?: string | undefined;
@@ -6262,6 +6308,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6262
6308
  zh_Hans?: string | undefined;
6263
6309
  } | undefined;
6264
6310
  } | {
6311
+ key: string;
6265
6312
  options: {
6266
6313
  value: string;
6267
6314
  label: {
@@ -6270,7 +6317,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6270
6317
  };
6271
6318
  }[];
6272
6319
  type: "choice";
6273
- key: string;
6274
6320
  label: {
6275
6321
  en_US: string;
6276
6322
  zh_Hans?: string | undefined;
@@ -6280,6 +6326,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6280
6326
  zh_Hans?: string | undefined;
6281
6327
  } | undefined;
6282
6328
  } | {
6329
+ key: string;
6283
6330
  options: {
6284
6331
  value: string;
6285
6332
  label: {
@@ -6288,7 +6335,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6288
6335
  };
6289
6336
  }[];
6290
6337
  type: "multi_choice";
6291
- key: string;
6292
6338
  label: {
6293
6339
  en_US: string;
6294
6340
  zh_Hans?: string | undefined;
@@ -6299,8 +6345,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6299
6345
  zh_Hans?: string | undefined;
6300
6346
  } | undefined;
6301
6347
  } | {
6302
- type: "string_list";
6303
6348
  key: string;
6349
+ type: "string_list";
6304
6350
  label: {
6305
6351
  en_US: string;
6306
6352
  zh_Hans?: string | undefined;
@@ -6347,6 +6393,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6347
6393
  }, {
6348
6394
  key: string;
6349
6395
  configurations: {
6396
+ schemaVersion: 1;
6350
6397
  binding: {
6351
6398
  templateRef: string;
6352
6399
  roleBindings: Record<string, {
@@ -6356,8 +6403,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6356
6403
  }>;
6357
6404
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
6358
6405
  executorBindings?: Record<string, {
6359
- roleKey: string;
6360
6406
  kind: "assistant" | "runtime_binding" | "human" | "service";
6407
+ roleKey: string;
6361
6408
  selectionKey: string;
6362
6409
  requiredCapabilities?: string[] | undefined;
6363
6410
  workspaceId?: string | undefined;
@@ -6378,17 +6425,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6378
6425
  events: string[];
6379
6426
  }[] | undefined;
6380
6427
  };
6381
- schemaVersion: 1;
6382
6428
  template: {
6383
6429
  key: string;
6430
+ title: string;
6431
+ version: string;
6432
+ lanes: {
6433
+ key: string;
6434
+ order: number;
6435
+ roleKey: string;
6436
+ label: string;
6437
+ }[];
6384
6438
  executionAuthority: "provider";
6385
6439
  providerRef: string;
6386
6440
  topology: {
6387
6441
  source: "provider";
6388
6442
  presentationAdapterRef: string;
6389
6443
  };
6390
- version: string;
6391
- title: string;
6392
6444
  projectTypes: {
6393
6445
  applicationKey: string;
6394
6446
  projectTypeKey: string;
@@ -6398,40 +6450,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6398
6450
  key: string;
6399
6451
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
6400
6452
  }[];
6401
- lanes: {
6402
- key: string;
6403
- roleKey: string;
6404
- label: string;
6405
- order: number;
6406
- }[];
6407
6453
  stages: {
6408
6454
  key: string;
6409
- label: string;
6410
6455
  order: number;
6456
+ label: string;
6411
6457
  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;
6412
6458
  }[];
6413
- actionRefs?: string[] | undefined;
6414
- hostRequirements?: {
6415
- protocol: number;
6416
- features: Record<string, number>;
6417
- } | undefined;
6418
6459
  presentation?: {
6419
6460
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6420
6461
  nodeDetailRef?: string | undefined;
6421
6462
  evidenceTypes?: string[] | undefined;
6422
6463
  } | undefined;
6464
+ actionRefs?: string[] | undefined;
6465
+ hostRequirements?: {
6466
+ protocol: number;
6467
+ features: Record<string, number>;
6468
+ } | undefined;
6423
6469
  metrics?: {
6424
6470
  dimensionRefs: string[];
6425
6471
  metricRefs: string[];
6426
6472
  } | undefined;
6427
6473
  } | {
6428
6474
  key: string;
6475
+ title: string;
6476
+ version: string;
6477
+ lanes: {
6478
+ key: string;
6479
+ order: number;
6480
+ roleKey: string;
6481
+ label: string;
6482
+ }[];
6429
6483
  executionAuthority: "platform";
6430
6484
  topology: {
6431
6485
  source: "definition";
6432
6486
  };
6433
- version: string;
6434
- title: string;
6435
6487
  projectTypes: {
6436
6488
  applicationKey: string;
6437
6489
  projectTypeKey: string;
@@ -6441,26 +6493,23 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6441
6493
  key: string;
6442
6494
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
6443
6495
  }[];
6444
- lanes: {
6445
- key: string;
6446
- roleKey: string;
6447
- label: string;
6448
- order: number;
6449
- }[];
6450
6496
  stages: {
6451
6497
  key: string;
6452
- label: string;
6453
6498
  order: number;
6499
+ label: string;
6454
6500
  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;
6455
6501
  }[];
6456
6502
  nodes: ({
6457
- key: string;
6458
6503
  kind: "work";
6504
+ key: string;
6459
6505
  laneKey: string;
6460
6506
  operationRef: string;
6461
6507
  executorSlot: string;
6462
6508
  completionRef: string;
6463
6509
  stageKey: string;
6510
+ presentation?: {
6511
+ foldIntoApproval: string;
6512
+ } | undefined;
6464
6513
  label?: string | undefined;
6465
6514
  resourceResolverRef?: string | undefined;
6466
6515
  outputSchemaRef?: string | undefined;
@@ -6474,17 +6523,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6474
6523
  key: string;
6475
6524
  from: "parameter";
6476
6525
  } | {
6477
- from: "collection";
6478
6526
  items: {
6479
6527
  from: "node_output";
6480
6528
  nodeKey: string;
6481
6529
  port: string;
6482
6530
  }[];
6531
+ from: "collection";
6483
6532
  }> | undefined;
6484
6533
  outputPorts?: Record<string, string> | undefined;
6485
6534
  } | {
6486
- key: string;
6487
6535
  kind: "fork";
6536
+ key: string;
6488
6537
  stageKey: string;
6489
6538
  label?: string | undefined;
6490
6539
  inputBindings?: Record<string, {
@@ -6497,21 +6546,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6497
6546
  key: string;
6498
6547
  from: "parameter";
6499
6548
  } | {
6500
- from: "collection";
6501
6549
  items: {
6502
6550
  from: "node_output";
6503
6551
  nodeKey: string;
6504
6552
  port: string;
6505
6553
  }[];
6554
+ from: "collection";
6506
6555
  }> | undefined;
6507
6556
  outputPorts?: Record<string, string> | undefined;
6508
6557
  } | {
6558
+ kind: "join";
6559
+ key: string;
6509
6560
  join: {
6510
6561
  mode: "all_selected";
6511
6562
  accept: "completed";
6512
6563
  };
6513
- key: string;
6514
- kind: "join";
6515
6564
  stageKey: string;
6516
6565
  label?: string | undefined;
6517
6566
  inputBindings?: Record<string, {
@@ -6524,17 +6573,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6524
6573
  key: string;
6525
6574
  from: "parameter";
6526
6575
  } | {
6527
- from: "collection";
6528
6576
  items: {
6529
6577
  from: "node_output";
6530
6578
  nodeKey: string;
6531
6579
  port: string;
6532
6580
  }[];
6581
+ from: "collection";
6533
6582
  }> | undefined;
6534
6583
  outputPorts?: Record<string, string> | undefined;
6535
6584
  } | {
6536
- key: string;
6537
6585
  kind: "router";
6586
+ key: string;
6538
6587
  stageKey: string;
6539
6588
  policyRef: string;
6540
6589
  outcomes: string[];
@@ -6550,17 +6599,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6550
6599
  key: string;
6551
6600
  from: "parameter";
6552
6601
  } | {
6553
- from: "collection";
6554
6602
  items: {
6555
6603
  from: "node_output";
6556
6604
  nodeKey: string;
6557
6605
  port: string;
6558
6606
  }[];
6607
+ from: "collection";
6559
6608
  }> | undefined;
6560
6609
  outputPorts?: Record<string, string> | undefined;
6561
6610
  } | {
6562
- key: string;
6563
6611
  kind: "human_gate";
6612
+ key: string;
6564
6613
  laneKey: string;
6565
6614
  stageKey: string;
6566
6615
  policyRef: string;
@@ -6577,18 +6626,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6577
6626
  key: string;
6578
6627
  from: "parameter";
6579
6628
  } | {
6580
- from: "collection";
6581
6629
  items: {
6582
6630
  from: "node_output";
6583
6631
  nodeKey: string;
6584
6632
  port: string;
6585
6633
  }[];
6634
+ from: "collection";
6586
6635
  }> | undefined;
6587
6636
  outputPorts?: Record<string, string> | undefined;
6588
6637
  outcomeLabels?: Record<string, string> | undefined;
6589
6638
  } | {
6590
- key: string;
6591
6639
  kind: "external_wait";
6640
+ key: string;
6592
6641
  laneKey: string;
6593
6642
  stageKey: string;
6594
6643
  subscriptionRef: string;
@@ -6603,18 +6652,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6603
6652
  key: string;
6604
6653
  from: "parameter";
6605
6654
  } | {
6606
- from: "collection";
6607
6655
  items: {
6608
6656
  from: "node_output";
6609
6657
  nodeKey: string;
6610
6658
  port: string;
6611
6659
  }[];
6660
+ from: "collection";
6612
6661
  }> | undefined;
6613
6662
  outputPorts?: Record<string, string> | undefined;
6614
6663
  } | {
6664
+ kind: "terminal";
6615
6665
  key: string;
6616
6666
  outcome: string;
6617
- kind: "terminal";
6618
6667
  stageKey: string;
6619
6668
  label?: string | undefined;
6620
6669
  inputBindings?: Record<string, {
@@ -6627,12 +6676,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6627
6676
  key: string;
6628
6677
  from: "parameter";
6629
6678
  } | {
6630
- from: "collection";
6631
6679
  items: {
6632
6680
  from: "node_output";
6633
6681
  nodeKey: string;
6634
6682
  port: string;
6635
6683
  }[];
6684
+ from: "collection";
6636
6685
  }> | undefined;
6637
6686
  outputPorts?: Record<string, string> | undefined;
6638
6687
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -6654,15 +6703,15 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6654
6703
  requiredNodeFailure: "block_and_attention";
6655
6704
  unknownExecution: "inspect_without_replay";
6656
6705
  };
6657
- hostRequirements?: {
6658
- protocol: number;
6659
- features: Record<string, number>;
6660
- } | undefined;
6661
6706
  presentation?: {
6662
6707
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6663
6708
  nodeDetailRef?: string | undefined;
6664
6709
  evidenceTypes?: string[] | undefined;
6665
6710
  } | undefined;
6711
+ hostRequirements?: {
6712
+ protocol: number;
6713
+ features: Record<string, number>;
6714
+ } | undefined;
6666
6715
  metrics?: {
6667
6716
  dimensionRefs: string[];
6668
6717
  metricRefs: string[];
@@ -6724,8 +6773,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6724
6773
  forms?: {
6725
6774
  templateRef: string;
6726
6775
  parameters: ({
6727
- type: "boolean";
6728
6776
  key: string;
6777
+ type: "boolean";
6729
6778
  label: {
6730
6779
  en_US: string;
6731
6780
  zh_Hans?: string | undefined;
@@ -6735,8 +6784,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6735
6784
  zh_Hans?: string | undefined;
6736
6785
  } | undefined;
6737
6786
  } | {
6738
- type: "text";
6739
6787
  key: string;
6788
+ type: "text";
6740
6789
  label: {
6741
6790
  en_US: string;
6742
6791
  zh_Hans?: string | undefined;
@@ -6748,9 +6797,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6748
6797
  zh_Hans?: string | undefined;
6749
6798
  } | undefined;
6750
6799
  } | {
6800
+ key: string;
6751
6801
  type: "number";
6752
6802
  integer: boolean;
6753
- key: string;
6754
6803
  label: {
6755
6804
  en_US: string;
6756
6805
  zh_Hans?: string | undefined;
@@ -6762,6 +6811,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6762
6811
  zh_Hans?: string | undefined;
6763
6812
  } | undefined;
6764
6813
  } | {
6814
+ key: string;
6765
6815
  options: {
6766
6816
  value: string;
6767
6817
  label: {
@@ -6770,7 +6820,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6770
6820
  };
6771
6821
  }[];
6772
6822
  type: "choice";
6773
- key: string;
6774
6823
  label: {
6775
6824
  en_US: string;
6776
6825
  zh_Hans?: string | undefined;
@@ -6780,6 +6829,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6780
6829
  zh_Hans?: string | undefined;
6781
6830
  } | undefined;
6782
6831
  } | {
6832
+ key: string;
6783
6833
  options: {
6784
6834
  value: string;
6785
6835
  label: {
@@ -6788,7 +6838,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6788
6838
  };
6789
6839
  }[];
6790
6840
  type: "multi_choice";
6791
- key: string;
6792
6841
  label: {
6793
6842
  en_US: string;
6794
6843
  zh_Hans?: string | undefined;
@@ -6799,8 +6848,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6799
6848
  } | undefined;
6800
6849
  minItems?: number | undefined;
6801
6850
  } | {
6802
- type: "string_list";
6803
6851
  key: string;
6852
+ type: "string_list";
6804
6853
  label: {
6805
6854
  en_US: string;
6806
6855
  zh_Hans?: string | undefined;