@openspecui/core 9.0.2 → 9.0.3

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 (55) hide show
  1. package/dist/{active-root-config-DxYz3yKb.d.mts → active-root-config-CDH9K5lV.d.mts} +7 -7
  2. package/dist/active-root-config.d.mts +4 -4
  3. package/dist/app-daemon-control.d.mts +24 -24
  4. package/dist/{cli-projection-Bf5KrMN0.d.mts → cli-projection-C1ZYzYMm.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +4 -4
  6. package/dist/{dashboard-summary-transport-BNOPiGUP.d.mts → dashboard-summary-transport-Bys0g-UT.d.mts} +2626 -2626
  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-CajHC-38.d.mts → index-C7jJcSdH.d.mts} +9 -9
  11. package/dist/index.d.mts +17 -17
  12. package/dist/index.mjs +130 -48
  13. package/dist/{local-download-profiles-Cu0nXbF1.d.mts → local-download-profiles-CyAhZwxA.d.mts} +1 -1
  14. package/dist/local-download-profiles.d.mts +2 -2
  15. package/dist/local-download-profiles.mjs +1 -1
  16. package/dist/{notifications-D0M-01SA.d.mts → notifications-Be5ltQeN.d.mts} +7 -7
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/openspec-compat.d.mts +3 -3
  19. package/dist/openspec-compat.mjs +1 -1
  20. package/dist/{openspec-projection-DKHk3L2e.d.mts → openspec-projection-Bymnjuf9.d.mts} +1 -1
  21. package/dist/openspec-projection.d.mts +2 -2
  22. package/dist/{opsx-entity-eoJAox1u.d.mts → opsx-entity-NFWGsreJ.d.mts} +2 -2
  23. package/dist/opsx-entity.d.mts +6 -6
  24. package/dist/{opsx-schema-detail-C3xm4DKk.d.mts → opsx-schema-detail-ChaSoC8S.d.mts} +2 -2
  25. package/dist/opsx-schema-detail.d.mts +7 -7
  26. package/dist/{opsx-types-DXBwJP68.d.mts → opsx-types-C2lUEACZ.d.mts} +135 -135
  27. package/dist/planning-cli-projection.d.mts +17 -17
  28. package/dist/planning-cli-projection.mjs +1 -1
  29. package/dist/{schemas-CxBYcq-e.d.mts → schemas-BG7Tcs8J.d.mts} +61 -61
  30. package/dist/{sounds-X-Wf5v3V.d.mts → sounds-DdPTMYMa.d.mts} +8 -8
  31. package/dist/sounds.d.mts +1 -1
  32. package/dist/spec-catalog.d.mts +17 -17
  33. package/dist/{store-mutation-protocol-B0e6UlO3.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +36 -36
  34. package/dist/store-mutation-protocol.d.mts +1 -1
  35. package/dist/{store-types-DhoV8sV7.d.mts → store-types-X35XKl10.d.mts} +1 -1
  36. package/dist/store-types.d.mts +4 -4
  37. package/dist/task-progress.d.mts +5 -5
  38. package/dist/{terminal-audio-D5CfhorV.d.mts → terminal-audio-Csuw114f.d.mts} +1 -1
  39. package/dist/terminal-audio.d.mts +2 -2
  40. package/dist/terminal-audio.mjs +1 -1
  41. package/dist/terminal-control.d.mts +2 -2
  42. package/dist/{terminal-invocation-C71aMyAX.d.mts → terminal-invocation-C5AN93a9.d.mts} +81 -81
  43. package/dist/terminal-invocation.d.mts +1 -1
  44. package/dist/terminal-theme.mjs +1 -1
  45. package/dist/translation-language-pair.mjs +1 -1
  46. package/dist/{translator-BgCkaOkw.d.mts → translator-4wvacuAX.d.mts} +92 -92
  47. package/dist/translator.d.mts +1 -1
  48. package/dist/workspace-directory-catalog.d.mts +2 -2
  49. package/package.json +1 -1
  50. /package/dist/{local-download-profiles-BRsR1-kK.mjs → local-download-profiles-3I8AOUJj.mjs} +0 -0
  51. /package/dist/{openspec-compat-B246EQNW.mjs → openspec-compat-DidEO359.mjs} +0 -0
  52. /package/dist/{planning-cli-projection-DV22v3Xl.mjs → planning-cli-projection-BTkiQ7PG.mjs} +0 -0
  53. /package/dist/{terminal-audio-ELHVH24M.mjs → terminal-audio-CLEDFFpW.mjs} +0 -0
  54. /package/dist/{terminal-theme-C6BPfQ2G.mjs → terminal-theme-Bse1UdaX.mjs} +0 -0
  55. /package/dist/{translation-language-pair-CWLlH7Ab.mjs → translation-language-pair-BTfLQehX.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { Y as CliJsonValue } from "./index-CajHC-38.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-CxBYcq-e.mjs";
1
+ import { Y as CliJsonValue } from "./index-C7jJcSdH.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-BG7Tcs8J.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -684,6 +684,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
684
684
  command: z.ZodLiteral<"status">;
685
685
  }, z.ZodTypeAny, "passthrough">>;
686
686
  }, "strip", z.ZodTypeAny, {
687
+ kind: "cli";
687
688
  root: {
688
689
  path: string;
689
690
  source: "store" | "declared" | "nearest" | "global_default" | "implicit";
@@ -691,7 +692,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
691
692
  } & {
692
693
  [k: string]: unknown;
693
694
  };
694
- kind: "cli";
695
695
  evidence: {
696
696
  success: boolean;
697
697
  stdout: string;
@@ -709,18 +709,18 @@ declare const ChangeStatusSchema: z.ZodObject<{
709
709
  selector: {
710
710
  store?: string | undefined;
711
711
  };
712
+ contractError?: string | undefined;
712
713
  root?: z.objectOutputType<{
713
714
  path: z.ZodString;
714
715
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
715
716
  store_id: z.ZodOptional<z.ZodString>;
716
717
  }, z.ZodTypeAny, "passthrough"> | undefined;
717
- contractError?: string | undefined;
718
718
  } & {
719
719
  [k: string]: unknown;
720
720
  };
721
721
  planningHome: {
722
- root: string;
723
722
  kind: "repo";
723
+ root: string;
724
724
  changesDir: string;
725
725
  defaultSchema: string;
726
726
  } & {
@@ -747,6 +747,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
747
747
  [k: string]: unknown;
748
748
  };
749
749
  }, {
750
+ kind: "cli";
750
751
  root: {
751
752
  path: string;
752
753
  source: "store" | "declared" | "nearest" | "global_default" | "implicit";
@@ -754,7 +755,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
754
755
  } & {
755
756
  [k: string]: unknown;
756
757
  };
757
- kind: "cli";
758
758
  evidence: {
759
759
  success: boolean;
760
760
  stdout: string;
@@ -772,18 +772,18 @@ declare const ChangeStatusSchema: z.ZodObject<{
772
772
  selector: {
773
773
  store?: string | undefined;
774
774
  };
775
+ contractError?: string | undefined;
775
776
  root?: z.objectInputType<{
776
777
  path: z.ZodString;
777
778
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
778
779
  store_id: z.ZodOptional<z.ZodString>;
779
780
  }, z.ZodTypeAny, "passthrough"> | undefined;
780
- contractError?: string | undefined;
781
781
  } & {
782
782
  [k: string]: unknown;
783
783
  };
784
784
  planningHome: {
785
- root: string;
786
785
  kind: "repo";
786
+ root: string;
787
787
  changesDir: string;
788
788
  defaultSchema: string;
789
789
  } & {
@@ -830,6 +830,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
830
830
  relativePath?: string | undefined;
831
831
  }[];
832
832
  provenance: {
833
+ kind: "cli";
833
834
  root: {
834
835
  path: string;
835
836
  source: "store" | "declared" | "nearest" | "global_default" | "implicit";
@@ -837,7 +838,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
837
838
  } & {
838
839
  [k: string]: unknown;
839
840
  };
840
- kind: "cli";
841
841
  evidence: {
842
842
  success: boolean;
843
843
  stdout: string;
@@ -855,18 +855,18 @@ declare const ChangeStatusSchema: z.ZodObject<{
855
855
  selector: {
856
856
  store?: string | undefined;
857
857
  };
858
+ contractError?: string | undefined;
858
859
  root?: z.objectOutputType<{
859
860
  path: z.ZodString;
860
861
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
861
862
  store_id: z.ZodOptional<z.ZodString>;
862
863
  }, z.ZodTypeAny, "passthrough"> | undefined;
863
- contractError?: string | undefined;
864
864
  } & {
865
865
  [k: string]: unknown;
866
866
  };
867
867
  planningHome: {
868
- root: string;
869
868
  kind: "repo";
869
+ root: string;
870
870
  changesDir: string;
871
871
  defaultSchema: string;
872
872
  } & {
@@ -909,6 +909,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
909
909
  relativePath?: string | undefined;
910
910
  }[];
911
911
  provenance: {
912
+ kind: "cli";
912
913
  root: {
913
914
  path: string;
914
915
  source: "store" | "declared" | "nearest" | "global_default" | "implicit";
@@ -916,7 +917,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
916
917
  } & {
917
918
  [k: string]: unknown;
918
919
  };
919
- kind: "cli";
920
920
  evidence: {
921
921
  success: boolean;
922
922
  stdout: string;
@@ -934,18 +934,18 @@ declare const ChangeStatusSchema: z.ZodObject<{
934
934
  selector: {
935
935
  store?: string | undefined;
936
936
  };
937
+ contractError?: string | undefined;
937
938
  root?: z.objectInputType<{
938
939
  path: z.ZodString;
939
940
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
940
941
  store_id: z.ZodOptional<z.ZodString>;
941
942
  }, z.ZodTypeAny, "passthrough"> | undefined;
942
- contractError?: string | undefined;
943
943
  } & {
944
944
  [k: string]: unknown;
945
945
  };
946
946
  planningHome: {
947
- root: string;
948
947
  kind: "repo";
948
+ root: string;
949
949
  changesDir: string;
950
950
  defaultSchema: string;
951
951
  } & {
@@ -1311,14 +1311,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1311
1311
  remaining: z.ZodNumber;
1312
1312
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
1313
1313
  }, "strip", z.ZodTypeAny, {
1314
+ completed: number;
1314
1315
  total: number;
1315
1316
  remaining: number;
1316
- completed: number;
1317
1317
  phase: "no-tasks" | "complete" | "in-progress";
1318
1318
  }, {
1319
+ completed: number;
1319
1320
  total: number;
1320
1321
  remaining: number;
1321
- completed: number;
1322
1322
  phase: "no-tasks" | "complete" | "in-progress";
1323
1323
  }>;
1324
1324
  }, "strip", z.ZodTypeAny, {
@@ -1330,9 +1330,9 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1330
1330
  remaining: number;
1331
1331
  };
1332
1332
  tracked: {
1333
+ completed: number;
1333
1334
  total: number;
1334
1335
  remaining: number;
1335
- completed: number;
1336
1336
  phase: "no-tasks" | "complete" | "in-progress";
1337
1337
  };
1338
1338
  }, {
@@ -1344,16 +1344,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1344
1344
  remaining: number;
1345
1345
  };
1346
1346
  tracked: {
1347
+ completed: number;
1347
1348
  total: number;
1348
1349
  remaining: number;
1349
- completed: number;
1350
1350
  phase: "no-tasks" | "complete" | "in-progress";
1351
1351
  };
1352
1352
  }>>;
1353
1353
  }, "strip", z.ZodTypeAny, {
1354
- source: "openspec-instructions-apply";
1355
1354
  state: "ready" | "blocked" | "all_done";
1356
1355
  complete: number;
1356
+ source: "openspec-instructions-apply";
1357
1357
  total: number;
1358
1358
  remaining: number;
1359
1359
  divergence: {
@@ -1365,16 +1365,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1365
1365
  remaining: number;
1366
1366
  };
1367
1367
  tracked: {
1368
+ completed: number;
1368
1369
  total: number;
1369
1370
  remaining: number;
1370
- completed: number;
1371
1371
  phase: "no-tasks" | "complete" | "in-progress";
1372
1372
  };
1373
1373
  } | null;
1374
1374
  }, {
1375
- source: "openspec-instructions-apply";
1376
1375
  state: "ready" | "blocked" | "all_done";
1377
1376
  complete: number;
1377
+ source: "openspec-instructions-apply";
1378
1378
  total: number;
1379
1379
  remaining: number;
1380
1380
  divergence: {
@@ -1386,15 +1386,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1386
1386
  remaining: number;
1387
1387
  };
1388
1388
  tracked: {
1389
+ completed: number;
1389
1390
  total: number;
1390
1391
  remaining: number;
1391
- completed: number;
1392
1392
  phase: "no-tasks" | "complete" | "in-progress";
1393
1393
  };
1394
1394
  } | null;
1395
1395
  }>;
1396
1396
  }, "strip", z.ZodTypeAny, {
1397
- state: "ready" | "blocked" | "all_done";
1398
1397
  evidence: {
1399
1398
  success: boolean;
1400
1399
  stdout: string;
@@ -1412,29 +1411,30 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1412
1411
  selector: {
1413
1412
  store?: string | undefined;
1414
1413
  };
1414
+ contractError?: string | undefined;
1415
1415
  root?: z.objectOutputType<{
1416
1416
  path: z.ZodString;
1417
1417
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1418
1418
  store_id: z.ZodOptional<z.ZodString>;
1419
1419
  }, z.ZodTypeAny, "passthrough"> | undefined;
1420
- contractError?: string | undefined;
1421
1420
  } & {
1422
1421
  [k: string]: unknown;
1423
1422
  };
1424
- changeName: string;
1425
- schemaName: string;
1426
- changeDir: string;
1427
- instruction: string;
1428
- contextFiles: Record<string, string[]>;
1423
+ state: "ready" | "blocked" | "all_done";
1429
1424
  tasks: {
1430
1425
  id: string;
1431
1426
  description: string;
1432
1427
  done: boolean;
1433
1428
  }[];
1429
+ changeName: string;
1430
+ schemaName: string;
1431
+ changeDir: string;
1432
+ instruction: string;
1433
+ contextFiles: Record<string, string[]>;
1434
1434
  applyInstructionProgress: {
1435
- source: "openspec-instructions-apply";
1436
1435
  state: "ready" | "blocked" | "all_done";
1437
1436
  complete: number;
1437
+ source: "openspec-instructions-apply";
1438
1438
  total: number;
1439
1439
  remaining: number;
1440
1440
  divergence: {
@@ -1446,14 +1446,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1446
1446
  remaining: number;
1447
1447
  };
1448
1448
  tracked: {
1449
+ completed: number;
1449
1450
  total: number;
1450
1451
  remaining: number;
1451
- completed: number;
1452
1452
  phase: "no-tasks" | "complete" | "in-progress";
1453
1453
  };
1454
1454
  } | null;
1455
1455
  };
1456
- context?: string | undefined;
1457
1456
  references?: z.objectOutputType<{
1458
1457
  store_id: z.ZodString;
1459
1458
  root: z.ZodOptional<z.ZodString>;
@@ -1489,10 +1488,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1489
1488
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1490
1489
  fetch: z.ZodOptional<z.ZodString>;
1491
1490
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1491
+ context?: string | undefined;
1492
1492
  missingArtifacts?: string[] | undefined;
1493
1493
  operationGuidance?: string[] | undefined;
1494
1494
  }, {
1495
- state: "ready" | "blocked" | "all_done";
1496
1495
  evidence: {
1497
1496
  success: boolean;
1498
1497
  stdout: string;
@@ -1510,29 +1509,30 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1510
1509
  selector: {
1511
1510
  store?: string | undefined;
1512
1511
  };
1512
+ contractError?: string | undefined;
1513
1513
  root?: z.objectInputType<{
1514
1514
  path: z.ZodString;
1515
1515
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1516
1516
  store_id: z.ZodOptional<z.ZodString>;
1517
1517
  }, z.ZodTypeAny, "passthrough"> | undefined;
1518
- contractError?: string | undefined;
1519
1518
  } & {
1520
1519
  [k: string]: unknown;
1521
1520
  };
1522
- changeName: string;
1523
- schemaName: string;
1524
- changeDir: string;
1525
- instruction: string;
1526
- contextFiles: Record<string, string | string[]>;
1521
+ state: "ready" | "blocked" | "all_done";
1527
1522
  tasks: {
1528
1523
  id: string;
1529
1524
  description: string;
1530
1525
  done: boolean;
1531
1526
  }[];
1527
+ changeName: string;
1528
+ schemaName: string;
1529
+ changeDir: string;
1530
+ instruction: string;
1531
+ contextFiles: Record<string, string | string[]>;
1532
1532
  applyInstructionProgress: {
1533
- source: "openspec-instructions-apply";
1534
1533
  state: "ready" | "blocked" | "all_done";
1535
1534
  complete: number;
1535
+ source: "openspec-instructions-apply";
1536
1536
  total: number;
1537
1537
  remaining: number;
1538
1538
  divergence: {
@@ -1544,14 +1544,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1544
1544
  remaining: number;
1545
1545
  };
1546
1546
  tracked: {
1547
+ completed: number;
1547
1548
  total: number;
1548
1549
  remaining: number;
1549
- completed: number;
1550
1550
  phase: "no-tasks" | "complete" | "in-progress";
1551
1551
  };
1552
1552
  } | null;
1553
1553
  };
1554
- context?: string | undefined;
1555
1554
  references?: z.objectInputType<{
1556
1555
  store_id: z.ZodString;
1557
1556
  root: z.ZodOptional<z.ZodString>;
@@ -1587,6 +1586,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1587
1586
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1588
1587
  fetch: z.ZodOptional<z.ZodString>;
1589
1588
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1589
+ context?: string | undefined;
1590
1590
  missingArtifacts?: string[] | undefined;
1591
1591
  operationGuidance?: string[] | undefined;
1592
1592
  }>;
@@ -1875,12 +1875,6 @@ 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
- progress: {
1879
- complete: number;
1880
- total: number;
1881
- remaining: number;
1882
- };
1883
- state: "ready" | "blocked" | "all_done";
1884
1878
  evidence: {
1885
1879
  success: boolean;
1886
1880
  stdout: string;
@@ -1898,26 +1892,31 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1898
1892
  selector: {
1899
1893
  store?: string | undefined;
1900
1894
  };
1895
+ contractError?: string | undefined;
1901
1896
  root?: z.objectOutputType<{
1902
1897
  path: z.ZodString;
1903
1898
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1904
1899
  store_id: z.ZodOptional<z.ZodString>;
1905
1900
  }, z.ZodTypeAny, "passthrough"> | undefined;
1906
- contractError?: string | undefined;
1907
1901
  } & {
1908
1902
  [k: string]: unknown;
1909
1903
  };
1910
- changeName: string;
1911
- schemaName: string;
1912
- changeDir: string;
1913
- instruction: string;
1914
- contextFiles: Record<string, string[]>;
1904
+ state: "ready" | "blocked" | "all_done";
1915
1905
  tasks: {
1916
1906
  id: string;
1917
1907
  description: string;
1918
1908
  done: boolean;
1919
1909
  }[];
1920
- context?: string | undefined;
1910
+ progress: {
1911
+ complete: number;
1912
+ total: number;
1913
+ remaining: number;
1914
+ };
1915
+ changeName: string;
1916
+ schemaName: string;
1917
+ changeDir: string;
1918
+ instruction: string;
1919
+ contextFiles: Record<string, string[]>;
1921
1920
  references?: z.objectOutputType<{
1922
1921
  store_id: z.ZodString;
1923
1922
  root: z.ZodOptional<z.ZodString>;
@@ -1953,15 +1952,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1953
1952
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1954
1953
  fetch: z.ZodOptional<z.ZodString>;
1955
1954
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1955
+ context?: string | undefined;
1956
1956
  missingArtifacts?: string[] | undefined;
1957
1957
  operationGuidance?: string[] | undefined;
1958
1958
  }, {
1959
- progress: {
1960
- complete: number;
1961
- total: number;
1962
- remaining: number;
1963
- };
1964
- state: "ready" | "blocked" | "all_done";
1965
1959
  evidence: {
1966
1960
  success: boolean;
1967
1961
  stdout: string;
@@ -1979,26 +1973,31 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1979
1973
  selector: {
1980
1974
  store?: string | undefined;
1981
1975
  };
1976
+ contractError?: string | undefined;
1982
1977
  root?: z.objectInputType<{
1983
1978
  path: z.ZodString;
1984
1979
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1985
1980
  store_id: z.ZodOptional<z.ZodString>;
1986
1981
  }, z.ZodTypeAny, "passthrough"> | undefined;
1987
- contractError?: string | undefined;
1988
1982
  } & {
1989
1983
  [k: string]: unknown;
1990
1984
  };
1991
- changeName: string;
1992
- schemaName: string;
1993
- changeDir: string;
1994
- instruction: string;
1995
- contextFiles: Record<string, string | string[]>;
1985
+ state: "ready" | "blocked" | "all_done";
1996
1986
  tasks: {
1997
1987
  id: string;
1998
1988
  description: string;
1999
1989
  done: boolean;
2000
1990
  }[];
2001
- context?: string | undefined;
1991
+ progress: {
1992
+ complete: number;
1993
+ total: number;
1994
+ remaining: number;
1995
+ };
1996
+ changeName: string;
1997
+ schemaName: string;
1998
+ changeDir: string;
1999
+ instruction: string;
2000
+ contextFiles: Record<string, string | string[]>;
2002
2001
  references?: z.objectInputType<{
2003
2002
  store_id: z.ZodString;
2004
2003
  root: z.ZodOptional<z.ZodString>;
@@ -2034,11 +2033,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2034
2033
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2035
2034
  fetch: z.ZodOptional<z.ZodString>;
2036
2035
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2036
+ context?: string | undefined;
2037
2037
  missingArtifacts?: string[] | undefined;
2038
2038
  operationGuidance?: string[] | undefined;
2039
2039
  }>, {
2040
2040
  applyInstructionProgress: ApplyInstructionProgress;
2041
- state: "ready" | "blocked" | "all_done";
2042
2041
  evidence: {
2043
2042
  success: boolean;
2044
2043
  stdout: string;
@@ -2056,26 +2055,26 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2056
2055
  selector: {
2057
2056
  store?: string | undefined;
2058
2057
  };
2058
+ contractError?: string | undefined;
2059
2059
  root?: z.objectOutputType<{
2060
2060
  path: z.ZodString;
2061
2061
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2062
2062
  store_id: z.ZodOptional<z.ZodString>;
2063
2063
  }, z.ZodTypeAny, "passthrough"> | undefined;
2064
- contractError?: string | undefined;
2065
2064
  } & {
2066
2065
  [k: string]: unknown;
2067
2066
  };
2068
- changeName: string;
2069
- schemaName: string;
2070
- changeDir: string;
2071
- instruction: string;
2072
- contextFiles: Record<string, string[]>;
2067
+ state: "ready" | "blocked" | "all_done";
2073
2068
  tasks: {
2074
2069
  id: string;
2075
2070
  description: string;
2076
2071
  done: boolean;
2077
2072
  }[];
2078
- context?: string | undefined;
2073
+ changeName: string;
2074
+ schemaName: string;
2075
+ changeDir: string;
2076
+ instruction: string;
2077
+ contextFiles: Record<string, string[]>;
2079
2078
  references?: z.objectOutputType<{
2080
2079
  store_id: z.ZodString;
2081
2080
  root: z.ZodOptional<z.ZodString>;
@@ -2111,15 +2110,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2111
2110
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2112
2111
  fetch: z.ZodOptional<z.ZodString>;
2113
2112
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2113
+ context?: string | undefined;
2114
2114
  missingArtifacts?: string[] | undefined;
2115
2115
  operationGuidance?: string[] | undefined;
2116
2116
  }, {
2117
- progress: {
2118
- complete: number;
2119
- total: number;
2120
- remaining: number;
2121
- };
2122
- state: "ready" | "blocked" | "all_done";
2123
2117
  evidence: {
2124
2118
  success: boolean;
2125
2119
  stdout: string;
@@ -2137,26 +2131,31 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2137
2131
  selector: {
2138
2132
  store?: string | undefined;
2139
2133
  };
2134
+ contractError?: string | undefined;
2140
2135
  root?: z.objectInputType<{
2141
2136
  path: z.ZodString;
2142
2137
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2143
2138
  store_id: z.ZodOptional<z.ZodString>;
2144
2139
  }, z.ZodTypeAny, "passthrough"> | undefined;
2145
- contractError?: string | undefined;
2146
2140
  } & {
2147
2141
  [k: string]: unknown;
2148
2142
  };
2149
- changeName: string;
2150
- schemaName: string;
2151
- changeDir: string;
2152
- instruction: string;
2153
- contextFiles: Record<string, string | string[]>;
2143
+ state: "ready" | "blocked" | "all_done";
2154
2144
  tasks: {
2155
2145
  id: string;
2156
2146
  description: string;
2157
2147
  done: boolean;
2158
2148
  }[];
2159
- context?: string | undefined;
2149
+ progress: {
2150
+ complete: number;
2151
+ total: number;
2152
+ remaining: number;
2153
+ };
2154
+ changeName: string;
2155
+ schemaName: string;
2156
+ changeDir: string;
2157
+ instruction: string;
2158
+ contextFiles: Record<string, string | string[]>;
2160
2159
  references?: z.objectInputType<{
2161
2160
  store_id: z.ZodString;
2162
2161
  root: z.ZodOptional<z.ZodString>;
@@ -2192,6 +2191,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2192
2191
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2193
2192
  fetch: z.ZodOptional<z.ZodString>;
2194
2193
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2194
+ context?: string | undefined;
2195
2195
  missingArtifacts?: string[] | undefined;
2196
2196
  operationGuidance?: string[] | undefined;
2197
2197
  }>, z.ZodObject<{
@@ -2493,14 +2493,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2493
2493
  remaining: z.ZodNumber;
2494
2494
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
2495
2495
  }, "strip", z.ZodTypeAny, {
2496
+ completed: number;
2496
2497
  total: number;
2497
2498
  remaining: number;
2498
- completed: number;
2499
2499
  phase: "no-tasks" | "complete" | "in-progress";
2500
2500
  }, {
2501
+ completed: number;
2501
2502
  total: number;
2502
2503
  remaining: number;
2503
- completed: number;
2504
2504
  phase: "no-tasks" | "complete" | "in-progress";
2505
2505
  }>;
2506
2506
  }, "strip", z.ZodTypeAny, {
@@ -2512,9 +2512,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2512
2512
  remaining: number;
2513
2513
  };
2514
2514
  tracked: {
2515
+ completed: number;
2515
2516
  total: number;
2516
2517
  remaining: number;
2517
- completed: number;
2518
2518
  phase: "no-tasks" | "complete" | "in-progress";
2519
2519
  };
2520
2520
  }, {
@@ -2526,16 +2526,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2526
2526
  remaining: number;
2527
2527
  };
2528
2528
  tracked: {
2529
+ completed: number;
2529
2530
  total: number;
2530
2531
  remaining: number;
2531
- completed: number;
2532
2532
  phase: "no-tasks" | "complete" | "in-progress";
2533
2533
  };
2534
2534
  }>>;
2535
2535
  }, "strip", z.ZodTypeAny, {
2536
- source: "openspec-instructions-apply";
2537
2536
  state: "ready" | "blocked" | "all_done";
2538
2537
  complete: number;
2538
+ source: "openspec-instructions-apply";
2539
2539
  total: number;
2540
2540
  remaining: number;
2541
2541
  divergence: {
@@ -2547,16 +2547,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2547
2547
  remaining: number;
2548
2548
  };
2549
2549
  tracked: {
2550
+ completed: number;
2550
2551
  total: number;
2551
2552
  remaining: number;
2552
- completed: number;
2553
2553
  phase: "no-tasks" | "complete" | "in-progress";
2554
2554
  };
2555
2555
  } | null;
2556
2556
  }, {
2557
- source: "openspec-instructions-apply";
2558
2557
  state: "ready" | "blocked" | "all_done";
2559
2558
  complete: number;
2559
+ source: "openspec-instructions-apply";
2560
2560
  total: number;
2561
2561
  remaining: number;
2562
2562
  divergence: {
@@ -2568,15 +2568,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2568
2568
  remaining: number;
2569
2569
  };
2570
2570
  tracked: {
2571
+ completed: number;
2571
2572
  total: number;
2572
2573
  remaining: number;
2573
- completed: number;
2574
2574
  phase: "no-tasks" | "complete" | "in-progress";
2575
2575
  };
2576
2576
  } | null;
2577
2577
  }>;
2578
2578
  }, "strip", z.ZodTypeAny, {
2579
- state: "ready" | "blocked" | "all_done";
2580
2579
  evidence: {
2581
2580
  success: boolean;
2582
2581
  stdout: string;
@@ -2594,29 +2593,30 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2594
2593
  selector: {
2595
2594
  store?: string | undefined;
2596
2595
  };
2596
+ contractError?: string | undefined;
2597
2597
  root?: z.objectOutputType<{
2598
2598
  path: z.ZodString;
2599
2599
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2600
2600
  store_id: z.ZodOptional<z.ZodString>;
2601
2601
  }, z.ZodTypeAny, "passthrough"> | undefined;
2602
- contractError?: string | undefined;
2603
2602
  } & {
2604
2603
  [k: string]: unknown;
2605
2604
  };
2606
- changeName: string;
2607
- schemaName: string;
2608
- changeDir: string;
2609
- instruction: string;
2610
- contextFiles: Record<string, string[]>;
2605
+ state: "ready" | "blocked" | "all_done";
2611
2606
  tasks: {
2612
2607
  id: string;
2613
2608
  description: string;
2614
2609
  done: boolean;
2615
2610
  }[];
2611
+ changeName: string;
2612
+ schemaName: string;
2613
+ changeDir: string;
2614
+ instruction: string;
2615
+ contextFiles: Record<string, string[]>;
2616
2616
  applyInstructionProgress: {
2617
- source: "openspec-instructions-apply";
2618
2617
  state: "ready" | "blocked" | "all_done";
2619
2618
  complete: number;
2619
+ source: "openspec-instructions-apply";
2620
2620
  total: number;
2621
2621
  remaining: number;
2622
2622
  divergence: {
@@ -2628,14 +2628,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2628
2628
  remaining: number;
2629
2629
  };
2630
2630
  tracked: {
2631
+ completed: number;
2631
2632
  total: number;
2632
2633
  remaining: number;
2633
- completed: number;
2634
2634
  phase: "no-tasks" | "complete" | "in-progress";
2635
2635
  };
2636
2636
  } | null;
2637
2637
  };
2638
- context?: string | undefined;
2639
2638
  references?: z.objectOutputType<{
2640
2639
  store_id: z.ZodString;
2641
2640
  root: z.ZodOptional<z.ZodString>;
@@ -2671,10 +2670,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2671
2670
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2672
2671
  fetch: z.ZodOptional<z.ZodString>;
2673
2672
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2673
+ context?: string | undefined;
2674
2674
  missingArtifacts?: string[] | undefined;
2675
2675
  operationGuidance?: string[] | undefined;
2676
2676
  }, {
2677
- state: "ready" | "blocked" | "all_done";
2678
2677
  evidence: {
2679
2678
  success: boolean;
2680
2679
  stdout: string;
@@ -2692,29 +2691,30 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2692
2691
  selector: {
2693
2692
  store?: string | undefined;
2694
2693
  };
2694
+ contractError?: string | undefined;
2695
2695
  root?: z.objectInputType<{
2696
2696
  path: z.ZodString;
2697
2697
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2698
2698
  store_id: z.ZodOptional<z.ZodString>;
2699
2699
  }, z.ZodTypeAny, "passthrough"> | undefined;
2700
- contractError?: string | undefined;
2701
2700
  } & {
2702
2701
  [k: string]: unknown;
2703
2702
  };
2704
- changeName: string;
2705
- schemaName: string;
2706
- changeDir: string;
2707
- instruction: string;
2708
- contextFiles: Record<string, string | string[]>;
2703
+ state: "ready" | "blocked" | "all_done";
2709
2704
  tasks: {
2710
2705
  id: string;
2711
2706
  description: string;
2712
2707
  done: boolean;
2713
2708
  }[];
2709
+ changeName: string;
2710
+ schemaName: string;
2711
+ changeDir: string;
2712
+ instruction: string;
2713
+ contextFiles: Record<string, string | string[]>;
2714
2714
  applyInstructionProgress: {
2715
- source: "openspec-instructions-apply";
2716
2715
  state: "ready" | "blocked" | "all_done";
2717
2716
  complete: number;
2717
+ source: "openspec-instructions-apply";
2718
2718
  total: number;
2719
2719
  remaining: number;
2720
2720
  divergence: {
@@ -2726,14 +2726,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2726
2726
  remaining: number;
2727
2727
  };
2728
2728
  tracked: {
2729
+ completed: number;
2729
2730
  total: number;
2730
2731
  remaining: number;
2731
- completed: number;
2732
2732
  phase: "no-tasks" | "complete" | "in-progress";
2733
2733
  };
2734
2734
  } | null;
2735
2735
  };
2736
- context?: string | undefined;
2737
2736
  references?: z.objectInputType<{
2738
2737
  store_id: z.ZodString;
2739
2738
  root: z.ZodOptional<z.ZodString>;
@@ -2769,6 +2768,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2769
2768
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2770
2769
  fetch: z.ZodOptional<z.ZodString>;
2771
2770
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2771
+ context?: string | undefined;
2772
2772
  missingArtifacts?: string[] | undefined;
2773
2773
  operationGuidance?: string[] | undefined;
2774
2774
  }>>;
@@ -2940,12 +2940,12 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2940
2940
  selector: {
2941
2941
  store?: string | undefined;
2942
2942
  };
2943
+ contractError?: string | undefined;
2943
2944
  root?: z.objectOutputType<{
2944
2945
  path: z.ZodString;
2945
2946
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2946
2947
  store_id: z.ZodOptional<z.ZodString>;
2947
2948
  }, z.ZodTypeAny, "passthrough"> | undefined;
2948
- contractError?: string | undefined;
2949
2949
  } & {
2950
2950
  [k: string]: unknown;
2951
2951
  };
@@ -2970,12 +2970,12 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2970
2970
  selector: {
2971
2971
  store?: string | undefined;
2972
2972
  };
2973
+ contractError?: string | undefined;
2973
2974
  root?: z.objectInputType<{
2974
2975
  path: z.ZodString;
2975
2976
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2976
2977
  store_id: z.ZodOptional<z.ZodString>;
2977
2978
  }, z.ZodTypeAny, "passthrough"> | undefined;
2978
- contractError?: string | undefined;
2979
2979
  } & {
2980
2980
  [k: string]: unknown;
2981
2981
  };
@@ -3264,8 +3264,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3264
3264
  command: z.ZodLiteral<"instructions">;
3265
3265
  }, z.ZodTypeAny, "passthrough">>;
3266
3266
  }, "strip", z.ZodTypeAny, {
3267
- description: string;
3268
- template: string;
3269
3267
  evidence: {
3270
3268
  success: boolean;
3271
3269
  stdout: string;
@@ -3283,19 +3281,21 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3283
3281
  selector: {
3284
3282
  store?: string | undefined;
3285
3283
  };
3284
+ contractError?: string | undefined;
3286
3285
  root?: z.objectOutputType<{
3287
3286
  path: z.ZodString;
3288
3287
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3289
3288
  store_id: z.ZodOptional<z.ZodString>;
3290
3289
  }, z.ZodTypeAny, "passthrough"> | undefined;
3291
- contractError?: string | undefined;
3292
3290
  } & {
3293
3291
  [k: string]: unknown;
3294
3292
  };
3293
+ artifactId: string;
3294
+ outputPath: string;
3295
+ description: string;
3296
+ template: string;
3295
3297
  changeName: string;
3296
3298
  schemaName: string;
3297
- outputPath: string;
3298
- artifactId: string;
3299
3299
  changeDir: string;
3300
3300
  dependencies: {
3301
3301
  path: string;
@@ -3305,9 +3305,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3305
3305
  skipped?: boolean | undefined;
3306
3306
  }[];
3307
3307
  unlocks: string[];
3308
- context?: string | null | undefined;
3309
- instruction?: string | null | undefined;
3310
- rules?: string[] | null | undefined;
3311
3308
  references?: z.objectOutputType<{
3312
3309
  store_id: z.ZodString;
3313
3310
  root: z.ZodOptional<z.ZodString>;
@@ -3343,9 +3340,10 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3343
3340
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3344
3341
  fetch: z.ZodOptional<z.ZodString>;
3345
3342
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3343
+ context?: string | null | undefined;
3344
+ instruction?: string | null | undefined;
3345
+ rules?: string[] | null | undefined;
3346
3346
  }, {
3347
- description: string;
3348
- template: string;
3349
3347
  evidence: {
3350
3348
  success: boolean;
3351
3349
  stdout: string;
@@ -3363,19 +3361,21 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3363
3361
  selector: {
3364
3362
  store?: string | undefined;
3365
3363
  };
3364
+ contractError?: string | undefined;
3366
3365
  root?: z.objectInputType<{
3367
3366
  path: z.ZodString;
3368
3367
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3369
3368
  store_id: z.ZodOptional<z.ZodString>;
3370
3369
  }, z.ZodTypeAny, "passthrough"> | undefined;
3371
- contractError?: string | undefined;
3372
3370
  } & {
3373
3371
  [k: string]: unknown;
3374
3372
  };
3373
+ artifactId: string;
3374
+ outputPath: string;
3375
+ description: string;
3376
+ template: string;
3375
3377
  changeName: string;
3376
3378
  schemaName: string;
3377
- outputPath: string;
3378
- artifactId: string;
3379
3379
  changeDir: string;
3380
3380
  dependencies: {
3381
3381
  path: string;
@@ -3385,9 +3385,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3385
3385
  skipped?: boolean | undefined;
3386
3386
  }[];
3387
3387
  unlocks: string[];
3388
- context?: string | null | undefined;
3389
- instruction?: string | null | undefined;
3390
- rules?: string[] | null | undefined;
3391
3388
  references?: z.objectInputType<{
3392
3389
  store_id: z.ZodString;
3393
3390
  root: z.ZodOptional<z.ZodString>;
@@ -3423,6 +3420,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3423
3420
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3424
3421
  fetch: z.ZodOptional<z.ZodString>;
3425
3422
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3423
+ context?: string | null | undefined;
3424
+ instruction?: string | null | undefined;
3425
+ rules?: string[] | null | undefined;
3426
3426
  }>;
3427
3427
  type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
3428
3428
  /** CLI-owned Schema list item projected by OPSX. */