@xpert-ai/contracts 3.35.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +1165 -805
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +1140 -801
  10. package/package.json +18 -2
  11. package/src/agent-plugin.d.ts +4 -29
  12. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  13. package/src/ai/agent-runtime.model.d.ts +4 -4
  14. package/src/ai/assistant-capability.model.d.ts +0 -1
  15. package/src/ai/assistant-template-manifest.model.d.ts +272 -308
  16. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  17. package/src/ai/assistant-template.model.d.ts +0 -4
  18. package/src/ai/bosi.model.d.ts +1 -1
  19. package/src/ai/chat-activity.model.d.ts +13 -0
  20. package/src/ai/chat-message.model.d.ts +0 -11
  21. package/src/ai/chat.model.d.ts +3 -0
  22. package/src/ai/cli-execution.model.d.ts +88 -0
  23. package/src/ai/conversation-trail.model.d.ts +274 -274
  24. package/src/ai/copilot-store.model.d.ts +0 -13
  25. package/src/ai/evolution/entities.d.ts +164 -0
  26. package/src/ai/evolution/evaluation.d.ts +7 -0
  27. package/src/ai/evolution/execution-review.d.ts +68 -0
  28. package/src/ai/evolution/index.d.ts +2 -0
  29. package/src/ai/evolution/provider.d.ts +1 -0
  30. package/src/ai/evolution/target.d.ts +5 -0
  31. package/src/ai/execution-activity.model.d.ts +362 -362
  32. package/src/ai/execution-control-evidence.schema.d.ts +26 -26
  33. package/src/ai/execution-observability.model.d.ts +160 -160
  34. package/src/ai/execution-source.model.d.ts +45 -0
  35. package/src/ai/index.d.ts +2 -0
  36. package/src/ai/middleware.model.d.ts +1 -0
  37. package/src/ai/model-execution.model.d.ts +5 -108
  38. package/src/ai/model-replacement.model.d.ts +12 -12
  39. package/src/ai/project-configuration-view.model.d.ts +1 -0
  40. package/src/ai/project-pipeline/analytics.d.ts +288 -288
  41. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  42. package/src/ai/project-pipeline/commands.schema.d.ts +519 -476
  43. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  44. package/src/ai/project-pipeline/configuration-form.d.ts +1903 -1759
  45. package/src/ai/project-pipeline/configuration.schema.d.ts +425 -388
  46. package/src/ai/project-pipeline/contribution.schema.d.ts +764 -612
  47. package/src/ai/project-pipeline/definition.schema.d.ts +382 -338
  48. package/src/ai/project-pipeline/execution-statistics.d.ts +30 -30
  49. package/src/ai/project-pipeline/graph.model.d.ts +7 -2
  50. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  51. package/src/ai/project-pipeline/index.d.ts +1 -0
  52. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  53. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  54. package/src/ai/project-pipeline/operation.schema.d.ts +378 -378
  55. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  56. package/src/ai/project-pipeline/portfolio.schema.d.ts +684 -684
  57. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  58. package/src/ai/project-pipeline/projection.schema.d.ts +674 -637
  59. package/src/ai/project-pipeline/provider-actions.schema.d.ts +120 -120
  60. package/src/ai/project-pipeline/queue-statistics.d.ts +34 -34
  61. package/src/ai/project-pipeline/runtime.schema.d.ts +89 -89
  62. package/src/ai/project-pipeline/statistics.d.ts +142 -142
  63. package/src/ai/project-task-runtime.model.d.ts +265 -789
  64. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  65. package/src/ai/template-installation.model.d.ts +13 -13
  66. package/src/ai/template-lifecycle.model.d.ts +4 -4
  67. package/src/ai/xpert-agent-execution.model.d.ts +33 -0
  68. package/src/ai/xpert-project.model.d.ts +2 -1
  69. package/src/ai/xpert-tool.model.d.ts +12 -0
  70. package/src/ai/xpert.model.d.ts +0 -34
  71. package/src/ai/xpert.utils.d.ts +0 -1
  72. package/src/always-on/agent-event.model.d.ts +121 -0
  73. package/src/always-on/agent-event.schema.d.ts +139 -0
  74. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  75. package/src/always-on/agent-output.model.d.ts +411 -0
  76. package/src/always-on/human-decision.model.d.ts +204 -0
  77. package/src/always-on/index.d.ts +3 -0
  78. package/src/always-on/output-workbench.schema.d.ts +154 -0
  79. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  80. package/src/analytics/analytics-certification.model.d.ts +17 -0
  81. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  82. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  83. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  84. package/src/analytics/index.d.ts +7 -0
  85. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  86. package/src/app-platform.d.ts +14 -14
  87. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  88. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  89. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  90. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  91. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +4 -2
  92. package/src/artifacts/index.d.ts +5 -0
  93. package/src/collaboration.model.d.ts +31 -11
  94. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  95. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +7 -3
  96. package/src/content/content-transfer.model.d.ts +21 -0
  97. package/src/content/index.d.ts +4 -0
  98. package/src/execution-control-admission.schema.d.ts +2 -2
  99. package/src/icon-definition.schema.d.ts +6 -10
  100. package/src/index.d.ts +5 -14
  101. package/src/secret-token.model.d.ts +4 -4
  102. package/src/user-notification.schema.d.ts +1300 -471
  103. package/src/view-extension/client-commands.d.ts +24 -0
  104. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  105. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -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
- roleKey: string;
68
67
  label: string;
69
68
  order: number;
69
+ roleKey: string;
70
70
  }, {
71
71
  key: string;
72
- roleKey: string;
73
72
  label: string;
74
73
  order: number;
74
+ roleKey: string;
75
75
  }>, "many">;
76
76
  stages: z.ZodArray<z.ZodObject<{
77
77
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -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
+ label: string;
122
+ order: number;
123
+ roleKey: 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
142
  label: string;
143
143
  order: number;
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
+ label: string;
167
+ order: number;
168
+ roleKey: 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
187
  label: string;
188
188
  order: number;
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,30 +272,33 @@ 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;
291
298
  label?: string | undefined;
299
+ presentation?: {
300
+ foldIntoApproval: string;
301
+ } | undefined;
292
302
  resourceResolverRef?: string | undefined;
293
303
  outputSchemaRef?: string | undefined;
294
304
  inputBindings?: Record<string, {
@@ -301,23 +311,26 @@ 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;
320
330
  label?: string | undefined;
331
+ presentation?: {
332
+ foldIntoApproval: string;
333
+ } | undefined;
321
334
  resourceResolverRef?: string | undefined;
322
335
  outputSchemaRef?: string | undefined;
323
336
  inputBindings?: Record<string, {
@@ -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;
1142
- roleKey: string;
1143
1155
  label: string;
1144
1156
  order: number;
1157
+ roleKey: string;
1145
1158
  }, {
1146
1159
  key: string;
1147
- roleKey: string;
1148
1160
  label: string;
1149
1161
  order: number;
1162
+ roleKey: string;
1150
1163
  }>, "many">;
1151
1164
  stages: z.ZodArray<z.ZodObject<{
1152
1165
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -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
+ label: string;
1210
+ order: number;
1211
+ roleKey: 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,12 +1223,6 @@ 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
1228
  label: string;
@@ -1217,14 +1230,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
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;
1227
1240
  label?: string | undefined;
1241
+ presentation?: {
1242
+ foldIntoApproval: string;
1243
+ } | undefined;
1228
1244
  resourceResolverRef?: string | undefined;
1229
1245
  outputSchemaRef?: string | undefined;
1230
1246
  inputBindings?: Record<string, {
@@ -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
+ label: string;
1456
+ order: number;
1457
+ roleKey: 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,12 +1469,6 @@ 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
1474
  label: string;
@@ -1460,14 +1476,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
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;
1470
1486
  label?: string | undefined;
1487
+ presentation?: {
1488
+ foldIntoApproval: string;
1489
+ } | undefined;
1471
1490
  resourceResolverRef?: string | undefined;
1472
1491
  outputSchemaRef?: string | undefined;
1473
1492
  inputBindings?: Record<string, {
@@ -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
+ label: string;
1702
+ order: number;
1703
+ roleKey: 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
1722
  label: string;
1704
1723
  order: number;
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
+ label: string;
1747
+ order: number;
1748
+ roleKey: 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,12 +1760,6 @@ 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
1765
  label: string;
@@ -1748,14 +1767,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
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;
1758
1777
  label?: string | undefined;
1778
+ presentation?: {
1779
+ foldIntoApproval: string;
1780
+ } | undefined;
1759
1781
  resourceResolverRef?: string | undefined;
1760
1782
  outputSchemaRef?: string | undefined;
1761
1783
  inputBindings?: Record<string, {
@@ -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
+ label: string;
1993
+ order: number;
1994
+ roleKey: 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
2013
  label: string;
1992
2014
  order: number;
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
+ label: string;
2038
+ order: number;
2039
+ roleKey: 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,12 +2051,6 @@ 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
2056
  label: string;
@@ -2036,14 +2058,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
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;
2046
2068
  label?: string | undefined;
2069
+ presentation?: {
2070
+ foldIntoApproval: string;
2071
+ } | undefined;
2047
2072
  resourceResolverRef?: string | undefined;
2048
2073
  outputSchemaRef?: string | undefined;
2049
2074
  inputBindings?: Record<string, {
@@ -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;
@@ -2414,7 +2439,47 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2414
2439
  events: string[];
2415
2440
  }[] | undefined;
2416
2441
  }>;
2442
+ } & {
2443
+ nativeModelBudgetPolicy: z.ZodOptional<z.ZodObject<{
2444
+ maxTokensDefaultSource: z.ZodEnum<["configuration", "host"]>;
2445
+ maximum: z.ZodEffects<z.ZodObject<{
2446
+ maxCalls: z.ZodNumber;
2447
+ maxTokens: z.ZodNumber;
2448
+ reservationTokens: z.ZodNumber;
2449
+ }, "strict", z.ZodTypeAny, {
2450
+ maxCalls: number;
2451
+ maxTokens: number;
2452
+ reservationTokens: number;
2453
+ }, {
2454
+ maxCalls: number;
2455
+ maxTokens: number;
2456
+ reservationTokens: number;
2457
+ }>, {
2458
+ maxCalls: number;
2459
+ maxTokens: number;
2460
+ reservationTokens: number;
2461
+ }, {
2462
+ maxCalls: number;
2463
+ maxTokens: number;
2464
+ reservationTokens: number;
2465
+ }>;
2466
+ }, "strict", z.ZodTypeAny, {
2467
+ maximum: {
2468
+ maxCalls: number;
2469
+ maxTokens: number;
2470
+ reservationTokens: number;
2471
+ };
2472
+ maxTokensDefaultSource: "configuration" | "host";
2473
+ }, {
2474
+ maximum: {
2475
+ maxCalls: number;
2476
+ maxTokens: number;
2477
+ reservationTokens: number;
2478
+ };
2479
+ maxTokensDefaultSource: "configuration" | "host";
2480
+ }>>;
2417
2481
  }, "strict", z.ZodTypeAny, {
2482
+ schemaVersion: 1;
2418
2483
  binding: {
2419
2484
  templateRef: string;
2420
2485
  roleBindings: Record<string, {
@@ -2424,8 +2489,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2424
2489
  }>;
2425
2490
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2426
2491
  executorBindings?: Record<string, {
2427
- roleKey: string;
2428
2492
  kind: "assistant" | "runtime_binding" | "human" | "service";
2493
+ roleKey: string;
2429
2494
  selectionKey: string;
2430
2495
  requiredCapabilities?: string[] | undefined;
2431
2496
  workspaceId?: string | undefined;
@@ -2446,17 +2511,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2446
2511
  events: string[];
2447
2512
  }[] | undefined;
2448
2513
  };
2449
- schemaVersion: 1;
2450
2514
  template: {
2451
2515
  key: string;
2516
+ title: string;
2517
+ version: string;
2518
+ lanes: {
2519
+ key: string;
2520
+ label: string;
2521
+ order: number;
2522
+ roleKey: string;
2523
+ }[];
2452
2524
  executionAuthority: "provider";
2453
2525
  providerRef: string;
2454
2526
  topology: {
2455
2527
  source: "provider";
2456
2528
  presentationAdapterRef: string;
2457
2529
  };
2458
- version: string;
2459
- title: string;
2460
2530
  projectTypes: {
2461
2531
  applicationKey: string;
2462
2532
  projectTypeKey: string;
@@ -2466,40 +2536,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2466
2536
  key: string;
2467
2537
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2468
2538
  }[];
2469
- lanes: {
2470
- key: string;
2471
- roleKey: string;
2472
- label: string;
2473
- order: number;
2474
- }[];
2475
2539
  stages: {
2476
2540
  key: string;
2477
2541
  label: string;
2478
2542
  order: number;
2479
2543
  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
2544
  }[];
2481
- actionRefs?: string[] | undefined;
2482
- hostRequirements?: {
2483
- protocol: number;
2484
- features: Record<string, number>;
2485
- } | undefined;
2486
2545
  presentation?: {
2487
2546
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2488
2547
  nodeDetailRef?: string | undefined;
2489
2548
  evidenceTypes?: string[] | undefined;
2490
2549
  } | undefined;
2550
+ actionRefs?: string[] | undefined;
2551
+ hostRequirements?: {
2552
+ protocol: number;
2553
+ features: Record<string, number>;
2554
+ } | undefined;
2491
2555
  metrics?: {
2492
2556
  dimensionRefs: string[];
2493
2557
  metricRefs: string[];
2494
2558
  } | undefined;
2495
2559
  } | {
2496
2560
  key: string;
2561
+ title: string;
2562
+ version: string;
2563
+ lanes: {
2564
+ key: string;
2565
+ label: string;
2566
+ order: number;
2567
+ roleKey: string;
2568
+ }[];
2497
2569
  executionAuthority: "platform";
2498
2570
  topology: {
2499
2571
  source: "definition";
2500
2572
  };
2501
- version: string;
2502
- title: string;
2503
2573
  projectTypes: {
2504
2574
  applicationKey: string;
2505
2575
  projectTypeKey: string;
@@ -2509,12 +2579,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2509
2579
  key: string;
2510
2580
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2511
2581
  }[];
2512
- lanes: {
2513
- key: string;
2514
- roleKey: string;
2515
- label: string;
2516
- order: number;
2517
- }[];
2518
2582
  stages: {
2519
2583
  key: string;
2520
2584
  label: string;
@@ -2522,14 +2586,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2522
2586
  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
2587
  }[];
2524
2588
  nodes: ({
2525
- key: string;
2526
2589
  kind: "work";
2590
+ key: string;
2527
2591
  laneKey: string;
2528
2592
  operationRef: string;
2529
2593
  executorSlot: string;
2530
2594
  completionRef: string;
2531
2595
  stageKey: string;
2532
2596
  label?: string | undefined;
2597
+ presentation?: {
2598
+ foldIntoApproval: string;
2599
+ } | undefined;
2533
2600
  resourceResolverRef?: string | undefined;
2534
2601
  outputSchemaRef?: string | undefined;
2535
2602
  inputBindings?: Record<string, {
@@ -2542,17 +2609,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2542
2609
  key: string;
2543
2610
  from: "parameter";
2544
2611
  } | {
2545
- from: "collection";
2546
2612
  items: {
2547
2613
  from: "node_output";
2548
2614
  nodeKey: string;
2549
2615
  port: string;
2550
2616
  }[];
2617
+ from: "collection";
2551
2618
  }> | undefined;
2552
2619
  outputPorts?: Record<string, string> | undefined;
2553
2620
  } | {
2554
- key: string;
2555
2621
  kind: "fork";
2622
+ key: string;
2556
2623
  stageKey: string;
2557
2624
  label?: string | undefined;
2558
2625
  inputBindings?: Record<string, {
@@ -2565,21 +2632,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2565
2632
  key: string;
2566
2633
  from: "parameter";
2567
2634
  } | {
2568
- from: "collection";
2569
2635
  items: {
2570
2636
  from: "node_output";
2571
2637
  nodeKey: string;
2572
2638
  port: string;
2573
2639
  }[];
2640
+ from: "collection";
2574
2641
  }> | undefined;
2575
2642
  outputPorts?: Record<string, string> | undefined;
2576
2643
  } | {
2644
+ kind: "join";
2645
+ key: string;
2577
2646
  join: {
2578
2647
  mode: "all_selected";
2579
2648
  accept: "completed";
2580
2649
  };
2581
- key: string;
2582
- kind: "join";
2583
2650
  stageKey: string;
2584
2651
  label?: string | undefined;
2585
2652
  inputBindings?: Record<string, {
@@ -2592,17 +2659,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2592
2659
  key: string;
2593
2660
  from: "parameter";
2594
2661
  } | {
2595
- from: "collection";
2596
2662
  items: {
2597
2663
  from: "node_output";
2598
2664
  nodeKey: string;
2599
2665
  port: string;
2600
2666
  }[];
2667
+ from: "collection";
2601
2668
  }> | undefined;
2602
2669
  outputPorts?: Record<string, string> | undefined;
2603
2670
  } | {
2604
- key: string;
2605
2671
  kind: "router";
2672
+ key: string;
2606
2673
  stageKey: string;
2607
2674
  policyRef: string;
2608
2675
  outcomes: string[];
@@ -2618,17 +2685,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2618
2685
  key: string;
2619
2686
  from: "parameter";
2620
2687
  } | {
2621
- from: "collection";
2622
2688
  items: {
2623
2689
  from: "node_output";
2624
2690
  nodeKey: string;
2625
2691
  port: string;
2626
2692
  }[];
2693
+ from: "collection";
2627
2694
  }> | undefined;
2628
2695
  outputPorts?: Record<string, string> | undefined;
2629
2696
  } | {
2630
- key: string;
2631
2697
  kind: "human_gate";
2698
+ key: string;
2632
2699
  laneKey: string;
2633
2700
  stageKey: string;
2634
2701
  policyRef: string;
@@ -2645,18 +2712,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2645
2712
  key: string;
2646
2713
  from: "parameter";
2647
2714
  } | {
2648
- from: "collection";
2649
2715
  items: {
2650
2716
  from: "node_output";
2651
2717
  nodeKey: string;
2652
2718
  port: string;
2653
2719
  }[];
2720
+ from: "collection";
2654
2721
  }> | undefined;
2655
2722
  outputPorts?: Record<string, string> | undefined;
2656
2723
  outcomeLabels?: Record<string, string> | undefined;
2657
2724
  } | {
2658
- key: string;
2659
2725
  kind: "external_wait";
2726
+ key: string;
2660
2727
  laneKey: string;
2661
2728
  stageKey: string;
2662
2729
  subscriptionRef: string;
@@ -2671,18 +2738,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2671
2738
  key: string;
2672
2739
  from: "parameter";
2673
2740
  } | {
2674
- from: "collection";
2675
2741
  items: {
2676
2742
  from: "node_output";
2677
2743
  nodeKey: string;
2678
2744
  port: string;
2679
2745
  }[];
2746
+ from: "collection";
2680
2747
  }> | undefined;
2681
2748
  outputPorts?: Record<string, string> | undefined;
2682
2749
  } | {
2750
+ kind: "terminal";
2683
2751
  key: string;
2684
2752
  outcome: string;
2685
- kind: "terminal";
2686
2753
  stageKey: string;
2687
2754
  label?: string | undefined;
2688
2755
  inputBindings?: Record<string, {
@@ -2695,12 +2762,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2695
2762
  key: string;
2696
2763
  from: "parameter";
2697
2764
  } | {
2698
- from: "collection";
2699
2765
  items: {
2700
2766
  from: "node_output";
2701
2767
  nodeKey: string;
2702
2768
  port: string;
2703
2769
  }[];
2770
+ from: "collection";
2704
2771
  }> | undefined;
2705
2772
  outputPorts?: Record<string, string> | undefined;
2706
2773
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2722,21 +2789,30 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2722
2789
  requiredNodeFailure: "block_and_attention";
2723
2790
  unknownExecution: "inspect_without_replay";
2724
2791
  };
2725
- hostRequirements?: {
2726
- protocol: number;
2727
- features: Record<string, number>;
2728
- } | undefined;
2729
2792
  presentation?: {
2730
2793
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2731
2794
  nodeDetailRef?: string | undefined;
2732
2795
  evidenceTypes?: string[] | undefined;
2733
2796
  } | undefined;
2797
+ hostRequirements?: {
2798
+ protocol: number;
2799
+ features: Record<string, number>;
2800
+ } | undefined;
2734
2801
  metrics?: {
2735
2802
  dimensionRefs: string[];
2736
2803
  metricRefs: string[];
2737
2804
  } | undefined;
2738
2805
  };
2806
+ nativeModelBudgetPolicy?: {
2807
+ maximum: {
2808
+ maxCalls: number;
2809
+ maxTokens: number;
2810
+ reservationTokens: number;
2811
+ };
2812
+ maxTokensDefaultSource: "configuration" | "host";
2813
+ } | undefined;
2739
2814
  }, {
2815
+ schemaVersion: 1;
2740
2816
  binding: {
2741
2817
  templateRef: string;
2742
2818
  roleBindings: Record<string, {
@@ -2746,8 +2822,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2746
2822
  }>;
2747
2823
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
2748
2824
  executorBindings?: Record<string, {
2749
- roleKey: string;
2750
2825
  kind: "assistant" | "runtime_binding" | "human" | "service";
2826
+ roleKey: string;
2751
2827
  selectionKey: string;
2752
2828
  requiredCapabilities?: string[] | undefined;
2753
2829
  workspaceId?: string | undefined;
@@ -2768,17 +2844,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2768
2844
  events: string[];
2769
2845
  }[] | undefined;
2770
2846
  };
2771
- schemaVersion: 1;
2772
2847
  template: {
2773
2848
  key: string;
2849
+ title: string;
2850
+ version: string;
2851
+ lanes: {
2852
+ key: string;
2853
+ label: string;
2854
+ order: number;
2855
+ roleKey: string;
2856
+ }[];
2774
2857
  executionAuthority: "provider";
2775
2858
  providerRef: string;
2776
2859
  topology: {
2777
2860
  source: "provider";
2778
2861
  presentationAdapterRef: string;
2779
2862
  };
2780
- version: string;
2781
- title: string;
2782
2863
  projectTypes: {
2783
2864
  applicationKey: string;
2784
2865
  projectTypeKey: string;
@@ -2788,40 +2869,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2788
2869
  key: string;
2789
2870
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2790
2871
  }[];
2791
- lanes: {
2792
- key: string;
2793
- roleKey: string;
2794
- label: string;
2795
- order: number;
2796
- }[];
2797
2872
  stages: {
2798
2873
  key: string;
2799
2874
  label: string;
2800
2875
  order: number;
2801
2876
  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
2877
  }[];
2803
- actionRefs?: string[] | undefined;
2804
- hostRequirements?: {
2805
- protocol: number;
2806
- features: Record<string, number>;
2807
- } | undefined;
2808
2878
  presentation?: {
2809
2879
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2810
2880
  nodeDetailRef?: string | undefined;
2811
2881
  evidenceTypes?: string[] | undefined;
2812
2882
  } | undefined;
2883
+ actionRefs?: string[] | undefined;
2884
+ hostRequirements?: {
2885
+ protocol: number;
2886
+ features: Record<string, number>;
2887
+ } | undefined;
2813
2888
  metrics?: {
2814
2889
  dimensionRefs: string[];
2815
2890
  metricRefs: string[];
2816
2891
  } | undefined;
2817
2892
  } | {
2818
2893
  key: string;
2894
+ title: string;
2895
+ version: string;
2896
+ lanes: {
2897
+ key: string;
2898
+ label: string;
2899
+ order: number;
2900
+ roleKey: string;
2901
+ }[];
2819
2902
  executionAuthority: "platform";
2820
2903
  topology: {
2821
2904
  source: "definition";
2822
2905
  };
2823
- version: string;
2824
- title: string;
2825
2906
  projectTypes: {
2826
2907
  applicationKey: string;
2827
2908
  projectTypeKey: string;
@@ -2831,12 +2912,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2831
2912
  key: string;
2832
2913
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2833
2914
  }[];
2834
- lanes: {
2835
- key: string;
2836
- roleKey: string;
2837
- label: string;
2838
- order: number;
2839
- }[];
2840
2915
  stages: {
2841
2916
  key: string;
2842
2917
  label: string;
@@ -2844,14 +2919,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2844
2919
  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
2920
  }[];
2846
2921
  nodes: ({
2847
- key: string;
2848
2922
  kind: "work";
2923
+ key: string;
2849
2924
  laneKey: string;
2850
2925
  operationRef: string;
2851
2926
  executorSlot: string;
2852
2927
  completionRef: string;
2853
2928
  stageKey: string;
2854
2929
  label?: string | undefined;
2930
+ presentation?: {
2931
+ foldIntoApproval: string;
2932
+ } | undefined;
2855
2933
  resourceResolverRef?: string | undefined;
2856
2934
  outputSchemaRef?: string | undefined;
2857
2935
  inputBindings?: Record<string, {
@@ -2864,17 +2942,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2864
2942
  key: string;
2865
2943
  from: "parameter";
2866
2944
  } | {
2867
- from: "collection";
2868
2945
  items: {
2869
2946
  from: "node_output";
2870
2947
  nodeKey: string;
2871
2948
  port: string;
2872
2949
  }[];
2950
+ from: "collection";
2873
2951
  }> | undefined;
2874
2952
  outputPorts?: Record<string, string> | undefined;
2875
2953
  } | {
2876
- key: string;
2877
2954
  kind: "fork";
2955
+ key: string;
2878
2956
  stageKey: string;
2879
2957
  label?: string | undefined;
2880
2958
  inputBindings?: Record<string, {
@@ -2887,21 +2965,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2887
2965
  key: string;
2888
2966
  from: "parameter";
2889
2967
  } | {
2890
- from: "collection";
2891
2968
  items: {
2892
2969
  from: "node_output";
2893
2970
  nodeKey: string;
2894
2971
  port: string;
2895
2972
  }[];
2973
+ from: "collection";
2896
2974
  }> | undefined;
2897
2975
  outputPorts?: Record<string, string> | undefined;
2898
2976
  } | {
2977
+ kind: "join";
2978
+ key: string;
2899
2979
  join: {
2900
2980
  mode: "all_selected";
2901
2981
  accept: "completed";
2902
2982
  };
2903
- key: string;
2904
- kind: "join";
2905
2983
  stageKey: string;
2906
2984
  label?: string | undefined;
2907
2985
  inputBindings?: Record<string, {
@@ -2914,17 +2992,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2914
2992
  key: string;
2915
2993
  from: "parameter";
2916
2994
  } | {
2917
- from: "collection";
2918
2995
  items: {
2919
2996
  from: "node_output";
2920
2997
  nodeKey: string;
2921
2998
  port: string;
2922
2999
  }[];
3000
+ from: "collection";
2923
3001
  }> | undefined;
2924
3002
  outputPorts?: Record<string, string> | undefined;
2925
3003
  } | {
2926
- key: string;
2927
3004
  kind: "router";
3005
+ key: string;
2928
3006
  stageKey: string;
2929
3007
  policyRef: string;
2930
3008
  outcomes: string[];
@@ -2940,17 +3018,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2940
3018
  key: string;
2941
3019
  from: "parameter";
2942
3020
  } | {
2943
- from: "collection";
2944
3021
  items: {
2945
3022
  from: "node_output";
2946
3023
  nodeKey: string;
2947
3024
  port: string;
2948
3025
  }[];
3026
+ from: "collection";
2949
3027
  }> | undefined;
2950
3028
  outputPorts?: Record<string, string> | undefined;
2951
3029
  } | {
2952
- key: string;
2953
3030
  kind: "human_gate";
3031
+ key: string;
2954
3032
  laneKey: string;
2955
3033
  stageKey: string;
2956
3034
  policyRef: string;
@@ -2967,18 +3045,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2967
3045
  key: string;
2968
3046
  from: "parameter";
2969
3047
  } | {
2970
- from: "collection";
2971
3048
  items: {
2972
3049
  from: "node_output";
2973
3050
  nodeKey: string;
2974
3051
  port: string;
2975
3052
  }[];
3053
+ from: "collection";
2976
3054
  }> | undefined;
2977
3055
  outputPorts?: Record<string, string> | undefined;
2978
3056
  outcomeLabels?: Record<string, string> | undefined;
2979
3057
  } | {
2980
- key: string;
2981
3058
  kind: "external_wait";
3059
+ key: string;
2982
3060
  laneKey: string;
2983
3061
  stageKey: string;
2984
3062
  subscriptionRef: string;
@@ -2993,18 +3071,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
2993
3071
  key: string;
2994
3072
  from: "parameter";
2995
3073
  } | {
2996
- from: "collection";
2997
3074
  items: {
2998
3075
  from: "node_output";
2999
3076
  nodeKey: string;
3000
3077
  port: string;
3001
3078
  }[];
3079
+ from: "collection";
3002
3080
  }> | undefined;
3003
3081
  outputPorts?: Record<string, string> | undefined;
3004
3082
  } | {
3083
+ kind: "terminal";
3005
3084
  key: string;
3006
3085
  outcome: string;
3007
- kind: "terminal";
3008
3086
  stageKey: string;
3009
3087
  label?: string | undefined;
3010
3088
  inputBindings?: Record<string, {
@@ -3017,12 +3095,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3017
3095
  key: string;
3018
3096
  from: "parameter";
3019
3097
  } | {
3020
- from: "collection";
3021
3098
  items: {
3022
3099
  from: "node_output";
3023
3100
  nodeKey: string;
3024
3101
  port: string;
3025
3102
  }[];
3103
+ from: "collection";
3026
3104
  }> | undefined;
3027
3105
  outputPorts?: Record<string, string> | undefined;
3028
3106
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3044,21 +3122,30 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3044
3122
  requiredNodeFailure: "block_and_attention";
3045
3123
  unknownExecution: "inspect_without_replay";
3046
3124
  };
3047
- hostRequirements?: {
3048
- protocol: number;
3049
- features: Record<string, number>;
3050
- } | undefined;
3051
3125
  presentation?: {
3052
3126
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3053
3127
  nodeDetailRef?: string | undefined;
3054
3128
  evidenceTypes?: string[] | undefined;
3055
3129
  } | undefined;
3130
+ hostRequirements?: {
3131
+ protocol: number;
3132
+ features: Record<string, number>;
3133
+ } | undefined;
3056
3134
  metrics?: {
3057
3135
  dimensionRefs: string[];
3058
3136
  metricRefs: string[];
3059
3137
  } | undefined;
3060
3138
  };
3139
+ nativeModelBudgetPolicy?: {
3140
+ maximum: {
3141
+ maxCalls: number;
3142
+ maxTokens: number;
3143
+ reservationTokens: number;
3144
+ };
3145
+ maxTokensDefaultSource: "configuration" | "host";
3146
+ } | undefined;
3061
3147
  }>, {
3148
+ schemaVersion: 1;
3062
3149
  binding: {
3063
3150
  templateRef: string;
3064
3151
  roleBindings: Record<string, {
@@ -3068,8 +3155,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3068
3155
  }>;
3069
3156
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
3070
3157
  executorBindings?: Record<string, {
3071
- roleKey: string;
3072
3158
  kind: "assistant" | "runtime_binding" | "human" | "service";
3159
+ roleKey: string;
3073
3160
  selectionKey: string;
3074
3161
  requiredCapabilities?: string[] | undefined;
3075
3162
  workspaceId?: string | undefined;
@@ -3090,17 +3177,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3090
3177
  events: string[];
3091
3178
  }[] | undefined;
3092
3179
  };
3093
- schemaVersion: 1;
3094
3180
  template: {
3095
3181
  key: string;
3182
+ title: string;
3183
+ version: string;
3184
+ lanes: {
3185
+ key: string;
3186
+ label: string;
3187
+ order: number;
3188
+ roleKey: string;
3189
+ }[];
3096
3190
  executionAuthority: "provider";
3097
3191
  providerRef: string;
3098
3192
  topology: {
3099
3193
  source: "provider";
3100
3194
  presentationAdapterRef: string;
3101
3195
  };
3102
- version: string;
3103
- title: string;
3104
3196
  projectTypes: {
3105
3197
  applicationKey: string;
3106
3198
  projectTypeKey: string;
@@ -3110,40 +3202,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3110
3202
  key: string;
3111
3203
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3112
3204
  }[];
3113
- lanes: {
3114
- key: string;
3115
- roleKey: string;
3116
- label: string;
3117
- order: number;
3118
- }[];
3119
3205
  stages: {
3120
3206
  key: string;
3121
3207
  label: string;
3122
3208
  order: number;
3123
3209
  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
3210
  }[];
3125
- actionRefs?: string[] | undefined;
3126
- hostRequirements?: {
3127
- protocol: number;
3128
- features: Record<string, number>;
3129
- } | undefined;
3130
3211
  presentation?: {
3131
3212
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3132
3213
  nodeDetailRef?: string | undefined;
3133
3214
  evidenceTypes?: string[] | undefined;
3134
3215
  } | undefined;
3216
+ actionRefs?: string[] | undefined;
3217
+ hostRequirements?: {
3218
+ protocol: number;
3219
+ features: Record<string, number>;
3220
+ } | undefined;
3135
3221
  metrics?: {
3136
3222
  dimensionRefs: string[];
3137
3223
  metricRefs: string[];
3138
3224
  } | undefined;
3139
3225
  } | {
3140
3226
  key: string;
3227
+ title: string;
3228
+ version: string;
3229
+ lanes: {
3230
+ key: string;
3231
+ label: string;
3232
+ order: number;
3233
+ roleKey: string;
3234
+ }[];
3141
3235
  executionAuthority: "platform";
3142
3236
  topology: {
3143
3237
  source: "definition";
3144
3238
  };
3145
- version: string;
3146
- title: string;
3147
3239
  projectTypes: {
3148
3240
  applicationKey: string;
3149
3241
  projectTypeKey: string;
@@ -3153,12 +3245,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3153
3245
  key: string;
3154
3246
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3155
3247
  }[];
3156
- lanes: {
3157
- key: string;
3158
- roleKey: string;
3159
- label: string;
3160
- order: number;
3161
- }[];
3162
3248
  stages: {
3163
3249
  key: string;
3164
3250
  label: string;
@@ -3166,14 +3252,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3166
3252
  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
3253
  }[];
3168
3254
  nodes: ({
3169
- key: string;
3170
3255
  kind: "work";
3256
+ key: string;
3171
3257
  laneKey: string;
3172
3258
  operationRef: string;
3173
3259
  executorSlot: string;
3174
3260
  completionRef: string;
3175
3261
  stageKey: string;
3176
3262
  label?: string | undefined;
3263
+ presentation?: {
3264
+ foldIntoApproval: string;
3265
+ } | undefined;
3177
3266
  resourceResolverRef?: string | undefined;
3178
3267
  outputSchemaRef?: string | undefined;
3179
3268
  inputBindings?: Record<string, {
@@ -3186,17 +3275,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3186
3275
  key: string;
3187
3276
  from: "parameter";
3188
3277
  } | {
3189
- from: "collection";
3190
3278
  items: {
3191
3279
  from: "node_output";
3192
3280
  nodeKey: string;
3193
3281
  port: string;
3194
3282
  }[];
3283
+ from: "collection";
3195
3284
  }> | undefined;
3196
3285
  outputPorts?: Record<string, string> | undefined;
3197
3286
  } | {
3198
- key: string;
3199
3287
  kind: "fork";
3288
+ key: string;
3200
3289
  stageKey: string;
3201
3290
  label?: string | undefined;
3202
3291
  inputBindings?: Record<string, {
@@ -3209,21 +3298,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3209
3298
  key: string;
3210
3299
  from: "parameter";
3211
3300
  } | {
3212
- from: "collection";
3213
3301
  items: {
3214
3302
  from: "node_output";
3215
3303
  nodeKey: string;
3216
3304
  port: string;
3217
3305
  }[];
3306
+ from: "collection";
3218
3307
  }> | undefined;
3219
3308
  outputPorts?: Record<string, string> | undefined;
3220
3309
  } | {
3310
+ kind: "join";
3311
+ key: string;
3221
3312
  join: {
3222
3313
  mode: "all_selected";
3223
3314
  accept: "completed";
3224
3315
  };
3225
- key: string;
3226
- kind: "join";
3227
3316
  stageKey: string;
3228
3317
  label?: string | undefined;
3229
3318
  inputBindings?: Record<string, {
@@ -3236,17 +3325,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3236
3325
  key: string;
3237
3326
  from: "parameter";
3238
3327
  } | {
3239
- from: "collection";
3240
3328
  items: {
3241
3329
  from: "node_output";
3242
3330
  nodeKey: string;
3243
3331
  port: string;
3244
3332
  }[];
3333
+ from: "collection";
3245
3334
  }> | undefined;
3246
3335
  outputPorts?: Record<string, string> | undefined;
3247
3336
  } | {
3248
- key: string;
3249
3337
  kind: "router";
3338
+ key: string;
3250
3339
  stageKey: string;
3251
3340
  policyRef: string;
3252
3341
  outcomes: string[];
@@ -3262,17 +3351,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3262
3351
  key: string;
3263
3352
  from: "parameter";
3264
3353
  } | {
3265
- from: "collection";
3266
3354
  items: {
3267
3355
  from: "node_output";
3268
3356
  nodeKey: string;
3269
3357
  port: string;
3270
3358
  }[];
3359
+ from: "collection";
3271
3360
  }> | undefined;
3272
3361
  outputPorts?: Record<string, string> | undefined;
3273
3362
  } | {
3274
- key: string;
3275
3363
  kind: "human_gate";
3364
+ key: string;
3276
3365
  laneKey: string;
3277
3366
  stageKey: string;
3278
3367
  policyRef: string;
@@ -3289,18 +3378,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3289
3378
  key: string;
3290
3379
  from: "parameter";
3291
3380
  } | {
3292
- from: "collection";
3293
3381
  items: {
3294
3382
  from: "node_output";
3295
3383
  nodeKey: string;
3296
3384
  port: string;
3297
3385
  }[];
3386
+ from: "collection";
3298
3387
  }> | undefined;
3299
3388
  outputPorts?: Record<string, string> | undefined;
3300
3389
  outcomeLabels?: Record<string, string> | undefined;
3301
3390
  } | {
3302
- key: string;
3303
3391
  kind: "external_wait";
3392
+ key: string;
3304
3393
  laneKey: string;
3305
3394
  stageKey: string;
3306
3395
  subscriptionRef: string;
@@ -3315,18 +3404,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3315
3404
  key: string;
3316
3405
  from: "parameter";
3317
3406
  } | {
3318
- from: "collection";
3319
3407
  items: {
3320
3408
  from: "node_output";
3321
3409
  nodeKey: string;
3322
3410
  port: string;
3323
3411
  }[];
3412
+ from: "collection";
3324
3413
  }> | undefined;
3325
3414
  outputPorts?: Record<string, string> | undefined;
3326
3415
  } | {
3416
+ kind: "terminal";
3327
3417
  key: string;
3328
3418
  outcome: string;
3329
- kind: "terminal";
3330
3419
  stageKey: string;
3331
3420
  label?: string | undefined;
3332
3421
  inputBindings?: Record<string, {
@@ -3339,12 +3428,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3339
3428
  key: string;
3340
3429
  from: "parameter";
3341
3430
  } | {
3342
- from: "collection";
3343
3431
  items: {
3344
3432
  from: "node_output";
3345
3433
  nodeKey: string;
3346
3434
  port: string;
3347
3435
  }[];
3436
+ from: "collection";
3348
3437
  }> | undefined;
3349
3438
  outputPorts?: Record<string, string> | undefined;
3350
3439
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3366,21 +3455,30 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3366
3455
  requiredNodeFailure: "block_and_attention";
3367
3456
  unknownExecution: "inspect_without_replay";
3368
3457
  };
3369
- hostRequirements?: {
3370
- protocol: number;
3371
- features: Record<string, number>;
3372
- } | undefined;
3373
3458
  presentation?: {
3374
3459
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3375
3460
  nodeDetailRef?: string | undefined;
3376
3461
  evidenceTypes?: string[] | undefined;
3377
3462
  } | undefined;
3463
+ hostRequirements?: {
3464
+ protocol: number;
3465
+ features: Record<string, number>;
3466
+ } | undefined;
3378
3467
  metrics?: {
3379
3468
  dimensionRefs: string[];
3380
3469
  metricRefs: string[];
3381
3470
  } | undefined;
3382
3471
  };
3472
+ nativeModelBudgetPolicy?: {
3473
+ maximum: {
3474
+ maxCalls: number;
3475
+ maxTokens: number;
3476
+ reservationTokens: number;
3477
+ };
3478
+ maxTokensDefaultSource: "configuration" | "host";
3479
+ } | undefined;
3383
3480
  }, {
3481
+ schemaVersion: 1;
3384
3482
  binding: {
3385
3483
  templateRef: string;
3386
3484
  roleBindings: Record<string, {
@@ -3390,8 +3488,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3390
3488
  }>;
3391
3489
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
3392
3490
  executorBindings?: Record<string, {
3393
- roleKey: string;
3394
3491
  kind: "assistant" | "runtime_binding" | "human" | "service";
3492
+ roleKey: string;
3395
3493
  selectionKey: string;
3396
3494
  requiredCapabilities?: string[] | undefined;
3397
3495
  workspaceId?: string | undefined;
@@ -3412,17 +3510,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3412
3510
  events: string[];
3413
3511
  }[] | undefined;
3414
3512
  };
3415
- schemaVersion: 1;
3416
3513
  template: {
3417
3514
  key: string;
3515
+ title: string;
3516
+ version: string;
3517
+ lanes: {
3518
+ key: string;
3519
+ label: string;
3520
+ order: number;
3521
+ roleKey: string;
3522
+ }[];
3418
3523
  executionAuthority: "provider";
3419
3524
  providerRef: string;
3420
3525
  topology: {
3421
3526
  source: "provider";
3422
3527
  presentationAdapterRef: string;
3423
3528
  };
3424
- version: string;
3425
- title: string;
3426
3529
  projectTypes: {
3427
3530
  applicationKey: string;
3428
3531
  projectTypeKey: string;
@@ -3432,40 +3535,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3432
3535
  key: string;
3433
3536
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3434
3537
  }[];
3435
- lanes: {
3436
- key: string;
3437
- roleKey: string;
3438
- label: string;
3439
- order: number;
3440
- }[];
3441
3538
  stages: {
3442
3539
  key: string;
3443
3540
  label: string;
3444
3541
  order: number;
3445
3542
  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
3543
  }[];
3447
- actionRefs?: string[] | undefined;
3448
- hostRequirements?: {
3449
- protocol: number;
3450
- features: Record<string, number>;
3451
- } | undefined;
3452
3544
  presentation?: {
3453
3545
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3454
3546
  nodeDetailRef?: string | undefined;
3455
3547
  evidenceTypes?: string[] | undefined;
3456
3548
  } | undefined;
3549
+ actionRefs?: string[] | undefined;
3550
+ hostRequirements?: {
3551
+ protocol: number;
3552
+ features: Record<string, number>;
3553
+ } | undefined;
3457
3554
  metrics?: {
3458
3555
  dimensionRefs: string[];
3459
3556
  metricRefs: string[];
3460
3557
  } | undefined;
3461
3558
  } | {
3462
3559
  key: string;
3560
+ title: string;
3561
+ version: string;
3562
+ lanes: {
3563
+ key: string;
3564
+ label: string;
3565
+ order: number;
3566
+ roleKey: string;
3567
+ }[];
3463
3568
  executionAuthority: "platform";
3464
3569
  topology: {
3465
3570
  source: "definition";
3466
3571
  };
3467
- version: string;
3468
- title: string;
3469
3572
  projectTypes: {
3470
3573
  applicationKey: string;
3471
3574
  projectTypeKey: string;
@@ -3475,12 +3578,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3475
3578
  key: string;
3476
3579
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3477
3580
  }[];
3478
- lanes: {
3479
- key: string;
3480
- roleKey: string;
3481
- label: string;
3482
- order: number;
3483
- }[];
3484
3581
  stages: {
3485
3582
  key: string;
3486
3583
  label: string;
@@ -3488,14 +3585,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3488
3585
  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
3586
  }[];
3490
3587
  nodes: ({
3491
- key: string;
3492
3588
  kind: "work";
3589
+ key: string;
3493
3590
  laneKey: string;
3494
3591
  operationRef: string;
3495
3592
  executorSlot: string;
3496
3593
  completionRef: string;
3497
3594
  stageKey: string;
3498
3595
  label?: string | undefined;
3596
+ presentation?: {
3597
+ foldIntoApproval: string;
3598
+ } | undefined;
3499
3599
  resourceResolverRef?: string | undefined;
3500
3600
  outputSchemaRef?: string | undefined;
3501
3601
  inputBindings?: Record<string, {
@@ -3508,17 +3608,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3508
3608
  key: string;
3509
3609
  from: "parameter";
3510
3610
  } | {
3511
- from: "collection";
3512
3611
  items: {
3513
3612
  from: "node_output";
3514
3613
  nodeKey: string;
3515
3614
  port: string;
3516
3615
  }[];
3616
+ from: "collection";
3517
3617
  }> | undefined;
3518
3618
  outputPorts?: Record<string, string> | undefined;
3519
3619
  } | {
3520
- key: string;
3521
3620
  kind: "fork";
3621
+ key: string;
3522
3622
  stageKey: string;
3523
3623
  label?: string | undefined;
3524
3624
  inputBindings?: Record<string, {
@@ -3531,21 +3631,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3531
3631
  key: string;
3532
3632
  from: "parameter";
3533
3633
  } | {
3534
- from: "collection";
3535
3634
  items: {
3536
3635
  from: "node_output";
3537
3636
  nodeKey: string;
3538
3637
  port: string;
3539
3638
  }[];
3639
+ from: "collection";
3540
3640
  }> | undefined;
3541
3641
  outputPorts?: Record<string, string> | undefined;
3542
3642
  } | {
3643
+ kind: "join";
3644
+ key: string;
3543
3645
  join: {
3544
3646
  mode: "all_selected";
3545
3647
  accept: "completed";
3546
3648
  };
3547
- key: string;
3548
- kind: "join";
3549
3649
  stageKey: string;
3550
3650
  label?: string | undefined;
3551
3651
  inputBindings?: Record<string, {
@@ -3558,17 +3658,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3558
3658
  key: string;
3559
3659
  from: "parameter";
3560
3660
  } | {
3561
- from: "collection";
3562
3661
  items: {
3563
3662
  from: "node_output";
3564
3663
  nodeKey: string;
3565
3664
  port: string;
3566
3665
  }[];
3666
+ from: "collection";
3567
3667
  }> | undefined;
3568
3668
  outputPorts?: Record<string, string> | undefined;
3569
3669
  } | {
3570
- key: string;
3571
3670
  kind: "router";
3671
+ key: string;
3572
3672
  stageKey: string;
3573
3673
  policyRef: string;
3574
3674
  outcomes: string[];
@@ -3584,17 +3684,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3584
3684
  key: string;
3585
3685
  from: "parameter";
3586
3686
  } | {
3587
- from: "collection";
3588
3687
  items: {
3589
3688
  from: "node_output";
3590
3689
  nodeKey: string;
3591
3690
  port: string;
3592
3691
  }[];
3692
+ from: "collection";
3593
3693
  }> | undefined;
3594
3694
  outputPorts?: Record<string, string> | undefined;
3595
3695
  } | {
3596
- key: string;
3597
3696
  kind: "human_gate";
3697
+ key: string;
3598
3698
  laneKey: string;
3599
3699
  stageKey: string;
3600
3700
  policyRef: string;
@@ -3611,18 +3711,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3611
3711
  key: string;
3612
3712
  from: "parameter";
3613
3713
  } | {
3614
- from: "collection";
3615
3714
  items: {
3616
3715
  from: "node_output";
3617
3716
  nodeKey: string;
3618
3717
  port: string;
3619
3718
  }[];
3719
+ from: "collection";
3620
3720
  }> | undefined;
3621
3721
  outputPorts?: Record<string, string> | undefined;
3622
3722
  outcomeLabels?: Record<string, string> | undefined;
3623
3723
  } | {
3624
- key: string;
3625
3724
  kind: "external_wait";
3725
+ key: string;
3626
3726
  laneKey: string;
3627
3727
  stageKey: string;
3628
3728
  subscriptionRef: string;
@@ -3637,18 +3737,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3637
3737
  key: string;
3638
3738
  from: "parameter";
3639
3739
  } | {
3640
- from: "collection";
3641
3740
  items: {
3642
3741
  from: "node_output";
3643
3742
  nodeKey: string;
3644
3743
  port: string;
3645
3744
  }[];
3745
+ from: "collection";
3646
3746
  }> | undefined;
3647
3747
  outputPorts?: Record<string, string> | undefined;
3648
3748
  } | {
3749
+ kind: "terminal";
3649
3750
  key: string;
3650
3751
  outcome: string;
3651
- kind: "terminal";
3652
3752
  stageKey: string;
3653
3753
  label?: string | undefined;
3654
3754
  inputBindings?: Record<string, {
@@ -3661,12 +3761,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3661
3761
  key: string;
3662
3762
  from: "parameter";
3663
3763
  } | {
3664
- from: "collection";
3665
3764
  items: {
3666
3765
  from: "node_output";
3667
3766
  nodeKey: string;
3668
3767
  port: string;
3669
3768
  }[];
3769
+ from: "collection";
3670
3770
  }> | undefined;
3671
3771
  outputPorts?: Record<string, string> | undefined;
3672
3772
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3688,20 +3788,28 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
3688
3788
  requiredNodeFailure: "block_and_attention";
3689
3789
  unknownExecution: "inspect_without_replay";
3690
3790
  };
3691
- hostRequirements?: {
3692
- protocol: number;
3693
- features: Record<string, number>;
3694
- } | undefined;
3695
3791
  presentation?: {
3696
3792
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3697
3793
  nodeDetailRef?: string | undefined;
3698
3794
  evidenceTypes?: string[] | undefined;
3699
3795
  } | undefined;
3796
+ hostRequirements?: {
3797
+ protocol: number;
3798
+ features: Record<string, number>;
3799
+ } | undefined;
3700
3800
  metrics?: {
3701
3801
  dimensionRefs: string[];
3702
3802
  metricRefs: string[];
3703
3803
  } | undefined;
3704
3804
  };
3805
+ nativeModelBudgetPolicy?: {
3806
+ maximum: {
3807
+ maxCalls: number;
3808
+ maxTokens: number;
3809
+ reservationTokens: number;
3810
+ };
3811
+ maxTokensDefaultSource: "configuration" | "host";
3812
+ } | undefined;
3705
3813
  }>, "many">;
3706
3814
  descriptors: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3707
3815
  kind: z.ZodLiteral<"schema">;
@@ -4006,8 +4114,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4006
4114
  zh_Hans?: string | undefined;
4007
4115
  }>>;
4008
4116
  }, "strict", z.ZodTypeAny, {
4009
- type: "boolean";
4010
4117
  key: string;
4118
+ type: "boolean";
4011
4119
  label: {
4012
4120
  en_US: string;
4013
4121
  zh_Hans?: string | undefined;
@@ -4017,8 +4125,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4017
4125
  zh_Hans?: string | undefined;
4018
4126
  } | undefined;
4019
4127
  }, {
4020
- type: "boolean";
4021
4128
  key: string;
4129
+ type: "boolean";
4022
4130
  label: {
4023
4131
  en_US: string;
4024
4132
  zh_Hans?: string | undefined;
@@ -4053,8 +4161,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4053
4161
  zh_Hans?: string | undefined;
4054
4162
  }>>;
4055
4163
  }, "strict", z.ZodTypeAny, {
4056
- type: "text";
4057
4164
  key: string;
4165
+ type: "text";
4058
4166
  label: {
4059
4167
  en_US: string;
4060
4168
  zh_Hans?: string | undefined;
@@ -4066,8 +4174,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4066
4174
  zh_Hans?: string | undefined;
4067
4175
  } | undefined;
4068
4176
  }, {
4069
- type: "text";
4070
4177
  key: string;
4178
+ type: "text";
4071
4179
  label: {
4072
4180
  en_US: string;
4073
4181
  zh_Hans?: string | undefined;
@@ -4105,9 +4213,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4105
4213
  zh_Hans?: string | undefined;
4106
4214
  }>>;
4107
4215
  }, "strict", z.ZodTypeAny, {
4216
+ key: string;
4108
4217
  type: "number";
4109
4218
  integer: boolean;
4110
- key: string;
4111
4219
  label: {
4112
4220
  en_US: string;
4113
4221
  zh_Hans?: string | undefined;
@@ -4119,9 +4227,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4119
4227
  zh_Hans?: string | undefined;
4120
4228
  } | undefined;
4121
4229
  }, {
4230
+ key: string;
4122
4231
  type: "number";
4123
4232
  integer: boolean;
4124
- key: string;
4125
4233
  label: {
4126
4234
  en_US: string;
4127
4235
  zh_Hans?: string | undefined;
@@ -4181,6 +4289,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4181
4289
  zh_Hans?: string | undefined;
4182
4290
  }>>;
4183
4291
  }, "strict", z.ZodTypeAny, {
4292
+ key: string;
4184
4293
  options: {
4185
4294
  value: string;
4186
4295
  label: {
@@ -4189,7 +4298,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4189
4298
  };
4190
4299
  }[];
4191
4300
  type: "choice";
4192
- key: string;
4193
4301
  label: {
4194
4302
  en_US: string;
4195
4303
  zh_Hans?: string | undefined;
@@ -4199,6 +4307,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4199
4307
  zh_Hans?: string | undefined;
4200
4308
  } | undefined;
4201
4309
  }, {
4310
+ key: string;
4202
4311
  options: {
4203
4312
  value: string;
4204
4313
  label: {
@@ -4207,7 +4316,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4207
4316
  };
4208
4317
  }[];
4209
4318
  type: "choice";
4210
- key: string;
4211
4319
  label: {
4212
4320
  en_US: string;
4213
4321
  zh_Hans?: string | undefined;
@@ -4266,6 +4374,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4266
4374
  zh_Hans?: string | undefined;
4267
4375
  }>>;
4268
4376
  }, "strict", z.ZodTypeAny, {
4377
+ key: string;
4269
4378
  options: {
4270
4379
  value: string;
4271
4380
  label: {
@@ -4274,7 +4383,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4274
4383
  };
4275
4384
  }[];
4276
4385
  type: "multi_choice";
4277
- key: string;
4278
4386
  label: {
4279
4387
  en_US: string;
4280
4388
  zh_Hans?: string | undefined;
@@ -4285,6 +4393,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4285
4393
  zh_Hans?: string | undefined;
4286
4394
  } | undefined;
4287
4395
  }, {
4396
+ key: string;
4288
4397
  options: {
4289
4398
  value: string;
4290
4399
  label: {
@@ -4293,7 +4402,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4293
4402
  };
4294
4403
  }[];
4295
4404
  type: "multi_choice";
4296
- key: string;
4297
4405
  label: {
4298
4406
  en_US: string;
4299
4407
  zh_Hans?: string | undefined;
@@ -4329,8 +4437,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4329
4437
  zh_Hans?: string | undefined;
4330
4438
  }>>;
4331
4439
  }, "strict", z.ZodTypeAny, {
4332
- type: "string_list";
4333
4440
  key: string;
4441
+ type: "string_list";
4334
4442
  label: {
4335
4443
  en_US: string;
4336
4444
  zh_Hans?: string | undefined;
@@ -4342,8 +4450,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4342
4450
  zh_Hans?: string | undefined;
4343
4451
  } | undefined;
4344
4452
  }, {
4345
- type: "string_list";
4346
4453
  key: string;
4454
+ type: "string_list";
4347
4455
  label: {
4348
4456
  en_US: string;
4349
4457
  zh_Hans?: string | undefined;
@@ -4358,8 +4466,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4358
4466
  }, "strict", z.ZodTypeAny, {
4359
4467
  templateRef: string;
4360
4468
  parameters: ({
4361
- type: "boolean";
4362
4469
  key: string;
4470
+ type: "boolean";
4363
4471
  label: {
4364
4472
  en_US: string;
4365
4473
  zh_Hans?: string | undefined;
@@ -4369,8 +4477,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4369
4477
  zh_Hans?: string | undefined;
4370
4478
  } | undefined;
4371
4479
  } | {
4372
- type: "text";
4373
4480
  key: string;
4481
+ type: "text";
4374
4482
  label: {
4375
4483
  en_US: string;
4376
4484
  zh_Hans?: string | undefined;
@@ -4382,9 +4490,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4382
4490
  zh_Hans?: string | undefined;
4383
4491
  } | undefined;
4384
4492
  } | {
4493
+ key: string;
4385
4494
  type: "number";
4386
4495
  integer: boolean;
4387
- key: string;
4388
4496
  label: {
4389
4497
  en_US: string;
4390
4498
  zh_Hans?: string | undefined;
@@ -4396,6 +4504,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4396
4504
  zh_Hans?: string | undefined;
4397
4505
  } | undefined;
4398
4506
  } | {
4507
+ key: string;
4399
4508
  options: {
4400
4509
  value: string;
4401
4510
  label: {
@@ -4404,7 +4513,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4404
4513
  };
4405
4514
  }[];
4406
4515
  type: "choice";
4407
- key: string;
4408
4516
  label: {
4409
4517
  en_US: string;
4410
4518
  zh_Hans?: string | undefined;
@@ -4414,6 +4522,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4414
4522
  zh_Hans?: string | undefined;
4415
4523
  } | undefined;
4416
4524
  } | {
4525
+ key: string;
4417
4526
  options: {
4418
4527
  value: string;
4419
4528
  label: {
@@ -4422,7 +4531,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4422
4531
  };
4423
4532
  }[];
4424
4533
  type: "multi_choice";
4425
- key: string;
4426
4534
  label: {
4427
4535
  en_US: string;
4428
4536
  zh_Hans?: string | undefined;
@@ -4433,8 +4541,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4433
4541
  zh_Hans?: string | undefined;
4434
4542
  } | undefined;
4435
4543
  } | {
4436
- type: "string_list";
4437
4544
  key: string;
4545
+ type: "string_list";
4438
4546
  label: {
4439
4547
  en_US: string;
4440
4548
  zh_Hans?: string | undefined;
@@ -4480,8 +4588,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4480
4588
  }, {
4481
4589
  templateRef: string;
4482
4590
  parameters: ({
4483
- type: "boolean";
4484
4591
  key: string;
4592
+ type: "boolean";
4485
4593
  label: {
4486
4594
  en_US: string;
4487
4595
  zh_Hans?: string | undefined;
@@ -4491,8 +4599,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4491
4599
  zh_Hans?: string | undefined;
4492
4600
  } | undefined;
4493
4601
  } | {
4494
- type: "text";
4495
4602
  key: string;
4603
+ type: "text";
4496
4604
  label: {
4497
4605
  en_US: string;
4498
4606
  zh_Hans?: string | undefined;
@@ -4504,9 +4612,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4504
4612
  zh_Hans?: string | undefined;
4505
4613
  } | undefined;
4506
4614
  } | {
4615
+ key: string;
4507
4616
  type: "number";
4508
4617
  integer: boolean;
4509
- key: string;
4510
4618
  label: {
4511
4619
  en_US: string;
4512
4620
  zh_Hans?: string | undefined;
@@ -4518,6 +4626,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4518
4626
  zh_Hans?: string | undefined;
4519
4627
  } | undefined;
4520
4628
  } | {
4629
+ key: string;
4521
4630
  options: {
4522
4631
  value: string;
4523
4632
  label: {
@@ -4526,7 +4635,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4526
4635
  };
4527
4636
  }[];
4528
4637
  type: "choice";
4529
- key: string;
4530
4638
  label: {
4531
4639
  en_US: string;
4532
4640
  zh_Hans?: string | undefined;
@@ -4536,6 +4644,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4536
4644
  zh_Hans?: string | undefined;
4537
4645
  } | undefined;
4538
4646
  } | {
4647
+ key: string;
4539
4648
  options: {
4540
4649
  value: string;
4541
4650
  label: {
@@ -4544,7 +4653,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4544
4653
  };
4545
4654
  }[];
4546
4655
  type: "multi_choice";
4547
- key: string;
4548
4656
  label: {
4549
4657
  en_US: string;
4550
4658
  zh_Hans?: string | undefined;
@@ -4555,8 +4663,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4555
4663
  } | undefined;
4556
4664
  minItems?: number | undefined;
4557
4665
  } | {
4558
- type: "string_list";
4559
4666
  key: string;
4667
+ type: "string_list";
4560
4668
  label: {
4561
4669
  en_US: string;
4562
4670
  zh_Hans?: string | undefined;
@@ -4602,8 +4710,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4602
4710
  }>, {
4603
4711
  templateRef: string;
4604
4712
  parameters: ({
4605
- type: "boolean";
4606
4713
  key: string;
4714
+ type: "boolean";
4607
4715
  label: {
4608
4716
  en_US: string;
4609
4717
  zh_Hans?: string | undefined;
@@ -4613,8 +4721,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4613
4721
  zh_Hans?: string | undefined;
4614
4722
  } | undefined;
4615
4723
  } | {
4616
- type: "text";
4617
4724
  key: string;
4725
+ type: "text";
4618
4726
  label: {
4619
4727
  en_US: string;
4620
4728
  zh_Hans?: string | undefined;
@@ -4626,9 +4734,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4626
4734
  zh_Hans?: string | undefined;
4627
4735
  } | undefined;
4628
4736
  } | {
4737
+ key: string;
4629
4738
  type: "number";
4630
4739
  integer: boolean;
4631
- key: string;
4632
4740
  label: {
4633
4741
  en_US: string;
4634
4742
  zh_Hans?: string | undefined;
@@ -4640,6 +4748,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4640
4748
  zh_Hans?: string | undefined;
4641
4749
  } | undefined;
4642
4750
  } | {
4751
+ key: string;
4643
4752
  options: {
4644
4753
  value: string;
4645
4754
  label: {
@@ -4648,7 +4757,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4648
4757
  };
4649
4758
  }[];
4650
4759
  type: "choice";
4651
- key: string;
4652
4760
  label: {
4653
4761
  en_US: string;
4654
4762
  zh_Hans?: string | undefined;
@@ -4658,6 +4766,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4658
4766
  zh_Hans?: string | undefined;
4659
4767
  } | undefined;
4660
4768
  } | {
4769
+ key: string;
4661
4770
  options: {
4662
4771
  value: string;
4663
4772
  label: {
@@ -4666,7 +4775,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4666
4775
  };
4667
4776
  }[];
4668
4777
  type: "multi_choice";
4669
- key: string;
4670
4778
  label: {
4671
4779
  en_US: string;
4672
4780
  zh_Hans?: string | undefined;
@@ -4677,8 +4785,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4677
4785
  zh_Hans?: string | undefined;
4678
4786
  } | undefined;
4679
4787
  } | {
4680
- type: "string_list";
4681
4788
  key: string;
4789
+ type: "string_list";
4682
4790
  label: {
4683
4791
  en_US: string;
4684
4792
  zh_Hans?: string | undefined;
@@ -4724,8 +4832,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4724
4832
  }, {
4725
4833
  templateRef: string;
4726
4834
  parameters: ({
4727
- type: "boolean";
4728
4835
  key: string;
4836
+ type: "boolean";
4729
4837
  label: {
4730
4838
  en_US: string;
4731
4839
  zh_Hans?: string | undefined;
@@ -4735,8 +4843,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4735
4843
  zh_Hans?: string | undefined;
4736
4844
  } | undefined;
4737
4845
  } | {
4738
- type: "text";
4739
4846
  key: string;
4847
+ type: "text";
4740
4848
  label: {
4741
4849
  en_US: string;
4742
4850
  zh_Hans?: string | undefined;
@@ -4748,9 +4856,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4748
4856
  zh_Hans?: string | undefined;
4749
4857
  } | undefined;
4750
4858
  } | {
4859
+ key: string;
4751
4860
  type: "number";
4752
4861
  integer: boolean;
4753
- key: string;
4754
4862
  label: {
4755
4863
  en_US: string;
4756
4864
  zh_Hans?: string | undefined;
@@ -4762,6 +4870,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4762
4870
  zh_Hans?: string | undefined;
4763
4871
  } | undefined;
4764
4872
  } | {
4873
+ key: string;
4765
4874
  options: {
4766
4875
  value: string;
4767
4876
  label: {
@@ -4770,7 +4879,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4770
4879
  };
4771
4880
  }[];
4772
4881
  type: "choice";
4773
- key: string;
4774
4882
  label: {
4775
4883
  en_US: string;
4776
4884
  zh_Hans?: string | undefined;
@@ -4780,6 +4888,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4780
4888
  zh_Hans?: string | undefined;
4781
4889
  } | undefined;
4782
4890
  } | {
4891
+ key: string;
4783
4892
  options: {
4784
4893
  value: string;
4785
4894
  label: {
@@ -4788,7 +4897,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4788
4897
  };
4789
4898
  }[];
4790
4899
  type: "multi_choice";
4791
- key: string;
4792
4900
  label: {
4793
4901
  en_US: string;
4794
4902
  zh_Hans?: string | undefined;
@@ -4799,8 +4907,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4799
4907
  } | undefined;
4800
4908
  minItems?: number | undefined;
4801
4909
  } | {
4802
- type: "string_list";
4803
4910
  key: string;
4911
+ type: "string_list";
4804
4912
  label: {
4805
4913
  en_US: string;
4806
4914
  zh_Hans?: string | undefined;
@@ -4847,6 +4955,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4847
4955
  }, "strict", z.ZodTypeAny, {
4848
4956
  key: string;
4849
4957
  configurations: {
4958
+ schemaVersion: 1;
4850
4959
  binding: {
4851
4960
  templateRef: string;
4852
4961
  roleBindings: Record<string, {
@@ -4856,8 +4965,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4856
4965
  }>;
4857
4966
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
4858
4967
  executorBindings?: Record<string, {
4859
- roleKey: string;
4860
4968
  kind: "assistant" | "runtime_binding" | "human" | "service";
4969
+ roleKey: string;
4861
4970
  selectionKey: string;
4862
4971
  requiredCapabilities?: string[] | undefined;
4863
4972
  workspaceId?: string | undefined;
@@ -4878,17 +4987,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4878
4987
  events: string[];
4879
4988
  }[] | undefined;
4880
4989
  };
4881
- schemaVersion: 1;
4882
4990
  template: {
4883
4991
  key: string;
4992
+ title: string;
4993
+ version: string;
4994
+ lanes: {
4995
+ key: string;
4996
+ label: string;
4997
+ order: number;
4998
+ roleKey: string;
4999
+ }[];
4884
5000
  executionAuthority: "provider";
4885
5001
  providerRef: string;
4886
5002
  topology: {
4887
5003
  source: "provider";
4888
5004
  presentationAdapterRef: string;
4889
5005
  };
4890
- version: string;
4891
- title: string;
4892
5006
  projectTypes: {
4893
5007
  applicationKey: string;
4894
5008
  projectTypeKey: string;
@@ -4898,40 +5012,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4898
5012
  key: string;
4899
5013
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4900
5014
  }[];
4901
- lanes: {
4902
- key: string;
4903
- roleKey: string;
4904
- label: string;
4905
- order: number;
4906
- }[];
4907
5015
  stages: {
4908
5016
  key: string;
4909
5017
  label: string;
4910
5018
  order: number;
4911
5019
  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
5020
  }[];
4913
- actionRefs?: string[] | undefined;
4914
- hostRequirements?: {
4915
- protocol: number;
4916
- features: Record<string, number>;
4917
- } | undefined;
4918
5021
  presentation?: {
4919
5022
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4920
5023
  nodeDetailRef?: string | undefined;
4921
5024
  evidenceTypes?: string[] | undefined;
4922
5025
  } | undefined;
5026
+ actionRefs?: string[] | undefined;
5027
+ hostRequirements?: {
5028
+ protocol: number;
5029
+ features: Record<string, number>;
5030
+ } | undefined;
4923
5031
  metrics?: {
4924
5032
  dimensionRefs: string[];
4925
5033
  metricRefs: string[];
4926
5034
  } | undefined;
4927
5035
  } | {
4928
5036
  key: string;
5037
+ title: string;
5038
+ version: string;
5039
+ lanes: {
5040
+ key: string;
5041
+ label: string;
5042
+ order: number;
5043
+ roleKey: string;
5044
+ }[];
4929
5045
  executionAuthority: "platform";
4930
5046
  topology: {
4931
5047
  source: "definition";
4932
5048
  };
4933
- version: string;
4934
- title: string;
4935
5049
  projectTypes: {
4936
5050
  applicationKey: string;
4937
5051
  projectTypeKey: string;
@@ -4941,12 +5055,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4941
5055
  key: string;
4942
5056
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4943
5057
  }[];
4944
- lanes: {
4945
- key: string;
4946
- roleKey: string;
4947
- label: string;
4948
- order: number;
4949
- }[];
4950
5058
  stages: {
4951
5059
  key: string;
4952
5060
  label: string;
@@ -4954,14 +5062,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4954
5062
  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
5063
  }[];
4956
5064
  nodes: ({
4957
- key: string;
4958
5065
  kind: "work";
5066
+ key: string;
4959
5067
  laneKey: string;
4960
5068
  operationRef: string;
4961
5069
  executorSlot: string;
4962
5070
  completionRef: string;
4963
5071
  stageKey: string;
4964
5072
  label?: string | undefined;
5073
+ presentation?: {
5074
+ foldIntoApproval: string;
5075
+ } | undefined;
4965
5076
  resourceResolverRef?: string | undefined;
4966
5077
  outputSchemaRef?: string | undefined;
4967
5078
  inputBindings?: Record<string, {
@@ -4974,17 +5085,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4974
5085
  key: string;
4975
5086
  from: "parameter";
4976
5087
  } | {
4977
- from: "collection";
4978
5088
  items: {
4979
5089
  from: "node_output";
4980
5090
  nodeKey: string;
4981
5091
  port: string;
4982
5092
  }[];
5093
+ from: "collection";
4983
5094
  }> | undefined;
4984
5095
  outputPorts?: Record<string, string> | undefined;
4985
5096
  } | {
4986
- key: string;
4987
5097
  kind: "fork";
5098
+ key: string;
4988
5099
  stageKey: string;
4989
5100
  label?: string | undefined;
4990
5101
  inputBindings?: Record<string, {
@@ -4997,21 +5108,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
4997
5108
  key: string;
4998
5109
  from: "parameter";
4999
5110
  } | {
5000
- from: "collection";
5001
5111
  items: {
5002
5112
  from: "node_output";
5003
5113
  nodeKey: string;
5004
5114
  port: string;
5005
5115
  }[];
5116
+ from: "collection";
5006
5117
  }> | undefined;
5007
5118
  outputPorts?: Record<string, string> | undefined;
5008
5119
  } | {
5120
+ kind: "join";
5121
+ key: string;
5009
5122
  join: {
5010
5123
  mode: "all_selected";
5011
5124
  accept: "completed";
5012
5125
  };
5013
- key: string;
5014
- kind: "join";
5015
5126
  stageKey: string;
5016
5127
  label?: string | undefined;
5017
5128
  inputBindings?: Record<string, {
@@ -5024,17 +5135,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5024
5135
  key: string;
5025
5136
  from: "parameter";
5026
5137
  } | {
5027
- from: "collection";
5028
5138
  items: {
5029
5139
  from: "node_output";
5030
5140
  nodeKey: string;
5031
5141
  port: string;
5032
5142
  }[];
5143
+ from: "collection";
5033
5144
  }> | undefined;
5034
5145
  outputPorts?: Record<string, string> | undefined;
5035
5146
  } | {
5036
- key: string;
5037
5147
  kind: "router";
5148
+ key: string;
5038
5149
  stageKey: string;
5039
5150
  policyRef: string;
5040
5151
  outcomes: string[];
@@ -5050,17 +5161,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5050
5161
  key: string;
5051
5162
  from: "parameter";
5052
5163
  } | {
5053
- from: "collection";
5054
5164
  items: {
5055
5165
  from: "node_output";
5056
5166
  nodeKey: string;
5057
5167
  port: string;
5058
5168
  }[];
5169
+ from: "collection";
5059
5170
  }> | undefined;
5060
5171
  outputPorts?: Record<string, string> | undefined;
5061
5172
  } | {
5062
- key: string;
5063
5173
  kind: "human_gate";
5174
+ key: string;
5064
5175
  laneKey: string;
5065
5176
  stageKey: string;
5066
5177
  policyRef: string;
@@ -5077,18 +5188,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5077
5188
  key: string;
5078
5189
  from: "parameter";
5079
5190
  } | {
5080
- from: "collection";
5081
5191
  items: {
5082
5192
  from: "node_output";
5083
5193
  nodeKey: string;
5084
5194
  port: string;
5085
5195
  }[];
5196
+ from: "collection";
5086
5197
  }> | undefined;
5087
5198
  outputPorts?: Record<string, string> | undefined;
5088
5199
  outcomeLabels?: Record<string, string> | undefined;
5089
5200
  } | {
5090
- key: string;
5091
5201
  kind: "external_wait";
5202
+ key: string;
5092
5203
  laneKey: string;
5093
5204
  stageKey: string;
5094
5205
  subscriptionRef: string;
@@ -5103,18 +5214,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5103
5214
  key: string;
5104
5215
  from: "parameter";
5105
5216
  } | {
5106
- from: "collection";
5107
5217
  items: {
5108
5218
  from: "node_output";
5109
5219
  nodeKey: string;
5110
5220
  port: string;
5111
5221
  }[];
5222
+ from: "collection";
5112
5223
  }> | undefined;
5113
5224
  outputPorts?: Record<string, string> | undefined;
5114
5225
  } | {
5226
+ kind: "terminal";
5115
5227
  key: string;
5116
5228
  outcome: string;
5117
- kind: "terminal";
5118
5229
  stageKey: string;
5119
5230
  label?: string | undefined;
5120
5231
  inputBindings?: Record<string, {
@@ -5127,12 +5238,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5127
5238
  key: string;
5128
5239
  from: "parameter";
5129
5240
  } | {
5130
- from: "collection";
5131
5241
  items: {
5132
5242
  from: "node_output";
5133
5243
  nodeKey: string;
5134
5244
  port: string;
5135
5245
  }[];
5246
+ from: "collection";
5136
5247
  }> | undefined;
5137
5248
  outputPorts?: Record<string, string> | undefined;
5138
5249
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -5154,20 +5265,28 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5154
5265
  requiredNodeFailure: "block_and_attention";
5155
5266
  unknownExecution: "inspect_without_replay";
5156
5267
  };
5157
- hostRequirements?: {
5158
- protocol: number;
5159
- features: Record<string, number>;
5160
- } | undefined;
5161
5268
  presentation?: {
5162
5269
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5163
5270
  nodeDetailRef?: string | undefined;
5164
5271
  evidenceTypes?: string[] | undefined;
5165
5272
  } | undefined;
5273
+ hostRequirements?: {
5274
+ protocol: number;
5275
+ features: Record<string, number>;
5276
+ } | undefined;
5166
5277
  metrics?: {
5167
5278
  dimensionRefs: string[];
5168
5279
  metricRefs: string[];
5169
5280
  } | undefined;
5170
5281
  };
5282
+ nativeModelBudgetPolicy?: {
5283
+ maximum: {
5284
+ maxCalls: number;
5285
+ maxTokens: number;
5286
+ reservationTokens: number;
5287
+ };
5288
+ maxTokensDefaultSource: "configuration" | "host";
5289
+ } | undefined;
5171
5290
  }[];
5172
5291
  descriptors: ({
5173
5292
  kind: "schema";
@@ -5224,8 +5343,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5224
5343
  forms?: {
5225
5344
  templateRef: string;
5226
5345
  parameters: ({
5227
- type: "boolean";
5228
5346
  key: string;
5347
+ type: "boolean";
5229
5348
  label: {
5230
5349
  en_US: string;
5231
5350
  zh_Hans?: string | undefined;
@@ -5235,8 +5354,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5235
5354
  zh_Hans?: string | undefined;
5236
5355
  } | undefined;
5237
5356
  } | {
5238
- type: "text";
5239
5357
  key: string;
5358
+ type: "text";
5240
5359
  label: {
5241
5360
  en_US: string;
5242
5361
  zh_Hans?: string | undefined;
@@ -5248,9 +5367,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5248
5367
  zh_Hans?: string | undefined;
5249
5368
  } | undefined;
5250
5369
  } | {
5370
+ key: string;
5251
5371
  type: "number";
5252
5372
  integer: boolean;
5253
- key: string;
5254
5373
  label: {
5255
5374
  en_US: string;
5256
5375
  zh_Hans?: string | undefined;
@@ -5262,6 +5381,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5262
5381
  zh_Hans?: string | undefined;
5263
5382
  } | undefined;
5264
5383
  } | {
5384
+ key: string;
5265
5385
  options: {
5266
5386
  value: string;
5267
5387
  label: {
@@ -5270,7 +5390,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5270
5390
  };
5271
5391
  }[];
5272
5392
  type: "choice";
5273
- key: string;
5274
5393
  label: {
5275
5394
  en_US: string;
5276
5395
  zh_Hans?: string | undefined;
@@ -5280,6 +5399,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5280
5399
  zh_Hans?: string | undefined;
5281
5400
  } | undefined;
5282
5401
  } | {
5402
+ key: string;
5283
5403
  options: {
5284
5404
  value: string;
5285
5405
  label: {
@@ -5288,7 +5408,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5288
5408
  };
5289
5409
  }[];
5290
5410
  type: "multi_choice";
5291
- key: string;
5292
5411
  label: {
5293
5412
  en_US: string;
5294
5413
  zh_Hans?: string | undefined;
@@ -5299,8 +5418,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5299
5418
  zh_Hans?: string | undefined;
5300
5419
  } | undefined;
5301
5420
  } | {
5302
- type: "string_list";
5303
5421
  key: string;
5422
+ type: "string_list";
5304
5423
  label: {
5305
5424
  en_US: string;
5306
5425
  zh_Hans?: string | undefined;
@@ -5347,6 +5466,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5347
5466
  }, {
5348
5467
  key: string;
5349
5468
  configurations: {
5469
+ schemaVersion: 1;
5350
5470
  binding: {
5351
5471
  templateRef: string;
5352
5472
  roleBindings: Record<string, {
@@ -5356,8 +5476,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5356
5476
  }>;
5357
5477
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
5358
5478
  executorBindings?: Record<string, {
5359
- roleKey: string;
5360
5479
  kind: "assistant" | "runtime_binding" | "human" | "service";
5480
+ roleKey: string;
5361
5481
  selectionKey: string;
5362
5482
  requiredCapabilities?: string[] | undefined;
5363
5483
  workspaceId?: string | undefined;
@@ -5378,17 +5498,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5378
5498
  events: string[];
5379
5499
  }[] | undefined;
5380
5500
  };
5381
- schemaVersion: 1;
5382
5501
  template: {
5383
5502
  key: string;
5503
+ title: string;
5504
+ version: string;
5505
+ lanes: {
5506
+ key: string;
5507
+ label: string;
5508
+ order: number;
5509
+ roleKey: string;
5510
+ }[];
5384
5511
  executionAuthority: "provider";
5385
5512
  providerRef: string;
5386
5513
  topology: {
5387
5514
  source: "provider";
5388
5515
  presentationAdapterRef: string;
5389
5516
  };
5390
- version: string;
5391
- title: string;
5392
5517
  projectTypes: {
5393
5518
  applicationKey: string;
5394
5519
  projectTypeKey: string;
@@ -5398,54 +5523,48 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5398
5523
  key: string;
5399
5524
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5400
5525
  }[];
5401
- lanes: {
5402
- key: string;
5403
- roleKey: string;
5404
- label: string;
5405
- order: number;
5406
- }[];
5407
5526
  stages: {
5408
5527
  key: string;
5409
5528
  label: string;
5410
5529
  order: number;
5411
5530
  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
5531
  }[];
5413
- actionRefs?: string[] | undefined;
5414
- hostRequirements?: {
5415
- protocol: number;
5416
- features: Record<string, number>;
5417
- } | undefined;
5418
5532
  presentation?: {
5419
5533
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5420
5534
  nodeDetailRef?: string | undefined;
5421
5535
  evidenceTypes?: string[] | undefined;
5422
5536
  } | undefined;
5537
+ actionRefs?: string[] | undefined;
5538
+ hostRequirements?: {
5539
+ protocol: number;
5540
+ features: Record<string, number>;
5541
+ } | undefined;
5423
5542
  metrics?: {
5424
5543
  dimensionRefs: string[];
5425
5544
  metricRefs: string[];
5426
5545
  } | undefined;
5427
5546
  } | {
5428
5547
  key: string;
5548
+ title: string;
5549
+ version: string;
5550
+ lanes: {
5551
+ key: string;
5552
+ label: string;
5553
+ order: number;
5554
+ roleKey: string;
5555
+ }[];
5429
5556
  executionAuthority: "platform";
5430
5557
  topology: {
5431
5558
  source: "definition";
5432
5559
  };
5433
- version: string;
5434
- title: string;
5435
5560
  projectTypes: {
5436
5561
  applicationKey: string;
5437
5562
  projectTypeKey: string;
5438
5563
  }[];
5439
5564
  subjectResolverRef: string;
5440
- roles: {
5441
- key: string;
5442
- allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5443
- }[];
5444
- lanes: {
5565
+ roles: {
5445
5566
  key: string;
5446
- roleKey: string;
5447
- label: string;
5448
- order: number;
5567
+ allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5449
5568
  }[];
5450
5569
  stages: {
5451
5570
  key: string;
@@ -5454,14 +5573,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5454
5573
  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
5574
  }[];
5456
5575
  nodes: ({
5457
- key: string;
5458
5576
  kind: "work";
5577
+ key: string;
5459
5578
  laneKey: string;
5460
5579
  operationRef: string;
5461
5580
  executorSlot: string;
5462
5581
  completionRef: string;
5463
5582
  stageKey: string;
5464
5583
  label?: string | undefined;
5584
+ presentation?: {
5585
+ foldIntoApproval: string;
5586
+ } | undefined;
5465
5587
  resourceResolverRef?: string | undefined;
5466
5588
  outputSchemaRef?: string | undefined;
5467
5589
  inputBindings?: Record<string, {
@@ -5474,17 +5596,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5474
5596
  key: string;
5475
5597
  from: "parameter";
5476
5598
  } | {
5477
- from: "collection";
5478
5599
  items: {
5479
5600
  from: "node_output";
5480
5601
  nodeKey: string;
5481
5602
  port: string;
5482
5603
  }[];
5604
+ from: "collection";
5483
5605
  }> | undefined;
5484
5606
  outputPorts?: Record<string, string> | undefined;
5485
5607
  } | {
5486
- key: string;
5487
5608
  kind: "fork";
5609
+ key: string;
5488
5610
  stageKey: string;
5489
5611
  label?: string | undefined;
5490
5612
  inputBindings?: Record<string, {
@@ -5497,21 +5619,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5497
5619
  key: string;
5498
5620
  from: "parameter";
5499
5621
  } | {
5500
- from: "collection";
5501
5622
  items: {
5502
5623
  from: "node_output";
5503
5624
  nodeKey: string;
5504
5625
  port: string;
5505
5626
  }[];
5627
+ from: "collection";
5506
5628
  }> | undefined;
5507
5629
  outputPorts?: Record<string, string> | undefined;
5508
5630
  } | {
5631
+ kind: "join";
5632
+ key: string;
5509
5633
  join: {
5510
5634
  mode: "all_selected";
5511
5635
  accept: "completed";
5512
5636
  };
5513
- key: string;
5514
- kind: "join";
5515
5637
  stageKey: string;
5516
5638
  label?: string | undefined;
5517
5639
  inputBindings?: Record<string, {
@@ -5524,17 +5646,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5524
5646
  key: string;
5525
5647
  from: "parameter";
5526
5648
  } | {
5527
- from: "collection";
5528
5649
  items: {
5529
5650
  from: "node_output";
5530
5651
  nodeKey: string;
5531
5652
  port: string;
5532
5653
  }[];
5654
+ from: "collection";
5533
5655
  }> | undefined;
5534
5656
  outputPorts?: Record<string, string> | undefined;
5535
5657
  } | {
5536
- key: string;
5537
5658
  kind: "router";
5659
+ key: string;
5538
5660
  stageKey: string;
5539
5661
  policyRef: string;
5540
5662
  outcomes: string[];
@@ -5550,17 +5672,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5550
5672
  key: string;
5551
5673
  from: "parameter";
5552
5674
  } | {
5553
- from: "collection";
5554
5675
  items: {
5555
5676
  from: "node_output";
5556
5677
  nodeKey: string;
5557
5678
  port: string;
5558
5679
  }[];
5680
+ from: "collection";
5559
5681
  }> | undefined;
5560
5682
  outputPorts?: Record<string, string> | undefined;
5561
5683
  } | {
5562
- key: string;
5563
5684
  kind: "human_gate";
5685
+ key: string;
5564
5686
  laneKey: string;
5565
5687
  stageKey: string;
5566
5688
  policyRef: string;
@@ -5577,18 +5699,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5577
5699
  key: string;
5578
5700
  from: "parameter";
5579
5701
  } | {
5580
- from: "collection";
5581
5702
  items: {
5582
5703
  from: "node_output";
5583
5704
  nodeKey: string;
5584
5705
  port: string;
5585
5706
  }[];
5707
+ from: "collection";
5586
5708
  }> | undefined;
5587
5709
  outputPorts?: Record<string, string> | undefined;
5588
5710
  outcomeLabels?: Record<string, string> | undefined;
5589
5711
  } | {
5590
- key: string;
5591
5712
  kind: "external_wait";
5713
+ key: string;
5592
5714
  laneKey: string;
5593
5715
  stageKey: string;
5594
5716
  subscriptionRef: string;
@@ -5603,18 +5725,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5603
5725
  key: string;
5604
5726
  from: "parameter";
5605
5727
  } | {
5606
- from: "collection";
5607
5728
  items: {
5608
5729
  from: "node_output";
5609
5730
  nodeKey: string;
5610
5731
  port: string;
5611
5732
  }[];
5733
+ from: "collection";
5612
5734
  }> | undefined;
5613
5735
  outputPorts?: Record<string, string> | undefined;
5614
5736
  } | {
5737
+ kind: "terminal";
5615
5738
  key: string;
5616
5739
  outcome: string;
5617
- kind: "terminal";
5618
5740
  stageKey: string;
5619
5741
  label?: string | undefined;
5620
5742
  inputBindings?: Record<string, {
@@ -5627,12 +5749,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5627
5749
  key: string;
5628
5750
  from: "parameter";
5629
5751
  } | {
5630
- from: "collection";
5631
5752
  items: {
5632
5753
  from: "node_output";
5633
5754
  nodeKey: string;
5634
5755
  port: string;
5635
5756
  }[];
5757
+ from: "collection";
5636
5758
  }> | undefined;
5637
5759
  outputPorts?: Record<string, string> | undefined;
5638
5760
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -5654,20 +5776,28 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5654
5776
  requiredNodeFailure: "block_and_attention";
5655
5777
  unknownExecution: "inspect_without_replay";
5656
5778
  };
5657
- hostRequirements?: {
5658
- protocol: number;
5659
- features: Record<string, number>;
5660
- } | undefined;
5661
5779
  presentation?: {
5662
5780
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5663
5781
  nodeDetailRef?: string | undefined;
5664
5782
  evidenceTypes?: string[] | undefined;
5665
5783
  } | undefined;
5784
+ hostRequirements?: {
5785
+ protocol: number;
5786
+ features: Record<string, number>;
5787
+ } | undefined;
5666
5788
  metrics?: {
5667
5789
  dimensionRefs: string[];
5668
5790
  metricRefs: string[];
5669
5791
  } | undefined;
5670
5792
  };
5793
+ nativeModelBudgetPolicy?: {
5794
+ maximum: {
5795
+ maxCalls: number;
5796
+ maxTokens: number;
5797
+ reservationTokens: number;
5798
+ };
5799
+ maxTokensDefaultSource: "configuration" | "host";
5800
+ } | undefined;
5671
5801
  }[];
5672
5802
  descriptors: ({
5673
5803
  kind: "schema";
@@ -5724,8 +5854,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5724
5854
  forms?: {
5725
5855
  templateRef: string;
5726
5856
  parameters: ({
5727
- type: "boolean";
5728
5857
  key: string;
5858
+ type: "boolean";
5729
5859
  label: {
5730
5860
  en_US: string;
5731
5861
  zh_Hans?: string | undefined;
@@ -5735,8 +5865,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5735
5865
  zh_Hans?: string | undefined;
5736
5866
  } | undefined;
5737
5867
  } | {
5738
- type: "text";
5739
5868
  key: string;
5869
+ type: "text";
5740
5870
  label: {
5741
5871
  en_US: string;
5742
5872
  zh_Hans?: string | undefined;
@@ -5748,9 +5878,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5748
5878
  zh_Hans?: string | undefined;
5749
5879
  } | undefined;
5750
5880
  } | {
5881
+ key: string;
5751
5882
  type: "number";
5752
5883
  integer: boolean;
5753
- key: string;
5754
5884
  label: {
5755
5885
  en_US: string;
5756
5886
  zh_Hans?: string | undefined;
@@ -5762,6 +5892,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5762
5892
  zh_Hans?: string | undefined;
5763
5893
  } | undefined;
5764
5894
  } | {
5895
+ key: string;
5765
5896
  options: {
5766
5897
  value: string;
5767
5898
  label: {
@@ -5770,7 +5901,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5770
5901
  };
5771
5902
  }[];
5772
5903
  type: "choice";
5773
- key: string;
5774
5904
  label: {
5775
5905
  en_US: string;
5776
5906
  zh_Hans?: string | undefined;
@@ -5780,6 +5910,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5780
5910
  zh_Hans?: string | undefined;
5781
5911
  } | undefined;
5782
5912
  } | {
5913
+ key: string;
5783
5914
  options: {
5784
5915
  value: string;
5785
5916
  label: {
@@ -5788,7 +5919,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5788
5919
  };
5789
5920
  }[];
5790
5921
  type: "multi_choice";
5791
- key: string;
5792
5922
  label: {
5793
5923
  en_US: string;
5794
5924
  zh_Hans?: string | undefined;
@@ -5799,8 +5929,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5799
5929
  } | undefined;
5800
5930
  minItems?: number | undefined;
5801
5931
  } | {
5802
- type: "string_list";
5803
5932
  key: string;
5933
+ type: "string_list";
5804
5934
  label: {
5805
5935
  en_US: string;
5806
5936
  zh_Hans?: string | undefined;
@@ -5847,6 +5977,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5847
5977
  }>, {
5848
5978
  key: string;
5849
5979
  configurations: {
5980
+ schemaVersion: 1;
5850
5981
  binding: {
5851
5982
  templateRef: string;
5852
5983
  roleBindings: Record<string, {
@@ -5856,8 +5987,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5856
5987
  }>;
5857
5988
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
5858
5989
  executorBindings?: Record<string, {
5859
- roleKey: string;
5860
5990
  kind: "assistant" | "runtime_binding" | "human" | "service";
5991
+ roleKey: string;
5861
5992
  selectionKey: string;
5862
5993
  requiredCapabilities?: string[] | undefined;
5863
5994
  workspaceId?: string | undefined;
@@ -5878,17 +6009,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5878
6009
  events: string[];
5879
6010
  }[] | undefined;
5880
6011
  };
5881
- schemaVersion: 1;
5882
6012
  template: {
5883
6013
  key: string;
6014
+ title: string;
6015
+ version: string;
6016
+ lanes: {
6017
+ key: string;
6018
+ label: string;
6019
+ order: number;
6020
+ roleKey: string;
6021
+ }[];
5884
6022
  executionAuthority: "provider";
5885
6023
  providerRef: string;
5886
6024
  topology: {
5887
6025
  source: "provider";
5888
6026
  presentationAdapterRef: string;
5889
6027
  };
5890
- version: string;
5891
- title: string;
5892
6028
  projectTypes: {
5893
6029
  applicationKey: string;
5894
6030
  projectTypeKey: string;
@@ -5898,40 +6034,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5898
6034
  key: string;
5899
6035
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5900
6036
  }[];
5901
- lanes: {
5902
- key: string;
5903
- roleKey: string;
5904
- label: string;
5905
- order: number;
5906
- }[];
5907
6037
  stages: {
5908
6038
  key: string;
5909
6039
  label: string;
5910
6040
  order: number;
5911
6041
  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
6042
  }[];
5913
- actionRefs?: string[] | undefined;
5914
- hostRequirements?: {
5915
- protocol: number;
5916
- features: Record<string, number>;
5917
- } | undefined;
5918
6043
  presentation?: {
5919
6044
  views: ("tasks" | "pipeline" | "agent_timeline")[];
5920
6045
  nodeDetailRef?: string | undefined;
5921
6046
  evidenceTypes?: string[] | undefined;
5922
6047
  } | undefined;
6048
+ actionRefs?: string[] | undefined;
6049
+ hostRequirements?: {
6050
+ protocol: number;
6051
+ features: Record<string, number>;
6052
+ } | undefined;
5923
6053
  metrics?: {
5924
6054
  dimensionRefs: string[];
5925
6055
  metricRefs: string[];
5926
6056
  } | undefined;
5927
6057
  } | {
5928
6058
  key: string;
6059
+ title: string;
6060
+ version: string;
6061
+ lanes: {
6062
+ key: string;
6063
+ label: string;
6064
+ order: number;
6065
+ roleKey: string;
6066
+ }[];
5929
6067
  executionAuthority: "platform";
5930
6068
  topology: {
5931
6069
  source: "definition";
5932
6070
  };
5933
- version: string;
5934
- title: string;
5935
6071
  projectTypes: {
5936
6072
  applicationKey: string;
5937
6073
  projectTypeKey: string;
@@ -5941,12 +6077,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5941
6077
  key: string;
5942
6078
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
5943
6079
  }[];
5944
- lanes: {
5945
- key: string;
5946
- roleKey: string;
5947
- label: string;
5948
- order: number;
5949
- }[];
5950
6080
  stages: {
5951
6081
  key: string;
5952
6082
  label: string;
@@ -5954,14 +6084,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5954
6084
  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
6085
  }[];
5956
6086
  nodes: ({
5957
- key: string;
5958
6087
  kind: "work";
6088
+ key: string;
5959
6089
  laneKey: string;
5960
6090
  operationRef: string;
5961
6091
  executorSlot: string;
5962
6092
  completionRef: string;
5963
6093
  stageKey: string;
5964
6094
  label?: string | undefined;
6095
+ presentation?: {
6096
+ foldIntoApproval: string;
6097
+ } | undefined;
5965
6098
  resourceResolverRef?: string | undefined;
5966
6099
  outputSchemaRef?: string | undefined;
5967
6100
  inputBindings?: Record<string, {
@@ -5974,17 +6107,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5974
6107
  key: string;
5975
6108
  from: "parameter";
5976
6109
  } | {
5977
- from: "collection";
5978
6110
  items: {
5979
6111
  from: "node_output";
5980
6112
  nodeKey: string;
5981
6113
  port: string;
5982
6114
  }[];
6115
+ from: "collection";
5983
6116
  }> | undefined;
5984
6117
  outputPorts?: Record<string, string> | undefined;
5985
6118
  } | {
5986
- key: string;
5987
6119
  kind: "fork";
6120
+ key: string;
5988
6121
  stageKey: string;
5989
6122
  label?: string | undefined;
5990
6123
  inputBindings?: Record<string, {
@@ -5997,21 +6130,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
5997
6130
  key: string;
5998
6131
  from: "parameter";
5999
6132
  } | {
6000
- from: "collection";
6001
6133
  items: {
6002
6134
  from: "node_output";
6003
6135
  nodeKey: string;
6004
6136
  port: string;
6005
6137
  }[];
6138
+ from: "collection";
6006
6139
  }> | undefined;
6007
6140
  outputPorts?: Record<string, string> | undefined;
6008
6141
  } | {
6142
+ kind: "join";
6143
+ key: string;
6009
6144
  join: {
6010
6145
  mode: "all_selected";
6011
6146
  accept: "completed";
6012
6147
  };
6013
- key: string;
6014
- kind: "join";
6015
6148
  stageKey: string;
6016
6149
  label?: string | undefined;
6017
6150
  inputBindings?: Record<string, {
@@ -6024,17 +6157,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6024
6157
  key: string;
6025
6158
  from: "parameter";
6026
6159
  } | {
6027
- from: "collection";
6028
6160
  items: {
6029
6161
  from: "node_output";
6030
6162
  nodeKey: string;
6031
6163
  port: string;
6032
6164
  }[];
6165
+ from: "collection";
6033
6166
  }> | undefined;
6034
6167
  outputPorts?: Record<string, string> | undefined;
6035
6168
  } | {
6036
- key: string;
6037
6169
  kind: "router";
6170
+ key: string;
6038
6171
  stageKey: string;
6039
6172
  policyRef: string;
6040
6173
  outcomes: string[];
@@ -6050,17 +6183,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6050
6183
  key: string;
6051
6184
  from: "parameter";
6052
6185
  } | {
6053
- from: "collection";
6054
6186
  items: {
6055
6187
  from: "node_output";
6056
6188
  nodeKey: string;
6057
6189
  port: string;
6058
6190
  }[];
6191
+ from: "collection";
6059
6192
  }> | undefined;
6060
6193
  outputPorts?: Record<string, string> | undefined;
6061
6194
  } | {
6062
- key: string;
6063
6195
  kind: "human_gate";
6196
+ key: string;
6064
6197
  laneKey: string;
6065
6198
  stageKey: string;
6066
6199
  policyRef: string;
@@ -6077,18 +6210,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6077
6210
  key: string;
6078
6211
  from: "parameter";
6079
6212
  } | {
6080
- from: "collection";
6081
6213
  items: {
6082
6214
  from: "node_output";
6083
6215
  nodeKey: string;
6084
6216
  port: string;
6085
6217
  }[];
6218
+ from: "collection";
6086
6219
  }> | undefined;
6087
6220
  outputPorts?: Record<string, string> | undefined;
6088
6221
  outcomeLabels?: Record<string, string> | undefined;
6089
6222
  } | {
6090
- key: string;
6091
6223
  kind: "external_wait";
6224
+ key: string;
6092
6225
  laneKey: string;
6093
6226
  stageKey: string;
6094
6227
  subscriptionRef: string;
@@ -6103,18 +6236,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6103
6236
  key: string;
6104
6237
  from: "parameter";
6105
6238
  } | {
6106
- from: "collection";
6107
6239
  items: {
6108
6240
  from: "node_output";
6109
6241
  nodeKey: string;
6110
6242
  port: string;
6111
6243
  }[];
6244
+ from: "collection";
6112
6245
  }> | undefined;
6113
6246
  outputPorts?: Record<string, string> | undefined;
6114
6247
  } | {
6248
+ kind: "terminal";
6115
6249
  key: string;
6116
6250
  outcome: string;
6117
- kind: "terminal";
6118
6251
  stageKey: string;
6119
6252
  label?: string | undefined;
6120
6253
  inputBindings?: Record<string, {
@@ -6127,12 +6260,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6127
6260
  key: string;
6128
6261
  from: "parameter";
6129
6262
  } | {
6130
- from: "collection";
6131
6263
  items: {
6132
6264
  from: "node_output";
6133
6265
  nodeKey: string;
6134
6266
  port: string;
6135
6267
  }[];
6268
+ from: "collection";
6136
6269
  }> | undefined;
6137
6270
  outputPorts?: Record<string, string> | undefined;
6138
6271
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -6154,20 +6287,28 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6154
6287
  requiredNodeFailure: "block_and_attention";
6155
6288
  unknownExecution: "inspect_without_replay";
6156
6289
  };
6157
- hostRequirements?: {
6158
- protocol: number;
6159
- features: Record<string, number>;
6160
- } | undefined;
6161
6290
  presentation?: {
6162
6291
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6163
6292
  nodeDetailRef?: string | undefined;
6164
6293
  evidenceTypes?: string[] | undefined;
6165
6294
  } | undefined;
6295
+ hostRequirements?: {
6296
+ protocol: number;
6297
+ features: Record<string, number>;
6298
+ } | undefined;
6166
6299
  metrics?: {
6167
6300
  dimensionRefs: string[];
6168
6301
  metricRefs: string[];
6169
6302
  } | undefined;
6170
6303
  };
6304
+ nativeModelBudgetPolicy?: {
6305
+ maximum: {
6306
+ maxCalls: number;
6307
+ maxTokens: number;
6308
+ reservationTokens: number;
6309
+ };
6310
+ maxTokensDefaultSource: "configuration" | "host";
6311
+ } | undefined;
6171
6312
  }[];
6172
6313
  descriptors: ({
6173
6314
  kind: "schema";
@@ -6224,8 +6365,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6224
6365
  forms?: {
6225
6366
  templateRef: string;
6226
6367
  parameters: ({
6227
- type: "boolean";
6228
6368
  key: string;
6369
+ type: "boolean";
6229
6370
  label: {
6230
6371
  en_US: string;
6231
6372
  zh_Hans?: string | undefined;
@@ -6235,8 +6376,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6235
6376
  zh_Hans?: string | undefined;
6236
6377
  } | undefined;
6237
6378
  } | {
6238
- type: "text";
6239
6379
  key: string;
6380
+ type: "text";
6240
6381
  label: {
6241
6382
  en_US: string;
6242
6383
  zh_Hans?: string | undefined;
@@ -6248,9 +6389,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6248
6389
  zh_Hans?: string | undefined;
6249
6390
  } | undefined;
6250
6391
  } | {
6392
+ key: string;
6251
6393
  type: "number";
6252
6394
  integer: boolean;
6253
- key: string;
6254
6395
  label: {
6255
6396
  en_US: string;
6256
6397
  zh_Hans?: string | undefined;
@@ -6262,6 +6403,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6262
6403
  zh_Hans?: string | undefined;
6263
6404
  } | undefined;
6264
6405
  } | {
6406
+ key: string;
6265
6407
  options: {
6266
6408
  value: string;
6267
6409
  label: {
@@ -6270,7 +6412,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6270
6412
  };
6271
6413
  }[];
6272
6414
  type: "choice";
6273
- key: string;
6274
6415
  label: {
6275
6416
  en_US: string;
6276
6417
  zh_Hans?: string | undefined;
@@ -6280,6 +6421,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6280
6421
  zh_Hans?: string | undefined;
6281
6422
  } | undefined;
6282
6423
  } | {
6424
+ key: string;
6283
6425
  options: {
6284
6426
  value: string;
6285
6427
  label: {
@@ -6288,7 +6430,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6288
6430
  };
6289
6431
  }[];
6290
6432
  type: "multi_choice";
6291
- key: string;
6292
6433
  label: {
6293
6434
  en_US: string;
6294
6435
  zh_Hans?: string | undefined;
@@ -6299,8 +6440,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6299
6440
  zh_Hans?: string | undefined;
6300
6441
  } | undefined;
6301
6442
  } | {
6302
- type: "string_list";
6303
6443
  key: string;
6444
+ type: "string_list";
6304
6445
  label: {
6305
6446
  en_US: string;
6306
6447
  zh_Hans?: string | undefined;
@@ -6347,6 +6488,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6347
6488
  }, {
6348
6489
  key: string;
6349
6490
  configurations: {
6491
+ schemaVersion: 1;
6350
6492
  binding: {
6351
6493
  templateRef: string;
6352
6494
  roleBindings: Record<string, {
@@ -6356,8 +6498,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6356
6498
  }>;
6357
6499
  parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
6358
6500
  executorBindings?: Record<string, {
6359
- roleKey: string;
6360
6501
  kind: "assistant" | "runtime_binding" | "human" | "service";
6502
+ roleKey: string;
6361
6503
  selectionKey: string;
6362
6504
  requiredCapabilities?: string[] | undefined;
6363
6505
  workspaceId?: string | undefined;
@@ -6378,17 +6520,22 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6378
6520
  events: string[];
6379
6521
  }[] | undefined;
6380
6522
  };
6381
- schemaVersion: 1;
6382
6523
  template: {
6383
6524
  key: string;
6525
+ title: string;
6526
+ version: string;
6527
+ lanes: {
6528
+ key: string;
6529
+ label: string;
6530
+ order: number;
6531
+ roleKey: string;
6532
+ }[];
6384
6533
  executionAuthority: "provider";
6385
6534
  providerRef: string;
6386
6535
  topology: {
6387
6536
  source: "provider";
6388
6537
  presentationAdapterRef: string;
6389
6538
  };
6390
- version: string;
6391
- title: string;
6392
6539
  projectTypes: {
6393
6540
  applicationKey: string;
6394
6541
  projectTypeKey: string;
@@ -6398,40 +6545,40 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6398
6545
  key: string;
6399
6546
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
6400
6547
  }[];
6401
- lanes: {
6402
- key: string;
6403
- roleKey: string;
6404
- label: string;
6405
- order: number;
6406
- }[];
6407
6548
  stages: {
6408
6549
  key: string;
6409
6550
  label: string;
6410
6551
  order: number;
6411
6552
  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
6553
  }[];
6413
- actionRefs?: string[] | undefined;
6414
- hostRequirements?: {
6415
- protocol: number;
6416
- features: Record<string, number>;
6417
- } | undefined;
6418
6554
  presentation?: {
6419
6555
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6420
6556
  nodeDetailRef?: string | undefined;
6421
6557
  evidenceTypes?: string[] | undefined;
6422
6558
  } | undefined;
6559
+ actionRefs?: string[] | undefined;
6560
+ hostRequirements?: {
6561
+ protocol: number;
6562
+ features: Record<string, number>;
6563
+ } | undefined;
6423
6564
  metrics?: {
6424
6565
  dimensionRefs: string[];
6425
6566
  metricRefs: string[];
6426
6567
  } | undefined;
6427
6568
  } | {
6428
6569
  key: string;
6570
+ title: string;
6571
+ version: string;
6572
+ lanes: {
6573
+ key: string;
6574
+ label: string;
6575
+ order: number;
6576
+ roleKey: string;
6577
+ }[];
6429
6578
  executionAuthority: "platform";
6430
6579
  topology: {
6431
6580
  source: "definition";
6432
6581
  };
6433
- version: string;
6434
- title: string;
6435
6582
  projectTypes: {
6436
6583
  applicationKey: string;
6437
6584
  projectTypeKey: string;
@@ -6441,12 +6588,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6441
6588
  key: string;
6442
6589
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
6443
6590
  }[];
6444
- lanes: {
6445
- key: string;
6446
- roleKey: string;
6447
- label: string;
6448
- order: number;
6449
- }[];
6450
6591
  stages: {
6451
6592
  key: string;
6452
6593
  label: string;
@@ -6454,14 +6595,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6454
6595
  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
6596
  }[];
6456
6597
  nodes: ({
6457
- key: string;
6458
6598
  kind: "work";
6599
+ key: string;
6459
6600
  laneKey: string;
6460
6601
  operationRef: string;
6461
6602
  executorSlot: string;
6462
6603
  completionRef: string;
6463
6604
  stageKey: string;
6464
6605
  label?: string | undefined;
6606
+ presentation?: {
6607
+ foldIntoApproval: string;
6608
+ } | undefined;
6465
6609
  resourceResolverRef?: string | undefined;
6466
6610
  outputSchemaRef?: string | undefined;
6467
6611
  inputBindings?: Record<string, {
@@ -6474,17 +6618,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6474
6618
  key: string;
6475
6619
  from: "parameter";
6476
6620
  } | {
6477
- from: "collection";
6478
6621
  items: {
6479
6622
  from: "node_output";
6480
6623
  nodeKey: string;
6481
6624
  port: string;
6482
6625
  }[];
6626
+ from: "collection";
6483
6627
  }> | undefined;
6484
6628
  outputPorts?: Record<string, string> | undefined;
6485
6629
  } | {
6486
- key: string;
6487
6630
  kind: "fork";
6631
+ key: string;
6488
6632
  stageKey: string;
6489
6633
  label?: string | undefined;
6490
6634
  inputBindings?: Record<string, {
@@ -6497,21 +6641,21 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6497
6641
  key: string;
6498
6642
  from: "parameter";
6499
6643
  } | {
6500
- from: "collection";
6501
6644
  items: {
6502
6645
  from: "node_output";
6503
6646
  nodeKey: string;
6504
6647
  port: string;
6505
6648
  }[];
6649
+ from: "collection";
6506
6650
  }> | undefined;
6507
6651
  outputPorts?: Record<string, string> | undefined;
6508
6652
  } | {
6653
+ kind: "join";
6654
+ key: string;
6509
6655
  join: {
6510
6656
  mode: "all_selected";
6511
6657
  accept: "completed";
6512
6658
  };
6513
- key: string;
6514
- kind: "join";
6515
6659
  stageKey: string;
6516
6660
  label?: string | undefined;
6517
6661
  inputBindings?: Record<string, {
@@ -6524,17 +6668,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6524
6668
  key: string;
6525
6669
  from: "parameter";
6526
6670
  } | {
6527
- from: "collection";
6528
6671
  items: {
6529
6672
  from: "node_output";
6530
6673
  nodeKey: string;
6531
6674
  port: string;
6532
6675
  }[];
6676
+ from: "collection";
6533
6677
  }> | undefined;
6534
6678
  outputPorts?: Record<string, string> | undefined;
6535
6679
  } | {
6536
- key: string;
6537
6680
  kind: "router";
6681
+ key: string;
6538
6682
  stageKey: string;
6539
6683
  policyRef: string;
6540
6684
  outcomes: string[];
@@ -6550,17 +6694,17 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6550
6694
  key: string;
6551
6695
  from: "parameter";
6552
6696
  } | {
6553
- from: "collection";
6554
6697
  items: {
6555
6698
  from: "node_output";
6556
6699
  nodeKey: string;
6557
6700
  port: string;
6558
6701
  }[];
6702
+ from: "collection";
6559
6703
  }> | undefined;
6560
6704
  outputPorts?: Record<string, string> | undefined;
6561
6705
  } | {
6562
- key: string;
6563
6706
  kind: "human_gate";
6707
+ key: string;
6564
6708
  laneKey: string;
6565
6709
  stageKey: string;
6566
6710
  policyRef: string;
@@ -6577,18 +6721,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6577
6721
  key: string;
6578
6722
  from: "parameter";
6579
6723
  } | {
6580
- from: "collection";
6581
6724
  items: {
6582
6725
  from: "node_output";
6583
6726
  nodeKey: string;
6584
6727
  port: string;
6585
6728
  }[];
6729
+ from: "collection";
6586
6730
  }> | undefined;
6587
6731
  outputPorts?: Record<string, string> | undefined;
6588
6732
  outcomeLabels?: Record<string, string> | undefined;
6589
6733
  } | {
6590
- key: string;
6591
6734
  kind: "external_wait";
6735
+ key: string;
6592
6736
  laneKey: string;
6593
6737
  stageKey: string;
6594
6738
  subscriptionRef: string;
@@ -6603,18 +6747,18 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6603
6747
  key: string;
6604
6748
  from: "parameter";
6605
6749
  } | {
6606
- from: "collection";
6607
6750
  items: {
6608
6751
  from: "node_output";
6609
6752
  nodeKey: string;
6610
6753
  port: string;
6611
6754
  }[];
6755
+ from: "collection";
6612
6756
  }> | undefined;
6613
6757
  outputPorts?: Record<string, string> | undefined;
6614
6758
  } | {
6759
+ kind: "terminal";
6615
6760
  key: string;
6616
6761
  outcome: string;
6617
- kind: "terminal";
6618
6762
  stageKey: string;
6619
6763
  label?: string | undefined;
6620
6764
  inputBindings?: Record<string, {
@@ -6627,12 +6771,12 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6627
6771
  key: string;
6628
6772
  from: "parameter";
6629
6773
  } | {
6630
- from: "collection";
6631
6774
  items: {
6632
6775
  from: "node_output";
6633
6776
  nodeKey: string;
6634
6777
  port: string;
6635
6778
  }[];
6779
+ from: "collection";
6636
6780
  }> | undefined;
6637
6781
  outputPorts?: Record<string, string> | undefined;
6638
6782
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -6654,20 +6798,28 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6654
6798
  requiredNodeFailure: "block_and_attention";
6655
6799
  unknownExecution: "inspect_without_replay";
6656
6800
  };
6657
- hostRequirements?: {
6658
- protocol: number;
6659
- features: Record<string, number>;
6660
- } | undefined;
6661
6801
  presentation?: {
6662
6802
  views: ("tasks" | "pipeline" | "agent_timeline")[];
6663
6803
  nodeDetailRef?: string | undefined;
6664
6804
  evidenceTypes?: string[] | undefined;
6665
6805
  } | undefined;
6806
+ hostRequirements?: {
6807
+ protocol: number;
6808
+ features: Record<string, number>;
6809
+ } | undefined;
6666
6810
  metrics?: {
6667
6811
  dimensionRefs: string[];
6668
6812
  metricRefs: string[];
6669
6813
  } | undefined;
6670
6814
  };
6815
+ nativeModelBudgetPolicy?: {
6816
+ maximum: {
6817
+ maxCalls: number;
6818
+ maxTokens: number;
6819
+ reservationTokens: number;
6820
+ };
6821
+ maxTokensDefaultSource: "configuration" | "host";
6822
+ } | undefined;
6671
6823
  }[];
6672
6824
  descriptors: ({
6673
6825
  kind: "schema";
@@ -6724,8 +6876,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6724
6876
  forms?: {
6725
6877
  templateRef: string;
6726
6878
  parameters: ({
6727
- type: "boolean";
6728
6879
  key: string;
6880
+ type: "boolean";
6729
6881
  label: {
6730
6882
  en_US: string;
6731
6883
  zh_Hans?: string | undefined;
@@ -6735,8 +6887,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6735
6887
  zh_Hans?: string | undefined;
6736
6888
  } | undefined;
6737
6889
  } | {
6738
- type: "text";
6739
6890
  key: string;
6891
+ type: "text";
6740
6892
  label: {
6741
6893
  en_US: string;
6742
6894
  zh_Hans?: string | undefined;
@@ -6748,9 +6900,9 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6748
6900
  zh_Hans?: string | undefined;
6749
6901
  } | undefined;
6750
6902
  } | {
6903
+ key: string;
6751
6904
  type: "number";
6752
6905
  integer: boolean;
6753
- key: string;
6754
6906
  label: {
6755
6907
  en_US: string;
6756
6908
  zh_Hans?: string | undefined;
@@ -6762,6 +6914,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6762
6914
  zh_Hans?: string | undefined;
6763
6915
  } | undefined;
6764
6916
  } | {
6917
+ key: string;
6765
6918
  options: {
6766
6919
  value: string;
6767
6920
  label: {
@@ -6770,7 +6923,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6770
6923
  };
6771
6924
  }[];
6772
6925
  type: "choice";
6773
- key: string;
6774
6926
  label: {
6775
6927
  en_US: string;
6776
6928
  zh_Hans?: string | undefined;
@@ -6780,6 +6932,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6780
6932
  zh_Hans?: string | undefined;
6781
6933
  } | undefined;
6782
6934
  } | {
6935
+ key: string;
6783
6936
  options: {
6784
6937
  value: string;
6785
6938
  label: {
@@ -6788,7 +6941,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6788
6941
  };
6789
6942
  }[];
6790
6943
  type: "multi_choice";
6791
- key: string;
6792
6944
  label: {
6793
6945
  en_US: string;
6794
6946
  zh_Hans?: string | undefined;
@@ -6799,8 +6951,8 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
6799
6951
  } | undefined;
6800
6952
  minItems?: number | undefined;
6801
6953
  } | {
6802
- type: "string_list";
6803
6954
  key: string;
6955
+ type: "string_list";
6804
6956
  label: {
6805
6957
  en_US: string;
6806
6958
  zh_Hans?: string | undefined;