@openspecui/core 13.0.2 → 14.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-DvfqdWF7.d.mts → active-root-config-EIowq49O.d.mts} +17 -17
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +59 -59
  4. package/dist/{cli-projection-CXrDqHG1.d.mts → cli-projection-e0TxFXmU.d.mts} +17 -17
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{command-result-DqV3-Bf9.mjs → command-result-BBsaUYw2.mjs} +76 -7
  7. package/dist/{dashboard-summary-transport-C4sdZq07.d.mts → dashboard-summary-transport-B7L2JSs-.d.mts} +3643 -3543
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  9. package/dist/{document-translation-CGMD0RLA.d.mts → document-translation-DzF7Og-j.d.mts} +102 -102
  10. package/dist/document-translation.d.mts +1 -1
  11. package/dist/hosted-app.d.mts +18 -18
  12. package/dist/hosted-contract.d.mts +18 -18
  13. package/dist/{index-D9LApBD3.d.mts → index-D8GM018H.d.mts} +1314 -80
  14. package/dist/index.d.mts +18 -18
  15. package/dist/index.mjs +167 -41
  16. package/dist/{local-download-profiles-DtOKu_Qa.d.mts → local-download-profiles-DWHZXsY_.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/{notifications-B72cq-2I.d.mts → notifications-BPz-EXzD.d.mts} +8 -8
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/{openspec-compat-CNMMuTot.mjs → openspec-compat-B1OCT-hK.mjs} +14 -13
  21. package/dist/openspec-compat.d.mts +4 -4
  22. package/dist/openspec-compat.mjs +2 -2
  23. package/dist/{openspec-projection-Dm-H-UMk.d.mts → openspec-projection-Bh3BECEE.d.mts} +1 -1
  24. package/dist/openspec-projection.d.mts +2 -2
  25. package/dist/{opsx-entity-C4DJzbUg.d.mts → opsx-entity-Q_C0zjFo.d.mts} +2 -2
  26. package/dist/opsx-entity.d.mts +7 -7
  27. package/dist/{opsx-schema-detail-CnTtGQsR.d.mts → opsx-schema-detail-DhoLJ6GN.d.mts} +2 -2
  28. package/dist/opsx-schema-detail.d.mts +8 -8
  29. package/dist/{opsx-types-BbERbtH2.d.mts → opsx-types-FvNmqVVh.d.mts} +239 -165
  30. package/dist/{planning-cli-projection-DpQfHj61.mjs → planning-cli-projection-DJ9Llzan.mjs} +23 -6
  31. package/dist/planning-cli-projection.d.mts +18 -18
  32. package/dist/planning-cli-projection.mjs +3 -3
  33. package/dist/{schemas-Bmw7OKBb.d.mts → schemas-DqfpM3ZI.d.mts} +84 -84
  34. package/dist/{sounds-BpMOHwvO.d.mts → sounds-DbXwtc44.d.mts} +9 -9
  35. package/dist/sounds.d.mts +1 -1
  36. package/dist/{spec-catalog-Cx_PE3WR.mjs → spec-catalog-Ce-UQqxo.mjs} +14 -1
  37. package/dist/spec-catalog.d.mts +18 -18
  38. package/dist/spec-catalog.mjs +2 -2
  39. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +24 -24
  40. package/dist/store-mutation-protocol.d.mts +1 -1
  41. package/dist/{store-types-DzBETNjJ.d.mts → store-types-WFLdYbRL.d.mts} +1 -1
  42. package/dist/store-types.d.mts +5 -5
  43. package/dist/task-progress.d.mts +6 -6
  44. package/dist/{terminal-audio-BZDsms7w.d.mts → terminal-audio-Bg8XXd3h.d.mts} +2 -2
  45. package/dist/terminal-audio.d.mts +2 -2
  46. package/dist/terminal-control.d.mts +2 -2
  47. package/dist/{terminal-invocation-BA-nywHh.d.mts → terminal-invocation-CLNVHNYw.d.mts} +22 -22
  48. package/dist/terminal-invocation.d.mts +1 -1
  49. package/dist/{translator-C_jPrCMR.d.mts → translator-BW01wfHG.d.mts} +261 -261
  50. package/dist/translator.d.mts +1 -1
  51. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
- import { Tt as CliJsonValue } from "./index-D9LApBD3.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-Bmw7OKBb.mjs";
1
+ import { Tt as CliJsonValue } from "./index-D8GM018H.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-DqfpM3ZI.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -449,6 +449,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
449
449
  missingDeps?: string[] | undefined;
450
450
  relativePath?: string | undefined;
451
451
  }>, "many">;
452
+ /**
453
+ * OpenSpec 1.14 top-level advisory warnings (unrecognized `.openspec.yaml` keys).
454
+ * Verbatim CLI evidence, absent when the CLI omitted it — never a synthesized empty
455
+ * array and never a gate on planning facts or actions. The Kernel's
456
+ * `projectWorkflowStatus` rebuild copies this member explicitly because the
457
+ * decode-side `.passthrough()` retention does not survive the object rebuild.
458
+ */
459
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
452
460
  provenance: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
453
461
  kind: z.ZodLiteral<"cli">;
454
462
  planningHome: z.ZodObject<{
@@ -692,32 +700,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
692
700
  } & {
693
701
  [k: string]: unknown;
694
702
  };
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
703
  planningHome: {
722
704
  kind: "repo";
723
705
  root: string;
@@ -746,22 +728,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
746
728
  } & {
747
729
  [k: string]: unknown;
748
730
  };
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
731
  evidence: {
759
732
  success: boolean;
760
733
  stdout: string;
761
734
  stderr: string;
762
735
  exitCode: number | null;
763
736
  payload: CliJsonValue;
764
- diagnostics: z.objectInputType<{
737
+ diagnostics: z.objectOutputType<{
765
738
  severity: z.ZodEnum<["error", "warning", "info"]>;
766
739
  code: z.ZodString;
767
740
  message: z.ZodString;
@@ -773,7 +746,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
773
746
  store?: string | undefined;
774
747
  };
775
748
  contractError?: string | undefined;
776
- root?: z.objectInputType<{
749
+ root?: z.objectOutputType<{
777
750
  path: z.ZodString;
778
751
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
779
752
  store_id: z.ZodOptional<z.ZodString>;
@@ -781,6 +754,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
781
754
  } & {
782
755
  [k: string]: unknown;
783
756
  };
757
+ }, {
758
+ kind: "cli";
759
+ root: {
760
+ path: string;
761
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
762
+ store_id?: string | undefined;
763
+ } & {
764
+ [k: string]: unknown;
765
+ };
784
766
  planningHome: {
785
767
  kind: "repo";
786
768
  root: string;
@@ -809,6 +791,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
809
791
  } & {
810
792
  [k: string]: unknown;
811
793
  };
794
+ evidence: {
795
+ success: boolean;
796
+ stdout: string;
797
+ stderr: string;
798
+ exitCode: number | null;
799
+ payload: CliJsonValue;
800
+ diagnostics: z.objectInputType<{
801
+ severity: z.ZodEnum<["error", "warning", "info"]>;
802
+ code: z.ZodString;
803
+ message: z.ZodString;
804
+ target: z.ZodOptional<z.ZodString>;
805
+ fix: z.ZodOptional<z.ZodString>;
806
+ }, z.ZodTypeAny, "passthrough">[];
807
+ command: "status";
808
+ selector: {
809
+ store?: string | undefined;
810
+ };
811
+ contractError?: string | undefined;
812
+ root?: z.objectInputType<{
813
+ path: z.ZodString;
814
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
815
+ store_id: z.ZodOptional<z.ZodString>;
816
+ }, z.ZodTypeAny, "passthrough"> | undefined;
817
+ } & {
818
+ [k: string]: unknown;
819
+ };
812
820
  }>, z.ZodObject<{
813
821
  kind: z.ZodLiteral<"static">;
814
822
  }, "strip", z.ZodTypeAny, {
@@ -838,32 +846,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
838
846
  } & {
839
847
  [k: string]: unknown;
840
848
  };
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
849
  planningHome: {
868
850
  kind: "repo";
869
851
  root: string;
@@ -892,9 +874,36 @@ declare const ChangeStatusSchema: z.ZodObject<{
892
874
  } & {
893
875
  [k: string]: unknown;
894
876
  };
877
+ evidence: {
878
+ success: boolean;
879
+ stdout: string;
880
+ stderr: string;
881
+ exitCode: number | null;
882
+ payload: CliJsonValue;
883
+ diagnostics: z.objectOutputType<{
884
+ severity: z.ZodEnum<["error", "warning", "info"]>;
885
+ code: z.ZodString;
886
+ message: z.ZodString;
887
+ target: z.ZodOptional<z.ZodString>;
888
+ fix: z.ZodOptional<z.ZodString>;
889
+ }, z.ZodTypeAny, "passthrough">[];
890
+ command: "status";
891
+ selector: {
892
+ store?: string | undefined;
893
+ };
894
+ contractError?: string | undefined;
895
+ root?: z.objectOutputType<{
896
+ path: z.ZodString;
897
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
898
+ store_id: z.ZodOptional<z.ZodString>;
899
+ }, z.ZodTypeAny, "passthrough"> | undefined;
900
+ } & {
901
+ [k: string]: unknown;
902
+ };
895
903
  } | {
896
904
  kind: "static";
897
905
  };
906
+ warnings?: string[] | undefined;
898
907
  }, {
899
908
  changeName: string;
900
909
  schemaName: string;
@@ -917,32 +926,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
917
926
  } & {
918
927
  [k: string]: unknown;
919
928
  };
920
- evidence: {
921
- success: boolean;
922
- stdout: string;
923
- stderr: string;
924
- exitCode: number | null;
925
- payload: CliJsonValue;
926
- diagnostics: z.objectInputType<{
927
- severity: z.ZodEnum<["error", "warning", "info"]>;
928
- code: z.ZodString;
929
- message: z.ZodString;
930
- target: z.ZodOptional<z.ZodString>;
931
- fix: z.ZodOptional<z.ZodString>;
932
- }, z.ZodTypeAny, "passthrough">[];
933
- command: "status";
934
- selector: {
935
- store?: string | undefined;
936
- };
937
- contractError?: string | undefined;
938
- root?: z.objectInputType<{
939
- path: z.ZodString;
940
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
941
- store_id: z.ZodOptional<z.ZodString>;
942
- }, z.ZodTypeAny, "passthrough"> | undefined;
943
- } & {
944
- [k: string]: unknown;
945
- };
946
929
  planningHome: {
947
930
  kind: "repo";
948
931
  root: string;
@@ -971,9 +954,36 @@ declare const ChangeStatusSchema: z.ZodObject<{
971
954
  } & {
972
955
  [k: string]: unknown;
973
956
  };
957
+ evidence: {
958
+ success: boolean;
959
+ stdout: string;
960
+ stderr: string;
961
+ exitCode: number | null;
962
+ payload: CliJsonValue;
963
+ diagnostics: z.objectInputType<{
964
+ severity: z.ZodEnum<["error", "warning", "info"]>;
965
+ code: z.ZodString;
966
+ message: z.ZodString;
967
+ target: z.ZodOptional<z.ZodString>;
968
+ fix: z.ZodOptional<z.ZodString>;
969
+ }, z.ZodTypeAny, "passthrough">[];
970
+ command: "status";
971
+ selector: {
972
+ store?: string | undefined;
973
+ };
974
+ contractError?: string | undefined;
975
+ root?: z.objectInputType<{
976
+ path: z.ZodString;
977
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
978
+ store_id: z.ZodOptional<z.ZodString>;
979
+ }, z.ZodTypeAny, "passthrough"> | undefined;
980
+ } & {
981
+ [k: string]: unknown;
982
+ };
974
983
  } | {
975
984
  kind: "static";
976
985
  };
986
+ warnings?: string[] | undefined;
977
987
  }>;
978
988
  type ChangeStatus = z.infer<typeof ChangeStatusSchema>;
979
989
  declare const DependencyInfoSchema: z.ZodObject<{
@@ -1000,14 +1010,26 @@ declare const ApplyTaskSchema: z.ZodObject<{
1000
1010
  id: z.ZodString;
1001
1011
  description: z.ZodString;
1002
1012
  done: z.ZodBoolean;
1013
+ /**
1014
+ * OpenSpec 1.14 LocatedTask source locations: the absolute `sourcePath` of the file
1015
+ * the checkbox lives in plus its 1-based `line`. Optional because older payloads may
1016
+ * lack them; verbatim CLI evidence, never re-derived or second-guessed, and never an
1017
+ * input to `createApplyInstructionProgress`.
1018
+ */
1019
+ sourcePath: z.ZodOptional<z.ZodString>;
1020
+ line: z.ZodOptional<z.ZodNumber>;
1003
1021
  }, "strip", z.ZodTypeAny, {
1004
1022
  id: string;
1005
1023
  done: boolean;
1006
1024
  description: string;
1025
+ sourcePath?: string | undefined;
1026
+ line?: number | undefined;
1007
1027
  }, {
1008
1028
  id: string;
1009
1029
  done: boolean;
1010
1030
  description: string;
1031
+ sourcePath?: string | undefined;
1032
+ line?: number | undefined;
1011
1033
  }>;
1012
1034
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1013
1035
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1021,14 +1043,26 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1021
1043
  id: z.ZodString;
1022
1044
  description: z.ZodString;
1023
1045
  done: z.ZodBoolean;
1046
+ /**
1047
+ * OpenSpec 1.14 LocatedTask source locations: the absolute `sourcePath` of the file
1048
+ * the checkbox lives in plus its 1-based `line`. Optional because older payloads may
1049
+ * lack them; verbatim CLI evidence, never re-derived or second-guessed, and never an
1050
+ * input to `createApplyInstructionProgress`.
1051
+ */
1052
+ sourcePath: z.ZodOptional<z.ZodString>;
1053
+ line: z.ZodOptional<z.ZodNumber>;
1024
1054
  }, "strip", z.ZodTypeAny, {
1025
1055
  id: string;
1026
1056
  done: boolean;
1027
1057
  description: string;
1058
+ sourcePath?: string | undefined;
1059
+ line?: number | undefined;
1028
1060
  }, {
1029
1061
  id: string;
1030
1062
  done: boolean;
1031
1063
  description: string;
1064
+ sourcePath?: string | undefined;
1065
+ line?: number | undefined;
1032
1066
  }>, "many">;
1033
1067
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1034
1068
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1335,13 +1369,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1335
1369
  phase: "no-tasks" | "in-progress" | "complete";
1336
1370
  }>;
1337
1371
  }, "strip", z.ZodTypeAny, {
1338
- message: string;
1339
- kind: "tracked-task-mismatch";
1340
1372
  apply: {
1341
1373
  complete: number;
1342
1374
  total: number;
1343
1375
  remaining: number;
1344
1376
  };
1377
+ message: string;
1378
+ kind: "tracked-task-mismatch";
1345
1379
  tracked: {
1346
1380
  completed: number;
1347
1381
  total: number;
@@ -1349,13 +1383,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1349
1383
  phase: "no-tasks" | "in-progress" | "complete";
1350
1384
  };
1351
1385
  }, {
1352
- message: string;
1353
- kind: "tracked-task-mismatch";
1354
1386
  apply: {
1355
1387
  complete: number;
1356
1388
  total: number;
1357
1389
  remaining: number;
1358
1390
  };
1391
+ message: string;
1392
+ kind: "tracked-task-mismatch";
1359
1393
  tracked: {
1360
1394
  completed: number;
1361
1395
  total: number;
@@ -1370,13 +1404,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1370
1404
  remaining: number;
1371
1405
  source: "openspec-instructions-apply";
1372
1406
  divergence: {
1373
- message: string;
1374
- kind: "tracked-task-mismatch";
1375
1407
  apply: {
1376
1408
  complete: number;
1377
1409
  total: number;
1378
1410
  remaining: number;
1379
1411
  };
1412
+ message: string;
1413
+ kind: "tracked-task-mismatch";
1380
1414
  tracked: {
1381
1415
  completed: number;
1382
1416
  total: number;
@@ -1391,13 +1425,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1391
1425
  remaining: number;
1392
1426
  source: "openspec-instructions-apply";
1393
1427
  divergence: {
1394
- message: string;
1395
- kind: "tracked-task-mismatch";
1396
1428
  apply: {
1397
1429
  complete: number;
1398
1430
  total: number;
1399
1431
  remaining: number;
1400
1432
  };
1433
+ message: string;
1434
+ kind: "tracked-task-mismatch";
1401
1435
  tracked: {
1402
1436
  completed: number;
1403
1437
  total: number;
@@ -1412,7 +1446,11 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1412
1446
  id: string;
1413
1447
  done: boolean;
1414
1448
  description: string;
1449
+ sourcePath?: string | undefined;
1450
+ line?: number | undefined;
1415
1451
  }[];
1452
+ changeName: string;
1453
+ schemaName: string;
1416
1454
  evidence: {
1417
1455
  success: boolean;
1418
1456
  stdout: string;
@@ -1439,8 +1477,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1439
1477
  } & {
1440
1478
  [k: string]: unknown;
1441
1479
  };
1442
- changeName: string;
1443
- schemaName: string;
1444
1480
  changeDir: string;
1445
1481
  instruction: string;
1446
1482
  contextFiles: Record<string, string[]>;
@@ -1451,13 +1487,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1451
1487
  remaining: number;
1452
1488
  source: "openspec-instructions-apply";
1453
1489
  divergence: {
1454
- message: string;
1455
- kind: "tracked-task-mismatch";
1456
1490
  apply: {
1457
1491
  complete: number;
1458
1492
  total: number;
1459
1493
  remaining: number;
1460
1494
  };
1495
+ message: string;
1496
+ kind: "tracked-task-mismatch";
1461
1497
  tracked: {
1462
1498
  completed: number;
1463
1499
  total: number;
@@ -1466,6 +1502,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1466
1502
  };
1467
1503
  } | null;
1468
1504
  };
1505
+ warnings?: string[] | undefined;
1506
+ context?: string | undefined;
1469
1507
  references?: z.objectOutputType<{
1470
1508
  store_id: z.ZodString;
1471
1509
  root: z.ZodOptional<z.ZodString>;
@@ -1501,8 +1539,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1501
1539
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1502
1540
  fetch: z.ZodOptional<z.ZodString>;
1503
1541
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1504
- context?: string | undefined;
1505
- warnings?: string[] | undefined;
1506
1542
  missingArtifacts?: string[] | undefined;
1507
1543
  missingPrerequisites?: string[] | undefined;
1508
1544
  taskTrackingConfigured?: boolean | undefined;
@@ -1517,7 +1553,11 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1517
1553
  id: string;
1518
1554
  done: boolean;
1519
1555
  description: string;
1556
+ sourcePath?: string | undefined;
1557
+ line?: number | undefined;
1520
1558
  }[];
1559
+ changeName: string;
1560
+ schemaName: string;
1521
1561
  evidence: {
1522
1562
  success: boolean;
1523
1563
  stdout: string;
@@ -1544,8 +1584,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1544
1584
  } & {
1545
1585
  [k: string]: unknown;
1546
1586
  };
1547
- changeName: string;
1548
- schemaName: string;
1549
1587
  changeDir: string;
1550
1588
  instruction: string;
1551
1589
  contextFiles: Record<string, string | string[]>;
@@ -1556,13 +1594,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1556
1594
  remaining: number;
1557
1595
  source: "openspec-instructions-apply";
1558
1596
  divergence: {
1559
- message: string;
1560
- kind: "tracked-task-mismatch";
1561
1597
  apply: {
1562
1598
  complete: number;
1563
1599
  total: number;
1564
1600
  remaining: number;
1565
1601
  };
1602
+ message: string;
1603
+ kind: "tracked-task-mismatch";
1566
1604
  tracked: {
1567
1605
  completed: number;
1568
1606
  total: number;
@@ -1571,6 +1609,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1571
1609
  };
1572
1610
  } | null;
1573
1611
  };
1612
+ warnings?: string[] | undefined;
1613
+ context?: string | undefined;
1574
1614
  references?: z.objectInputType<{
1575
1615
  store_id: z.ZodString;
1576
1616
  root: z.ZodOptional<z.ZodString>;
@@ -1606,8 +1646,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1606
1646
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1607
1647
  fetch: z.ZodOptional<z.ZodString>;
1608
1648
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1609
- context?: string | undefined;
1610
- warnings?: string[] | undefined;
1611
1649
  missingArtifacts?: string[] | undefined;
1612
1650
  missingPrerequisites?: string[] | undefined;
1613
1651
  taskTrackingConfigured?: boolean | undefined;
@@ -1639,14 +1677,26 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1639
1677
  id: z.ZodString;
1640
1678
  description: z.ZodString;
1641
1679
  done: z.ZodBoolean;
1680
+ /**
1681
+ * OpenSpec 1.14 LocatedTask source locations: the absolute `sourcePath` of the file
1682
+ * the checkbox lives in plus its 1-based `line`. Optional because older payloads may
1683
+ * lack them; verbatim CLI evidence, never re-derived or second-guessed, and never an
1684
+ * input to `createApplyInstructionProgress`.
1685
+ */
1686
+ sourcePath: z.ZodOptional<z.ZodString>;
1687
+ line: z.ZodOptional<z.ZodNumber>;
1642
1688
  }, "strip", z.ZodTypeAny, {
1643
1689
  id: string;
1644
1690
  done: boolean;
1645
1691
  description: string;
1692
+ sourcePath?: string | undefined;
1693
+ line?: number | undefined;
1646
1694
  }, {
1647
1695
  id: string;
1648
1696
  done: boolean;
1649
1697
  description: string;
1698
+ sourcePath?: string | undefined;
1699
+ line?: number | undefined;
1650
1700
  }>, "many">;
1651
1701
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1652
1702
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1920,7 +1970,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1920
1970
  id: string;
1921
1971
  done: boolean;
1922
1972
  description: string;
1973
+ sourcePath?: string | undefined;
1974
+ line?: number | undefined;
1923
1975
  }[];
1976
+ changeName: string;
1977
+ schemaName: string;
1924
1978
  evidence: {
1925
1979
  success: boolean;
1926
1980
  stdout: string;
@@ -1947,8 +2001,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1947
2001
  } & {
1948
2002
  [k: string]: unknown;
1949
2003
  };
1950
- changeName: string;
1951
- schemaName: string;
1952
2004
  changeDir: string;
1953
2005
  instruction: string;
1954
2006
  contextFiles: Record<string, string[]>;
@@ -1957,6 +2009,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1957
2009
  total: number;
1958
2010
  remaining: number;
1959
2011
  };
2012
+ warnings?: string[] | undefined;
2013
+ context?: string | undefined;
1960
2014
  references?: z.objectOutputType<{
1961
2015
  store_id: z.ZodString;
1962
2016
  root: z.ZodOptional<z.ZodString>;
@@ -1992,8 +2046,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1992
2046
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1993
2047
  fetch: z.ZodOptional<z.ZodString>;
1994
2048
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1995
- context?: string | undefined;
1996
- warnings?: string[] | undefined;
1997
2049
  missingArtifacts?: string[] | undefined;
1998
2050
  missingPrerequisites?: string[] | undefined;
1999
2051
  taskTrackingConfigured?: boolean | undefined;
@@ -2008,7 +2060,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2008
2060
  id: string;
2009
2061
  done: boolean;
2010
2062
  description: string;
2063
+ sourcePath?: string | undefined;
2064
+ line?: number | undefined;
2011
2065
  }[];
2066
+ changeName: string;
2067
+ schemaName: string;
2012
2068
  evidence: {
2013
2069
  success: boolean;
2014
2070
  stdout: string;
@@ -2035,8 +2091,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2035
2091
  } & {
2036
2092
  [k: string]: unknown;
2037
2093
  };
2038
- changeName: string;
2039
- schemaName: string;
2040
2094
  changeDir: string;
2041
2095
  instruction: string;
2042
2096
  contextFiles: Record<string, string | string[]>;
@@ -2045,6 +2099,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2045
2099
  total: number;
2046
2100
  remaining: number;
2047
2101
  };
2102
+ warnings?: string[] | undefined;
2103
+ context?: string | undefined;
2048
2104
  references?: z.objectInputType<{
2049
2105
  store_id: z.ZodString;
2050
2106
  root: z.ZodOptional<z.ZodString>;
@@ -2080,8 +2136,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2080
2136
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2081
2137
  fetch: z.ZodOptional<z.ZodString>;
2082
2138
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2083
- context?: string | undefined;
2084
- warnings?: string[] | undefined;
2085
2139
  missingArtifacts?: string[] | undefined;
2086
2140
  missingPrerequisites?: string[] | undefined;
2087
2141
  taskTrackingConfigured?: boolean | undefined;
@@ -2097,7 +2151,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2097
2151
  id: string;
2098
2152
  done: boolean;
2099
2153
  description: string;
2154
+ sourcePath?: string | undefined;
2155
+ line?: number | undefined;
2100
2156
  }[];
2157
+ changeName: string;
2158
+ schemaName: string;
2101
2159
  evidence: {
2102
2160
  success: boolean;
2103
2161
  stdout: string;
@@ -2124,11 +2182,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2124
2182
  } & {
2125
2183
  [k: string]: unknown;
2126
2184
  };
2127
- changeName: string;
2128
- schemaName: string;
2129
2185
  changeDir: string;
2130
2186
  instruction: string;
2131
2187
  contextFiles: Record<string, string[]>;
2188
+ warnings?: string[] | undefined;
2189
+ context?: string | undefined;
2132
2190
  references?: z.objectOutputType<{
2133
2191
  store_id: z.ZodString;
2134
2192
  root: z.ZodOptional<z.ZodString>;
@@ -2164,8 +2222,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2164
2222
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2165
2223
  fetch: z.ZodOptional<z.ZodString>;
2166
2224
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2167
- context?: string | undefined;
2168
- warnings?: string[] | undefined;
2169
2225
  missingArtifacts?: string[] | undefined;
2170
2226
  missingPrerequisites?: string[] | undefined;
2171
2227
  taskTrackingConfigured?: boolean | undefined;
@@ -2180,7 +2236,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2180
2236
  id: string;
2181
2237
  done: boolean;
2182
2238
  description: string;
2239
+ sourcePath?: string | undefined;
2240
+ line?: number | undefined;
2183
2241
  }[];
2242
+ changeName: string;
2243
+ schemaName: string;
2184
2244
  evidence: {
2185
2245
  success: boolean;
2186
2246
  stdout: string;
@@ -2207,8 +2267,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2207
2267
  } & {
2208
2268
  [k: string]: unknown;
2209
2269
  };
2210
- changeName: string;
2211
- schemaName: string;
2212
2270
  changeDir: string;
2213
2271
  instruction: string;
2214
2272
  contextFiles: Record<string, string | string[]>;
@@ -2217,6 +2275,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2217
2275
  total: number;
2218
2276
  remaining: number;
2219
2277
  };
2278
+ warnings?: string[] | undefined;
2279
+ context?: string | undefined;
2220
2280
  references?: z.objectInputType<{
2221
2281
  store_id: z.ZodString;
2222
2282
  root: z.ZodOptional<z.ZodString>;
@@ -2252,8 +2312,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2252
2312
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2253
2313
  fetch: z.ZodOptional<z.ZodString>;
2254
2314
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2255
- context?: string | undefined;
2256
- warnings?: string[] | undefined;
2257
2315
  missingArtifacts?: string[] | undefined;
2258
2316
  missingPrerequisites?: string[] | undefined;
2259
2317
  taskTrackingConfigured?: boolean | undefined;
@@ -2271,14 +2329,26 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2271
2329
  id: z.ZodString;
2272
2330
  description: z.ZodString;
2273
2331
  done: z.ZodBoolean;
2332
+ /**
2333
+ * OpenSpec 1.14 LocatedTask source locations: the absolute `sourcePath` of the file
2334
+ * the checkbox lives in plus its 1-based `line`. Optional because older payloads may
2335
+ * lack them; verbatim CLI evidence, never re-derived or second-guessed, and never an
2336
+ * input to `createApplyInstructionProgress`.
2337
+ */
2338
+ sourcePath: z.ZodOptional<z.ZodString>;
2339
+ line: z.ZodOptional<z.ZodNumber>;
2274
2340
  }, "strip", z.ZodTypeAny, {
2275
2341
  id: string;
2276
2342
  done: boolean;
2277
2343
  description: string;
2344
+ sourcePath?: string | undefined;
2345
+ line?: number | undefined;
2278
2346
  }, {
2279
2347
  id: string;
2280
2348
  done: boolean;
2281
2349
  description: string;
2350
+ sourcePath?: string | undefined;
2351
+ line?: number | undefined;
2282
2352
  }>, "many">;
2283
2353
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2284
2354
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2585,13 +2655,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2585
2655
  phase: "no-tasks" | "in-progress" | "complete";
2586
2656
  }>;
2587
2657
  }, "strip", z.ZodTypeAny, {
2588
- message: string;
2589
- kind: "tracked-task-mismatch";
2590
2658
  apply: {
2591
2659
  complete: number;
2592
2660
  total: number;
2593
2661
  remaining: number;
2594
2662
  };
2663
+ message: string;
2664
+ kind: "tracked-task-mismatch";
2595
2665
  tracked: {
2596
2666
  completed: number;
2597
2667
  total: number;
@@ -2599,13 +2669,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2599
2669
  phase: "no-tasks" | "in-progress" | "complete";
2600
2670
  };
2601
2671
  }, {
2602
- message: string;
2603
- kind: "tracked-task-mismatch";
2604
2672
  apply: {
2605
2673
  complete: number;
2606
2674
  total: number;
2607
2675
  remaining: number;
2608
2676
  };
2677
+ message: string;
2678
+ kind: "tracked-task-mismatch";
2609
2679
  tracked: {
2610
2680
  completed: number;
2611
2681
  total: number;
@@ -2620,13 +2690,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2620
2690
  remaining: number;
2621
2691
  source: "openspec-instructions-apply";
2622
2692
  divergence: {
2623
- message: string;
2624
- kind: "tracked-task-mismatch";
2625
2693
  apply: {
2626
2694
  complete: number;
2627
2695
  total: number;
2628
2696
  remaining: number;
2629
2697
  };
2698
+ message: string;
2699
+ kind: "tracked-task-mismatch";
2630
2700
  tracked: {
2631
2701
  completed: number;
2632
2702
  total: number;
@@ -2641,13 +2711,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2641
2711
  remaining: number;
2642
2712
  source: "openspec-instructions-apply";
2643
2713
  divergence: {
2644
- message: string;
2645
- kind: "tracked-task-mismatch";
2646
2714
  apply: {
2647
2715
  complete: number;
2648
2716
  total: number;
2649
2717
  remaining: number;
2650
2718
  };
2719
+ message: string;
2720
+ kind: "tracked-task-mismatch";
2651
2721
  tracked: {
2652
2722
  completed: number;
2653
2723
  total: number;
@@ -2662,7 +2732,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2662
2732
  id: string;
2663
2733
  done: boolean;
2664
2734
  description: string;
2735
+ sourcePath?: string | undefined;
2736
+ line?: number | undefined;
2665
2737
  }[];
2738
+ changeName: string;
2739
+ schemaName: string;
2666
2740
  evidence: {
2667
2741
  success: boolean;
2668
2742
  stdout: string;
@@ -2689,8 +2763,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2689
2763
  } & {
2690
2764
  [k: string]: unknown;
2691
2765
  };
2692
- changeName: string;
2693
- schemaName: string;
2694
2766
  changeDir: string;
2695
2767
  instruction: string;
2696
2768
  contextFiles: Record<string, string[]>;
@@ -2701,13 +2773,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2701
2773
  remaining: number;
2702
2774
  source: "openspec-instructions-apply";
2703
2775
  divergence: {
2704
- message: string;
2705
- kind: "tracked-task-mismatch";
2706
2776
  apply: {
2707
2777
  complete: number;
2708
2778
  total: number;
2709
2779
  remaining: number;
2710
2780
  };
2781
+ message: string;
2782
+ kind: "tracked-task-mismatch";
2711
2783
  tracked: {
2712
2784
  completed: number;
2713
2785
  total: number;
@@ -2716,6 +2788,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2716
2788
  };
2717
2789
  } | null;
2718
2790
  };
2791
+ warnings?: string[] | undefined;
2792
+ context?: string | undefined;
2719
2793
  references?: z.objectOutputType<{
2720
2794
  store_id: z.ZodString;
2721
2795
  root: z.ZodOptional<z.ZodString>;
@@ -2751,8 +2825,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2751
2825
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2752
2826
  fetch: z.ZodOptional<z.ZodString>;
2753
2827
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2754
- context?: string | undefined;
2755
- warnings?: string[] | undefined;
2756
2828
  missingArtifacts?: string[] | undefined;
2757
2829
  missingPrerequisites?: string[] | undefined;
2758
2830
  taskTrackingConfigured?: boolean | undefined;
@@ -2767,7 +2839,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2767
2839
  id: string;
2768
2840
  done: boolean;
2769
2841
  description: string;
2842
+ sourcePath?: string | undefined;
2843
+ line?: number | undefined;
2770
2844
  }[];
2845
+ changeName: string;
2846
+ schemaName: string;
2771
2847
  evidence: {
2772
2848
  success: boolean;
2773
2849
  stdout: string;
@@ -2794,8 +2870,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2794
2870
  } & {
2795
2871
  [k: string]: unknown;
2796
2872
  };
2797
- changeName: string;
2798
- schemaName: string;
2799
2873
  changeDir: string;
2800
2874
  instruction: string;
2801
2875
  contextFiles: Record<string, string | string[]>;
@@ -2806,13 +2880,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2806
2880
  remaining: number;
2807
2881
  source: "openspec-instructions-apply";
2808
2882
  divergence: {
2809
- message: string;
2810
- kind: "tracked-task-mismatch";
2811
2883
  apply: {
2812
2884
  complete: number;
2813
2885
  total: number;
2814
2886
  remaining: number;
2815
2887
  };
2888
+ message: string;
2889
+ kind: "tracked-task-mismatch";
2816
2890
  tracked: {
2817
2891
  completed: number;
2818
2892
  total: number;
@@ -2821,6 +2895,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2821
2895
  };
2822
2896
  } | null;
2823
2897
  };
2898
+ warnings?: string[] | undefined;
2899
+ context?: string | undefined;
2824
2900
  references?: z.objectInputType<{
2825
2901
  store_id: z.ZodString;
2826
2902
  root: z.ZodOptional<z.ZodString>;
@@ -2856,8 +2932,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2856
2932
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2857
2933
  fetch: z.ZodOptional<z.ZodString>;
2858
2934
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2859
- context?: string | undefined;
2860
- warnings?: string[] | undefined;
2861
2935
  missingArtifacts?: string[] | undefined;
2862
2936
  missingPrerequisites?: string[] | undefined;
2863
2937
  taskTrackingConfigured?: boolean | undefined;
@@ -3018,6 +3092,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
3018
3092
  command: z.ZodLiteral<"instructions archive">;
3019
3093
  }, z.ZodTypeAny, "passthrough">>;
3020
3094
  }, "strip", z.ZodTypeAny, {
3095
+ changeName: string;
3021
3096
  evidence: {
3022
3097
  success: boolean;
3023
3098
  stdout: string;
@@ -3044,10 +3119,10 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
3044
3119
  } & {
3045
3120
  [k: string]: unknown;
3046
3121
  };
3047
- changeName: string;
3048
3122
  context?: string | undefined;
3049
3123
  operationGuidance?: string[] | undefined;
3050
3124
  }, {
3125
+ changeName: string;
3051
3126
  evidence: {
3052
3127
  success: boolean;
3053
3128
  stdout: string;
@@ -3074,7 +3149,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
3074
3149
  } & {
3075
3150
  [k: string]: unknown;
3076
3151
  };
3077
- changeName: string;
3078
3152
  context?: string | undefined;
3079
3153
  operationGuidance?: string[] | undefined;
3080
3154
  }>;
@@ -3361,6 +3435,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3361
3435
  }, "strip", z.ZodTypeAny, {
3362
3436
  artifactId: string;
3363
3437
  outputPath: string;
3438
+ changeName: string;
3439
+ schemaName: string;
3364
3440
  evidence: {
3365
3441
  success: boolean;
3366
3442
  stdout: string;
@@ -3387,8 +3463,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3387
3463
  } & {
3388
3464
  [k: string]: unknown;
3389
3465
  };
3390
- changeName: string;
3391
- schemaName: string;
3392
3466
  changeDir: string;
3393
3467
  description: string;
3394
3468
  template: string;
@@ -3400,6 +3474,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3400
3474
  skipped?: boolean | undefined;
3401
3475
  }[];
3402
3476
  unlocks: string[];
3477
+ instruction?: string | null | undefined;
3478
+ context?: string | null | undefined;
3479
+ rules?: string[] | null | undefined;
3403
3480
  references?: z.objectOutputType<{
3404
3481
  store_id: z.ZodString;
3405
3482
  root: z.ZodOptional<z.ZodString>;
@@ -3435,12 +3512,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3435
3512
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3436
3513
  fetch: z.ZodOptional<z.ZodString>;
3437
3514
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3438
- context?: string | null | undefined;
3439
- instruction?: string | null | undefined;
3440
- rules?: string[] | null | undefined;
3441
3515
  }, {
3442
3516
  artifactId: string;
3443
3517
  outputPath: string;
3518
+ changeName: string;
3519
+ schemaName: string;
3444
3520
  evidence: {
3445
3521
  success: boolean;
3446
3522
  stdout: string;
@@ -3467,8 +3543,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3467
3543
  } & {
3468
3544
  [k: string]: unknown;
3469
3545
  };
3470
- changeName: string;
3471
- schemaName: string;
3472
3546
  changeDir: string;
3473
3547
  description: string;
3474
3548
  template: string;
@@ -3480,6 +3554,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3480
3554
  skipped?: boolean | undefined;
3481
3555
  }[];
3482
3556
  unlocks: string[];
3557
+ instruction?: string | null | undefined;
3558
+ context?: string | null | undefined;
3559
+ rules?: string[] | null | undefined;
3483
3560
  references?: z.objectInputType<{
3484
3561
  store_id: z.ZodString;
3485
3562
  root: z.ZodOptional<z.ZodString>;
@@ -3515,9 +3592,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3515
3592
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3516
3593
  fetch: z.ZodOptional<z.ZodString>;
3517
3594
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3518
- context?: string | null | undefined;
3519
- instruction?: string | null | undefined;
3520
- rules?: string[] | null | undefined;
3521
3595
  }>;
3522
3596
  type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
3523
3597
  /** CLI-owned Schema list item projected by OPSX. */
@@ -3688,8 +3762,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3688
3762
  instruction?: string | undefined;
3689
3763
  template?: string | undefined;
3690
3764
  }[];
3691
- version?: string | number | undefined;
3692
3765
  description?: string | undefined;
3766
+ version?: string | number | undefined;
3693
3767
  applyTracks?: string | undefined;
3694
3768
  applyInstruction?: string | undefined;
3695
3769
  }, {
@@ -3703,8 +3777,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3703
3777
  instruction?: string | undefined;
3704
3778
  template?: string | undefined;
3705
3779
  }[];
3706
- version?: string | number | undefined;
3707
3780
  description?: string | undefined;
3781
+ version?: string | number | undefined;
3708
3782
  applyTracks?: string | undefined;
3709
3783
  applyInstruction?: string | undefined;
3710
3784
  }>;
@@ -3767,8 +3841,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3767
3841
  instruction?: string | undefined;
3768
3842
  template?: string | undefined;
3769
3843
  }[];
3770
- version?: string | number | undefined;
3771
3844
  description?: string | undefined;
3845
+ version?: string | number | undefined;
3772
3846
  applyTracks?: string | undefined;
3773
3847
  applyInstruction?: string | undefined;
3774
3848
  }, {
@@ -3782,8 +3856,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3782
3856
  instruction?: string | undefined;
3783
3857
  template?: string | undefined;
3784
3858
  }[];
3785
- version?: string | number | undefined;
3786
3859
  description?: string | undefined;
3860
+ version?: string | number | undefined;
3787
3861
  applyTracks?: string | undefined;
3788
3862
  applyInstruction?: string | undefined;
3789
3863
  }>>>;
@@ -3872,8 +3946,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3872
3946
  instruction?: string | undefined;
3873
3947
  template?: string | undefined;
3874
3948
  }[];
3875
- version?: string | number | undefined;
3876
3949
  description?: string | undefined;
3950
+ version?: string | number | undefined;
3877
3951
  applyTracks?: string | undefined;
3878
3952
  applyInstruction?: string | undefined;
3879
3953
  } | null>;
@@ -3918,8 +3992,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3918
3992
  instruction?: string | undefined;
3919
3993
  template?: string | undefined;
3920
3994
  }[];
3921
- version?: string | number | undefined;
3922
3995
  description?: string | undefined;
3996
+ version?: string | number | undefined;
3923
3997
  applyTracks?: string | undefined;
3924
3998
  applyInstruction?: string | undefined;
3925
3999
  } | null>;