@openspecui/core 9.0.0 → 9.0.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 (42) hide show
  1. package/dist/{active-root-config-C77Duro0.d.mts → active-root-config-7fBdHM6Y.d.mts} +3 -3
  2. package/dist/active-root-config.d.mts +4 -4
  3. package/dist/app-daemon-control.d.mts +41 -41
  4. package/dist/{cli-projection-BAU6-rFs.d.mts → cli-projection-BaiM5tvA.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +4 -4
  6. package/dist/{dashboard-summary-transport-C3No2o4i.d.mts → dashboard-summary-transport-CuNVcC0j.d.mts} +1688 -1688
  7. package/dist/dashboard-summary-transport.d.mts +17 -17
  8. package/dist/hosted-app.d.mts +17 -17
  9. package/dist/hosted-contract.d.mts +17 -17
  10. package/dist/{index-BGT-MVqL.d.mts → index-BZWtHuI2.d.mts} +9 -9
  11. package/dist/index.d.mts +17 -17
  12. package/dist/index.mjs +3 -2
  13. package/dist/{local-download-profiles-BZj6Tw_s.d.mts → local-download-profiles-BcWLAxXm.d.mts} +1 -1
  14. package/dist/local-download-profiles.d.mts +2 -2
  15. package/dist/{notifications-B9cvPamG.d.mts → notifications-BytLKOTa.d.mts} +4 -4
  16. package/dist/notifications.d.mts +2 -2
  17. package/dist/openspec-compat.d.mts +3 -3
  18. package/dist/{openspec-projection-vJ03fcdF.d.mts → openspec-projection-D2l0gt1a.d.mts} +1 -1
  19. package/dist/openspec-projection.d.mts +2 -2
  20. package/dist/{opsx-entity-BFPRTIWN.d.mts → opsx-entity-DPNoe1RP.d.mts} +2 -2
  21. package/dist/opsx-entity.d.mts +6 -6
  22. package/dist/{opsx-schema-detail-D1129ezo.d.mts → opsx-schema-detail-Cd5Av3ge.d.mts} +2 -2
  23. package/dist/opsx-schema-detail.d.mts +7 -7
  24. package/dist/{opsx-types-C_4QxcU6.d.mts → opsx-types-CwR1AXgQ.d.mts} +74 -74
  25. package/dist/planning-cli-projection.d.mts +17 -17
  26. package/dist/{schemas-Dnw_rfST.d.mts → schemas-_BT364v-.d.mts} +147 -147
  27. package/dist/{sounds-BoLuHRve.d.mts → sounds-CoSDUNQn.d.mts} +5 -5
  28. package/dist/sounds.d.mts +1 -1
  29. package/dist/spec-catalog.d.mts +17 -17
  30. package/dist/{store-mutation-protocol-C4rRiO4b.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +24 -24
  31. package/dist/store-mutation-protocol.d.mts +1 -1
  32. package/dist/{store-types-CMqxPwaj.d.mts → store-types-og5YxoDu.d.mts} +1 -1
  33. package/dist/store-types.d.mts +4 -4
  34. package/dist/task-progress.d.mts +5 -5
  35. package/dist/{terminal-audio-CNhCiZul.d.mts → terminal-audio-DLgCr6Km.d.mts} +2 -2
  36. package/dist/terminal-audio.d.mts +2 -2
  37. package/dist/terminal-control.d.mts +2 -2
  38. package/dist/{terminal-invocation-BnMhxtP1.d.mts → terminal-invocation-OqCEd2gX.d.mts} +56 -56
  39. package/dist/terminal-invocation.d.mts +1 -1
  40. package/dist/{translator-B7GQxmun.d.mts → translator-CIptPzqy.d.mts} +54 -54
  41. package/dist/translator.d.mts +1 -1
  42. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { Y as CliJsonValue } from "./index-BGT-MVqL.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-Dnw_rfST.mjs";
1
+ import { Y as CliJsonValue } from "./index-BZWtHuI2.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-_BT364v-.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: "done" | "skipped" | "ready" | "blocked";
409
+ status: "ready" | "done" | "skipped" | "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: "done" | "skipped" | "ready" | "blocked";
416
+ status: "ready" | "done" | "skipped" | "blocked";
417
417
  id: string;
418
418
  outputPath: string;
419
419
  requires: string[];
@@ -435,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
435
435
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
436
436
  relativePath: z.ZodOptional<z.ZodString>;
437
437
  }, "strip", z.ZodTypeAny, {
438
- status: "done" | "skipped" | "ready" | "blocked";
438
+ status: "ready" | "done" | "skipped" | "blocked";
439
439
  id: string;
440
440
  outputPath: string;
441
441
  requires: string[];
442
442
  missingDeps?: string[] | undefined;
443
443
  relativePath?: string | undefined;
444
444
  }, {
445
- status: "done" | "skipped" | "ready" | "blocked";
445
+ status: "ready" | "done" | "skipped" | "blocked";
446
446
  id: string;
447
447
  outputPath: string;
448
448
  requires: string[];
@@ -721,7 +721,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
721
721
  [k: string]: unknown;
722
722
  };
723
723
  evidence: {
724
- command: "status";
725
724
  success: boolean;
726
725
  stdout: string;
727
726
  stderr: string;
@@ -734,15 +733,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
734
733
  target: z.ZodOptional<z.ZodString>;
735
734
  fix: z.ZodOptional<z.ZodString>;
736
735
  }, z.ZodTypeAny, "passthrough">[];
736
+ command: "status";
737
737
  selector: {
738
738
  store?: string | undefined;
739
739
  };
740
+ contractError?: string | undefined;
740
741
  root?: z.objectOutputType<{
741
742
  path: z.ZodString;
742
743
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
743
744
  store_id: z.ZodOptional<z.ZodString>;
744
745
  }, z.ZodTypeAny, "passthrough"> | undefined;
745
- contractError?: string | undefined;
746
746
  } & {
747
747
  [k: string]: unknown;
748
748
  };
@@ -784,7 +784,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
784
784
  [k: string]: unknown;
785
785
  };
786
786
  evidence: {
787
- command: "status";
788
787
  success: boolean;
789
788
  stdout: string;
790
789
  stderr: string;
@@ -797,15 +796,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
797
796
  target: z.ZodOptional<z.ZodString>;
798
797
  fix: z.ZodOptional<z.ZodString>;
799
798
  }, z.ZodTypeAny, "passthrough">[];
799
+ command: "status";
800
800
  selector: {
801
801
  store?: string | undefined;
802
802
  };
803
+ contractError?: string | undefined;
803
804
  root?: z.objectInputType<{
804
805
  path: z.ZodString;
805
806
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
806
807
  store_id: z.ZodOptional<z.ZodString>;
807
808
  }, z.ZodTypeAny, "passthrough"> | undefined;
808
- contractError?: string | undefined;
809
809
  } & {
810
810
  [k: string]: unknown;
811
811
  };
@@ -822,7 +822,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
822
822
  isPlanningComplete: boolean;
823
823
  applyRequires: string[];
824
824
  artifacts: {
825
- status: "done" | "skipped" | "ready" | "blocked";
825
+ status: "ready" | "done" | "skipped" | "blocked";
826
826
  id: string;
827
827
  outputPath: string;
828
828
  requires: string[];
@@ -867,7 +867,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
867
867
  [k: string]: unknown;
868
868
  };
869
869
  evidence: {
870
- command: "status";
871
870
  success: boolean;
872
871
  stdout: string;
873
872
  stderr: string;
@@ -880,15 +879,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
880
879
  target: z.ZodOptional<z.ZodString>;
881
880
  fix: z.ZodOptional<z.ZodString>;
882
881
  }, z.ZodTypeAny, "passthrough">[];
882
+ command: "status";
883
883
  selector: {
884
884
  store?: string | undefined;
885
885
  };
886
+ contractError?: string | undefined;
886
887
  root?: z.objectOutputType<{
887
888
  path: z.ZodString;
888
889
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
889
890
  store_id: z.ZodOptional<z.ZodString>;
890
891
  }, z.ZodTypeAny, "passthrough"> | undefined;
891
- contractError?: string | undefined;
892
892
  } & {
893
893
  [k: string]: unknown;
894
894
  };
@@ -901,7 +901,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
901
901
  isPlanningComplete: boolean;
902
902
  applyRequires: string[];
903
903
  artifacts: {
904
- status: "done" | "skipped" | "ready" | "blocked";
904
+ status: "ready" | "done" | "skipped" | "blocked";
905
905
  id: string;
906
906
  outputPath: string;
907
907
  requires: string[];
@@ -946,7 +946,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
946
946
  [k: string]: unknown;
947
947
  };
948
948
  evidence: {
949
- command: "status";
950
949
  success: boolean;
951
950
  stdout: string;
952
951
  stderr: string;
@@ -959,15 +958,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
959
958
  target: z.ZodOptional<z.ZodString>;
960
959
  fix: z.ZodOptional<z.ZodString>;
961
960
  }, z.ZodTypeAny, "passthrough">[];
961
+ command: "status";
962
962
  selector: {
963
963
  store?: string | undefined;
964
964
  };
965
+ contractError?: string | undefined;
965
966
  root?: z.objectInputType<{
966
967
  path: z.ZodString;
967
968
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
968
969
  store_id: z.ZodOptional<z.ZodString>;
969
970
  }, z.ZodTypeAny, "passthrough"> | undefined;
970
- contractError?: string | undefined;
971
971
  } & {
972
972
  [k: string]: unknown;
973
973
  };
@@ -1322,8 +1322,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1322
1322
  phase: "no-tasks" | "complete" | "in-progress";
1323
1323
  }>;
1324
1324
  }, "strip", z.ZodTypeAny, {
1325
- kind: "tracked-task-mismatch";
1326
1325
  message: string;
1326
+ kind: "tracked-task-mismatch";
1327
1327
  apply: {
1328
1328
  complete: number;
1329
1329
  total: number;
@@ -1336,8 +1336,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1336
1336
  phase: "no-tasks" | "complete" | "in-progress";
1337
1337
  };
1338
1338
  }, {
1339
- kind: "tracked-task-mismatch";
1340
1339
  message: string;
1340
+ kind: "tracked-task-mismatch";
1341
1341
  apply: {
1342
1342
  complete: number;
1343
1343
  total: number;
@@ -1351,14 +1351,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1351
1351
  };
1352
1352
  }>>;
1353
1353
  }, "strip", z.ZodTypeAny, {
1354
+ state: "ready" | "blocked" | "all_done";
1354
1355
  source: "openspec-instructions-apply";
1355
1356
  complete: number;
1356
- state: "ready" | "blocked" | "all_done";
1357
1357
  total: number;
1358
1358
  remaining: number;
1359
1359
  divergence: {
1360
- kind: "tracked-task-mismatch";
1361
1360
  message: string;
1361
+ kind: "tracked-task-mismatch";
1362
1362
  apply: {
1363
1363
  complete: number;
1364
1364
  total: number;
@@ -1372,14 +1372,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1372
1372
  };
1373
1373
  } | null;
1374
1374
  }, {
1375
+ state: "ready" | "blocked" | "all_done";
1375
1376
  source: "openspec-instructions-apply";
1376
1377
  complete: number;
1377
- state: "ready" | "blocked" | "all_done";
1378
1378
  total: number;
1379
1379
  remaining: number;
1380
1380
  divergence: {
1381
- kind: "tracked-task-mismatch";
1382
1381
  message: string;
1382
+ kind: "tracked-task-mismatch";
1383
1383
  apply: {
1384
1384
  complete: number;
1385
1385
  total: number;
@@ -1394,10 +1394,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1394
1394
  } | null;
1395
1395
  }>;
1396
1396
  }, "strip", z.ZodTypeAny, {
1397
+ state: "ready" | "blocked" | "all_done";
1397
1398
  changeName: string;
1398
1399
  schemaName: string;
1399
1400
  evidence: {
1400
- command: "instructions apply";
1401
1401
  success: boolean;
1402
1402
  stdout: string;
1403
1403
  stderr: string;
@@ -1410,15 +1410,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1410
1410
  target: z.ZodOptional<z.ZodString>;
1411
1411
  fix: z.ZodOptional<z.ZodString>;
1412
1412
  }, z.ZodTypeAny, "passthrough">[];
1413
+ command: "instructions apply";
1413
1414
  selector: {
1414
1415
  store?: string | undefined;
1415
1416
  };
1417
+ contractError?: string | undefined;
1416
1418
  root?: z.objectOutputType<{
1417
1419
  path: z.ZodString;
1418
1420
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1419
1421
  store_id: z.ZodOptional<z.ZodString>;
1420
1422
  }, z.ZodTypeAny, "passthrough"> | undefined;
1421
- contractError?: string | undefined;
1422
1423
  } & {
1423
1424
  [k: string]: unknown;
1424
1425
  };
@@ -1430,16 +1431,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1430
1431
  done: boolean;
1431
1432
  description: string;
1432
1433
  }[];
1433
- state: "ready" | "blocked" | "all_done";
1434
1434
  applyInstructionProgress: {
1435
+ state: "ready" | "blocked" | "all_done";
1435
1436
  source: "openspec-instructions-apply";
1436
1437
  complete: number;
1437
- state: "ready" | "blocked" | "all_done";
1438
1438
  total: number;
1439
1439
  remaining: number;
1440
1440
  divergence: {
1441
- kind: "tracked-task-mismatch";
1442
1441
  message: string;
1442
+ kind: "tracked-task-mismatch";
1443
1443
  apply: {
1444
1444
  complete: number;
1445
1445
  total: number;
@@ -1492,10 +1492,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1492
1492
  missingArtifacts?: string[] | undefined;
1493
1493
  operationGuidance?: string[] | undefined;
1494
1494
  }, {
1495
+ state: "ready" | "blocked" | "all_done";
1495
1496
  changeName: string;
1496
1497
  schemaName: string;
1497
1498
  evidence: {
1498
- command: "instructions apply";
1499
1499
  success: boolean;
1500
1500
  stdout: string;
1501
1501
  stderr: string;
@@ -1508,15 +1508,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1508
1508
  target: z.ZodOptional<z.ZodString>;
1509
1509
  fix: z.ZodOptional<z.ZodString>;
1510
1510
  }, z.ZodTypeAny, "passthrough">[];
1511
+ command: "instructions apply";
1511
1512
  selector: {
1512
1513
  store?: string | undefined;
1513
1514
  };
1515
+ contractError?: string | undefined;
1514
1516
  root?: z.objectInputType<{
1515
1517
  path: z.ZodString;
1516
1518
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1517
1519
  store_id: z.ZodOptional<z.ZodString>;
1518
1520
  }, z.ZodTypeAny, "passthrough"> | undefined;
1519
- contractError?: string | undefined;
1520
1521
  } & {
1521
1522
  [k: string]: unknown;
1522
1523
  };
@@ -1528,16 +1529,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1528
1529
  done: boolean;
1529
1530
  description: string;
1530
1531
  }[];
1531
- state: "ready" | "blocked" | "all_done";
1532
1532
  applyInstructionProgress: {
1533
+ state: "ready" | "blocked" | "all_done";
1533
1534
  source: "openspec-instructions-apply";
1534
1535
  complete: number;
1535
- state: "ready" | "blocked" | "all_done";
1536
1536
  total: number;
1537
1537
  remaining: number;
1538
1538
  divergence: {
1539
- kind: "tracked-task-mismatch";
1540
1539
  message: string;
1540
+ kind: "tracked-task-mismatch";
1541
1541
  apply: {
1542
1542
  complete: number;
1543
1543
  total: number;
@@ -1875,10 +1875,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1875
1875
  command: z.ZodLiteral<"instructions apply">;
1876
1876
  }, z.ZodTypeAny, "passthrough">>;
1877
1877
  }, "strip", z.ZodTypeAny, {
1878
+ state: "ready" | "blocked" | "all_done";
1878
1879
  changeName: string;
1879
1880
  schemaName: string;
1880
1881
  evidence: {
1881
- command: "instructions apply";
1882
1882
  success: boolean;
1883
1883
  stdout: string;
1884
1884
  stderr: string;
@@ -1891,15 +1891,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1891
1891
  target: z.ZodOptional<z.ZodString>;
1892
1892
  fix: z.ZodOptional<z.ZodString>;
1893
1893
  }, z.ZodTypeAny, "passthrough">[];
1894
+ command: "instructions apply";
1894
1895
  selector: {
1895
1896
  store?: string | undefined;
1896
1897
  };
1898
+ contractError?: string | undefined;
1897
1899
  root?: z.objectOutputType<{
1898
1900
  path: z.ZodString;
1899
1901
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1900
1902
  store_id: z.ZodOptional<z.ZodString>;
1901
1903
  }, z.ZodTypeAny, "passthrough"> | undefined;
1902
- contractError?: string | undefined;
1903
1904
  } & {
1904
1905
  [k: string]: unknown;
1905
1906
  };
@@ -1911,7 +1912,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1911
1912
  done: boolean;
1912
1913
  description: string;
1913
1914
  }[];
1914
- state: "ready" | "blocked" | "all_done";
1915
1915
  progress: {
1916
1916
  complete: number;
1917
1917
  total: number;
@@ -1956,10 +1956,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1956
1956
  missingArtifacts?: string[] | undefined;
1957
1957
  operationGuidance?: string[] | undefined;
1958
1958
  }, {
1959
+ state: "ready" | "blocked" | "all_done";
1959
1960
  changeName: string;
1960
1961
  schemaName: string;
1961
1962
  evidence: {
1962
- command: "instructions apply";
1963
1963
  success: boolean;
1964
1964
  stdout: string;
1965
1965
  stderr: string;
@@ -1972,15 +1972,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1972
1972
  target: z.ZodOptional<z.ZodString>;
1973
1973
  fix: z.ZodOptional<z.ZodString>;
1974
1974
  }, z.ZodTypeAny, "passthrough">[];
1975
+ command: "instructions apply";
1975
1976
  selector: {
1976
1977
  store?: string | undefined;
1977
1978
  };
1979
+ contractError?: string | undefined;
1978
1980
  root?: z.objectInputType<{
1979
1981
  path: z.ZodString;
1980
1982
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1981
1983
  store_id: z.ZodOptional<z.ZodString>;
1982
1984
  }, z.ZodTypeAny, "passthrough"> | undefined;
1983
- contractError?: string | undefined;
1984
1985
  } & {
1985
1986
  [k: string]: unknown;
1986
1987
  };
@@ -1992,7 +1993,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1992
1993
  done: boolean;
1993
1994
  description: string;
1994
1995
  }[];
1995
- state: "ready" | "blocked" | "all_done";
1996
1996
  progress: {
1997
1997
  complete: number;
1998
1998
  total: number;
@@ -2038,10 +2038,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2038
2038
  operationGuidance?: string[] | undefined;
2039
2039
  }>, {
2040
2040
  applyInstructionProgress: ApplyInstructionProgress;
2041
+ state: "ready" | "blocked" | "all_done";
2041
2042
  changeName: string;
2042
2043
  schemaName: string;
2043
2044
  evidence: {
2044
- command: "instructions apply";
2045
2045
  success: boolean;
2046
2046
  stdout: string;
2047
2047
  stderr: string;
@@ -2054,15 +2054,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2054
2054
  target: z.ZodOptional<z.ZodString>;
2055
2055
  fix: z.ZodOptional<z.ZodString>;
2056
2056
  }, z.ZodTypeAny, "passthrough">[];
2057
+ command: "instructions apply";
2057
2058
  selector: {
2058
2059
  store?: string | undefined;
2059
2060
  };
2061
+ contractError?: string | undefined;
2060
2062
  root?: z.objectOutputType<{
2061
2063
  path: z.ZodString;
2062
2064
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2063
2065
  store_id: z.ZodOptional<z.ZodString>;
2064
2066
  }, z.ZodTypeAny, "passthrough"> | undefined;
2065
- contractError?: string | undefined;
2066
2067
  } & {
2067
2068
  [k: string]: unknown;
2068
2069
  };
@@ -2074,7 +2075,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2074
2075
  done: boolean;
2075
2076
  description: string;
2076
2077
  }[];
2077
- state: "ready" | "blocked" | "all_done";
2078
2078
  context?: string | undefined;
2079
2079
  references?: z.objectOutputType<{
2080
2080
  store_id: z.ZodString;
@@ -2114,10 +2114,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2114
2114
  missingArtifacts?: string[] | undefined;
2115
2115
  operationGuidance?: string[] | undefined;
2116
2116
  }, {
2117
+ state: "ready" | "blocked" | "all_done";
2117
2118
  changeName: string;
2118
2119
  schemaName: string;
2119
2120
  evidence: {
2120
- command: "instructions apply";
2121
2121
  success: boolean;
2122
2122
  stdout: string;
2123
2123
  stderr: string;
@@ -2130,15 +2130,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2130
2130
  target: z.ZodOptional<z.ZodString>;
2131
2131
  fix: z.ZodOptional<z.ZodString>;
2132
2132
  }, z.ZodTypeAny, "passthrough">[];
2133
+ command: "instructions apply";
2133
2134
  selector: {
2134
2135
  store?: string | undefined;
2135
2136
  };
2137
+ contractError?: string | undefined;
2136
2138
  root?: z.objectInputType<{
2137
2139
  path: z.ZodString;
2138
2140
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2139
2141
  store_id: z.ZodOptional<z.ZodString>;
2140
2142
  }, z.ZodTypeAny, "passthrough"> | undefined;
2141
- contractError?: string | undefined;
2142
2143
  } & {
2143
2144
  [k: string]: unknown;
2144
2145
  };
@@ -2150,7 +2151,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2150
2151
  done: boolean;
2151
2152
  description: string;
2152
2153
  }[];
2153
- state: "ready" | "blocked" | "all_done";
2154
2154
  progress: {
2155
2155
  complete: number;
2156
2156
  total: number;
@@ -2504,8 +2504,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2504
2504
  phase: "no-tasks" | "complete" | "in-progress";
2505
2505
  }>;
2506
2506
  }, "strip", z.ZodTypeAny, {
2507
- kind: "tracked-task-mismatch";
2508
2507
  message: string;
2508
+ kind: "tracked-task-mismatch";
2509
2509
  apply: {
2510
2510
  complete: number;
2511
2511
  total: number;
@@ -2518,8 +2518,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2518
2518
  phase: "no-tasks" | "complete" | "in-progress";
2519
2519
  };
2520
2520
  }, {
2521
- kind: "tracked-task-mismatch";
2522
2521
  message: string;
2522
+ kind: "tracked-task-mismatch";
2523
2523
  apply: {
2524
2524
  complete: number;
2525
2525
  total: number;
@@ -2533,14 +2533,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2533
2533
  };
2534
2534
  }>>;
2535
2535
  }, "strip", z.ZodTypeAny, {
2536
+ state: "ready" | "blocked" | "all_done";
2536
2537
  source: "openspec-instructions-apply";
2537
2538
  complete: number;
2538
- state: "ready" | "blocked" | "all_done";
2539
2539
  total: number;
2540
2540
  remaining: number;
2541
2541
  divergence: {
2542
- kind: "tracked-task-mismatch";
2543
2542
  message: string;
2543
+ kind: "tracked-task-mismatch";
2544
2544
  apply: {
2545
2545
  complete: number;
2546
2546
  total: number;
@@ -2554,14 +2554,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2554
2554
  };
2555
2555
  } | null;
2556
2556
  }, {
2557
+ state: "ready" | "blocked" | "all_done";
2557
2558
  source: "openspec-instructions-apply";
2558
2559
  complete: number;
2559
- state: "ready" | "blocked" | "all_done";
2560
2560
  total: number;
2561
2561
  remaining: number;
2562
2562
  divergence: {
2563
- kind: "tracked-task-mismatch";
2564
2563
  message: string;
2564
+ kind: "tracked-task-mismatch";
2565
2565
  apply: {
2566
2566
  complete: number;
2567
2567
  total: number;
@@ -2576,10 +2576,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2576
2576
  } | null;
2577
2577
  }>;
2578
2578
  }, "strip", z.ZodTypeAny, {
2579
+ state: "ready" | "blocked" | "all_done";
2579
2580
  changeName: string;
2580
2581
  schemaName: string;
2581
2582
  evidence: {
2582
- command: "instructions apply";
2583
2583
  success: boolean;
2584
2584
  stdout: string;
2585
2585
  stderr: string;
@@ -2592,15 +2592,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2592
2592
  target: z.ZodOptional<z.ZodString>;
2593
2593
  fix: z.ZodOptional<z.ZodString>;
2594
2594
  }, z.ZodTypeAny, "passthrough">[];
2595
+ command: "instructions apply";
2595
2596
  selector: {
2596
2597
  store?: string | undefined;
2597
2598
  };
2599
+ contractError?: string | undefined;
2598
2600
  root?: z.objectOutputType<{
2599
2601
  path: z.ZodString;
2600
2602
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2601
2603
  store_id: z.ZodOptional<z.ZodString>;
2602
2604
  }, z.ZodTypeAny, "passthrough"> | undefined;
2603
- contractError?: string | undefined;
2604
2605
  } & {
2605
2606
  [k: string]: unknown;
2606
2607
  };
@@ -2612,16 +2613,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2612
2613
  done: boolean;
2613
2614
  description: string;
2614
2615
  }[];
2615
- state: "ready" | "blocked" | "all_done";
2616
2616
  applyInstructionProgress: {
2617
+ state: "ready" | "blocked" | "all_done";
2617
2618
  source: "openspec-instructions-apply";
2618
2619
  complete: number;
2619
- state: "ready" | "blocked" | "all_done";
2620
2620
  total: number;
2621
2621
  remaining: number;
2622
2622
  divergence: {
2623
- kind: "tracked-task-mismatch";
2624
2623
  message: string;
2624
+ kind: "tracked-task-mismatch";
2625
2625
  apply: {
2626
2626
  complete: number;
2627
2627
  total: number;
@@ -2674,10 +2674,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2674
2674
  missingArtifacts?: string[] | undefined;
2675
2675
  operationGuidance?: string[] | undefined;
2676
2676
  }, {
2677
+ state: "ready" | "blocked" | "all_done";
2677
2678
  changeName: string;
2678
2679
  schemaName: string;
2679
2680
  evidence: {
2680
- command: "instructions apply";
2681
2681
  success: boolean;
2682
2682
  stdout: string;
2683
2683
  stderr: string;
@@ -2690,15 +2690,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2690
2690
  target: z.ZodOptional<z.ZodString>;
2691
2691
  fix: z.ZodOptional<z.ZodString>;
2692
2692
  }, z.ZodTypeAny, "passthrough">[];
2693
+ command: "instructions apply";
2693
2694
  selector: {
2694
2695
  store?: string | undefined;
2695
2696
  };
2697
+ contractError?: string | undefined;
2696
2698
  root?: z.objectInputType<{
2697
2699
  path: z.ZodString;
2698
2700
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2699
2701
  store_id: z.ZodOptional<z.ZodString>;
2700
2702
  }, z.ZodTypeAny, "passthrough"> | undefined;
2701
- contractError?: string | undefined;
2702
2703
  } & {
2703
2704
  [k: string]: unknown;
2704
2705
  };
@@ -2710,16 +2711,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2710
2711
  done: boolean;
2711
2712
  description: string;
2712
2713
  }[];
2713
- state: "ready" | "blocked" | "all_done";
2714
2714
  applyInstructionProgress: {
2715
+ state: "ready" | "blocked" | "all_done";
2715
2716
  source: "openspec-instructions-apply";
2716
2717
  complete: number;
2717
- state: "ready" | "blocked" | "all_done";
2718
2718
  total: number;
2719
2719
  remaining: number;
2720
2720
  divergence: {
2721
- kind: "tracked-task-mismatch";
2722
2721
  message: string;
2722
+ kind: "tracked-task-mismatch";
2723
2723
  apply: {
2724
2724
  complete: number;
2725
2725
  total: number;
@@ -2925,7 +2925,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2925
2925
  }, "strip", z.ZodTypeAny, {
2926
2926
  changeName: string;
2927
2927
  evidence: {
2928
- command: "instructions archive";
2929
2928
  success: boolean;
2930
2929
  stdout: string;
2931
2930
  stderr: string;
@@ -2938,15 +2937,16 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2938
2937
  target: z.ZodOptional<z.ZodString>;
2939
2938
  fix: z.ZodOptional<z.ZodString>;
2940
2939
  }, z.ZodTypeAny, "passthrough">[];
2940
+ command: "instructions archive";
2941
2941
  selector: {
2942
2942
  store?: string | undefined;
2943
2943
  };
2944
+ contractError?: string | undefined;
2944
2945
  root?: z.objectOutputType<{
2945
2946
  path: z.ZodString;
2946
2947
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2947
2948
  store_id: z.ZodOptional<z.ZodString>;
2948
2949
  }, z.ZodTypeAny, "passthrough"> | undefined;
2949
- contractError?: string | undefined;
2950
2950
  } & {
2951
2951
  [k: string]: unknown;
2952
2952
  };
@@ -2955,7 +2955,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2955
2955
  }, {
2956
2956
  changeName: string;
2957
2957
  evidence: {
2958
- command: "instructions archive";
2959
2958
  success: boolean;
2960
2959
  stdout: string;
2961
2960
  stderr: string;
@@ -2968,15 +2967,16 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2968
2967
  target: z.ZodOptional<z.ZodString>;
2969
2968
  fix: z.ZodOptional<z.ZodString>;
2970
2969
  }, z.ZodTypeAny, "passthrough">[];
2970
+ command: "instructions archive";
2971
2971
  selector: {
2972
2972
  store?: string | undefined;
2973
2973
  };
2974
+ contractError?: string | undefined;
2974
2975
  root?: z.objectInputType<{
2975
2976
  path: z.ZodString;
2976
2977
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2977
2978
  store_id: z.ZodOptional<z.ZodString>;
2978
2979
  }, z.ZodTypeAny, "passthrough"> | undefined;
2979
- contractError?: string | undefined;
2980
2980
  } & {
2981
2981
  [k: string]: unknown;
2982
2982
  };
@@ -3268,7 +3268,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3268
3268
  schemaName: string;
3269
3269
  outputPath: string;
3270
3270
  evidence: {
3271
- command: "instructions";
3272
3271
  success: boolean;
3273
3272
  stdout: string;
3274
3273
  stderr: string;
@@ -3281,15 +3280,16 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3281
3280
  target: z.ZodOptional<z.ZodString>;
3282
3281
  fix: z.ZodOptional<z.ZodString>;
3283
3282
  }, z.ZodTypeAny, "passthrough">[];
3283
+ command: "instructions";
3284
3284
  selector: {
3285
3285
  store?: string | undefined;
3286
3286
  };
3287
+ contractError?: string | undefined;
3287
3288
  root?: z.objectOutputType<{
3288
3289
  path: z.ZodString;
3289
3290
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3290
3291
  store_id: z.ZodOptional<z.ZodString>;
3291
3292
  }, z.ZodTypeAny, "passthrough"> | undefined;
3292
- contractError?: string | undefined;
3293
3293
  } & {
3294
3294
  [k: string]: unknown;
3295
3295
  };
@@ -3348,7 +3348,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3348
3348
  schemaName: string;
3349
3349
  outputPath: string;
3350
3350
  evidence: {
3351
- command: "instructions";
3352
3351
  success: boolean;
3353
3352
  stdout: string;
3354
3353
  stderr: string;
@@ -3361,15 +3360,16 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3361
3360
  target: z.ZodOptional<z.ZodString>;
3362
3361
  fix: z.ZodOptional<z.ZodString>;
3363
3362
  }, z.ZodTypeAny, "passthrough">[];
3363
+ command: "instructions";
3364
3364
  selector: {
3365
3365
  store?: string | undefined;
3366
3366
  };
3367
+ contractError?: string | undefined;
3367
3368
  root?: z.objectInputType<{
3368
3369
  path: z.ZodString;
3369
3370
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3370
3371
  store_id: z.ZodOptional<z.ZodString>;
3371
3372
  }, z.ZodTypeAny, "passthrough"> | undefined;
3372
- contractError?: string | undefined;
3373
3373
  } & {
3374
3374
  [k: string]: unknown;
3375
3375
  };
@@ -3583,6 +3583,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
3583
3583
  applyTracks: z.ZodOptional<z.ZodString>;
3584
3584
  applyInstruction: z.ZodOptional<z.ZodString>;
3585
3585
  }, "strip", z.ZodTypeAny, {
3586
+ name: string;
3586
3587
  applyRequires: string[];
3587
3588
  artifacts: {
3588
3589
  id: string;
@@ -3592,12 +3593,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
3592
3593
  instruction?: string | undefined;
3593
3594
  template?: string | undefined;
3594
3595
  }[];
3595
- name: string;
3596
3596
  description?: string | undefined;
3597
3597
  version?: string | number | undefined;
3598
3598
  applyTracks?: string | undefined;
3599
3599
  applyInstruction?: string | undefined;
3600
3600
  }, {
3601
+ name: string;
3601
3602
  applyRequires: string[];
3602
3603
  artifacts: {
3603
3604
  id: string;
@@ -3607,7 +3608,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
3607
3608
  instruction?: string | undefined;
3608
3609
  template?: string | undefined;
3609
3610
  }[];
3610
- name: string;
3611
3611
  description?: string | undefined;
3612
3612
  version?: string | number | undefined;
3613
3613
  applyTracks?: string | undefined;
@@ -3662,6 +3662,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3662
3662
  applyTracks: z.ZodOptional<z.ZodString>;
3663
3663
  applyInstruction: z.ZodOptional<z.ZodString>;
3664
3664
  }, "strip", z.ZodTypeAny, {
3665
+ name: string;
3665
3666
  applyRequires: string[];
3666
3667
  artifacts: {
3667
3668
  id: string;
@@ -3671,12 +3672,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3671
3672
  instruction?: string | undefined;
3672
3673
  template?: string | undefined;
3673
3674
  }[];
3674
- name: string;
3675
3675
  description?: string | undefined;
3676
3676
  version?: string | number | undefined;
3677
3677
  applyTracks?: string | undefined;
3678
3678
  applyInstruction?: string | undefined;
3679
3679
  }, {
3680
+ name: string;
3680
3681
  applyRequires: string[];
3681
3682
  artifacts: {
3682
3683
  id: string;
@@ -3686,7 +3687,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3686
3687
  instruction?: string | undefined;
3687
3688
  template?: string | undefined;
3688
3689
  }[];
3689
- name: string;
3690
3690
  description?: string | undefined;
3691
3691
  version?: string | number | undefined;
3692
3692
  applyTracks?: string | undefined;
@@ -3767,6 +3767,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3767
3767
  source: z.ZodEnum<["project", "user", "package"]>;
3768
3768
  }, z.ZodTypeAny, "passthrough">[];
3769
3769
  schemaDetails: Record<string, {
3770
+ name: string;
3770
3771
  applyRequires: string[];
3771
3772
  artifacts: {
3772
3773
  id: string;
@@ -3776,7 +3777,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3776
3777
  instruction?: string | undefined;
3777
3778
  template?: string | undefined;
3778
3779
  }[];
3779
- name: string;
3780
3780
  description?: string | undefined;
3781
3781
  version?: string | number | undefined;
3782
3782
  applyTracks?: string | undefined;
@@ -3813,6 +3813,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3813
3813
  source: z.ZodEnum<["project", "user", "package"]>;
3814
3814
  }, z.ZodTypeAny, "passthrough">[];
3815
3815
  schemaDetails: Record<string, {
3816
+ name: string;
3816
3817
  applyRequires: string[];
3817
3818
  artifacts: {
3818
3819
  id: string;
@@ -3822,7 +3823,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3822
3823
  instruction?: string | undefined;
3823
3824
  template?: string | undefined;
3824
3825
  }[];
3825
- name: string;
3826
3826
  description?: string | undefined;
3827
3827
  version?: string | number | undefined;
3828
3828
  applyTracks?: string | undefined;