@openspecui/core 13.0.2 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{active-root-config-DvfqdWF7.d.mts → active-root-config-BsXJyZZp.d.mts} +5 -5
  2. package/dist/active-root-config.d.mts +4 -4
  3. package/dist/app-daemon-control.d.mts +24 -24
  4. package/dist/{cli-projection-CXrDqHG1.d.mts → cli-projection-B_27VEwm.d.mts} +17 -17
  5. package/dist/cli-projection.d.mts +4 -4
  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-BkD39FFY.d.mts} +2765 -2665
  8. package/dist/dashboard-summary-transport.d.mts +17 -17
  9. package/dist/hosted-app.d.mts +17 -17
  10. package/dist/hosted-contract.d.mts +17 -17
  11. package/dist/{index-D9LApBD3.d.mts → index-Cq1QTNYt.d.mts} +1263 -29
  12. package/dist/index.d.mts +17 -17
  13. package/dist/index.mjs +167 -41
  14. package/dist/{local-download-profiles-DtOKu_Qa.d.mts → local-download-profiles-HZbMuz-1.d.mts} +1 -1
  15. package/dist/local-download-profiles.d.mts +2 -2
  16. package/dist/{notifications-B72cq-2I.d.mts → notifications-BTw6HjnW.d.mts} +8 -8
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/{openspec-compat-CNMMuTot.mjs → openspec-compat-B1OCT-hK.mjs} +14 -13
  19. package/dist/openspec-compat.d.mts +3 -3
  20. package/dist/openspec-compat.mjs +2 -2
  21. package/dist/{openspec-projection-Dm-H-UMk.d.mts → openspec-projection-Bwg6_biK.d.mts} +1 -1
  22. package/dist/openspec-projection.d.mts +2 -2
  23. package/dist/{opsx-entity-C4DJzbUg.d.mts → opsx-entity-Dyf7xyle.d.mts} +2 -2
  24. package/dist/opsx-entity.d.mts +6 -6
  25. package/dist/{opsx-schema-detail-CnTtGQsR.d.mts → opsx-schema-detail-BMQ-0DiJ.d.mts} +2 -2
  26. package/dist/opsx-schema-detail.d.mts +7 -7
  27. package/dist/{opsx-types-BbERbtH2.d.mts → opsx-types-meKGpVeE.d.mts} +165 -91
  28. package/dist/{planning-cli-projection-DpQfHj61.mjs → planning-cli-projection-DJ9Llzan.mjs} +23 -6
  29. package/dist/planning-cli-projection.d.mts +17 -17
  30. package/dist/planning-cli-projection.mjs +3 -3
  31. package/dist/{schemas-Bmw7OKBb.d.mts → schemas-BCj8yHEb.d.mts} +6 -6
  32. package/dist/{sounds-BpMOHwvO.d.mts → sounds-Dnrd1hM8.d.mts} +5 -5
  33. package/dist/sounds.d.mts +1 -1
  34. package/dist/{spec-catalog-Cx_PE3WR.mjs → spec-catalog-Ce-UQqxo.mjs} +14 -1
  35. package/dist/spec-catalog.d.mts +17 -17
  36. package/dist/spec-catalog.mjs +2 -2
  37. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +24 -24
  38. package/dist/store-mutation-protocol.d.mts +1 -1
  39. package/dist/{store-types-DzBETNjJ.d.mts → store-types-Bwv7qA06.d.mts} +1 -1
  40. package/dist/store-types.d.mts +4 -4
  41. package/dist/task-progress.d.mts +5 -5
  42. package/dist/{terminal-audio-BZDsms7w.d.mts → terminal-audio-D6bjkP9j.d.mts} +2 -2
  43. package/dist/terminal-audio.d.mts +2 -2
  44. package/dist/terminal-control.d.mts +2 -2
  45. package/dist/{terminal-invocation-BA-nywHh.d.mts → terminal-invocation-31WVPw0E.d.mts} +36 -36
  46. package/dist/terminal-invocation.d.mts +1 -1
  47. package/dist/{translator-C_jPrCMR.d.mts → translator-C9XtBiCJ.d.mts} +34 -34
  48. package/dist/translator.d.mts +1 -1
  49. package/dist/workspace-directory-catalog.d.mts +2 -2
  50. package/package.json +2 -1
@@ -1,8 +1,8 @@
1
- import "./index-D9LApBD3.mjs";
1
+ import "./index-Cq1QTNYt.mjs";
2
2
  import "./document-translation-CGMD0RLA.mjs";
3
- import "./sounds-BpMOHwvO.mjs";
4
- import "./notifications-B72cq-2I.mjs";
5
- import "./schemas-Bmw7OKBb.mjs";
6
- import "./opsx-types-BbERbtH2.mjs";
7
- import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-C4DJzbUg.mjs";
3
+ import "./sounds-Dnrd1hM8.mjs";
4
+ import "./notifications-BTw6HjnW.mjs";
5
+ import "./schemas-BCj8yHEb.mjs";
6
+ import "./opsx-types-meKGpVeE.mjs";
7
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-Dyf7xyle.mjs";
8
8
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,5 +1,5 @@
1
- import { T as SchemaDetail } from "./opsx-types-BbERbtH2.mjs";
2
- import { i as OpsxEntityDiagnostic } from "./opsx-entity-C4DJzbUg.mjs";
1
+ import { T as SchemaDetail } from "./opsx-types-meKGpVeE.mjs";
2
+ import { i as OpsxEntityDiagnostic } from "./opsx-entity-Dyf7xyle.mjs";
3
3
 
4
4
  //#region src/opsx-schema-detail.d.ts
5
5
  interface ParsedOpsxSchemaDetail {
@@ -1,9 +1,9 @@
1
- import "./index-D9LApBD3.mjs";
1
+ import "./index-Cq1QTNYt.mjs";
2
2
  import "./document-translation-CGMD0RLA.mjs";
3
- import "./sounds-BpMOHwvO.mjs";
4
- import "./notifications-B72cq-2I.mjs";
5
- import "./schemas-Bmw7OKBb.mjs";
6
- import "./opsx-types-BbERbtH2.mjs";
7
- import "./opsx-entity-C4DJzbUg.mjs";
8
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CnTtGQsR.mjs";
3
+ import "./sounds-Dnrd1hM8.mjs";
4
+ import "./notifications-BTw6HjnW.mjs";
5
+ import "./schemas-BCj8yHEb.mjs";
6
+ import "./opsx-types-meKGpVeE.mjs";
7
+ import "./opsx-entity-Dyf7xyle.mjs";
8
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-BMQ-0DiJ.mjs";
9
9
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -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-Cq1QTNYt.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-BCj8yHEb.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<{
@@ -685,13 +693,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
685
693
  }, z.ZodTypeAny, "passthrough">>;
686
694
  }, "strip", z.ZodTypeAny, {
687
695
  kind: "cli";
688
- root: {
689
- path: string;
690
- source: "store" | "declared" | "nearest" | "global_default" | "implicit";
691
- store_id?: string | undefined;
692
- } & {
693
- [k: string]: unknown;
694
- };
695
696
  evidence: {
696
697
  success: boolean;
697
698
  stdout: string;
@@ -718,6 +719,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
718
719
  } & {
719
720
  [k: string]: unknown;
720
721
  };
722
+ root: {
723
+ path: string;
724
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
725
+ store_id?: string | undefined;
726
+ } & {
727
+ [k: string]: unknown;
728
+ };
721
729
  planningHome: {
722
730
  kind: "repo";
723
731
  root: string;
@@ -748,13 +756,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
748
756
  };
749
757
  }, {
750
758
  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
759
  evidence: {
759
760
  success: boolean;
760
761
  stdout: string;
@@ -781,6 +782,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
781
782
  } & {
782
783
  [k: string]: unknown;
783
784
  };
785
+ root: {
786
+ path: string;
787
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
788
+ store_id?: string | undefined;
789
+ } & {
790
+ [k: string]: unknown;
791
+ };
784
792
  planningHome: {
785
793
  kind: "repo";
786
794
  root: string;
@@ -831,13 +839,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
831
839
  }[];
832
840
  provenance: {
833
841
  kind: "cli";
834
- root: {
835
- path: string;
836
- source: "store" | "declared" | "nearest" | "global_default" | "implicit";
837
- store_id?: string | undefined;
838
- } & {
839
- [k: string]: unknown;
840
- };
841
842
  evidence: {
842
843
  success: boolean;
843
844
  stdout: string;
@@ -864,6 +865,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
864
865
  } & {
865
866
  [k: string]: unknown;
866
867
  };
868
+ root: {
869
+ path: string;
870
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
871
+ store_id?: string | undefined;
872
+ } & {
873
+ [k: string]: unknown;
874
+ };
867
875
  planningHome: {
868
876
  kind: "repo";
869
877
  root: string;
@@ -895,6 +903,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
895
903
  } | {
896
904
  kind: "static";
897
905
  };
906
+ warnings?: string[] | undefined;
898
907
  }, {
899
908
  changeName: string;
900
909
  schemaName: string;
@@ -910,13 +919,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
910
919
  }[];
911
920
  provenance: {
912
921
  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
922
  evidence: {
921
923
  success: boolean;
922
924
  stdout: string;
@@ -943,6 +945,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
943
945
  } & {
944
946
  [k: string]: unknown;
945
947
  };
948
+ root: {
949
+ path: string;
950
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
951
+ store_id?: string | undefined;
952
+ } & {
953
+ [k: string]: unknown;
954
+ };
946
955
  planningHome: {
947
956
  kind: "repo";
948
957
  root: string;
@@ -974,6 +983,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
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<{
@@ -985,14 +995,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
985
995
  }, "strip", z.ZodTypeAny, {
986
996
  path: string;
987
997
  id: string;
988
- done: boolean;
989
998
  description: string;
999
+ done: boolean;
990
1000
  skipped?: boolean | undefined;
991
1001
  }, {
992
1002
  path: string;
993
1003
  id: string;
994
- done: boolean;
995
1004
  description: string;
1005
+ done: boolean;
996
1006
  skipped?: boolean | undefined;
997
1007
  }>;
998
1008
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
@@ -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
- done: boolean;
1006
1023
  description: string;
1024
+ done: boolean;
1025
+ sourcePath?: string | undefined;
1026
+ line?: number | undefined;
1007
1027
  }, {
1008
1028
  id: string;
1009
- done: boolean;
1010
1029
  description: string;
1030
+ done: boolean;
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
- done: boolean;
1027
1056
  description: string;
1057
+ done: boolean;
1058
+ sourcePath?: string | undefined;
1059
+ line?: number | undefined;
1028
1060
  }, {
1029
1061
  id: string;
1030
- done: boolean;
1031
1062
  description: string;
1063
+ done: boolean;
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">>;
@@ -1410,8 +1444,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1410
1444
  state: "ready" | "blocked" | "all_done";
1411
1445
  tasks: {
1412
1446
  id: string;
1413
- done: boolean;
1414
1447
  description: string;
1448
+ done: boolean;
1449
+ sourcePath?: string | undefined;
1450
+ line?: number | undefined;
1415
1451
  }[];
1416
1452
  evidence: {
1417
1453
  success: boolean;
@@ -1466,6 +1502,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1466
1502
  };
1467
1503
  } | null;
1468
1504
  };
1505
+ context?: string | undefined;
1506
+ warnings?: 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;
@@ -1515,8 +1551,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1515
1551
  state: "ready" | "blocked" | "all_done";
1516
1552
  tasks: {
1517
1553
  id: string;
1518
- done: boolean;
1519
1554
  description: string;
1555
+ done: boolean;
1556
+ sourcePath?: string | undefined;
1557
+ line?: number | undefined;
1520
1558
  }[];
1521
1559
  evidence: {
1522
1560
  success: boolean;
@@ -1571,6 +1609,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1571
1609
  };
1572
1610
  } | null;
1573
1611
  };
1612
+ context?: string | undefined;
1613
+ warnings?: 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
- done: boolean;
1645
1690
  description: string;
1691
+ done: boolean;
1692
+ sourcePath?: string | undefined;
1693
+ line?: number | undefined;
1646
1694
  }, {
1647
1695
  id: string;
1648
- done: boolean;
1649
1696
  description: string;
1697
+ done: boolean;
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">>;
@@ -1918,8 +1968,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1918
1968
  state: "ready" | "blocked" | "all_done";
1919
1969
  tasks: {
1920
1970
  id: string;
1921
- done: boolean;
1922
1971
  description: string;
1972
+ done: boolean;
1973
+ sourcePath?: string | undefined;
1974
+ line?: number | undefined;
1923
1975
  }[];
1924
1976
  evidence: {
1925
1977
  success: boolean;
@@ -1947,16 +1999,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1947
1999
  } & {
1948
2000
  [k: string]: unknown;
1949
2001
  };
1950
- changeName: string;
1951
- schemaName: string;
1952
- changeDir: string;
1953
- instruction: string;
1954
- contextFiles: Record<string, string[]>;
1955
2002
  progress: {
1956
2003
  complete: number;
1957
2004
  total: number;
1958
2005
  remaining: number;
1959
2006
  };
2007
+ changeName: string;
2008
+ schemaName: string;
2009
+ changeDir: string;
2010
+ instruction: string;
2011
+ contextFiles: Record<string, string[]>;
2012
+ context?: string | undefined;
2013
+ warnings?: 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;
@@ -2006,8 +2058,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2006
2058
  state: "ready" | "blocked" | "all_done";
2007
2059
  tasks: {
2008
2060
  id: string;
2009
- done: boolean;
2010
2061
  description: string;
2062
+ done: boolean;
2063
+ sourcePath?: string | undefined;
2064
+ line?: number | undefined;
2011
2065
  }[];
2012
2066
  evidence: {
2013
2067
  success: boolean;
@@ -2035,16 +2089,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2035
2089
  } & {
2036
2090
  [k: string]: unknown;
2037
2091
  };
2038
- changeName: string;
2039
- schemaName: string;
2040
- changeDir: string;
2041
- instruction: string;
2042
- contextFiles: Record<string, string | string[]>;
2043
2092
  progress: {
2044
2093
  complete: number;
2045
2094
  total: number;
2046
2095
  remaining: number;
2047
2096
  };
2097
+ changeName: string;
2098
+ schemaName: string;
2099
+ changeDir: string;
2100
+ instruction: string;
2101
+ contextFiles: Record<string, string | string[]>;
2102
+ context?: string | undefined;
2103
+ warnings?: 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;
@@ -2095,8 +2149,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2095
2149
  state: "ready" | "blocked" | "all_done";
2096
2150
  tasks: {
2097
2151
  id: string;
2098
- done: boolean;
2099
2152
  description: string;
2153
+ done: boolean;
2154
+ sourcePath?: string | undefined;
2155
+ line?: number | undefined;
2100
2156
  }[];
2101
2157
  evidence: {
2102
2158
  success: boolean;
@@ -2129,6 +2185,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2129
2185
  changeDir: string;
2130
2186
  instruction: string;
2131
2187
  contextFiles: Record<string, string[]>;
2188
+ context?: string | undefined;
2189
+ warnings?: 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;
@@ -2178,8 +2234,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2178
2234
  state: "ready" | "blocked" | "all_done";
2179
2235
  tasks: {
2180
2236
  id: string;
2181
- done: boolean;
2182
2237
  description: string;
2238
+ done: boolean;
2239
+ sourcePath?: string | undefined;
2240
+ line?: number | undefined;
2183
2241
  }[];
2184
2242
  evidence: {
2185
2243
  success: boolean;
@@ -2207,16 +2265,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2207
2265
  } & {
2208
2266
  [k: string]: unknown;
2209
2267
  };
2210
- changeName: string;
2211
- schemaName: string;
2212
- changeDir: string;
2213
- instruction: string;
2214
- contextFiles: Record<string, string | string[]>;
2215
2268
  progress: {
2216
2269
  complete: number;
2217
2270
  total: number;
2218
2271
  remaining: number;
2219
2272
  };
2273
+ changeName: string;
2274
+ schemaName: string;
2275
+ changeDir: string;
2276
+ instruction: string;
2277
+ contextFiles: Record<string, string | string[]>;
2278
+ context?: string | undefined;
2279
+ warnings?: 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
- done: boolean;
2277
2342
  description: string;
2343
+ done: boolean;
2344
+ sourcePath?: string | undefined;
2345
+ line?: number | undefined;
2278
2346
  }, {
2279
2347
  id: string;
2280
- done: boolean;
2281
2348
  description: string;
2349
+ done: boolean;
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">>;
@@ -2660,8 +2730,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2660
2730
  state: "ready" | "blocked" | "all_done";
2661
2731
  tasks: {
2662
2732
  id: string;
2663
- done: boolean;
2664
2733
  description: string;
2734
+ done: boolean;
2735
+ sourcePath?: string | undefined;
2736
+ line?: number | undefined;
2665
2737
  }[];
2666
2738
  evidence: {
2667
2739
  success: boolean;
@@ -2716,6 +2788,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2716
2788
  };
2717
2789
  } | null;
2718
2790
  };
2791
+ context?: string | undefined;
2792
+ warnings?: 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;
@@ -2765,8 +2837,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2765
2837
  state: "ready" | "blocked" | "all_done";
2766
2838
  tasks: {
2767
2839
  id: string;
2768
- done: boolean;
2769
2840
  description: string;
2841
+ done: boolean;
2842
+ sourcePath?: string | undefined;
2843
+ line?: number | undefined;
2770
2844
  }[];
2771
2845
  evidence: {
2772
2846
  success: boolean;
@@ -2821,6 +2895,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2821
2895
  };
2822
2896
  } | null;
2823
2897
  };
2898
+ context?: string | undefined;
2899
+ warnings?: 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;
@@ -3099,14 +3173,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3099
3173
  }, "strip", z.ZodTypeAny, {
3100
3174
  path: string;
3101
3175
  id: string;
3102
- done: boolean;
3103
3176
  description: string;
3177
+ done: boolean;
3104
3178
  skipped?: boolean | undefined;
3105
3179
  }, {
3106
3180
  path: string;
3107
3181
  id: string;
3108
- done: boolean;
3109
3182
  description: string;
3183
+ done: boolean;
3110
3184
  skipped?: boolean | undefined;
3111
3185
  }>, "many">;
3112
3186
  unlocks: z.ZodArray<z.ZodString, "many">;
@@ -3387,19 +3461,22 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3387
3461
  } & {
3388
3462
  [k: string]: unknown;
3389
3463
  };
3464
+ description: string;
3390
3465
  changeName: string;
3391
3466
  schemaName: string;
3392
3467
  changeDir: string;
3393
- description: string;
3394
3468
  template: string;
3395
3469
  dependencies: {
3396
3470
  path: string;
3397
3471
  id: string;
3398
- done: boolean;
3399
3472
  description: string;
3473
+ done: boolean;
3400
3474
  skipped?: boolean | undefined;
3401
3475
  }[];
3402
3476
  unlocks: string[];
3477
+ context?: string | null | undefined;
3478
+ instruction?: 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,9 +3512,6 @@ 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;
@@ -3467,19 +3541,22 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3467
3541
  } & {
3468
3542
  [k: string]: unknown;
3469
3543
  };
3544
+ description: string;
3470
3545
  changeName: string;
3471
3546
  schemaName: string;
3472
3547
  changeDir: string;
3473
- description: string;
3474
3548
  template: string;
3475
3549
  dependencies: {
3476
3550
  path: string;
3477
3551
  id: string;
3478
- done: boolean;
3479
3552
  description: string;
3553
+ done: boolean;
3480
3554
  skipped?: boolean | undefined;
3481
3555
  }[];
3482
3556
  unlocks: string[];
3557
+ context?: string | null | undefined;
3558
+ instruction?: 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. */