@xpert-ai/contracts 3.34.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +670 -319
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +637 -318
  10. package/package.json +18 -2
  11. package/src/agent-event.model.d.ts +88 -0
  12. package/src/agent-event.schema.d.ts +120 -0
  13. package/src/agent-plugin.d.ts +4 -29
  14. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  15. package/src/ai/agent-runtime.model.d.ts +4 -4
  16. package/src/ai/assistant-capability.model.d.ts +0 -1
  17. package/src/ai/assistant-template-manifest.model.d.ts +316 -352
  18. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  19. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  20. package/src/ai/assistant-template.model.d.ts +0 -4
  21. package/src/ai/bosi.model.d.ts +1 -1
  22. package/src/ai/chat-activity.model.d.ts +8 -0
  23. package/src/ai/chat-message.model.d.ts +0 -11
  24. package/src/ai/chat.model.d.ts +1 -0
  25. package/src/ai/cli-execution.model.d.ts +88 -0
  26. package/src/ai/conversation-trail.model.d.ts +274 -274
  27. package/src/ai/copilot-store.model.d.ts +0 -13
  28. package/src/ai/evolution/entities.d.ts +164 -0
  29. package/src/ai/evolution/evaluation.d.ts +7 -0
  30. package/src/ai/evolution/execution-review.d.ts +68 -0
  31. package/src/ai/evolution/index.d.ts +2 -0
  32. package/src/ai/evolution/provider.d.ts +1 -0
  33. package/src/ai/evolution/target.d.ts +5 -0
  34. package/src/ai/execution-activity.model.d.ts +362 -362
  35. package/src/ai/execution-control-evidence.schema.d.ts +22 -22
  36. package/src/ai/execution-observability.model.d.ts +196 -196
  37. package/src/ai/execution-source.model.d.ts +45 -0
  38. package/src/ai/index.d.ts +4 -0
  39. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  40. package/src/ai/middleware.model.d.ts +1 -0
  41. package/src/ai/model-execution.model.d.ts +7 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +78 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
  46. package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
  47. package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
  48. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  49. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  50. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  51. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  52. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  53. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  54. package/src/ai/project-pipeline/index.d.ts +1 -0
  55. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  56. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  57. package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
  58. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
  59. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  60. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  61. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  62. package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
  63. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  64. package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
  65. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  66. package/src/ai/project-task-runtime.model.d.ts +969 -242
  67. package/src/ai/project-type-configuration.model.d.ts +48 -0
  68. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  69. package/src/ai/template-installation.model.d.ts +18 -18
  70. package/src/ai/template-lifecycle.model.d.ts +6 -6
  71. package/src/ai/thread-control-view.schema.d.ts +4 -4
  72. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  73. package/src/ai/xpert-project-type.model.d.ts +3 -0
  74. package/src/ai/xpert-project.model.d.ts +4 -1
  75. package/src/ai/xpert-task.model.d.ts +16 -0
  76. package/src/ai/xpert.model.d.ts +0 -34
  77. package/src/ai/xpert.utils.d.ts +0 -1
  78. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  79. package/src/analytics/analytics-certification.model.d.ts +17 -0
  80. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  81. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  82. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  83. package/src/analytics/index.d.ts +7 -0
  84. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  85. package/src/app-platform.d.ts +16 -16
  86. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  87. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  88. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  89. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  90. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  91. package/src/artifacts/index.d.ts +5 -0
  92. package/src/collaboration.model.d.ts +31 -11
  93. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  94. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  95. package/src/content/content-transfer.model.d.ts +21 -0
  96. package/src/content/index.d.ts +4 -0
  97. package/src/execution-control-admission.schema.d.ts +2 -2
  98. package/src/index.d.ts +5 -14
  99. package/src/plugin-management.d.ts +13 -0
  100. package/src/plugin.d.ts +2 -0
  101. package/src/user-notification.schema.d.ts +75 -28
  102. package/src/view-extension/client-commands.d.ts +24 -0
  103. package/src/view-extension/context-event.d.ts +66 -0
  104. package/src/view-extension/index.d.ts +1 -0
  105. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  106. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -25,85 +25,85 @@ export declare const projectPipelineTaskProjectionSchema: z.ZodObject<{
25
25
  error: z.ZodOptional<z.ZodString>;
26
26
  outputSummary: z.ZodOptional<z.ZodString>;
27
27
  }, "strict", z.ZodTypeAny, {
28
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
29
28
  key: string;
29
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
30
30
  attempt: number;
31
- xpertId?: string | undefined;
32
- agentKey?: string | undefined;
33
31
  error?: string | undefined;
34
32
  startedAt?: string | undefined;
33
+ threadId?: string | undefined;
34
+ conversationId?: string | undefined;
35
+ xpertId?: string | undefined;
36
+ agentKey?: string | undefined;
35
37
  completedAt?: string | undefined;
36
38
  invocationId?: string | undefined;
37
39
  agentExecutionId?: string | undefined;
38
- conversationId?: string | undefined;
39
- threadId?: string | undefined;
40
40
  outputSummary?: string | undefined;
41
41
  }, {
42
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
43
42
  key: string;
43
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
44
44
  attempt: number;
45
- xpertId?: string | undefined;
46
- agentKey?: string | undefined;
47
45
  error?: string | undefined;
48
46
  startedAt?: string | undefined;
47
+ threadId?: string | undefined;
48
+ conversationId?: string | undefined;
49
+ xpertId?: string | undefined;
50
+ agentKey?: string | undefined;
49
51
  completedAt?: string | undefined;
50
52
  invocationId?: string | undefined;
51
53
  agentExecutionId?: string | undefined;
52
- conversationId?: string | undefined;
53
- threadId?: string | undefined;
54
54
  outputSummary?: string | undefined;
55
55
  }>, "many">;
56
56
  }, "strict", z.ZodTypeAny, {
57
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
58
- key: string;
59
57
  kind: "task" | "summary" | "milestone";
58
+ key: string;
59
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
60
60
  title: string;
61
61
  predecessorKeys: string[];
62
62
  executions: {
63
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
64
63
  key: string;
64
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
65
65
  attempt: number;
66
- xpertId?: string | undefined;
67
- agentKey?: string | undefined;
68
66
  error?: string | undefined;
69
67
  startedAt?: string | undefined;
68
+ threadId?: string | undefined;
69
+ conversationId?: string | undefined;
70
+ xpertId?: string | undefined;
71
+ agentKey?: string | undefined;
70
72
  completedAt?: string | undefined;
71
73
  invocationId?: string | undefined;
72
74
  agentExecutionId?: string | undefined;
73
- conversationId?: string | undefined;
74
- threadId?: string | undefined;
75
75
  outputSummary?: string | undefined;
76
76
  }[];
77
+ diagnostic?: string | undefined;
77
78
  progress?: number | null | undefined;
78
79
  taskType?: string | null | undefined;
79
80
  parentKey?: string | undefined;
80
- diagnostic?: string | undefined;
81
81
  assigneeXpertId?: string | undefined;
82
82
  }, {
83
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
84
- key: string;
85
83
  kind: "task" | "summary" | "milestone";
84
+ key: string;
85
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
86
86
  title: string;
87
87
  predecessorKeys: string[];
88
88
  executions: {
89
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
90
89
  key: string;
90
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
91
91
  attempt: number;
92
- xpertId?: string | undefined;
93
- agentKey?: string | undefined;
94
92
  error?: string | undefined;
95
93
  startedAt?: string | undefined;
94
+ threadId?: string | undefined;
95
+ conversationId?: string | undefined;
96
+ xpertId?: string | undefined;
97
+ agentKey?: string | undefined;
96
98
  completedAt?: string | undefined;
97
99
  invocationId?: string | undefined;
98
100
  agentExecutionId?: string | undefined;
99
- conversationId?: string | undefined;
100
- threadId?: string | undefined;
101
101
  outputSummary?: string | undefined;
102
102
  }[];
103
+ diagnostic?: string | undefined;
103
104
  progress?: number | null | undefined;
104
105
  taskType?: string | null | undefined;
105
106
  parentKey?: string | undefined;
106
- diagnostic?: string | undefined;
107
107
  assigneeXpertId?: string | undefined;
108
108
  }>;
109
109
  export declare const projectPipelineNodePresentationSchema: z.ZodObject<{
@@ -138,15 +138,15 @@ export declare const projectPipelineNodePresentationSchema: z.ZodObject<{
138
138
  decidedAt: z.ZodOptional<z.ZodString>;
139
139
  version: z.ZodString;
140
140
  }, "strict", z.ZodTypeAny, {
141
- label: string;
142
141
  outcome: string;
143
142
  version: string;
143
+ label: string;
144
144
  reason: string;
145
145
  decidedAt?: string | undefined;
146
146
  }, {
147
- label: string;
148
147
  outcome: string;
149
148
  version: string;
149
+ label: string;
150
150
  reason: string;
151
151
  decidedAt?: string | undefined;
152
152
  }>>;
@@ -164,9 +164,9 @@ export declare const projectPipelineNodePresentationSchema: z.ZodObject<{
164
164
  label: string;
165
165
  }[] | undefined;
166
166
  decision?: {
167
- label: string;
168
167
  outcome: string;
169
168
  version: string;
169
+ label: string;
170
170
  reason: string;
171
171
  decidedAt?: string | undefined;
172
172
  } | undefined;
@@ -184,9 +184,9 @@ export declare const projectPipelineNodePresentationSchema: z.ZodObject<{
184
184
  label: string;
185
185
  }[] | undefined;
186
186
  decision?: {
187
- label: string;
188
187
  outcome: string;
189
188
  version: string;
189
+ label: string;
190
190
  reason: string;
191
191
  decidedAt?: string | undefined;
192
192
  } | undefined;
@@ -206,17 +206,17 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
206
206
  freshness: z.ZodEnum<["current", "superseded"]>;
207
207
  runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
208
208
  }, "strict", z.ZodTypeAny, {
209
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
210
- readiness: "waiting" | "ready" | "blocked";
209
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
210
+ readiness: "blocked" | "waiting" | "ready";
211
211
  applicability: "undetermined" | "selected" | "excluded";
212
212
  freshness: "superseded" | "current";
213
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
213
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
214
214
  }, {
215
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
216
- readiness: "waiting" | "ready" | "blocked";
215
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
216
+ readiness: "blocked" | "waiting" | "ready";
217
217
  applicability: "undetermined" | "selected" | "excluded";
218
218
  freshness: "superseded" | "current";
219
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
219
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
220
220
  }>;
221
221
  /** A registered Project type resolves the destination again when opened. No URL or business parameters. */
222
222
  navigation: z.ZodOptional<z.ZodObject<{
@@ -258,15 +258,15 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
258
258
  decidedAt: z.ZodOptional<z.ZodString>;
259
259
  version: z.ZodString;
260
260
  }, "strict", z.ZodTypeAny, {
261
- label: string;
262
261
  outcome: string;
263
262
  version: string;
263
+ label: string;
264
264
  reason: string;
265
265
  decidedAt?: string | undefined;
266
266
  }, {
267
- label: string;
268
267
  outcome: string;
269
268
  version: string;
269
+ label: string;
270
270
  reason: string;
271
271
  decidedAt?: string | undefined;
272
272
  }>>;
@@ -284,9 +284,9 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
284
284
  label: string;
285
285
  }[] | undefined;
286
286
  decision?: {
287
- label: string;
288
287
  outcome: string;
289
288
  version: string;
289
+ label: string;
290
290
  reason: string;
291
291
  decidedAt?: string | undefined;
292
292
  } | undefined;
@@ -304,9 +304,9 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
304
304
  label: string;
305
305
  }[] | undefined;
306
306
  decision?: {
307
- label: string;
308
307
  outcome: string;
309
308
  version: string;
309
+ label: string;
310
310
  reason: string;
311
311
  decidedAt?: string | undefined;
312
312
  } | undefined;
@@ -336,18 +336,18 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
336
336
  producerOperationId?: string | undefined;
337
337
  }>, "many">;
338
338
  }, "strict", z.ZodTypeAny, {
339
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
339
340
  key: string;
341
+ title: string;
340
342
  nodeKey: string;
341
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
342
343
  laneKey: string | null;
343
344
  stageKey: string;
344
- title: string;
345
345
  state: {
346
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
347
- readiness: "waiting" | "ready" | "blocked";
346
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
347
+ readiness: "blocked" | "waiting" | "ready";
348
348
  applicability: "undetermined" | "selected" | "excluded";
349
349
  freshness: "superseded" | "current";
350
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
350
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
351
351
  };
352
352
  expansionKey: string;
353
353
  evidence: {
@@ -373,9 +373,9 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
373
373
  label: string;
374
374
  }[] | undefined;
375
375
  decision?: {
376
- label: string;
377
376
  outcome: string;
378
377
  version: string;
378
+ label: string;
379
379
  reason: string;
380
380
  decidedAt?: string | undefined;
381
381
  } | undefined;
@@ -384,18 +384,18 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
384
384
  kind: "project_application";
385
385
  } | undefined;
386
386
  }, {
387
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
387
388
  key: string;
389
+ title: string;
388
390
  nodeKey: string;
389
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
390
391
  laneKey: string | null;
391
392
  stageKey: string;
392
- title: string;
393
393
  state: {
394
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
395
- readiness: "waiting" | "ready" | "blocked";
394
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
395
+ readiness: "blocked" | "waiting" | "ready";
396
396
  applicability: "undetermined" | "selected" | "excluded";
397
397
  freshness: "superseded" | "current";
398
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
398
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
399
399
  };
400
400
  expansionKey: string;
401
401
  evidence: {
@@ -421,9 +421,9 @@ export declare const projectPipelineProjectionNodeSchema: z.ZodObject<{
421
421
  label: string;
422
422
  }[] | undefined;
423
423
  decision?: {
424
- label: string;
425
424
  outcome: string;
426
425
  version: string;
426
+ label: string;
427
427
  reason: string;
428
428
  decidedAt?: string | undefined;
429
429
  } | undefined;
@@ -444,15 +444,15 @@ export declare const projectPipelineProjectionEdgeSchema: z.ZodObject<{
444
444
  from: string;
445
445
  to: string;
446
446
  selection: "undetermined" | "selected" | "excluded";
447
- label?: string | undefined;
448
447
  outcome?: string | undefined;
448
+ label?: string | undefined;
449
449
  }, {
450
450
  key: string;
451
451
  from: string;
452
452
  to: string;
453
453
  selection: "undetermined" | "selected" | "excluded";
454
- label?: string | undefined;
455
454
  outcome?: string | undefined;
455
+ label?: string | undefined;
456
456
  }>;
457
457
  /** A complete snapshot covers ONE instance/round. Absence is never a cancellation instruction. */
458
458
  export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
@@ -522,14 +522,14 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
522
522
  order: z.ZodNumber;
523
523
  }, "strict", z.ZodTypeAny, {
524
524
  key: string;
525
+ order: number;
525
526
  roleKey: string;
526
527
  label: string;
527
- order: number;
528
528
  }, {
529
529
  key: string;
530
+ order: number;
530
531
  roleKey: string;
531
532
  label: string;
532
- order: number;
533
533
  }>, "many">;
534
534
  stages: z.ZodArray<z.ZodObject<{
535
535
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -538,13 +538,13 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
538
538
  order: z.ZodNumber;
539
539
  }, "strict", z.ZodTypeAny, {
540
540
  key: string;
541
- label: string;
542
541
  order: number;
542
+ label: string;
543
543
  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;
544
544
  }, {
545
545
  key: string;
546
- label: string;
547
546
  order: number;
547
+ label: string;
548
548
  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;
549
549
  }>, "many">;
550
550
  presentation: z.ZodOptional<z.ZodObject<{
@@ -572,14 +572,20 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
572
572
  }>>;
573
573
  }, "strict", z.ZodTypeAny, {
574
574
  key: string;
575
+ title: string;
576
+ version: string;
577
+ lanes: {
578
+ key: string;
579
+ order: number;
580
+ roleKey: string;
581
+ label: string;
582
+ }[];
575
583
  executionAuthority: "provider";
576
584
  providerRef: string;
577
585
  topology: {
578
586
  source: "provider";
579
587
  presentationAdapterRef: string;
580
588
  };
581
- version: string;
582
- title: string;
583
589
  projectTypes: {
584
590
  applicationKey: string;
585
591
  projectTypeKey: string;
@@ -589,42 +595,42 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
589
595
  key: string;
590
596
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
591
597
  }[];
592
- lanes: {
593
- key: string;
594
- roleKey: string;
595
- label: string;
596
- order: number;
597
- }[];
598
598
  stages: {
599
599
  key: string;
600
- label: string;
601
600
  order: number;
601
+ label: string;
602
602
  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;
603
603
  }[];
604
- actionRefs?: string[] | undefined;
605
- hostRequirements?: {
606
- protocol: number;
607
- features: Record<string, number>;
608
- } | undefined;
609
604
  presentation?: {
610
605
  views: ("tasks" | "pipeline" | "agent_timeline")[];
611
606
  nodeDetailRef?: string | undefined;
612
607
  evidenceTypes?: string[] | undefined;
613
608
  } | undefined;
609
+ actionRefs?: string[] | undefined;
610
+ hostRequirements?: {
611
+ protocol: number;
612
+ features: Record<string, number>;
613
+ } | undefined;
614
614
  metrics?: {
615
615
  dimensionRefs: string[];
616
616
  metricRefs: string[];
617
617
  } | undefined;
618
618
  }, {
619
619
  key: string;
620
+ title: string;
621
+ version: string;
622
+ lanes: {
623
+ key: string;
624
+ order: number;
625
+ roleKey: string;
626
+ label: string;
627
+ }[];
620
628
  executionAuthority: "provider";
621
629
  providerRef: string;
622
630
  topology: {
623
631
  source: "provider";
624
632
  presentationAdapterRef: string;
625
633
  };
626
- version: string;
627
- title: string;
628
634
  projectTypes: {
629
635
  applicationKey: string;
630
636
  projectTypeKey: string;
@@ -634,28 +640,22 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
634
640
  key: string;
635
641
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
636
642
  }[];
637
- lanes: {
638
- key: string;
639
- roleKey: string;
640
- label: string;
641
- order: number;
642
- }[];
643
643
  stages: {
644
644
  key: string;
645
- label: string;
646
645
  order: number;
646
+ label: string;
647
647
  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;
648
648
  }[];
649
- actionRefs?: string[] | undefined;
650
- hostRequirements?: {
651
- protocol: number;
652
- features: Record<string, number>;
653
- } | undefined;
654
649
  presentation?: {
655
650
  views: ("tasks" | "pipeline" | "agent_timeline")[];
656
651
  nodeDetailRef?: string | undefined;
657
652
  evidenceTypes?: string[] | undefined;
658
653
  } | undefined;
654
+ actionRefs?: string[] | undefined;
655
+ hostRequirements?: {
656
+ protocol: number;
657
+ features: Record<string, number>;
658
+ } | undefined;
659
659
  metrics?: {
660
660
  dimensionRefs: string[];
661
661
  metricRefs: string[];
@@ -672,6 +672,13 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
672
672
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
673
673
  kind: z.ZodLiteral<"work">;
674
674
  laneKey: z.ZodEffects<z.ZodString, string, string>;
675
+ presentation: z.ZodOptional<z.ZodObject<{
676
+ foldIntoApproval: z.ZodEffects<z.ZodString, string, string>;
677
+ }, "strict", z.ZodTypeAny, {
678
+ foldIntoApproval: string;
679
+ }, {
680
+ foldIntoApproval: string;
681
+ }>>;
675
682
  operationRef: z.ZodString;
676
683
  executorSlot: z.ZodEffects<z.ZodString, string, string>;
677
684
  completionRef: z.ZodString;
@@ -723,29 +730,32 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
723
730
  port: string;
724
731
  }>, "many">;
725
732
  }, "strict", z.ZodTypeAny, {
726
- from: "collection";
727
733
  items: {
728
734
  from: "node_output";
729
735
  nodeKey: string;
730
736
  port: string;
731
737
  }[];
732
- }, {
733
738
  from: "collection";
739
+ }, {
734
740
  items: {
735
741
  from: "node_output";
736
742
  nodeKey: string;
737
743
  port: string;
738
744
  }[];
745
+ from: "collection";
739
746
  }>]>>>;
740
747
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
741
748
  }, "strict", z.ZodTypeAny, {
742
- key: string;
743
749
  kind: "work";
750
+ key: string;
744
751
  laneKey: string;
745
752
  operationRef: string;
746
753
  executorSlot: string;
747
754
  completionRef: string;
748
755
  stageKey: string;
756
+ presentation?: {
757
+ foldIntoApproval: string;
758
+ } | undefined;
749
759
  label?: string | undefined;
750
760
  resourceResolverRef?: string | undefined;
751
761
  outputSchemaRef?: string | undefined;
@@ -759,22 +769,25 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
759
769
  key: string;
760
770
  from: "parameter";
761
771
  } | {
762
- from: "collection";
763
772
  items: {
764
773
  from: "node_output";
765
774
  nodeKey: string;
766
775
  port: string;
767
776
  }[];
777
+ from: "collection";
768
778
  }> | undefined;
769
779
  outputPorts?: Record<string, string> | undefined;
770
780
  }, {
771
- key: string;
772
781
  kind: "work";
782
+ key: string;
773
783
  laneKey: string;
774
784
  operationRef: string;
775
785
  executorSlot: string;
776
786
  completionRef: string;
777
787
  stageKey: string;
788
+ presentation?: {
789
+ foldIntoApproval: string;
790
+ } | undefined;
778
791
  label?: string | undefined;
779
792
  resourceResolverRef?: string | undefined;
780
793
  outputSchemaRef?: string | undefined;
@@ -788,12 +801,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
788
801
  key: string;
789
802
  from: "parameter";
790
803
  } | {
791
- from: "collection";
792
804
  items: {
793
805
  from: "node_output";
794
806
  nodeKey: string;
795
807
  port: string;
796
808
  }[];
809
+ from: "collection";
797
810
  }> | undefined;
798
811
  outputPorts?: Record<string, string> | undefined;
799
812
  }>, z.ZodObject<{
@@ -844,24 +857,24 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
844
857
  port: string;
845
858
  }>, "many">;
846
859
  }, "strict", z.ZodTypeAny, {
847
- from: "collection";
848
860
  items: {
849
861
  from: "node_output";
850
862
  nodeKey: string;
851
863
  port: string;
852
864
  }[];
853
- }, {
854
865
  from: "collection";
866
+ }, {
855
867
  items: {
856
868
  from: "node_output";
857
869
  nodeKey: string;
858
870
  port: string;
859
871
  }[];
872
+ from: "collection";
860
873
  }>]>>>;
861
874
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
862
875
  }, "strict", z.ZodTypeAny, {
863
- key: string;
864
876
  kind: "fork";
877
+ key: string;
865
878
  stageKey: string;
866
879
  label?: string | undefined;
867
880
  inputBindings?: Record<string, {
@@ -874,17 +887,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
874
887
  key: string;
875
888
  from: "parameter";
876
889
  } | {
877
- from: "collection";
878
890
  items: {
879
891
  from: "node_output";
880
892
  nodeKey: string;
881
893
  port: string;
882
894
  }[];
895
+ from: "collection";
883
896
  }> | undefined;
884
897
  outputPorts?: Record<string, string> | undefined;
885
898
  }, {
886
- key: string;
887
899
  kind: "fork";
900
+ key: string;
888
901
  stageKey: string;
889
902
  label?: string | undefined;
890
903
  inputBindings?: Record<string, {
@@ -897,12 +910,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
897
910
  key: string;
898
911
  from: "parameter";
899
912
  } | {
900
- from: "collection";
901
913
  items: {
902
914
  from: "node_output";
903
915
  nodeKey: string;
904
916
  port: string;
905
917
  }[];
918
+ from: "collection";
906
919
  }> | undefined;
907
920
  outputPorts?: Record<string, string> | undefined;
908
921
  }>, z.ZodObject<{
@@ -963,28 +976,28 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
963
976
  port: string;
964
977
  }>, "many">;
965
978
  }, "strict", z.ZodTypeAny, {
966
- from: "collection";
967
979
  items: {
968
980
  from: "node_output";
969
981
  nodeKey: string;
970
982
  port: string;
971
983
  }[];
972
- }, {
973
984
  from: "collection";
985
+ }, {
974
986
  items: {
975
987
  from: "node_output";
976
988
  nodeKey: string;
977
989
  port: string;
978
990
  }[];
991
+ from: "collection";
979
992
  }>]>>>;
980
993
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
981
994
  }, "strict", z.ZodTypeAny, {
995
+ kind: "join";
996
+ key: string;
982
997
  join: {
983
998
  mode: "all_selected";
984
999
  accept: "completed";
985
1000
  };
986
- key: string;
987
- kind: "join";
988
1001
  stageKey: string;
989
1002
  label?: string | undefined;
990
1003
  inputBindings?: Record<string, {
@@ -997,21 +1010,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
997
1010
  key: string;
998
1011
  from: "parameter";
999
1012
  } | {
1000
- from: "collection";
1001
1013
  items: {
1002
1014
  from: "node_output";
1003
1015
  nodeKey: string;
1004
1016
  port: string;
1005
1017
  }[];
1018
+ from: "collection";
1006
1019
  }> | undefined;
1007
1020
  outputPorts?: Record<string, string> | undefined;
1008
1021
  }, {
1022
+ kind: "join";
1023
+ key: string;
1009
1024
  join: {
1010
1025
  mode: "all_selected";
1011
1026
  accept: "completed";
1012
1027
  };
1013
- key: string;
1014
- kind: "join";
1015
1028
  stageKey: string;
1016
1029
  label?: string | undefined;
1017
1030
  inputBindings?: Record<string, {
@@ -1024,12 +1037,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1024
1037
  key: string;
1025
1038
  from: "parameter";
1026
1039
  } | {
1027
- from: "collection";
1028
1040
  items: {
1029
1041
  from: "node_output";
1030
1042
  nodeKey: string;
1031
1043
  port: string;
1032
1044
  }[];
1045
+ from: "collection";
1033
1046
  }> | undefined;
1034
1047
  outputPorts?: Record<string, string> | undefined;
1035
1048
  }>, z.ZodObject<{
@@ -1083,24 +1096,24 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1083
1096
  port: string;
1084
1097
  }>, "many">;
1085
1098
  }, "strict", z.ZodTypeAny, {
1086
- from: "collection";
1087
1099
  items: {
1088
1100
  from: "node_output";
1089
1101
  nodeKey: string;
1090
1102
  port: string;
1091
1103
  }[];
1092
- }, {
1093
1104
  from: "collection";
1105
+ }, {
1094
1106
  items: {
1095
1107
  from: "node_output";
1096
1108
  nodeKey: string;
1097
1109
  port: string;
1098
1110
  }[];
1111
+ from: "collection";
1099
1112
  }>]>>>;
1100
1113
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
1101
1114
  }, "strict", z.ZodTypeAny, {
1102
- key: string;
1103
1115
  kind: "router";
1116
+ key: string;
1104
1117
  stageKey: string;
1105
1118
  policyRef: string;
1106
1119
  outcomes: string[];
@@ -1116,17 +1129,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1116
1129
  key: string;
1117
1130
  from: "parameter";
1118
1131
  } | {
1119
- from: "collection";
1120
1132
  items: {
1121
1133
  from: "node_output";
1122
1134
  nodeKey: string;
1123
1135
  port: string;
1124
1136
  }[];
1137
+ from: "collection";
1125
1138
  }> | undefined;
1126
1139
  outputPorts?: Record<string, string> | undefined;
1127
1140
  }, {
1128
- key: string;
1129
1141
  kind: "router";
1142
+ key: string;
1130
1143
  stageKey: string;
1131
1144
  policyRef: string;
1132
1145
  outcomes: string[];
@@ -1142,12 +1155,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1142
1155
  key: string;
1143
1156
  from: "parameter";
1144
1157
  } | {
1145
- from: "collection";
1146
1158
  items: {
1147
1159
  from: "node_output";
1148
1160
  nodeKey: string;
1149
1161
  port: string;
1150
1162
  }[];
1163
+ from: "collection";
1151
1164
  }> | undefined;
1152
1165
  outputPorts?: Record<string, string> | undefined;
1153
1166
  }>, z.ZodObject<{
@@ -1203,24 +1216,24 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1203
1216
  port: string;
1204
1217
  }>, "many">;
1205
1218
  }, "strict", z.ZodTypeAny, {
1206
- from: "collection";
1207
1219
  items: {
1208
1220
  from: "node_output";
1209
1221
  nodeKey: string;
1210
1222
  port: string;
1211
1223
  }[];
1212
- }, {
1213
1224
  from: "collection";
1225
+ }, {
1214
1226
  items: {
1215
1227
  from: "node_output";
1216
1228
  nodeKey: string;
1217
1229
  port: string;
1218
1230
  }[];
1231
+ from: "collection";
1219
1232
  }>]>>>;
1220
1233
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
1221
1234
  }, "strict", z.ZodTypeAny, {
1222
- key: string;
1223
1235
  kind: "human_gate";
1236
+ key: string;
1224
1237
  laneKey: string;
1225
1238
  stageKey: string;
1226
1239
  policyRef: string;
@@ -1237,18 +1250,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1237
1250
  key: string;
1238
1251
  from: "parameter";
1239
1252
  } | {
1240
- from: "collection";
1241
1253
  items: {
1242
1254
  from: "node_output";
1243
1255
  nodeKey: string;
1244
1256
  port: string;
1245
1257
  }[];
1258
+ from: "collection";
1246
1259
  }> | undefined;
1247
1260
  outputPorts?: Record<string, string> | undefined;
1248
1261
  outcomeLabels?: Record<string, string> | undefined;
1249
1262
  }, {
1250
- key: string;
1251
1263
  kind: "human_gate";
1264
+ key: string;
1252
1265
  laneKey: string;
1253
1266
  stageKey: string;
1254
1267
  policyRef: string;
@@ -1265,12 +1278,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1265
1278
  key: string;
1266
1279
  from: "parameter";
1267
1280
  } | {
1268
- from: "collection";
1269
1281
  items: {
1270
1282
  from: "node_output";
1271
1283
  nodeKey: string;
1272
1284
  port: string;
1273
1285
  }[];
1286
+ from: "collection";
1274
1287
  }> | undefined;
1275
1288
  outputPorts?: Record<string, string> | undefined;
1276
1289
  outcomeLabels?: Record<string, string> | undefined;
@@ -1324,24 +1337,24 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1324
1337
  port: string;
1325
1338
  }>, "many">;
1326
1339
  }, "strict", z.ZodTypeAny, {
1327
- from: "collection";
1328
1340
  items: {
1329
1341
  from: "node_output";
1330
1342
  nodeKey: string;
1331
1343
  port: string;
1332
1344
  }[];
1333
- }, {
1334
1345
  from: "collection";
1346
+ }, {
1335
1347
  items: {
1336
1348
  from: "node_output";
1337
1349
  nodeKey: string;
1338
1350
  port: string;
1339
1351
  }[];
1352
+ from: "collection";
1340
1353
  }>]>>>;
1341
1354
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
1342
1355
  }, "strict", z.ZodTypeAny, {
1343
- key: string;
1344
1356
  kind: "external_wait";
1357
+ key: string;
1345
1358
  laneKey: string;
1346
1359
  stageKey: string;
1347
1360
  subscriptionRef: string;
@@ -1356,17 +1369,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1356
1369
  key: string;
1357
1370
  from: "parameter";
1358
1371
  } | {
1359
- from: "collection";
1360
1372
  items: {
1361
1373
  from: "node_output";
1362
1374
  nodeKey: string;
1363
1375
  port: string;
1364
1376
  }[];
1377
+ from: "collection";
1365
1378
  }> | undefined;
1366
1379
  outputPorts?: Record<string, string> | undefined;
1367
1380
  }, {
1368
- key: string;
1369
1381
  kind: "external_wait";
1382
+ key: string;
1370
1383
  laneKey: string;
1371
1384
  stageKey: string;
1372
1385
  subscriptionRef: string;
@@ -1381,12 +1394,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1381
1394
  key: string;
1382
1395
  from: "parameter";
1383
1396
  } | {
1384
- from: "collection";
1385
1397
  items: {
1386
1398
  from: "node_output";
1387
1399
  nodeKey: string;
1388
1400
  port: string;
1389
1401
  }[];
1402
+ from: "collection";
1390
1403
  }> | undefined;
1391
1404
  outputPorts?: Record<string, string> | undefined;
1392
1405
  }>, z.ZodObject<{
@@ -1439,25 +1452,25 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1439
1452
  port: string;
1440
1453
  }>, "many">;
1441
1454
  }, "strict", z.ZodTypeAny, {
1442
- from: "collection";
1443
1455
  items: {
1444
1456
  from: "node_output";
1445
1457
  nodeKey: string;
1446
1458
  port: string;
1447
1459
  }[];
1448
- }, {
1449
1460
  from: "collection";
1461
+ }, {
1450
1462
  items: {
1451
1463
  from: "node_output";
1452
1464
  nodeKey: string;
1453
1465
  port: string;
1454
1466
  }[];
1467
+ from: "collection";
1455
1468
  }>]>>>;
1456
1469
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
1457
1470
  }, "strict", z.ZodTypeAny, {
1471
+ kind: "terminal";
1458
1472
  key: string;
1459
1473
  outcome: string;
1460
- kind: "terminal";
1461
1474
  stageKey: string;
1462
1475
  label?: string | undefined;
1463
1476
  inputBindings?: Record<string, {
@@ -1470,19 +1483,19 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1470
1483
  key: string;
1471
1484
  from: "parameter";
1472
1485
  } | {
1473
- from: "collection";
1474
1486
  items: {
1475
1487
  from: "node_output";
1476
1488
  nodeKey: string;
1477
1489
  port: string;
1478
1490
  }[];
1491
+ from: "collection";
1479
1492
  }> | undefined;
1480
1493
  outputPorts?: Record<string, string> | undefined;
1481
1494
  disposition?: "complete" | "await_new_subject" | undefined;
1482
1495
  }, {
1496
+ kind: "terminal";
1483
1497
  key: string;
1484
1498
  outcome: string;
1485
- kind: "terminal";
1486
1499
  stageKey: string;
1487
1500
  label?: string | undefined;
1488
1501
  inputBindings?: Record<string, {
@@ -1495,12 +1508,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1495
1508
  key: string;
1496
1509
  from: "parameter";
1497
1510
  } | {
1498
- from: "collection";
1499
1511
  items: {
1500
1512
  from: "node_output";
1501
1513
  nodeKey: string;
1502
1514
  port: string;
1503
1515
  }[];
1516
+ from: "collection";
1504
1517
  }> | undefined;
1505
1518
  outputPorts?: Record<string, string> | undefined;
1506
1519
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1597,14 +1610,14 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1597
1610
  order: z.ZodNumber;
1598
1611
  }, "strict", z.ZodTypeAny, {
1599
1612
  key: string;
1613
+ order: number;
1600
1614
  roleKey: string;
1601
1615
  label: string;
1602
- order: number;
1603
1616
  }, {
1604
1617
  key: string;
1618
+ order: number;
1605
1619
  roleKey: string;
1606
1620
  label: string;
1607
- order: number;
1608
1621
  }>, "many">;
1609
1622
  stages: z.ZodArray<z.ZodObject<{
1610
1623
  key: z.ZodEffects<z.ZodString, string, string>;
@@ -1613,13 +1626,13 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1613
1626
  order: z.ZodNumber;
1614
1627
  }, "strict", z.ZodTypeAny, {
1615
1628
  key: string;
1616
- label: string;
1617
1629
  order: number;
1630
+ label: string;
1618
1631
  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;
1619
1632
  }, {
1620
1633
  key: string;
1621
- label: string;
1622
1634
  order: number;
1635
+ label: string;
1623
1636
  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;
1624
1637
  }>, "many">;
1625
1638
  presentation: z.ZodOptional<z.ZodObject<{
@@ -1647,12 +1660,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1647
1660
  }>>;
1648
1661
  }, "strict", z.ZodTypeAny, {
1649
1662
  key: string;
1663
+ title: string;
1664
+ version: string;
1665
+ lanes: {
1666
+ key: string;
1667
+ order: number;
1668
+ roleKey: string;
1669
+ label: string;
1670
+ }[];
1650
1671
  executionAuthority: "platform";
1651
1672
  topology: {
1652
1673
  source: "definition";
1653
1674
  };
1654
- version: string;
1655
- title: string;
1656
1675
  projectTypes: {
1657
1676
  applicationKey: string;
1658
1677
  projectTypeKey: string;
@@ -1662,26 +1681,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1662
1681
  key: string;
1663
1682
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1664
1683
  }[];
1665
- lanes: {
1666
- key: string;
1667
- roleKey: string;
1668
- label: string;
1669
- order: number;
1670
- }[];
1671
1684
  stages: {
1672
1685
  key: string;
1673
- label: string;
1674
1686
  order: number;
1687
+ label: string;
1675
1688
  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;
1676
1689
  }[];
1677
1690
  nodes: ({
1678
- key: string;
1679
1691
  kind: "work";
1692
+ key: string;
1680
1693
  laneKey: string;
1681
1694
  operationRef: string;
1682
1695
  executorSlot: string;
1683
1696
  completionRef: string;
1684
1697
  stageKey: string;
1698
+ presentation?: {
1699
+ foldIntoApproval: string;
1700
+ } | undefined;
1685
1701
  label?: string | undefined;
1686
1702
  resourceResolverRef?: string | undefined;
1687
1703
  outputSchemaRef?: string | undefined;
@@ -1695,17 +1711,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1695
1711
  key: string;
1696
1712
  from: "parameter";
1697
1713
  } | {
1698
- from: "collection";
1699
1714
  items: {
1700
1715
  from: "node_output";
1701
1716
  nodeKey: string;
1702
1717
  port: string;
1703
1718
  }[];
1719
+ from: "collection";
1704
1720
  }> | undefined;
1705
1721
  outputPorts?: Record<string, string> | undefined;
1706
1722
  } | {
1707
- key: string;
1708
1723
  kind: "fork";
1724
+ key: string;
1709
1725
  stageKey: string;
1710
1726
  label?: string | undefined;
1711
1727
  inputBindings?: Record<string, {
@@ -1718,21 +1734,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1718
1734
  key: string;
1719
1735
  from: "parameter";
1720
1736
  } | {
1721
- from: "collection";
1722
1737
  items: {
1723
1738
  from: "node_output";
1724
1739
  nodeKey: string;
1725
1740
  port: string;
1726
1741
  }[];
1742
+ from: "collection";
1727
1743
  }> | undefined;
1728
1744
  outputPorts?: Record<string, string> | undefined;
1729
1745
  } | {
1746
+ kind: "join";
1747
+ key: string;
1730
1748
  join: {
1731
1749
  mode: "all_selected";
1732
1750
  accept: "completed";
1733
1751
  };
1734
- key: string;
1735
- kind: "join";
1736
1752
  stageKey: string;
1737
1753
  label?: string | undefined;
1738
1754
  inputBindings?: Record<string, {
@@ -1745,17 +1761,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1745
1761
  key: string;
1746
1762
  from: "parameter";
1747
1763
  } | {
1748
- from: "collection";
1749
1764
  items: {
1750
1765
  from: "node_output";
1751
1766
  nodeKey: string;
1752
1767
  port: string;
1753
1768
  }[];
1769
+ from: "collection";
1754
1770
  }> | undefined;
1755
1771
  outputPorts?: Record<string, string> | undefined;
1756
1772
  } | {
1757
- key: string;
1758
1773
  kind: "router";
1774
+ key: string;
1759
1775
  stageKey: string;
1760
1776
  policyRef: string;
1761
1777
  outcomes: string[];
@@ -1771,17 +1787,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1771
1787
  key: string;
1772
1788
  from: "parameter";
1773
1789
  } | {
1774
- from: "collection";
1775
1790
  items: {
1776
1791
  from: "node_output";
1777
1792
  nodeKey: string;
1778
1793
  port: string;
1779
1794
  }[];
1795
+ from: "collection";
1780
1796
  }> | undefined;
1781
1797
  outputPorts?: Record<string, string> | undefined;
1782
1798
  } | {
1783
- key: string;
1784
1799
  kind: "human_gate";
1800
+ key: string;
1785
1801
  laneKey: string;
1786
1802
  stageKey: string;
1787
1803
  policyRef: string;
@@ -1798,18 +1814,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1798
1814
  key: string;
1799
1815
  from: "parameter";
1800
1816
  } | {
1801
- from: "collection";
1802
1817
  items: {
1803
1818
  from: "node_output";
1804
1819
  nodeKey: string;
1805
1820
  port: string;
1806
1821
  }[];
1822
+ from: "collection";
1807
1823
  }> | undefined;
1808
1824
  outputPorts?: Record<string, string> | undefined;
1809
1825
  outcomeLabels?: Record<string, string> | undefined;
1810
1826
  } | {
1811
- key: string;
1812
1827
  kind: "external_wait";
1828
+ key: string;
1813
1829
  laneKey: string;
1814
1830
  stageKey: string;
1815
1831
  subscriptionRef: string;
@@ -1824,18 +1840,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1824
1840
  key: string;
1825
1841
  from: "parameter";
1826
1842
  } | {
1827
- from: "collection";
1828
1843
  items: {
1829
1844
  from: "node_output";
1830
1845
  nodeKey: string;
1831
1846
  port: string;
1832
1847
  }[];
1848
+ from: "collection";
1833
1849
  }> | undefined;
1834
1850
  outputPorts?: Record<string, string> | undefined;
1835
1851
  } | {
1852
+ kind: "terminal";
1836
1853
  key: string;
1837
1854
  outcome: string;
1838
- kind: "terminal";
1839
1855
  stageKey: string;
1840
1856
  label?: string | undefined;
1841
1857
  inputBindings?: Record<string, {
@@ -1848,12 +1864,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1848
1864
  key: string;
1849
1865
  from: "parameter";
1850
1866
  } | {
1851
- from: "collection";
1852
1867
  items: {
1853
1868
  from: "node_output";
1854
1869
  nodeKey: string;
1855
1870
  port: string;
1856
1871
  }[];
1872
+ from: "collection";
1857
1873
  }> | undefined;
1858
1874
  outputPorts?: Record<string, string> | undefined;
1859
1875
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -1875,27 +1891,33 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1875
1891
  requiredNodeFailure: "block_and_attention";
1876
1892
  unknownExecution: "inspect_without_replay";
1877
1893
  };
1878
- hostRequirements?: {
1879
- protocol: number;
1880
- features: Record<string, number>;
1881
- } | undefined;
1882
1894
  presentation?: {
1883
1895
  views: ("tasks" | "pipeline" | "agent_timeline")[];
1884
1896
  nodeDetailRef?: string | undefined;
1885
1897
  evidenceTypes?: string[] | undefined;
1886
1898
  } | undefined;
1899
+ hostRequirements?: {
1900
+ protocol: number;
1901
+ features: Record<string, number>;
1902
+ } | undefined;
1887
1903
  metrics?: {
1888
1904
  dimensionRefs: string[];
1889
1905
  metricRefs: string[];
1890
1906
  } | undefined;
1891
1907
  }, {
1892
1908
  key: string;
1909
+ title: string;
1910
+ version: string;
1911
+ lanes: {
1912
+ key: string;
1913
+ order: number;
1914
+ roleKey: string;
1915
+ label: string;
1916
+ }[];
1893
1917
  executionAuthority: "platform";
1894
1918
  topology: {
1895
1919
  source: "definition";
1896
1920
  };
1897
- version: string;
1898
- title: string;
1899
1921
  projectTypes: {
1900
1922
  applicationKey: string;
1901
1923
  projectTypeKey: string;
@@ -1905,26 +1927,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1905
1927
  key: string;
1906
1928
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
1907
1929
  }[];
1908
- lanes: {
1909
- key: string;
1910
- roleKey: string;
1911
- label: string;
1912
- order: number;
1913
- }[];
1914
1930
  stages: {
1915
1931
  key: string;
1916
- label: string;
1917
1932
  order: number;
1933
+ label: string;
1918
1934
  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;
1919
1935
  }[];
1920
1936
  nodes: ({
1921
- key: string;
1922
1937
  kind: "work";
1938
+ key: string;
1923
1939
  laneKey: string;
1924
1940
  operationRef: string;
1925
1941
  executorSlot: string;
1926
1942
  completionRef: string;
1927
1943
  stageKey: string;
1944
+ presentation?: {
1945
+ foldIntoApproval: string;
1946
+ } | undefined;
1928
1947
  label?: string | undefined;
1929
1948
  resourceResolverRef?: string | undefined;
1930
1949
  outputSchemaRef?: string | undefined;
@@ -1938,17 +1957,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1938
1957
  key: string;
1939
1958
  from: "parameter";
1940
1959
  } | {
1941
- from: "collection";
1942
1960
  items: {
1943
1961
  from: "node_output";
1944
1962
  nodeKey: string;
1945
1963
  port: string;
1946
1964
  }[];
1965
+ from: "collection";
1947
1966
  }> | undefined;
1948
1967
  outputPorts?: Record<string, string> | undefined;
1949
1968
  } | {
1950
- key: string;
1951
1969
  kind: "fork";
1970
+ key: string;
1952
1971
  stageKey: string;
1953
1972
  label?: string | undefined;
1954
1973
  inputBindings?: Record<string, {
@@ -1961,21 +1980,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1961
1980
  key: string;
1962
1981
  from: "parameter";
1963
1982
  } | {
1964
- from: "collection";
1965
1983
  items: {
1966
1984
  from: "node_output";
1967
1985
  nodeKey: string;
1968
1986
  port: string;
1969
1987
  }[];
1988
+ from: "collection";
1970
1989
  }> | undefined;
1971
1990
  outputPorts?: Record<string, string> | undefined;
1972
1991
  } | {
1992
+ kind: "join";
1993
+ key: string;
1973
1994
  join: {
1974
1995
  mode: "all_selected";
1975
1996
  accept: "completed";
1976
1997
  };
1977
- key: string;
1978
- kind: "join";
1979
1998
  stageKey: string;
1980
1999
  label?: string | undefined;
1981
2000
  inputBindings?: Record<string, {
@@ -1988,17 +2007,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
1988
2007
  key: string;
1989
2008
  from: "parameter";
1990
2009
  } | {
1991
- from: "collection";
1992
2010
  items: {
1993
2011
  from: "node_output";
1994
2012
  nodeKey: string;
1995
2013
  port: string;
1996
2014
  }[];
2015
+ from: "collection";
1997
2016
  }> | undefined;
1998
2017
  outputPorts?: Record<string, string> | undefined;
1999
2018
  } | {
2000
- key: string;
2001
2019
  kind: "router";
2020
+ key: string;
2002
2021
  stageKey: string;
2003
2022
  policyRef: string;
2004
2023
  outcomes: string[];
@@ -2014,17 +2033,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2014
2033
  key: string;
2015
2034
  from: "parameter";
2016
2035
  } | {
2017
- from: "collection";
2018
2036
  items: {
2019
2037
  from: "node_output";
2020
2038
  nodeKey: string;
2021
2039
  port: string;
2022
2040
  }[];
2041
+ from: "collection";
2023
2042
  }> | undefined;
2024
2043
  outputPorts?: Record<string, string> | undefined;
2025
2044
  } | {
2026
- key: string;
2027
2045
  kind: "human_gate";
2046
+ key: string;
2028
2047
  laneKey: string;
2029
2048
  stageKey: string;
2030
2049
  policyRef: string;
@@ -2041,18 +2060,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2041
2060
  key: string;
2042
2061
  from: "parameter";
2043
2062
  } | {
2044
- from: "collection";
2045
2063
  items: {
2046
2064
  from: "node_output";
2047
2065
  nodeKey: string;
2048
2066
  port: string;
2049
2067
  }[];
2068
+ from: "collection";
2050
2069
  }> | undefined;
2051
2070
  outputPorts?: Record<string, string> | undefined;
2052
2071
  outcomeLabels?: Record<string, string> | undefined;
2053
2072
  } | {
2054
- key: string;
2055
2073
  kind: "external_wait";
2074
+ key: string;
2056
2075
  laneKey: string;
2057
2076
  stageKey: string;
2058
2077
  subscriptionRef: string;
@@ -2067,18 +2086,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2067
2086
  key: string;
2068
2087
  from: "parameter";
2069
2088
  } | {
2070
- from: "collection";
2071
2089
  items: {
2072
2090
  from: "node_output";
2073
2091
  nodeKey: string;
2074
2092
  port: string;
2075
2093
  }[];
2094
+ from: "collection";
2076
2095
  }> | undefined;
2077
2096
  outputPorts?: Record<string, string> | undefined;
2078
2097
  } | {
2098
+ kind: "terminal";
2079
2099
  key: string;
2080
2100
  outcome: string;
2081
- kind: "terminal";
2082
2101
  stageKey: string;
2083
2102
  label?: string | undefined;
2084
2103
  inputBindings?: Record<string, {
@@ -2091,12 +2110,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2091
2110
  key: string;
2092
2111
  from: "parameter";
2093
2112
  } | {
2094
- from: "collection";
2095
2113
  items: {
2096
2114
  from: "node_output";
2097
2115
  nodeKey: string;
2098
2116
  port: string;
2099
2117
  }[];
2118
+ from: "collection";
2100
2119
  }> | undefined;
2101
2120
  outputPorts?: Record<string, string> | undefined;
2102
2121
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2118,29 +2137,35 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2118
2137
  requiredNodeFailure: "block_and_attention";
2119
2138
  unknownExecution: "inspect_without_replay";
2120
2139
  };
2121
- hostRequirements?: {
2122
- protocol: number;
2123
- features: Record<string, number>;
2124
- } | undefined;
2125
2140
  presentation?: {
2126
2141
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2127
2142
  nodeDetailRef?: string | undefined;
2128
2143
  evidenceTypes?: string[] | undefined;
2129
2144
  } | undefined;
2145
+ hostRequirements?: {
2146
+ protocol: number;
2147
+ features: Record<string, number>;
2148
+ } | undefined;
2130
2149
  metrics?: {
2131
2150
  dimensionRefs: string[];
2132
2151
  metricRefs: string[];
2133
2152
  } | undefined;
2134
2153
  }>]>, {
2135
2154
  key: string;
2155
+ title: string;
2156
+ version: string;
2157
+ lanes: {
2158
+ key: string;
2159
+ order: number;
2160
+ roleKey: string;
2161
+ label: string;
2162
+ }[];
2136
2163
  executionAuthority: "provider";
2137
2164
  providerRef: string;
2138
2165
  topology: {
2139
2166
  source: "provider";
2140
2167
  presentationAdapterRef: string;
2141
2168
  };
2142
- version: string;
2143
- title: string;
2144
2169
  projectTypes: {
2145
2170
  applicationKey: string;
2146
2171
  projectTypeKey: string;
@@ -2150,40 +2175,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2150
2175
  key: string;
2151
2176
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2152
2177
  }[];
2153
- lanes: {
2154
- key: string;
2155
- roleKey: string;
2156
- label: string;
2157
- order: number;
2158
- }[];
2159
2178
  stages: {
2160
2179
  key: string;
2161
- label: string;
2162
2180
  order: number;
2181
+ label: string;
2163
2182
  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;
2164
2183
  }[];
2165
- actionRefs?: string[] | undefined;
2166
- hostRequirements?: {
2167
- protocol: number;
2168
- features: Record<string, number>;
2169
- } | undefined;
2170
2184
  presentation?: {
2171
2185
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2172
2186
  nodeDetailRef?: string | undefined;
2173
2187
  evidenceTypes?: string[] | undefined;
2174
2188
  } | undefined;
2189
+ actionRefs?: string[] | undefined;
2190
+ hostRequirements?: {
2191
+ protocol: number;
2192
+ features: Record<string, number>;
2193
+ } | undefined;
2175
2194
  metrics?: {
2176
2195
  dimensionRefs: string[];
2177
2196
  metricRefs: string[];
2178
2197
  } | undefined;
2179
2198
  } | {
2180
2199
  key: string;
2200
+ title: string;
2201
+ version: string;
2202
+ lanes: {
2203
+ key: string;
2204
+ order: number;
2205
+ roleKey: string;
2206
+ label: string;
2207
+ }[];
2181
2208
  executionAuthority: "platform";
2182
2209
  topology: {
2183
2210
  source: "definition";
2184
2211
  };
2185
- version: string;
2186
- title: string;
2187
2212
  projectTypes: {
2188
2213
  applicationKey: string;
2189
2214
  projectTypeKey: string;
@@ -2193,26 +2218,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2193
2218
  key: string;
2194
2219
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2195
2220
  }[];
2196
- lanes: {
2197
- key: string;
2198
- roleKey: string;
2199
- label: string;
2200
- order: number;
2201
- }[];
2202
2221
  stages: {
2203
2222
  key: string;
2204
- label: string;
2205
2223
  order: number;
2224
+ label: string;
2206
2225
  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;
2207
2226
  }[];
2208
2227
  nodes: ({
2209
- key: string;
2210
2228
  kind: "work";
2229
+ key: string;
2211
2230
  laneKey: string;
2212
2231
  operationRef: string;
2213
2232
  executorSlot: string;
2214
2233
  completionRef: string;
2215
2234
  stageKey: string;
2235
+ presentation?: {
2236
+ foldIntoApproval: string;
2237
+ } | undefined;
2216
2238
  label?: string | undefined;
2217
2239
  resourceResolverRef?: string | undefined;
2218
2240
  outputSchemaRef?: string | undefined;
@@ -2226,17 +2248,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2226
2248
  key: string;
2227
2249
  from: "parameter";
2228
2250
  } | {
2229
- from: "collection";
2230
2251
  items: {
2231
2252
  from: "node_output";
2232
2253
  nodeKey: string;
2233
2254
  port: string;
2234
2255
  }[];
2256
+ from: "collection";
2235
2257
  }> | undefined;
2236
2258
  outputPorts?: Record<string, string> | undefined;
2237
2259
  } | {
2238
- key: string;
2239
2260
  kind: "fork";
2261
+ key: string;
2240
2262
  stageKey: string;
2241
2263
  label?: string | undefined;
2242
2264
  inputBindings?: Record<string, {
@@ -2249,21 +2271,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2249
2271
  key: string;
2250
2272
  from: "parameter";
2251
2273
  } | {
2252
- from: "collection";
2253
2274
  items: {
2254
2275
  from: "node_output";
2255
2276
  nodeKey: string;
2256
2277
  port: string;
2257
2278
  }[];
2279
+ from: "collection";
2258
2280
  }> | undefined;
2259
2281
  outputPorts?: Record<string, string> | undefined;
2260
2282
  } | {
2283
+ kind: "join";
2284
+ key: string;
2261
2285
  join: {
2262
2286
  mode: "all_selected";
2263
2287
  accept: "completed";
2264
2288
  };
2265
- key: string;
2266
- kind: "join";
2267
2289
  stageKey: string;
2268
2290
  label?: string | undefined;
2269
2291
  inputBindings?: Record<string, {
@@ -2276,17 +2298,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2276
2298
  key: string;
2277
2299
  from: "parameter";
2278
2300
  } | {
2279
- from: "collection";
2280
2301
  items: {
2281
2302
  from: "node_output";
2282
2303
  nodeKey: string;
2283
2304
  port: string;
2284
2305
  }[];
2306
+ from: "collection";
2285
2307
  }> | undefined;
2286
2308
  outputPorts?: Record<string, string> | undefined;
2287
2309
  } | {
2288
- key: string;
2289
2310
  kind: "router";
2311
+ key: string;
2290
2312
  stageKey: string;
2291
2313
  policyRef: string;
2292
2314
  outcomes: string[];
@@ -2302,17 +2324,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2302
2324
  key: string;
2303
2325
  from: "parameter";
2304
2326
  } | {
2305
- from: "collection";
2306
2327
  items: {
2307
2328
  from: "node_output";
2308
2329
  nodeKey: string;
2309
2330
  port: string;
2310
2331
  }[];
2332
+ from: "collection";
2311
2333
  }> | undefined;
2312
2334
  outputPorts?: Record<string, string> | undefined;
2313
2335
  } | {
2314
- key: string;
2315
2336
  kind: "human_gate";
2337
+ key: string;
2316
2338
  laneKey: string;
2317
2339
  stageKey: string;
2318
2340
  policyRef: string;
@@ -2329,18 +2351,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2329
2351
  key: string;
2330
2352
  from: "parameter";
2331
2353
  } | {
2332
- from: "collection";
2333
2354
  items: {
2334
2355
  from: "node_output";
2335
2356
  nodeKey: string;
2336
2357
  port: string;
2337
2358
  }[];
2359
+ from: "collection";
2338
2360
  }> | undefined;
2339
2361
  outputPorts?: Record<string, string> | undefined;
2340
2362
  outcomeLabels?: Record<string, string> | undefined;
2341
2363
  } | {
2342
- key: string;
2343
2364
  kind: "external_wait";
2365
+ key: string;
2344
2366
  laneKey: string;
2345
2367
  stageKey: string;
2346
2368
  subscriptionRef: string;
@@ -2355,18 +2377,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2355
2377
  key: string;
2356
2378
  from: "parameter";
2357
2379
  } | {
2358
- from: "collection";
2359
2380
  items: {
2360
2381
  from: "node_output";
2361
2382
  nodeKey: string;
2362
2383
  port: string;
2363
2384
  }[];
2385
+ from: "collection";
2364
2386
  }> | undefined;
2365
2387
  outputPorts?: Record<string, string> | undefined;
2366
2388
  } | {
2389
+ kind: "terminal";
2367
2390
  key: string;
2368
2391
  outcome: string;
2369
- kind: "terminal";
2370
2392
  stageKey: string;
2371
2393
  label?: string | undefined;
2372
2394
  inputBindings?: Record<string, {
@@ -2379,12 +2401,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2379
2401
  key: string;
2380
2402
  from: "parameter";
2381
2403
  } | {
2382
- from: "collection";
2383
2404
  items: {
2384
2405
  from: "node_output";
2385
2406
  nodeKey: string;
2386
2407
  port: string;
2387
2408
  }[];
2409
+ from: "collection";
2388
2410
  }> | undefined;
2389
2411
  outputPorts?: Record<string, string> | undefined;
2390
2412
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2406,29 +2428,35 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2406
2428
  requiredNodeFailure: "block_and_attention";
2407
2429
  unknownExecution: "inspect_without_replay";
2408
2430
  };
2409
- hostRequirements?: {
2410
- protocol: number;
2411
- features: Record<string, number>;
2412
- } | undefined;
2413
2431
  presentation?: {
2414
2432
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2415
2433
  nodeDetailRef?: string | undefined;
2416
2434
  evidenceTypes?: string[] | undefined;
2417
2435
  } | undefined;
2436
+ hostRequirements?: {
2437
+ protocol: number;
2438
+ features: Record<string, number>;
2439
+ } | undefined;
2418
2440
  metrics?: {
2419
2441
  dimensionRefs: string[];
2420
2442
  metricRefs: string[];
2421
2443
  } | undefined;
2422
2444
  }, {
2423
2445
  key: string;
2446
+ title: string;
2447
+ version: string;
2448
+ lanes: {
2449
+ key: string;
2450
+ order: number;
2451
+ roleKey: string;
2452
+ label: string;
2453
+ }[];
2424
2454
  executionAuthority: "provider";
2425
2455
  providerRef: string;
2426
2456
  topology: {
2427
2457
  source: "provider";
2428
2458
  presentationAdapterRef: string;
2429
2459
  };
2430
- version: string;
2431
- title: string;
2432
2460
  projectTypes: {
2433
2461
  applicationKey: string;
2434
2462
  projectTypeKey: string;
@@ -2438,40 +2466,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2438
2466
  key: string;
2439
2467
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2440
2468
  }[];
2441
- lanes: {
2442
- key: string;
2443
- roleKey: string;
2444
- label: string;
2445
- order: number;
2446
- }[];
2447
2469
  stages: {
2448
2470
  key: string;
2449
- label: string;
2450
2471
  order: number;
2472
+ label: string;
2451
2473
  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;
2452
2474
  }[];
2453
- actionRefs?: string[] | undefined;
2454
- hostRequirements?: {
2455
- protocol: number;
2456
- features: Record<string, number>;
2457
- } | undefined;
2458
2475
  presentation?: {
2459
2476
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2460
2477
  nodeDetailRef?: string | undefined;
2461
2478
  evidenceTypes?: string[] | undefined;
2462
2479
  } | undefined;
2480
+ actionRefs?: string[] | undefined;
2481
+ hostRequirements?: {
2482
+ protocol: number;
2483
+ features: Record<string, number>;
2484
+ } | undefined;
2463
2485
  metrics?: {
2464
2486
  dimensionRefs: string[];
2465
2487
  metricRefs: string[];
2466
2488
  } | undefined;
2467
2489
  } | {
2468
2490
  key: string;
2491
+ title: string;
2492
+ version: string;
2493
+ lanes: {
2494
+ key: string;
2495
+ order: number;
2496
+ roleKey: string;
2497
+ label: string;
2498
+ }[];
2469
2499
  executionAuthority: "platform";
2470
2500
  topology: {
2471
2501
  source: "definition";
2472
2502
  };
2473
- version: string;
2474
- title: string;
2475
2503
  projectTypes: {
2476
2504
  applicationKey: string;
2477
2505
  projectTypeKey: string;
@@ -2481,26 +2509,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2481
2509
  key: string;
2482
2510
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
2483
2511
  }[];
2484
- lanes: {
2485
- key: string;
2486
- roleKey: string;
2487
- label: string;
2488
- order: number;
2489
- }[];
2490
2512
  stages: {
2491
2513
  key: string;
2492
- label: string;
2493
2514
  order: number;
2515
+ label: string;
2494
2516
  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;
2495
2517
  }[];
2496
2518
  nodes: ({
2497
- key: string;
2498
2519
  kind: "work";
2520
+ key: string;
2499
2521
  laneKey: string;
2500
2522
  operationRef: string;
2501
2523
  executorSlot: string;
2502
2524
  completionRef: string;
2503
2525
  stageKey: string;
2526
+ presentation?: {
2527
+ foldIntoApproval: string;
2528
+ } | undefined;
2504
2529
  label?: string | undefined;
2505
2530
  resourceResolverRef?: string | undefined;
2506
2531
  outputSchemaRef?: string | undefined;
@@ -2514,17 +2539,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2514
2539
  key: string;
2515
2540
  from: "parameter";
2516
2541
  } | {
2517
- from: "collection";
2518
2542
  items: {
2519
2543
  from: "node_output";
2520
2544
  nodeKey: string;
2521
2545
  port: string;
2522
2546
  }[];
2547
+ from: "collection";
2523
2548
  }> | undefined;
2524
2549
  outputPorts?: Record<string, string> | undefined;
2525
2550
  } | {
2526
- key: string;
2527
2551
  kind: "fork";
2552
+ key: string;
2528
2553
  stageKey: string;
2529
2554
  label?: string | undefined;
2530
2555
  inputBindings?: Record<string, {
@@ -2537,21 +2562,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2537
2562
  key: string;
2538
2563
  from: "parameter";
2539
2564
  } | {
2540
- from: "collection";
2541
2565
  items: {
2542
2566
  from: "node_output";
2543
2567
  nodeKey: string;
2544
2568
  port: string;
2545
2569
  }[];
2570
+ from: "collection";
2546
2571
  }> | undefined;
2547
2572
  outputPorts?: Record<string, string> | undefined;
2548
2573
  } | {
2574
+ kind: "join";
2575
+ key: string;
2549
2576
  join: {
2550
2577
  mode: "all_selected";
2551
2578
  accept: "completed";
2552
2579
  };
2553
- key: string;
2554
- kind: "join";
2555
2580
  stageKey: string;
2556
2581
  label?: string | undefined;
2557
2582
  inputBindings?: Record<string, {
@@ -2564,17 +2589,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2564
2589
  key: string;
2565
2590
  from: "parameter";
2566
2591
  } | {
2567
- from: "collection";
2568
2592
  items: {
2569
2593
  from: "node_output";
2570
2594
  nodeKey: string;
2571
2595
  port: string;
2572
2596
  }[];
2597
+ from: "collection";
2573
2598
  }> | undefined;
2574
2599
  outputPorts?: Record<string, string> | undefined;
2575
2600
  } | {
2576
- key: string;
2577
2601
  kind: "router";
2602
+ key: string;
2578
2603
  stageKey: string;
2579
2604
  policyRef: string;
2580
2605
  outcomes: string[];
@@ -2590,17 +2615,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2590
2615
  key: string;
2591
2616
  from: "parameter";
2592
2617
  } | {
2593
- from: "collection";
2594
2618
  items: {
2595
2619
  from: "node_output";
2596
2620
  nodeKey: string;
2597
2621
  port: string;
2598
2622
  }[];
2623
+ from: "collection";
2599
2624
  }> | undefined;
2600
2625
  outputPorts?: Record<string, string> | undefined;
2601
2626
  } | {
2602
- key: string;
2603
2627
  kind: "human_gate";
2628
+ key: string;
2604
2629
  laneKey: string;
2605
2630
  stageKey: string;
2606
2631
  policyRef: string;
@@ -2617,18 +2642,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2617
2642
  key: string;
2618
2643
  from: "parameter";
2619
2644
  } | {
2620
- from: "collection";
2621
2645
  items: {
2622
2646
  from: "node_output";
2623
2647
  nodeKey: string;
2624
2648
  port: string;
2625
2649
  }[];
2650
+ from: "collection";
2626
2651
  }> | undefined;
2627
2652
  outputPorts?: Record<string, string> | undefined;
2628
2653
  outcomeLabels?: Record<string, string> | undefined;
2629
2654
  } | {
2630
- key: string;
2631
2655
  kind: "external_wait";
2656
+ key: string;
2632
2657
  laneKey: string;
2633
2658
  stageKey: string;
2634
2659
  subscriptionRef: string;
@@ -2643,18 +2668,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2643
2668
  key: string;
2644
2669
  from: "parameter";
2645
2670
  } | {
2646
- from: "collection";
2647
2671
  items: {
2648
2672
  from: "node_output";
2649
2673
  nodeKey: string;
2650
2674
  port: string;
2651
2675
  }[];
2676
+ from: "collection";
2652
2677
  }> | undefined;
2653
2678
  outputPorts?: Record<string, string> | undefined;
2654
2679
  } | {
2680
+ kind: "terminal";
2655
2681
  key: string;
2656
2682
  outcome: string;
2657
- kind: "terminal";
2658
2683
  stageKey: string;
2659
2684
  label?: string | undefined;
2660
2685
  inputBindings?: Record<string, {
@@ -2667,12 +2692,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2667
2692
  key: string;
2668
2693
  from: "parameter";
2669
2694
  } | {
2670
- from: "collection";
2671
2695
  items: {
2672
2696
  from: "node_output";
2673
2697
  nodeKey: string;
2674
2698
  port: string;
2675
2699
  }[];
2700
+ from: "collection";
2676
2701
  }> | undefined;
2677
2702
  outputPorts?: Record<string, string> | undefined;
2678
2703
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -2694,15 +2719,15 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2694
2719
  requiredNodeFailure: "block_and_attention";
2695
2720
  unknownExecution: "inspect_without_replay";
2696
2721
  };
2697
- hostRequirements?: {
2698
- protocol: number;
2699
- features: Record<string, number>;
2700
- } | undefined;
2701
2722
  presentation?: {
2702
2723
  views: ("tasks" | "pipeline" | "agent_timeline")[];
2703
2724
  nodeDetailRef?: string | undefined;
2704
2725
  evidenceTypes?: string[] | undefined;
2705
2726
  } | undefined;
2727
+ hostRequirements?: {
2728
+ protocol: number;
2729
+ features: Record<string, number>;
2730
+ } | undefined;
2706
2731
  metrics?: {
2707
2732
  dimensionRefs: string[];
2708
2733
  metricRefs: string[];
@@ -2723,10 +2748,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2723
2748
  state: z.ZodEnum<["pending", "active", "waiting", "cancelling", "completed", "failed", "cancelled", "superseded"]>;
2724
2749
  }, "strict", z.ZodTypeAny, {
2725
2750
  key: string;
2726
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
2751
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
2727
2752
  }, {
2728
2753
  key: string;
2729
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
2754
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
2730
2755
  }>;
2731
2756
  round: z.ZodObject<{
2732
2757
  key: z.ZodString;
@@ -2753,7 +2778,7 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2753
2778
  }>, "many">;
2754
2779
  }, "strict", z.ZodTypeAny, {
2755
2780
  key: string;
2756
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
2781
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
2757
2782
  inputDigest: string;
2758
2783
  generation: number;
2759
2784
  sequence: number;
@@ -2766,7 +2791,7 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2766
2791
  supersedesKey?: string | undefined;
2767
2792
  }, {
2768
2793
  key: string;
2769
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
2794
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
2770
2795
  inputDigest: string;
2771
2796
  generation: number;
2772
2797
  sequence: number;
@@ -2793,17 +2818,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2793
2818
  freshness: z.ZodEnum<["current", "superseded"]>;
2794
2819
  runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
2795
2820
  }, "strict", z.ZodTypeAny, {
2796
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
2797
- readiness: "waiting" | "ready" | "blocked";
2821
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
2822
+ readiness: "blocked" | "waiting" | "ready";
2798
2823
  applicability: "undetermined" | "selected" | "excluded";
2799
2824
  freshness: "superseded" | "current";
2800
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
2825
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
2801
2826
  }, {
2802
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
2803
- readiness: "waiting" | "ready" | "blocked";
2827
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
2828
+ readiness: "blocked" | "waiting" | "ready";
2804
2829
  applicability: "undetermined" | "selected" | "excluded";
2805
2830
  freshness: "superseded" | "current";
2806
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
2831
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
2807
2832
  }>;
2808
2833
  /** A registered Project type resolves the destination again when opened. No URL or business parameters. */
2809
2834
  navigation: z.ZodOptional<z.ZodObject<{
@@ -2845,15 +2870,15 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2845
2870
  decidedAt: z.ZodOptional<z.ZodString>;
2846
2871
  version: z.ZodString;
2847
2872
  }, "strict", z.ZodTypeAny, {
2848
- label: string;
2849
2873
  outcome: string;
2850
2874
  version: string;
2875
+ label: string;
2851
2876
  reason: string;
2852
2877
  decidedAt?: string | undefined;
2853
2878
  }, {
2854
- label: string;
2855
2879
  outcome: string;
2856
2880
  version: string;
2881
+ label: string;
2857
2882
  reason: string;
2858
2883
  decidedAt?: string | undefined;
2859
2884
  }>>;
@@ -2871,9 +2896,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2871
2896
  label: string;
2872
2897
  }[] | undefined;
2873
2898
  decision?: {
2874
- label: string;
2875
2899
  outcome: string;
2876
2900
  version: string;
2901
+ label: string;
2877
2902
  reason: string;
2878
2903
  decidedAt?: string | undefined;
2879
2904
  } | undefined;
@@ -2891,9 +2916,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2891
2916
  label: string;
2892
2917
  }[] | undefined;
2893
2918
  decision?: {
2894
- label: string;
2895
2919
  outcome: string;
2896
2920
  version: string;
2921
+ label: string;
2897
2922
  reason: string;
2898
2923
  decidedAt?: string | undefined;
2899
2924
  } | undefined;
@@ -2923,18 +2948,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2923
2948
  producerOperationId?: string | undefined;
2924
2949
  }>, "many">;
2925
2950
  }, "strict", z.ZodTypeAny, {
2951
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
2926
2952
  key: string;
2953
+ title: string;
2927
2954
  nodeKey: string;
2928
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
2929
2955
  laneKey: string | null;
2930
2956
  stageKey: string;
2931
- title: string;
2932
2957
  state: {
2933
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
2934
- readiness: "waiting" | "ready" | "blocked";
2958
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
2959
+ readiness: "blocked" | "waiting" | "ready";
2935
2960
  applicability: "undetermined" | "selected" | "excluded";
2936
2961
  freshness: "superseded" | "current";
2937
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
2962
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
2938
2963
  };
2939
2964
  expansionKey: string;
2940
2965
  evidence: {
@@ -2960,9 +2985,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2960
2985
  label: string;
2961
2986
  }[] | undefined;
2962
2987
  decision?: {
2963
- label: string;
2964
2988
  outcome: string;
2965
2989
  version: string;
2990
+ label: string;
2966
2991
  reason: string;
2967
2992
  decidedAt?: string | undefined;
2968
2993
  } | undefined;
@@ -2971,18 +2996,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
2971
2996
  kind: "project_application";
2972
2997
  } | undefined;
2973
2998
  }, {
2999
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
2974
3000
  key: string;
3001
+ title: string;
2975
3002
  nodeKey: string;
2976
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
2977
3003
  laneKey: string | null;
2978
3004
  stageKey: string;
2979
- title: string;
2980
3005
  state: {
2981
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
2982
- readiness: "waiting" | "ready" | "blocked";
3006
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
3007
+ readiness: "blocked" | "waiting" | "ready";
2983
3008
  applicability: "undetermined" | "selected" | "excluded";
2984
3009
  freshness: "superseded" | "current";
2985
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
3010
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
2986
3011
  };
2987
3012
  expansionKey: string;
2988
3013
  evidence: {
@@ -3008,9 +3033,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3008
3033
  label: string;
3009
3034
  }[] | undefined;
3010
3035
  decision?: {
3011
- label: string;
3012
3036
  outcome: string;
3013
3037
  version: string;
3038
+ label: string;
3014
3039
  reason: string;
3015
3040
  decidedAt?: string | undefined;
3016
3041
  } | undefined;
@@ -3031,15 +3056,15 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3031
3056
  from: string;
3032
3057
  to: string;
3033
3058
  selection: "undetermined" | "selected" | "excluded";
3034
- label?: string | undefined;
3035
3059
  outcome?: string | undefined;
3060
+ label?: string | undefined;
3036
3061
  }, {
3037
3062
  key: string;
3038
3063
  from: string;
3039
3064
  to: string;
3040
3065
  selection: "undetermined" | "selected" | "excluded";
3041
- label?: string | undefined;
3042
3066
  outcome?: string | undefined;
3067
+ label?: string | undefined;
3043
3068
  }>, "many">;
3044
3069
  tasks: z.ZodArray<z.ZodObject<{
3045
3070
  key: z.ZodString;
@@ -3067,85 +3092,85 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3067
3092
  error: z.ZodOptional<z.ZodString>;
3068
3093
  outputSummary: z.ZodOptional<z.ZodString>;
3069
3094
  }, "strict", z.ZodTypeAny, {
3070
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3071
3095
  key: string;
3096
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3072
3097
  attempt: number;
3073
- xpertId?: string | undefined;
3074
- agentKey?: string | undefined;
3075
3098
  error?: string | undefined;
3076
3099
  startedAt?: string | undefined;
3100
+ threadId?: string | undefined;
3101
+ conversationId?: string | undefined;
3102
+ xpertId?: string | undefined;
3103
+ agentKey?: string | undefined;
3077
3104
  completedAt?: string | undefined;
3078
3105
  invocationId?: string | undefined;
3079
3106
  agentExecutionId?: string | undefined;
3080
- conversationId?: string | undefined;
3081
- threadId?: string | undefined;
3082
3107
  outputSummary?: string | undefined;
3083
3108
  }, {
3084
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3085
3109
  key: string;
3110
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3086
3111
  attempt: number;
3087
- xpertId?: string | undefined;
3088
- agentKey?: string | undefined;
3089
3112
  error?: string | undefined;
3090
3113
  startedAt?: string | undefined;
3114
+ threadId?: string | undefined;
3115
+ conversationId?: string | undefined;
3116
+ xpertId?: string | undefined;
3117
+ agentKey?: string | undefined;
3091
3118
  completedAt?: string | undefined;
3092
3119
  invocationId?: string | undefined;
3093
3120
  agentExecutionId?: string | undefined;
3094
- conversationId?: string | undefined;
3095
- threadId?: string | undefined;
3096
3121
  outputSummary?: string | undefined;
3097
3122
  }>, "many">;
3098
3123
  }, "strict", z.ZodTypeAny, {
3099
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
3100
- key: string;
3101
3124
  kind: "task" | "summary" | "milestone";
3125
+ key: string;
3126
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
3102
3127
  title: string;
3103
3128
  predecessorKeys: string[];
3104
3129
  executions: {
3105
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3106
3130
  key: string;
3131
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3107
3132
  attempt: number;
3108
- xpertId?: string | undefined;
3109
- agentKey?: string | undefined;
3110
3133
  error?: string | undefined;
3111
3134
  startedAt?: string | undefined;
3135
+ threadId?: string | undefined;
3136
+ conversationId?: string | undefined;
3137
+ xpertId?: string | undefined;
3138
+ agentKey?: string | undefined;
3112
3139
  completedAt?: string | undefined;
3113
3140
  invocationId?: string | undefined;
3114
3141
  agentExecutionId?: string | undefined;
3115
- conversationId?: string | undefined;
3116
- threadId?: string | undefined;
3117
3142
  outputSummary?: string | undefined;
3118
3143
  }[];
3144
+ diagnostic?: string | undefined;
3119
3145
  progress?: number | null | undefined;
3120
3146
  taskType?: string | null | undefined;
3121
3147
  parentKey?: string | undefined;
3122
- diagnostic?: string | undefined;
3123
3148
  assigneeXpertId?: string | undefined;
3124
3149
  }, {
3125
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
3126
- key: string;
3127
3150
  kind: "task" | "summary" | "milestone";
3151
+ key: string;
3152
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
3128
3153
  title: string;
3129
3154
  predecessorKeys: string[];
3130
3155
  executions: {
3131
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3132
3156
  key: string;
3157
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3133
3158
  attempt: number;
3134
- xpertId?: string | undefined;
3135
- agentKey?: string | undefined;
3136
3159
  error?: string | undefined;
3137
3160
  startedAt?: string | undefined;
3161
+ threadId?: string | undefined;
3162
+ conversationId?: string | undefined;
3163
+ xpertId?: string | undefined;
3164
+ agentKey?: string | undefined;
3138
3165
  completedAt?: string | undefined;
3139
3166
  invocationId?: string | undefined;
3140
3167
  agentExecutionId?: string | undefined;
3141
- conversationId?: string | undefined;
3142
- threadId?: string | undefined;
3143
3168
  outputSummary?: string | undefined;
3144
3169
  }[];
3170
+ diagnostic?: string | undefined;
3145
3171
  progress?: number | null | undefined;
3146
3172
  taskType?: string | null | undefined;
3147
3173
  parentKey?: string | undefined;
3148
- diagnostic?: string | undefined;
3149
3174
  assigneeXpertId?: string | undefined;
3150
3175
  }>, "many">;
3151
3176
  taskTombstones: z.ZodArray<z.ZodObject<{
@@ -3169,48 +3194,55 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3169
3194
  reason: "superseded" | "excluded" | "removed";
3170
3195
  }>, "many">;
3171
3196
  }, "strict", z.ZodTypeAny, {
3197
+ schemaVersion: 1;
3172
3198
  subject: {
3173
3199
  resolverRef: string;
3174
3200
  objectKey: string;
3175
3201
  };
3202
+ title: string;
3176
3203
  tasks: {
3177
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
3178
- key: string;
3179
3204
  kind: "task" | "summary" | "milestone";
3205
+ key: string;
3206
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
3180
3207
  title: string;
3181
3208
  predecessorKeys: string[];
3182
3209
  executions: {
3183
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3184
3210
  key: string;
3211
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3185
3212
  attempt: number;
3186
- xpertId?: string | undefined;
3187
- agentKey?: string | undefined;
3188
3213
  error?: string | undefined;
3189
3214
  startedAt?: string | undefined;
3215
+ threadId?: string | undefined;
3216
+ conversationId?: string | undefined;
3217
+ xpertId?: string | undefined;
3218
+ agentKey?: string | undefined;
3190
3219
  completedAt?: string | undefined;
3191
3220
  invocationId?: string | undefined;
3192
3221
  agentExecutionId?: string | undefined;
3193
- conversationId?: string | undefined;
3194
- threadId?: string | undefined;
3195
3222
  outputSummary?: string | undefined;
3196
3223
  }[];
3224
+ diagnostic?: string | undefined;
3197
3225
  progress?: number | null | undefined;
3198
3226
  taskType?: string | null | undefined;
3199
3227
  parentKey?: string | undefined;
3200
- diagnostic?: string | undefined;
3201
3228
  assigneeXpertId?: string | undefined;
3202
3229
  }[];
3203
- title: string;
3204
3230
  definition: {
3205
3231
  key: string;
3232
+ title: string;
3233
+ version: string;
3234
+ lanes: {
3235
+ key: string;
3236
+ order: number;
3237
+ roleKey: string;
3238
+ label: string;
3239
+ }[];
3206
3240
  executionAuthority: "provider";
3207
3241
  providerRef: string;
3208
3242
  topology: {
3209
3243
  source: "provider";
3210
3244
  presentationAdapterRef: string;
3211
3245
  };
3212
- version: string;
3213
- title: string;
3214
3246
  projectTypes: {
3215
3247
  applicationKey: string;
3216
3248
  projectTypeKey: string;
@@ -3220,40 +3252,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3220
3252
  key: string;
3221
3253
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3222
3254
  }[];
3223
- lanes: {
3224
- key: string;
3225
- roleKey: string;
3226
- label: string;
3227
- order: number;
3228
- }[];
3229
3255
  stages: {
3230
3256
  key: string;
3231
- label: string;
3232
3257
  order: number;
3258
+ label: string;
3233
3259
  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;
3234
3260
  }[];
3235
- actionRefs?: string[] | undefined;
3236
- hostRequirements?: {
3237
- protocol: number;
3238
- features: Record<string, number>;
3239
- } | undefined;
3240
3261
  presentation?: {
3241
3262
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3242
3263
  nodeDetailRef?: string | undefined;
3243
3264
  evidenceTypes?: string[] | undefined;
3244
3265
  } | undefined;
3266
+ actionRefs?: string[] | undefined;
3267
+ hostRequirements?: {
3268
+ protocol: number;
3269
+ features: Record<string, number>;
3270
+ } | undefined;
3245
3271
  metrics?: {
3246
3272
  dimensionRefs: string[];
3247
3273
  metricRefs: string[];
3248
3274
  } | undefined;
3249
3275
  } | {
3250
3276
  key: string;
3277
+ title: string;
3278
+ version: string;
3279
+ lanes: {
3280
+ key: string;
3281
+ order: number;
3282
+ roleKey: string;
3283
+ label: string;
3284
+ }[];
3251
3285
  executionAuthority: "platform";
3252
3286
  topology: {
3253
3287
  source: "definition";
3254
3288
  };
3255
- version: string;
3256
- title: string;
3257
3289
  projectTypes: {
3258
3290
  applicationKey: string;
3259
3291
  projectTypeKey: string;
@@ -3263,26 +3295,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3263
3295
  key: string;
3264
3296
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3265
3297
  }[];
3266
- lanes: {
3267
- key: string;
3268
- roleKey: string;
3269
- label: string;
3270
- order: number;
3271
- }[];
3272
3298
  stages: {
3273
3299
  key: string;
3274
- label: string;
3275
3300
  order: number;
3301
+ label: string;
3276
3302
  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;
3277
3303
  }[];
3278
3304
  nodes: ({
3279
- key: string;
3280
3305
  kind: "work";
3306
+ key: string;
3281
3307
  laneKey: string;
3282
3308
  operationRef: string;
3283
3309
  executorSlot: string;
3284
3310
  completionRef: string;
3285
3311
  stageKey: string;
3312
+ presentation?: {
3313
+ foldIntoApproval: string;
3314
+ } | undefined;
3286
3315
  label?: string | undefined;
3287
3316
  resourceResolverRef?: string | undefined;
3288
3317
  outputSchemaRef?: string | undefined;
@@ -3296,17 +3325,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3296
3325
  key: string;
3297
3326
  from: "parameter";
3298
3327
  } | {
3299
- from: "collection";
3300
3328
  items: {
3301
3329
  from: "node_output";
3302
3330
  nodeKey: string;
3303
3331
  port: string;
3304
3332
  }[];
3333
+ from: "collection";
3305
3334
  }> | undefined;
3306
3335
  outputPorts?: Record<string, string> | undefined;
3307
3336
  } | {
3308
- key: string;
3309
3337
  kind: "fork";
3338
+ key: string;
3310
3339
  stageKey: string;
3311
3340
  label?: string | undefined;
3312
3341
  inputBindings?: Record<string, {
@@ -3319,21 +3348,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3319
3348
  key: string;
3320
3349
  from: "parameter";
3321
3350
  } | {
3322
- from: "collection";
3323
3351
  items: {
3324
3352
  from: "node_output";
3325
3353
  nodeKey: string;
3326
3354
  port: string;
3327
3355
  }[];
3356
+ from: "collection";
3328
3357
  }> | undefined;
3329
3358
  outputPorts?: Record<string, string> | undefined;
3330
3359
  } | {
3360
+ kind: "join";
3361
+ key: string;
3331
3362
  join: {
3332
3363
  mode: "all_selected";
3333
3364
  accept: "completed";
3334
3365
  };
3335
- key: string;
3336
- kind: "join";
3337
3366
  stageKey: string;
3338
3367
  label?: string | undefined;
3339
3368
  inputBindings?: Record<string, {
@@ -3346,17 +3375,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3346
3375
  key: string;
3347
3376
  from: "parameter";
3348
3377
  } | {
3349
- from: "collection";
3350
3378
  items: {
3351
3379
  from: "node_output";
3352
3380
  nodeKey: string;
3353
3381
  port: string;
3354
3382
  }[];
3383
+ from: "collection";
3355
3384
  }> | undefined;
3356
3385
  outputPorts?: Record<string, string> | undefined;
3357
3386
  } | {
3358
- key: string;
3359
3387
  kind: "router";
3388
+ key: string;
3360
3389
  stageKey: string;
3361
3390
  policyRef: string;
3362
3391
  outcomes: string[];
@@ -3372,17 +3401,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3372
3401
  key: string;
3373
3402
  from: "parameter";
3374
3403
  } | {
3375
- from: "collection";
3376
3404
  items: {
3377
3405
  from: "node_output";
3378
3406
  nodeKey: string;
3379
3407
  port: string;
3380
3408
  }[];
3409
+ from: "collection";
3381
3410
  }> | undefined;
3382
3411
  outputPorts?: Record<string, string> | undefined;
3383
3412
  } | {
3384
- key: string;
3385
3413
  kind: "human_gate";
3414
+ key: string;
3386
3415
  laneKey: string;
3387
3416
  stageKey: string;
3388
3417
  policyRef: string;
@@ -3399,18 +3428,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3399
3428
  key: string;
3400
3429
  from: "parameter";
3401
3430
  } | {
3402
- from: "collection";
3403
3431
  items: {
3404
3432
  from: "node_output";
3405
3433
  nodeKey: string;
3406
3434
  port: string;
3407
3435
  }[];
3436
+ from: "collection";
3408
3437
  }> | undefined;
3409
3438
  outputPorts?: Record<string, string> | undefined;
3410
3439
  outcomeLabels?: Record<string, string> | undefined;
3411
3440
  } | {
3412
- key: string;
3413
3441
  kind: "external_wait";
3442
+ key: string;
3414
3443
  laneKey: string;
3415
3444
  stageKey: string;
3416
3445
  subscriptionRef: string;
@@ -3425,18 +3454,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3425
3454
  key: string;
3426
3455
  from: "parameter";
3427
3456
  } | {
3428
- from: "collection";
3429
3457
  items: {
3430
3458
  from: "node_output";
3431
3459
  nodeKey: string;
3432
3460
  port: string;
3433
3461
  }[];
3462
+ from: "collection";
3434
3463
  }> | undefined;
3435
3464
  outputPorts?: Record<string, string> | undefined;
3436
3465
  } | {
3466
+ kind: "terminal";
3437
3467
  key: string;
3438
3468
  outcome: string;
3439
- kind: "terminal";
3440
3469
  stageKey: string;
3441
3470
  label?: string | undefined;
3442
3471
  inputBindings?: Record<string, {
@@ -3449,12 +3478,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3449
3478
  key: string;
3450
3479
  from: "parameter";
3451
3480
  } | {
3452
- from: "collection";
3453
3481
  items: {
3454
3482
  from: "node_output";
3455
3483
  nodeKey: string;
3456
3484
  port: string;
3457
3485
  }[];
3486
+ from: "collection";
3458
3487
  }> | undefined;
3459
3488
  outputPorts?: Record<string, string> | undefined;
3460
3489
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3476,33 +3505,33 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3476
3505
  requiredNodeFailure: "block_and_attention";
3477
3506
  unknownExecution: "inspect_without_replay";
3478
3507
  };
3479
- hostRequirements?: {
3480
- protocol: number;
3481
- features: Record<string, number>;
3482
- } | undefined;
3483
3508
  presentation?: {
3484
3509
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3485
3510
  nodeDetailRef?: string | undefined;
3486
3511
  evidenceTypes?: string[] | undefined;
3487
3512
  } | undefined;
3513
+ hostRequirements?: {
3514
+ protocol: number;
3515
+ features: Record<string, number>;
3516
+ } | undefined;
3488
3517
  metrics?: {
3489
3518
  dimensionRefs: string[];
3490
3519
  metricRefs: string[];
3491
3520
  } | undefined;
3492
3521
  };
3493
3522
  nodes: {
3523
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
3494
3524
  key: string;
3525
+ title: string;
3495
3526
  nodeKey: string;
3496
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
3497
3527
  laneKey: string | null;
3498
3528
  stageKey: string;
3499
- title: string;
3500
3529
  state: {
3501
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
3502
- readiness: "waiting" | "ready" | "blocked";
3530
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
3531
+ readiness: "blocked" | "waiting" | "ready";
3503
3532
  applicability: "undetermined" | "selected" | "excluded";
3504
3533
  freshness: "superseded" | "current";
3505
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
3534
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
3506
3535
  };
3507
3536
  expansionKey: string;
3508
3537
  evidence: {
@@ -3528,9 +3557,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3528
3557
  label: string;
3529
3558
  }[] | undefined;
3530
3559
  decision?: {
3531
- label: string;
3532
3560
  outcome: string;
3533
3561
  version: string;
3562
+ label: string;
3534
3563
  reason: string;
3535
3564
  decidedAt?: string | undefined;
3536
3565
  } | undefined;
@@ -3544,20 +3573,19 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3544
3573
  from: string;
3545
3574
  to: string;
3546
3575
  selection: "undetermined" | "selected" | "excluded";
3547
- label?: string | undefined;
3548
3576
  outcome?: string | undefined;
3577
+ label?: string | undefined;
3549
3578
  }[];
3550
- schemaVersion: 1;
3551
3579
  sourceKey: string;
3552
3580
  sourceEpoch: string;
3553
3581
  sourceSequence: number;
3554
3582
  run: {
3555
3583
  key: string;
3556
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
3584
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
3557
3585
  };
3558
3586
  round: {
3559
3587
  key: string;
3560
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
3588
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
3561
3589
  inputDigest: string;
3562
3590
  generation: number;
3563
3591
  sequence: number;
@@ -3578,48 +3606,55 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3578
3606
  reason: "superseded" | "excluded" | "removed";
3579
3607
  }[];
3580
3608
  }, {
3609
+ schemaVersion: 1;
3581
3610
  subject: {
3582
3611
  resolverRef: string;
3583
3612
  objectKey: string;
3584
3613
  };
3614
+ title: string;
3585
3615
  tasks: {
3586
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
3587
- key: string;
3588
3616
  kind: "task" | "summary" | "milestone";
3617
+ key: string;
3618
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
3589
3619
  title: string;
3590
3620
  predecessorKeys: string[];
3591
3621
  executions: {
3592
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3593
3622
  key: string;
3623
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
3594
3624
  attempt: number;
3595
- xpertId?: string | undefined;
3596
- agentKey?: string | undefined;
3597
3625
  error?: string | undefined;
3598
3626
  startedAt?: string | undefined;
3627
+ threadId?: string | undefined;
3628
+ conversationId?: string | undefined;
3629
+ xpertId?: string | undefined;
3630
+ agentKey?: string | undefined;
3599
3631
  completedAt?: string | undefined;
3600
3632
  invocationId?: string | undefined;
3601
3633
  agentExecutionId?: string | undefined;
3602
- conversationId?: string | undefined;
3603
- threadId?: string | undefined;
3604
3634
  outputSummary?: string | undefined;
3605
3635
  }[];
3636
+ diagnostic?: string | undefined;
3606
3637
  progress?: number | null | undefined;
3607
3638
  taskType?: string | null | undefined;
3608
3639
  parentKey?: string | undefined;
3609
- diagnostic?: string | undefined;
3610
3640
  assigneeXpertId?: string | undefined;
3611
3641
  }[];
3612
- title: string;
3613
3642
  definition: {
3614
3643
  key: string;
3644
+ title: string;
3645
+ version: string;
3646
+ lanes: {
3647
+ key: string;
3648
+ order: number;
3649
+ roleKey: string;
3650
+ label: string;
3651
+ }[];
3615
3652
  executionAuthority: "provider";
3616
3653
  providerRef: string;
3617
3654
  topology: {
3618
3655
  source: "provider";
3619
3656
  presentationAdapterRef: string;
3620
3657
  };
3621
- version: string;
3622
- title: string;
3623
3658
  projectTypes: {
3624
3659
  applicationKey: string;
3625
3660
  projectTypeKey: string;
@@ -3629,40 +3664,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3629
3664
  key: string;
3630
3665
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3631
3666
  }[];
3632
- lanes: {
3633
- key: string;
3634
- roleKey: string;
3635
- label: string;
3636
- order: number;
3637
- }[];
3638
3667
  stages: {
3639
3668
  key: string;
3640
- label: string;
3641
3669
  order: number;
3670
+ label: string;
3642
3671
  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;
3643
3672
  }[];
3644
- actionRefs?: string[] | undefined;
3645
- hostRequirements?: {
3646
- protocol: number;
3647
- features: Record<string, number>;
3648
- } | undefined;
3649
3673
  presentation?: {
3650
3674
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3651
3675
  nodeDetailRef?: string | undefined;
3652
3676
  evidenceTypes?: string[] | undefined;
3653
3677
  } | undefined;
3678
+ actionRefs?: string[] | undefined;
3679
+ hostRequirements?: {
3680
+ protocol: number;
3681
+ features: Record<string, number>;
3682
+ } | undefined;
3654
3683
  metrics?: {
3655
3684
  dimensionRefs: string[];
3656
3685
  metricRefs: string[];
3657
3686
  } | undefined;
3658
3687
  } | {
3659
3688
  key: string;
3689
+ title: string;
3690
+ version: string;
3691
+ lanes: {
3692
+ key: string;
3693
+ order: number;
3694
+ roleKey: string;
3695
+ label: string;
3696
+ }[];
3660
3697
  executionAuthority: "platform";
3661
3698
  topology: {
3662
3699
  source: "definition";
3663
3700
  };
3664
- version: string;
3665
- title: string;
3666
3701
  projectTypes: {
3667
3702
  applicationKey: string;
3668
3703
  projectTypeKey: string;
@@ -3672,26 +3707,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3672
3707
  key: string;
3673
3708
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
3674
3709
  }[];
3675
- lanes: {
3676
- key: string;
3677
- roleKey: string;
3678
- label: string;
3679
- order: number;
3680
- }[];
3681
3710
  stages: {
3682
3711
  key: string;
3683
- label: string;
3684
3712
  order: number;
3713
+ label: string;
3685
3714
  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;
3686
3715
  }[];
3687
3716
  nodes: ({
3688
- key: string;
3689
3717
  kind: "work";
3718
+ key: string;
3690
3719
  laneKey: string;
3691
3720
  operationRef: string;
3692
3721
  executorSlot: string;
3693
3722
  completionRef: string;
3694
3723
  stageKey: string;
3724
+ presentation?: {
3725
+ foldIntoApproval: string;
3726
+ } | undefined;
3695
3727
  label?: string | undefined;
3696
3728
  resourceResolverRef?: string | undefined;
3697
3729
  outputSchemaRef?: string | undefined;
@@ -3705,17 +3737,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3705
3737
  key: string;
3706
3738
  from: "parameter";
3707
3739
  } | {
3708
- from: "collection";
3709
3740
  items: {
3710
3741
  from: "node_output";
3711
3742
  nodeKey: string;
3712
3743
  port: string;
3713
3744
  }[];
3745
+ from: "collection";
3714
3746
  }> | undefined;
3715
3747
  outputPorts?: Record<string, string> | undefined;
3716
3748
  } | {
3717
- key: string;
3718
3749
  kind: "fork";
3750
+ key: string;
3719
3751
  stageKey: string;
3720
3752
  label?: string | undefined;
3721
3753
  inputBindings?: Record<string, {
@@ -3728,21 +3760,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3728
3760
  key: string;
3729
3761
  from: "parameter";
3730
3762
  } | {
3731
- from: "collection";
3732
3763
  items: {
3733
3764
  from: "node_output";
3734
3765
  nodeKey: string;
3735
3766
  port: string;
3736
3767
  }[];
3768
+ from: "collection";
3737
3769
  }> | undefined;
3738
3770
  outputPorts?: Record<string, string> | undefined;
3739
3771
  } | {
3772
+ kind: "join";
3773
+ key: string;
3740
3774
  join: {
3741
3775
  mode: "all_selected";
3742
3776
  accept: "completed";
3743
3777
  };
3744
- key: string;
3745
- kind: "join";
3746
3778
  stageKey: string;
3747
3779
  label?: string | undefined;
3748
3780
  inputBindings?: Record<string, {
@@ -3755,17 +3787,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3755
3787
  key: string;
3756
3788
  from: "parameter";
3757
3789
  } | {
3758
- from: "collection";
3759
3790
  items: {
3760
3791
  from: "node_output";
3761
3792
  nodeKey: string;
3762
3793
  port: string;
3763
3794
  }[];
3795
+ from: "collection";
3764
3796
  }> | undefined;
3765
3797
  outputPorts?: Record<string, string> | undefined;
3766
3798
  } | {
3767
- key: string;
3768
3799
  kind: "router";
3800
+ key: string;
3769
3801
  stageKey: string;
3770
3802
  policyRef: string;
3771
3803
  outcomes: string[];
@@ -3781,17 +3813,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3781
3813
  key: string;
3782
3814
  from: "parameter";
3783
3815
  } | {
3784
- from: "collection";
3785
3816
  items: {
3786
3817
  from: "node_output";
3787
3818
  nodeKey: string;
3788
3819
  port: string;
3789
3820
  }[];
3821
+ from: "collection";
3790
3822
  }> | undefined;
3791
3823
  outputPorts?: Record<string, string> | undefined;
3792
3824
  } | {
3793
- key: string;
3794
3825
  kind: "human_gate";
3826
+ key: string;
3795
3827
  laneKey: string;
3796
3828
  stageKey: string;
3797
3829
  policyRef: string;
@@ -3808,18 +3840,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3808
3840
  key: string;
3809
3841
  from: "parameter";
3810
3842
  } | {
3811
- from: "collection";
3812
3843
  items: {
3813
3844
  from: "node_output";
3814
3845
  nodeKey: string;
3815
3846
  port: string;
3816
3847
  }[];
3848
+ from: "collection";
3817
3849
  }> | undefined;
3818
3850
  outputPorts?: Record<string, string> | undefined;
3819
3851
  outcomeLabels?: Record<string, string> | undefined;
3820
3852
  } | {
3821
- key: string;
3822
3853
  kind: "external_wait";
3854
+ key: string;
3823
3855
  laneKey: string;
3824
3856
  stageKey: string;
3825
3857
  subscriptionRef: string;
@@ -3834,18 +3866,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3834
3866
  key: string;
3835
3867
  from: "parameter";
3836
3868
  } | {
3837
- from: "collection";
3838
3869
  items: {
3839
3870
  from: "node_output";
3840
3871
  nodeKey: string;
3841
3872
  port: string;
3842
3873
  }[];
3874
+ from: "collection";
3843
3875
  }> | undefined;
3844
3876
  outputPorts?: Record<string, string> | undefined;
3845
3877
  } | {
3878
+ kind: "terminal";
3846
3879
  key: string;
3847
3880
  outcome: string;
3848
- kind: "terminal";
3849
3881
  stageKey: string;
3850
3882
  label?: string | undefined;
3851
3883
  inputBindings?: Record<string, {
@@ -3858,12 +3890,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3858
3890
  key: string;
3859
3891
  from: "parameter";
3860
3892
  } | {
3861
- from: "collection";
3862
3893
  items: {
3863
3894
  from: "node_output";
3864
3895
  nodeKey: string;
3865
3896
  port: string;
3866
3897
  }[];
3898
+ from: "collection";
3867
3899
  }> | undefined;
3868
3900
  outputPorts?: Record<string, string> | undefined;
3869
3901
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -3885,33 +3917,33 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3885
3917
  requiredNodeFailure: "block_and_attention";
3886
3918
  unknownExecution: "inspect_without_replay";
3887
3919
  };
3888
- hostRequirements?: {
3889
- protocol: number;
3890
- features: Record<string, number>;
3891
- } | undefined;
3892
3920
  presentation?: {
3893
3921
  views: ("tasks" | "pipeline" | "agent_timeline")[];
3894
3922
  nodeDetailRef?: string | undefined;
3895
3923
  evidenceTypes?: string[] | undefined;
3896
3924
  } | undefined;
3925
+ hostRequirements?: {
3926
+ protocol: number;
3927
+ features: Record<string, number>;
3928
+ } | undefined;
3897
3929
  metrics?: {
3898
3930
  dimensionRefs: string[];
3899
3931
  metricRefs: string[];
3900
3932
  } | undefined;
3901
3933
  };
3902
3934
  nodes: {
3935
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
3903
3936
  key: string;
3937
+ title: string;
3904
3938
  nodeKey: string;
3905
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
3906
3939
  laneKey: string | null;
3907
3940
  stageKey: string;
3908
- title: string;
3909
3941
  state: {
3910
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
3911
- readiness: "waiting" | "ready" | "blocked";
3942
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
3943
+ readiness: "blocked" | "waiting" | "ready";
3912
3944
  applicability: "undetermined" | "selected" | "excluded";
3913
3945
  freshness: "superseded" | "current";
3914
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
3946
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
3915
3947
  };
3916
3948
  expansionKey: string;
3917
3949
  evidence: {
@@ -3937,9 +3969,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3937
3969
  label: string;
3938
3970
  }[] | undefined;
3939
3971
  decision?: {
3940
- label: string;
3941
3972
  outcome: string;
3942
3973
  version: string;
3974
+ label: string;
3943
3975
  reason: string;
3944
3976
  decidedAt?: string | undefined;
3945
3977
  } | undefined;
@@ -3953,20 +3985,19 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3953
3985
  from: string;
3954
3986
  to: string;
3955
3987
  selection: "undetermined" | "selected" | "excluded";
3956
- label?: string | undefined;
3957
3988
  outcome?: string | undefined;
3989
+ label?: string | undefined;
3958
3990
  }[];
3959
- schemaVersion: 1;
3960
3991
  sourceKey: string;
3961
3992
  sourceEpoch: string;
3962
3993
  sourceSequence: number;
3963
3994
  run: {
3964
3995
  key: string;
3965
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
3996
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
3966
3997
  };
3967
3998
  round: {
3968
3999
  key: string;
3969
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
4000
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
3970
4001
  inputDigest: string;
3971
4002
  generation: number;
3972
4003
  sequence: number;
@@ -3987,48 +4018,55 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
3987
4018
  reason: "superseded" | "excluded" | "removed";
3988
4019
  }[];
3989
4020
  }>, {
4021
+ schemaVersion: 1;
3990
4022
  subject: {
3991
4023
  resolverRef: string;
3992
4024
  objectKey: string;
3993
4025
  };
4026
+ title: string;
3994
4027
  tasks: {
3995
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
3996
- key: string;
3997
4028
  kind: "task" | "summary" | "milestone";
4029
+ key: string;
4030
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
3998
4031
  title: string;
3999
4032
  predecessorKeys: string[];
4000
4033
  executions: {
4001
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4002
4034
  key: string;
4035
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
4003
4036
  attempt: number;
4004
- xpertId?: string | undefined;
4005
- agentKey?: string | undefined;
4006
4037
  error?: string | undefined;
4007
4038
  startedAt?: string | undefined;
4039
+ threadId?: string | undefined;
4040
+ conversationId?: string | undefined;
4041
+ xpertId?: string | undefined;
4042
+ agentKey?: string | undefined;
4008
4043
  completedAt?: string | undefined;
4009
4044
  invocationId?: string | undefined;
4010
4045
  agentExecutionId?: string | undefined;
4011
- conversationId?: string | undefined;
4012
- threadId?: string | undefined;
4013
4046
  outputSummary?: string | undefined;
4014
4047
  }[];
4048
+ diagnostic?: string | undefined;
4015
4049
  progress?: number | null | undefined;
4016
4050
  taskType?: string | null | undefined;
4017
4051
  parentKey?: string | undefined;
4018
- diagnostic?: string | undefined;
4019
4052
  assigneeXpertId?: string | undefined;
4020
4053
  }[];
4021
- title: string;
4022
4054
  definition: {
4023
4055
  key: string;
4056
+ title: string;
4057
+ version: string;
4058
+ lanes: {
4059
+ key: string;
4060
+ order: number;
4061
+ roleKey: string;
4062
+ label: string;
4063
+ }[];
4024
4064
  executionAuthority: "provider";
4025
4065
  providerRef: string;
4026
4066
  topology: {
4027
4067
  source: "provider";
4028
4068
  presentationAdapterRef: string;
4029
4069
  };
4030
- version: string;
4031
- title: string;
4032
4070
  projectTypes: {
4033
4071
  applicationKey: string;
4034
4072
  projectTypeKey: string;
@@ -4038,40 +4076,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4038
4076
  key: string;
4039
4077
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4040
4078
  }[];
4041
- lanes: {
4042
- key: string;
4043
- roleKey: string;
4044
- label: string;
4045
- order: number;
4046
- }[];
4047
4079
  stages: {
4048
4080
  key: string;
4049
- label: string;
4050
4081
  order: number;
4082
+ label: string;
4051
4083
  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;
4052
4084
  }[];
4053
- actionRefs?: string[] | undefined;
4054
- hostRequirements?: {
4055
- protocol: number;
4056
- features: Record<string, number>;
4057
- } | undefined;
4058
4085
  presentation?: {
4059
4086
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4060
4087
  nodeDetailRef?: string | undefined;
4061
4088
  evidenceTypes?: string[] | undefined;
4062
4089
  } | undefined;
4090
+ actionRefs?: string[] | undefined;
4091
+ hostRequirements?: {
4092
+ protocol: number;
4093
+ features: Record<string, number>;
4094
+ } | undefined;
4063
4095
  metrics?: {
4064
4096
  dimensionRefs: string[];
4065
4097
  metricRefs: string[];
4066
4098
  } | undefined;
4067
4099
  } | {
4068
4100
  key: string;
4101
+ title: string;
4102
+ version: string;
4103
+ lanes: {
4104
+ key: string;
4105
+ order: number;
4106
+ roleKey: string;
4107
+ label: string;
4108
+ }[];
4069
4109
  executionAuthority: "platform";
4070
4110
  topology: {
4071
4111
  source: "definition";
4072
4112
  };
4073
- version: string;
4074
- title: string;
4075
4113
  projectTypes: {
4076
4114
  applicationKey: string;
4077
4115
  projectTypeKey: string;
@@ -4081,26 +4119,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4081
4119
  key: string;
4082
4120
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4083
4121
  }[];
4084
- lanes: {
4085
- key: string;
4086
- roleKey: string;
4087
- label: string;
4088
- order: number;
4089
- }[];
4090
4122
  stages: {
4091
4123
  key: string;
4092
- label: string;
4093
4124
  order: number;
4125
+ label: string;
4094
4126
  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;
4095
4127
  }[];
4096
4128
  nodes: ({
4097
- key: string;
4098
4129
  kind: "work";
4130
+ key: string;
4099
4131
  laneKey: string;
4100
4132
  operationRef: string;
4101
4133
  executorSlot: string;
4102
4134
  completionRef: string;
4103
4135
  stageKey: string;
4136
+ presentation?: {
4137
+ foldIntoApproval: string;
4138
+ } | undefined;
4104
4139
  label?: string | undefined;
4105
4140
  resourceResolverRef?: string | undefined;
4106
4141
  outputSchemaRef?: string | undefined;
@@ -4114,17 +4149,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4114
4149
  key: string;
4115
4150
  from: "parameter";
4116
4151
  } | {
4117
- from: "collection";
4118
4152
  items: {
4119
4153
  from: "node_output";
4120
4154
  nodeKey: string;
4121
4155
  port: string;
4122
4156
  }[];
4157
+ from: "collection";
4123
4158
  }> | undefined;
4124
4159
  outputPorts?: Record<string, string> | undefined;
4125
4160
  } | {
4126
- key: string;
4127
4161
  kind: "fork";
4162
+ key: string;
4128
4163
  stageKey: string;
4129
4164
  label?: string | undefined;
4130
4165
  inputBindings?: Record<string, {
@@ -4137,21 +4172,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4137
4172
  key: string;
4138
4173
  from: "parameter";
4139
4174
  } | {
4140
- from: "collection";
4141
4175
  items: {
4142
4176
  from: "node_output";
4143
4177
  nodeKey: string;
4144
4178
  port: string;
4145
4179
  }[];
4180
+ from: "collection";
4146
4181
  }> | undefined;
4147
4182
  outputPorts?: Record<string, string> | undefined;
4148
4183
  } | {
4184
+ kind: "join";
4185
+ key: string;
4149
4186
  join: {
4150
4187
  mode: "all_selected";
4151
4188
  accept: "completed";
4152
4189
  };
4153
- key: string;
4154
- kind: "join";
4155
4190
  stageKey: string;
4156
4191
  label?: string | undefined;
4157
4192
  inputBindings?: Record<string, {
@@ -4164,17 +4199,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4164
4199
  key: string;
4165
4200
  from: "parameter";
4166
4201
  } | {
4167
- from: "collection";
4168
4202
  items: {
4169
4203
  from: "node_output";
4170
4204
  nodeKey: string;
4171
4205
  port: string;
4172
4206
  }[];
4207
+ from: "collection";
4173
4208
  }> | undefined;
4174
4209
  outputPorts?: Record<string, string> | undefined;
4175
4210
  } | {
4176
- key: string;
4177
4211
  kind: "router";
4212
+ key: string;
4178
4213
  stageKey: string;
4179
4214
  policyRef: string;
4180
4215
  outcomes: string[];
@@ -4190,17 +4225,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4190
4225
  key: string;
4191
4226
  from: "parameter";
4192
4227
  } | {
4193
- from: "collection";
4194
4228
  items: {
4195
4229
  from: "node_output";
4196
4230
  nodeKey: string;
4197
4231
  port: string;
4198
4232
  }[];
4233
+ from: "collection";
4199
4234
  }> | undefined;
4200
4235
  outputPorts?: Record<string, string> | undefined;
4201
4236
  } | {
4202
- key: string;
4203
4237
  kind: "human_gate";
4238
+ key: string;
4204
4239
  laneKey: string;
4205
4240
  stageKey: string;
4206
4241
  policyRef: string;
@@ -4217,18 +4252,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4217
4252
  key: string;
4218
4253
  from: "parameter";
4219
4254
  } | {
4220
- from: "collection";
4221
4255
  items: {
4222
4256
  from: "node_output";
4223
4257
  nodeKey: string;
4224
4258
  port: string;
4225
4259
  }[];
4260
+ from: "collection";
4226
4261
  }> | undefined;
4227
4262
  outputPorts?: Record<string, string> | undefined;
4228
4263
  outcomeLabels?: Record<string, string> | undefined;
4229
4264
  } | {
4230
- key: string;
4231
4265
  kind: "external_wait";
4266
+ key: string;
4232
4267
  laneKey: string;
4233
4268
  stageKey: string;
4234
4269
  subscriptionRef: string;
@@ -4243,18 +4278,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4243
4278
  key: string;
4244
4279
  from: "parameter";
4245
4280
  } | {
4246
- from: "collection";
4247
4281
  items: {
4248
4282
  from: "node_output";
4249
4283
  nodeKey: string;
4250
4284
  port: string;
4251
4285
  }[];
4286
+ from: "collection";
4252
4287
  }> | undefined;
4253
4288
  outputPorts?: Record<string, string> | undefined;
4254
4289
  } | {
4290
+ kind: "terminal";
4255
4291
  key: string;
4256
4292
  outcome: string;
4257
- kind: "terminal";
4258
4293
  stageKey: string;
4259
4294
  label?: string | undefined;
4260
4295
  inputBindings?: Record<string, {
@@ -4267,12 +4302,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4267
4302
  key: string;
4268
4303
  from: "parameter";
4269
4304
  } | {
4270
- from: "collection";
4271
4305
  items: {
4272
4306
  from: "node_output";
4273
4307
  nodeKey: string;
4274
4308
  port: string;
4275
4309
  }[];
4310
+ from: "collection";
4276
4311
  }> | undefined;
4277
4312
  outputPorts?: Record<string, string> | undefined;
4278
4313
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -4294,33 +4329,33 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4294
4329
  requiredNodeFailure: "block_and_attention";
4295
4330
  unknownExecution: "inspect_without_replay";
4296
4331
  };
4297
- hostRequirements?: {
4298
- protocol: number;
4299
- features: Record<string, number>;
4300
- } | undefined;
4301
4332
  presentation?: {
4302
4333
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4303
4334
  nodeDetailRef?: string | undefined;
4304
4335
  evidenceTypes?: string[] | undefined;
4305
4336
  } | undefined;
4337
+ hostRequirements?: {
4338
+ protocol: number;
4339
+ features: Record<string, number>;
4340
+ } | undefined;
4306
4341
  metrics?: {
4307
4342
  dimensionRefs: string[];
4308
4343
  metricRefs: string[];
4309
4344
  } | undefined;
4310
4345
  };
4311
4346
  nodes: {
4347
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
4312
4348
  key: string;
4349
+ title: string;
4313
4350
  nodeKey: string;
4314
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
4315
4351
  laneKey: string | null;
4316
4352
  stageKey: string;
4317
- title: string;
4318
4353
  state: {
4319
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
4320
- readiness: "waiting" | "ready" | "blocked";
4354
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
4355
+ readiness: "blocked" | "waiting" | "ready";
4321
4356
  applicability: "undetermined" | "selected" | "excluded";
4322
4357
  freshness: "superseded" | "current";
4323
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
4358
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
4324
4359
  };
4325
4360
  expansionKey: string;
4326
4361
  evidence: {
@@ -4346,9 +4381,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4346
4381
  label: string;
4347
4382
  }[] | undefined;
4348
4383
  decision?: {
4349
- label: string;
4350
4384
  outcome: string;
4351
4385
  version: string;
4386
+ label: string;
4352
4387
  reason: string;
4353
4388
  decidedAt?: string | undefined;
4354
4389
  } | undefined;
@@ -4362,20 +4397,19 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4362
4397
  from: string;
4363
4398
  to: string;
4364
4399
  selection: "undetermined" | "selected" | "excluded";
4365
- label?: string | undefined;
4366
4400
  outcome?: string | undefined;
4401
+ label?: string | undefined;
4367
4402
  }[];
4368
- schemaVersion: 1;
4369
4403
  sourceKey: string;
4370
4404
  sourceEpoch: string;
4371
4405
  sourceSequence: number;
4372
4406
  run: {
4373
4407
  key: string;
4374
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
4408
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
4375
4409
  };
4376
4410
  round: {
4377
4411
  key: string;
4378
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
4412
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
4379
4413
  inputDigest: string;
4380
4414
  generation: number;
4381
4415
  sequence: number;
@@ -4396,48 +4430,55 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4396
4430
  reason: "superseded" | "excluded" | "removed";
4397
4431
  }[];
4398
4432
  }, {
4433
+ schemaVersion: 1;
4399
4434
  subject: {
4400
4435
  resolverRef: string;
4401
4436
  objectKey: string;
4402
4437
  };
4438
+ title: string;
4403
4439
  tasks: {
4404
- status: "cancelled" | "blocked" | "todo" | "in_progress" | "review" | "paused" | "done";
4405
- key: string;
4406
4440
  kind: "task" | "summary" | "milestone";
4441
+ key: string;
4442
+ status: "blocked" | "cancelled" | "todo" | "in_progress" | "review" | "paused" | "done";
4407
4443
  title: string;
4408
4444
  predecessorKeys: string[];
4409
4445
  executions: {
4410
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4411
4446
  key: string;
4447
+ status: "running" | "succeeded" | "failed" | "queued" | "cancelled";
4412
4448
  attempt: number;
4413
- xpertId?: string | undefined;
4414
- agentKey?: string | undefined;
4415
4449
  error?: string | undefined;
4416
4450
  startedAt?: string | undefined;
4451
+ threadId?: string | undefined;
4452
+ conversationId?: string | undefined;
4453
+ xpertId?: string | undefined;
4454
+ agentKey?: string | undefined;
4417
4455
  completedAt?: string | undefined;
4418
4456
  invocationId?: string | undefined;
4419
4457
  agentExecutionId?: string | undefined;
4420
- conversationId?: string | undefined;
4421
- threadId?: string | undefined;
4422
4458
  outputSummary?: string | undefined;
4423
4459
  }[];
4460
+ diagnostic?: string | undefined;
4424
4461
  progress?: number | null | undefined;
4425
4462
  taskType?: string | null | undefined;
4426
4463
  parentKey?: string | undefined;
4427
- diagnostic?: string | undefined;
4428
4464
  assigneeXpertId?: string | undefined;
4429
4465
  }[];
4430
- title: string;
4431
4466
  definition: {
4432
4467
  key: string;
4468
+ title: string;
4469
+ version: string;
4470
+ lanes: {
4471
+ key: string;
4472
+ order: number;
4473
+ roleKey: string;
4474
+ label: string;
4475
+ }[];
4433
4476
  executionAuthority: "provider";
4434
4477
  providerRef: string;
4435
4478
  topology: {
4436
4479
  source: "provider";
4437
4480
  presentationAdapterRef: string;
4438
4481
  };
4439
- version: string;
4440
- title: string;
4441
4482
  projectTypes: {
4442
4483
  applicationKey: string;
4443
4484
  projectTypeKey: string;
@@ -4447,40 +4488,40 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4447
4488
  key: string;
4448
4489
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4449
4490
  }[];
4450
- lanes: {
4451
- key: string;
4452
- roleKey: string;
4453
- label: string;
4454
- order: number;
4455
- }[];
4456
4491
  stages: {
4457
4492
  key: string;
4458
- label: string;
4459
4493
  order: number;
4494
+ label: string;
4460
4495
  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;
4461
4496
  }[];
4462
- actionRefs?: string[] | undefined;
4463
- hostRequirements?: {
4464
- protocol: number;
4465
- features: Record<string, number>;
4466
- } | undefined;
4467
4497
  presentation?: {
4468
4498
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4469
4499
  nodeDetailRef?: string | undefined;
4470
4500
  evidenceTypes?: string[] | undefined;
4471
4501
  } | undefined;
4502
+ actionRefs?: string[] | undefined;
4503
+ hostRequirements?: {
4504
+ protocol: number;
4505
+ features: Record<string, number>;
4506
+ } | undefined;
4472
4507
  metrics?: {
4473
4508
  dimensionRefs: string[];
4474
4509
  metricRefs: string[];
4475
4510
  } | undefined;
4476
4511
  } | {
4477
4512
  key: string;
4513
+ title: string;
4514
+ version: string;
4515
+ lanes: {
4516
+ key: string;
4517
+ order: number;
4518
+ roleKey: string;
4519
+ label: string;
4520
+ }[];
4478
4521
  executionAuthority: "platform";
4479
4522
  topology: {
4480
4523
  source: "definition";
4481
4524
  };
4482
- version: string;
4483
- title: string;
4484
4525
  projectTypes: {
4485
4526
  applicationKey: string;
4486
4527
  projectTypeKey: string;
@@ -4490,26 +4531,23 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4490
4531
  key: string;
4491
4532
  allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
4492
4533
  }[];
4493
- lanes: {
4494
- key: string;
4495
- roleKey: string;
4496
- label: string;
4497
- order: number;
4498
- }[];
4499
4534
  stages: {
4500
4535
  key: string;
4501
- label: string;
4502
4536
  order: number;
4537
+ label: string;
4503
4538
  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;
4504
4539
  }[];
4505
4540
  nodes: ({
4506
- key: string;
4507
4541
  kind: "work";
4542
+ key: string;
4508
4543
  laneKey: string;
4509
4544
  operationRef: string;
4510
4545
  executorSlot: string;
4511
4546
  completionRef: string;
4512
4547
  stageKey: string;
4548
+ presentation?: {
4549
+ foldIntoApproval: string;
4550
+ } | undefined;
4513
4551
  label?: string | undefined;
4514
4552
  resourceResolverRef?: string | undefined;
4515
4553
  outputSchemaRef?: string | undefined;
@@ -4523,17 +4561,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4523
4561
  key: string;
4524
4562
  from: "parameter";
4525
4563
  } | {
4526
- from: "collection";
4527
4564
  items: {
4528
4565
  from: "node_output";
4529
4566
  nodeKey: string;
4530
4567
  port: string;
4531
4568
  }[];
4569
+ from: "collection";
4532
4570
  }> | undefined;
4533
4571
  outputPorts?: Record<string, string> | undefined;
4534
4572
  } | {
4535
- key: string;
4536
4573
  kind: "fork";
4574
+ key: string;
4537
4575
  stageKey: string;
4538
4576
  label?: string | undefined;
4539
4577
  inputBindings?: Record<string, {
@@ -4546,21 +4584,21 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4546
4584
  key: string;
4547
4585
  from: "parameter";
4548
4586
  } | {
4549
- from: "collection";
4550
4587
  items: {
4551
4588
  from: "node_output";
4552
4589
  nodeKey: string;
4553
4590
  port: string;
4554
4591
  }[];
4592
+ from: "collection";
4555
4593
  }> | undefined;
4556
4594
  outputPorts?: Record<string, string> | undefined;
4557
4595
  } | {
4596
+ kind: "join";
4597
+ key: string;
4558
4598
  join: {
4559
4599
  mode: "all_selected";
4560
4600
  accept: "completed";
4561
4601
  };
4562
- key: string;
4563
- kind: "join";
4564
4602
  stageKey: string;
4565
4603
  label?: string | undefined;
4566
4604
  inputBindings?: Record<string, {
@@ -4573,17 +4611,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4573
4611
  key: string;
4574
4612
  from: "parameter";
4575
4613
  } | {
4576
- from: "collection";
4577
4614
  items: {
4578
4615
  from: "node_output";
4579
4616
  nodeKey: string;
4580
4617
  port: string;
4581
4618
  }[];
4619
+ from: "collection";
4582
4620
  }> | undefined;
4583
4621
  outputPorts?: Record<string, string> | undefined;
4584
4622
  } | {
4585
- key: string;
4586
4623
  kind: "router";
4624
+ key: string;
4587
4625
  stageKey: string;
4588
4626
  policyRef: string;
4589
4627
  outcomes: string[];
@@ -4599,17 +4637,17 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4599
4637
  key: string;
4600
4638
  from: "parameter";
4601
4639
  } | {
4602
- from: "collection";
4603
4640
  items: {
4604
4641
  from: "node_output";
4605
4642
  nodeKey: string;
4606
4643
  port: string;
4607
4644
  }[];
4645
+ from: "collection";
4608
4646
  }> | undefined;
4609
4647
  outputPorts?: Record<string, string> | undefined;
4610
4648
  } | {
4611
- key: string;
4612
4649
  kind: "human_gate";
4650
+ key: string;
4613
4651
  laneKey: string;
4614
4652
  stageKey: string;
4615
4653
  policyRef: string;
@@ -4626,18 +4664,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4626
4664
  key: string;
4627
4665
  from: "parameter";
4628
4666
  } | {
4629
- from: "collection";
4630
4667
  items: {
4631
4668
  from: "node_output";
4632
4669
  nodeKey: string;
4633
4670
  port: string;
4634
4671
  }[];
4672
+ from: "collection";
4635
4673
  }> | undefined;
4636
4674
  outputPorts?: Record<string, string> | undefined;
4637
4675
  outcomeLabels?: Record<string, string> | undefined;
4638
4676
  } | {
4639
- key: string;
4640
4677
  kind: "external_wait";
4678
+ key: string;
4641
4679
  laneKey: string;
4642
4680
  stageKey: string;
4643
4681
  subscriptionRef: string;
@@ -4652,18 +4690,18 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4652
4690
  key: string;
4653
4691
  from: "parameter";
4654
4692
  } | {
4655
- from: "collection";
4656
4693
  items: {
4657
4694
  from: "node_output";
4658
4695
  nodeKey: string;
4659
4696
  port: string;
4660
4697
  }[];
4698
+ from: "collection";
4661
4699
  }> | undefined;
4662
4700
  outputPorts?: Record<string, string> | undefined;
4663
4701
  } | {
4702
+ kind: "terminal";
4664
4703
  key: string;
4665
4704
  outcome: string;
4666
- kind: "terminal";
4667
4705
  stageKey: string;
4668
4706
  label?: string | undefined;
4669
4707
  inputBindings?: Record<string, {
@@ -4676,12 +4714,12 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4676
4714
  key: string;
4677
4715
  from: "parameter";
4678
4716
  } | {
4679
- from: "collection";
4680
4717
  items: {
4681
4718
  from: "node_output";
4682
4719
  nodeKey: string;
4683
4720
  port: string;
4684
4721
  }[];
4722
+ from: "collection";
4685
4723
  }> | undefined;
4686
4724
  outputPorts?: Record<string, string> | undefined;
4687
4725
  disposition?: "complete" | "await_new_subject" | undefined;
@@ -4703,33 +4741,33 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4703
4741
  requiredNodeFailure: "block_and_attention";
4704
4742
  unknownExecution: "inspect_without_replay";
4705
4743
  };
4706
- hostRequirements?: {
4707
- protocol: number;
4708
- features: Record<string, number>;
4709
- } | undefined;
4710
4744
  presentation?: {
4711
4745
  views: ("tasks" | "pipeline" | "agent_timeline")[];
4712
4746
  nodeDetailRef?: string | undefined;
4713
4747
  evidenceTypes?: string[] | undefined;
4714
4748
  } | undefined;
4749
+ hostRequirements?: {
4750
+ protocol: number;
4751
+ features: Record<string, number>;
4752
+ } | undefined;
4715
4753
  metrics?: {
4716
4754
  dimensionRefs: string[];
4717
4755
  metricRefs: string[];
4718
4756
  } | undefined;
4719
4757
  };
4720
4758
  nodes: {
4759
+ kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
4721
4760
  key: string;
4761
+ title: string;
4722
4762
  nodeKey: string;
4723
- kind: "join" | "work" | "fork" | "router" | "human_gate" | "external_wait" | "terminal";
4724
4763
  laneKey: string | null;
4725
4764
  stageKey: string;
4726
- title: string;
4727
4765
  state: {
4728
- lifecycle: "completed" | "failed" | "cancelled" | "pending" | "active";
4729
- readiness: "waiting" | "ready" | "blocked";
4766
+ lifecycle: "pending" | "failed" | "completed" | "cancelled" | "active";
4767
+ readiness: "blocked" | "waiting" | "ready";
4730
4768
  applicability: "undetermined" | "selected" | "excluded";
4731
4769
  freshness: "superseded" | "current";
4732
- runtime: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling" | "none";
4770
+ runtime: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled" | "none";
4733
4771
  };
4734
4772
  expansionKey: string;
4735
4773
  evidence: {
@@ -4755,9 +4793,9 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4755
4793
  label: string;
4756
4794
  }[] | undefined;
4757
4795
  decision?: {
4758
- label: string;
4759
4796
  outcome: string;
4760
4797
  version: string;
4798
+ label: string;
4761
4799
  reason: string;
4762
4800
  decidedAt?: string | undefined;
4763
4801
  } | undefined;
@@ -4771,20 +4809,19 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
4771
4809
  from: string;
4772
4810
  to: string;
4773
4811
  selection: "undetermined" | "selected" | "excluded";
4774
- label?: string | undefined;
4775
4812
  outcome?: string | undefined;
4813
+ label?: string | undefined;
4776
4814
  }[];
4777
- schemaVersion: 1;
4778
4815
  sourceKey: string;
4779
4816
  sourceEpoch: string;
4780
4817
  sourceSequence: number;
4781
4818
  run: {
4782
4819
  key: string;
4783
- state: "completed" | "waiting" | "failed" | "cancelled" | "pending" | "active" | "cancelling" | "superseded";
4820
+ state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
4784
4821
  };
4785
4822
  round: {
4786
4823
  key: string;
4787
- state: "completed" | "failed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
4824
+ state: "failed" | "completed" | "cancelled" | "active" | "superseded" | "awaiting_new_subject";
4788
4825
  inputDigest: string;
4789
4826
  generation: number;
4790
4827
  sequence: number;