@openspecui/core 9.0.3 → 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 (51) hide show
  1. package/dist/{active-root-config-CDH9K5lV.d.mts → active-root-config-B-ZjoeVr.d.mts} +19 -19
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +18 -18
  4. package/dist/{cli-projection-C1ZYzYMm.d.mts → cli-projection-CpEtZ-tN.d.mts} +7 -7
  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-Cv-UaYcc.d.mts} +3992 -3895
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  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-C7jJcSdH.d.mts → index-BXSLb96t.d.mts} +12277 -7316
  13. package/dist/index.d.mts +19 -19
  14. package/dist/index.mjs +385 -138
  15. package/dist/{local-download-profiles-CyAhZwxA.d.mts → local-download-profiles-C9LmIa9_.d.mts} +1 -1
  16. package/dist/local-download-profiles.d.mts +2 -2
  17. package/dist/{notifications-Be5ltQeN.d.mts → notifications-C_Dvqaej.d.mts} +3 -3
  18. package/dist/notifications.d.mts +2 -2
  19. package/dist/{openspec-compat-DidEO359.mjs → openspec-compat-DctIDxRM.mjs} +23 -17
  20. package/dist/openspec-compat.d.mts +4 -76
  21. package/dist/openspec-compat.mjs +2 -2
  22. package/dist/{openspec-projection-Bymnjuf9.d.mts → openspec-projection-DTu73p25.d.mts} +1 -1
  23. package/dist/openspec-projection.d.mts +2 -2
  24. package/dist/{opsx-entity-NFWGsreJ.d.mts → opsx-entity-Cq5yqzjd.d.mts} +2 -2
  25. package/dist/opsx-entity.d.mts +7 -7
  26. package/dist/{opsx-schema-detail-ChaSoC8S.d.mts → opsx-schema-detail-DwKh5cRx.d.mts} +2 -2
  27. package/dist/opsx-schema-detail.d.mts +8 -8
  28. package/dist/{opsx-types-C2lUEACZ.d.mts → opsx-types-Dxq7Yyjz.d.mts} +259 -259
  29. package/dist/{planning-cli-projection-BTkiQ7PG.mjs → planning-cli-projection-pq8vZC1r.mjs} +2 -2
  30. package/dist/planning-cli-projection.d.mts +18 -18
  31. package/dist/planning-cli-projection.mjs +3 -3
  32. package/dist/{schemas-BG7Tcs8J.d.mts → schemas-7hc46y5c.d.mts} +152 -152
  33. package/dist/{sounds-DdPTMYMa.d.mts → sounds-B0GiWqBN.d.mts} +4 -4
  34. package/dist/sounds.d.mts +1 -1
  35. package/dist/{spec-catalog-Ce3uSLSc.mjs → spec-catalog-BkX0tZp9.mjs} +149 -2
  36. package/dist/spec-catalog.d.mts +18 -18
  37. package/dist/spec-catalog.mjs +2 -2
  38. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-BriXl_0I.d.mts} +24 -24
  39. package/dist/store-mutation-protocol.d.mts +1 -1
  40. package/dist/{store-types-X35XKl10.d.mts → store-types-C4d1cqYC.d.mts} +1 -1
  41. package/dist/store-types.d.mts +5 -5
  42. package/dist/task-progress.d.mts +6 -6
  43. package/dist/{terminal-audio-Csuw114f.d.mts → terminal-audio-BpfUW_eB.d.mts} +1 -1
  44. package/dist/terminal-audio.d.mts +2 -2
  45. package/dist/terminal-control.d.mts +2 -2
  46. package/dist/{terminal-invocation-C5AN93a9.d.mts → terminal-invocation-B2F24Dw6.d.mts} +122 -122
  47. package/dist/terminal-invocation.d.mts +1 -1
  48. package/dist/{translator-4wvacuAX.d.mts → translator-CLbxLmcj.d.mts} +66 -66
  49. package/dist/translator.d.mts +1 -1
  50. package/package.json +3 -2
  51. /package/dist/{document-translation-CBqubtWC.d.mts → document-translation-CGMD0RLA.d.mts} +0 -0
@@ -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-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,14 +406,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
406
406
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
407
  relativePath: z.ZodOptional<z.ZodString>;
408
408
  }, "strip", z.ZodTypeAny, {
409
- status: "ready" | "done" | "skipped" | "blocked";
409
+ status: "done" | "skipped" | "ready" | "blocked";
410
410
  id: string;
411
411
  outputPath: string;
412
412
  requires: string[];
413
413
  missingDeps?: string[] | undefined;
414
414
  relativePath?: string | undefined;
415
415
  }, {
416
- status: "ready" | "done" | "skipped" | "blocked";
416
+ status: "done" | "skipped" | "ready" | "blocked";
417
417
  id: string;
418
418
  outputPath: string;
419
419
  requires: string[];
@@ -435,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
435
435
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
436
436
  relativePath: z.ZodOptional<z.ZodString>;
437
437
  }, "strip", z.ZodTypeAny, {
438
- status: "ready" | "done" | "skipped" | "blocked";
438
+ status: "done" | "skipped" | "ready" | "blocked";
439
439
  id: string;
440
440
  outputPath: string;
441
441
  requires: string[];
442
442
  missingDeps?: string[] | undefined;
443
443
  relativePath?: string | undefined;
444
444
  }, {
445
- status: "ready" | "done" | "skipped" | "blocked";
445
+ status: "done" | "skipped" | "ready" | "blocked";
446
446
  id: string;
447
447
  outputPath: string;
448
448
  requires: string[];
@@ -692,32 +692,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
692
692
  } & {
693
693
  [k: string]: unknown;
694
694
  };
695
- evidence: {
696
- success: boolean;
697
- stdout: string;
698
- stderr: string;
699
- exitCode: number | null;
700
- payload: CliJsonValue;
701
- diagnostics: z.objectOutputType<{
702
- severity: z.ZodEnum<["error", "warning", "info"]>;
703
- code: z.ZodString;
704
- message: z.ZodString;
705
- target: z.ZodOptional<z.ZodString>;
706
- fix: z.ZodOptional<z.ZodString>;
707
- }, z.ZodTypeAny, "passthrough">[];
708
- command: "status";
709
- selector: {
710
- store?: string | undefined;
711
- };
712
- contractError?: string | undefined;
713
- root?: z.objectOutputType<{
714
- path: z.ZodString;
715
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
716
- store_id: z.ZodOptional<z.ZodString>;
717
- }, z.ZodTypeAny, "passthrough"> | undefined;
718
- } & {
719
- [k: string]: unknown;
720
- };
721
695
  planningHome: {
722
696
  kind: "repo";
723
697
  root: string;
@@ -746,22 +720,13 @@ 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
724
  success: boolean;
760
725
  stdout: string;
761
726
  stderr: string;
762
727
  exitCode: number | null;
763
728
  payload: CliJsonValue;
764
- diagnostics: z.objectInputType<{
729
+ diagnostics: z.objectOutputType<{
765
730
  severity: z.ZodEnum<["error", "warning", "info"]>;
766
731
  code: z.ZodString;
767
732
  message: z.ZodString;
@@ -773,7 +738,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
773
738
  store?: string | undefined;
774
739
  };
775
740
  contractError?: string | undefined;
776
- root?: z.objectInputType<{
741
+ root?: z.objectOutputType<{
777
742
  path: z.ZodString;
778
743
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
779
744
  store_id: z.ZodOptional<z.ZodString>;
@@ -781,6 +746,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
781
746
  } & {
782
747
  [k: string]: unknown;
783
748
  };
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
+ };
784
758
  planningHome: {
785
759
  kind: "repo";
786
760
  root: string;
@@ -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,7 +822,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
822
822
  isPlanningComplete: boolean;
823
823
  applyRequires: string[];
824
824
  artifacts: {
825
- status: "ready" | "done" | "skipped" | "blocked";
825
+ status: "done" | "skipped" | "ready" | "blocked";
826
826
  id: string;
827
827
  outputPath: string;
828
828
  requires: string[];
@@ -838,32 +838,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
838
838
  } & {
839
839
  [k: string]: unknown;
840
840
  };
841
- evidence: {
842
- success: boolean;
843
- stdout: string;
844
- stderr: string;
845
- exitCode: number | null;
846
- payload: CliJsonValue;
847
- diagnostics: z.objectOutputType<{
848
- severity: z.ZodEnum<["error", "warning", "info"]>;
849
- code: z.ZodString;
850
- message: z.ZodString;
851
- target: z.ZodOptional<z.ZodString>;
852
- fix: z.ZodOptional<z.ZodString>;
853
- }, z.ZodTypeAny, "passthrough">[];
854
- command: "status";
855
- selector: {
856
- store?: string | undefined;
857
- };
858
- contractError?: string | undefined;
859
- root?: z.objectOutputType<{
860
- path: z.ZodString;
861
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
862
- store_id: z.ZodOptional<z.ZodString>;
863
- }, z.ZodTypeAny, "passthrough"> | undefined;
864
- } & {
865
- [k: string]: unknown;
866
- };
867
841
  planningHome: {
868
842
  kind: "repo";
869
843
  root: string;
@@ -892,38 +866,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
892
866
  } & {
893
867
  [k: string]: unknown;
894
868
  };
895
- } | {
896
- kind: "static";
897
- };
898
- }, {
899
- changeName: string;
900
- schemaName: string;
901
- isPlanningComplete: boolean;
902
- applyRequires: string[];
903
- artifacts: {
904
- status: "ready" | "done" | "skipped" | "blocked";
905
- id: string;
906
- outputPath: string;
907
- requires: string[];
908
- missingDeps?: string[] | undefined;
909
- relativePath?: string | undefined;
910
- }[];
911
- provenance: {
912
- kind: "cli";
913
- root: {
914
- path: string;
915
- source: "store" | "declared" | "nearest" | "global_default" | "implicit";
916
- store_id?: string | undefined;
917
- } & {
918
- [k: string]: unknown;
919
- };
920
869
  evidence: {
921
870
  success: boolean;
922
871
  stdout: string;
923
872
  stderr: string;
924
873
  exitCode: number | null;
925
874
  payload: CliJsonValue;
926
- diagnostics: z.objectInputType<{
875
+ diagnostics: z.objectOutputType<{
927
876
  severity: z.ZodEnum<["error", "warning", "info"]>;
928
877
  code: z.ZodString;
929
878
  message: z.ZodString;
@@ -935,7 +884,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
935
884
  store?: string | undefined;
936
885
  };
937
886
  contractError?: string | undefined;
938
- root?: z.objectInputType<{
887
+ root?: z.objectOutputType<{
939
888
  path: z.ZodString;
940
889
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
941
890
  store_id: z.ZodOptional<z.ZodString>;
@@ -943,6 +892,31 @@ declare const ChangeStatusSchema: z.ZodObject<{
943
892
  } & {
944
893
  [k: string]: unknown;
945
894
  };
895
+ } | {
896
+ kind: "static";
897
+ };
898
+ }, {
899
+ changeName: string;
900
+ schemaName: string;
901
+ isPlanningComplete: boolean;
902
+ applyRequires: string[];
903
+ artifacts: {
904
+ status: "done" | "skipped" | "ready" | "blocked";
905
+ id: string;
906
+ outputPath: string;
907
+ requires: string[];
908
+ missingDeps?: string[] | undefined;
909
+ relativePath?: string | undefined;
910
+ }[];
911
+ provenance: {
912
+ kind: "cli";
913
+ root: {
914
+ path: string;
915
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
916
+ store_id?: string | undefined;
917
+ } & {
918
+ [k: string]: unknown;
919
+ };
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
  };
@@ -985,14 +985,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
985
985
  }, "strip", z.ZodTypeAny, {
986
986
  path: string;
987
987
  id: string;
988
- description: string;
989
988
  done: boolean;
989
+ description: string;
990
990
  skipped?: boolean | undefined;
991
991
  }, {
992
992
  path: string;
993
993
  id: string;
994
- description: 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">>;
@@ -1311,89 +1311,91 @@ 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, {
1325
- message: string;
1326
1325
  kind: "tracked-task-mismatch";
1326
+ message: string;
1327
1327
  apply: {
1328
1328
  complete: number;
1329
1329
  total: number;
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
  }, {
1339
- message: string;
1340
1339
  kind: "tracked-task-mismatch";
1340
+ message: string;
1341
1341
  apply: {
1342
1342
  complete: number;
1343
1343
  total: number;
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
- state: "ready" | "blocked" | "all_done";
1355
- complete: number;
1356
1354
  source: "openspec-instructions-apply";
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;
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
- state: "ready" | "blocked" | "all_done";
1376
- complete: number;
1377
1375
  source: "openspec-instructions-apply";
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;
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
+ changeName: string;
1398
+ schemaName: string;
1397
1399
  evidence: {
1398
1400
  success: boolean;
1399
1401
  stdout: string;
@@ -1420,39 +1422,38 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1420
1422
  } & {
1421
1423
  [k: string]: unknown;
1422
1424
  };
1423
- state: "ready" | "blocked" | "all_done";
1425
+ changeDir: string;
1426
+ instruction: string;
1427
+ contextFiles: Record<string, string[]>;
1424
1428
  tasks: {
1425
1429
  id: string;
1426
- description: string;
1427
1430
  done: boolean;
1431
+ description: string;
1428
1432
  }[];
1429
- changeName: string;
1430
- schemaName: string;
1431
- changeDir: string;
1432
- instruction: string;
1433
- contextFiles: Record<string, string[]>;
1433
+ state: "ready" | "blocked" | "all_done";
1434
1434
  applyInstructionProgress: {
1435
- state: "ready" | "blocked" | "all_done";
1436
- complete: number;
1437
1435
  source: "openspec-instructions-apply";
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;
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;
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,10 +1489,11 @@ 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
1498
  success: boolean;
1497
1499
  stdout: string;
@@ -1518,39 +1520,38 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1518
1520
  } & {
1519
1521
  [k: string]: unknown;
1520
1522
  };
1521
- state: "ready" | "blocked" | "all_done";
1523
+ changeDir: string;
1524
+ instruction: string;
1525
+ contextFiles: Record<string, string | string[]>;
1522
1526
  tasks: {
1523
1527
  id: string;
1524
- description: string;
1525
1528
  done: boolean;
1529
+ description: string;
1526
1530
  }[];
1527
- changeName: string;
1528
- schemaName: string;
1529
- changeDir: string;
1530
- instruction: string;
1531
- contextFiles: Record<string, string | string[]>;
1531
+ state: "ready" | "blocked" | "all_done";
1532
1532
  applyInstructionProgress: {
1533
- state: "ready" | "blocked" | "all_done";
1534
- complete: number;
1535
1533
  source: "openspec-instructions-apply";
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;
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;
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,6 +1875,8 @@ 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
1881
  success: boolean;
1880
1882
  stdout: string;
@@ -1901,22 +1903,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1901
1903
  } & {
1902
1904
  [k: string]: unknown;
1903
1905
  };
1904
- state: "ready" | "blocked" | "all_done";
1906
+ changeDir: string;
1907
+ instruction: string;
1908
+ contextFiles: Record<string, string[]>;
1905
1909
  tasks: {
1906
1910
  id: string;
1907
- description: string;
1908
1911
  done: boolean;
1912
+ description: string;
1909
1913
  }[];
1914
+ state: "ready" | "blocked" | "all_done";
1910
1915
  progress: {
1911
1916
  complete: number;
1912
1917
  total: number;
1913
1918
  remaining: number;
1914
1919
  };
1915
- changeName: string;
1916
- schemaName: string;
1917
- changeDir: string;
1918
- instruction: string;
1919
- contextFiles: Record<string, string[]>;
1920
+ context?: string | undefined;
1920
1921
  references?: z.objectOutputType<{
1921
1922
  store_id: z.ZodString;
1922
1923
  root: z.ZodOptional<z.ZodString>;
@@ -1952,10 +1953,11 @@ 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
1962
  success: boolean;
1961
1963
  stdout: string;
@@ -1982,22 +1984,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1982
1984
  } & {
1983
1985
  [k: string]: unknown;
1984
1986
  };
1985
- state: "ready" | "blocked" | "all_done";
1987
+ changeDir: string;
1988
+ instruction: string;
1989
+ contextFiles: Record<string, string | string[]>;
1986
1990
  tasks: {
1987
1991
  id: string;
1988
- description: string;
1989
1992
  done: boolean;
1993
+ description: string;
1990
1994
  }[];
1995
+ state: "ready" | "blocked" | "all_done";
1991
1996
  progress: {
1992
1997
  complete: number;
1993
1998
  total: number;
1994
1999
  remaining: number;
1995
2000
  };
1996
- changeName: string;
1997
- schemaName: string;
1998
- changeDir: string;
1999
- instruction: string;
2000
- contextFiles: Record<string, string | string[]>;
2001
+ context?: string | undefined;
2001
2002
  references?: z.objectInputType<{
2002
2003
  store_id: z.ZodString;
2003
2004
  root: z.ZodOptional<z.ZodString>;
@@ -2033,11 +2034,12 @@ 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
2044
  success: boolean;
2043
2045
  stdout: string;
@@ -2064,17 +2066,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2064
2066
  } & {
2065
2067
  [k: string]: unknown;
2066
2068
  };
2067
- state: "ready" | "blocked" | "all_done";
2069
+ changeDir: string;
2070
+ instruction: string;
2071
+ contextFiles: Record<string, string[]>;
2068
2072
  tasks: {
2069
2073
  id: string;
2070
- description: string;
2071
2074
  done: boolean;
2075
+ description: string;
2072
2076
  }[];
2073
- changeName: string;
2074
- schemaName: string;
2075
- changeDir: string;
2076
- instruction: string;
2077
- contextFiles: Record<string, string[]>;
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,10 +2111,11 @@ 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
2120
  success: boolean;
2119
2121
  stdout: string;
@@ -2140,22 +2142,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2140
2142
  } & {
2141
2143
  [k: string]: unknown;
2142
2144
  };
2143
- state: "ready" | "blocked" | "all_done";
2145
+ changeDir: string;
2146
+ instruction: string;
2147
+ contextFiles: Record<string, string | string[]>;
2144
2148
  tasks: {
2145
2149
  id: string;
2146
- description: string;
2147
2150
  done: boolean;
2151
+ description: string;
2148
2152
  }[];
2153
+ state: "ready" | "blocked" | "all_done";
2149
2154
  progress: {
2150
2155
  complete: number;
2151
2156
  total: number;
2152
2157
  remaining: number;
2153
2158
  };
2154
- changeName: string;
2155
- schemaName: string;
2156
- changeDir: string;
2157
- instruction: string;
2158
- contextFiles: Record<string, string | string[]>;
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">>;
@@ -2493,89 +2493,91 @@ 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, {
2507
- message: string;
2508
2507
  kind: "tracked-task-mismatch";
2508
+ message: string;
2509
2509
  apply: {
2510
2510
  complete: number;
2511
2511
  total: number;
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
  }, {
2521
- message: string;
2522
2521
  kind: "tracked-task-mismatch";
2522
+ message: string;
2523
2523
  apply: {
2524
2524
  complete: number;
2525
2525
  total: number;
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
- state: "ready" | "blocked" | "all_done";
2537
- complete: number;
2538
2536
  source: "openspec-instructions-apply";
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;
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
- state: "ready" | "blocked" | "all_done";
2558
- complete: number;
2559
2557
  source: "openspec-instructions-apply";
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;
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
+ changeName: string;
2580
+ schemaName: string;
2579
2581
  evidence: {
2580
2582
  success: boolean;
2581
2583
  stdout: string;
@@ -2602,39 +2604,38 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2602
2604
  } & {
2603
2605
  [k: string]: unknown;
2604
2606
  };
2605
- state: "ready" | "blocked" | "all_done";
2607
+ changeDir: string;
2608
+ instruction: string;
2609
+ contextFiles: Record<string, string[]>;
2606
2610
  tasks: {
2607
2611
  id: string;
2608
- description: string;
2609
2612
  done: boolean;
2613
+ description: string;
2610
2614
  }[];
2611
- changeName: string;
2612
- schemaName: string;
2613
- changeDir: string;
2614
- instruction: string;
2615
- contextFiles: Record<string, string[]>;
2615
+ state: "ready" | "blocked" | "all_done";
2616
2616
  applyInstructionProgress: {
2617
- state: "ready" | "blocked" | "all_done";
2618
- complete: number;
2619
2617
  source: "openspec-instructions-apply";
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;
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;
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,10 +2671,11 @@ 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
2680
  success: boolean;
2679
2681
  stdout: string;
@@ -2700,39 +2702,38 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2700
2702
  } & {
2701
2703
  [k: string]: unknown;
2702
2704
  };
2703
- state: "ready" | "blocked" | "all_done";
2705
+ changeDir: string;
2706
+ instruction: string;
2707
+ contextFiles: Record<string, string | string[]>;
2704
2708
  tasks: {
2705
2709
  id: string;
2706
- description: string;
2707
2710
  done: boolean;
2711
+ description: string;
2708
2712
  }[];
2709
- changeName: string;
2710
- schemaName: string;
2711
- changeDir: string;
2712
- instruction: string;
2713
- contextFiles: Record<string, string | string[]>;
2713
+ state: "ready" | "blocked" | "all_done";
2714
2714
  applyInstructionProgress: {
2715
- state: "ready" | "blocked" | "all_done";
2716
- complete: number;
2717
2715
  source: "openspec-instructions-apply";
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;
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;
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,6 +2923,7 @@ 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
2928
  success: boolean;
2928
2929
  stdout: string;
@@ -2949,10 +2950,10 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
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
2958
  success: boolean;
2958
2959
  stdout: string;
@@ -2979,7 +2980,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2979
2980
  } & {
2980
2981
  [k: string]: unknown;
2981
2982
  };
2982
- changeName: string;
2983
2983
  context?: string | undefined;
2984
2984
  operationGuidance?: string[] | undefined;
2985
2985
  }>;
@@ -3004,14 +3004,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3004
3004
  }, "strip", z.ZodTypeAny, {
3005
3005
  path: string;
3006
3006
  id: string;
3007
- description: string;
3008
3007
  done: boolean;
3008
+ description: string;
3009
3009
  skipped?: boolean | undefined;
3010
3010
  }, {
3011
3011
  path: string;
3012
3012
  id: string;
3013
- description: 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,6 +3264,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3264
3264
  command: z.ZodLiteral<"instructions">;
3265
3265
  }, z.ZodTypeAny, "passthrough">>;
3266
3266
  }, "strip", z.ZodTypeAny, {
3267
+ changeName: string;
3268
+ schemaName: string;
3269
+ outputPath: string;
3267
3270
  evidence: {
3268
3271
  success: boolean;
3269
3272
  stdout: string;
@@ -3291,20 +3294,20 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3291
3294
  [k: string]: unknown;
3292
3295
  };
3293
3296
  artifactId: string;
3294
- outputPath: string;
3297
+ changeDir: string;
3295
3298
  description: string;
3296
3299
  template: string;
3297
- changeName: string;
3298
- schemaName: string;
3299
- changeDir: string;
3300
3300
  dependencies: {
3301
3301
  path: string;
3302
3302
  id: string;
3303
- description: 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,10 +3343,10 @@ 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
+ changeName: string;
3348
+ schemaName: string;
3349
+ outputPath: string;
3347
3350
  evidence: {
3348
3351
  success: boolean;
3349
3352
  stdout: string;
@@ -3371,20 +3374,20 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3371
3374
  [k: string]: unknown;
3372
3375
  };
3373
3376
  artifactId: string;
3374
- outputPath: string;
3377
+ changeDir: string;
3375
3378
  description: string;
3376
3379
  template: string;
3377
- changeName: string;
3378
- schemaName: string;
3379
- changeDir: string;
3380
3380
  dependencies: {
3381
3381
  path: string;
3382
3382
  id: string;
3383
- description: 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,47 +3569,47 @@ 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
  }[];
3596
- version?: string | number | undefined;
3595
+ name: string;
3597
3596
  description?: string | undefined;
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
  }[];
3611
- version?: string | number | undefined;
3610
+ name: string;
3612
3611
  description?: string | undefined;
3612
+ version?: string | number | undefined;
3613
3613
  applyTracks?: string | undefined;
3614
3614
  applyInstruction?: string | undefined;
3615
3615
  }>;
@@ -3648,47 +3648,47 @@ 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
  }[];
3675
- version?: string | number | undefined;
3674
+ name: string;
3676
3675
  description?: string | undefined;
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
  }[];
3690
- version?: string | number | undefined;
3689
+ name: string;
3691
3690
  description?: string | undefined;
3691
+ version?: string | number | undefined;
3692
3692
  applyTracks?: string | undefined;
3693
3693
  applyInstruction?: string | undefined;
3694
3694
  }>>>;
@@ -3767,18 +3767,18 @@ 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
  }[];
3780
- version?: string | number | undefined;
3779
+ name: string;
3781
3780
  description?: string | undefined;
3781
+ version?: string | number | undefined;
3782
3782
  applyTracks?: string | undefined;
3783
3783
  applyInstruction?: string | undefined;
3784
3784
  } | null>;
@@ -3813,18 +3813,18 @@ 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
  }[];
3826
- version?: string | number | undefined;
3825
+ name: string;
3827
3826
  description?: string | undefined;
3827
+ version?: string | number | undefined;
3828
3828
  applyTracks?: string | undefined;
3829
3829
  applyInstruction?: string | undefined;
3830
3830
  } | null>;