@exaudeus/workrail 3.40.0 → 3.42.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.
- package/dist/cli/commands/init.js +0 -3
- package/dist/cli-worktrain.js +48 -11
- package/dist/cli.js +0 -18
- package/dist/config/app-config.d.ts +0 -16
- package/dist/config/app-config.js +0 -14
- package/dist/config/config-file.js +0 -3
- package/dist/console-ui/assets/index-DGj8EsFR.css +1 -0
- package/dist/console-ui/assets/index-DwfWMKvv.js +28 -0
- package/dist/console-ui/index.html +2 -2
- package/dist/context-assembly/deps.d.ts +8 -0
- package/dist/context-assembly/deps.js +2 -0
- package/dist/context-assembly/index.d.ts +6 -0
- package/dist/context-assembly/index.js +50 -0
- package/dist/context-assembly/infra.d.ts +3 -0
- package/dist/context-assembly/infra.js +154 -0
- package/dist/context-assembly/types.d.ts +30 -0
- package/dist/context-assembly/types.js +2 -0
- package/dist/coordinators/pr-review.d.ts +20 -1
- package/dist/coordinators/pr-review.js +189 -4
- package/dist/daemon/daemon-events.d.ts +9 -1
- package/dist/daemon/soul-template.d.ts +2 -2
- package/dist/daemon/soul-template.js +11 -1
- package/dist/daemon/workflow-runner.d.ts +14 -1
- package/dist/daemon/workflow-runner.js +406 -25
- package/dist/di/container.js +1 -25
- package/dist/di/tokens.d.ts +0 -3
- package/dist/di/tokens.js +0 -3
- package/dist/domain/execution/state.d.ts +6 -6
- package/dist/engine/engine-factory.js +0 -1
- package/dist/infrastructure/console-defaults.d.ts +1 -0
- package/dist/infrastructure/console-defaults.js +4 -0
- package/dist/infrastructure/session/index.d.ts +0 -1
- package/dist/infrastructure/session/index.js +1 -3
- package/dist/manifest.json +138 -122
- package/dist/mcp/handlers/session.d.ts +1 -0
- package/dist/mcp/handlers/session.js +61 -13
- package/dist/mcp/handlers/v2-workflow.d.ts +2 -2
- package/dist/mcp/output-schemas.d.ts +234 -234
- package/dist/mcp/server.js +1 -18
- package/dist/mcp/tools.d.ts +2 -2
- package/dist/mcp/transports/http-entry.js +0 -2
- package/dist/mcp/transports/stdio-entry.js +1 -2
- package/dist/mcp/types.d.ts +0 -2
- package/dist/mcp/v2/tools.d.ts +24 -24
- package/dist/trigger/daemon-console.d.ts +2 -0
- package/dist/trigger/daemon-console.js +1 -1
- package/dist/trigger/trigger-listener.d.ts +2 -0
- package/dist/trigger/trigger-listener.js +3 -1
- package/dist/trigger/trigger-router.d.ts +4 -3
- package/dist/trigger/trigger-router.js +4 -3
- package/dist/trigger/trigger-store.js +17 -4
- package/dist/v2/durable-core/schemas/artifacts/assessment.d.ts +2 -2
- package/dist/v2/durable-core/schemas/artifacts/coordinator-signal.d.ts +2 -2
- package/dist/v2/durable-core/schemas/artifacts/loop-control.d.ts +6 -6
- package/dist/v2/durable-core/schemas/artifacts/review-verdict.d.ts +6 -6
- package/dist/v2/durable-core/schemas/compiled-workflow/index.d.ts +56 -56
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +83 -83
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +1024 -1024
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +2336 -2336
- package/dist/v2/durable-core/schemas/session/dag-topology.d.ts +6 -6
- package/dist/v2/durable-core/schemas/session/events.d.ts +339 -339
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +30 -30
- package/dist/v2/durable-core/schemas/session/manifest.d.ts +6 -6
- package/dist/v2/durable-core/schemas/session/outputs.d.ts +8 -8
- package/dist/v2/durable-core/schemas/session/validation-event.d.ts +3 -3
- package/dist/v2/usecases/console-routes.d.ts +2 -1
- package/dist/v2/usecases/console-routes.js +29 -5
- package/dist/v2/usecases/console-service.js +14 -0
- package/dist/v2/usecases/console-types.d.ts +1 -0
- package/docs/authoring.md +16 -16
- package/docs/design/context-assembly-design-candidates.md +199 -0
- package/docs/design/context-assembly-implementation-plan.md +211 -0
- package/docs/design/context-assembly-review-findings.md +112 -0
- package/docs/design/coordinator-message-queue-drain-plan.md +241 -0
- package/docs/design/coordinator-message-queue-drain-review.md +120 -0
- package/docs/design/coordinator-message-queue-drain.md +289 -0
- package/docs/design/shaping-workflow-external-research.md +119 -0
- package/docs/discovery/late-bound-goals-impl-plan.md +147 -0
- package/docs/discovery/late-bound-goals-review.md +82 -0
- package/docs/discovery/late-bound-goals.md +118 -0
- package/docs/discovery/steer-endpoint-design-candidates.md +288 -0
- package/docs/discovery/steer-endpoint-design-review-findings.md +104 -0
- package/docs/discovery/steer-endpoint-implementation-plan.md +284 -0
- package/docs/ideas/backlog.md +356 -0
- package/docs/ideas/design-candidates-console-session-tree-impl.md +64 -0
- package/docs/ideas/design-candidates-session-tree-view.md +196 -0
- package/docs/ideas/design-review-findings-console-session-tree-impl.md +75 -0
- package/docs/ideas/design-review-findings-session-tree-view.md +88 -0
- package/docs/ideas/implementation_plan_session_tree_view.md +238 -0
- package/package.json +2 -1
- package/spec/authoring-spec.json +16 -16
- package/spec/shape.schema.json +178 -0
- package/spec/workflow-tags.json +232 -47
- package/workflows/coding-task-workflow-agentic.json +491 -480
- package/workflows/wr.shaping.json +182 -0
- package/dist/console-ui/assets/index-8dh0Psu-.css +0 -1
- package/dist/console-ui/assets/index-CXWCAonr.js +0 -28
- package/dist/infrastructure/session/DashboardHeartbeat.d.ts +0 -8
- package/dist/infrastructure/session/DashboardHeartbeat.js +0 -39
- package/dist/infrastructure/session/DashboardLockRelease.d.ts +0 -2
- package/dist/infrastructure/session/DashboardLockRelease.js +0 -29
- package/dist/infrastructure/session/HttpServer.d.ts +0 -60
- package/dist/infrastructure/session/HttpServer.js +0 -912
- package/workflows/coding-task-workflow-agentic.lean.v2.json +0 -648
- package/workflows/coding-task-workflow-agentic.v2.json +0 -324
|
@@ -9,13 +9,13 @@ export declare const WorkflowSummarySchema: z.ZodObject<{
|
|
|
9
9
|
description: z.ZodString;
|
|
10
10
|
version: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
id: string;
|
|
13
12
|
name: string;
|
|
13
|
+
id: string;
|
|
14
14
|
description: string;
|
|
15
15
|
version: string;
|
|
16
16
|
}, {
|
|
17
|
-
id: string;
|
|
18
17
|
name: string;
|
|
18
|
+
id: string;
|
|
19
19
|
description: string;
|
|
20
20
|
version: string;
|
|
21
21
|
}>;
|
|
@@ -26,27 +26,27 @@ export declare const WorkflowListOutputSchema: z.ZodObject<{
|
|
|
26
26
|
description: z.ZodString;
|
|
27
27
|
version: z.ZodString;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
id: string;
|
|
30
29
|
name: string;
|
|
30
|
+
id: string;
|
|
31
31
|
description: string;
|
|
32
32
|
version: string;
|
|
33
33
|
}, {
|
|
34
|
-
id: string;
|
|
35
34
|
name: string;
|
|
35
|
+
id: string;
|
|
36
36
|
description: string;
|
|
37
37
|
version: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
workflows: {
|
|
41
|
-
id: string;
|
|
42
41
|
name: string;
|
|
42
|
+
id: string;
|
|
43
43
|
description: string;
|
|
44
44
|
version: string;
|
|
45
45
|
}[];
|
|
46
46
|
}, {
|
|
47
47
|
workflows: {
|
|
48
|
-
id: string;
|
|
49
48
|
name: string;
|
|
49
|
+
id: string;
|
|
50
50
|
description: string;
|
|
51
51
|
version: string;
|
|
52
52
|
}[];
|
|
@@ -142,12 +142,12 @@ export declare const StalenessSummarySchema: z.ZodObject<{
|
|
|
142
142
|
reason: z.ZodString;
|
|
143
143
|
specVersionAtLastReview: z.ZodOptional<z.ZodNumber>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
level: "none" | "possible" | "likely";
|
|
146
145
|
reason: string;
|
|
146
|
+
level: "none" | "possible" | "likely";
|
|
147
147
|
specVersionAtLastReview?: number | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
level: "none" | "possible" | "likely";
|
|
150
149
|
reason: string;
|
|
150
|
+
level: "none" | "possible" | "likely";
|
|
151
151
|
specVersionAtLastReview?: number | undefined;
|
|
152
152
|
}>;
|
|
153
153
|
export type StalenessSummary = z.infer<typeof StalenessSummarySchema>;
|
|
@@ -164,10 +164,10 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
164
164
|
kind: z.ZodEnum<["bundled", "user", "project", "custom", "git", "remote", "plugin"]>;
|
|
165
165
|
displayName: z.ZodString;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
kind: "
|
|
167
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
168
168
|
displayName: string;
|
|
169
169
|
}, {
|
|
170
|
-
kind: "
|
|
170
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
171
171
|
displayName: string;
|
|
172
172
|
}>;
|
|
173
173
|
rootedSharing: z.ZodOptional<z.ZodObject<{
|
|
@@ -189,25 +189,25 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
189
189
|
reason: z.ZodLiteral<"legacy_project_precedence">;
|
|
190
190
|
summary: z.ZodString;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
|
-
summary: string;
|
|
193
192
|
reason: "legacy_project_precedence";
|
|
193
|
+
summary: string;
|
|
194
194
|
preferredSource: "rooted_sharing";
|
|
195
195
|
currentSource: "legacy_project";
|
|
196
196
|
}, {
|
|
197
|
-
summary: string;
|
|
198
197
|
reason: "legacy_project_precedence";
|
|
198
|
+
summary: string;
|
|
199
199
|
preferredSource: "rooted_sharing";
|
|
200
200
|
currentSource: "legacy_project";
|
|
201
201
|
}>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
203
204
|
source: {
|
|
204
|
-
kind: "
|
|
205
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
205
206
|
displayName: string;
|
|
206
207
|
};
|
|
207
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
208
208
|
migration?: {
|
|
209
|
-
summary: string;
|
|
210
209
|
reason: "legacy_project_precedence";
|
|
210
|
+
summary: string;
|
|
211
211
|
preferredSource: "rooted_sharing";
|
|
212
212
|
currentSource: "legacy_project";
|
|
213
213
|
} | undefined;
|
|
@@ -217,14 +217,14 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
217
217
|
groupLabel: string;
|
|
218
218
|
} | undefined;
|
|
219
219
|
}, {
|
|
220
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
220
221
|
source: {
|
|
221
|
-
kind: "
|
|
222
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
222
223
|
displayName: string;
|
|
223
224
|
};
|
|
224
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
225
225
|
migration?: {
|
|
226
|
-
summary: string;
|
|
227
226
|
reason: "legacy_project_precedence";
|
|
227
|
+
summary: string;
|
|
228
228
|
preferredSource: "rooted_sharing";
|
|
229
229
|
currentSource: "legacy_project";
|
|
230
230
|
} | undefined;
|
|
@@ -239,32 +239,32 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
239
239
|
reason: z.ZodString;
|
|
240
240
|
specVersionAtLastReview: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
level: "none" | "possible" | "likely";
|
|
243
242
|
reason: string;
|
|
243
|
+
level: "none" | "possible" | "likely";
|
|
244
244
|
specVersionAtLastReview?: number | undefined;
|
|
245
245
|
}, {
|
|
246
|
-
level: "none" | "possible" | "likely";
|
|
247
246
|
reason: string;
|
|
247
|
+
level: "none" | "possible" | "likely";
|
|
248
248
|
specVersionAtLastReview?: number | undefined;
|
|
249
249
|
}>>;
|
|
250
250
|
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
252
|
kind: "workflow";
|
|
253
|
+
workflowHash: string | null;
|
|
254
|
+
workflowId: string;
|
|
253
255
|
name: string;
|
|
254
256
|
description: string;
|
|
255
257
|
version: string;
|
|
256
|
-
workflowId: string;
|
|
257
|
-
workflowHash: string | null;
|
|
258
258
|
examples?: string[] | undefined;
|
|
259
259
|
visibility?: {
|
|
260
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
260
261
|
source: {
|
|
261
|
-
kind: "
|
|
262
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
262
263
|
displayName: string;
|
|
263
264
|
};
|
|
264
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
265
265
|
migration?: {
|
|
266
|
-
summary: string;
|
|
267
266
|
reason: "legacy_project_precedence";
|
|
267
|
+
summary: string;
|
|
268
268
|
preferredSource: "rooted_sharing";
|
|
269
269
|
currentSource: "legacy_project";
|
|
270
270
|
} | undefined;
|
|
@@ -275,27 +275,27 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
275
275
|
} | undefined;
|
|
276
276
|
} | undefined;
|
|
277
277
|
staleness?: {
|
|
278
|
-
level: "none" | "possible" | "likely";
|
|
279
278
|
reason: string;
|
|
279
|
+
level: "none" | "possible" | "likely";
|
|
280
280
|
specVersionAtLastReview?: number | undefined;
|
|
281
281
|
} | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
kind: "workflow";
|
|
284
|
+
workflowHash: string | null;
|
|
285
|
+
workflowId: string;
|
|
284
286
|
name: string;
|
|
285
287
|
description: string;
|
|
286
288
|
version: string;
|
|
287
|
-
workflowId: string;
|
|
288
|
-
workflowHash: string | null;
|
|
289
289
|
examples?: string[] | undefined;
|
|
290
290
|
visibility?: {
|
|
291
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
291
292
|
source: {
|
|
292
|
-
kind: "
|
|
293
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
293
294
|
displayName: string;
|
|
294
295
|
};
|
|
295
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
296
296
|
migration?: {
|
|
297
|
-
summary: string;
|
|
298
297
|
reason: "legacy_project_precedence";
|
|
298
|
+
summary: string;
|
|
299
299
|
preferredSource: "rooted_sharing";
|
|
300
300
|
currentSource: "legacy_project";
|
|
301
301
|
} | undefined;
|
|
@@ -306,8 +306,8 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
|
|
|
306
306
|
} | undefined;
|
|
307
307
|
} | undefined;
|
|
308
308
|
staleness?: {
|
|
309
|
-
level: "none" | "possible" | "likely";
|
|
310
309
|
reason: string;
|
|
310
|
+
level: "none" | "possible" | "likely";
|
|
311
311
|
specVersionAtLastReview?: number | undefined;
|
|
312
312
|
} | undefined;
|
|
313
313
|
}>;
|
|
@@ -318,10 +318,10 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
|
|
|
318
318
|
kind: z.ZodEnum<["bundled", "user", "project", "custom", "git", "remote", "plugin"]>;
|
|
319
319
|
displayName: z.ZodString;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
kind: "
|
|
321
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
322
322
|
displayName: string;
|
|
323
323
|
}, {
|
|
324
|
-
kind: "
|
|
324
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
325
325
|
displayName: string;
|
|
326
326
|
}>;
|
|
327
327
|
sourceMode: z.ZodEnum<["built_in", "personal", "legacy_project", "rooted_sharing", "live_directory"]>;
|
|
@@ -355,30 +355,30 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
|
|
|
355
355
|
reason: z.ZodLiteral<"legacy_project_precedence">;
|
|
356
356
|
summary: z.ZodString;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
summary: string;
|
|
359
358
|
reason: "legacy_project_precedence";
|
|
359
|
+
summary: string;
|
|
360
360
|
preferredSource: "rooted_sharing";
|
|
361
361
|
currentSource: "legacy_project";
|
|
362
362
|
}, {
|
|
363
|
-
summary: string;
|
|
364
363
|
reason: "legacy_project_precedence";
|
|
364
|
+
summary: string;
|
|
365
365
|
preferredSource: "rooted_sharing";
|
|
366
366
|
currentSource: "legacy_project";
|
|
367
367
|
}>>;
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
369
370
|
source: {
|
|
370
|
-
kind: "
|
|
371
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
371
372
|
displayName: string;
|
|
372
373
|
};
|
|
373
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
374
374
|
sourceKey: string;
|
|
375
375
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
376
376
|
effectiveWorkflowCount: number;
|
|
377
377
|
totalWorkflowCount: number;
|
|
378
378
|
shadowedWorkflowCount: number;
|
|
379
379
|
migration?: {
|
|
380
|
-
summary: string;
|
|
381
380
|
reason: "legacy_project_precedence";
|
|
381
|
+
summary: string;
|
|
382
382
|
preferredSource: "rooted_sharing";
|
|
383
383
|
currentSource: "legacy_project";
|
|
384
384
|
} | undefined;
|
|
@@ -392,19 +392,19 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
|
|
|
392
392
|
} | undefined;
|
|
393
393
|
stale?: true | undefined;
|
|
394
394
|
}, {
|
|
395
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
395
396
|
source: {
|
|
396
|
-
kind: "
|
|
397
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
397
398
|
displayName: string;
|
|
398
399
|
};
|
|
399
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
400
400
|
sourceKey: string;
|
|
401
401
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
402
402
|
effectiveWorkflowCount: number;
|
|
403
403
|
totalWorkflowCount: number;
|
|
404
404
|
shadowedWorkflowCount: number;
|
|
405
405
|
migration?: {
|
|
406
|
-
summary: string;
|
|
407
406
|
reason: "legacy_project_precedence";
|
|
407
|
+
summary: string;
|
|
408
408
|
preferredSource: "rooted_sharing";
|
|
409
409
|
currentSource: "legacy_project";
|
|
410
410
|
} | undefined;
|
|
@@ -451,10 +451,10 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
451
451
|
kind: z.ZodEnum<["bundled", "user", "project", "custom", "git", "remote", "plugin"]>;
|
|
452
452
|
displayName: z.ZodString;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
kind: "
|
|
454
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
455
455
|
displayName: string;
|
|
456
456
|
}, {
|
|
457
|
-
kind: "
|
|
457
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
458
458
|
displayName: string;
|
|
459
459
|
}>;
|
|
460
460
|
rootedSharing: z.ZodOptional<z.ZodObject<{
|
|
@@ -476,25 +476,25 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
476
476
|
reason: z.ZodLiteral<"legacy_project_precedence">;
|
|
477
477
|
summary: z.ZodString;
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
summary: string;
|
|
480
479
|
reason: "legacy_project_precedence";
|
|
480
|
+
summary: string;
|
|
481
481
|
preferredSource: "rooted_sharing";
|
|
482
482
|
currentSource: "legacy_project";
|
|
483
483
|
}, {
|
|
484
|
-
summary: string;
|
|
485
484
|
reason: "legacy_project_precedence";
|
|
485
|
+
summary: string;
|
|
486
486
|
preferredSource: "rooted_sharing";
|
|
487
487
|
currentSource: "legacy_project";
|
|
488
488
|
}>>;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
490
491
|
source: {
|
|
491
|
-
kind: "
|
|
492
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
492
493
|
displayName: string;
|
|
493
494
|
};
|
|
494
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
495
495
|
migration?: {
|
|
496
|
-
summary: string;
|
|
497
496
|
reason: "legacy_project_precedence";
|
|
497
|
+
summary: string;
|
|
498
498
|
preferredSource: "rooted_sharing";
|
|
499
499
|
currentSource: "legacy_project";
|
|
500
500
|
} | undefined;
|
|
@@ -504,14 +504,14 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
504
504
|
groupLabel: string;
|
|
505
505
|
} | undefined;
|
|
506
506
|
}, {
|
|
507
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
507
508
|
source: {
|
|
508
|
-
kind: "
|
|
509
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
509
510
|
displayName: string;
|
|
510
511
|
};
|
|
511
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
512
512
|
migration?: {
|
|
513
|
-
summary: string;
|
|
514
513
|
reason: "legacy_project_precedence";
|
|
514
|
+
summary: string;
|
|
515
515
|
preferredSource: "rooted_sharing";
|
|
516
516
|
currentSource: "legacy_project";
|
|
517
517
|
} | undefined;
|
|
@@ -526,32 +526,32 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
526
526
|
reason: z.ZodString;
|
|
527
527
|
specVersionAtLastReview: z.ZodOptional<z.ZodNumber>;
|
|
528
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
|
-
level: "none" | "possible" | "likely";
|
|
530
529
|
reason: string;
|
|
530
|
+
level: "none" | "possible" | "likely";
|
|
531
531
|
specVersionAtLastReview?: number | undefined;
|
|
532
532
|
}, {
|
|
533
|
-
level: "none" | "possible" | "likely";
|
|
534
533
|
reason: string;
|
|
534
|
+
level: "none" | "possible" | "likely";
|
|
535
535
|
specVersionAtLastReview?: number | undefined;
|
|
536
536
|
}>>;
|
|
537
537
|
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
539
|
kind: "workflow";
|
|
540
|
+
workflowHash: string | null;
|
|
541
|
+
workflowId: string;
|
|
540
542
|
name: string;
|
|
541
543
|
description: string;
|
|
542
544
|
version: string;
|
|
543
|
-
workflowId: string;
|
|
544
|
-
workflowHash: string | null;
|
|
545
545
|
examples?: string[] | undefined;
|
|
546
546
|
visibility?: {
|
|
547
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
547
548
|
source: {
|
|
548
|
-
kind: "
|
|
549
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
549
550
|
displayName: string;
|
|
550
551
|
};
|
|
551
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
552
552
|
migration?: {
|
|
553
|
-
summary: string;
|
|
554
553
|
reason: "legacy_project_precedence";
|
|
554
|
+
summary: string;
|
|
555
555
|
preferredSource: "rooted_sharing";
|
|
556
556
|
currentSource: "legacy_project";
|
|
557
557
|
} | undefined;
|
|
@@ -562,27 +562,27 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
562
562
|
} | undefined;
|
|
563
563
|
} | undefined;
|
|
564
564
|
staleness?: {
|
|
565
|
-
level: "none" | "possible" | "likely";
|
|
566
565
|
reason: string;
|
|
566
|
+
level: "none" | "possible" | "likely";
|
|
567
567
|
specVersionAtLastReview?: number | undefined;
|
|
568
568
|
} | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
kind: "workflow";
|
|
571
|
+
workflowHash: string | null;
|
|
572
|
+
workflowId: string;
|
|
571
573
|
name: string;
|
|
572
574
|
description: string;
|
|
573
575
|
version: string;
|
|
574
|
-
workflowId: string;
|
|
575
|
-
workflowHash: string | null;
|
|
576
576
|
examples?: string[] | undefined;
|
|
577
577
|
visibility?: {
|
|
578
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
578
579
|
source: {
|
|
579
|
-
kind: "
|
|
580
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
580
581
|
displayName: string;
|
|
581
582
|
};
|
|
582
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
583
583
|
migration?: {
|
|
584
|
-
summary: string;
|
|
585
584
|
reason: "legacy_project_precedence";
|
|
585
|
+
summary: string;
|
|
586
586
|
preferredSource: "rooted_sharing";
|
|
587
587
|
currentSource: "legacy_project";
|
|
588
588
|
} | undefined;
|
|
@@ -593,8 +593,8 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
593
593
|
} | undefined;
|
|
594
594
|
} | undefined;
|
|
595
595
|
staleness?: {
|
|
596
|
-
level: "none" | "possible" | "likely";
|
|
597
596
|
reason: string;
|
|
597
|
+
level: "none" | "possible" | "likely";
|
|
598
598
|
specVersionAtLastReview?: number | undefined;
|
|
599
599
|
} | undefined;
|
|
600
600
|
}>, "many">;
|
|
@@ -627,10 +627,10 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
627
627
|
kind: z.ZodEnum<["bundled", "user", "project", "custom", "git", "remote", "plugin"]>;
|
|
628
628
|
displayName: z.ZodString;
|
|
629
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
|
-
kind: "
|
|
630
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
631
631
|
displayName: string;
|
|
632
632
|
}, {
|
|
633
|
-
kind: "
|
|
633
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
634
634
|
displayName: string;
|
|
635
635
|
}>;
|
|
636
636
|
sourceMode: z.ZodEnum<["built_in", "personal", "legacy_project", "rooted_sharing", "live_directory"]>;
|
|
@@ -664,30 +664,30 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
664
664
|
reason: z.ZodLiteral<"legacy_project_precedence">;
|
|
665
665
|
summary: z.ZodString;
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
667
|
-
summary: string;
|
|
668
667
|
reason: "legacy_project_precedence";
|
|
668
|
+
summary: string;
|
|
669
669
|
preferredSource: "rooted_sharing";
|
|
670
670
|
currentSource: "legacy_project";
|
|
671
671
|
}, {
|
|
672
|
-
summary: string;
|
|
673
672
|
reason: "legacy_project_precedence";
|
|
673
|
+
summary: string;
|
|
674
674
|
preferredSource: "rooted_sharing";
|
|
675
675
|
currentSource: "legacy_project";
|
|
676
676
|
}>>;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
678
679
|
source: {
|
|
679
|
-
kind: "
|
|
680
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
680
681
|
displayName: string;
|
|
681
682
|
};
|
|
682
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
683
683
|
sourceKey: string;
|
|
684
684
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
685
685
|
effectiveWorkflowCount: number;
|
|
686
686
|
totalWorkflowCount: number;
|
|
687
687
|
shadowedWorkflowCount: number;
|
|
688
688
|
migration?: {
|
|
689
|
-
summary: string;
|
|
690
689
|
reason: "legacy_project_precedence";
|
|
690
|
+
summary: string;
|
|
691
691
|
preferredSource: "rooted_sharing";
|
|
692
692
|
currentSource: "legacy_project";
|
|
693
693
|
} | undefined;
|
|
@@ -701,19 +701,19 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
701
701
|
} | undefined;
|
|
702
702
|
stale?: true | undefined;
|
|
703
703
|
}, {
|
|
704
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
704
705
|
source: {
|
|
705
|
-
kind: "
|
|
706
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
706
707
|
displayName: string;
|
|
707
708
|
};
|
|
708
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
709
709
|
sourceKey: string;
|
|
710
710
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
711
711
|
effectiveWorkflowCount: number;
|
|
712
712
|
totalWorkflowCount: number;
|
|
713
713
|
shadowedWorkflowCount: number;
|
|
714
714
|
migration?: {
|
|
715
|
-
summary: string;
|
|
716
715
|
reason: "legacy_project_precedence";
|
|
716
|
+
summary: string;
|
|
717
717
|
preferredSource: "rooted_sharing";
|
|
718
718
|
currentSource: "legacy_project";
|
|
719
719
|
} | undefined;
|
|
@@ -730,21 +730,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
730
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
731
|
workflows: {
|
|
732
732
|
kind: "workflow";
|
|
733
|
+
workflowHash: string | null;
|
|
734
|
+
workflowId: string;
|
|
733
735
|
name: string;
|
|
734
736
|
description: string;
|
|
735
737
|
version: string;
|
|
736
|
-
workflowId: string;
|
|
737
|
-
workflowHash: string | null;
|
|
738
738
|
examples?: string[] | undefined;
|
|
739
739
|
visibility?: {
|
|
740
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
740
741
|
source: {
|
|
741
|
-
kind: "
|
|
742
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
742
743
|
displayName: string;
|
|
743
744
|
};
|
|
744
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
745
745
|
migration?: {
|
|
746
|
-
summary: string;
|
|
747
746
|
reason: "legacy_project_precedence";
|
|
747
|
+
summary: string;
|
|
748
748
|
preferredSource: "rooted_sharing";
|
|
749
749
|
currentSource: "legacy_project";
|
|
750
750
|
} | undefined;
|
|
@@ -755,26 +755,26 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
755
755
|
} | undefined;
|
|
756
756
|
} | undefined;
|
|
757
757
|
staleness?: {
|
|
758
|
-
level: "none" | "possible" | "likely";
|
|
759
758
|
reason: string;
|
|
759
|
+
level: "none" | "possible" | "likely";
|
|
760
760
|
specVersionAtLastReview?: number | undefined;
|
|
761
761
|
} | undefined;
|
|
762
762
|
}[];
|
|
763
763
|
warnings?: string[] | undefined;
|
|
764
764
|
sources?: {
|
|
765
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
765
766
|
source: {
|
|
766
|
-
kind: "
|
|
767
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
767
768
|
displayName: string;
|
|
768
769
|
};
|
|
769
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
770
770
|
sourceKey: string;
|
|
771
771
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
772
772
|
effectiveWorkflowCount: number;
|
|
773
773
|
totalWorkflowCount: number;
|
|
774
774
|
shadowedWorkflowCount: number;
|
|
775
775
|
migration?: {
|
|
776
|
-
summary: string;
|
|
777
776
|
reason: "legacy_project_precedence";
|
|
777
|
+
summary: string;
|
|
778
778
|
preferredSource: "rooted_sharing";
|
|
779
779
|
currentSource: "legacy_project";
|
|
780
780
|
} | undefined;
|
|
@@ -800,21 +800,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
800
800
|
}, {
|
|
801
801
|
workflows: {
|
|
802
802
|
kind: "workflow";
|
|
803
|
+
workflowHash: string | null;
|
|
804
|
+
workflowId: string;
|
|
803
805
|
name: string;
|
|
804
806
|
description: string;
|
|
805
807
|
version: string;
|
|
806
|
-
workflowId: string;
|
|
807
|
-
workflowHash: string | null;
|
|
808
808
|
examples?: string[] | undefined;
|
|
809
809
|
visibility?: {
|
|
810
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
810
811
|
source: {
|
|
811
|
-
kind: "
|
|
812
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
812
813
|
displayName: string;
|
|
813
814
|
};
|
|
814
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
815
815
|
migration?: {
|
|
816
|
-
summary: string;
|
|
817
816
|
reason: "legacy_project_precedence";
|
|
817
|
+
summary: string;
|
|
818
818
|
preferredSource: "rooted_sharing";
|
|
819
819
|
currentSource: "legacy_project";
|
|
820
820
|
} | undefined;
|
|
@@ -825,26 +825,26 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
|
|
|
825
825
|
} | undefined;
|
|
826
826
|
} | undefined;
|
|
827
827
|
staleness?: {
|
|
828
|
-
level: "none" | "possible" | "likely";
|
|
829
828
|
reason: string;
|
|
829
|
+
level: "none" | "possible" | "likely";
|
|
830
830
|
specVersionAtLastReview?: number | undefined;
|
|
831
831
|
} | undefined;
|
|
832
832
|
}[];
|
|
833
833
|
warnings?: string[] | undefined;
|
|
834
834
|
sources?: {
|
|
835
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
835
836
|
source: {
|
|
836
|
-
kind: "
|
|
837
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
837
838
|
displayName: string;
|
|
838
839
|
};
|
|
839
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
|
|
840
840
|
sourceKey: string;
|
|
841
841
|
sourceMode: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "live_directory";
|
|
842
842
|
effectiveWorkflowCount: number;
|
|
843
843
|
totalWorkflowCount: number;
|
|
844
844
|
shadowedWorkflowCount: number;
|
|
845
845
|
migration?: {
|
|
846
|
-
summary: string;
|
|
847
846
|
reason: "legacy_project_precedence";
|
|
847
|
+
summary: string;
|
|
848
848
|
preferredSource: "rooted_sharing";
|
|
849
849
|
currentSource: "legacy_project";
|
|
850
850
|
} | undefined;
|
|
@@ -879,10 +879,10 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
879
879
|
kind: z.ZodEnum<["bundled", "user", "project", "custom", "git", "remote", "plugin"]>;
|
|
880
880
|
displayName: z.ZodString;
|
|
881
881
|
}, "strip", z.ZodTypeAny, {
|
|
882
|
-
kind: "
|
|
882
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
883
883
|
displayName: string;
|
|
884
884
|
}, {
|
|
885
|
-
kind: "
|
|
885
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
886
886
|
displayName: string;
|
|
887
887
|
}>;
|
|
888
888
|
rootedSharing: z.ZodOptional<z.ZodObject<{
|
|
@@ -904,25 +904,25 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
904
904
|
reason: z.ZodLiteral<"legacy_project_precedence">;
|
|
905
905
|
summary: z.ZodString;
|
|
906
906
|
}, "strip", z.ZodTypeAny, {
|
|
907
|
-
summary: string;
|
|
908
907
|
reason: "legacy_project_precedence";
|
|
908
|
+
summary: string;
|
|
909
909
|
preferredSource: "rooted_sharing";
|
|
910
910
|
currentSource: "legacy_project";
|
|
911
911
|
}, {
|
|
912
|
-
summary: string;
|
|
913
912
|
reason: "legacy_project_precedence";
|
|
913
|
+
summary: string;
|
|
914
914
|
preferredSource: "rooted_sharing";
|
|
915
915
|
currentSource: "legacy_project";
|
|
916
916
|
}>>;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
918
919
|
source: {
|
|
919
|
-
kind: "
|
|
920
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
920
921
|
displayName: string;
|
|
921
922
|
};
|
|
922
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
923
923
|
migration?: {
|
|
924
|
-
summary: string;
|
|
925
924
|
reason: "legacy_project_precedence";
|
|
925
|
+
summary: string;
|
|
926
926
|
preferredSource: "rooted_sharing";
|
|
927
927
|
currentSource: "legacy_project";
|
|
928
928
|
} | undefined;
|
|
@@ -932,14 +932,14 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
932
932
|
groupLabel: string;
|
|
933
933
|
} | undefined;
|
|
934
934
|
}, {
|
|
935
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
935
936
|
source: {
|
|
936
|
-
kind: "
|
|
937
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
937
938
|
displayName: string;
|
|
938
939
|
};
|
|
939
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
940
940
|
migration?: {
|
|
941
|
-
summary: string;
|
|
942
941
|
reason: "legacy_project_precedence";
|
|
942
|
+
summary: string;
|
|
943
943
|
preferredSource: "rooted_sharing";
|
|
944
944
|
currentSource: "legacy_project";
|
|
945
945
|
} | undefined;
|
|
@@ -959,17 +959,17 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
959
959
|
authoritative: z.ZodBoolean;
|
|
960
960
|
resolveFrom: z.ZodOptional<z.ZodEnum<["workspace", "package"]>>;
|
|
961
961
|
}, "strip", z.ZodTypeAny, {
|
|
962
|
-
|
|
962
|
+
source: string;
|
|
963
963
|
title: string;
|
|
964
|
+
id: string;
|
|
964
965
|
purpose: string;
|
|
965
|
-
source: string;
|
|
966
966
|
authoritative: boolean;
|
|
967
967
|
resolveFrom?: "workspace" | "package" | undefined;
|
|
968
968
|
}, {
|
|
969
|
-
|
|
969
|
+
source: string;
|
|
970
970
|
title: string;
|
|
971
|
+
id: string;
|
|
971
972
|
purpose: string;
|
|
972
|
-
source: string;
|
|
973
973
|
authoritative: boolean;
|
|
974
974
|
resolveFrom?: "workspace" | "package" | undefined;
|
|
975
975
|
}>, "many">>;
|
|
@@ -978,37 +978,37 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
978
978
|
reason: z.ZodString;
|
|
979
979
|
specVersionAtLastReview: z.ZodOptional<z.ZodNumber>;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
level: "none" | "possible" | "likely";
|
|
982
981
|
reason: string;
|
|
982
|
+
level: "none" | "possible" | "likely";
|
|
983
983
|
specVersionAtLastReview?: number | undefined;
|
|
984
984
|
}, {
|
|
985
|
-
level: "none" | "possible" | "likely";
|
|
986
985
|
reason: string;
|
|
986
|
+
level: "none" | "possible" | "likely";
|
|
987
987
|
specVersionAtLastReview?: number | undefined;
|
|
988
988
|
}>>;
|
|
989
989
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
-
workflowId: string;
|
|
991
990
|
workflowHash: string;
|
|
991
|
+
workflowId: string;
|
|
992
992
|
mode: "metadata" | "preview";
|
|
993
993
|
compiled: JsonValue;
|
|
994
994
|
references?: {
|
|
995
|
-
|
|
995
|
+
source: string;
|
|
996
996
|
title: string;
|
|
997
|
+
id: string;
|
|
997
998
|
purpose: string;
|
|
998
|
-
source: string;
|
|
999
999
|
authoritative: boolean;
|
|
1000
1000
|
resolveFrom?: "workspace" | "package" | undefined;
|
|
1001
1001
|
}[] | undefined;
|
|
1002
1002
|
warnings?: string[] | undefined;
|
|
1003
1003
|
visibility?: {
|
|
1004
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
1004
1005
|
source: {
|
|
1005
|
-
kind: "
|
|
1006
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
1006
1007
|
displayName: string;
|
|
1007
1008
|
};
|
|
1008
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
1009
1009
|
migration?: {
|
|
1010
|
-
summary: string;
|
|
1011
1010
|
reason: "legacy_project_precedence";
|
|
1011
|
+
summary: string;
|
|
1012
1012
|
preferredSource: "rooted_sharing";
|
|
1013
1013
|
currentSource: "legacy_project";
|
|
1014
1014
|
} | undefined;
|
|
@@ -1019,34 +1019,34 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
1019
1019
|
} | undefined;
|
|
1020
1020
|
} | undefined;
|
|
1021
1021
|
staleness?: {
|
|
1022
|
-
level: "none" | "possible" | "likely";
|
|
1023
1022
|
reason: string;
|
|
1023
|
+
level: "none" | "possible" | "likely";
|
|
1024
1024
|
specVersionAtLastReview?: number | undefined;
|
|
1025
1025
|
} | undefined;
|
|
1026
1026
|
staleRoots?: string[] | undefined;
|
|
1027
1027
|
}, {
|
|
1028
|
-
workflowId: string;
|
|
1029
1028
|
workflowHash: string;
|
|
1029
|
+
workflowId: string;
|
|
1030
1030
|
mode: "metadata" | "preview";
|
|
1031
1031
|
compiled: JsonValue;
|
|
1032
1032
|
references?: {
|
|
1033
|
-
|
|
1033
|
+
source: string;
|
|
1034
1034
|
title: string;
|
|
1035
|
+
id: string;
|
|
1035
1036
|
purpose: string;
|
|
1036
|
-
source: string;
|
|
1037
1037
|
authoritative: boolean;
|
|
1038
1038
|
resolveFrom?: "workspace" | "package" | undefined;
|
|
1039
1039
|
}[] | undefined;
|
|
1040
1040
|
warnings?: string[] | undefined;
|
|
1041
1041
|
visibility?: {
|
|
1042
|
+
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
1042
1043
|
source: {
|
|
1043
|
-
kind: "
|
|
1044
|
+
kind: "custom" | "bundled" | "user" | "project" | "remote" | "plugin" | "git";
|
|
1044
1045
|
displayName: string;
|
|
1045
1046
|
};
|
|
1046
|
-
category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
|
|
1047
1047
|
migration?: {
|
|
1048
|
-
summary: string;
|
|
1049
1048
|
reason: "legacy_project_precedence";
|
|
1049
|
+
summary: string;
|
|
1050
1050
|
preferredSource: "rooted_sharing";
|
|
1051
1051
|
currentSource: "legacy_project";
|
|
1052
1052
|
} | undefined;
|
|
@@ -1057,8 +1057,8 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
|
|
|
1057
1057
|
} | undefined;
|
|
1058
1058
|
} | undefined;
|
|
1059
1059
|
staleness?: {
|
|
1060
|
-
level: "none" | "possible" | "likely";
|
|
1061
1060
|
reason: string;
|
|
1061
|
+
level: "none" | "possible" | "likely";
|
|
1062
1062
|
specVersionAtLastReview?: number | undefined;
|
|
1063
1063
|
} | undefined;
|
|
1064
1064
|
staleRoots?: string[] | undefined;
|
|
@@ -1090,10 +1090,10 @@ export declare const V2PreferencesSchema: z.ZodObject<{
|
|
|
1090
1090
|
autonomy: z.ZodEnum<["guided", "full_auto_stop_on_user_deps", "full_auto_never_stop"]>;
|
|
1091
1091
|
riskPolicy: z.ZodEnum<["conservative", "balanced", "aggressive"]>;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
autonomy: "guided" | "
|
|
1093
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1094
1094
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1095
1095
|
}, {
|
|
1096
|
-
autonomy: "guided" | "
|
|
1096
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1097
1097
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1098
1098
|
}>;
|
|
1099
1099
|
export declare const V2NextIntentSchema: z.ZodEnum<["perform_pending_then_continue", "await_user_confirmation", "rehydrate_only", "complete"]>;
|
|
@@ -1184,12 +1184,12 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1184
1184
|
dimensionId: z.ZodString;
|
|
1185
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1186
1186
|
kind: "assessment_dimension";
|
|
1187
|
-
assessmentId: string;
|
|
1188
1187
|
dimensionId: string;
|
|
1188
|
+
assessmentId: string;
|
|
1189
1189
|
}, {
|
|
1190
1190
|
kind: "assessment_dimension";
|
|
1191
|
-
assessmentId: string;
|
|
1192
1191
|
dimensionId: string;
|
|
1192
|
+
assessmentId: string;
|
|
1193
1193
|
}>, z.ZodObject<{
|
|
1194
1194
|
kind: z.ZodLiteral<"workflow_step">;
|
|
1195
1195
|
stepId: z.ZodString;
|
|
@@ -1204,7 +1204,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1204
1204
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1206
|
message: string;
|
|
1207
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1207
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1208
1208
|
pointer: {
|
|
1209
1209
|
kind: "context_key";
|
|
1210
1210
|
key: string;
|
|
@@ -1218,8 +1218,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1218
1218
|
capability: "delegation" | "web_browsing";
|
|
1219
1219
|
} | {
|
|
1220
1220
|
kind: "assessment_dimension";
|
|
1221
|
-
assessmentId: string;
|
|
1222
1221
|
dimensionId: string;
|
|
1222
|
+
assessmentId: string;
|
|
1223
1223
|
} | {
|
|
1224
1224
|
kind: "workflow_step";
|
|
1225
1225
|
stepId: string;
|
|
@@ -1227,7 +1227,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1227
1227
|
suggestedFix?: string | undefined;
|
|
1228
1228
|
}, {
|
|
1229
1229
|
message: string;
|
|
1230
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1230
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1231
1231
|
pointer: {
|
|
1232
1232
|
kind: "context_key";
|
|
1233
1233
|
key: string;
|
|
@@ -1241,8 +1241,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1241
1241
|
capability: "delegation" | "web_browsing";
|
|
1242
1242
|
} | {
|
|
1243
1243
|
kind: "assessment_dimension";
|
|
1244
|
-
assessmentId: string;
|
|
1245
1244
|
dimensionId: string;
|
|
1245
|
+
assessmentId: string;
|
|
1246
1246
|
} | {
|
|
1247
1247
|
kind: "workflow_step";
|
|
1248
1248
|
stepId: string;
|
|
@@ -1252,7 +1252,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1252
1252
|
}, "strip", z.ZodTypeAny, {
|
|
1253
1253
|
blockers: readonly {
|
|
1254
1254
|
message: string;
|
|
1255
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1255
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1256
1256
|
pointer: {
|
|
1257
1257
|
kind: "context_key";
|
|
1258
1258
|
key: string;
|
|
@@ -1266,8 +1266,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1266
1266
|
capability: "delegation" | "web_browsing";
|
|
1267
1267
|
} | {
|
|
1268
1268
|
kind: "assessment_dimension";
|
|
1269
|
-
assessmentId: string;
|
|
1270
1269
|
dimensionId: string;
|
|
1270
|
+
assessmentId: string;
|
|
1271
1271
|
} | {
|
|
1272
1272
|
kind: "workflow_step";
|
|
1273
1273
|
stepId: string;
|
|
@@ -1277,7 +1277,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1277
1277
|
}, {
|
|
1278
1278
|
blockers: readonly {
|
|
1279
1279
|
message: string;
|
|
1280
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1280
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1281
1281
|
pointer: {
|
|
1282
1282
|
kind: "context_key";
|
|
1283
1283
|
key: string;
|
|
@@ -1291,8 +1291,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1291
1291
|
capability: "delegation" | "web_browsing";
|
|
1292
1292
|
} | {
|
|
1293
1293
|
kind: "assessment_dimension";
|
|
1294
|
-
assessmentId: string;
|
|
1295
1294
|
dimensionId: string;
|
|
1295
|
+
assessmentId: string;
|
|
1296
1296
|
} | {
|
|
1297
1297
|
kind: "workflow_step";
|
|
1298
1298
|
stepId: string;
|
|
@@ -1302,7 +1302,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1302
1302
|
}>, {
|
|
1303
1303
|
blockers: readonly {
|
|
1304
1304
|
message: string;
|
|
1305
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1305
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1306
1306
|
pointer: {
|
|
1307
1307
|
kind: "context_key";
|
|
1308
1308
|
key: string;
|
|
@@ -1316,8 +1316,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1316
1316
|
capability: "delegation" | "web_browsing";
|
|
1317
1317
|
} | {
|
|
1318
1318
|
kind: "assessment_dimension";
|
|
1319
|
-
assessmentId: string;
|
|
1320
1319
|
dimensionId: string;
|
|
1320
|
+
assessmentId: string;
|
|
1321
1321
|
} | {
|
|
1322
1322
|
kind: "workflow_step";
|
|
1323
1323
|
stepId: string;
|
|
@@ -1327,7 +1327,7 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1327
1327
|
}, {
|
|
1328
1328
|
blockers: readonly {
|
|
1329
1329
|
message: string;
|
|
1330
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1330
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1331
1331
|
pointer: {
|
|
1332
1332
|
kind: "context_key";
|
|
1333
1333
|
key: string;
|
|
@@ -1341,8 +1341,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1341
1341
|
capability: "delegation" | "web_browsing";
|
|
1342
1342
|
} | {
|
|
1343
1343
|
kind: "assessment_dimension";
|
|
1344
|
-
assessmentId: string;
|
|
1345
1344
|
dimensionId: string;
|
|
1345
|
+
assessmentId: string;
|
|
1346
1346
|
} | {
|
|
1347
1347
|
kind: "workflow_step";
|
|
1348
1348
|
stepId: string;
|
|
@@ -1375,51 +1375,51 @@ export declare const V2StepContextSchema: z.ZodObject<{
|
|
|
1375
1375
|
level: z.ZodString;
|
|
1376
1376
|
rationale: z.ZodOptional<z.ZodString>;
|
|
1377
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1378
|
-
level: string;
|
|
1379
1378
|
dimensionId: string;
|
|
1379
|
+
level: string;
|
|
1380
1380
|
rationale?: string | undefined;
|
|
1381
1381
|
}, {
|
|
1382
|
-
level: string;
|
|
1383
1382
|
dimensionId: string;
|
|
1383
|
+
level: string;
|
|
1384
1384
|
rationale?: string | undefined;
|
|
1385
1385
|
}>, "many">;
|
|
1386
1386
|
normalizationNotes: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
|
|
1387
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1388
1388
|
assessmentId: string;
|
|
1389
|
+
normalizationNotes: readonly string[];
|
|
1389
1390
|
dimensions: {
|
|
1390
|
-
level: string;
|
|
1391
1391
|
dimensionId: string;
|
|
1392
|
+
level: string;
|
|
1392
1393
|
rationale?: string | undefined;
|
|
1393
1394
|
}[];
|
|
1394
|
-
normalizationNotes: readonly string[];
|
|
1395
1395
|
}, {
|
|
1396
1396
|
assessmentId: string;
|
|
1397
|
+
normalizationNotes: readonly string[];
|
|
1397
1398
|
dimensions: {
|
|
1398
|
-
level: string;
|
|
1399
1399
|
dimensionId: string;
|
|
1400
|
+
level: string;
|
|
1400
1401
|
rationale?: string | undefined;
|
|
1401
1402
|
}[];
|
|
1402
|
-
normalizationNotes: readonly string[];
|
|
1403
1403
|
}>, "many">>;
|
|
1404
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1405
1405
|
assessments?: {
|
|
1406
1406
|
assessmentId: string;
|
|
1407
|
+
normalizationNotes: readonly string[];
|
|
1407
1408
|
dimensions: {
|
|
1408
|
-
level: string;
|
|
1409
1409
|
dimensionId: string;
|
|
1410
|
+
level: string;
|
|
1410
1411
|
rationale?: string | undefined;
|
|
1411
1412
|
}[];
|
|
1412
|
-
normalizationNotes: readonly string[];
|
|
1413
1413
|
}[] | undefined;
|
|
1414
1414
|
}, {
|
|
1415
1415
|
assessments?: {
|
|
1416
1416
|
assessmentId: string;
|
|
1417
|
+
normalizationNotes: readonly string[];
|
|
1417
1418
|
dimensions: {
|
|
1418
|
-
level: string;
|
|
1419
1419
|
dimensionId: string;
|
|
1420
|
+
level: string;
|
|
1420
1421
|
rationale?: string | undefined;
|
|
1421
1422
|
}[];
|
|
1422
|
-
normalizationNotes: readonly string[];
|
|
1423
1423
|
}[] | undefined;
|
|
1424
1424
|
}>;
|
|
1425
1425
|
export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -1447,10 +1447,10 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1447
1447
|
autonomy: z.ZodEnum<["guided", "full_auto_stop_on_user_deps", "full_auto_never_stop"]>;
|
|
1448
1448
|
riskPolicy: z.ZodEnum<["conservative", "balanced", "aggressive"]>;
|
|
1449
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1450
|
-
autonomy: "guided" | "
|
|
1450
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1451
1451
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1452
1452
|
}, {
|
|
1453
|
-
autonomy: "guided" | "
|
|
1453
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1454
1454
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1455
1455
|
}>;
|
|
1456
1456
|
nextIntent: z.ZodEnum<["perform_pending_then_continue", "await_user_confirmation", "rehydrate_only", "complete"]>;
|
|
@@ -1498,51 +1498,51 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1498
1498
|
level: z.ZodString;
|
|
1499
1499
|
rationale: z.ZodOptional<z.ZodString>;
|
|
1500
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1501
|
-
level: string;
|
|
1502
1501
|
dimensionId: string;
|
|
1502
|
+
level: string;
|
|
1503
1503
|
rationale?: string | undefined;
|
|
1504
1504
|
}, {
|
|
1505
|
-
level: string;
|
|
1506
1505
|
dimensionId: string;
|
|
1506
|
+
level: string;
|
|
1507
1507
|
rationale?: string | undefined;
|
|
1508
1508
|
}>, "many">;
|
|
1509
1509
|
normalizationNotes: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
|
|
1510
1510
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1511
|
assessmentId: string;
|
|
1512
|
+
normalizationNotes: readonly string[];
|
|
1512
1513
|
dimensions: {
|
|
1513
|
-
level: string;
|
|
1514
1514
|
dimensionId: string;
|
|
1515
|
+
level: string;
|
|
1515
1516
|
rationale?: string | undefined;
|
|
1516
1517
|
}[];
|
|
1517
|
-
normalizationNotes: readonly string[];
|
|
1518
1518
|
}, {
|
|
1519
1519
|
assessmentId: string;
|
|
1520
|
+
normalizationNotes: readonly string[];
|
|
1520
1521
|
dimensions: {
|
|
1521
|
-
level: string;
|
|
1522
1522
|
dimensionId: string;
|
|
1523
|
+
level: string;
|
|
1523
1524
|
rationale?: string | undefined;
|
|
1524
1525
|
}[];
|
|
1525
|
-
normalizationNotes: readonly string[];
|
|
1526
1526
|
}>, "many">>;
|
|
1527
1527
|
}, "strip", z.ZodTypeAny, {
|
|
1528
1528
|
assessments?: {
|
|
1529
1529
|
assessmentId: string;
|
|
1530
|
+
normalizationNotes: readonly string[];
|
|
1530
1531
|
dimensions: {
|
|
1531
|
-
level: string;
|
|
1532
1532
|
dimensionId: string;
|
|
1533
|
+
level: string;
|
|
1533
1534
|
rationale?: string | undefined;
|
|
1534
1535
|
}[];
|
|
1535
|
-
normalizationNotes: readonly string[];
|
|
1536
1536
|
}[] | undefined;
|
|
1537
1537
|
}, {
|
|
1538
1538
|
assessments?: {
|
|
1539
1539
|
assessmentId: string;
|
|
1540
|
+
normalizationNotes: readonly string[];
|
|
1540
1541
|
dimensions: {
|
|
1541
|
-
level: string;
|
|
1542
1542
|
dimensionId: string;
|
|
1543
|
+
level: string;
|
|
1543
1544
|
rationale?: string | undefined;
|
|
1544
1545
|
}[];
|
|
1545
|
-
normalizationNotes: readonly string[];
|
|
1546
1546
|
}[] | undefined;
|
|
1547
1547
|
}>>;
|
|
1548
1548
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1555,7 +1555,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1555
1555
|
} | null;
|
|
1556
1556
|
isComplete: boolean;
|
|
1557
1557
|
preferences: {
|
|
1558
|
-
autonomy: "guided" | "
|
|
1558
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1559
1559
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1560
1560
|
};
|
|
1561
1561
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -1576,12 +1576,12 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1576
1576
|
stepContext?: {
|
|
1577
1577
|
assessments?: {
|
|
1578
1578
|
assessmentId: string;
|
|
1579
|
+
normalizationNotes: readonly string[];
|
|
1579
1580
|
dimensions: {
|
|
1580
|
-
level: string;
|
|
1581
1581
|
dimensionId: string;
|
|
1582
|
+
level: string;
|
|
1582
1583
|
rationale?: string | undefined;
|
|
1583
1584
|
}[];
|
|
1584
|
-
normalizationNotes: readonly string[];
|
|
1585
1585
|
}[] | undefined;
|
|
1586
1586
|
} | undefined;
|
|
1587
1587
|
}, {
|
|
@@ -1594,7 +1594,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1594
1594
|
} | null;
|
|
1595
1595
|
isComplete: boolean;
|
|
1596
1596
|
preferences: {
|
|
1597
|
-
autonomy: "guided" | "
|
|
1597
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1598
1598
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1599
1599
|
};
|
|
1600
1600
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -1615,12 +1615,12 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1615
1615
|
stepContext?: {
|
|
1616
1616
|
assessments?: {
|
|
1617
1617
|
assessmentId: string;
|
|
1618
|
+
normalizationNotes: readonly string[];
|
|
1618
1619
|
dimensions: {
|
|
1619
|
-
level: string;
|
|
1620
1620
|
dimensionId: string;
|
|
1621
|
+
level: string;
|
|
1621
1622
|
rationale?: string | undefined;
|
|
1622
1623
|
}[];
|
|
1623
|
-
normalizationNotes: readonly string[];
|
|
1624
1624
|
}[] | undefined;
|
|
1625
1625
|
} | undefined;
|
|
1626
1626
|
}>, z.ZodObject<{
|
|
@@ -1648,10 +1648,10 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1648
1648
|
autonomy: z.ZodEnum<["guided", "full_auto_stop_on_user_deps", "full_auto_never_stop"]>;
|
|
1649
1649
|
riskPolicy: z.ZodEnum<["conservative", "balanced", "aggressive"]>;
|
|
1650
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1651
|
-
autonomy: "guided" | "
|
|
1651
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1652
1652
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1653
1653
|
}, {
|
|
1654
|
-
autonomy: "guided" | "
|
|
1654
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1655
1655
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1656
1656
|
}>;
|
|
1657
1657
|
nextIntent: z.ZodEnum<["perform_pending_then_continue", "await_user_confirmation", "rehydrate_only", "complete"]>;
|
|
@@ -1717,12 +1717,12 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1717
1717
|
dimensionId: z.ZodString;
|
|
1718
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1719
1719
|
kind: "assessment_dimension";
|
|
1720
|
-
assessmentId: string;
|
|
1721
1720
|
dimensionId: string;
|
|
1721
|
+
assessmentId: string;
|
|
1722
1722
|
}, {
|
|
1723
1723
|
kind: "assessment_dimension";
|
|
1724
|
-
assessmentId: string;
|
|
1725
1724
|
dimensionId: string;
|
|
1725
|
+
assessmentId: string;
|
|
1726
1726
|
}>, z.ZodObject<{
|
|
1727
1727
|
kind: z.ZodLiteral<"workflow_step">;
|
|
1728
1728
|
stepId: z.ZodString;
|
|
@@ -1737,7 +1737,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1737
1737
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1738
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1739
1739
|
message: string;
|
|
1740
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1740
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1741
1741
|
pointer: {
|
|
1742
1742
|
kind: "context_key";
|
|
1743
1743
|
key: string;
|
|
@@ -1751,8 +1751,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1751
1751
|
capability: "delegation" | "web_browsing";
|
|
1752
1752
|
} | {
|
|
1753
1753
|
kind: "assessment_dimension";
|
|
1754
|
-
assessmentId: string;
|
|
1755
1754
|
dimensionId: string;
|
|
1755
|
+
assessmentId: string;
|
|
1756
1756
|
} | {
|
|
1757
1757
|
kind: "workflow_step";
|
|
1758
1758
|
stepId: string;
|
|
@@ -1760,7 +1760,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1760
1760
|
suggestedFix?: string | undefined;
|
|
1761
1761
|
}, {
|
|
1762
1762
|
message: string;
|
|
1763
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1763
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1764
1764
|
pointer: {
|
|
1765
1765
|
kind: "context_key";
|
|
1766
1766
|
key: string;
|
|
@@ -1774,8 +1774,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1774
1774
|
capability: "delegation" | "web_browsing";
|
|
1775
1775
|
} | {
|
|
1776
1776
|
kind: "assessment_dimension";
|
|
1777
|
-
assessmentId: string;
|
|
1778
1777
|
dimensionId: string;
|
|
1778
|
+
assessmentId: string;
|
|
1779
1779
|
} | {
|
|
1780
1780
|
kind: "workflow_step";
|
|
1781
1781
|
stepId: string;
|
|
@@ -1785,7 +1785,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1785
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1786
1786
|
blockers: readonly {
|
|
1787
1787
|
message: string;
|
|
1788
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1788
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1789
1789
|
pointer: {
|
|
1790
1790
|
kind: "context_key";
|
|
1791
1791
|
key: string;
|
|
@@ -1799,8 +1799,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1799
1799
|
capability: "delegation" | "web_browsing";
|
|
1800
1800
|
} | {
|
|
1801
1801
|
kind: "assessment_dimension";
|
|
1802
|
-
assessmentId: string;
|
|
1803
1802
|
dimensionId: string;
|
|
1803
|
+
assessmentId: string;
|
|
1804
1804
|
} | {
|
|
1805
1805
|
kind: "workflow_step";
|
|
1806
1806
|
stepId: string;
|
|
@@ -1810,7 +1810,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1810
1810
|
}, {
|
|
1811
1811
|
blockers: readonly {
|
|
1812
1812
|
message: string;
|
|
1813
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1813
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1814
1814
|
pointer: {
|
|
1815
1815
|
kind: "context_key";
|
|
1816
1816
|
key: string;
|
|
@@ -1824,8 +1824,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1824
1824
|
capability: "delegation" | "web_browsing";
|
|
1825
1825
|
} | {
|
|
1826
1826
|
kind: "assessment_dimension";
|
|
1827
|
-
assessmentId: string;
|
|
1828
1827
|
dimensionId: string;
|
|
1828
|
+
assessmentId: string;
|
|
1829
1829
|
} | {
|
|
1830
1830
|
kind: "workflow_step";
|
|
1831
1831
|
stepId: string;
|
|
@@ -1835,7 +1835,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1835
1835
|
}>, {
|
|
1836
1836
|
blockers: readonly {
|
|
1837
1837
|
message: string;
|
|
1838
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1838
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1839
1839
|
pointer: {
|
|
1840
1840
|
kind: "context_key";
|
|
1841
1841
|
key: string;
|
|
@@ -1849,8 +1849,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1849
1849
|
capability: "delegation" | "web_browsing";
|
|
1850
1850
|
} | {
|
|
1851
1851
|
kind: "assessment_dimension";
|
|
1852
|
-
assessmentId: string;
|
|
1853
1852
|
dimensionId: string;
|
|
1853
|
+
assessmentId: string;
|
|
1854
1854
|
} | {
|
|
1855
1855
|
kind: "workflow_step";
|
|
1856
1856
|
stepId: string;
|
|
@@ -1860,7 +1860,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1860
1860
|
}, {
|
|
1861
1861
|
blockers: readonly {
|
|
1862
1862
|
message: string;
|
|
1863
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1863
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1864
1864
|
pointer: {
|
|
1865
1865
|
kind: "context_key";
|
|
1866
1866
|
key: string;
|
|
@@ -1874,8 +1874,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1874
1874
|
capability: "delegation" | "web_browsing";
|
|
1875
1875
|
} | {
|
|
1876
1876
|
kind: "assessment_dimension";
|
|
1877
|
-
assessmentId: string;
|
|
1878
1877
|
dimensionId: string;
|
|
1878
|
+
assessmentId: string;
|
|
1879
1879
|
} | {
|
|
1880
1880
|
kind: "workflow_step";
|
|
1881
1881
|
stepId: string;
|
|
@@ -1899,18 +1899,18 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1899
1899
|
title: z.ZodString;
|
|
1900
1900
|
guidance: z.ZodString;
|
|
1901
1901
|
}, "strip", z.ZodTypeAny, {
|
|
1902
|
-
title: string;
|
|
1903
1902
|
guidance: string;
|
|
1904
|
-
}, {
|
|
1905
1903
|
title: string;
|
|
1904
|
+
}, {
|
|
1906
1905
|
guidance: string;
|
|
1906
|
+
title: string;
|
|
1907
1907
|
}>>;
|
|
1908
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1909
1909
|
kind: "blocked";
|
|
1910
1910
|
blockers: {
|
|
1911
1911
|
blockers: readonly {
|
|
1912
1912
|
message: string;
|
|
1913
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1913
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1914
1914
|
pointer: {
|
|
1915
1915
|
kind: "context_key";
|
|
1916
1916
|
key: string;
|
|
@@ -1924,8 +1924,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1924
1924
|
capability: "delegation" | "web_browsing";
|
|
1925
1925
|
} | {
|
|
1926
1926
|
kind: "assessment_dimension";
|
|
1927
|
-
assessmentId: string;
|
|
1928
1927
|
dimensionId: string;
|
|
1928
|
+
assessmentId: string;
|
|
1929
1929
|
} | {
|
|
1930
1930
|
kind: "workflow_step";
|
|
1931
1931
|
stepId: string;
|
|
@@ -1941,7 +1941,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1941
1941
|
} | null;
|
|
1942
1942
|
isComplete: boolean;
|
|
1943
1943
|
preferences: {
|
|
1944
|
-
autonomy: "guided" | "
|
|
1944
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
1945
1945
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1946
1946
|
};
|
|
1947
1947
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -1960,15 +1960,15 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1960
1960
|
retryable?: boolean | undefined;
|
|
1961
1961
|
retryContinueToken?: string | undefined;
|
|
1962
1962
|
assessmentFollowup?: {
|
|
1963
|
-
title: string;
|
|
1964
1963
|
guidance: string;
|
|
1964
|
+
title: string;
|
|
1965
1965
|
} | undefined;
|
|
1966
1966
|
}, {
|
|
1967
1967
|
kind: "blocked";
|
|
1968
1968
|
blockers: {
|
|
1969
1969
|
blockers: readonly {
|
|
1970
1970
|
message: string;
|
|
1971
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
1971
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
1972
1972
|
pointer: {
|
|
1973
1973
|
kind: "context_key";
|
|
1974
1974
|
key: string;
|
|
@@ -1982,8 +1982,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1982
1982
|
capability: "delegation" | "web_browsing";
|
|
1983
1983
|
} | {
|
|
1984
1984
|
kind: "assessment_dimension";
|
|
1985
|
-
assessmentId: string;
|
|
1986
1985
|
dimensionId: string;
|
|
1986
|
+
assessmentId: string;
|
|
1987
1987
|
} | {
|
|
1988
1988
|
kind: "workflow_step";
|
|
1989
1989
|
stepId: string;
|
|
@@ -1999,7 +1999,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
1999
1999
|
} | null;
|
|
2000
2000
|
isComplete: boolean;
|
|
2001
2001
|
preferences: {
|
|
2002
|
-
autonomy: "guided" | "
|
|
2002
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2003
2003
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2004
2004
|
};
|
|
2005
2005
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2018,8 +2018,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2018
2018
|
retryable?: boolean | undefined;
|
|
2019
2019
|
retryContinueToken?: string | undefined;
|
|
2020
2020
|
assessmentFollowup?: {
|
|
2021
|
-
title: string;
|
|
2022
2021
|
guidance: string;
|
|
2022
|
+
title: string;
|
|
2023
2023
|
} | undefined;
|
|
2024
2024
|
}>]>, {
|
|
2025
2025
|
kind: "ok";
|
|
@@ -2031,7 +2031,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2031
2031
|
} | null;
|
|
2032
2032
|
isComplete: boolean;
|
|
2033
2033
|
preferences: {
|
|
2034
|
-
autonomy: "guided" | "
|
|
2034
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2035
2035
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2036
2036
|
};
|
|
2037
2037
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2052,12 +2052,12 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2052
2052
|
stepContext?: {
|
|
2053
2053
|
assessments?: {
|
|
2054
2054
|
assessmentId: string;
|
|
2055
|
+
normalizationNotes: readonly string[];
|
|
2055
2056
|
dimensions: {
|
|
2056
|
-
level: string;
|
|
2057
2057
|
dimensionId: string;
|
|
2058
|
+
level: string;
|
|
2058
2059
|
rationale?: string | undefined;
|
|
2059
2060
|
}[];
|
|
2060
|
-
normalizationNotes: readonly string[];
|
|
2061
2061
|
}[] | undefined;
|
|
2062
2062
|
} | undefined;
|
|
2063
2063
|
} | {
|
|
@@ -2065,7 +2065,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2065
2065
|
blockers: {
|
|
2066
2066
|
blockers: readonly {
|
|
2067
2067
|
message: string;
|
|
2068
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
2068
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
2069
2069
|
pointer: {
|
|
2070
2070
|
kind: "context_key";
|
|
2071
2071
|
key: string;
|
|
@@ -2079,8 +2079,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2079
2079
|
capability: "delegation" | "web_browsing";
|
|
2080
2080
|
} | {
|
|
2081
2081
|
kind: "assessment_dimension";
|
|
2082
|
-
assessmentId: string;
|
|
2083
2082
|
dimensionId: string;
|
|
2083
|
+
assessmentId: string;
|
|
2084
2084
|
} | {
|
|
2085
2085
|
kind: "workflow_step";
|
|
2086
2086
|
stepId: string;
|
|
@@ -2096,7 +2096,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2096
2096
|
} | null;
|
|
2097
2097
|
isComplete: boolean;
|
|
2098
2098
|
preferences: {
|
|
2099
|
-
autonomy: "guided" | "
|
|
2099
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2100
2100
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2101
2101
|
};
|
|
2102
2102
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2115,8 +2115,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2115
2115
|
retryable?: boolean | undefined;
|
|
2116
2116
|
retryContinueToken?: string | undefined;
|
|
2117
2117
|
assessmentFollowup?: {
|
|
2118
|
-
title: string;
|
|
2119
2118
|
guidance: string;
|
|
2119
|
+
title: string;
|
|
2120
2120
|
} | undefined;
|
|
2121
2121
|
}, {
|
|
2122
2122
|
kind: "ok";
|
|
@@ -2128,7 +2128,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2128
2128
|
} | null;
|
|
2129
2129
|
isComplete: boolean;
|
|
2130
2130
|
preferences: {
|
|
2131
|
-
autonomy: "guided" | "
|
|
2131
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2132
2132
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2133
2133
|
};
|
|
2134
2134
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2149,12 +2149,12 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2149
2149
|
stepContext?: {
|
|
2150
2150
|
assessments?: {
|
|
2151
2151
|
assessmentId: string;
|
|
2152
|
+
normalizationNotes: readonly string[];
|
|
2152
2153
|
dimensions: {
|
|
2153
|
-
level: string;
|
|
2154
2154
|
dimensionId: string;
|
|
2155
|
+
level: string;
|
|
2155
2156
|
rationale?: string | undefined;
|
|
2156
2157
|
}[];
|
|
2157
|
-
normalizationNotes: readonly string[];
|
|
2158
2158
|
}[] | undefined;
|
|
2159
2159
|
} | undefined;
|
|
2160
2160
|
} | {
|
|
@@ -2162,7 +2162,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2162
2162
|
blockers: {
|
|
2163
2163
|
blockers: readonly {
|
|
2164
2164
|
message: string;
|
|
2165
|
-
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "
|
|
2165
|
+
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED" | "ASSESSMENT_FOLLOWUP_REQUIRED";
|
|
2166
2166
|
pointer: {
|
|
2167
2167
|
kind: "context_key";
|
|
2168
2168
|
key: string;
|
|
@@ -2176,8 +2176,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2176
2176
|
capability: "delegation" | "web_browsing";
|
|
2177
2177
|
} | {
|
|
2178
2178
|
kind: "assessment_dimension";
|
|
2179
|
-
assessmentId: string;
|
|
2180
2179
|
dimensionId: string;
|
|
2180
|
+
assessmentId: string;
|
|
2181
2181
|
} | {
|
|
2182
2182
|
kind: "workflow_step";
|
|
2183
2183
|
stepId: string;
|
|
@@ -2193,7 +2193,7 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2193
2193
|
} | null;
|
|
2194
2194
|
isComplete: boolean;
|
|
2195
2195
|
preferences: {
|
|
2196
|
-
autonomy: "guided" | "
|
|
2196
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2197
2197
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2198
2198
|
};
|
|
2199
2199
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2212,8 +2212,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
|
|
|
2212
2212
|
retryable?: boolean | undefined;
|
|
2213
2213
|
retryContinueToken?: string | undefined;
|
|
2214
2214
|
assessmentFollowup?: {
|
|
2215
|
-
title: string;
|
|
2216
2215
|
guidance: string;
|
|
2216
|
+
title: string;
|
|
2217
2217
|
} | undefined;
|
|
2218
2218
|
}>;
|
|
2219
2219
|
export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
@@ -2257,14 +2257,15 @@ export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
|
2257
2257
|
tool: "continue_workflow";
|
|
2258
2258
|
}>;
|
|
2259
2259
|
}, "strip", z.ZodTypeAny, {
|
|
2260
|
-
confidence: "medium" | "strong" | "weak";
|
|
2261
2260
|
sessionId: string;
|
|
2262
|
-
workflowId: string;
|
|
2263
2261
|
runId: string;
|
|
2262
|
+
workflowId: string;
|
|
2263
|
+
confidence: "strong" | "weak" | "medium";
|
|
2264
2264
|
isComplete: boolean;
|
|
2265
|
+
pendingStepId: string | null;
|
|
2265
2266
|
sessionTitle: string | null;
|
|
2266
|
-
gitBranch: string | null;
|
|
2267
2267
|
lastModifiedMs: number | null;
|
|
2268
|
+
gitBranch: string | null;
|
|
2268
2269
|
nextCall: {
|
|
2269
2270
|
params: {
|
|
2270
2271
|
intent: "rehydrate";
|
|
@@ -2275,17 +2276,17 @@ export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
|
2275
2276
|
resumeToken: string;
|
|
2276
2277
|
snippet: string;
|
|
2277
2278
|
matchExplanation: string;
|
|
2278
|
-
|
|
2279
|
-
whyMatched: ("matched_exact_id" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "matched_head_sha" | "matched_branch" | "matched_repo_root" | "recency_fallback")[];
|
|
2279
|
+
whyMatched: ("matched_exact_id" | "matched_head_sha" | "matched_repo_root" | "matched_branch" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "recency_fallback")[];
|
|
2280
2280
|
}, {
|
|
2281
|
-
confidence: "medium" | "strong" | "weak";
|
|
2282
2281
|
sessionId: string;
|
|
2283
|
-
workflowId: string;
|
|
2284
2282
|
runId: string;
|
|
2283
|
+
workflowId: string;
|
|
2284
|
+
confidence: "strong" | "weak" | "medium";
|
|
2285
2285
|
isComplete: boolean;
|
|
2286
|
+
pendingStepId: string | null;
|
|
2286
2287
|
sessionTitle: string | null;
|
|
2287
|
-
gitBranch: string | null;
|
|
2288
2288
|
lastModifiedMs: number | null;
|
|
2289
|
+
gitBranch: string | null;
|
|
2289
2290
|
nextCall: {
|
|
2290
2291
|
params: {
|
|
2291
2292
|
intent: "rehydrate";
|
|
@@ -2296,20 +2297,20 @@ export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
|
2296
2297
|
resumeToken: string;
|
|
2297
2298
|
snippet: string;
|
|
2298
2299
|
matchExplanation: string;
|
|
2299
|
-
|
|
2300
|
-
whyMatched: ("matched_exact_id" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "matched_head_sha" | "matched_branch" | "matched_repo_root" | "recency_fallback")[];
|
|
2300
|
+
whyMatched: ("matched_exact_id" | "matched_head_sha" | "matched_repo_root" | "matched_branch" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "recency_fallback")[];
|
|
2301
2301
|
}>, "many">;
|
|
2302
2302
|
totalEligible: z.ZodNumber;
|
|
2303
2303
|
}, "strip", z.ZodTypeAny, {
|
|
2304
2304
|
candidates: {
|
|
2305
|
-
confidence: "medium" | "strong" | "weak";
|
|
2306
2305
|
sessionId: string;
|
|
2307
|
-
workflowId: string;
|
|
2308
2306
|
runId: string;
|
|
2307
|
+
workflowId: string;
|
|
2308
|
+
confidence: "strong" | "weak" | "medium";
|
|
2309
2309
|
isComplete: boolean;
|
|
2310
|
+
pendingStepId: string | null;
|
|
2310
2311
|
sessionTitle: string | null;
|
|
2311
|
-
gitBranch: string | null;
|
|
2312
2312
|
lastModifiedMs: number | null;
|
|
2313
|
+
gitBranch: string | null;
|
|
2313
2314
|
nextCall: {
|
|
2314
2315
|
params: {
|
|
2315
2316
|
intent: "rehydrate";
|
|
@@ -2320,20 +2321,20 @@ export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
|
2320
2321
|
resumeToken: string;
|
|
2321
2322
|
snippet: string;
|
|
2322
2323
|
matchExplanation: string;
|
|
2323
|
-
|
|
2324
|
-
whyMatched: ("matched_exact_id" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "matched_head_sha" | "matched_branch" | "matched_repo_root" | "recency_fallback")[];
|
|
2324
|
+
whyMatched: ("matched_exact_id" | "matched_head_sha" | "matched_repo_root" | "matched_branch" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "recency_fallback")[];
|
|
2325
2325
|
}[];
|
|
2326
2326
|
totalEligible: number;
|
|
2327
2327
|
}, {
|
|
2328
2328
|
candidates: {
|
|
2329
|
-
confidence: "medium" | "strong" | "weak";
|
|
2330
2329
|
sessionId: string;
|
|
2331
|
-
workflowId: string;
|
|
2332
2330
|
runId: string;
|
|
2331
|
+
workflowId: string;
|
|
2332
|
+
confidence: "strong" | "weak" | "medium";
|
|
2333
2333
|
isComplete: boolean;
|
|
2334
|
+
pendingStepId: string | null;
|
|
2334
2335
|
sessionTitle: string | null;
|
|
2335
|
-
gitBranch: string | null;
|
|
2336
2336
|
lastModifiedMs: number | null;
|
|
2337
|
+
gitBranch: string | null;
|
|
2337
2338
|
nextCall: {
|
|
2338
2339
|
params: {
|
|
2339
2340
|
intent: "rehydrate";
|
|
@@ -2344,8 +2345,7 @@ export declare const V2ResumeSessionOutputSchema: z.ZodObject<{
|
|
|
2344
2345
|
resumeToken: string;
|
|
2345
2346
|
snippet: string;
|
|
2346
2347
|
matchExplanation: string;
|
|
2347
|
-
|
|
2348
|
-
whyMatched: ("matched_exact_id" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "matched_head_sha" | "matched_branch" | "matched_repo_root" | "recency_fallback")[];
|
|
2348
|
+
whyMatched: ("matched_exact_id" | "matched_head_sha" | "matched_repo_root" | "matched_branch" | "matched_notes" | "matched_notes_partial" | "matched_workflow_id" | "recency_fallback")[];
|
|
2349
2349
|
}[];
|
|
2350
2350
|
totalEligible: number;
|
|
2351
2351
|
}>;
|
|
@@ -2415,10 +2415,10 @@ export declare const V2StartWorkflowOutputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2415
2415
|
autonomy: z.ZodEnum<["guided", "full_auto_stop_on_user_deps", "full_auto_never_stop"]>;
|
|
2416
2416
|
riskPolicy: z.ZodEnum<["conservative", "balanced", "aggressive"]>;
|
|
2417
2417
|
}, "strip", z.ZodTypeAny, {
|
|
2418
|
-
autonomy: "guided" | "
|
|
2418
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2419
2419
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2420
2420
|
}, {
|
|
2421
|
-
autonomy: "guided" | "
|
|
2421
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2422
2422
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2423
2423
|
}>;
|
|
2424
2424
|
nextIntent: z.ZodEnum<["perform_pending_then_continue", "await_user_confirmation", "rehydrate_only", "complete"]>;
|
|
@@ -2453,7 +2453,7 @@ export declare const V2StartWorkflowOutputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2453
2453
|
} | null;
|
|
2454
2454
|
isComplete: boolean;
|
|
2455
2455
|
preferences: {
|
|
2456
|
-
autonomy: "guided" | "
|
|
2456
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2457
2457
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2458
2458
|
};
|
|
2459
2459
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2476,7 +2476,7 @@ export declare const V2StartWorkflowOutputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2476
2476
|
} | null;
|
|
2477
2477
|
isComplete: boolean;
|
|
2478
2478
|
preferences: {
|
|
2479
|
-
autonomy: "guided" | "
|
|
2479
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2480
2480
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2481
2481
|
};
|
|
2482
2482
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2499,7 +2499,7 @@ export declare const V2StartWorkflowOutputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2499
2499
|
} | null;
|
|
2500
2500
|
isComplete: boolean;
|
|
2501
2501
|
preferences: {
|
|
2502
|
-
autonomy: "guided" | "
|
|
2502
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2503
2503
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2504
2504
|
};
|
|
2505
2505
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|
|
@@ -2522,7 +2522,7 @@ export declare const V2StartWorkflowOutputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2522
2522
|
} | null;
|
|
2523
2523
|
isComplete: boolean;
|
|
2524
2524
|
preferences: {
|
|
2525
|
-
autonomy: "guided" | "
|
|
2525
|
+
autonomy: "guided" | "full_auto_stop_on_user_deps" | "full_auto_never_stop";
|
|
2526
2526
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
2527
2527
|
};
|
|
2528
2528
|
nextIntent: "complete" | "perform_pending_then_continue" | "await_user_confirmation" | "rehydrate_only";
|