@openspecui/core 10.0.0 → 11.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 (44) hide show
  1. package/dist/{active-root-config-N3lOotoq.d.mts → active-root-config-B-ZjoeVr.d.mts} +9 -9
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +24 -24
  4. package/dist/{cli-projection-bB650ru4.d.mts → cli-projection-CpEtZ-tN.d.mts} +7 -7
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{dashboard-summary-transport-DcyVID8z.d.mts → dashboard-summary-transport-Cv-UaYcc.d.mts} +4972 -4972
  7. package/dist/dashboard-summary-transport.d.mts +18 -18
  8. package/dist/{document-translation-DM2eydNr.d.mts → document-translation-CGMD0RLA.d.mts} +2 -2
  9. package/dist/document-translation.d.mts +1 -1
  10. package/dist/hosted-app.d.mts +18 -18
  11. package/dist/hosted-contract.d.mts +18 -18
  12. package/dist/{index-CW5hcqKC.d.mts → index-BXSLb96t.d.mts} +10 -10
  13. package/dist/index.d.mts +18 -18
  14. package/dist/{local-download-profiles-DXmw0Zs3.d.mts → local-download-profiles-C9LmIa9_.d.mts} +1 -1
  15. package/dist/local-download-profiles.d.mts +2 -2
  16. package/dist/{notifications-BQhnmovr.d.mts → notifications-C_Dvqaej.d.mts} +17 -17
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/openspec-compat.d.mts +4 -4
  19. package/dist/{openspec-projection-FKuNsfBp.d.mts → openspec-projection-DTu73p25.d.mts} +1 -1
  20. package/dist/openspec-projection.d.mts +2 -2
  21. package/dist/{opsx-entity-CulylXeK.d.mts → opsx-entity-Cq5yqzjd.d.mts} +2 -2
  22. package/dist/opsx-entity.d.mts +7 -7
  23. package/dist/{opsx-schema-detail-C9kNWQmO.d.mts → opsx-schema-detail-DwKh5cRx.d.mts} +2 -2
  24. package/dist/opsx-schema-detail.d.mts +8 -8
  25. package/dist/{opsx-types-BeQJ4Le_.d.mts → opsx-types-Dxq7Yyjz.d.mts} +254 -254
  26. package/dist/planning-cli-projection.d.mts +18 -18
  27. package/dist/{schemas-BIaPbul1.d.mts → schemas-7hc46y5c.d.mts} +169 -169
  28. package/dist/{sounds-CxSkCgKh.d.mts → sounds-B0GiWqBN.d.mts} +8 -8
  29. package/dist/sounds.d.mts +1 -1
  30. package/dist/spec-catalog.d.mts +18 -18
  31. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-BriXl_0I.d.mts} +24 -24
  32. package/dist/store-mutation-protocol.d.mts +1 -1
  33. package/dist/{store-types-TDbmbvPx.d.mts → store-types-C4d1cqYC.d.mts} +1 -1
  34. package/dist/store-types.d.mts +5 -5
  35. package/dist/task-progress.d.mts +6 -6
  36. package/dist/{terminal-audio-R-3VBy0x.d.mts → terminal-audio-BpfUW_eB.d.mts} +1 -1
  37. package/dist/terminal-audio.d.mts +2 -2
  38. package/dist/terminal-control.d.mts +2 -2
  39. package/dist/{terminal-invocation-C8mSioBZ.d.mts → terminal-invocation-B2F24Dw6.d.mts} +137 -137
  40. package/dist/terminal-invocation.d.mts +1 -1
  41. package/dist/{translator-CVkc7MHh.d.mts → translator-CLbxLmcj.d.mts} +37 -37
  42. package/dist/translator.d.mts +1 -1
  43. package/dist/workspace-directory-catalog.d.mts +2 -2
  44. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { vt as CliJsonValue } from "./index-CW5hcqKC.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-BIaPbul1.mjs";
1
+ import { vt as CliJsonValue } from "./index-BXSLb96t.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-7hc46y5c.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: "done" | "skipped" | "ready" | "blocked";
409
410
  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: "done" | "skipped" | "ready" | "blocked";
416
417
  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: "done" | "skipped" | "ready" | "blocked";
438
439
  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: "done" | "skipped" | "ready" | "blocked";
445
446
  id: string;
446
- status: "ready" | "done" | "skipped" | "blocked";
447
447
  outputPath: string;
448
448
  requires: string[];
449
449
  missingDeps?: string[] | undefined;
@@ -692,32 +692,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
692
692
  } & {
693
693
  [k: string]: unknown;
694
694
  };
695
- evidence: {
696
- command: "status";
697
- success: boolean;
698
- stdout: string;
699
- stderr: string;
700
- exitCode: number | null;
701
- payload: CliJsonValue;
702
- diagnostics: z.objectOutputType<{
703
- severity: z.ZodEnum<["error", "warning", "info"]>;
704
- code: z.ZodString;
705
- message: z.ZodString;
706
- target: z.ZodOptional<z.ZodString>;
707
- fix: z.ZodOptional<z.ZodString>;
708
- }, z.ZodTypeAny, "passthrough">[];
709
- selector: {
710
- store?: string | undefined;
711
- };
712
- root?: z.objectOutputType<{
713
- path: z.ZodString;
714
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
715
- store_id: z.ZodOptional<z.ZodString>;
716
- }, z.ZodTypeAny, "passthrough"> | undefined;
717
- contractError?: string | undefined;
718
- } & {
719
- [k: string]: unknown;
720
- };
721
695
  planningHome: {
722
696
  kind: "repo";
723
697
  root: string;
@@ -746,38 +720,38 @@ declare const ChangeStatusSchema: z.ZodObject<{
746
720
  } & {
747
721
  [k: string]: unknown;
748
722
  };
749
- }, {
750
- kind: "cli";
751
- root: {
752
- path: string;
753
- source: "store" | "declared" | "nearest" | "global_default" | "implicit";
754
- store_id?: string | undefined;
755
- } & {
756
- [k: string]: unknown;
757
- };
758
723
  evidence: {
759
- command: "status";
760
724
  success: boolean;
761
725
  stdout: string;
762
726
  stderr: string;
763
727
  exitCode: number | null;
764
728
  payload: CliJsonValue;
765
- diagnostics: z.objectInputType<{
729
+ diagnostics: z.objectOutputType<{
766
730
  severity: z.ZodEnum<["error", "warning", "info"]>;
767
731
  code: z.ZodString;
768
732
  message: z.ZodString;
769
733
  target: z.ZodOptional<z.ZodString>;
770
734
  fix: z.ZodOptional<z.ZodString>;
771
735
  }, z.ZodTypeAny, "passthrough">[];
736
+ command: "status";
772
737
  selector: {
773
738
  store?: string | undefined;
774
739
  };
775
- root?: z.objectInputType<{
740
+ contractError?: string | undefined;
741
+ root?: z.objectOutputType<{
776
742
  path: z.ZodString;
777
743
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
778
744
  store_id: z.ZodOptional<z.ZodString>;
779
745
  }, z.ZodTypeAny, "passthrough"> | undefined;
780
- contractError?: string | undefined;
746
+ } & {
747
+ [k: string]: unknown;
748
+ };
749
+ }, {
750
+ kind: "cli";
751
+ root: {
752
+ path: string;
753
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
754
+ store_id?: string | undefined;
781
755
  } & {
782
756
  [k: string]: unknown;
783
757
  };
@@ -809,6 +783,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
809
783
  } & {
810
784
  [k: string]: unknown;
811
785
  };
786
+ evidence: {
787
+ success: boolean;
788
+ stdout: string;
789
+ stderr: string;
790
+ exitCode: number | null;
791
+ payload: CliJsonValue;
792
+ diagnostics: z.objectInputType<{
793
+ severity: z.ZodEnum<["error", "warning", "info"]>;
794
+ code: z.ZodString;
795
+ message: z.ZodString;
796
+ target: z.ZodOptional<z.ZodString>;
797
+ fix: z.ZodOptional<z.ZodString>;
798
+ }, z.ZodTypeAny, "passthrough">[];
799
+ command: "status";
800
+ selector: {
801
+ store?: string | undefined;
802
+ };
803
+ contractError?: string | undefined;
804
+ root?: z.objectInputType<{
805
+ path: z.ZodString;
806
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
807
+ store_id: z.ZodOptional<z.ZodString>;
808
+ }, z.ZodTypeAny, "passthrough"> | undefined;
809
+ } & {
810
+ [k: string]: unknown;
811
+ };
812
812
  }>, z.ZodObject<{
813
813
  kind: z.ZodLiteral<"static">;
814
814
  }, "strip", z.ZodTypeAny, {
@@ -822,8 +822,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
822
822
  isPlanningComplete: boolean;
823
823
  applyRequires: string[];
824
824
  artifacts: {
825
+ status: "done" | "skipped" | "ready" | "blocked";
825
826
  id: string;
826
- status: "ready" | "done" | "skipped" | "blocked";
827
827
  outputPath: string;
828
828
  requires: string[];
829
829
  missingDeps?: string[] | undefined;
@@ -838,32 +838,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
838
838
  } & {
839
839
  [k: string]: unknown;
840
840
  };
841
- evidence: {
842
- command: "status";
843
- success: boolean;
844
- stdout: string;
845
- stderr: string;
846
- exitCode: number | null;
847
- payload: CliJsonValue;
848
- diagnostics: z.objectOutputType<{
849
- severity: z.ZodEnum<["error", "warning", "info"]>;
850
- code: z.ZodString;
851
- message: z.ZodString;
852
- target: z.ZodOptional<z.ZodString>;
853
- fix: z.ZodOptional<z.ZodString>;
854
- }, z.ZodTypeAny, "passthrough">[];
855
- selector: {
856
- store?: string | undefined;
857
- };
858
- root?: z.objectOutputType<{
859
- path: z.ZodString;
860
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
861
- store_id: z.ZodOptional<z.ZodString>;
862
- }, z.ZodTypeAny, "passthrough"> | undefined;
863
- contractError?: string | undefined;
864
- } & {
865
- [k: string]: unknown;
866
- };
867
841
  planningHome: {
868
842
  kind: "repo";
869
843
  root: string;
@@ -892,6 +866,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
892
866
  } & {
893
867
  [k: string]: unknown;
894
868
  };
869
+ evidence: {
870
+ success: boolean;
871
+ stdout: string;
872
+ stderr: string;
873
+ exitCode: number | null;
874
+ payload: CliJsonValue;
875
+ diagnostics: z.objectOutputType<{
876
+ severity: z.ZodEnum<["error", "warning", "info"]>;
877
+ code: z.ZodString;
878
+ message: z.ZodString;
879
+ target: z.ZodOptional<z.ZodString>;
880
+ fix: z.ZodOptional<z.ZodString>;
881
+ }, z.ZodTypeAny, "passthrough">[];
882
+ command: "status";
883
+ selector: {
884
+ store?: string | undefined;
885
+ };
886
+ contractError?: string | undefined;
887
+ root?: z.objectOutputType<{
888
+ path: z.ZodString;
889
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
890
+ store_id: z.ZodOptional<z.ZodString>;
891
+ }, z.ZodTypeAny, "passthrough"> | undefined;
892
+ } & {
893
+ [k: string]: unknown;
894
+ };
895
895
  } | {
896
896
  kind: "static";
897
897
  };
@@ -901,8 +901,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
901
901
  isPlanningComplete: boolean;
902
902
  applyRequires: string[];
903
903
  artifacts: {
904
+ status: "done" | "skipped" | "ready" | "blocked";
904
905
  id: string;
905
- status: "ready" | "done" | "skipped" | "blocked";
906
906
  outputPath: string;
907
907
  requires: string[];
908
908
  missingDeps?: string[] | undefined;
@@ -917,32 +917,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
917
917
  } & {
918
918
  [k: string]: unknown;
919
919
  };
920
- evidence: {
921
- command: "status";
922
- success: boolean;
923
- stdout: string;
924
- stderr: string;
925
- exitCode: number | null;
926
- payload: CliJsonValue;
927
- diagnostics: z.objectInputType<{
928
- severity: z.ZodEnum<["error", "warning", "info"]>;
929
- code: z.ZodString;
930
- message: z.ZodString;
931
- target: z.ZodOptional<z.ZodString>;
932
- fix: z.ZodOptional<z.ZodString>;
933
- }, z.ZodTypeAny, "passthrough">[];
934
- selector: {
935
- store?: string | undefined;
936
- };
937
- root?: z.objectInputType<{
938
- path: z.ZodString;
939
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
940
- store_id: z.ZodOptional<z.ZodString>;
941
- }, z.ZodTypeAny, "passthrough"> | undefined;
942
- contractError?: string | undefined;
943
- } & {
944
- [k: string]: unknown;
945
- };
946
920
  planningHome: {
947
921
  kind: "repo";
948
922
  root: string;
@@ -971,6 +945,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
971
945
  } & {
972
946
  [k: string]: unknown;
973
947
  };
948
+ evidence: {
949
+ success: boolean;
950
+ stdout: string;
951
+ stderr: string;
952
+ exitCode: number | null;
953
+ payload: CliJsonValue;
954
+ diagnostics: z.objectInputType<{
955
+ severity: z.ZodEnum<["error", "warning", "info"]>;
956
+ code: z.ZodString;
957
+ message: z.ZodString;
958
+ target: z.ZodOptional<z.ZodString>;
959
+ fix: z.ZodOptional<z.ZodString>;
960
+ }, z.ZodTypeAny, "passthrough">[];
961
+ command: "status";
962
+ selector: {
963
+ store?: string | undefined;
964
+ };
965
+ contractError?: string | undefined;
966
+ root?: z.objectInputType<{
967
+ path: z.ZodString;
968
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
969
+ store_id: z.ZodOptional<z.ZodString>;
970
+ }, z.ZodTypeAny, "passthrough"> | undefined;
971
+ } & {
972
+ [k: string]: unknown;
973
+ };
974
974
  } | {
975
975
  kind: "static";
976
976
  };
@@ -983,16 +983,16 @@ declare const DependencyInfoSchema: z.ZodObject<{
983
983
  description: z.ZodString;
984
984
  skipped: z.ZodOptional<z.ZodBoolean>;
985
985
  }, "strip", z.ZodTypeAny, {
986
- id: string;
987
986
  path: string;
988
- description: string;
987
+ id: string;
989
988
  done: boolean;
989
+ description: string;
990
990
  skipped?: boolean | undefined;
991
991
  }, {
992
- id: string;
993
992
  path: string;
994
- description: string;
993
+ id: string;
995
994
  done: boolean;
995
+ description: string;
996
996
  skipped?: boolean | undefined;
997
997
  }>;
998
998
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
@@ -1002,12 +1002,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
1002
1002
  done: z.ZodBoolean;
1003
1003
  }, "strip", z.ZodTypeAny, {
1004
1004
  id: string;
1005
- description: string;
1006
1005
  done: boolean;
1006
+ description: string;
1007
1007
  }, {
1008
1008
  id: string;
1009
- description: string;
1010
1009
  done: boolean;
1010
+ description: string;
1011
1011
  }>;
1012
1012
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1013
1013
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1023,12 +1023,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1023
1023
  done: z.ZodBoolean;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
1025
  id: string;
1026
- description: string;
1027
1026
  done: boolean;
1027
+ description: string;
1028
1028
  }, {
1029
1029
  id: string;
1030
- description: string;
1031
1030
  done: boolean;
1031
+ description: string;
1032
1032
  }>, "many">;
1033
1033
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1034
1034
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -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
- message: string;
1326
1325
  kind: "tracked-task-mismatch";
1326
+ message: string;
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
- message: string;
1340
1339
  kind: "tracked-task-mismatch";
1340
+ message: string;
1341
1341
  apply: {
1342
1342
  complete: number;
1343
1343
  total: number;
@@ -1352,13 +1352,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1352
1352
  }>>;
1353
1353
  }, "strip", z.ZodTypeAny, {
1354
1354
  source: "openspec-instructions-apply";
1355
- state: "ready" | "blocked" | "all_done";
1356
1355
  complete: number;
1356
+ state: "ready" | "blocked" | "all_done";
1357
1357
  total: number;
1358
1358
  remaining: number;
1359
1359
  divergence: {
1360
- message: string;
1361
1360
  kind: "tracked-task-mismatch";
1361
+ message: string;
1362
1362
  apply: {
1363
1363
  complete: number;
1364
1364
  total: number;
@@ -1373,13 +1373,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1373
1373
  } | null;
1374
1374
  }, {
1375
1375
  source: "openspec-instructions-apply";
1376
- state: "ready" | "blocked" | "all_done";
1377
1376
  complete: number;
1377
+ state: "ready" | "blocked" | "all_done";
1378
1378
  total: number;
1379
1379
  remaining: number;
1380
1380
  divergence: {
1381
- message: string;
1382
1381
  kind: "tracked-task-mismatch";
1382
+ message: string;
1383
1383
  apply: {
1384
1384
  complete: number;
1385
1385
  total: number;
@@ -1394,8 +1394,9 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1394
1394
  } | null;
1395
1395
  }>;
1396
1396
  }, "strip", z.ZodTypeAny, {
1397
+ changeName: string;
1398
+ schemaName: string;
1397
1399
  evidence: {
1398
- command: "instructions apply";
1399
1400
  success: boolean;
1400
1401
  stdout: string;
1401
1402
  stderr: string;
@@ -1408,38 +1409,37 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1408
1409
  target: z.ZodOptional<z.ZodString>;
1409
1410
  fix: z.ZodOptional<z.ZodString>;
1410
1411
  }, z.ZodTypeAny, "passthrough">[];
1412
+ command: "instructions apply";
1411
1413
  selector: {
1412
1414
  store?: string | undefined;
1413
1415
  };
1416
+ contractError?: string | undefined;
1414
1417
  root?: z.objectOutputType<{
1415
1418
  path: z.ZodString;
1416
1419
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1417
1420
  store_id: z.ZodOptional<z.ZodString>;
1418
1421
  }, z.ZodTypeAny, "passthrough"> | undefined;
1419
- contractError?: string | undefined;
1420
1422
  } & {
1421
1423
  [k: string]: unknown;
1422
1424
  };
1423
- state: "ready" | "blocked" | "all_done";
1424
- changeName: string;
1425
- schemaName: string;
1426
1425
  changeDir: string;
1427
1426
  instruction: string;
1428
1427
  contextFiles: Record<string, string[]>;
1429
1428
  tasks: {
1430
1429
  id: string;
1431
- description: string;
1432
1430
  done: boolean;
1431
+ description: string;
1433
1432
  }[];
1433
+ state: "ready" | "blocked" | "all_done";
1434
1434
  applyInstructionProgress: {
1435
1435
  source: "openspec-instructions-apply";
1436
- state: "ready" | "blocked" | "all_done";
1437
1436
  complete: number;
1437
+ state: "ready" | "blocked" | "all_done";
1438
1438
  total: number;
1439
1439
  remaining: number;
1440
1440
  divergence: {
1441
- message: string;
1442
1441
  kind: "tracked-task-mismatch";
1442
+ message: string;
1443
1443
  apply: {
1444
1444
  complete: number;
1445
1445
  total: number;
@@ -1453,6 +1453,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1453
1453
  };
1454
1454
  } | null;
1455
1455
  };
1456
+ context?: string | undefined;
1456
1457
  references?: z.objectOutputType<{
1457
1458
  store_id: z.ZodString;
1458
1459
  root: z.ZodOptional<z.ZodString>;
@@ -1488,12 +1489,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1488
1489
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1489
1490
  fetch: z.ZodOptional<z.ZodString>;
1490
1491
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1491
- context?: string | undefined;
1492
1492
  missingArtifacts?: string[] | undefined;
1493
1493
  operationGuidance?: string[] | undefined;
1494
1494
  }, {
1495
+ changeName: string;
1496
+ schemaName: string;
1495
1497
  evidence: {
1496
- command: "instructions apply";
1497
1498
  success: boolean;
1498
1499
  stdout: string;
1499
1500
  stderr: string;
@@ -1506,38 +1507,37 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1506
1507
  target: z.ZodOptional<z.ZodString>;
1507
1508
  fix: z.ZodOptional<z.ZodString>;
1508
1509
  }, z.ZodTypeAny, "passthrough">[];
1510
+ command: "instructions apply";
1509
1511
  selector: {
1510
1512
  store?: string | undefined;
1511
1513
  };
1514
+ contractError?: string | undefined;
1512
1515
  root?: z.objectInputType<{
1513
1516
  path: z.ZodString;
1514
1517
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1515
1518
  store_id: z.ZodOptional<z.ZodString>;
1516
1519
  }, z.ZodTypeAny, "passthrough"> | undefined;
1517
- contractError?: string | undefined;
1518
1520
  } & {
1519
1521
  [k: string]: unknown;
1520
1522
  };
1521
- state: "ready" | "blocked" | "all_done";
1522
- changeName: string;
1523
- schemaName: string;
1524
1523
  changeDir: string;
1525
1524
  instruction: string;
1526
1525
  contextFiles: Record<string, string | string[]>;
1527
1526
  tasks: {
1528
1527
  id: string;
1529
- description: string;
1530
1528
  done: boolean;
1529
+ description: string;
1531
1530
  }[];
1531
+ state: "ready" | "blocked" | "all_done";
1532
1532
  applyInstructionProgress: {
1533
1533
  source: "openspec-instructions-apply";
1534
- state: "ready" | "blocked" | "all_done";
1535
1534
  complete: number;
1535
+ state: "ready" | "blocked" | "all_done";
1536
1536
  total: number;
1537
1537
  remaining: number;
1538
1538
  divergence: {
1539
- message: string;
1540
1539
  kind: "tracked-task-mismatch";
1540
+ message: string;
1541
1541
  apply: {
1542
1542
  complete: number;
1543
1543
  total: number;
@@ -1551,6 +1551,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1551
1551
  };
1552
1552
  } | null;
1553
1553
  };
1554
+ context?: string | undefined;
1554
1555
  references?: z.objectInputType<{
1555
1556
  store_id: z.ZodString;
1556
1557
  root: z.ZodOptional<z.ZodString>;
@@ -1586,7 +1587,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1586
1587
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1587
1588
  fetch: z.ZodOptional<z.ZodString>;
1588
1589
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1589
- context?: string | undefined;
1590
1590
  missingArtifacts?: string[] | undefined;
1591
1591
  operationGuidance?: string[] | undefined;
1592
1592
  }>;
@@ -1614,12 +1614,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1614
1614
  done: z.ZodBoolean;
1615
1615
  }, "strip", z.ZodTypeAny, {
1616
1616
  id: string;
1617
- description: string;
1618
1617
  done: boolean;
1618
+ description: string;
1619
1619
  }, {
1620
1620
  id: string;
1621
- description: string;
1622
1621
  done: boolean;
1622
+ description: string;
1623
1623
  }>, "many">;
1624
1624
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1625
1625
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1875,8 +1875,9 @@ 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
+ changeName: string;
1879
+ schemaName: string;
1878
1880
  evidence: {
1879
- command: "instructions apply";
1880
1881
  success: boolean;
1881
1882
  stdout: string;
1882
1883
  stderr: string;
@@ -1889,34 +1890,34 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1889
1890
  target: z.ZodOptional<z.ZodString>;
1890
1891
  fix: z.ZodOptional<z.ZodString>;
1891
1892
  }, z.ZodTypeAny, "passthrough">[];
1893
+ command: "instructions apply";
1892
1894
  selector: {
1893
1895
  store?: string | undefined;
1894
1896
  };
1897
+ contractError?: string | undefined;
1895
1898
  root?: z.objectOutputType<{
1896
1899
  path: z.ZodString;
1897
1900
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1898
1901
  store_id: z.ZodOptional<z.ZodString>;
1899
1902
  }, z.ZodTypeAny, "passthrough"> | undefined;
1900
- contractError?: string | undefined;
1901
1903
  } & {
1902
1904
  [k: string]: unknown;
1903
1905
  };
1904
- state: "ready" | "blocked" | "all_done";
1905
- progress: {
1906
- complete: number;
1907
- total: number;
1908
- remaining: number;
1909
- };
1910
- changeName: string;
1911
- schemaName: string;
1912
1906
  changeDir: string;
1913
1907
  instruction: string;
1914
1908
  contextFiles: Record<string, string[]>;
1915
1909
  tasks: {
1916
1910
  id: string;
1917
- description: string;
1918
1911
  done: boolean;
1912
+ description: string;
1919
1913
  }[];
1914
+ state: "ready" | "blocked" | "all_done";
1915
+ progress: {
1916
+ complete: number;
1917
+ total: number;
1918
+ remaining: number;
1919
+ };
1920
+ context?: string | undefined;
1920
1921
  references?: z.objectOutputType<{
1921
1922
  store_id: z.ZodString;
1922
1923
  root: z.ZodOptional<z.ZodString>;
@@ -1952,12 +1953,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1952
1953
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1953
1954
  fetch: z.ZodOptional<z.ZodString>;
1954
1955
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1955
- context?: string | undefined;
1956
1956
  missingArtifacts?: string[] | undefined;
1957
1957
  operationGuidance?: string[] | undefined;
1958
1958
  }, {
1959
+ changeName: string;
1960
+ schemaName: string;
1959
1961
  evidence: {
1960
- command: "instructions apply";
1961
1962
  success: boolean;
1962
1963
  stdout: string;
1963
1964
  stderr: string;
@@ -1970,34 +1971,34 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1970
1971
  target: z.ZodOptional<z.ZodString>;
1971
1972
  fix: z.ZodOptional<z.ZodString>;
1972
1973
  }, z.ZodTypeAny, "passthrough">[];
1974
+ command: "instructions apply";
1973
1975
  selector: {
1974
1976
  store?: string | undefined;
1975
1977
  };
1978
+ contractError?: string | undefined;
1976
1979
  root?: z.objectInputType<{
1977
1980
  path: z.ZodString;
1978
1981
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1979
1982
  store_id: z.ZodOptional<z.ZodString>;
1980
1983
  }, z.ZodTypeAny, "passthrough"> | undefined;
1981
- contractError?: string | undefined;
1982
1984
  } & {
1983
1985
  [k: string]: unknown;
1984
1986
  };
1985
- state: "ready" | "blocked" | "all_done";
1986
- progress: {
1987
- complete: number;
1988
- total: number;
1989
- remaining: number;
1990
- };
1991
- changeName: string;
1992
- schemaName: string;
1993
1987
  changeDir: string;
1994
1988
  instruction: string;
1995
1989
  contextFiles: Record<string, string | string[]>;
1996
1990
  tasks: {
1997
1991
  id: string;
1998
- description: string;
1999
1992
  done: boolean;
1993
+ description: string;
2000
1994
  }[];
1995
+ state: "ready" | "blocked" | "all_done";
1996
+ progress: {
1997
+ complete: number;
1998
+ total: number;
1999
+ remaining: number;
2000
+ };
2001
+ context?: string | undefined;
2001
2002
  references?: z.objectInputType<{
2002
2003
  store_id: z.ZodString;
2003
2004
  root: z.ZodOptional<z.ZodString>;
@@ -2033,13 +2034,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2033
2034
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2034
2035
  fetch: z.ZodOptional<z.ZodString>;
2035
2036
  }, 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
+ changeName: string;
2042
+ schemaName: string;
2041
2043
  evidence: {
2042
- command: "instructions apply";
2043
2044
  success: boolean;
2044
2045
  stdout: string;
2045
2046
  stderr: string;
@@ -2052,29 +2053,29 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2052
2053
  target: z.ZodOptional<z.ZodString>;
2053
2054
  fix: z.ZodOptional<z.ZodString>;
2054
2055
  }, z.ZodTypeAny, "passthrough">[];
2056
+ command: "instructions apply";
2055
2057
  selector: {
2056
2058
  store?: string | undefined;
2057
2059
  };
2060
+ contractError?: string | undefined;
2058
2061
  root?: z.objectOutputType<{
2059
2062
  path: z.ZodString;
2060
2063
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2061
2064
  store_id: z.ZodOptional<z.ZodString>;
2062
2065
  }, z.ZodTypeAny, "passthrough"> | undefined;
2063
- contractError?: string | undefined;
2064
2066
  } & {
2065
2067
  [k: string]: unknown;
2066
2068
  };
2067
- state: "ready" | "blocked" | "all_done";
2068
- changeName: string;
2069
- schemaName: string;
2070
2069
  changeDir: string;
2071
2070
  instruction: string;
2072
2071
  contextFiles: Record<string, string[]>;
2073
2072
  tasks: {
2074
2073
  id: string;
2075
- description: string;
2076
2074
  done: boolean;
2075
+ description: string;
2077
2076
  }[];
2077
+ state: "ready" | "blocked" | "all_done";
2078
+ context?: string | undefined;
2078
2079
  references?: z.objectOutputType<{
2079
2080
  store_id: z.ZodString;
2080
2081
  root: z.ZodOptional<z.ZodString>;
@@ -2110,12 +2111,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2110
2111
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2111
2112
  fetch: z.ZodOptional<z.ZodString>;
2112
2113
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2113
- context?: string | undefined;
2114
2114
  missingArtifacts?: string[] | undefined;
2115
2115
  operationGuidance?: string[] | undefined;
2116
2116
  }, {
2117
+ changeName: string;
2118
+ schemaName: string;
2117
2119
  evidence: {
2118
- command: "instructions apply";
2119
2120
  success: boolean;
2120
2121
  stdout: string;
2121
2122
  stderr: string;
@@ -2128,34 +2129,34 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2128
2129
  target: z.ZodOptional<z.ZodString>;
2129
2130
  fix: z.ZodOptional<z.ZodString>;
2130
2131
  }, z.ZodTypeAny, "passthrough">[];
2132
+ command: "instructions apply";
2131
2133
  selector: {
2132
2134
  store?: string | undefined;
2133
2135
  };
2136
+ contractError?: string | undefined;
2134
2137
  root?: z.objectInputType<{
2135
2138
  path: z.ZodString;
2136
2139
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2137
2140
  store_id: z.ZodOptional<z.ZodString>;
2138
2141
  }, z.ZodTypeAny, "passthrough"> | undefined;
2139
- contractError?: string | undefined;
2140
2142
  } & {
2141
2143
  [k: string]: unknown;
2142
2144
  };
2143
- state: "ready" | "blocked" | "all_done";
2144
- progress: {
2145
- complete: number;
2146
- total: number;
2147
- remaining: number;
2148
- };
2149
- changeName: string;
2150
- schemaName: string;
2151
2145
  changeDir: string;
2152
2146
  instruction: string;
2153
2147
  contextFiles: Record<string, string | string[]>;
2154
2148
  tasks: {
2155
2149
  id: string;
2156
- description: string;
2157
2150
  done: boolean;
2151
+ description: string;
2158
2152
  }[];
2153
+ state: "ready" | "blocked" | "all_done";
2154
+ progress: {
2155
+ complete: number;
2156
+ total: number;
2157
+ remaining: number;
2158
+ };
2159
+ context?: string | undefined;
2159
2160
  references?: z.objectInputType<{
2160
2161
  store_id: z.ZodString;
2161
2162
  root: z.ZodOptional<z.ZodString>;
@@ -2191,7 +2192,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2191
2192
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2192
2193
  fetch: z.ZodOptional<z.ZodString>;
2193
2194
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2194
- context?: string | undefined;
2195
2195
  missingArtifacts?: string[] | undefined;
2196
2196
  operationGuidance?: string[] | undefined;
2197
2197
  }>, z.ZodObject<{
@@ -2205,12 +2205,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2205
2205
  done: z.ZodBoolean;
2206
2206
  }, "strip", z.ZodTypeAny, {
2207
2207
  id: string;
2208
- description: string;
2209
2208
  done: boolean;
2209
+ description: string;
2210
2210
  }, {
2211
2211
  id: string;
2212
- description: string;
2213
2212
  done: boolean;
2213
+ description: string;
2214
2214
  }>, "many">;
2215
2215
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2216
2216
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -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
- message: string;
2508
2507
  kind: "tracked-task-mismatch";
2508
+ message: string;
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
- message: string;
2522
2521
  kind: "tracked-task-mismatch";
2522
+ message: string;
2523
2523
  apply: {
2524
2524
  complete: number;
2525
2525
  total: number;
@@ -2534,13 +2534,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2534
2534
  }>>;
2535
2535
  }, "strip", z.ZodTypeAny, {
2536
2536
  source: "openspec-instructions-apply";
2537
- state: "ready" | "blocked" | "all_done";
2538
2537
  complete: number;
2538
+ state: "ready" | "blocked" | "all_done";
2539
2539
  total: number;
2540
2540
  remaining: number;
2541
2541
  divergence: {
2542
- message: string;
2543
2542
  kind: "tracked-task-mismatch";
2543
+ message: string;
2544
2544
  apply: {
2545
2545
  complete: number;
2546
2546
  total: number;
@@ -2555,13 +2555,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2555
2555
  } | null;
2556
2556
  }, {
2557
2557
  source: "openspec-instructions-apply";
2558
- state: "ready" | "blocked" | "all_done";
2559
2558
  complete: number;
2559
+ state: "ready" | "blocked" | "all_done";
2560
2560
  total: number;
2561
2561
  remaining: number;
2562
2562
  divergence: {
2563
- message: string;
2564
2563
  kind: "tracked-task-mismatch";
2564
+ message: string;
2565
2565
  apply: {
2566
2566
  complete: number;
2567
2567
  total: number;
@@ -2576,8 +2576,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2576
2576
  } | null;
2577
2577
  }>;
2578
2578
  }, "strip", z.ZodTypeAny, {
2579
+ changeName: string;
2580
+ schemaName: string;
2579
2581
  evidence: {
2580
- command: "instructions apply";
2581
2582
  success: boolean;
2582
2583
  stdout: string;
2583
2584
  stderr: string;
@@ -2590,38 +2591,37 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2590
2591
  target: z.ZodOptional<z.ZodString>;
2591
2592
  fix: z.ZodOptional<z.ZodString>;
2592
2593
  }, z.ZodTypeAny, "passthrough">[];
2594
+ command: "instructions apply";
2593
2595
  selector: {
2594
2596
  store?: string | undefined;
2595
2597
  };
2598
+ contractError?: string | undefined;
2596
2599
  root?: z.objectOutputType<{
2597
2600
  path: z.ZodString;
2598
2601
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2599
2602
  store_id: z.ZodOptional<z.ZodString>;
2600
2603
  }, z.ZodTypeAny, "passthrough"> | undefined;
2601
- contractError?: string | undefined;
2602
2604
  } & {
2603
2605
  [k: string]: unknown;
2604
2606
  };
2605
- state: "ready" | "blocked" | "all_done";
2606
- changeName: string;
2607
- schemaName: string;
2608
2607
  changeDir: string;
2609
2608
  instruction: string;
2610
2609
  contextFiles: Record<string, string[]>;
2611
2610
  tasks: {
2612
2611
  id: string;
2613
- description: string;
2614
2612
  done: boolean;
2613
+ description: string;
2615
2614
  }[];
2615
+ state: "ready" | "blocked" | "all_done";
2616
2616
  applyInstructionProgress: {
2617
2617
  source: "openspec-instructions-apply";
2618
- state: "ready" | "blocked" | "all_done";
2619
2618
  complete: number;
2619
+ state: "ready" | "blocked" | "all_done";
2620
2620
  total: number;
2621
2621
  remaining: number;
2622
2622
  divergence: {
2623
- message: string;
2624
2623
  kind: "tracked-task-mismatch";
2624
+ message: string;
2625
2625
  apply: {
2626
2626
  complete: number;
2627
2627
  total: number;
@@ -2635,6 +2635,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2635
2635
  };
2636
2636
  } | null;
2637
2637
  };
2638
+ context?: string | undefined;
2638
2639
  references?: z.objectOutputType<{
2639
2640
  store_id: z.ZodString;
2640
2641
  root: z.ZodOptional<z.ZodString>;
@@ -2670,12 +2671,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2670
2671
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2671
2672
  fetch: z.ZodOptional<z.ZodString>;
2672
2673
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2673
- context?: string | undefined;
2674
2674
  missingArtifacts?: string[] | undefined;
2675
2675
  operationGuidance?: string[] | undefined;
2676
2676
  }, {
2677
+ changeName: string;
2678
+ schemaName: string;
2677
2679
  evidence: {
2678
- command: "instructions apply";
2679
2680
  success: boolean;
2680
2681
  stdout: string;
2681
2682
  stderr: string;
@@ -2688,38 +2689,37 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2688
2689
  target: z.ZodOptional<z.ZodString>;
2689
2690
  fix: z.ZodOptional<z.ZodString>;
2690
2691
  }, z.ZodTypeAny, "passthrough">[];
2692
+ command: "instructions apply";
2691
2693
  selector: {
2692
2694
  store?: string | undefined;
2693
2695
  };
2696
+ contractError?: string | undefined;
2694
2697
  root?: z.objectInputType<{
2695
2698
  path: z.ZodString;
2696
2699
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2697
2700
  store_id: z.ZodOptional<z.ZodString>;
2698
2701
  }, z.ZodTypeAny, "passthrough"> | undefined;
2699
- contractError?: string | undefined;
2700
2702
  } & {
2701
2703
  [k: string]: unknown;
2702
2704
  };
2703
- state: "ready" | "blocked" | "all_done";
2704
- changeName: string;
2705
- schemaName: string;
2706
2705
  changeDir: string;
2707
2706
  instruction: string;
2708
2707
  contextFiles: Record<string, string | string[]>;
2709
2708
  tasks: {
2710
2709
  id: string;
2711
- description: string;
2712
2710
  done: boolean;
2711
+ description: string;
2713
2712
  }[];
2713
+ state: "ready" | "blocked" | "all_done";
2714
2714
  applyInstructionProgress: {
2715
2715
  source: "openspec-instructions-apply";
2716
- state: "ready" | "blocked" | "all_done";
2717
2716
  complete: number;
2717
+ state: "ready" | "blocked" | "all_done";
2718
2718
  total: number;
2719
2719
  remaining: number;
2720
2720
  divergence: {
2721
- message: string;
2722
2721
  kind: "tracked-task-mismatch";
2722
+ message: string;
2723
2723
  apply: {
2724
2724
  complete: number;
2725
2725
  total: number;
@@ -2733,6 +2733,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2733
2733
  };
2734
2734
  } | null;
2735
2735
  };
2736
+ context?: string | undefined;
2736
2737
  references?: z.objectInputType<{
2737
2738
  store_id: z.ZodString;
2738
2739
  root: z.ZodOptional<z.ZodString>;
@@ -2768,7 +2769,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2768
2769
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2769
2770
  fetch: z.ZodOptional<z.ZodString>;
2770
2771
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2771
- context?: string | undefined;
2772
2772
  missingArtifacts?: string[] | undefined;
2773
2773
  operationGuidance?: string[] | undefined;
2774
2774
  }>>;
@@ -2923,8 +2923,8 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2923
2923
  command: z.ZodLiteral<"instructions archive">;
2924
2924
  }, z.ZodTypeAny, "passthrough">>;
2925
2925
  }, "strip", z.ZodTypeAny, {
2926
+ changeName: string;
2926
2927
  evidence: {
2927
- command: "instructions archive";
2928
2928
  success: boolean;
2929
2929
  stdout: string;
2930
2930
  stderr: string;
@@ -2937,24 +2937,24 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2937
2937
  target: z.ZodOptional<z.ZodString>;
2938
2938
  fix: z.ZodOptional<z.ZodString>;
2939
2939
  }, z.ZodTypeAny, "passthrough">[];
2940
+ command: "instructions archive";
2940
2941
  selector: {
2941
2942
  store?: string | undefined;
2942
2943
  };
2944
+ contractError?: string | undefined;
2943
2945
  root?: z.objectOutputType<{
2944
2946
  path: z.ZodString;
2945
2947
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2946
2948
  store_id: z.ZodOptional<z.ZodString>;
2947
2949
  }, z.ZodTypeAny, "passthrough"> | undefined;
2948
- contractError?: string | undefined;
2949
2950
  } & {
2950
2951
  [k: string]: unknown;
2951
2952
  };
2952
- changeName: string;
2953
2953
  context?: string | undefined;
2954
2954
  operationGuidance?: string[] | undefined;
2955
2955
  }, {
2956
+ changeName: string;
2956
2957
  evidence: {
2957
- command: "instructions archive";
2958
2958
  success: boolean;
2959
2959
  stdout: string;
2960
2960
  stderr: string;
@@ -2967,19 +2967,19 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2967
2967
  target: z.ZodOptional<z.ZodString>;
2968
2968
  fix: z.ZodOptional<z.ZodString>;
2969
2969
  }, z.ZodTypeAny, "passthrough">[];
2970
+ command: "instructions archive";
2970
2971
  selector: {
2971
2972
  store?: string | undefined;
2972
2973
  };
2974
+ contractError?: string | undefined;
2973
2975
  root?: z.objectInputType<{
2974
2976
  path: z.ZodString;
2975
2977
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2976
2978
  store_id: z.ZodOptional<z.ZodString>;
2977
2979
  }, z.ZodTypeAny, "passthrough"> | undefined;
2978
- contractError?: string | undefined;
2979
2980
  } & {
2980
2981
  [k: string]: unknown;
2981
2982
  };
2982
- changeName: string;
2983
2983
  context?: string | undefined;
2984
2984
  operationGuidance?: string[] | undefined;
2985
2985
  }>;
@@ -3002,16 +3002,16 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3002
3002
  description: z.ZodString;
3003
3003
  skipped: z.ZodOptional<z.ZodBoolean>;
3004
3004
  }, "strip", z.ZodTypeAny, {
3005
- id: string;
3006
3005
  path: string;
3007
- description: string;
3006
+ id: string;
3008
3007
  done: boolean;
3008
+ description: string;
3009
3009
  skipped?: boolean | undefined;
3010
3010
  }, {
3011
- id: string;
3012
3011
  path: string;
3013
- description: string;
3012
+ id: string;
3014
3013
  done: boolean;
3014
+ description: string;
3015
3015
  skipped?: boolean | undefined;
3016
3016
  }>, "many">;
3017
3017
  unlocks: z.ZodArray<z.ZodString, "many">;
@@ -3264,10 +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
+ changeName: string;
3268
+ schemaName: string;
3269
+ outputPath: string;
3269
3270
  evidence: {
3270
- command: "instructions";
3271
3271
  success: boolean;
3272
3272
  stdout: string;
3273
3273
  stderr: string;
@@ -3280,31 +3280,34 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3280
3280
  target: z.ZodOptional<z.ZodString>;
3281
3281
  fix: z.ZodOptional<z.ZodString>;
3282
3282
  }, z.ZodTypeAny, "passthrough">[];
3283
+ command: "instructions";
3283
3284
  selector: {
3284
3285
  store?: string | undefined;
3285
3286
  };
3287
+ contractError?: string | undefined;
3286
3288
  root?: z.objectOutputType<{
3287
3289
  path: z.ZodString;
3288
3290
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3289
3291
  store_id: z.ZodOptional<z.ZodString>;
3290
3292
  }, z.ZodTypeAny, "passthrough"> | undefined;
3291
- contractError?: string | undefined;
3292
3293
  } & {
3293
3294
  [k: string]: unknown;
3294
3295
  };
3295
- changeName: string;
3296
- schemaName: string;
3297
- outputPath: string;
3298
3296
  artifactId: string;
3299
3297
  changeDir: string;
3298
+ description: string;
3299
+ template: string;
3300
3300
  dependencies: {
3301
- id: string;
3302
3301
  path: string;
3303
- description: string;
3302
+ id: string;
3304
3303
  done: boolean;
3304
+ description: string;
3305
3305
  skipped?: boolean | undefined;
3306
3306
  }[];
3307
3307
  unlocks: string[];
3308
+ instruction?: string | null | undefined;
3309
+ context?: string | null | undefined;
3310
+ rules?: string[] | null | undefined;
3308
3311
  references?: z.objectOutputType<{
3309
3312
  store_id: z.ZodString;
3310
3313
  root: z.ZodOptional<z.ZodString>;
@@ -3340,14 +3343,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3340
3343
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3341
3344
  fetch: z.ZodOptional<z.ZodString>;
3342
3345
  }, 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;
3347
+ changeName: string;
3348
+ schemaName: string;
3349
+ outputPath: string;
3349
3350
  evidence: {
3350
- command: "instructions";
3351
3351
  success: boolean;
3352
3352
  stdout: string;
3353
3353
  stderr: string;
@@ -3360,31 +3360,34 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3360
3360
  target: z.ZodOptional<z.ZodString>;
3361
3361
  fix: z.ZodOptional<z.ZodString>;
3362
3362
  }, z.ZodTypeAny, "passthrough">[];
3363
+ command: "instructions";
3363
3364
  selector: {
3364
3365
  store?: string | undefined;
3365
3366
  };
3367
+ contractError?: string | undefined;
3366
3368
  root?: z.objectInputType<{
3367
3369
  path: z.ZodString;
3368
3370
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3369
3371
  store_id: z.ZodOptional<z.ZodString>;
3370
3372
  }, z.ZodTypeAny, "passthrough"> | undefined;
3371
- contractError?: string | undefined;
3372
3373
  } & {
3373
3374
  [k: string]: unknown;
3374
3375
  };
3375
- changeName: string;
3376
- schemaName: string;
3377
- outputPath: string;
3378
3376
  artifactId: string;
3379
3377
  changeDir: string;
3378
+ description: string;
3379
+ template: string;
3380
3380
  dependencies: {
3381
- id: string;
3382
3381
  path: string;
3383
- description: string;
3382
+ id: string;
3384
3383
  done: boolean;
3384
+ description: string;
3385
3385
  skipped?: boolean | undefined;
3386
3386
  }[];
3387
3387
  unlocks: string[];
3388
+ instruction?: string | null | undefined;
3389
+ context?: string | null | undefined;
3390
+ rules?: string[] | null | undefined;
3388
3391
  references?: z.objectInputType<{
3389
3392
  store_id: z.ZodString;
3390
3393
  root: z.ZodOptional<z.ZodString>;
@@ -3420,9 +3423,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3420
3423
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3421
3424
  fetch: z.ZodOptional<z.ZodString>;
3422
3425
  }, 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. */
@@ -3542,15 +3542,15 @@ declare const SchemaArtifactSchema: z.ZodObject<{
3542
3542
  outputPath: string;
3543
3543
  requires: string[];
3544
3544
  description?: string | undefined;
3545
- template?: string | undefined;
3546
3545
  instruction?: string | undefined;
3546
+ template?: string | undefined;
3547
3547
  }, {
3548
3548
  id: string;
3549
3549
  outputPath: string;
3550
3550
  requires: string[];
3551
3551
  description?: string | undefined;
3552
- template?: string | undefined;
3553
3552
  instruction?: string | undefined;
3553
+ template?: string | undefined;
3554
3554
  }>;
3555
3555
  type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
3556
3556
  declare const SchemaDetailSchema: z.ZodObject<{
@@ -3569,45 +3569,45 @@ declare const SchemaDetailSchema: z.ZodObject<{
3569
3569
  outputPath: string;
3570
3570
  requires: string[];
3571
3571
  description?: string | undefined;
3572
- template?: string | undefined;
3573
3572
  instruction?: string | undefined;
3573
+ template?: string | undefined;
3574
3574
  }, {
3575
3575
  id: string;
3576
3576
  outputPath: string;
3577
3577
  requires: string[];
3578
3578
  description?: string | undefined;
3579
- template?: string | undefined;
3580
3579
  instruction?: string | undefined;
3580
+ template?: string | undefined;
3581
3581
  }>, "many">;
3582
3582
  applyRequires: z.ZodArray<z.ZodString, "many">;
3583
3583
  applyTracks: z.ZodOptional<z.ZodString>;
3584
3584
  applyInstruction: z.ZodOptional<z.ZodString>;
3585
3585
  }, "strip", z.ZodTypeAny, {
3586
- name: string;
3587
3586
  applyRequires: string[];
3588
3587
  artifacts: {
3589
3588
  id: string;
3590
3589
  outputPath: string;
3591
3590
  requires: string[];
3592
3591
  description?: string | undefined;
3593
- template?: string | undefined;
3594
3592
  instruction?: string | undefined;
3593
+ template?: string | undefined;
3595
3594
  }[];
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;
3602
3601
  applyRequires: string[];
3603
3602
  artifacts: {
3604
3603
  id: string;
3605
3604
  outputPath: string;
3606
3605
  requires: string[];
3607
3606
  description?: string | undefined;
3608
- template?: string | undefined;
3609
3607
  instruction?: string | undefined;
3608
+ template?: string | undefined;
3610
3609
  }[];
3610
+ name: string;
3611
3611
  description?: string | undefined;
3612
3612
  version?: string | number | undefined;
3613
3613
  applyTracks?: string | undefined;
@@ -3648,45 +3648,45 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3648
3648
  outputPath: string;
3649
3649
  requires: string[];
3650
3650
  description?: string | undefined;
3651
- template?: string | undefined;
3652
3651
  instruction?: string | undefined;
3652
+ template?: string | undefined;
3653
3653
  }, {
3654
3654
  id: string;
3655
3655
  outputPath: string;
3656
3656
  requires: string[];
3657
3657
  description?: string | undefined;
3658
- template?: string | undefined;
3659
3658
  instruction?: string | undefined;
3659
+ template?: string | undefined;
3660
3660
  }>, "many">;
3661
3661
  applyRequires: z.ZodArray<z.ZodString, "many">;
3662
3662
  applyTracks: z.ZodOptional<z.ZodString>;
3663
3663
  applyInstruction: z.ZodOptional<z.ZodString>;
3664
3664
  }, "strip", z.ZodTypeAny, {
3665
- name: string;
3666
3665
  applyRequires: string[];
3667
3666
  artifacts: {
3668
3667
  id: string;
3669
3668
  outputPath: string;
3670
3669
  requires: string[];
3671
3670
  description?: string | undefined;
3672
- template?: string | undefined;
3673
3671
  instruction?: string | undefined;
3672
+ template?: string | undefined;
3674
3673
  }[];
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;
3681
3680
  applyRequires: string[];
3682
3681
  artifacts: {
3683
3682
  id: string;
3684
3683
  outputPath: string;
3685
3684
  requires: string[];
3686
3685
  description?: string | undefined;
3687
- template?: string | undefined;
3688
3686
  instruction?: string | undefined;
3687
+ template?: string | undefined;
3689
3688
  }[];
3689
+ name: string;
3690
3690
  description?: string | undefined;
3691
3691
  version?: string | number | undefined;
3692
3692
  applyTracks?: string | undefined;
@@ -3767,16 +3767,16 @@ 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;
3771
3770
  applyRequires: string[];
3772
3771
  artifacts: {
3773
3772
  id: string;
3774
3773
  outputPath: string;
3775
3774
  requires: string[];
3776
3775
  description?: string | undefined;
3777
- template?: string | undefined;
3778
3776
  instruction?: string | undefined;
3777
+ template?: string | undefined;
3779
3778
  }[];
3779
+ name: string;
3780
3780
  description?: string | undefined;
3781
3781
  version?: string | number | undefined;
3782
3782
  applyTracks?: string | undefined;
@@ -3813,16 +3813,16 @@ 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;
3817
3816
  applyRequires: string[];
3818
3817
  artifacts: {
3819
3818
  id: string;
3820
3819
  outputPath: string;
3821
3820
  requires: string[];
3822
3821
  description?: string | undefined;
3823
- template?: string | undefined;
3824
3822
  instruction?: string | undefined;
3823
+ template?: string | undefined;
3825
3824
  }[];
3825
+ name: string;
3826
3826
  description?: string | undefined;
3827
3827
  version?: string | number | undefined;
3828
3828
  applyTracks?: string | undefined;