@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
@@ -15,12 +15,12 @@ export declare const pipelineAttemptCountsSchema: z.ZodObject<{
15
15
  unclassifiedAttempts: z.ZodOptional<z.ZodNumber>;
16
16
  }, "strict", z.ZodTypeAny, {
17
17
  unknown: number;
18
- terminal: number;
19
- total: number;
20
- queued: number;
21
18
  running: number;
22
19
  succeeded: number;
23
20
  failed: number;
21
+ terminal: number;
22
+ total: number;
23
+ queued: number;
24
24
  cancelled: number;
25
25
  successRate: number | null;
26
26
  retries: number;
@@ -29,12 +29,12 @@ export declare const pipelineAttemptCountsSchema: z.ZodObject<{
29
29
  unclassifiedAttempts?: number | undefined;
30
30
  }, {
31
31
  unknown: number;
32
- terminal: number;
33
- total: number;
34
- queued: number;
35
32
  running: number;
36
33
  succeeded: number;
37
34
  failed: number;
35
+ terminal: number;
36
+ total: number;
37
+ queued: number;
38
38
  cancelled: number;
39
39
  successRate: number | null;
40
40
  retries: number;
@@ -86,12 +86,12 @@ export declare const pipelineExecutorStatisticsSchema: z.ZodObject<{
86
86
  unclassifiedAttempts: z.ZodOptional<z.ZodNumber>;
87
87
  }, "strict", z.ZodTypeAny, {
88
88
  unknown: number;
89
- terminal: number;
90
- total: number;
91
- queued: number;
92
89
  running: number;
93
90
  succeeded: number;
94
91
  failed: number;
92
+ terminal: number;
93
+ total: number;
94
+ queued: number;
95
95
  cancelled: number;
96
96
  successRate: number | null;
97
97
  retries: number;
@@ -100,12 +100,12 @@ export declare const pipelineExecutorStatisticsSchema: z.ZodObject<{
100
100
  unclassifiedAttempts?: number | undefined;
101
101
  }, {
102
102
  unknown: number;
103
- terminal: number;
104
- total: number;
105
- queued: number;
106
103
  running: number;
107
104
  succeeded: number;
108
105
  failed: number;
106
+ terminal: number;
107
+ total: number;
108
+ queued: number;
109
109
  cancelled: number;
110
110
  successRate: number | null;
111
111
  retries: number;
@@ -142,12 +142,12 @@ export declare const pipelineExecutorStatisticsSchema: z.ZodObject<{
142
142
  toolId: string | null;
143
143
  attempts: {
144
144
  unknown: number;
145
- terminal: number;
146
- total: number;
147
- queued: number;
148
145
  running: number;
149
146
  succeeded: number;
150
147
  failed: number;
148
+ terminal: number;
149
+ total: number;
150
+ queued: number;
151
151
  cancelled: number;
152
152
  successRate: number | null;
153
153
  retries: number;
@@ -171,12 +171,12 @@ export declare const pipelineExecutorStatisticsSchema: z.ZodObject<{
171
171
  toolId: string | null;
172
172
  attempts: {
173
173
  unknown: number;
174
- terminal: number;
175
- total: number;
176
- queued: number;
177
174
  running: number;
178
175
  succeeded: number;
179
176
  failed: number;
177
+ terminal: number;
178
+ total: number;
179
+ queued: number;
180
180
  cancelled: number;
181
181
  successRate: number | null;
182
182
  retries: number;
@@ -12,11 +12,16 @@ export interface ProjectPipelineSummary {
12
12
  revision: number;
13
13
  updatedAt: string;
14
14
  }
15
+ export interface ProjectPipelineNodeWorkbench {
16
+ /** Node entries belong to the executor bound to the selected run. */
17
+ routeToExecutor?: boolean;
18
+ }
15
19
  export interface ProjectPipelineGraph {
16
20
  projectId: string;
17
21
  instance: ProjectPipelineSummary;
18
22
  cursor: string;
19
23
  definition: ProjectPipelineDefinition;
24
+ nodeWorkbench?: ProjectPipelineNodeWorkbench;
20
25
  runId: string;
21
26
  runState: string;
22
27
  roundId: string;
@@ -27,7 +27,6 @@ export declare const pipelineHumanWaitStatisticsSchema: z.ZodObject<{
27
27
  observedWindowMs: number;
28
28
  }>;
29
29
  }, "strict", z.ZodTypeAny, {
30
- scope: "observed_human_ready_intervals_intersecting_window";
31
30
  coverage: {
32
31
  snapshots: number;
33
32
  missingEvents: number;
@@ -35,13 +34,13 @@ export declare const pipelineHumanWaitStatisticsSchema: z.ZodObject<{
35
34
  currentUntrackedNodes: number;
36
35
  observedWindowMs: number;
37
36
  };
37
+ scope: "observed_human_ready_intervals_intersecting_window";
38
38
  intervals: number;
39
39
  ongoing: number;
40
40
  censored: number;
41
41
  observedNodeMs: number | null;
42
42
  observedUnionMs: number | null;
43
43
  }, {
44
- scope: "observed_human_ready_intervals_intersecting_window";
45
44
  coverage: {
46
45
  snapshots: number;
47
46
  missingEvents: number;
@@ -49,6 +48,7 @@ export declare const pipelineHumanWaitStatisticsSchema: z.ZodObject<{
49
48
  currentUntrackedNodes: number;
50
49
  observedWindowMs: number;
51
50
  };
51
+ scope: "observed_human_ready_intervals_intersecting_window";
52
52
  intervals: number;
53
53
  ongoing: number;
54
54
  censored: number;
@@ -28,3 +28,4 @@ export * from './compatibility';
28
28
  export * from './budget.schema';
29
29
  export * from './native-source.schema';
30
30
  export * from './contribution.schema';
31
+ export * from './plugin-deployment.schema';
@@ -34,11 +34,11 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
34
34
  model: string;
35
35
  }>, "many">;
36
36
  }, "strict", z.ZodTypeAny, {
37
+ truncated: boolean;
37
38
  scope: "linked_native_llm_calls";
38
39
  calls: number;
39
40
  requestedExecutions: number;
40
41
  executionsWithRecords: number;
41
- truncated: boolean;
42
42
  rejectedRecords: number;
43
43
  inputTokens: number | null;
44
44
  outputTokens: number | null;
@@ -54,11 +54,11 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
54
54
  model: string;
55
55
  }[];
56
56
  }, {
57
+ truncated: boolean;
57
58
  scope: "linked_native_llm_calls";
58
59
  calls: number;
59
60
  requestedExecutions: number;
60
61
  executionsWithRecords: number;
61
- truncated: boolean;
62
62
  rejectedRecords: number;
63
63
  inputTokens: number | null;
64
64
  outputTokens: number | null;
@@ -91,28 +91,28 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
91
91
  priceCurrency: z.ZodNullable<z.ZodString>;
92
92
  priceAmount: z.ZodNullable<z.ZodNumber>;
93
93
  }, "strip", z.ZodTypeAny, {
94
+ revision: number;
94
95
  provider: string;
96
+ requestId: string;
95
97
  totalTokens: number | null;
96
98
  model: string;
97
99
  originExecutionId: string;
98
100
  providerScopeId: string;
99
- requestId: string;
100
101
  metricKey: string;
101
- revision: number;
102
102
  promptTokens: number | null;
103
103
  completionTokens: number | null;
104
104
  pricingStatus: "priced" | "free" | "unpriced";
105
105
  priceCurrency: string | null;
106
106
  priceAmount: number | null;
107
107
  }, {
108
+ revision: number;
108
109
  provider: string;
110
+ requestId: string;
109
111
  totalTokens: number | null;
110
112
  model: string;
111
113
  originExecutionId: string;
112
114
  providerScopeId: string;
113
- requestId: string;
114
115
  metricKey: string;
115
- revision: number;
116
116
  promptTokens: number | null;
117
117
  completionTokens: number | null;
118
118
  pricingStatus: "priced" | "free" | "unpriced";
@@ -3,6 +3,13 @@ import { z } from 'zod/v3';
3
3
  export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
4
4
  kind: z.ZodLiteral<"work">;
5
5
  laneKey: z.ZodEffects<z.ZodString, string, string>;
6
+ presentation: z.ZodOptional<z.ZodObject<{
7
+ foldIntoApproval: z.ZodEffects<z.ZodString, string, string>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ foldIntoApproval: string;
10
+ }, {
11
+ foldIntoApproval: string;
12
+ }>>;
6
13
  operationRef: z.ZodString;
7
14
  executorSlot: z.ZodEffects<z.ZodString, string, string>;
8
15
  completionRef: z.ZodString;
@@ -54,29 +61,32 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
54
61
  port: string;
55
62
  }>, "many">;
56
63
  }, "strict", z.ZodTypeAny, {
57
- from: "collection";
58
64
  items: {
59
65
  from: "node_output";
60
66
  nodeKey: string;
61
67
  port: string;
62
68
  }[];
63
- }, {
64
69
  from: "collection";
70
+ }, {
65
71
  items: {
66
72
  from: "node_output";
67
73
  nodeKey: string;
68
74
  port: string;
69
75
  }[];
76
+ from: "collection";
70
77
  }>]>>>;
71
78
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
72
79
  }, "strict", z.ZodTypeAny, {
73
- key: string;
74
80
  kind: "work";
81
+ key: string;
75
82
  laneKey: string;
76
83
  operationRef: string;
77
84
  executorSlot: string;
78
85
  completionRef: string;
79
86
  stageKey: string;
87
+ presentation?: {
88
+ foldIntoApproval: string;
89
+ } | undefined;
80
90
  label?: string | undefined;
81
91
  resourceResolverRef?: string | undefined;
82
92
  outputSchemaRef?: string | undefined;
@@ -90,22 +100,25 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
90
100
  key: string;
91
101
  from: "parameter";
92
102
  } | {
93
- from: "collection";
94
103
  items: {
95
104
  from: "node_output";
96
105
  nodeKey: string;
97
106
  port: string;
98
107
  }[];
108
+ from: "collection";
99
109
  }> | undefined;
100
110
  outputPorts?: Record<string, string> | undefined;
101
111
  }, {
102
- key: string;
103
112
  kind: "work";
113
+ key: string;
104
114
  laneKey: string;
105
115
  operationRef: string;
106
116
  executorSlot: string;
107
117
  completionRef: string;
108
118
  stageKey: string;
119
+ presentation?: {
120
+ foldIntoApproval: string;
121
+ } | undefined;
109
122
  label?: string | undefined;
110
123
  resourceResolverRef?: string | undefined;
111
124
  outputSchemaRef?: string | undefined;
@@ -119,12 +132,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
119
132
  key: string;
120
133
  from: "parameter";
121
134
  } | {
122
- from: "collection";
123
135
  items: {
124
136
  from: "node_output";
125
137
  nodeKey: string;
126
138
  port: string;
127
139
  }[];
140
+ from: "collection";
128
141
  }> | undefined;
129
142
  outputPorts?: Record<string, string> | undefined;
130
143
  }>, z.ZodObject<{
@@ -175,24 +188,24 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
175
188
  port: string;
176
189
  }>, "many">;
177
190
  }, "strict", z.ZodTypeAny, {
178
- from: "collection";
179
191
  items: {
180
192
  from: "node_output";
181
193
  nodeKey: string;
182
194
  port: string;
183
195
  }[];
184
- }, {
185
196
  from: "collection";
197
+ }, {
186
198
  items: {
187
199
  from: "node_output";
188
200
  nodeKey: string;
189
201
  port: string;
190
202
  }[];
203
+ from: "collection";
191
204
  }>]>>>;
192
205
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
193
206
  }, "strict", z.ZodTypeAny, {
194
- key: string;
195
207
  kind: "fork";
208
+ key: string;
196
209
  stageKey: string;
197
210
  label?: string | undefined;
198
211
  inputBindings?: Record<string, {
@@ -205,17 +218,17 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
205
218
  key: string;
206
219
  from: "parameter";
207
220
  } | {
208
- from: "collection";
209
221
  items: {
210
222
  from: "node_output";
211
223
  nodeKey: string;
212
224
  port: string;
213
225
  }[];
226
+ from: "collection";
214
227
  }> | undefined;
215
228
  outputPorts?: Record<string, string> | undefined;
216
229
  }, {
217
- key: string;
218
230
  kind: "fork";
231
+ key: string;
219
232
  stageKey: string;
220
233
  label?: string | undefined;
221
234
  inputBindings?: Record<string, {
@@ -228,12 +241,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
228
241
  key: string;
229
242
  from: "parameter";
230
243
  } | {
231
- from: "collection";
232
244
  items: {
233
245
  from: "node_output";
234
246
  nodeKey: string;
235
247
  port: string;
236
248
  }[];
249
+ from: "collection";
237
250
  }> | undefined;
238
251
  outputPorts?: Record<string, string> | undefined;
239
252
  }>, z.ZodObject<{
@@ -294,28 +307,28 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
294
307
  port: string;
295
308
  }>, "many">;
296
309
  }, "strict", z.ZodTypeAny, {
297
- from: "collection";
298
310
  items: {
299
311
  from: "node_output";
300
312
  nodeKey: string;
301
313
  port: string;
302
314
  }[];
303
- }, {
304
315
  from: "collection";
316
+ }, {
305
317
  items: {
306
318
  from: "node_output";
307
319
  nodeKey: string;
308
320
  port: string;
309
321
  }[];
322
+ from: "collection";
310
323
  }>]>>>;
311
324
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
312
325
  }, "strict", z.ZodTypeAny, {
326
+ kind: "join";
327
+ key: string;
313
328
  join: {
314
329
  mode: "all_selected";
315
330
  accept: "completed";
316
331
  };
317
- key: string;
318
- kind: "join";
319
332
  stageKey: string;
320
333
  label?: string | undefined;
321
334
  inputBindings?: Record<string, {
@@ -328,21 +341,21 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
328
341
  key: string;
329
342
  from: "parameter";
330
343
  } | {
331
- from: "collection";
332
344
  items: {
333
345
  from: "node_output";
334
346
  nodeKey: string;
335
347
  port: string;
336
348
  }[];
349
+ from: "collection";
337
350
  }> | undefined;
338
351
  outputPorts?: Record<string, string> | undefined;
339
352
  }, {
353
+ kind: "join";
354
+ key: string;
340
355
  join: {
341
356
  mode: "all_selected";
342
357
  accept: "completed";
343
358
  };
344
- key: string;
345
- kind: "join";
346
359
  stageKey: string;
347
360
  label?: string | undefined;
348
361
  inputBindings?: Record<string, {
@@ -355,12 +368,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
355
368
  key: string;
356
369
  from: "parameter";
357
370
  } | {
358
- from: "collection";
359
371
  items: {
360
372
  from: "node_output";
361
373
  nodeKey: string;
362
374
  port: string;
363
375
  }[];
376
+ from: "collection";
364
377
  }> | undefined;
365
378
  outputPorts?: Record<string, string> | undefined;
366
379
  }>, z.ZodObject<{
@@ -414,24 +427,24 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
414
427
  port: string;
415
428
  }>, "many">;
416
429
  }, "strict", z.ZodTypeAny, {
417
- from: "collection";
418
430
  items: {
419
431
  from: "node_output";
420
432
  nodeKey: string;
421
433
  port: string;
422
434
  }[];
423
- }, {
424
435
  from: "collection";
436
+ }, {
425
437
  items: {
426
438
  from: "node_output";
427
439
  nodeKey: string;
428
440
  port: string;
429
441
  }[];
442
+ from: "collection";
430
443
  }>]>>>;
431
444
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
432
445
  }, "strict", z.ZodTypeAny, {
433
- key: string;
434
446
  kind: "router";
447
+ key: string;
435
448
  stageKey: string;
436
449
  policyRef: string;
437
450
  outcomes: string[];
@@ -447,17 +460,17 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
447
460
  key: string;
448
461
  from: "parameter";
449
462
  } | {
450
- from: "collection";
451
463
  items: {
452
464
  from: "node_output";
453
465
  nodeKey: string;
454
466
  port: string;
455
467
  }[];
468
+ from: "collection";
456
469
  }> | undefined;
457
470
  outputPorts?: Record<string, string> | undefined;
458
471
  }, {
459
- key: string;
460
472
  kind: "router";
473
+ key: string;
461
474
  stageKey: string;
462
475
  policyRef: string;
463
476
  outcomes: string[];
@@ -473,12 +486,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
473
486
  key: string;
474
487
  from: "parameter";
475
488
  } | {
476
- from: "collection";
477
489
  items: {
478
490
  from: "node_output";
479
491
  nodeKey: string;
480
492
  port: string;
481
493
  }[];
494
+ from: "collection";
482
495
  }> | undefined;
483
496
  outputPorts?: Record<string, string> | undefined;
484
497
  }>, z.ZodObject<{
@@ -534,24 +547,24 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
534
547
  port: string;
535
548
  }>, "many">;
536
549
  }, "strict", z.ZodTypeAny, {
537
- from: "collection";
538
550
  items: {
539
551
  from: "node_output";
540
552
  nodeKey: string;
541
553
  port: string;
542
554
  }[];
543
- }, {
544
555
  from: "collection";
556
+ }, {
545
557
  items: {
546
558
  from: "node_output";
547
559
  nodeKey: string;
548
560
  port: string;
549
561
  }[];
562
+ from: "collection";
550
563
  }>]>>>;
551
564
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
552
565
  }, "strict", z.ZodTypeAny, {
553
- key: string;
554
566
  kind: "human_gate";
567
+ key: string;
555
568
  laneKey: string;
556
569
  stageKey: string;
557
570
  policyRef: string;
@@ -568,18 +581,18 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
568
581
  key: string;
569
582
  from: "parameter";
570
583
  } | {
571
- from: "collection";
572
584
  items: {
573
585
  from: "node_output";
574
586
  nodeKey: string;
575
587
  port: string;
576
588
  }[];
589
+ from: "collection";
577
590
  }> | undefined;
578
591
  outputPorts?: Record<string, string> | undefined;
579
592
  outcomeLabels?: Record<string, string> | undefined;
580
593
  }, {
581
- key: string;
582
594
  kind: "human_gate";
595
+ key: string;
583
596
  laneKey: string;
584
597
  stageKey: string;
585
598
  policyRef: string;
@@ -596,12 +609,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
596
609
  key: string;
597
610
  from: "parameter";
598
611
  } | {
599
- from: "collection";
600
612
  items: {
601
613
  from: "node_output";
602
614
  nodeKey: string;
603
615
  port: string;
604
616
  }[];
617
+ from: "collection";
605
618
  }> | undefined;
606
619
  outputPorts?: Record<string, string> | undefined;
607
620
  outcomeLabels?: Record<string, string> | undefined;
@@ -655,24 +668,24 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
655
668
  port: string;
656
669
  }>, "many">;
657
670
  }, "strict", z.ZodTypeAny, {
658
- from: "collection";
659
671
  items: {
660
672
  from: "node_output";
661
673
  nodeKey: string;
662
674
  port: string;
663
675
  }[];
664
- }, {
665
676
  from: "collection";
677
+ }, {
666
678
  items: {
667
679
  from: "node_output";
668
680
  nodeKey: string;
669
681
  port: string;
670
682
  }[];
683
+ from: "collection";
671
684
  }>]>>>;
672
685
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
673
686
  }, "strict", z.ZodTypeAny, {
674
- key: string;
675
687
  kind: "external_wait";
688
+ key: string;
676
689
  laneKey: string;
677
690
  stageKey: string;
678
691
  subscriptionRef: string;
@@ -687,17 +700,17 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
687
700
  key: string;
688
701
  from: "parameter";
689
702
  } | {
690
- from: "collection";
691
703
  items: {
692
704
  from: "node_output";
693
705
  nodeKey: string;
694
706
  port: string;
695
707
  }[];
708
+ from: "collection";
696
709
  }> | undefined;
697
710
  outputPorts?: Record<string, string> | undefined;
698
711
  }, {
699
- key: string;
700
712
  kind: "external_wait";
713
+ key: string;
701
714
  laneKey: string;
702
715
  stageKey: string;
703
716
  subscriptionRef: string;
@@ -712,12 +725,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
712
725
  key: string;
713
726
  from: "parameter";
714
727
  } | {
715
- from: "collection";
716
728
  items: {
717
729
  from: "node_output";
718
730
  nodeKey: string;
719
731
  port: string;
720
732
  }[];
733
+ from: "collection";
721
734
  }> | undefined;
722
735
  outputPorts?: Record<string, string> | undefined;
723
736
  }>, z.ZodObject<{
@@ -770,25 +783,25 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
770
783
  port: string;
771
784
  }>, "many">;
772
785
  }, "strict", z.ZodTypeAny, {
773
- from: "collection";
774
786
  items: {
775
787
  from: "node_output";
776
788
  nodeKey: string;
777
789
  port: string;
778
790
  }[];
779
- }, {
780
791
  from: "collection";
792
+ }, {
781
793
  items: {
782
794
  from: "node_output";
783
795
  nodeKey: string;
784
796
  port: string;
785
797
  }[];
798
+ from: "collection";
786
799
  }>]>>>;
787
800
  outputPorts: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
788
801
  }, "strict", z.ZodTypeAny, {
802
+ kind: "terminal";
789
803
  key: string;
790
804
  outcome: string;
791
- kind: "terminal";
792
805
  stageKey: string;
793
806
  label?: string | undefined;
794
807
  inputBindings?: Record<string, {
@@ -801,19 +814,19 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
801
814
  key: string;
802
815
  from: "parameter";
803
816
  } | {
804
- from: "collection";
805
817
  items: {
806
818
  from: "node_output";
807
819
  nodeKey: string;
808
820
  port: string;
809
821
  }[];
822
+ from: "collection";
810
823
  }> | undefined;
811
824
  outputPorts?: Record<string, string> | undefined;
812
825
  disposition?: "complete" | "await_new_subject" | undefined;
813
826
  }, {
827
+ kind: "terminal";
814
828
  key: string;
815
829
  outcome: string;
816
- kind: "terminal";
817
830
  stageKey: string;
818
831
  label?: string | undefined;
819
832
  inputBindings?: Record<string, {
@@ -826,12 +839,12 @@ export declare const projectPipelineNodeSchema: z.ZodDiscriminatedUnion<"kind",
826
839
  key: string;
827
840
  from: "parameter";
828
841
  } | {
829
- from: "collection";
830
842
  items: {
831
843
  from: "node_output";
832
844
  nodeKey: string;
833
845
  port: string;
834
846
  }[];
847
+ from: "collection";
835
848
  }> | undefined;
836
849
  outputPorts?: Record<string, string> | undefined;
837
850
  disposition?: "complete" | "await_new_subject" | undefined;