@openspecui/core 7.0.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{active-root-config-DxRGkvOp.d.mts → active-root-config-C77Duro0.d.mts} +9 -9
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/active-root-config.mjs +1 -1
  4. package/dist/{cli-projection-BeBPIxhK.d.mts → cli-projection-BAU6-rFs.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/cli-projection.mjs +1 -1
  7. package/dist/{dashboard-summary-transport-CXGjAcQZ.d.mts → dashboard-summary-transport-C3No2o4i.d.mts} +2985 -2578
  8. package/dist/{dashboard-summary-transport-ILCfZD_I.mjs → dashboard-summary-transport-Do8pzSES.mjs} +10 -1
  9. package/dist/dashboard-summary-transport.d.mts +26 -26
  10. package/dist/dashboard-summary-transport.mjs +2 -2
  11. package/dist/{document-translation-B3xaP0dJ.mjs → document-translation-Dmg3YJDA.mjs} +1 -1
  12. package/dist/document-translation.d.mts +1 -1
  13. package/dist/document-translation.mjs +2 -2
  14. package/dist/{hosted-app-B_T_tTvO.mjs → hosted-app-CHqdo5vd.mjs} +1 -1
  15. package/dist/hosted-app.d.mts +26 -26
  16. package/dist/hosted-app.mjs +6 -6
  17. package/dist/{hosted-contract-BxUx6ksP.mjs → hosted-contract-Qe5AmkiE.mjs} +4 -4
  18. package/dist/hosted-contract.d.mts +26 -26
  19. package/dist/hosted-contract.mjs +5 -5
  20. package/dist/{index-CkwSp1WZ.d.mts → index-BGT-MVqL.d.mts} +837 -91
  21. package/dist/index.d.mts +27 -27
  22. package/dist/index.mjs +902 -392
  23. package/dist/{local-download-profiles-DYeaRK_E.d.mts → local-download-profiles-BZj6Tw_s.d.mts} +1 -1
  24. package/dist/local-download-profiles.d.mts +2 -2
  25. package/dist/local-download-profiles.mjs +1 -1
  26. package/dist/markdown-facts.d.mts +1 -1
  27. package/dist/{markdown-reading--Sr6JAl5.d.mts → markdown-reading-CsLbxubT.d.mts} +1 -1
  28. package/dist/markdown-reading.d.mts +2 -2
  29. package/dist/{notifications-B43aFxw9.d.mts → notifications-B9cvPamG.d.mts} +4 -4
  30. package/dist/{notifications-Cy74GVN7.mjs → notifications-D6XlgL9b.mjs} +2 -2
  31. package/dist/notifications.d.mts +2 -2
  32. package/dist/notifications.mjs +3 -3
  33. package/dist/{openspec-annotations-BylPW5rz.d.mts → openspec-annotations-8ppmICAU.d.mts} +2 -2
  34. package/dist/openspec-annotations.d.mts +3 -3
  35. package/dist/openspec-compat-B246EQNW.mjs +121 -0
  36. package/dist/openspec-compat.d.mts +48 -13
  37. package/dist/openspec-compat.mjs +4 -79
  38. package/dist/{openspec-projection-NGJSLiSk.d.mts → openspec-projection-vJ03fcdF.d.mts} +3 -3
  39. package/dist/openspec-projection.d.mts +5 -5
  40. package/dist/opsx-display-path.d.mts +1 -1
  41. package/dist/opsx-display-path.mjs +1 -1
  42. package/dist/{opsx-entity-5ATD3peX.d.mts → opsx-entity-BFPRTIWN.d.mts} +2 -2
  43. package/dist/opsx-entity.d.mts +7 -7
  44. package/dist/{opsx-schema-detail-Cu7mIrGm.d.mts → opsx-schema-detail-D1129ezo.d.mts} +2 -2
  45. package/dist/opsx-schema-detail.d.mts +8 -8
  46. package/dist/{opsx-types-DJzyK1W7.d.mts → opsx-types-C_4QxcU6.d.mts} +162 -161
  47. package/dist/opsx-workflows.d.mts +1 -1
  48. package/dist/opsx-workflows.mjs +1 -1
  49. package/dist/{planning-cli-projection-BreqsrYA.mjs → planning-cli-projection-DV22v3Xl.mjs} +23 -12
  50. package/dist/planning-cli-projection.d.mts +26 -26
  51. package/dist/planning-cli-projection.mjs +4 -3
  52. package/dist/{schemas-kuds0tNv.d.mts → schemas-Dnw_rfST.d.mts} +130 -130
  53. package/dist/{sounds-vwRCMSzL.d.mts → sounds-BoLuHRve.d.mts} +9 -9
  54. package/dist/sounds.d.mts +1 -1
  55. package/dist/sounds.mjs +1 -1
  56. package/dist/{spec-catalog-DEk_oHAx.mjs → spec-catalog-Ce3uSLSc.mjs} +45 -328
  57. package/dist/spec-catalog.d.mts +26 -26
  58. package/dist/spec-catalog.mjs +3 -2
  59. package/dist/{store-content-projection-Bpdb7_d9.mjs → store-content-projection-DV31znWA.mjs} +1 -1
  60. package/dist/store-content-projection.d.mts +1 -1
  61. package/dist/store-content-projection.mjs +2 -2
  62. package/dist/{store-mutation-protocol-D9IK_wrr.d.mts → store-mutation-protocol-C4rRiO4b.d.mts} +48 -48
  63. package/dist/store-mutation-protocol.d.mts +1 -1
  64. package/dist/store-mutation-protocol.mjs +1 -1
  65. package/dist/{store-types-DxvwR0sj.d.mts → store-types-CMqxPwaj.d.mts} +1 -1
  66. package/dist/store-types.d.mts +5 -5
  67. package/dist/store-types.mjs +1 -1
  68. package/dist/task-progress.d.mts +6 -6
  69. package/dist/{terminal-audio-BcjP_os4.d.mts → terminal-audio-CNhCiZul.d.mts} +2 -2
  70. package/dist/{terminal-audio-DeubAfFC.mjs → terminal-audio-ELHVH24M.mjs} +1 -1
  71. package/dist/terminal-audio.d.mts +2 -2
  72. package/dist/terminal-audio.mjs +2 -2
  73. package/dist/{terminal-control-c6oS-lFb.mjs → terminal-control-D893EEN_.mjs} +21 -1
  74. package/dist/terminal-control.d.mts +2 -2
  75. package/dist/terminal-control.mjs +1 -1
  76. package/dist/{terminal-invocation-BW357tO1.d.mts → terminal-invocation-BnMhxtP1.d.mts} +46 -46
  77. package/dist/terminal-invocation.d.mts +1 -1
  78. package/dist/terminal-invocation.mjs +1 -1
  79. package/dist/terminal-theme.d.mts +1 -1
  80. package/dist/terminal-theme.mjs +1 -1
  81. package/dist/translation-language-pair.d.mts +1 -1
  82. package/dist/translation-language-pair.mjs +1 -1
  83. package/dist/{translator-YggUX3F7.d.mts → translator-B7GQxmun.d.mts} +86 -86
  84. package/dist/translator.d.mts +1 -1
  85. package/dist/translator.mjs +1 -1
  86. package/dist/workflow-CmQ4pFYC.mjs +344 -0
  87. package/package.json +3 -1
  88. /package/dist/{active-root-config-L5QaMb3A.mjs → active-root-config-K_wVeuI3.mjs} +0 -0
  89. /package/dist/{cli-projection-CKRwTvwf.mjs → cli-projection-Bc2WVwGj.mjs} +0 -0
  90. /package/dist/{document-translation-BNbM3fEj.d.mts → document-translation-CBqubtWC.d.mts} +0 -0
  91. /package/dist/{local-download-profiles-h9lUTXr-.mjs → local-download-profiles-BRsR1-kK.mjs} +0 -0
  92. /package/dist/{markdown-facts-DLclHfpE.d.mts → markdown-facts-CEACwik1.d.mts} +0 -0
  93. /package/dist/{opsx-display-path-BD34M8QV.d.mts → opsx-display-path-DvvAFlWG.d.mts} +0 -0
  94. /package/dist/{opsx-display-path-ocbNzMZj.mjs → opsx-display-path-cv0NJHzW.mjs} +0 -0
  95. /package/dist/{opsx-workflows-DX1r6e5j.d.mts → opsx-workflows-B72EGtj_.d.mts} +0 -0
  96. /package/dist/{opsx-workflows-byPfLlo8.mjs → opsx-workflows-BA-46T7_.mjs} +0 -0
  97. /package/dist/{sounds-6prQvKXl.mjs → sounds-cd9lIDxN.mjs} +0 -0
  98. /package/dist/{store-content-projection-R74MV_sD.d.mts → store-content-projection-BnNYyb0x.d.mts} +0 -0
  99. /package/dist/{store-mutation-protocol-CJGUWWI6.mjs → store-mutation-protocol-CBrPcppU.mjs} +0 -0
  100. /package/dist/{store-types-CvpEVNoE.mjs → store-types-C87SlrJ3.mjs} +0 -0
  101. /package/dist/{terminal-invocation-DIpoFYDo.mjs → terminal-invocation-C_FsxEUs.mjs} +0 -0
  102. /package/dist/{terminal-theme-Byzxmnjm.mjs → terminal-theme-C6BPfQ2G.mjs} +0 -0
  103. /package/dist/{terminal-theme-DX08Gci8.d.mts → terminal-theme-C7X8pUqT.d.mts} +0 -0
  104. /package/dist/{translation-language-pair-BR5uxGm-.d.mts → translation-language-pair-B6A39Cai.d.mts} +0 -0
  105. /package/dist/{translation-language-pair-DG9mOuFD.mjs → translation-language-pair-CWLlH7Ab.mjs} +0 -0
  106. /package/dist/{translator-CEGdRmKw.mjs → translator-BkNACZ9R.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { G as CliJsonValue } from "./index-CkwSp1WZ.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-kuds0tNv.mjs";
1
+ import { Y as CliJsonValue } from "./index-BGT-MVqL.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-Dnw_rfST.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -406,14 +406,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
406
406
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
407
  relativePath: z.ZodOptional<z.ZodString>;
408
408
  }, "strip", z.ZodTypeAny, {
409
- status: "ready" | "done" | "skipped" | "blocked";
409
+ status: "done" | "skipped" | "ready" | "blocked";
410
410
  id: string;
411
411
  outputPath: string;
412
412
  requires: string[];
413
413
  missingDeps?: string[] | undefined;
414
414
  relativePath?: string | undefined;
415
415
  }, {
416
- status: "ready" | "done" | "skipped" | "blocked";
416
+ status: "done" | "skipped" | "ready" | "blocked";
417
417
  id: string;
418
418
  outputPath: string;
419
419
  requires: string[];
@@ -424,7 +424,8 @@ type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
424
424
  declare const ChangeStatusSchema: z.ZodObject<{
425
425
  changeName: z.ZodString;
426
426
  schemaName: z.ZodString;
427
- isComplete: z.ZodBoolean;
427
+ /** Planning-artifact completion fact from the CLI; never an implementation-task authority. */
428
+ isPlanningComplete: z.ZodBoolean;
428
429
  applyRequires: z.ZodArray<z.ZodString, "many">;
429
430
  artifacts: z.ZodArray<z.ZodObject<{
430
431
  id: z.ZodString;
@@ -434,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
434
435
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
436
  relativePath: z.ZodOptional<z.ZodString>;
436
437
  }, "strip", z.ZodTypeAny, {
437
- status: "ready" | "done" | "skipped" | "blocked";
438
+ status: "done" | "skipped" | "ready" | "blocked";
438
439
  id: string;
439
440
  outputPath: string;
440
441
  requires: string[];
441
442
  missingDeps?: string[] | undefined;
442
443
  relativePath?: string | undefined;
443
444
  }, {
444
- status: "ready" | "done" | "skipped" | "blocked";
445
+ status: "done" | "skipped" | "ready" | "blocked";
445
446
  id: string;
446
447
  outputPath: string;
447
448
  requires: string[];
@@ -720,6 +721,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
720
721
  [k: string]: unknown;
721
722
  };
722
723
  evidence: {
724
+ command: "status";
723
725
  success: boolean;
724
726
  stdout: string;
725
727
  stderr: string;
@@ -732,16 +734,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
732
734
  target: z.ZodOptional<z.ZodString>;
733
735
  fix: z.ZodOptional<z.ZodString>;
734
736
  }, z.ZodTypeAny, "passthrough">[];
735
- command: "status";
736
737
  selector: {
737
738
  store?: string | undefined;
738
739
  };
739
- contractError?: string | undefined;
740
740
  root?: z.objectOutputType<{
741
741
  path: z.ZodString;
742
742
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
743
743
  store_id: z.ZodOptional<z.ZodString>;
744
744
  }, z.ZodTypeAny, "passthrough"> | undefined;
745
+ contractError?: string | undefined;
745
746
  } & {
746
747
  [k: string]: unknown;
747
748
  };
@@ -783,6 +784,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
783
784
  [k: string]: unknown;
784
785
  };
785
786
  evidence: {
787
+ command: "status";
786
788
  success: boolean;
787
789
  stdout: string;
788
790
  stderr: string;
@@ -795,16 +797,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
795
797
  target: z.ZodOptional<z.ZodString>;
796
798
  fix: z.ZodOptional<z.ZodString>;
797
799
  }, z.ZodTypeAny, "passthrough">[];
798
- command: "status";
799
800
  selector: {
800
801
  store?: string | undefined;
801
802
  };
802
- contractError?: string | undefined;
803
803
  root?: z.objectInputType<{
804
804
  path: z.ZodString;
805
805
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
806
806
  store_id: z.ZodOptional<z.ZodString>;
807
807
  }, z.ZodTypeAny, "passthrough"> | undefined;
808
+ contractError?: string | undefined;
808
809
  } & {
809
810
  [k: string]: unknown;
810
811
  };
@@ -818,10 +819,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
818
819
  }, "strip", z.ZodTypeAny, {
819
820
  changeName: string;
820
821
  schemaName: string;
821
- isComplete: boolean;
822
+ isPlanningComplete: boolean;
822
823
  applyRequires: string[];
823
824
  artifacts: {
824
- status: "ready" | "done" | "skipped" | "blocked";
825
+ status: "done" | "skipped" | "ready" | "blocked";
825
826
  id: string;
826
827
  outputPath: string;
827
828
  requires: string[];
@@ -866,6 +867,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
866
867
  [k: string]: unknown;
867
868
  };
868
869
  evidence: {
870
+ command: "status";
869
871
  success: boolean;
870
872
  stdout: string;
871
873
  stderr: string;
@@ -878,16 +880,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
878
880
  target: z.ZodOptional<z.ZodString>;
879
881
  fix: z.ZodOptional<z.ZodString>;
880
882
  }, z.ZodTypeAny, "passthrough">[];
881
- command: "status";
882
883
  selector: {
883
884
  store?: string | undefined;
884
885
  };
885
- contractError?: string | undefined;
886
886
  root?: z.objectOutputType<{
887
887
  path: z.ZodString;
888
888
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
889
889
  store_id: z.ZodOptional<z.ZodString>;
890
890
  }, z.ZodTypeAny, "passthrough"> | undefined;
891
+ contractError?: string | undefined;
891
892
  } & {
892
893
  [k: string]: unknown;
893
894
  };
@@ -897,10 +898,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
897
898
  }, {
898
899
  changeName: string;
899
900
  schemaName: string;
900
- isComplete: boolean;
901
+ isPlanningComplete: boolean;
901
902
  applyRequires: string[];
902
903
  artifacts: {
903
- status: "ready" | "done" | "skipped" | "blocked";
904
+ status: "done" | "skipped" | "ready" | "blocked";
904
905
  id: string;
905
906
  outputPath: string;
906
907
  requires: string[];
@@ -945,6 +946,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
945
946
  [k: string]: unknown;
946
947
  };
947
948
  evidence: {
949
+ command: "status";
948
950
  success: boolean;
949
951
  stdout: string;
950
952
  stderr: string;
@@ -957,16 +959,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
957
959
  target: z.ZodOptional<z.ZodString>;
958
960
  fix: z.ZodOptional<z.ZodString>;
959
961
  }, z.ZodTypeAny, "passthrough">[];
960
- command: "status";
961
962
  selector: {
962
963
  store?: string | undefined;
963
964
  };
964
- contractError?: string | undefined;
965
965
  root?: z.objectInputType<{
966
966
  path: z.ZodString;
967
967
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
968
968
  store_id: z.ZodOptional<z.ZodString>;
969
969
  }, z.ZodTypeAny, "passthrough"> | undefined;
970
+ contractError?: string | undefined;
970
971
  } & {
971
972
  [k: string]: unknown;
972
973
  };
@@ -1310,98 +1311,93 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1310
1311
  remaining: z.ZodNumber;
1311
1312
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
1312
1313
  }, "strip", z.ZodTypeAny, {
1313
- completed: number;
1314
1314
  total: number;
1315
1315
  remaining: number;
1316
- phase: "no-tasks" | "in-progress" | "complete";
1317
- }, {
1318
1316
  completed: number;
1317
+ phase: "no-tasks" | "complete" | "in-progress";
1318
+ }, {
1319
1319
  total: number;
1320
1320
  remaining: number;
1321
- phase: "no-tasks" | "in-progress" | "complete";
1321
+ completed: number;
1322
+ phase: "no-tasks" | "complete" | "in-progress";
1322
1323
  }>;
1323
1324
  }, "strip", z.ZodTypeAny, {
1324
- message: string;
1325
1325
  kind: "tracked-task-mismatch";
1326
+ message: string;
1326
1327
  apply: {
1327
1328
  complete: number;
1328
1329
  total: number;
1329
1330
  remaining: number;
1330
1331
  };
1331
1332
  tracked: {
1332
- completed: number;
1333
1333
  total: number;
1334
1334
  remaining: number;
1335
- phase: "no-tasks" | "in-progress" | "complete";
1335
+ completed: number;
1336
+ phase: "no-tasks" | "complete" | "in-progress";
1336
1337
  };
1337
1338
  }, {
1338
- message: string;
1339
1339
  kind: "tracked-task-mismatch";
1340
+ message: string;
1340
1341
  apply: {
1341
1342
  complete: number;
1342
1343
  total: number;
1343
1344
  remaining: number;
1344
1345
  };
1345
1346
  tracked: {
1346
- completed: number;
1347
1347
  total: number;
1348
1348
  remaining: number;
1349
- phase: "no-tasks" | "in-progress" | "complete";
1349
+ completed: number;
1350
+ phase: "no-tasks" | "complete" | "in-progress";
1350
1351
  };
1351
1352
  }>>;
1352
1353
  }, "strip", z.ZodTypeAny, {
1353
- state: "ready" | "blocked" | "all_done";
1354
+ source: "openspec-instructions-apply";
1354
1355
  complete: number;
1356
+ state: "ready" | "blocked" | "all_done";
1355
1357
  total: number;
1356
1358
  remaining: number;
1357
- source: "openspec-instructions-apply";
1358
1359
  divergence: {
1359
- message: string;
1360
1360
  kind: "tracked-task-mismatch";
1361
+ message: string;
1361
1362
  apply: {
1362
1363
  complete: number;
1363
1364
  total: number;
1364
1365
  remaining: number;
1365
1366
  };
1366
1367
  tracked: {
1367
- completed: number;
1368
1368
  total: number;
1369
1369
  remaining: number;
1370
- phase: "no-tasks" | "in-progress" | "complete";
1370
+ completed: number;
1371
+ phase: "no-tasks" | "complete" | "in-progress";
1371
1372
  };
1372
1373
  } | null;
1373
1374
  }, {
1374
- state: "ready" | "blocked" | "all_done";
1375
+ source: "openspec-instructions-apply";
1375
1376
  complete: number;
1377
+ state: "ready" | "blocked" | "all_done";
1376
1378
  total: number;
1377
1379
  remaining: number;
1378
- source: "openspec-instructions-apply";
1379
1380
  divergence: {
1380
- message: string;
1381
1381
  kind: "tracked-task-mismatch";
1382
+ message: string;
1382
1383
  apply: {
1383
1384
  complete: number;
1384
1385
  total: number;
1385
1386
  remaining: number;
1386
1387
  };
1387
1388
  tracked: {
1388
- completed: number;
1389
1389
  total: number;
1390
1390
  remaining: number;
1391
- phase: "no-tasks" | "in-progress" | "complete";
1391
+ completed: number;
1392
+ phase: "no-tasks" | "complete" | "in-progress";
1392
1393
  };
1393
1394
  } | null;
1394
1395
  }>;
1395
1396
  }, "strip", z.ZodTypeAny, {
1396
- state: "ready" | "blocked" | "all_done";
1397
- tasks: {
1398
- id: string;
1399
- done: boolean;
1400
- description: string;
1401
- }[];
1402
1397
  changeName: string;
1403
1398
  schemaName: string;
1404
1399
  evidence: {
1400
+ command: "instructions apply";
1405
1401
  success: boolean;
1406
1402
  stdout: string;
1407
1403
  stderr: string;
@@ -1414,41 +1410,46 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1414
1410
  target: z.ZodOptional<z.ZodString>;
1415
1411
  fix: z.ZodOptional<z.ZodString>;
1416
1412
  }, z.ZodTypeAny, "passthrough">[];
1417
- command: "instructions apply";
1418
1413
  selector: {
1419
1414
  store?: string | undefined;
1420
1415
  };
1421
- contractError?: string | undefined;
1422
1416
  root?: z.objectOutputType<{
1423
1417
  path: z.ZodString;
1424
1418
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1425
1419
  store_id: z.ZodOptional<z.ZodString>;
1426
1420
  }, z.ZodTypeAny, "passthrough"> | undefined;
1421
+ contractError?: string | undefined;
1427
1422
  } & {
1428
1423
  [k: string]: unknown;
1429
1424
  };
1430
1425
  changeDir: string;
1431
1426
  instruction: string;
1432
1427
  contextFiles: Record<string, string[]>;
1428
+ tasks: {
1429
+ id: string;
1430
+ done: boolean;
1431
+ description: string;
1432
+ }[];
1433
+ state: "ready" | "blocked" | "all_done";
1433
1434
  applyInstructionProgress: {
1434
- state: "ready" | "blocked" | "all_done";
1435
+ source: "openspec-instructions-apply";
1435
1436
  complete: number;
1437
+ state: "ready" | "blocked" | "all_done";
1436
1438
  total: number;
1437
1439
  remaining: number;
1438
- source: "openspec-instructions-apply";
1439
1440
  divergence: {
1440
- message: string;
1441
1441
  kind: "tracked-task-mismatch";
1442
+ message: string;
1442
1443
  apply: {
1443
1444
  complete: number;
1444
1445
  total: number;
1445
1446
  remaining: number;
1446
1447
  };
1447
1448
  tracked: {
1448
- completed: number;
1449
1449
  total: number;
1450
1450
  remaining: number;
1451
- phase: "no-tasks" | "in-progress" | "complete";
1451
+ completed: number;
1452
+ phase: "no-tasks" | "complete" | "in-progress";
1452
1453
  };
1453
1454
  } | null;
1454
1455
  };
@@ -1491,15 +1492,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1491
1492
  missingArtifacts?: string[] | undefined;
1492
1493
  operationGuidance?: string[] | undefined;
1493
1494
  }, {
1494
- state: "ready" | "blocked" | "all_done";
1495
- tasks: {
1496
- id: string;
1497
- done: boolean;
1498
- description: string;
1499
- }[];
1500
1495
  changeName: string;
1501
1496
  schemaName: string;
1502
1497
  evidence: {
1498
+ command: "instructions apply";
1503
1499
  success: boolean;
1504
1500
  stdout: string;
1505
1501
  stderr: string;
@@ -1512,41 +1508,46 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1512
1508
  target: z.ZodOptional<z.ZodString>;
1513
1509
  fix: z.ZodOptional<z.ZodString>;
1514
1510
  }, z.ZodTypeAny, "passthrough">[];
1515
- command: "instructions apply";
1516
1511
  selector: {
1517
1512
  store?: string | undefined;
1518
1513
  };
1519
- contractError?: string | undefined;
1520
1514
  root?: z.objectInputType<{
1521
1515
  path: z.ZodString;
1522
1516
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1523
1517
  store_id: z.ZodOptional<z.ZodString>;
1524
1518
  }, z.ZodTypeAny, "passthrough"> | undefined;
1519
+ contractError?: string | undefined;
1525
1520
  } & {
1526
1521
  [k: string]: unknown;
1527
1522
  };
1528
1523
  changeDir: string;
1529
1524
  instruction: string;
1530
1525
  contextFiles: Record<string, string | string[]>;
1526
+ tasks: {
1527
+ id: string;
1528
+ done: boolean;
1529
+ description: string;
1530
+ }[];
1531
+ state: "ready" | "blocked" | "all_done";
1531
1532
  applyInstructionProgress: {
1532
- state: "ready" | "blocked" | "all_done";
1533
+ source: "openspec-instructions-apply";
1533
1534
  complete: number;
1535
+ state: "ready" | "blocked" | "all_done";
1534
1536
  total: number;
1535
1537
  remaining: number;
1536
- source: "openspec-instructions-apply";
1537
1538
  divergence: {
1538
- message: string;
1539
1539
  kind: "tracked-task-mismatch";
1540
+ message: string;
1540
1541
  apply: {
1541
1542
  complete: number;
1542
1543
  total: number;
1543
1544
  remaining: number;
1544
1545
  };
1545
1546
  tracked: {
1546
- completed: number;
1547
1547
  total: number;
1548
1548
  remaining: number;
1549
- phase: "no-tasks" | "in-progress" | "complete";
1549
+ completed: number;
1550
+ phase: "no-tasks" | "complete" | "in-progress";
1550
1551
  };
1551
1552
  } | null;
1552
1553
  };
@@ -1874,15 +1875,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1874
1875
  command: z.ZodLiteral<"instructions apply">;
1875
1876
  }, z.ZodTypeAny, "passthrough">>;
1876
1877
  }, "strip", z.ZodTypeAny, {
1877
- state: "ready" | "blocked" | "all_done";
1878
- tasks: {
1879
- id: string;
1880
- done: boolean;
1881
- description: string;
1882
- }[];
1883
1878
  changeName: string;
1884
1879
  schemaName: string;
1885
1880
  evidence: {
1881
+ command: "instructions apply";
1886
1882
  success: boolean;
1887
1883
  stdout: string;
1888
1884
  stderr: string;
@@ -1895,22 +1891,27 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1895
1891
  target: z.ZodOptional<z.ZodString>;
1896
1892
  fix: z.ZodOptional<z.ZodString>;
1897
1893
  }, z.ZodTypeAny, "passthrough">[];
1898
- command: "instructions apply";
1899
1894
  selector: {
1900
1895
  store?: string | undefined;
1901
1896
  };
1902
- contractError?: string | undefined;
1903
1897
  root?: z.objectOutputType<{
1904
1898
  path: z.ZodString;
1905
1899
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1906
1900
  store_id: z.ZodOptional<z.ZodString>;
1907
1901
  }, z.ZodTypeAny, "passthrough"> | undefined;
1902
+ contractError?: string | undefined;
1908
1903
  } & {
1909
1904
  [k: string]: unknown;
1910
1905
  };
1911
1906
  changeDir: string;
1912
1907
  instruction: string;
1913
1908
  contextFiles: Record<string, string[]>;
1909
+ tasks: {
1910
+ id: string;
1911
+ done: boolean;
1912
+ description: string;
1913
+ }[];
1914
+ state: "ready" | "blocked" | "all_done";
1914
1915
  progress: {
1915
1916
  complete: number;
1916
1917
  total: number;
@@ -1955,15 +1956,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1955
1956
  missingArtifacts?: string[] | undefined;
1956
1957
  operationGuidance?: string[] | undefined;
1957
1958
  }, {
1958
- state: "ready" | "blocked" | "all_done";
1959
- tasks: {
1960
- id: string;
1961
- done: boolean;
1962
- description: string;
1963
- }[];
1964
1959
  changeName: string;
1965
1960
  schemaName: string;
1966
1961
  evidence: {
1962
+ command: "instructions apply";
1967
1963
  success: boolean;
1968
1964
  stdout: string;
1969
1965
  stderr: string;
@@ -1976,22 +1972,27 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1976
1972
  target: z.ZodOptional<z.ZodString>;
1977
1973
  fix: z.ZodOptional<z.ZodString>;
1978
1974
  }, z.ZodTypeAny, "passthrough">[];
1979
- command: "instructions apply";
1980
1975
  selector: {
1981
1976
  store?: string | undefined;
1982
1977
  };
1983
- contractError?: string | undefined;
1984
1978
  root?: z.objectInputType<{
1985
1979
  path: z.ZodString;
1986
1980
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1987
1981
  store_id: z.ZodOptional<z.ZodString>;
1988
1982
  }, z.ZodTypeAny, "passthrough"> | undefined;
1983
+ contractError?: string | undefined;
1989
1984
  } & {
1990
1985
  [k: string]: unknown;
1991
1986
  };
1992
1987
  changeDir: string;
1993
1988
  instruction: string;
1994
1989
  contextFiles: Record<string, string | string[]>;
1990
+ tasks: {
1991
+ id: string;
1992
+ done: boolean;
1993
+ description: string;
1994
+ }[];
1995
+ state: "ready" | "blocked" | "all_done";
1995
1996
  progress: {
1996
1997
  complete: number;
1997
1998
  total: number;
@@ -2037,15 +2038,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2037
2038
  operationGuidance?: string[] | undefined;
2038
2039
  }>, {
2039
2040
  applyInstructionProgress: ApplyInstructionProgress;
2040
- state: "ready" | "blocked" | "all_done";
2041
- tasks: {
2042
- id: string;
2043
- done: boolean;
2044
- description: string;
2045
- }[];
2046
2041
  changeName: string;
2047
2042
  schemaName: string;
2048
2043
  evidence: {
2044
+ command: "instructions apply";
2049
2045
  success: boolean;
2050
2046
  stdout: string;
2051
2047
  stderr: string;
@@ -2058,22 +2054,27 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2058
2054
  target: z.ZodOptional<z.ZodString>;
2059
2055
  fix: z.ZodOptional<z.ZodString>;
2060
2056
  }, z.ZodTypeAny, "passthrough">[];
2061
- command: "instructions apply";
2062
2057
  selector: {
2063
2058
  store?: string | undefined;
2064
2059
  };
2065
- contractError?: string | undefined;
2066
2060
  root?: z.objectOutputType<{
2067
2061
  path: z.ZodString;
2068
2062
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2069
2063
  store_id: z.ZodOptional<z.ZodString>;
2070
2064
  }, z.ZodTypeAny, "passthrough"> | undefined;
2065
+ contractError?: string | undefined;
2071
2066
  } & {
2072
2067
  [k: string]: unknown;
2073
2068
  };
2074
2069
  changeDir: string;
2075
2070
  instruction: string;
2076
2071
  contextFiles: Record<string, string[]>;
2072
+ tasks: {
2073
+ id: string;
2074
+ done: boolean;
2075
+ description: string;
2076
+ }[];
2077
+ state: "ready" | "blocked" | "all_done";
2077
2078
  context?: string | undefined;
2078
2079
  references?: z.objectOutputType<{
2079
2080
  store_id: z.ZodString;
@@ -2113,15 +2114,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2113
2114
  missingArtifacts?: string[] | undefined;
2114
2115
  operationGuidance?: string[] | undefined;
2115
2116
  }, {
2116
- state: "ready" | "blocked" | "all_done";
2117
- tasks: {
2118
- id: string;
2119
- done: boolean;
2120
- description: string;
2121
- }[];
2122
2117
  changeName: string;
2123
2118
  schemaName: string;
2124
2119
  evidence: {
2120
+ command: "instructions apply";
2125
2121
  success: boolean;
2126
2122
  stdout: string;
2127
2123
  stderr: string;
@@ -2134,22 +2130,27 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2134
2130
  target: z.ZodOptional<z.ZodString>;
2135
2131
  fix: z.ZodOptional<z.ZodString>;
2136
2132
  }, z.ZodTypeAny, "passthrough">[];
2137
- command: "instructions apply";
2138
2133
  selector: {
2139
2134
  store?: string | undefined;
2140
2135
  };
2141
- contractError?: string | undefined;
2142
2136
  root?: z.objectInputType<{
2143
2137
  path: z.ZodString;
2144
2138
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2145
2139
  store_id: z.ZodOptional<z.ZodString>;
2146
2140
  }, z.ZodTypeAny, "passthrough"> | undefined;
2141
+ contractError?: string | undefined;
2147
2142
  } & {
2148
2143
  [k: string]: unknown;
2149
2144
  };
2150
2145
  changeDir: string;
2151
2146
  instruction: string;
2152
2147
  contextFiles: Record<string, string | string[]>;
2148
+ tasks: {
2149
+ id: string;
2150
+ done: boolean;
2151
+ description: string;
2152
+ }[];
2153
+ state: "ready" | "blocked" | "all_done";
2153
2154
  progress: {
2154
2155
  complete: number;
2155
2156
  total: number;
@@ -2492,98 +2493,93 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2492
2493
  remaining: z.ZodNumber;
2493
2494
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
2494
2495
  }, "strip", z.ZodTypeAny, {
2495
- completed: number;
2496
2496
  total: number;
2497
2497
  remaining: number;
2498
- phase: "no-tasks" | "in-progress" | "complete";
2499
- }, {
2500
2498
  completed: number;
2499
+ phase: "no-tasks" | "complete" | "in-progress";
2500
+ }, {
2501
2501
  total: number;
2502
2502
  remaining: number;
2503
- phase: "no-tasks" | "in-progress" | "complete";
2503
+ completed: number;
2504
+ phase: "no-tasks" | "complete" | "in-progress";
2504
2505
  }>;
2505
2506
  }, "strip", z.ZodTypeAny, {
2506
- message: string;
2507
2507
  kind: "tracked-task-mismatch";
2508
+ message: string;
2508
2509
  apply: {
2509
2510
  complete: number;
2510
2511
  total: number;
2511
2512
  remaining: number;
2512
2513
  };
2513
2514
  tracked: {
2514
- completed: number;
2515
2515
  total: number;
2516
2516
  remaining: number;
2517
- phase: "no-tasks" | "in-progress" | "complete";
2517
+ completed: number;
2518
+ phase: "no-tasks" | "complete" | "in-progress";
2518
2519
  };
2519
2520
  }, {
2520
- message: string;
2521
2521
  kind: "tracked-task-mismatch";
2522
+ message: string;
2522
2523
  apply: {
2523
2524
  complete: number;
2524
2525
  total: number;
2525
2526
  remaining: number;
2526
2527
  };
2527
2528
  tracked: {
2528
- completed: number;
2529
2529
  total: number;
2530
2530
  remaining: number;
2531
- phase: "no-tasks" | "in-progress" | "complete";
2531
+ completed: number;
2532
+ phase: "no-tasks" | "complete" | "in-progress";
2532
2533
  };
2533
2534
  }>>;
2534
2535
  }, "strip", z.ZodTypeAny, {
2535
- state: "ready" | "blocked" | "all_done";
2536
+ source: "openspec-instructions-apply";
2536
2537
  complete: number;
2538
+ state: "ready" | "blocked" | "all_done";
2537
2539
  total: number;
2538
2540
  remaining: number;
2539
- source: "openspec-instructions-apply";
2540
2541
  divergence: {
2541
- message: string;
2542
2542
  kind: "tracked-task-mismatch";
2543
+ message: string;
2543
2544
  apply: {
2544
2545
  complete: number;
2545
2546
  total: number;
2546
2547
  remaining: number;
2547
2548
  };
2548
2549
  tracked: {
2549
- completed: number;
2550
2550
  total: number;
2551
2551
  remaining: number;
2552
- phase: "no-tasks" | "in-progress" | "complete";
2552
+ completed: number;
2553
+ phase: "no-tasks" | "complete" | "in-progress";
2553
2554
  };
2554
2555
  } | null;
2555
2556
  }, {
2556
- state: "ready" | "blocked" | "all_done";
2557
+ source: "openspec-instructions-apply";
2557
2558
  complete: number;
2559
+ state: "ready" | "blocked" | "all_done";
2558
2560
  total: number;
2559
2561
  remaining: number;
2560
- source: "openspec-instructions-apply";
2561
2562
  divergence: {
2562
- message: string;
2563
2563
  kind: "tracked-task-mismatch";
2564
+ message: string;
2564
2565
  apply: {
2565
2566
  complete: number;
2566
2567
  total: number;
2567
2568
  remaining: number;
2568
2569
  };
2569
2570
  tracked: {
2570
- completed: number;
2571
2571
  total: number;
2572
2572
  remaining: number;
2573
- phase: "no-tasks" | "in-progress" | "complete";
2573
+ completed: number;
2574
+ phase: "no-tasks" | "complete" | "in-progress";
2574
2575
  };
2575
2576
  } | null;
2576
2577
  }>;
2577
2578
  }, "strip", z.ZodTypeAny, {
2578
- state: "ready" | "blocked" | "all_done";
2579
- tasks: {
2580
- id: string;
2581
- done: boolean;
2582
- description: string;
2583
- }[];
2584
2579
  changeName: string;
2585
2580
  schemaName: string;
2586
2581
  evidence: {
2582
+ command: "instructions apply";
2587
2583
  success: boolean;
2588
2584
  stdout: string;
2589
2585
  stderr: string;
@@ -2596,41 +2592,46 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2596
2592
  target: z.ZodOptional<z.ZodString>;
2597
2593
  fix: z.ZodOptional<z.ZodString>;
2598
2594
  }, z.ZodTypeAny, "passthrough">[];
2599
- command: "instructions apply";
2600
2595
  selector: {
2601
2596
  store?: string | undefined;
2602
2597
  };
2603
- contractError?: string | undefined;
2604
2598
  root?: z.objectOutputType<{
2605
2599
  path: z.ZodString;
2606
2600
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2607
2601
  store_id: z.ZodOptional<z.ZodString>;
2608
2602
  }, z.ZodTypeAny, "passthrough"> | undefined;
2603
+ contractError?: string | undefined;
2609
2604
  } & {
2610
2605
  [k: string]: unknown;
2611
2606
  };
2612
2607
  changeDir: string;
2613
2608
  instruction: string;
2614
2609
  contextFiles: Record<string, string[]>;
2610
+ tasks: {
2611
+ id: string;
2612
+ done: boolean;
2613
+ description: string;
2614
+ }[];
2615
+ state: "ready" | "blocked" | "all_done";
2615
2616
  applyInstructionProgress: {
2616
- state: "ready" | "blocked" | "all_done";
2617
+ source: "openspec-instructions-apply";
2617
2618
  complete: number;
2619
+ state: "ready" | "blocked" | "all_done";
2618
2620
  total: number;
2619
2621
  remaining: number;
2620
- source: "openspec-instructions-apply";
2621
2622
  divergence: {
2622
- message: string;
2623
2623
  kind: "tracked-task-mismatch";
2624
+ message: string;
2624
2625
  apply: {
2625
2626
  complete: number;
2626
2627
  total: number;
2627
2628
  remaining: number;
2628
2629
  };
2629
2630
  tracked: {
2630
- completed: number;
2631
2631
  total: number;
2632
2632
  remaining: number;
2633
- phase: "no-tasks" | "in-progress" | "complete";
2633
+ completed: number;
2634
+ phase: "no-tasks" | "complete" | "in-progress";
2634
2635
  };
2635
2636
  } | null;
2636
2637
  };
@@ -2673,15 +2674,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2673
2674
  missingArtifacts?: string[] | undefined;
2674
2675
  operationGuidance?: string[] | undefined;
2675
2676
  }, {
2676
- state: "ready" | "blocked" | "all_done";
2677
- tasks: {
2678
- id: string;
2679
- done: boolean;
2680
- description: string;
2681
- }[];
2682
2677
  changeName: string;
2683
2678
  schemaName: string;
2684
2679
  evidence: {
2680
+ command: "instructions apply";
2685
2681
  success: boolean;
2686
2682
  stdout: string;
2687
2683
  stderr: string;
@@ -2694,41 +2690,46 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2694
2690
  target: z.ZodOptional<z.ZodString>;
2695
2691
  fix: z.ZodOptional<z.ZodString>;
2696
2692
  }, z.ZodTypeAny, "passthrough">[];
2697
- command: "instructions apply";
2698
2693
  selector: {
2699
2694
  store?: string | undefined;
2700
2695
  };
2701
- contractError?: string | undefined;
2702
2696
  root?: z.objectInputType<{
2703
2697
  path: z.ZodString;
2704
2698
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2705
2699
  store_id: z.ZodOptional<z.ZodString>;
2706
2700
  }, z.ZodTypeAny, "passthrough"> | undefined;
2701
+ contractError?: string | undefined;
2707
2702
  } & {
2708
2703
  [k: string]: unknown;
2709
2704
  };
2710
2705
  changeDir: string;
2711
2706
  instruction: string;
2712
2707
  contextFiles: Record<string, string | string[]>;
2708
+ tasks: {
2709
+ id: string;
2710
+ done: boolean;
2711
+ description: string;
2712
+ }[];
2713
+ state: "ready" | "blocked" | "all_done";
2713
2714
  applyInstructionProgress: {
2714
- state: "ready" | "blocked" | "all_done";
2715
+ source: "openspec-instructions-apply";
2715
2716
  complete: number;
2717
+ state: "ready" | "blocked" | "all_done";
2716
2718
  total: number;
2717
2719
  remaining: number;
2718
- source: "openspec-instructions-apply";
2719
2720
  divergence: {
2720
- message: string;
2721
2721
  kind: "tracked-task-mismatch";
2722
+ message: string;
2722
2723
  apply: {
2723
2724
  complete: number;
2724
2725
  total: number;
2725
2726
  remaining: number;
2726
2727
  };
2727
2728
  tracked: {
2728
- completed: number;
2729
2729
  total: number;
2730
2730
  remaining: number;
2731
- phase: "no-tasks" | "in-progress" | "complete";
2731
+ completed: number;
2732
+ phase: "no-tasks" | "complete" | "in-progress";
2732
2733
  };
2733
2734
  } | null;
2734
2735
  };
@@ -2924,6 +2925,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2924
2925
  }, "strip", z.ZodTypeAny, {
2925
2926
  changeName: string;
2926
2927
  evidence: {
2928
+ command: "instructions archive";
2927
2929
  success: boolean;
2928
2930
  stdout: string;
2929
2931
  stderr: string;
@@ -2936,16 +2938,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2936
2938
  target: z.ZodOptional<z.ZodString>;
2937
2939
  fix: z.ZodOptional<z.ZodString>;
2938
2940
  }, z.ZodTypeAny, "passthrough">[];
2939
- command: "instructions archive";
2940
2941
  selector: {
2941
2942
  store?: string | undefined;
2942
2943
  };
2943
- contractError?: string | undefined;
2944
2944
  root?: z.objectOutputType<{
2945
2945
  path: z.ZodString;
2946
2946
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2947
2947
  store_id: z.ZodOptional<z.ZodString>;
2948
2948
  }, z.ZodTypeAny, "passthrough"> | undefined;
2949
+ contractError?: string | undefined;
2949
2950
  } & {
2950
2951
  [k: string]: unknown;
2951
2952
  };
@@ -2954,6 +2955,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2954
2955
  }, {
2955
2956
  changeName: string;
2956
2957
  evidence: {
2958
+ command: "instructions archive";
2957
2959
  success: boolean;
2958
2960
  stdout: string;
2959
2961
  stderr: string;
@@ -2966,16 +2968,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2966
2968
  target: z.ZodOptional<z.ZodString>;
2967
2969
  fix: z.ZodOptional<z.ZodString>;
2968
2970
  }, z.ZodTypeAny, "passthrough">[];
2969
- command: "instructions archive";
2970
2971
  selector: {
2971
2972
  store?: string | undefined;
2972
2973
  };
2973
- contractError?: string | undefined;
2974
2974
  root?: z.objectInputType<{
2975
2975
  path: z.ZodString;
2976
2976
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2977
2977
  store_id: z.ZodOptional<z.ZodString>;
2978
2978
  }, z.ZodTypeAny, "passthrough"> | undefined;
2979
+ contractError?: string | undefined;
2979
2980
  } & {
2980
2981
  [k: string]: unknown;
2981
2982
  };
@@ -3263,11 +3264,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3263
3264
  command: z.ZodLiteral<"instructions">;
3264
3265
  }, z.ZodTypeAny, "passthrough">>;
3265
3266
  }, "strip", z.ZodTypeAny, {
3266
- artifactId: string;
3267
- outputPath: string;
3268
3267
  changeName: string;
3269
3268
  schemaName: string;
3269
+ outputPath: string;
3270
3270
  evidence: {
3271
+ command: "instructions";
3271
3272
  success: boolean;
3272
3273
  stdout: string;
3273
3274
  stderr: string;
@@ -3280,19 +3281,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3280
3281
  target: z.ZodOptional<z.ZodString>;
3281
3282
  fix: z.ZodOptional<z.ZodString>;
3282
3283
  }, z.ZodTypeAny, "passthrough">[];
3283
- command: "instructions";
3284
3284
  selector: {
3285
3285
  store?: string | undefined;
3286
3286
  };
3287
- contractError?: string | undefined;
3288
3287
  root?: z.objectOutputType<{
3289
3288
  path: z.ZodString;
3290
3289
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3291
3290
  store_id: z.ZodOptional<z.ZodString>;
3292
3291
  }, z.ZodTypeAny, "passthrough"> | undefined;
3292
+ contractError?: string | undefined;
3293
3293
  } & {
3294
3294
  [k: string]: unknown;
3295
3295
  };
3296
+ artifactId: string;
3296
3297
  changeDir: string;
3297
3298
  description: string;
3298
3299
  template: string;
@@ -3343,11 +3344,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3343
3344
  fetch: z.ZodOptional<z.ZodString>;
3344
3345
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3345
3346
  }, {
3346
- artifactId: string;
3347
- outputPath: string;
3348
3347
  changeName: string;
3349
3348
  schemaName: string;
3349
+ outputPath: string;
3350
3350
  evidence: {
3351
+ command: "instructions";
3351
3352
  success: boolean;
3352
3353
  stdout: string;
3353
3354
  stderr: string;
@@ -3360,19 +3361,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3360
3361
  target: z.ZodOptional<z.ZodString>;
3361
3362
  fix: z.ZodOptional<z.ZodString>;
3362
3363
  }, z.ZodTypeAny, "passthrough">[];
3363
- command: "instructions";
3364
3364
  selector: {
3365
3365
  store?: string | undefined;
3366
3366
  };
3367
- contractError?: string | undefined;
3368
3367
  root?: z.objectInputType<{
3369
3368
  path: z.ZodString;
3370
3369
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3371
3370
  store_id: z.ZodOptional<z.ZodString>;
3372
3371
  }, z.ZodTypeAny, "passthrough"> | undefined;
3372
+ contractError?: string | undefined;
3373
3373
  } & {
3374
3374
  [k: string]: unknown;
3375
3375
  };
3376
+ artifactId: string;
3376
3377
  changeDir: string;
3377
3378
  description: string;
3378
3379
  template: string;
@@ -3582,7 +3583,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
3582
3583
  applyTracks: z.ZodOptional<z.ZodString>;
3583
3584
  applyInstruction: z.ZodOptional<z.ZodString>;
3584
3585
  }, "strip", z.ZodTypeAny, {
3585
- name: string;
3586
3586
  applyRequires: string[];
3587
3587
  artifacts: {
3588
3588
  id: string;
@@ -3592,12 +3592,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
3592
3592
  instruction?: string | undefined;
3593
3593
  template?: string | undefined;
3594
3594
  }[];
3595
+ name: string;
3595
3596
  description?: string | undefined;
3596
3597
  version?: string | number | undefined;
3597
3598
  applyTracks?: string | undefined;
3598
3599
  applyInstruction?: string | undefined;
3599
3600
  }, {
3600
- name: string;
3601
3601
  applyRequires: string[];
3602
3602
  artifacts: {
3603
3603
  id: string;
@@ -3607,6 +3607,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
3607
3607
  instruction?: string | undefined;
3608
3608
  template?: string | undefined;
3609
3609
  }[];
3610
+ name: string;
3610
3611
  description?: string | undefined;
3611
3612
  version?: string | number | undefined;
3612
3613
  applyTracks?: string | undefined;
@@ -3661,7 +3662,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3661
3662
  applyTracks: z.ZodOptional<z.ZodString>;
3662
3663
  applyInstruction: z.ZodOptional<z.ZodString>;
3663
3664
  }, "strip", z.ZodTypeAny, {
3664
- name: string;
3665
3665
  applyRequires: string[];
3666
3666
  artifacts: {
3667
3667
  id: string;
@@ -3671,12 +3671,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3671
3671
  instruction?: string | undefined;
3672
3672
  template?: string | undefined;
3673
3673
  }[];
3674
+ name: string;
3674
3675
  description?: string | undefined;
3675
3676
  version?: string | number | undefined;
3676
3677
  applyTracks?: string | undefined;
3677
3678
  applyInstruction?: string | undefined;
3678
3679
  }, {
3679
- name: string;
3680
3680
  applyRequires: string[];
3681
3681
  artifacts: {
3682
3682
  id: string;
@@ -3686,6 +3686,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3686
3686
  instruction?: string | undefined;
3687
3687
  template?: string | undefined;
3688
3688
  }[];
3689
+ name: string;
3689
3690
  description?: string | undefined;
3690
3691
  version?: string | number | undefined;
3691
3692
  applyTracks?: string | undefined;
@@ -3766,7 +3767,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3766
3767
  source: z.ZodEnum<["project", "user", "package"]>;
3767
3768
  }, z.ZodTypeAny, "passthrough">[];
3768
3769
  schemaDetails: Record<string, {
3769
- name: string;
3770
3770
  applyRequires: string[];
3771
3771
  artifacts: {
3772
3772
  id: string;
@@ -3776,6 +3776,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3776
3776
  instruction?: string | undefined;
3777
3777
  template?: string | undefined;
3778
3778
  }[];
3779
+ name: string;
3779
3780
  description?: string | undefined;
3780
3781
  version?: string | number | undefined;
3781
3782
  applyTracks?: string | undefined;
@@ -3812,7 +3813,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3812
3813
  source: z.ZodEnum<["project", "user", "package"]>;
3813
3814
  }, z.ZodTypeAny, "passthrough">[];
3814
3815
  schemaDetails: Record<string, {
3815
- name: string;
3816
3816
  applyRequires: string[];
3817
3817
  artifacts: {
3818
3818
  id: string;
@@ -3822,6 +3822,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3822
3822
  instruction?: string | undefined;
3823
3823
  template?: string | undefined;
3824
3824
  }[];
3825
+ name: string;
3825
3826
  description?: string | undefined;
3826
3827
  version?: string | number | undefined;
3827
3828
  applyTracks?: string | undefined;