@openspecui/core 9.0.3 → 10.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 (50) hide show
  1. package/dist/{active-root-config-CDH9K5lV.d.mts → active-root-config-N3lOotoq.d.mts} +15 -15
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +16 -16
  4. package/dist/{cli-projection-C1ZYzYMm.d.mts → cli-projection-bB650ru4.d.mts} +1 -1
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{workflow-CmQ4pFYC.mjs → command-result-DWMmDl6I.mjs} +91 -80
  7. package/dist/{dashboard-summary-transport-Bys0g-UT.d.mts → dashboard-summary-transport-DcyVID8z.d.mts} +3045 -2948
  8. package/dist/dashboard-summary-transport.d.mts +17 -17
  9. package/dist/{document-translation-CBqubtWC.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
  10. package/dist/document-translation.d.mts +1 -1
  11. package/dist/hosted-app.d.mts +17 -17
  12. package/dist/hosted-contract.d.mts +17 -17
  13. package/dist/{index-C7jJcSdH.d.mts → index-CW5hcqKC.d.mts} +12277 -7316
  14. package/dist/index.d.mts +18 -18
  15. package/dist/index.mjs +385 -138
  16. package/dist/{local-download-profiles-CyAhZwxA.d.mts → local-download-profiles-DXmw0Zs3.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/{notifications-Be5ltQeN.d.mts → notifications-BQhnmovr.d.mts} +17 -17
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/{openspec-compat-DidEO359.mjs → openspec-compat-DctIDxRM.mjs} +23 -17
  21. package/dist/openspec-compat.d.mts +4 -76
  22. package/dist/openspec-compat.mjs +2 -2
  23. package/dist/{openspec-projection-Bymnjuf9.d.mts → openspec-projection-FKuNsfBp.d.mts} +1 -1
  24. package/dist/openspec-projection.d.mts +2 -2
  25. package/dist/{opsx-entity-NFWGsreJ.d.mts → opsx-entity-CulylXeK.d.mts} +2 -2
  26. package/dist/opsx-entity.d.mts +7 -7
  27. package/dist/{opsx-schema-detail-ChaSoC8S.d.mts → opsx-schema-detail-C9kNWQmO.d.mts} +2 -2
  28. package/dist/opsx-schema-detail.d.mts +8 -8
  29. package/dist/{opsx-types-C2lUEACZ.d.mts → opsx-types-BeQJ4Le_.d.mts} +124 -124
  30. package/dist/{planning-cli-projection-BTkiQ7PG.mjs → planning-cli-projection-pq8vZC1r.mjs} +2 -2
  31. package/dist/planning-cli-projection.d.mts +17 -17
  32. package/dist/planning-cli-projection.mjs +3 -3
  33. package/dist/{schemas-BG7Tcs8J.d.mts → schemas-BIaPbul1.d.mts} +117 -117
  34. package/dist/{sounds-DdPTMYMa.d.mts → sounds-CxSkCgKh.d.mts} +8 -8
  35. package/dist/sounds.d.mts +1 -1
  36. package/dist/{spec-catalog-Ce3uSLSc.mjs → spec-catalog-BkX0tZp9.mjs} +149 -2
  37. package/dist/spec-catalog.d.mts +17 -17
  38. package/dist/spec-catalog.mjs +2 -2
  39. package/dist/{store-types-X35XKl10.d.mts → store-types-TDbmbvPx.d.mts} +1 -1
  40. package/dist/store-types.d.mts +5 -5
  41. package/dist/task-progress.d.mts +6 -6
  42. package/dist/{terminal-audio-Csuw114f.d.mts → terminal-audio-R-3VBy0x.d.mts} +1 -1
  43. package/dist/terminal-audio.d.mts +2 -2
  44. package/dist/terminal-control.d.mts +2 -2
  45. package/dist/{terminal-invocation-C5AN93a9.d.mts → terminal-invocation-C8mSioBZ.d.mts} +93 -93
  46. package/dist/terminal-invocation.d.mts +1 -1
  47. package/dist/{translator-4wvacuAX.d.mts → translator-CVkc7MHh.d.mts} +31 -31
  48. package/dist/translator.d.mts +1 -1
  49. package/dist/workspace-directory-catalog.d.mts +2 -2
  50. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
- import { Y as CliJsonValue } from "./index-C7jJcSdH.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-BG7Tcs8J.mjs";
1
+ import { vt as CliJsonValue } from "./index-CW5hcqKC.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-BIaPbul1.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -406,15 +406,15 @@ 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";
410
409
  id: string;
410
+ status: "ready" | "done" | "skipped" | "blocked";
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";
417
416
  id: string;
417
+ status: "ready" | "done" | "skipped" | "blocked";
418
418
  outputPath: string;
419
419
  requires: string[];
420
420
  missingDeps?: string[] | undefined;
@@ -435,15 +435,15 @@ 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: "ready" | "done" | "skipped" | "blocked";
439
438
  id: string;
439
+ status: "ready" | "done" | "skipped" | "blocked";
440
440
  outputPath: string;
441
441
  requires: string[];
442
442
  missingDeps?: string[] | undefined;
443
443
  relativePath?: string | undefined;
444
444
  }, {
445
- status: "ready" | "done" | "skipped" | "blocked";
446
445
  id: string;
446
+ status: "ready" | "done" | "skipped" | "blocked";
447
447
  outputPath: string;
448
448
  requires: string[];
449
449
  missingDeps?: string[] | undefined;
@@ -693,6 +693,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
693
693
  [k: string]: unknown;
694
694
  };
695
695
  evidence: {
696
+ command: "status";
696
697
  success: boolean;
697
698
  stdout: string;
698
699
  stderr: string;
@@ -705,16 +706,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
705
706
  target: z.ZodOptional<z.ZodString>;
706
707
  fix: z.ZodOptional<z.ZodString>;
707
708
  }, z.ZodTypeAny, "passthrough">[];
708
- command: "status";
709
709
  selector: {
710
710
  store?: string | undefined;
711
711
  };
712
- contractError?: string | undefined;
713
712
  root?: z.objectOutputType<{
714
713
  path: z.ZodString;
715
714
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
716
715
  store_id: z.ZodOptional<z.ZodString>;
717
716
  }, z.ZodTypeAny, "passthrough"> | undefined;
717
+ contractError?: string | undefined;
718
718
  } & {
719
719
  [k: string]: unknown;
720
720
  };
@@ -756,6 +756,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
756
756
  [k: string]: unknown;
757
757
  };
758
758
  evidence: {
759
+ command: "status";
759
760
  success: boolean;
760
761
  stdout: string;
761
762
  stderr: string;
@@ -768,16 +769,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
768
769
  target: z.ZodOptional<z.ZodString>;
769
770
  fix: z.ZodOptional<z.ZodString>;
770
771
  }, z.ZodTypeAny, "passthrough">[];
771
- command: "status";
772
772
  selector: {
773
773
  store?: string | undefined;
774
774
  };
775
- contractError?: string | undefined;
776
775
  root?: z.objectInputType<{
777
776
  path: z.ZodString;
778
777
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
779
778
  store_id: z.ZodOptional<z.ZodString>;
780
779
  }, z.ZodTypeAny, "passthrough"> | undefined;
780
+ contractError?: string | undefined;
781
781
  } & {
782
782
  [k: string]: unknown;
783
783
  };
@@ -822,8 +822,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
822
822
  isPlanningComplete: boolean;
823
823
  applyRequires: string[];
824
824
  artifacts: {
825
- status: "ready" | "done" | "skipped" | "blocked";
826
825
  id: string;
826
+ status: "ready" | "done" | "skipped" | "blocked";
827
827
  outputPath: string;
828
828
  requires: string[];
829
829
  missingDeps?: string[] | undefined;
@@ -839,6 +839,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
839
839
  [k: string]: unknown;
840
840
  };
841
841
  evidence: {
842
+ command: "status";
842
843
  success: boolean;
843
844
  stdout: string;
844
845
  stderr: string;
@@ -851,16 +852,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
851
852
  target: z.ZodOptional<z.ZodString>;
852
853
  fix: z.ZodOptional<z.ZodString>;
853
854
  }, z.ZodTypeAny, "passthrough">[];
854
- command: "status";
855
855
  selector: {
856
856
  store?: string | undefined;
857
857
  };
858
- contractError?: string | undefined;
859
858
  root?: z.objectOutputType<{
860
859
  path: z.ZodString;
861
860
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
862
861
  store_id: z.ZodOptional<z.ZodString>;
863
862
  }, z.ZodTypeAny, "passthrough"> | undefined;
863
+ contractError?: string | undefined;
864
864
  } & {
865
865
  [k: string]: unknown;
866
866
  };
@@ -901,8 +901,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
901
901
  isPlanningComplete: boolean;
902
902
  applyRequires: string[];
903
903
  artifacts: {
904
- status: "ready" | "done" | "skipped" | "blocked";
905
904
  id: string;
905
+ status: "ready" | "done" | "skipped" | "blocked";
906
906
  outputPath: string;
907
907
  requires: string[];
908
908
  missingDeps?: string[] | undefined;
@@ -918,6 +918,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
918
918
  [k: string]: unknown;
919
919
  };
920
920
  evidence: {
921
+ command: "status";
921
922
  success: boolean;
922
923
  stdout: string;
923
924
  stderr: string;
@@ -930,16 +931,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
930
931
  target: z.ZodOptional<z.ZodString>;
931
932
  fix: z.ZodOptional<z.ZodString>;
932
933
  }, z.ZodTypeAny, "passthrough">[];
933
- command: "status";
934
934
  selector: {
935
935
  store?: string | undefined;
936
936
  };
937
- contractError?: string | undefined;
938
937
  root?: z.objectInputType<{
939
938
  path: z.ZodString;
940
939
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
941
940
  store_id: z.ZodOptional<z.ZodString>;
942
941
  }, z.ZodTypeAny, "passthrough"> | undefined;
942
+ contractError?: string | undefined;
943
943
  } & {
944
944
  [k: string]: unknown;
945
945
  };
@@ -983,14 +983,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
983
983
  description: z.ZodString;
984
984
  skipped: z.ZodOptional<z.ZodBoolean>;
985
985
  }, "strip", z.ZodTypeAny, {
986
- path: string;
987
986
  id: string;
987
+ path: string;
988
988
  description: string;
989
989
  done: boolean;
990
990
  skipped?: boolean | undefined;
991
991
  }, {
992
- path: string;
993
992
  id: string;
993
+ path: string;
994
994
  description: string;
995
995
  done: boolean;
996
996
  skipped?: boolean | undefined;
@@ -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;
1315
1314
  total: number;
1316
1315
  remaining: number;
1316
+ completed: number;
1317
1317
  phase: "no-tasks" | "complete" | "in-progress";
1318
1318
  }, {
1319
- completed: number;
1320
1319
  total: number;
1321
1320
  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;
1334
1333
  total: number;
1335
1334
  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;
1348
1347
  total: number;
1349
1348
  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";
1354
1355
  state: "ready" | "blocked" | "all_done";
1355
1356
  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;
1369
1368
  total: number;
1370
1369
  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";
1375
1376
  state: "ready" | "blocked" | "all_done";
1376
1377
  complete: number;
1377
- source: "openspec-instructions-apply";
1378
1378
  total: number;
1379
1379
  remaining: number;
1380
1380
  divergence: {
@@ -1386,15 +1386,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1386
1386
  remaining: number;
1387
1387
  };
1388
1388
  tracked: {
1389
- completed: number;
1390
1389
  total: number;
1391
1390
  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
1397
  evidence: {
1398
+ command: "instructions apply";
1398
1399
  success: boolean;
1399
1400
  stdout: string;
1400
1401
  stderr: string;
@@ -1407,34 +1408,33 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1407
1408
  target: z.ZodOptional<z.ZodString>;
1408
1409
  fix: z.ZodOptional<z.ZodString>;
1409
1410
  }, z.ZodTypeAny, "passthrough">[];
1410
- command: "instructions apply";
1411
1411
  selector: {
1412
1412
  store?: string | undefined;
1413
1413
  };
1414
- contractError?: string | undefined;
1415
1414
  root?: z.objectOutputType<{
1416
1415
  path: z.ZodString;
1417
1416
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1418
1417
  store_id: z.ZodOptional<z.ZodString>;
1419
1418
  }, z.ZodTypeAny, "passthrough"> | undefined;
1419
+ contractError?: string | undefined;
1420
1420
  } & {
1421
1421
  [k: string]: unknown;
1422
1422
  };
1423
1423
  state: "ready" | "blocked" | "all_done";
1424
- tasks: {
1425
- id: string;
1426
- description: string;
1427
- done: boolean;
1428
- }[];
1429
1424
  changeName: string;
1430
1425
  schemaName: string;
1431
1426
  changeDir: string;
1432
1427
  instruction: string;
1433
1428
  contextFiles: Record<string, string[]>;
1429
+ tasks: {
1430
+ id: string;
1431
+ description: string;
1432
+ done: boolean;
1433
+ }[];
1434
1434
  applyInstructionProgress: {
1435
+ source: "openspec-instructions-apply";
1435
1436
  state: "ready" | "blocked" | "all_done";
1436
1437
  complete: number;
1437
- source: "openspec-instructions-apply";
1438
1438
  total: number;
1439
1439
  remaining: number;
1440
1440
  divergence: {
@@ -1446,9 +1446,9 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1446
1446
  remaining: number;
1447
1447
  };
1448
1448
  tracked: {
1449
- completed: number;
1450
1449
  total: number;
1451
1450
  remaining: number;
1451
+ completed: number;
1452
1452
  phase: "no-tasks" | "complete" | "in-progress";
1453
1453
  };
1454
1454
  } | null;
@@ -1493,6 +1493,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1493
1493
  operationGuidance?: string[] | undefined;
1494
1494
  }, {
1495
1495
  evidence: {
1496
+ command: "instructions apply";
1496
1497
  success: boolean;
1497
1498
  stdout: string;
1498
1499
  stderr: string;
@@ -1505,34 +1506,33 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1505
1506
  target: z.ZodOptional<z.ZodString>;
1506
1507
  fix: z.ZodOptional<z.ZodString>;
1507
1508
  }, z.ZodTypeAny, "passthrough">[];
1508
- command: "instructions apply";
1509
1509
  selector: {
1510
1510
  store?: string | undefined;
1511
1511
  };
1512
- contractError?: string | undefined;
1513
1512
  root?: z.objectInputType<{
1514
1513
  path: z.ZodString;
1515
1514
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1516
1515
  store_id: z.ZodOptional<z.ZodString>;
1517
1516
  }, z.ZodTypeAny, "passthrough"> | undefined;
1517
+ contractError?: string | undefined;
1518
1518
  } & {
1519
1519
  [k: string]: unknown;
1520
1520
  };
1521
1521
  state: "ready" | "blocked" | "all_done";
1522
- tasks: {
1523
- id: string;
1524
- description: string;
1525
- done: boolean;
1526
- }[];
1527
1522
  changeName: string;
1528
1523
  schemaName: string;
1529
1524
  changeDir: string;
1530
1525
  instruction: string;
1531
1526
  contextFiles: Record<string, string | string[]>;
1527
+ tasks: {
1528
+ id: string;
1529
+ description: string;
1530
+ done: boolean;
1531
+ }[];
1532
1532
  applyInstructionProgress: {
1533
+ source: "openspec-instructions-apply";
1533
1534
  state: "ready" | "blocked" | "all_done";
1534
1535
  complete: number;
1535
- source: "openspec-instructions-apply";
1536
1536
  total: number;
1537
1537
  remaining: number;
1538
1538
  divergence: {
@@ -1544,9 +1544,9 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1544
1544
  remaining: number;
1545
1545
  };
1546
1546
  tracked: {
1547
- completed: number;
1548
1547
  total: number;
1549
1548
  remaining: number;
1549
+ completed: number;
1550
1550
  phase: "no-tasks" | "complete" | "in-progress";
1551
1551
  };
1552
1552
  } | null;
@@ -1876,6 +1876,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1876
1876
  }, z.ZodTypeAny, "passthrough">>;
1877
1877
  }, "strip", z.ZodTypeAny, {
1878
1878
  evidence: {
1879
+ command: "instructions apply";
1879
1880
  success: boolean;
1880
1881
  stdout: string;
1881
1882
  stderr: string;
@@ -1888,25 +1889,19 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1888
1889
  target: z.ZodOptional<z.ZodString>;
1889
1890
  fix: z.ZodOptional<z.ZodString>;
1890
1891
  }, z.ZodTypeAny, "passthrough">[];
1891
- command: "instructions apply";
1892
1892
  selector: {
1893
1893
  store?: string | undefined;
1894
1894
  };
1895
- contractError?: string | undefined;
1896
1895
  root?: z.objectOutputType<{
1897
1896
  path: z.ZodString;
1898
1897
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1899
1898
  store_id: z.ZodOptional<z.ZodString>;
1900
1899
  }, z.ZodTypeAny, "passthrough"> | undefined;
1900
+ contractError?: string | undefined;
1901
1901
  } & {
1902
1902
  [k: string]: unknown;
1903
1903
  };
1904
1904
  state: "ready" | "blocked" | "all_done";
1905
- tasks: {
1906
- id: string;
1907
- description: string;
1908
- done: boolean;
1909
- }[];
1910
1905
  progress: {
1911
1906
  complete: number;
1912
1907
  total: number;
@@ -1917,6 +1912,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1917
1912
  changeDir: string;
1918
1913
  instruction: string;
1919
1914
  contextFiles: Record<string, string[]>;
1915
+ tasks: {
1916
+ id: string;
1917
+ description: string;
1918
+ done: boolean;
1919
+ }[];
1920
1920
  references?: z.objectOutputType<{
1921
1921
  store_id: z.ZodString;
1922
1922
  root: z.ZodOptional<z.ZodString>;
@@ -1957,6 +1957,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1957
1957
  operationGuidance?: string[] | undefined;
1958
1958
  }, {
1959
1959
  evidence: {
1960
+ command: "instructions apply";
1960
1961
  success: boolean;
1961
1962
  stdout: string;
1962
1963
  stderr: string;
@@ -1969,25 +1970,19 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1969
1970
  target: z.ZodOptional<z.ZodString>;
1970
1971
  fix: z.ZodOptional<z.ZodString>;
1971
1972
  }, z.ZodTypeAny, "passthrough">[];
1972
- command: "instructions apply";
1973
1973
  selector: {
1974
1974
  store?: string | undefined;
1975
1975
  };
1976
- contractError?: string | undefined;
1977
1976
  root?: z.objectInputType<{
1978
1977
  path: z.ZodString;
1979
1978
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1980
1979
  store_id: z.ZodOptional<z.ZodString>;
1981
1980
  }, z.ZodTypeAny, "passthrough"> | undefined;
1981
+ contractError?: string | undefined;
1982
1982
  } & {
1983
1983
  [k: string]: unknown;
1984
1984
  };
1985
1985
  state: "ready" | "blocked" | "all_done";
1986
- tasks: {
1987
- id: string;
1988
- description: string;
1989
- done: boolean;
1990
- }[];
1991
1986
  progress: {
1992
1987
  complete: number;
1993
1988
  total: number;
@@ -1998,6 +1993,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1998
1993
  changeDir: string;
1999
1994
  instruction: string;
2000
1995
  contextFiles: Record<string, string | string[]>;
1996
+ tasks: {
1997
+ id: string;
1998
+ description: string;
1999
+ done: boolean;
2000
+ }[];
2001
2001
  references?: z.objectInputType<{
2002
2002
  store_id: z.ZodString;
2003
2003
  root: z.ZodOptional<z.ZodString>;
@@ -2039,6 +2039,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2039
2039
  }>, {
2040
2040
  applyInstructionProgress: ApplyInstructionProgress;
2041
2041
  evidence: {
2042
+ command: "instructions apply";
2042
2043
  success: boolean;
2043
2044
  stdout: string;
2044
2045
  stderr: string;
@@ -2051,30 +2052,29 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2051
2052
  target: z.ZodOptional<z.ZodString>;
2052
2053
  fix: z.ZodOptional<z.ZodString>;
2053
2054
  }, z.ZodTypeAny, "passthrough">[];
2054
- command: "instructions apply";
2055
2055
  selector: {
2056
2056
  store?: string | undefined;
2057
2057
  };
2058
- contractError?: string | undefined;
2059
2058
  root?: z.objectOutputType<{
2060
2059
  path: z.ZodString;
2061
2060
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2062
2061
  store_id: z.ZodOptional<z.ZodString>;
2063
2062
  }, z.ZodTypeAny, "passthrough"> | undefined;
2063
+ contractError?: string | undefined;
2064
2064
  } & {
2065
2065
  [k: string]: unknown;
2066
2066
  };
2067
2067
  state: "ready" | "blocked" | "all_done";
2068
- tasks: {
2069
- id: string;
2070
- description: string;
2071
- done: boolean;
2072
- }[];
2073
2068
  changeName: string;
2074
2069
  schemaName: string;
2075
2070
  changeDir: string;
2076
2071
  instruction: string;
2077
2072
  contextFiles: Record<string, string[]>;
2073
+ tasks: {
2074
+ id: string;
2075
+ description: string;
2076
+ done: boolean;
2077
+ }[];
2078
2078
  references?: z.objectOutputType<{
2079
2079
  store_id: z.ZodString;
2080
2080
  root: z.ZodOptional<z.ZodString>;
@@ -2115,6 +2115,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2115
2115
  operationGuidance?: string[] | undefined;
2116
2116
  }, {
2117
2117
  evidence: {
2118
+ command: "instructions apply";
2118
2119
  success: boolean;
2119
2120
  stdout: string;
2120
2121
  stderr: string;
@@ -2127,25 +2128,19 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2127
2128
  target: z.ZodOptional<z.ZodString>;
2128
2129
  fix: z.ZodOptional<z.ZodString>;
2129
2130
  }, z.ZodTypeAny, "passthrough">[];
2130
- command: "instructions apply";
2131
2131
  selector: {
2132
2132
  store?: string | undefined;
2133
2133
  };
2134
- contractError?: string | undefined;
2135
2134
  root?: z.objectInputType<{
2136
2135
  path: z.ZodString;
2137
2136
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2138
2137
  store_id: z.ZodOptional<z.ZodString>;
2139
2138
  }, z.ZodTypeAny, "passthrough"> | undefined;
2139
+ contractError?: string | undefined;
2140
2140
  } & {
2141
2141
  [k: string]: unknown;
2142
2142
  };
2143
2143
  state: "ready" | "blocked" | "all_done";
2144
- tasks: {
2145
- id: string;
2146
- description: string;
2147
- done: boolean;
2148
- }[];
2149
2144
  progress: {
2150
2145
  complete: number;
2151
2146
  total: number;
@@ -2156,6 +2151,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2156
2151
  changeDir: string;
2157
2152
  instruction: string;
2158
2153
  contextFiles: Record<string, string | string[]>;
2154
+ tasks: {
2155
+ id: string;
2156
+ description: string;
2157
+ done: boolean;
2158
+ }[];
2159
2159
  references?: z.objectInputType<{
2160
2160
  store_id: z.ZodString;
2161
2161
  root: z.ZodOptional<z.ZodString>;
@@ -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;
2497
2496
  total: number;
2498
2497
  remaining: number;
2498
+ completed: number;
2499
2499
  phase: "no-tasks" | "complete" | "in-progress";
2500
2500
  }, {
2501
- completed: number;
2502
2501
  total: number;
2503
2502
  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;
2516
2515
  total: number;
2517
2516
  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;
2530
2529
  total: number;
2531
2530
  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";
2536
2537
  state: "ready" | "blocked" | "all_done";
2537
2538
  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;
2551
2550
  total: number;
2552
2551
  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";
2557
2558
  state: "ready" | "blocked" | "all_done";
2558
2559
  complete: number;
2559
- source: "openspec-instructions-apply";
2560
2560
  total: number;
2561
2561
  remaining: number;
2562
2562
  divergence: {
@@ -2568,15 +2568,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2568
2568
  remaining: number;
2569
2569
  };
2570
2570
  tracked: {
2571
- completed: number;
2572
2571
  total: number;
2573
2572
  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
2579
  evidence: {
2580
+ command: "instructions apply";
2580
2581
  success: boolean;
2581
2582
  stdout: string;
2582
2583
  stderr: string;
@@ -2589,34 +2590,33 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2589
2590
  target: z.ZodOptional<z.ZodString>;
2590
2591
  fix: z.ZodOptional<z.ZodString>;
2591
2592
  }, z.ZodTypeAny, "passthrough">[];
2592
- command: "instructions apply";
2593
2593
  selector: {
2594
2594
  store?: string | undefined;
2595
2595
  };
2596
- contractError?: string | undefined;
2597
2596
  root?: z.objectOutputType<{
2598
2597
  path: z.ZodString;
2599
2598
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2600
2599
  store_id: z.ZodOptional<z.ZodString>;
2601
2600
  }, z.ZodTypeAny, "passthrough"> | undefined;
2601
+ contractError?: string | undefined;
2602
2602
  } & {
2603
2603
  [k: string]: unknown;
2604
2604
  };
2605
2605
  state: "ready" | "blocked" | "all_done";
2606
- tasks: {
2607
- id: string;
2608
- description: string;
2609
- done: boolean;
2610
- }[];
2611
2606
  changeName: string;
2612
2607
  schemaName: string;
2613
2608
  changeDir: string;
2614
2609
  instruction: string;
2615
2610
  contextFiles: Record<string, string[]>;
2611
+ tasks: {
2612
+ id: string;
2613
+ description: string;
2614
+ done: boolean;
2615
+ }[];
2616
2616
  applyInstructionProgress: {
2617
+ source: "openspec-instructions-apply";
2617
2618
  state: "ready" | "blocked" | "all_done";
2618
2619
  complete: number;
2619
- source: "openspec-instructions-apply";
2620
2620
  total: number;
2621
2621
  remaining: number;
2622
2622
  divergence: {
@@ -2628,9 +2628,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2628
2628
  remaining: number;
2629
2629
  };
2630
2630
  tracked: {
2631
- completed: number;
2632
2631
  total: number;
2633
2632
  remaining: number;
2633
+ completed: number;
2634
2634
  phase: "no-tasks" | "complete" | "in-progress";
2635
2635
  };
2636
2636
  } | null;
@@ -2675,6 +2675,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2675
2675
  operationGuidance?: string[] | undefined;
2676
2676
  }, {
2677
2677
  evidence: {
2678
+ command: "instructions apply";
2678
2679
  success: boolean;
2679
2680
  stdout: string;
2680
2681
  stderr: string;
@@ -2687,34 +2688,33 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2687
2688
  target: z.ZodOptional<z.ZodString>;
2688
2689
  fix: z.ZodOptional<z.ZodString>;
2689
2690
  }, z.ZodTypeAny, "passthrough">[];
2690
- command: "instructions apply";
2691
2691
  selector: {
2692
2692
  store?: string | undefined;
2693
2693
  };
2694
- contractError?: string | undefined;
2695
2694
  root?: z.objectInputType<{
2696
2695
  path: z.ZodString;
2697
2696
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2698
2697
  store_id: z.ZodOptional<z.ZodString>;
2699
2698
  }, z.ZodTypeAny, "passthrough"> | undefined;
2699
+ contractError?: string | undefined;
2700
2700
  } & {
2701
2701
  [k: string]: unknown;
2702
2702
  };
2703
2703
  state: "ready" | "blocked" | "all_done";
2704
- tasks: {
2705
- id: string;
2706
- description: string;
2707
- done: boolean;
2708
- }[];
2709
2704
  changeName: string;
2710
2705
  schemaName: string;
2711
2706
  changeDir: string;
2712
2707
  instruction: string;
2713
2708
  contextFiles: Record<string, string | string[]>;
2709
+ tasks: {
2710
+ id: string;
2711
+ description: string;
2712
+ done: boolean;
2713
+ }[];
2714
2714
  applyInstructionProgress: {
2715
+ source: "openspec-instructions-apply";
2715
2716
  state: "ready" | "blocked" | "all_done";
2716
2717
  complete: number;
2717
- source: "openspec-instructions-apply";
2718
2718
  total: number;
2719
2719
  remaining: number;
2720
2720
  divergence: {
@@ -2726,9 +2726,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2726
2726
  remaining: number;
2727
2727
  };
2728
2728
  tracked: {
2729
- completed: number;
2730
2729
  total: number;
2731
2730
  remaining: number;
2731
+ completed: number;
2732
2732
  phase: "no-tasks" | "complete" | "in-progress";
2733
2733
  };
2734
2734
  } | null;
@@ -2924,6 +2924,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2924
2924
  }, z.ZodTypeAny, "passthrough">>;
2925
2925
  }, "strip", z.ZodTypeAny, {
2926
2926
  evidence: {
2927
+ command: "instructions archive";
2927
2928
  success: boolean;
2928
2929
  stdout: string;
2929
2930
  stderr: string;
@@ -2936,16 +2937,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2936
2937
  target: z.ZodOptional<z.ZodString>;
2937
2938
  fix: z.ZodOptional<z.ZodString>;
2938
2939
  }, z.ZodTypeAny, "passthrough">[];
2939
- command: "instructions archive";
2940
2940
  selector: {
2941
2941
  store?: string | undefined;
2942
2942
  };
2943
- contractError?: string | undefined;
2944
2943
  root?: z.objectOutputType<{
2945
2944
  path: z.ZodString;
2946
2945
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2947
2946
  store_id: z.ZodOptional<z.ZodString>;
2948
2947
  }, z.ZodTypeAny, "passthrough"> | undefined;
2948
+ contractError?: string | undefined;
2949
2949
  } & {
2950
2950
  [k: string]: unknown;
2951
2951
  };
@@ -2954,6 +2954,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2954
2954
  operationGuidance?: string[] | undefined;
2955
2955
  }, {
2956
2956
  evidence: {
2957
+ command: "instructions archive";
2957
2958
  success: boolean;
2958
2959
  stdout: string;
2959
2960
  stderr: string;
@@ -2966,16 +2967,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2966
2967
  target: z.ZodOptional<z.ZodString>;
2967
2968
  fix: z.ZodOptional<z.ZodString>;
2968
2969
  }, z.ZodTypeAny, "passthrough">[];
2969
- command: "instructions archive";
2970
2970
  selector: {
2971
2971
  store?: string | undefined;
2972
2972
  };
2973
- contractError?: string | undefined;
2974
2973
  root?: z.objectInputType<{
2975
2974
  path: z.ZodString;
2976
2975
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2977
2976
  store_id: z.ZodOptional<z.ZodString>;
2978
2977
  }, z.ZodTypeAny, "passthrough"> | undefined;
2978
+ contractError?: string | undefined;
2979
2979
  } & {
2980
2980
  [k: string]: unknown;
2981
2981
  };
@@ -3002,14 +3002,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3002
3002
  description: z.ZodString;
3003
3003
  skipped: z.ZodOptional<z.ZodBoolean>;
3004
3004
  }, "strip", z.ZodTypeAny, {
3005
- path: string;
3006
3005
  id: string;
3006
+ path: string;
3007
3007
  description: string;
3008
3008
  done: boolean;
3009
3009
  skipped?: boolean | undefined;
3010
3010
  }, {
3011
- path: string;
3012
3011
  id: string;
3012
+ path: string;
3013
3013
  description: string;
3014
3014
  done: boolean;
3015
3015
  skipped?: boolean | undefined;
@@ -3264,7 +3264,10 @@ 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;
3267
3269
  evidence: {
3270
+ command: "instructions";
3268
3271
  success: boolean;
3269
3272
  stdout: string;
3270
3273
  stderr: string;
@@ -3277,29 +3280,26 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3277
3280
  target: z.ZodOptional<z.ZodString>;
3278
3281
  fix: z.ZodOptional<z.ZodString>;
3279
3282
  }, z.ZodTypeAny, "passthrough">[];
3280
- command: "instructions";
3281
3283
  selector: {
3282
3284
  store?: string | undefined;
3283
3285
  };
3284
- contractError?: string | undefined;
3285
3286
  root?: z.objectOutputType<{
3286
3287
  path: z.ZodString;
3287
3288
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3288
3289
  store_id: z.ZodOptional<z.ZodString>;
3289
3290
  }, z.ZodTypeAny, "passthrough"> | undefined;
3291
+ contractError?: string | undefined;
3290
3292
  } & {
3291
3293
  [k: string]: unknown;
3292
3294
  };
3293
- artifactId: string;
3294
- outputPath: string;
3295
- description: string;
3296
- template: string;
3297
3295
  changeName: string;
3298
3296
  schemaName: string;
3297
+ outputPath: string;
3298
+ artifactId: string;
3299
3299
  changeDir: string;
3300
3300
  dependencies: {
3301
- path: string;
3302
3301
  id: string;
3302
+ path: string;
3303
3303
  description: string;
3304
3304
  done: boolean;
3305
3305
  skipped?: boolean | undefined;
@@ -3344,7 +3344,10 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3344
3344
  instruction?: string | null | undefined;
3345
3345
  rules?: string[] | null | undefined;
3346
3346
  }, {
3347
+ description: string;
3348
+ template: string;
3347
3349
  evidence: {
3350
+ command: "instructions";
3348
3351
  success: boolean;
3349
3352
  stdout: string;
3350
3353
  stderr: string;
@@ -3357,29 +3360,26 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3357
3360
  target: z.ZodOptional<z.ZodString>;
3358
3361
  fix: z.ZodOptional<z.ZodString>;
3359
3362
  }, z.ZodTypeAny, "passthrough">[];
3360
- command: "instructions";
3361
3363
  selector: {
3362
3364
  store?: string | undefined;
3363
3365
  };
3364
- contractError?: string | undefined;
3365
3366
  root?: z.objectInputType<{
3366
3367
  path: z.ZodString;
3367
3368
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3368
3369
  store_id: z.ZodOptional<z.ZodString>;
3369
3370
  }, z.ZodTypeAny, "passthrough"> | undefined;
3371
+ contractError?: string | undefined;
3370
3372
  } & {
3371
3373
  [k: string]: unknown;
3372
3374
  };
3373
- artifactId: string;
3374
- outputPath: string;
3375
- description: string;
3376
- template: string;
3377
3375
  changeName: string;
3378
3376
  schemaName: string;
3377
+ outputPath: string;
3378
+ artifactId: string;
3379
3379
  changeDir: string;
3380
3380
  dependencies: {
3381
- path: string;
3382
3381
  id: string;
3382
+ path: string;
3383
3383
  description: string;
3384
3384
  done: boolean;
3385
3385
  skipped?: boolean | undefined;
@@ -3593,8 +3593,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3593
3593
  template?: string | undefined;
3594
3594
  instruction?: string | undefined;
3595
3595
  }[];
3596
- version?: string | number | undefined;
3597
3596
  description?: string | undefined;
3597
+ version?: string | number | undefined;
3598
3598
  applyTracks?: string | undefined;
3599
3599
  applyInstruction?: string | undefined;
3600
3600
  }, {
@@ -3608,8 +3608,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3608
3608
  template?: string | undefined;
3609
3609
  instruction?: string | undefined;
3610
3610
  }[];
3611
- version?: string | number | undefined;
3612
3611
  description?: string | undefined;
3612
+ version?: string | number | undefined;
3613
3613
  applyTracks?: string | undefined;
3614
3614
  applyInstruction?: string | undefined;
3615
3615
  }>;
@@ -3672,8 +3672,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3672
3672
  template?: string | undefined;
3673
3673
  instruction?: string | undefined;
3674
3674
  }[];
3675
- version?: string | number | undefined;
3676
3675
  description?: string | undefined;
3676
+ version?: string | number | undefined;
3677
3677
  applyTracks?: string | undefined;
3678
3678
  applyInstruction?: string | undefined;
3679
3679
  }, {
@@ -3687,8 +3687,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3687
3687
  template?: string | undefined;
3688
3688
  instruction?: string | undefined;
3689
3689
  }[];
3690
- version?: string | number | undefined;
3691
3690
  description?: string | undefined;
3691
+ version?: string | number | undefined;
3692
3692
  applyTracks?: string | undefined;
3693
3693
  applyInstruction?: string | undefined;
3694
3694
  }>>>;
@@ -3777,8 +3777,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3777
3777
  template?: string | undefined;
3778
3778
  instruction?: string | undefined;
3779
3779
  }[];
3780
- version?: string | number | undefined;
3781
3780
  description?: string | undefined;
3781
+ version?: string | number | undefined;
3782
3782
  applyTracks?: string | undefined;
3783
3783
  applyInstruction?: string | undefined;
3784
3784
  } | null>;
@@ -3823,8 +3823,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3823
3823
  template?: string | undefined;
3824
3824
  instruction?: string | undefined;
3825
3825
  }[];
3826
- version?: string | number | undefined;
3827
3826
  description?: string | undefined;
3827
+ version?: string | number | undefined;
3828
3828
  applyTracks?: string | undefined;
3829
3829
  applyInstruction?: string | undefined;
3830
3830
  } | null>;