@exaudeus/workrail 3.25.0 → 3.26.1

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 (59) hide show
  1. package/dist/cli/commands/index.d.ts +5 -0
  2. package/dist/cli/commands/index.js +12 -1
  3. package/dist/cli/commands/worktrain-await.d.ts +35 -0
  4. package/dist/cli/commands/worktrain-await.js +207 -0
  5. package/dist/cli/commands/worktrain-inbox.d.ts +23 -0
  6. package/dist/cli/commands/worktrain-inbox.js +82 -0
  7. package/dist/cli/commands/worktrain-init.d.ts +23 -0
  8. package/dist/cli/commands/worktrain-init.js +338 -0
  9. package/dist/cli/commands/worktrain-spawn.d.ts +28 -0
  10. package/dist/cli/commands/worktrain-spawn.js +106 -0
  11. package/dist/cli/commands/worktrain-tell.d.ts +25 -0
  12. package/dist/cli/commands/worktrain-tell.js +32 -0
  13. package/dist/cli-worktrain.d.ts +2 -0
  14. package/dist/cli-worktrain.js +169 -0
  15. package/dist/cli.js +13 -3
  16. package/dist/config/config-file.d.ts +2 -0
  17. package/dist/config/config-file.js +55 -0
  18. package/dist/daemon/agent-loop.d.ts +90 -0
  19. package/dist/daemon/agent-loop.js +214 -0
  20. package/dist/daemon/pi-mono-loader.d.ts +0 -5
  21. package/dist/daemon/pi-mono-loader.js +0 -64
  22. package/dist/daemon/soul-template.d.ts +2 -0
  23. package/dist/daemon/soul-template.js +22 -0
  24. package/dist/daemon/workflow-runner.d.ts +24 -2
  25. package/dist/daemon/workflow-runner.js +244 -120
  26. package/dist/manifest.json +147 -51
  27. package/dist/mcp/output-schemas.d.ts +154 -154
  28. package/dist/mcp/transports/bridge-entry.js +20 -2
  29. package/dist/mcp/transports/bridge-events.d.ts +34 -0
  30. package/dist/mcp/transports/bridge-events.js +24 -0
  31. package/dist/mcp/transports/fatal-exit.d.ts +5 -0
  32. package/dist/mcp/transports/fatal-exit.js +82 -0
  33. package/dist/mcp/transports/http-entry.js +3 -0
  34. package/dist/mcp/transports/stdio-entry.js +3 -7
  35. package/dist/mcp/v2/tools.d.ts +7 -7
  36. package/dist/trigger/delivery-action.d.ts +37 -0
  37. package/dist/trigger/delivery-action.js +204 -0
  38. package/dist/trigger/delivery-client.d.ts +11 -0
  39. package/dist/trigger/delivery-client.js +27 -0
  40. package/dist/trigger/trigger-listener.d.ts +2 -0
  41. package/dist/trigger/trigger-listener.js +12 -2
  42. package/dist/trigger/trigger-router.d.ts +8 -2
  43. package/dist/trigger/trigger-router.js +164 -6
  44. package/dist/trigger/trigger-store.d.ts +11 -3
  45. package/dist/trigger/trigger-store.js +254 -13
  46. package/dist/trigger/types.d.ts +24 -0
  47. package/dist/trigger/types.js +4 -0
  48. package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +22 -22
  49. package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +114 -114
  50. package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +454 -454
  51. package/dist/v2/durable-core/schemas/session/blockers.d.ts +14 -14
  52. package/dist/v2/durable-core/schemas/session/events.d.ts +93 -93
  53. package/dist/v2/durable-core/schemas/session/gaps.d.ts +2 -2
  54. package/dist/v2/durable-core/schemas/session/validation-event.d.ts +4 -4
  55. package/dist/v2/usecases/console-routes.js +33 -3
  56. package/package.json +6 -4
  57. package/spec/workflow-tags.json +1 -0
  58. package/workflows/classify-task-workflow.json +68 -0
  59. package/workflows/coding-task-workflow-agentic.lean.v2.json +43 -13
@@ -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: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
167
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
168
168
  displayName: string;
169
169
  }, {
170
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
170
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
171
171
  displayName: string;
172
172
  }>;
173
173
  rootedSharing: z.ZodOptional<z.ZodObject<{
@@ -201,38 +201,38 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
201
201
  }>>;
202
202
  }, "strip", z.ZodTypeAny, {
203
203
  source: {
204
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
204
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
205
205
  displayName: string;
206
206
  };
207
207
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
208
- rootedSharing?: {
209
- kind: "remembered_root";
210
- rootPath: string;
211
- groupLabel: string;
212
- } | undefined;
213
208
  migration?: {
214
209
  summary: string;
215
210
  reason: "legacy_project_precedence";
216
211
  preferredSource: "rooted_sharing";
217
212
  currentSource: "legacy_project";
218
213
  } | undefined;
219
- }, {
220
- source: {
221
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
222
- displayName: string;
223
- };
224
- category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
225
214
  rootedSharing?: {
226
215
  kind: "remembered_root";
227
216
  rootPath: string;
228
217
  groupLabel: string;
229
218
  } | undefined;
219
+ }, {
220
+ source: {
221
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
222
+ displayName: string;
223
+ };
224
+ category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
230
225
  migration?: {
231
226
  summary: string;
232
227
  reason: "legacy_project_precedence";
233
228
  preferredSource: "rooted_sharing";
234
229
  currentSource: "legacy_project";
235
230
  } | undefined;
231
+ rootedSharing?: {
232
+ kind: "remembered_root";
233
+ rootPath: string;
234
+ groupLabel: string;
235
+ } | undefined;
236
236
  }>>;
237
237
  staleness: z.ZodOptional<z.ZodObject<{
238
238
  level: z.ZodEnum<["none", "possible", "likely"]>;
@@ -258,21 +258,21 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
258
258
  examples?: string[] | undefined;
259
259
  visibility?: {
260
260
  source: {
261
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
261
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
262
262
  displayName: string;
263
263
  };
264
264
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
265
- rootedSharing?: {
266
- kind: "remembered_root";
267
- rootPath: string;
268
- groupLabel: string;
269
- } | undefined;
270
265
  migration?: {
271
266
  summary: string;
272
267
  reason: "legacy_project_precedence";
273
268
  preferredSource: "rooted_sharing";
274
269
  currentSource: "legacy_project";
275
270
  } | undefined;
271
+ rootedSharing?: {
272
+ kind: "remembered_root";
273
+ rootPath: string;
274
+ groupLabel: string;
275
+ } | undefined;
276
276
  } | undefined;
277
277
  staleness?: {
278
278
  level: "none" | "possible" | "likely";
@@ -289,21 +289,21 @@ export declare const V2WorkflowListItemSchema: z.ZodObject<{
289
289
  examples?: string[] | undefined;
290
290
  visibility?: {
291
291
  source: {
292
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
292
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
293
293
  displayName: string;
294
294
  };
295
295
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
296
- rootedSharing?: {
297
- kind: "remembered_root";
298
- rootPath: string;
299
- groupLabel: string;
300
- } | undefined;
301
296
  migration?: {
302
297
  summary: string;
303
298
  reason: "legacy_project_precedence";
304
299
  preferredSource: "rooted_sharing";
305
300
  currentSource: "legacy_project";
306
301
  } | undefined;
302
+ rootedSharing?: {
303
+ kind: "remembered_root";
304
+ rootPath: string;
305
+ groupLabel: string;
306
+ } | undefined;
307
307
  } | undefined;
308
308
  staleness?: {
309
309
  level: "none" | "possible" | "likely";
@@ -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: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
321
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
322
322
  displayName: string;
323
323
  }, {
324
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
324
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
325
325
  displayName: string;
326
326
  }>;
327
327
  sourceMode: z.ZodEnum<["built_in", "personal", "legacy_project", "rooted_sharing", "live_directory"]>;
@@ -367,7 +367,7 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
367
367
  }>>;
368
368
  }, "strip", z.ZodTypeAny, {
369
369
  source: {
370
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
370
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
371
371
  displayName: string;
372
372
  };
373
373
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -376,24 +376,24 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
376
376
  effectiveWorkflowCount: number;
377
377
  totalWorkflowCount: number;
378
378
  shadowedWorkflowCount: number;
379
- rootedSharing?: {
380
- kind: "remembered_root";
381
- rootPath: string;
382
- groupLabel: string;
383
- } | undefined;
384
379
  migration?: {
385
380
  summary: string;
386
381
  reason: "legacy_project_precedence";
387
382
  preferredSource: "rooted_sharing";
388
383
  currentSource: "legacy_project";
389
384
  } | undefined;
385
+ rootedSharing?: {
386
+ kind: "remembered_root";
387
+ rootPath: string;
388
+ groupLabel: string;
389
+ } | undefined;
390
390
  managed?: {
391
391
  addedAtMs: number;
392
392
  } | undefined;
393
393
  stale?: true | undefined;
394
394
  }, {
395
395
  source: {
396
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
396
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
397
397
  displayName: string;
398
398
  };
399
399
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -402,17 +402,17 @@ export declare const V2WorkflowSourceCatalogEntrySchema: z.ZodObject<{
402
402
  effectiveWorkflowCount: number;
403
403
  totalWorkflowCount: number;
404
404
  shadowedWorkflowCount: number;
405
- rootedSharing?: {
406
- kind: "remembered_root";
407
- rootPath: string;
408
- groupLabel: string;
409
- } | undefined;
410
405
  migration?: {
411
406
  summary: string;
412
407
  reason: "legacy_project_precedence";
413
408
  preferredSource: "rooted_sharing";
414
409
  currentSource: "legacy_project";
415
410
  } | undefined;
411
+ rootedSharing?: {
412
+ kind: "remembered_root";
413
+ rootPath: string;
414
+ groupLabel: string;
415
+ } | undefined;
416
416
  managed?: {
417
417
  addedAtMs: number;
418
418
  } | 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: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
454
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
455
455
  displayName: string;
456
456
  }, {
457
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
457
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
458
458
  displayName: string;
459
459
  }>;
460
460
  rootedSharing: z.ZodOptional<z.ZodObject<{
@@ -488,38 +488,38 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
488
488
  }>>;
489
489
  }, "strip", z.ZodTypeAny, {
490
490
  source: {
491
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
491
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
492
492
  displayName: string;
493
493
  };
494
494
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
495
- rootedSharing?: {
496
- kind: "remembered_root";
497
- rootPath: string;
498
- groupLabel: string;
499
- } | undefined;
500
495
  migration?: {
501
496
  summary: string;
502
497
  reason: "legacy_project_precedence";
503
498
  preferredSource: "rooted_sharing";
504
499
  currentSource: "legacy_project";
505
500
  } | undefined;
506
- }, {
507
- source: {
508
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
509
- displayName: string;
510
- };
511
- category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
512
501
  rootedSharing?: {
513
502
  kind: "remembered_root";
514
503
  rootPath: string;
515
504
  groupLabel: string;
516
505
  } | undefined;
506
+ }, {
507
+ source: {
508
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
509
+ displayName: string;
510
+ };
511
+ category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
517
512
  migration?: {
518
513
  summary: string;
519
514
  reason: "legacy_project_precedence";
520
515
  preferredSource: "rooted_sharing";
521
516
  currentSource: "legacy_project";
522
517
  } | undefined;
518
+ rootedSharing?: {
519
+ kind: "remembered_root";
520
+ rootPath: string;
521
+ groupLabel: string;
522
+ } | undefined;
523
523
  }>>;
524
524
  staleness: z.ZodOptional<z.ZodObject<{
525
525
  level: z.ZodEnum<["none", "possible", "likely"]>;
@@ -545,21 +545,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
545
545
  examples?: string[] | undefined;
546
546
  visibility?: {
547
547
  source: {
548
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
548
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
549
549
  displayName: string;
550
550
  };
551
551
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
552
- rootedSharing?: {
553
- kind: "remembered_root";
554
- rootPath: string;
555
- groupLabel: string;
556
- } | undefined;
557
552
  migration?: {
558
553
  summary: string;
559
554
  reason: "legacy_project_precedence";
560
555
  preferredSource: "rooted_sharing";
561
556
  currentSource: "legacy_project";
562
557
  } | undefined;
558
+ rootedSharing?: {
559
+ kind: "remembered_root";
560
+ rootPath: string;
561
+ groupLabel: string;
562
+ } | undefined;
563
563
  } | undefined;
564
564
  staleness?: {
565
565
  level: "none" | "possible" | "likely";
@@ -576,21 +576,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
576
576
  examples?: string[] | undefined;
577
577
  visibility?: {
578
578
  source: {
579
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
579
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
580
580
  displayName: string;
581
581
  };
582
582
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
583
- rootedSharing?: {
584
- kind: "remembered_root";
585
- rootPath: string;
586
- groupLabel: string;
587
- } | undefined;
588
583
  migration?: {
589
584
  summary: string;
590
585
  reason: "legacy_project_precedence";
591
586
  preferredSource: "rooted_sharing";
592
587
  currentSource: "legacy_project";
593
588
  } | undefined;
589
+ rootedSharing?: {
590
+ kind: "remembered_root";
591
+ rootPath: string;
592
+ groupLabel: string;
593
+ } | undefined;
594
594
  } | undefined;
595
595
  staleness?: {
596
596
  level: "none" | "possible" | "likely";
@@ -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: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
630
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
631
631
  displayName: string;
632
632
  }, {
633
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
633
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
634
634
  displayName: string;
635
635
  }>;
636
636
  sourceMode: z.ZodEnum<["built_in", "personal", "legacy_project", "rooted_sharing", "live_directory"]>;
@@ -676,7 +676,7 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
676
676
  }>>;
677
677
  }, "strip", z.ZodTypeAny, {
678
678
  source: {
679
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
679
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
680
680
  displayName: string;
681
681
  };
682
682
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -685,24 +685,24 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
685
685
  effectiveWorkflowCount: number;
686
686
  totalWorkflowCount: number;
687
687
  shadowedWorkflowCount: number;
688
- rootedSharing?: {
689
- kind: "remembered_root";
690
- rootPath: string;
691
- groupLabel: string;
692
- } | undefined;
693
688
  migration?: {
694
689
  summary: string;
695
690
  reason: "legacy_project_precedence";
696
691
  preferredSource: "rooted_sharing";
697
692
  currentSource: "legacy_project";
698
693
  } | undefined;
694
+ rootedSharing?: {
695
+ kind: "remembered_root";
696
+ rootPath: string;
697
+ groupLabel: string;
698
+ } | undefined;
699
699
  managed?: {
700
700
  addedAtMs: number;
701
701
  } | undefined;
702
702
  stale?: true | undefined;
703
703
  }, {
704
704
  source: {
705
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
705
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
706
706
  displayName: string;
707
707
  };
708
708
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -711,17 +711,17 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
711
711
  effectiveWorkflowCount: number;
712
712
  totalWorkflowCount: number;
713
713
  shadowedWorkflowCount: number;
714
- rootedSharing?: {
715
- kind: "remembered_root";
716
- rootPath: string;
717
- groupLabel: string;
718
- } | undefined;
719
714
  migration?: {
720
715
  summary: string;
721
716
  reason: "legacy_project_precedence";
722
717
  preferredSource: "rooted_sharing";
723
718
  currentSource: "legacy_project";
724
719
  } | undefined;
720
+ rootedSharing?: {
721
+ kind: "remembered_root";
722
+ rootPath: string;
723
+ groupLabel: string;
724
+ } | undefined;
725
725
  managed?: {
726
726
  addedAtMs: number;
727
727
  } | undefined;
@@ -738,21 +738,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
738
738
  examples?: string[] | undefined;
739
739
  visibility?: {
740
740
  source: {
741
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
741
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
742
742
  displayName: string;
743
743
  };
744
744
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
745
- rootedSharing?: {
746
- kind: "remembered_root";
747
- rootPath: string;
748
- groupLabel: string;
749
- } | undefined;
750
745
  migration?: {
751
746
  summary: string;
752
747
  reason: "legacy_project_precedence";
753
748
  preferredSource: "rooted_sharing";
754
749
  currentSource: "legacy_project";
755
750
  } | undefined;
751
+ rootedSharing?: {
752
+ kind: "remembered_root";
753
+ rootPath: string;
754
+ groupLabel: string;
755
+ } | undefined;
756
756
  } | undefined;
757
757
  staleness?: {
758
758
  level: "none" | "possible" | "likely";
@@ -760,9 +760,10 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
760
760
  specVersionAtLastReview?: number | undefined;
761
761
  } | undefined;
762
762
  }[];
763
+ warnings?: string[] | undefined;
763
764
  sources?: {
764
765
  source: {
765
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
766
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
766
767
  displayName: string;
767
768
  };
768
769
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -771,23 +772,22 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
771
772
  effectiveWorkflowCount: number;
772
773
  totalWorkflowCount: number;
773
774
  shadowedWorkflowCount: number;
774
- rootedSharing?: {
775
- kind: "remembered_root";
776
- rootPath: string;
777
- groupLabel: string;
778
- } | undefined;
779
775
  migration?: {
780
776
  summary: string;
781
777
  reason: "legacy_project_precedence";
782
778
  preferredSource: "rooted_sharing";
783
779
  currentSource: "legacy_project";
784
780
  } | undefined;
781
+ rootedSharing?: {
782
+ kind: "remembered_root";
783
+ rootPath: string;
784
+ groupLabel: string;
785
+ } | undefined;
785
786
  managed?: {
786
787
  addedAtMs: number;
787
788
  } | undefined;
788
789
  stale?: true | undefined;
789
790
  }[] | undefined;
790
- warnings?: string[] | undefined;
791
791
  tagSummary?: {
792
792
  id: string;
793
793
  when: string[];
@@ -808,21 +808,21 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
808
808
  examples?: string[] | undefined;
809
809
  visibility?: {
810
810
  source: {
811
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
811
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
812
812
  displayName: string;
813
813
  };
814
814
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
815
- rootedSharing?: {
816
- kind: "remembered_root";
817
- rootPath: string;
818
- groupLabel: string;
819
- } | undefined;
820
815
  migration?: {
821
816
  summary: string;
822
817
  reason: "legacy_project_precedence";
823
818
  preferredSource: "rooted_sharing";
824
819
  currentSource: "legacy_project";
825
820
  } | undefined;
821
+ rootedSharing?: {
822
+ kind: "remembered_root";
823
+ rootPath: string;
824
+ groupLabel: string;
825
+ } | undefined;
826
826
  } | undefined;
827
827
  staleness?: {
828
828
  level: "none" | "possible" | "likely";
@@ -830,9 +830,10 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
830
830
  specVersionAtLastReview?: number | undefined;
831
831
  } | undefined;
832
832
  }[];
833
+ warnings?: string[] | undefined;
833
834
  sources?: {
834
835
  source: {
835
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
836
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
836
837
  displayName: string;
837
838
  };
838
839
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external" | "managed";
@@ -841,23 +842,22 @@ export declare const V2WorkflowListOutputSchema: z.ZodObject<{
841
842
  effectiveWorkflowCount: number;
842
843
  totalWorkflowCount: number;
843
844
  shadowedWorkflowCount: number;
844
- rootedSharing?: {
845
- kind: "remembered_root";
846
- rootPath: string;
847
- groupLabel: string;
848
- } | undefined;
849
845
  migration?: {
850
846
  summary: string;
851
847
  reason: "legacy_project_precedence";
852
848
  preferredSource: "rooted_sharing";
853
849
  currentSource: "legacy_project";
854
850
  } | undefined;
851
+ rootedSharing?: {
852
+ kind: "remembered_root";
853
+ rootPath: string;
854
+ groupLabel: string;
855
+ } | undefined;
855
856
  managed?: {
856
857
  addedAtMs: number;
857
858
  } | undefined;
858
859
  stale?: true | undefined;
859
860
  }[] | undefined;
860
- warnings?: string[] | undefined;
861
861
  tagSummary?: {
862
862
  id: string;
863
863
  when: string[];
@@ -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: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
882
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
883
883
  displayName: string;
884
884
  }, {
885
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
885
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
886
886
  displayName: string;
887
887
  }>;
888
888
  rootedSharing: z.ZodOptional<z.ZodObject<{
@@ -916,38 +916,38 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
916
916
  }>>;
917
917
  }, "strip", z.ZodTypeAny, {
918
918
  source: {
919
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
919
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
920
920
  displayName: string;
921
921
  };
922
922
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
923
- rootedSharing?: {
924
- kind: "remembered_root";
925
- rootPath: string;
926
- groupLabel: string;
927
- } | undefined;
928
923
  migration?: {
929
924
  summary: string;
930
925
  reason: "legacy_project_precedence";
931
926
  preferredSource: "rooted_sharing";
932
927
  currentSource: "legacy_project";
933
928
  } | undefined;
934
- }, {
935
- source: {
936
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
937
- displayName: string;
938
- };
939
- category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
940
929
  rootedSharing?: {
941
930
  kind: "remembered_root";
942
931
  rootPath: string;
943
932
  groupLabel: string;
944
933
  } | undefined;
934
+ }, {
935
+ source: {
936
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
937
+ displayName: string;
938
+ };
939
+ category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
945
940
  migration?: {
946
941
  summary: string;
947
942
  reason: "legacy_project_precedence";
948
943
  preferredSource: "rooted_sharing";
949
944
  currentSource: "legacy_project";
950
945
  } | undefined;
946
+ rootedSharing?: {
947
+ kind: "remembered_root";
948
+ rootPath: string;
949
+ groupLabel: string;
950
+ } | undefined;
951
951
  }>>>;
952
952
  staleRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
953
953
  warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1002,21 +1002,21 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
1002
1002
  warnings?: string[] | undefined;
1003
1003
  visibility?: {
1004
1004
  source: {
1005
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
1005
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
1006
1006
  displayName: string;
1007
1007
  };
1008
1008
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
1009
- rootedSharing?: {
1010
- kind: "remembered_root";
1011
- rootPath: string;
1012
- groupLabel: string;
1013
- } | undefined;
1014
1009
  migration?: {
1015
1010
  summary: string;
1016
1011
  reason: "legacy_project_precedence";
1017
1012
  preferredSource: "rooted_sharing";
1018
1013
  currentSource: "legacy_project";
1019
1014
  } | undefined;
1015
+ rootedSharing?: {
1016
+ kind: "remembered_root";
1017
+ rootPath: string;
1018
+ groupLabel: string;
1019
+ } | undefined;
1020
1020
  } | undefined;
1021
1021
  staleness?: {
1022
1022
  level: "none" | "possible" | "likely";
@@ -1040,21 +1040,21 @@ export declare const V2WorkflowInspectOutputSchema: z.ZodObject<{
1040
1040
  warnings?: string[] | undefined;
1041
1041
  visibility?: {
1042
1042
  source: {
1043
- kind: "custom" | "bundled" | "user" | "project" | "git" | "remote" | "plugin";
1043
+ kind: "bundled" | "user" | "project" | "custom" | "git" | "remote" | "plugin";
1044
1044
  displayName: string;
1045
1045
  };
1046
1046
  category: "built_in" | "personal" | "legacy_project" | "rooted_sharing" | "external";
1047
- rootedSharing?: {
1048
- kind: "remembered_root";
1049
- rootPath: string;
1050
- groupLabel: string;
1051
- } | undefined;
1052
1047
  migration?: {
1053
1048
  summary: string;
1054
1049
  reason: "legacy_project_precedence";
1055
1050
  preferredSource: "rooted_sharing";
1056
1051
  currentSource: "legacy_project";
1057
1052
  } | undefined;
1053
+ rootedSharing?: {
1054
+ kind: "remembered_root";
1055
+ rootPath: string;
1056
+ groupLabel: string;
1057
+ } | undefined;
1058
1058
  } | undefined;
1059
1059
  staleness?: {
1060
1060
  level: "none" | "possible" | "likely";
@@ -1149,11 +1149,11 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1149
1149
  kind: z.ZodLiteral<"context_key">;
1150
1150
  key: z.ZodString;
1151
1151
  }, "strip", z.ZodTypeAny, {
1152
- key: string;
1153
1152
  kind: "context_key";
1154
- }, {
1155
1153
  key: string;
1154
+ }, {
1156
1155
  kind: "context_key";
1156
+ key: string;
1157
1157
  }>, z.ZodObject<{
1158
1158
  kind: z.ZodLiteral<"context_budget">;
1159
1159
  }, "strip", z.ZodTypeAny, {
@@ -1206,8 +1206,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1206
1206
  message: string;
1207
1207
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1208
1208
  pointer: {
1209
- key: string;
1210
1209
  kind: "context_key";
1210
+ key: string;
1211
1211
  } | {
1212
1212
  kind: "context_budget";
1213
1213
  } | {
@@ -1229,8 +1229,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1229
1229
  message: string;
1230
1230
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1231
1231
  pointer: {
1232
- key: string;
1233
1232
  kind: "context_key";
1233
+ key: string;
1234
1234
  } | {
1235
1235
  kind: "context_budget";
1236
1236
  } | {
@@ -1254,8 +1254,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1254
1254
  message: string;
1255
1255
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1256
1256
  pointer: {
1257
- key: string;
1258
1257
  kind: "context_key";
1258
+ key: string;
1259
1259
  } | {
1260
1260
  kind: "context_budget";
1261
1261
  } | {
@@ -1279,8 +1279,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1279
1279
  message: string;
1280
1280
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1281
1281
  pointer: {
1282
- key: string;
1283
1282
  kind: "context_key";
1283
+ key: string;
1284
1284
  } | {
1285
1285
  kind: "context_budget";
1286
1286
  } | {
@@ -1304,8 +1304,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1304
1304
  message: string;
1305
1305
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1306
1306
  pointer: {
1307
- key: string;
1308
1307
  kind: "context_key";
1308
+ key: string;
1309
1309
  } | {
1310
1310
  kind: "context_budget";
1311
1311
  } | {
@@ -1329,8 +1329,8 @@ export declare const V2BlockerReportSchema: z.ZodEffects<z.ZodObject<{
1329
1329
  message: string;
1330
1330
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1331
1331
  pointer: {
1332
- key: string;
1333
1332
  kind: "context_key";
1333
+ key: string;
1334
1334
  } | {
1335
1335
  kind: "context_budget";
1336
1336
  } | {
@@ -1682,11 +1682,11 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1682
1682
  kind: z.ZodLiteral<"context_key">;
1683
1683
  key: z.ZodString;
1684
1684
  }, "strip", z.ZodTypeAny, {
1685
- key: string;
1686
1685
  kind: "context_key";
1687
- }, {
1688
1686
  key: string;
1687
+ }, {
1689
1688
  kind: "context_key";
1689
+ key: string;
1690
1690
  }>, z.ZodObject<{
1691
1691
  kind: z.ZodLiteral<"context_budget">;
1692
1692
  }, "strip", z.ZodTypeAny, {
@@ -1739,8 +1739,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1739
1739
  message: string;
1740
1740
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1741
1741
  pointer: {
1742
- key: string;
1743
1742
  kind: "context_key";
1743
+ key: string;
1744
1744
  } | {
1745
1745
  kind: "context_budget";
1746
1746
  } | {
@@ -1762,8 +1762,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1762
1762
  message: string;
1763
1763
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1764
1764
  pointer: {
1765
- key: string;
1766
1765
  kind: "context_key";
1766
+ key: string;
1767
1767
  } | {
1768
1768
  kind: "context_budget";
1769
1769
  } | {
@@ -1787,8 +1787,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1787
1787
  message: string;
1788
1788
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1789
1789
  pointer: {
1790
- key: string;
1791
1790
  kind: "context_key";
1791
+ key: string;
1792
1792
  } | {
1793
1793
  kind: "context_budget";
1794
1794
  } | {
@@ -1812,8 +1812,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1812
1812
  message: string;
1813
1813
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1814
1814
  pointer: {
1815
- key: string;
1816
1815
  kind: "context_key";
1816
+ key: string;
1817
1817
  } | {
1818
1818
  kind: "context_budget";
1819
1819
  } | {
@@ -1837,8 +1837,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1837
1837
  message: string;
1838
1838
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1839
1839
  pointer: {
1840
- key: string;
1841
1840
  kind: "context_key";
1841
+ key: string;
1842
1842
  } | {
1843
1843
  kind: "context_budget";
1844
1844
  } | {
@@ -1862,8 +1862,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1862
1862
  message: string;
1863
1863
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1864
1864
  pointer: {
1865
- key: string;
1866
1865
  kind: "context_key";
1866
+ key: string;
1867
1867
  } | {
1868
1868
  kind: "context_budget";
1869
1869
  } | {
@@ -1912,8 +1912,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1912
1912
  message: string;
1913
1913
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1914
1914
  pointer: {
1915
- key: string;
1916
1915
  kind: "context_key";
1916
+ key: string;
1917
1917
  } | {
1918
1918
  kind: "context_budget";
1919
1919
  } | {
@@ -1970,8 +1970,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
1970
1970
  message: string;
1971
1971
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
1972
1972
  pointer: {
1973
- key: string;
1974
1973
  kind: "context_key";
1974
+ key: string;
1975
1975
  } | {
1976
1976
  kind: "context_budget";
1977
1977
  } | {
@@ -2067,8 +2067,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
2067
2067
  message: string;
2068
2068
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
2069
2069
  pointer: {
2070
- key: string;
2071
2070
  kind: "context_key";
2071
+ key: string;
2072
2072
  } | {
2073
2073
  kind: "context_budget";
2074
2074
  } | {
@@ -2164,8 +2164,8 @@ export declare const V2ContinueWorkflowOutputSchema: z.ZodEffects<z.ZodDiscrimin
2164
2164
  message: string;
2165
2165
  code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
2166
2166
  pointer: {
2167
- key: string;
2168
2167
  kind: "context_key";
2168
+ key: string;
2169
2169
  } | {
2170
2170
  kind: "context_budget";
2171
2171
  } | {
@@ -2567,11 +2567,11 @@ export declare const ReadSessionOutputSchema: z.ZodObject<{
2567
2567
  query: z.ZodString;
2568
2568
  data: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
2569
2569
  }, "strip", z.ZodTypeAny, {
2570
- query: string;
2571
2570
  data: JsonValue;
2572
- }, {
2573
2571
  query: string;
2572
+ }, {
2574
2573
  data: JsonValue;
2574
+ query: string;
2575
2575
  }>;
2576
2576
  export declare const ReadSessionSchemaOutputSchema: z.ZodObject<{
2577
2577
  query: z.ZodLiteral<"$schema">;