@openspecui/core 11.1.0 → 13.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-CsFtntHf.d.mts → active-root-config-_ZXqUzpc.d.mts} +17 -17
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +8 -8
  4. package/dist/{cli-projection-Dd5Gdqa2.d.mts → cli-projection-D932MJzB.d.mts} +17 -17
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{command-result-DWMmDl6I.mjs → command-result-Eq147Dt4.mjs} +113 -13
  7. package/dist/{dashboard-summary-transport-wRH7oVWM.d.mts → dashboard-summary-transport-DS-bPqn1.d.mts} +4436 -4344
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  9. package/dist/{document-translation-OvsFNs-H.d.mts → document-translation-DM2eydNr.d.mts} +100 -100
  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-jbHV-sxg.d.mts → index-zESQZeBd.d.mts} +2265 -232
  14. package/dist/index.d.mts +19 -19
  15. package/dist/index.mjs +138 -59
  16. package/dist/{local-download-profiles-DXNExauZ.d.mts → local-download-profiles-Dj0nGG1k.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/{notifications-B8Ael_hq.d.mts → notifications-DwiGoWFM.d.mts} +17 -17
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/{openspec-compat-DctIDxRM.mjs → openspec-compat-CNMMuTot.mjs} +21 -16
  21. package/dist/openspec-compat.d.mts +5 -5
  22. package/dist/openspec-compat.mjs +3 -3
  23. package/dist/{openspec-projection-xOnjhQ7v.d.mts → openspec-projection-MyG567IF.d.mts} +1 -1
  24. package/dist/openspec-projection.d.mts +2 -2
  25. package/dist/{opsx-entity-Dc4XotlR.d.mts → opsx-entity-BsYtWdkc.d.mts} +2 -2
  26. package/dist/opsx-entity.d.mts +7 -7
  27. package/dist/{opsx-schema-detail-BJ6wzYhq.d.mts → opsx-schema-detail-Cbg1qHlw.d.mts} +2 -2
  28. package/dist/opsx-schema-detail.d.mts +8 -8
  29. package/dist/{opsx-types-CnZ4dsxb.d.mts → opsx-types-8fxRIEhj.d.mts} +267 -245
  30. package/dist/{planning-cli-projection-pq8vZC1r.mjs → planning-cli-projection-CttkbBh9.mjs} +11 -3
  31. package/dist/planning-cli-projection.d.mts +18 -18
  32. package/dist/planning-cli-projection.mjs +3 -3
  33. package/dist/{schemas-pfpqDlAd.d.mts → schemas-CdprtB2t.d.mts} +252 -252
  34. package/dist/{sounds-B0GiWqBN.d.mts → sounds-BCmBc3Lm.d.mts} +9 -9
  35. package/dist/sounds.d.mts +1 -1
  36. package/dist/{spec-catalog-BkX0tZp9.mjs → spec-catalog-DYJ4dxTY.mjs} +31 -2
  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-BLW7QE7W.d.mts → store-types-Ch6RIfO6.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-BpfUW_eB.d.mts → terminal-audio-uas32Aa-.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-DROo1wu_.d.mts → terminal-invocation-DSEgzEiU.d.mts} +45 -45
  48. package/dist/terminal-invocation.d.mts +1 -1
  49. package/dist/{translator-C5z6a5C4.d.mts → translator-2hRDPD9f.d.mts} +221 -221
  50. package/dist/translator.d.mts +1 -1
  51. package/package.json +3 -1
@@ -1,5 +1,5 @@
1
- import { o as DocumentTranslationConfigUpdate } from "./document-translation-OvsFNs-H.mjs";
2
- import { p as NotificationSettings } from "./notifications-B8Ael_hq.mjs";
1
+ import { o as DocumentTranslationConfigUpdate } from "./document-translation-DM2eydNr.mjs";
2
+ import { p as NotificationSettings } from "./notifications-DwiGoWFM.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/cli-contracts/batch-status.d.ts
@@ -1660,7 +1660,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
1660
1660
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1661
1661
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1662
1662
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
1663
- bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1663
+ bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1664
1664
  bellVolume: z.ZodDefault<z.ZodNumber>;
1665
1665
  }, "strip", z.ZodTypeAny, {
1666
1666
  fontSize: number;
@@ -1672,7 +1672,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
1672
1672
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1673
1673
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1674
1674
  rendererEngine: "xterm" | "ghostty";
1675
- bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1675
+ bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1676
1676
  bellVolume: number;
1677
1677
  }, {
1678
1678
  fontSize?: number | undefined;
@@ -1763,7 +1763,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1763
1763
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1764
1764
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1765
1765
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
1766
- bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1766
+ bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1767
1767
  bellVolume: z.ZodDefault<z.ZodNumber>;
1768
1768
  }, "strip", z.ZodTypeAny, {
1769
1769
  fontSize: number;
@@ -1775,7 +1775,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1775
1775
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1776
1776
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1777
1777
  rendererEngine: "xterm" | "ghostty";
1778
- bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1778
+ bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1779
1779
  bellVolume: number;
1780
1780
  }, {
1781
1781
  fontSize?: number | undefined;
@@ -1808,11 +1808,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1808
1808
  }>>;
1809
1809
  /** Notification preferences */
1810
1810
  notifications: z.ZodDefault<z.ZodObject<{
1811
- sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1811
+ sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1812
1812
  volume: z.ZodDefault<z.ZodNumber>;
1813
1813
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1814
1814
  }, "strip", z.ZodTypeAny, {
1815
- sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1815
+ sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1816
1816
  volume: number;
1817
1817
  systemNotificationsEnabled: boolean;
1818
1818
  }, {
@@ -1832,31 +1832,31 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1832
1832
  model: z.ZodOptional<z.ZodString>;
1833
1833
  selectedGroupId: z.ZodOptional<z.ZodString>;
1834
1834
  }, "strip", z.ZodTypeAny, {
1835
- selectedGroupId?: string | undefined;
1836
1835
  model?: string | undefined;
1837
- }, {
1838
1836
  selectedGroupId?: string | undefined;
1837
+ }, {
1839
1838
  model?: string | undefined;
1839
+ selectedGroupId?: string | undefined;
1840
1840
  }>>;
1841
1841
  localCt2: z.ZodDefault<z.ZodObject<{
1842
1842
  model: z.ZodOptional<z.ZodString>;
1843
1843
  selectedGroupId: z.ZodOptional<z.ZodString>;
1844
1844
  }, "strip", z.ZodTypeAny, {
1845
- selectedGroupId?: string | undefined;
1846
1845
  model?: string | undefined;
1847
- }, {
1848
1846
  selectedGroupId?: string | undefined;
1847
+ }, {
1849
1848
  model?: string | undefined;
1849
+ selectedGroupId?: string | undefined;
1850
1850
  }>>;
1851
1851
  localLlama: z.ZodDefault<z.ZodObject<{
1852
1852
  model: z.ZodOptional<z.ZodString>;
1853
1853
  selectedGroupId: z.ZodOptional<z.ZodString>;
1854
1854
  }, "strip", z.ZodTypeAny, {
1855
- selectedGroupId?: string | undefined;
1856
1855
  model?: string | undefined;
1857
- }, {
1858
1856
  selectedGroupId?: string | undefined;
1857
+ }, {
1859
1858
  model?: string | undefined;
1859
+ selectedGroupId?: string | undefined;
1860
1860
  }>>;
1861
1861
  openai: z.ZodDefault<z.ZodObject<{
1862
1862
  model: z.ZodOptional<z.ZodString>;
@@ -1867,92 +1867,85 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1867
1867
  }>>;
1868
1868
  }, "strip", z.ZodTypeAny, {
1869
1869
  local: {
1870
- selectedGroupId?: string | undefined;
1871
- model?: string | undefined;
1872
- };
1873
- openai: {
1874
1870
  model?: string | undefined;
1871
+ selectedGroupId?: string | undefined;
1875
1872
  };
1876
1873
  localCt2: {
1877
- selectedGroupId?: string | undefined;
1878
1874
  model?: string | undefined;
1875
+ selectedGroupId?: string | undefined;
1879
1876
  };
1880
1877
  localLlama: {
1878
+ model?: string | undefined;
1881
1879
  selectedGroupId?: string | undefined;
1880
+ };
1881
+ openai: {
1882
1882
  model?: string | undefined;
1883
1883
  };
1884
1884
  }, {
1885
1885
  local?: {
1886
- selectedGroupId?: string | undefined;
1887
- model?: string | undefined;
1888
- } | undefined;
1889
- openai?: {
1890
1886
  model?: string | undefined;
1887
+ selectedGroupId?: string | undefined;
1891
1888
  } | undefined;
1892
1889
  localCt2?: {
1893
- selectedGroupId?: string | undefined;
1894
1890
  model?: string | undefined;
1891
+ selectedGroupId?: string | undefined;
1895
1892
  } | undefined;
1896
1893
  localLlama?: {
1894
+ model?: string | undefined;
1897
1895
  selectedGroupId?: string | undefined;
1896
+ } | undefined;
1897
+ openai?: {
1898
1898
  model?: string | undefined;
1899
1899
  } | undefined;
1900
1900
  }>>;
1901
1901
  }, "strip", z.ZodTypeAny, {
1902
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1903
- targetLanguage: string;
1904
1902
  enabled: boolean;
1903
+ targetLanguage: string;
1905
1904
  displayMode: "direct" | "bilingual";
1906
1905
  cacheEnabled: boolean;
1906
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1907
1907
  engines: {
1908
1908
  local: {
1909
- selectedGroupId?: string | undefined;
1910
- model?: string | undefined;
1911
- };
1912
- openai: {
1913
1909
  model?: string | undefined;
1910
+ selectedGroupId?: string | undefined;
1914
1911
  };
1915
1912
  localCt2: {
1916
- selectedGroupId?: string | undefined;
1917
1913
  model?: string | undefined;
1914
+ selectedGroupId?: string | undefined;
1918
1915
  };
1919
1916
  localLlama: {
1917
+ model?: string | undefined;
1920
1918
  selectedGroupId?: string | undefined;
1919
+ };
1920
+ openai: {
1921
1921
  model?: string | undefined;
1922
1922
  };
1923
1923
  };
1924
1924
  }, {
1925
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1926
- targetLanguage?: string | undefined;
1927
1925
  enabled?: boolean | undefined;
1926
+ targetLanguage?: string | undefined;
1928
1927
  displayMode?: "direct" | "bilingual" | undefined;
1929
1928
  cacheEnabled?: boolean | undefined;
1929
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1930
1930
  engines?: {
1931
1931
  local?: {
1932
- selectedGroupId?: string | undefined;
1933
- model?: string | undefined;
1934
- } | undefined;
1935
- openai?: {
1936
1932
  model?: string | undefined;
1933
+ selectedGroupId?: string | undefined;
1937
1934
  } | undefined;
1938
1935
  localCt2?: {
1939
- selectedGroupId?: string | undefined;
1940
1936
  model?: string | undefined;
1937
+ selectedGroupId?: string | undefined;
1941
1938
  } | undefined;
1942
1939
  localLlama?: {
1940
+ model?: string | undefined;
1943
1941
  selectedGroupId?: string | undefined;
1942
+ } | undefined;
1943
+ openai?: {
1944
1944
  model?: string | undefined;
1945
1945
  } | undefined;
1946
1946
  } | undefined;
1947
1947
  }>>;
1948
1948
  }, "strip", z.ZodTypeAny, {
1949
- git: {
1950
- diffEagerLineBudget: number;
1951
- };
1952
- cli: {
1953
- command?: string | undefined;
1954
- args?: string[] | undefined;
1955
- };
1956
1949
  terminal: {
1957
1950
  fontSize: number;
1958
1951
  fontFamily: string;
@@ -1963,57 +1956,57 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1963
1956
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1964
1957
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1965
1958
  rendererEngine: "xterm" | "ghostty";
1966
- bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1959
+ bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1967
1960
  bellVolume: number;
1968
1961
  };
1969
- theme: "light" | "dark" | "system";
1970
- codeEditor: {
1971
- theme: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox";
1972
- };
1973
- appBaseUrl: string;
1974
- opsx: {
1975
- agentInvocationMode: "command" | "compose";
1976
- };
1977
- dashboard: {
1978
- trendPointLimit: number;
1962
+ cli: {
1963
+ command?: string | undefined;
1964
+ args?: string[] | undefined;
1979
1965
  };
1980
- notifications: {
1981
- sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1982
- volume: number;
1983
- systemNotificationsEnabled: boolean;
1966
+ git: {
1967
+ diffEagerLineBudget: number;
1984
1968
  };
1985
1969
  translation: {
1986
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1987
- targetLanguage: string;
1988
1970
  enabled: boolean;
1971
+ targetLanguage: string;
1989
1972
  displayMode: "direct" | "bilingual";
1990
1973
  cacheEnabled: boolean;
1974
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1991
1975
  engines: {
1992
1976
  local: {
1993
- selectedGroupId?: string | undefined;
1994
- model?: string | undefined;
1995
- };
1996
- openai: {
1997
1977
  model?: string | undefined;
1978
+ selectedGroupId?: string | undefined;
1998
1979
  };
1999
1980
  localCt2: {
2000
- selectedGroupId?: string | undefined;
2001
1981
  model?: string | undefined;
1982
+ selectedGroupId?: string | undefined;
2002
1983
  };
2003
1984
  localLlama: {
1985
+ model?: string | undefined;
2004
1986
  selectedGroupId?: string | undefined;
1987
+ };
1988
+ openai: {
2005
1989
  model?: string | undefined;
2006
1990
  };
2007
1991
  };
2008
1992
  };
1993
+ theme: "light" | "dark" | "system";
1994
+ codeEditor: {
1995
+ theme: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox";
1996
+ };
1997
+ appBaseUrl: string;
1998
+ opsx: {
1999
+ agentInvocationMode: "command" | "compose";
2000
+ };
2001
+ dashboard: {
2002
+ trendPointLimit: number;
2003
+ };
2004
+ notifications: {
2005
+ sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
2006
+ volume: number;
2007
+ systemNotificationsEnabled: boolean;
2008
+ };
2009
2009
  }, {
2010
- git?: {
2011
- diffEagerLineBudget?: number | undefined;
2012
- } | undefined;
2013
- cli?: {
2014
- command?: string | undefined;
2015
- args?: string[] | undefined;
2016
- } | undefined;
2017
2010
  terminal?: {
2018
2011
  fontSize?: number | undefined;
2019
2012
  fontFamily?: string | undefined;
@@ -2027,46 +2020,53 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
2027
2020
  bellSound?: unknown;
2028
2021
  bellVolume?: number | undefined;
2029
2022
  } | undefined;
2030
- theme?: "light" | "dark" | "system" | undefined;
2031
- codeEditor?: {
2032
- theme?: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox" | undefined;
2033
- } | undefined;
2034
- appBaseUrl?: string | undefined;
2035
- opsx?: {
2036
- agentInvocationMode?: "command" | "compose" | undefined;
2037
- } | undefined;
2038
- dashboard?: {
2039
- trendPointLimit?: number | undefined;
2023
+ cli?: {
2024
+ command?: string | undefined;
2025
+ args?: string[] | undefined;
2040
2026
  } | undefined;
2041
- notifications?: {
2042
- sound?: unknown;
2043
- volume?: number | undefined;
2044
- systemNotificationsEnabled?: boolean | undefined;
2027
+ git?: {
2028
+ diffEagerLineBudget?: number | undefined;
2045
2029
  } | undefined;
2046
2030
  translation?: {
2047
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2048
- targetLanguage?: string | undefined;
2049
2031
  enabled?: boolean | undefined;
2032
+ targetLanguage?: string | undefined;
2050
2033
  displayMode?: "direct" | "bilingual" | undefined;
2051
2034
  cacheEnabled?: boolean | undefined;
2035
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2052
2036
  engines?: {
2053
2037
  local?: {
2054
- selectedGroupId?: string | undefined;
2055
- model?: string | undefined;
2056
- } | undefined;
2057
- openai?: {
2058
2038
  model?: string | undefined;
2039
+ selectedGroupId?: string | undefined;
2059
2040
  } | undefined;
2060
2041
  localCt2?: {
2061
- selectedGroupId?: string | undefined;
2062
2042
  model?: string | undefined;
2043
+ selectedGroupId?: string | undefined;
2063
2044
  } | undefined;
2064
2045
  localLlama?: {
2046
+ model?: string | undefined;
2065
2047
  selectedGroupId?: string | undefined;
2048
+ } | undefined;
2049
+ openai?: {
2066
2050
  model?: string | undefined;
2067
2051
  } | undefined;
2068
2052
  } | undefined;
2069
2053
  } | undefined;
2054
+ theme?: "light" | "dark" | "system" | undefined;
2055
+ codeEditor?: {
2056
+ theme?: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox" | undefined;
2057
+ } | undefined;
2058
+ appBaseUrl?: string | undefined;
2059
+ opsx?: {
2060
+ agentInvocationMode?: "command" | "compose" | undefined;
2061
+ } | undefined;
2062
+ dashboard?: {
2063
+ trendPointLimit?: number | undefined;
2064
+ } | undefined;
2065
+ notifications?: {
2066
+ sound?: unknown;
2067
+ volume?: number | undefined;
2068
+ systemNotificationsEnabled?: boolean | undefined;
2069
+ } | undefined;
2070
2070
  }>;
2071
2071
  type OpenSpecUIConfig = z.infer<typeof OpenSpecUIConfigSchema>;
2072
2072
  type OpenSpecUIConfigUpdate = {
@@ -2645,7 +2645,6 @@ declare const CliCommandTransportSchema: z.ZodObject<{
2645
2645
  }, z.ZodTypeAny, "passthrough">>, "many">;
2646
2646
  contractError: z.ZodOptional<z.ZodString>;
2647
2647
  }, "strip", z.ZodTypeAny, {
2648
- data: CliJsonValue;
2649
2648
  success: boolean;
2650
2649
  stdout: string;
2651
2650
  stderr: string;
@@ -2658,9 +2657,9 @@ declare const CliCommandTransportSchema: z.ZodObject<{
2658
2657
  target: z.ZodOptional<z.ZodString>;
2659
2658
  fix: z.ZodOptional<z.ZodString>;
2660
2659
  }, z.ZodTypeAny, "passthrough">[];
2660
+ data: CliJsonValue;
2661
2661
  contractError?: string | undefined;
2662
2662
  }, {
2663
- data: CliJsonValue;
2664
2663
  success: boolean;
2665
2664
  stdout: string;
2666
2665
  stderr: string;
@@ -2673,6 +2672,7 @@ declare const CliCommandTransportSchema: z.ZodObject<{
2673
2672
  target: z.ZodOptional<z.ZodString>;
2674
2673
  fix: z.ZodOptional<z.ZodString>;
2675
2674
  }, z.ZodTypeAny, "passthrough">[];
2675
+ data: CliJsonValue;
2676
2676
  contractError?: string | undefined;
2677
2677
  }>;
2678
2678
  /** Complete process, raw payload, typed data, and diagnostic evidence for one CLI command. */
@@ -4464,6 +4464,8 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4464
4464
  }, z.ZodTypeAny, "passthrough">>, "many">;
4465
4465
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
4466
4466
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4467
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4468
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4467
4469
  instruction: z.ZodString;
4468
4470
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
4469
4471
  store_id: z.ZodString;
@@ -4616,6 +4618,8 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4616
4618
  }, z.ZodTypeAny, "passthrough">>, "many">;
4617
4619
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
4618
4620
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4621
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4622
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4619
4623
  instruction: z.ZodString;
4620
4624
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
4621
4625
  store_id: z.ZodString;
@@ -4768,6 +4772,8 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4768
4772
  }, z.ZodTypeAny, "passthrough">>, "many">;
4769
4773
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
4770
4774
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4775
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4776
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4771
4777
  instruction: z.ZodString;
4772
4778
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
4773
4779
  store_id: z.ZodString;
@@ -4947,29 +4953,1962 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4947
4953
  target: z.ZodOptional<z.ZodString>;
4948
4954
  fix: z.ZodOptional<z.ZodString>;
4949
4955
  }, z.ZodTypeAny, "passthrough">>, "many">;
4950
- }, z.ZodTypeAny, "passthrough">>]>;
4951
- /** Typed success or diagnostic failure result of the CLI Archive Instructions command. */
4952
- declare const CliArchiveInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4953
- changeName: z.ZodString;
4954
- context: z.ZodOptional<z.ZodString>;
4955
- operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4956
- root: z.ZodObject<{
4957
- path: z.ZodString;
4958
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4959
- store_id: z.ZodOptional<z.ZodString>;
4956
+ }, z.ZodTypeAny, "passthrough">>]>;
4957
+ /** Typed success or diagnostic failure result of the CLI Archive Instructions command. */
4958
+ declare const CliArchiveInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4959
+ changeName: z.ZodString;
4960
+ context: z.ZodOptional<z.ZodString>;
4961
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4962
+ root: z.ZodObject<{
4963
+ path: z.ZodString;
4964
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4965
+ store_id: z.ZodOptional<z.ZodString>;
4966
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4967
+ path: z.ZodString;
4968
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4969
+ store_id: z.ZodOptional<z.ZodString>;
4970
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4971
+ path: z.ZodString;
4972
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4973
+ store_id: z.ZodOptional<z.ZodString>;
4974
+ }, z.ZodTypeAny, "passthrough">>;
4975
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4976
+ changeName: z.ZodString;
4977
+ context: z.ZodOptional<z.ZodString>;
4978
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4979
+ root: z.ZodObject<{
4980
+ path: z.ZodString;
4981
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4982
+ store_id: z.ZodOptional<z.ZodString>;
4983
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4984
+ path: z.ZodString;
4985
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4986
+ store_id: z.ZodOptional<z.ZodString>;
4987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4988
+ path: z.ZodString;
4989
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4990
+ store_id: z.ZodOptional<z.ZodString>;
4991
+ }, z.ZodTypeAny, "passthrough">>;
4992
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4993
+ changeName: z.ZodString;
4994
+ context: z.ZodOptional<z.ZodString>;
4995
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4996
+ root: z.ZodObject<{
4997
+ path: z.ZodString;
4998
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4999
+ store_id: z.ZodOptional<z.ZodString>;
5000
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5001
+ path: z.ZodString;
5002
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5003
+ store_id: z.ZodOptional<z.ZodString>;
5004
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5005
+ path: z.ZodString;
5006
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5007
+ store_id: z.ZodOptional<z.ZodString>;
5008
+ }, z.ZodTypeAny, "passthrough">>;
5009
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5010
+ status: z.ZodArray<z.ZodObject<{
5011
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5012
+ code: z.ZodString;
5013
+ message: z.ZodString;
5014
+ target: z.ZodOptional<z.ZodString>;
5015
+ fix: z.ZodOptional<z.ZodString>;
5016
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5017
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5018
+ code: z.ZodString;
5019
+ message: z.ZodString;
5020
+ target: z.ZodOptional<z.ZodString>;
5021
+ fix: z.ZodOptional<z.ZodString>;
5022
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5023
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5024
+ code: z.ZodString;
5025
+ message: z.ZodString;
5026
+ target: z.ZodOptional<z.ZodString>;
5027
+ fix: z.ZodOptional<z.ZodString>;
5028
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5029
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5030
+ status: z.ZodArray<z.ZodObject<{
5031
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5032
+ code: z.ZodString;
5033
+ message: z.ZodString;
5034
+ target: z.ZodOptional<z.ZodString>;
5035
+ fix: z.ZodOptional<z.ZodString>;
5036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5037
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5038
+ code: z.ZodString;
5039
+ message: z.ZodString;
5040
+ target: z.ZodOptional<z.ZodString>;
5041
+ fix: z.ZodOptional<z.ZodString>;
5042
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5043
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5044
+ code: z.ZodString;
5045
+ message: z.ZodString;
5046
+ target: z.ZodOptional<z.ZodString>;
5047
+ fix: z.ZodOptional<z.ZodString>;
5048
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5049
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5050
+ status: z.ZodArray<z.ZodObject<{
5051
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5052
+ code: z.ZodString;
5053
+ message: z.ZodString;
5054
+ target: z.ZodOptional<z.ZodString>;
5055
+ fix: z.ZodOptional<z.ZodString>;
5056
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5057
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5058
+ code: z.ZodString;
5059
+ message: z.ZodString;
5060
+ target: z.ZodOptional<z.ZodString>;
5061
+ fix: z.ZodOptional<z.ZodString>;
5062
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5063
+ severity: z.ZodEnum<["error", "warning", "info"]>;
5064
+ code: z.ZodString;
5065
+ message: z.ZodString;
5066
+ target: z.ZodOptional<z.ZodString>;
5067
+ fix: z.ZodOptional<z.ZodString>;
5068
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5069
+ }, z.ZodTypeAny, "passthrough">>]>;
5070
+ /** Typed ordinary Validate report, also used by 1.9 `validate --archived --json`. */
5071
+ declare const CliValidateReportSchema: z.ZodObject<{
5072
+ items: z.ZodArray<z.ZodObject<{
5073
+ id: z.ZodString;
5074
+ type: z.ZodEnum<["change", "spec"]>;
5075
+ valid: z.ZodBoolean;
5076
+ issues: z.ZodArray<z.ZodObject<{
5077
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5078
+ path: z.ZodString;
5079
+ message: z.ZodString;
5080
+ line: z.ZodOptional<z.ZodNumber>;
5081
+ column: z.ZodOptional<z.ZodNumber>;
5082
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5083
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5084
+ path: z.ZodString;
5085
+ message: z.ZodString;
5086
+ line: z.ZodOptional<z.ZodNumber>;
5087
+ column: z.ZodOptional<z.ZodNumber>;
5088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5089
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5090
+ path: z.ZodString;
5091
+ message: z.ZodString;
5092
+ line: z.ZodOptional<z.ZodNumber>;
5093
+ column: z.ZodOptional<z.ZodNumber>;
5094
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5095
+ durationMs: z.ZodNumber;
5096
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5097
+ id: z.ZodString;
5098
+ type: z.ZodEnum<["change", "spec"]>;
5099
+ valid: z.ZodBoolean;
5100
+ issues: z.ZodArray<z.ZodObject<{
5101
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5102
+ path: z.ZodString;
5103
+ message: z.ZodString;
5104
+ line: z.ZodOptional<z.ZodNumber>;
5105
+ column: z.ZodOptional<z.ZodNumber>;
5106
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5107
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5108
+ path: z.ZodString;
5109
+ message: z.ZodString;
5110
+ line: z.ZodOptional<z.ZodNumber>;
5111
+ column: z.ZodOptional<z.ZodNumber>;
5112
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5113
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5114
+ path: z.ZodString;
5115
+ message: z.ZodString;
5116
+ line: z.ZodOptional<z.ZodNumber>;
5117
+ column: z.ZodOptional<z.ZodNumber>;
5118
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5119
+ durationMs: z.ZodNumber;
5120
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5121
+ id: z.ZodString;
5122
+ type: z.ZodEnum<["change", "spec"]>;
5123
+ valid: z.ZodBoolean;
5124
+ issues: z.ZodArray<z.ZodObject<{
5125
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5126
+ path: z.ZodString;
5127
+ message: z.ZodString;
5128
+ line: z.ZodOptional<z.ZodNumber>;
5129
+ column: z.ZodOptional<z.ZodNumber>;
5130
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5131
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5132
+ path: z.ZodString;
5133
+ message: z.ZodString;
5134
+ line: z.ZodOptional<z.ZodNumber>;
5135
+ column: z.ZodOptional<z.ZodNumber>;
5136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5137
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5138
+ path: z.ZodString;
5139
+ message: z.ZodString;
5140
+ line: z.ZodOptional<z.ZodNumber>;
5141
+ column: z.ZodOptional<z.ZodNumber>;
5142
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5143
+ durationMs: z.ZodNumber;
5144
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5145
+ summary: z.ZodObject<{
5146
+ totals: z.ZodObject<{
5147
+ items: z.ZodNumber;
5148
+ passed: z.ZodNumber;
5149
+ failed: z.ZodNumber;
5150
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5151
+ items: z.ZodNumber;
5152
+ passed: z.ZodNumber;
5153
+ failed: z.ZodNumber;
5154
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5155
+ items: z.ZodNumber;
5156
+ passed: z.ZodNumber;
5157
+ failed: z.ZodNumber;
5158
+ }, z.ZodTypeAny, "passthrough">>;
5159
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5160
+ items: z.ZodNumber;
5161
+ passed: z.ZodNumber;
5162
+ failed: z.ZodNumber;
5163
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5164
+ items: z.ZodNumber;
5165
+ passed: z.ZodNumber;
5166
+ failed: z.ZodNumber;
5167
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5168
+ items: z.ZodNumber;
5169
+ passed: z.ZodNumber;
5170
+ failed: z.ZodNumber;
5171
+ }, z.ZodTypeAny, "passthrough">>>;
5172
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5173
+ totals: z.ZodObject<{
5174
+ items: z.ZodNumber;
5175
+ passed: z.ZodNumber;
5176
+ failed: z.ZodNumber;
5177
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5178
+ items: z.ZodNumber;
5179
+ passed: z.ZodNumber;
5180
+ failed: z.ZodNumber;
5181
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5182
+ items: z.ZodNumber;
5183
+ passed: z.ZodNumber;
5184
+ failed: z.ZodNumber;
5185
+ }, z.ZodTypeAny, "passthrough">>;
5186
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5187
+ items: z.ZodNumber;
5188
+ passed: z.ZodNumber;
5189
+ failed: z.ZodNumber;
5190
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5191
+ items: z.ZodNumber;
5192
+ passed: z.ZodNumber;
5193
+ failed: z.ZodNumber;
5194
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5195
+ items: z.ZodNumber;
5196
+ passed: z.ZodNumber;
5197
+ failed: z.ZodNumber;
5198
+ }, z.ZodTypeAny, "passthrough">>>;
5199
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5200
+ totals: z.ZodObject<{
5201
+ items: z.ZodNumber;
5202
+ passed: z.ZodNumber;
5203
+ failed: z.ZodNumber;
5204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5205
+ items: z.ZodNumber;
5206
+ passed: z.ZodNumber;
5207
+ failed: z.ZodNumber;
5208
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5209
+ items: z.ZodNumber;
5210
+ passed: z.ZodNumber;
5211
+ failed: z.ZodNumber;
5212
+ }, z.ZodTypeAny, "passthrough">>;
5213
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5214
+ items: z.ZodNumber;
5215
+ passed: z.ZodNumber;
5216
+ failed: z.ZodNumber;
5217
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5218
+ items: z.ZodNumber;
5219
+ passed: z.ZodNumber;
5220
+ failed: z.ZodNumber;
5221
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5222
+ items: z.ZodNumber;
5223
+ passed: z.ZodNumber;
5224
+ failed: z.ZodNumber;
5225
+ }, z.ZodTypeAny, "passthrough">>>;
5226
+ }, z.ZodTypeAny, "passthrough">>;
5227
+ version: z.ZodString;
5228
+ root: z.ZodObject<{
5229
+ path: z.ZodString;
5230
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5231
+ store_id: z.ZodOptional<z.ZodString>;
5232
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5233
+ path: z.ZodString;
5234
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5235
+ store_id: z.ZodOptional<z.ZodString>;
5236
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5237
+ path: z.ZodString;
5238
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5239
+ store_id: z.ZodOptional<z.ZodString>;
5240
+ }, z.ZodTypeAny, "passthrough">>;
5241
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5242
+ items: z.ZodArray<z.ZodObject<{
5243
+ id: z.ZodString;
5244
+ type: z.ZodEnum<["change", "spec"]>;
5245
+ valid: z.ZodBoolean;
5246
+ issues: z.ZodArray<z.ZodObject<{
5247
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5248
+ path: z.ZodString;
5249
+ message: z.ZodString;
5250
+ line: z.ZodOptional<z.ZodNumber>;
5251
+ column: z.ZodOptional<z.ZodNumber>;
5252
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5253
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5254
+ path: z.ZodString;
5255
+ message: z.ZodString;
5256
+ line: z.ZodOptional<z.ZodNumber>;
5257
+ column: z.ZodOptional<z.ZodNumber>;
5258
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5259
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5260
+ path: z.ZodString;
5261
+ message: z.ZodString;
5262
+ line: z.ZodOptional<z.ZodNumber>;
5263
+ column: z.ZodOptional<z.ZodNumber>;
5264
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5265
+ durationMs: z.ZodNumber;
5266
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5267
+ id: z.ZodString;
5268
+ type: z.ZodEnum<["change", "spec"]>;
5269
+ valid: z.ZodBoolean;
5270
+ issues: z.ZodArray<z.ZodObject<{
5271
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5272
+ path: z.ZodString;
5273
+ message: z.ZodString;
5274
+ line: z.ZodOptional<z.ZodNumber>;
5275
+ column: z.ZodOptional<z.ZodNumber>;
5276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5277
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5278
+ path: z.ZodString;
5279
+ message: z.ZodString;
5280
+ line: z.ZodOptional<z.ZodNumber>;
5281
+ column: z.ZodOptional<z.ZodNumber>;
5282
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5283
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5284
+ path: z.ZodString;
5285
+ message: z.ZodString;
5286
+ line: z.ZodOptional<z.ZodNumber>;
5287
+ column: z.ZodOptional<z.ZodNumber>;
5288
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5289
+ durationMs: z.ZodNumber;
5290
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5291
+ id: z.ZodString;
5292
+ type: z.ZodEnum<["change", "spec"]>;
5293
+ valid: z.ZodBoolean;
5294
+ issues: z.ZodArray<z.ZodObject<{
5295
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5296
+ path: z.ZodString;
5297
+ message: z.ZodString;
5298
+ line: z.ZodOptional<z.ZodNumber>;
5299
+ column: z.ZodOptional<z.ZodNumber>;
5300
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5301
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5302
+ path: z.ZodString;
5303
+ message: z.ZodString;
5304
+ line: z.ZodOptional<z.ZodNumber>;
5305
+ column: z.ZodOptional<z.ZodNumber>;
5306
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5307
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5308
+ path: z.ZodString;
5309
+ message: z.ZodString;
5310
+ line: z.ZodOptional<z.ZodNumber>;
5311
+ column: z.ZodOptional<z.ZodNumber>;
5312
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5313
+ durationMs: z.ZodNumber;
5314
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5315
+ summary: z.ZodObject<{
5316
+ totals: z.ZodObject<{
5317
+ items: z.ZodNumber;
5318
+ passed: z.ZodNumber;
5319
+ failed: z.ZodNumber;
5320
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5321
+ items: z.ZodNumber;
5322
+ passed: z.ZodNumber;
5323
+ failed: z.ZodNumber;
5324
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5325
+ items: z.ZodNumber;
5326
+ passed: z.ZodNumber;
5327
+ failed: z.ZodNumber;
5328
+ }, z.ZodTypeAny, "passthrough">>;
5329
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5330
+ items: z.ZodNumber;
5331
+ passed: z.ZodNumber;
5332
+ failed: z.ZodNumber;
5333
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5334
+ items: z.ZodNumber;
5335
+ passed: z.ZodNumber;
5336
+ failed: z.ZodNumber;
5337
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5338
+ items: z.ZodNumber;
5339
+ passed: z.ZodNumber;
5340
+ failed: z.ZodNumber;
5341
+ }, z.ZodTypeAny, "passthrough">>>;
5342
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5343
+ totals: z.ZodObject<{
5344
+ items: z.ZodNumber;
5345
+ passed: z.ZodNumber;
5346
+ failed: z.ZodNumber;
5347
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5348
+ items: z.ZodNumber;
5349
+ passed: z.ZodNumber;
5350
+ failed: z.ZodNumber;
5351
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5352
+ items: z.ZodNumber;
5353
+ passed: z.ZodNumber;
5354
+ failed: z.ZodNumber;
5355
+ }, z.ZodTypeAny, "passthrough">>;
5356
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5357
+ items: z.ZodNumber;
5358
+ passed: z.ZodNumber;
5359
+ failed: z.ZodNumber;
5360
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5361
+ items: z.ZodNumber;
5362
+ passed: z.ZodNumber;
5363
+ failed: z.ZodNumber;
5364
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5365
+ items: z.ZodNumber;
5366
+ passed: z.ZodNumber;
5367
+ failed: z.ZodNumber;
5368
+ }, z.ZodTypeAny, "passthrough">>>;
5369
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5370
+ totals: z.ZodObject<{
5371
+ items: z.ZodNumber;
5372
+ passed: z.ZodNumber;
5373
+ failed: z.ZodNumber;
5374
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5375
+ items: z.ZodNumber;
5376
+ passed: z.ZodNumber;
5377
+ failed: z.ZodNumber;
5378
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5379
+ items: z.ZodNumber;
5380
+ passed: z.ZodNumber;
5381
+ failed: z.ZodNumber;
5382
+ }, z.ZodTypeAny, "passthrough">>;
5383
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5384
+ items: z.ZodNumber;
5385
+ passed: z.ZodNumber;
5386
+ failed: z.ZodNumber;
5387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5388
+ items: z.ZodNumber;
5389
+ passed: z.ZodNumber;
5390
+ failed: z.ZodNumber;
5391
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5392
+ items: z.ZodNumber;
5393
+ passed: z.ZodNumber;
5394
+ failed: z.ZodNumber;
5395
+ }, z.ZodTypeAny, "passthrough">>>;
5396
+ }, z.ZodTypeAny, "passthrough">>;
5397
+ version: z.ZodString;
5398
+ root: z.ZodObject<{
5399
+ path: z.ZodString;
5400
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5401
+ store_id: z.ZodOptional<z.ZodString>;
5402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5403
+ path: z.ZodString;
5404
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5405
+ store_id: z.ZodOptional<z.ZodString>;
5406
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5407
+ path: z.ZodString;
5408
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5409
+ store_id: z.ZodOptional<z.ZodString>;
5410
+ }, z.ZodTypeAny, "passthrough">>;
5411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5412
+ items: z.ZodArray<z.ZodObject<{
5413
+ id: z.ZodString;
5414
+ type: z.ZodEnum<["change", "spec"]>;
5415
+ valid: z.ZodBoolean;
5416
+ issues: z.ZodArray<z.ZodObject<{
5417
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5418
+ path: z.ZodString;
5419
+ message: z.ZodString;
5420
+ line: z.ZodOptional<z.ZodNumber>;
5421
+ column: z.ZodOptional<z.ZodNumber>;
5422
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5423
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5424
+ path: z.ZodString;
5425
+ message: z.ZodString;
5426
+ line: z.ZodOptional<z.ZodNumber>;
5427
+ column: z.ZodOptional<z.ZodNumber>;
5428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5429
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5430
+ path: z.ZodString;
5431
+ message: z.ZodString;
5432
+ line: z.ZodOptional<z.ZodNumber>;
5433
+ column: z.ZodOptional<z.ZodNumber>;
5434
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5435
+ durationMs: z.ZodNumber;
5436
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5437
+ id: z.ZodString;
5438
+ type: z.ZodEnum<["change", "spec"]>;
5439
+ valid: z.ZodBoolean;
5440
+ issues: z.ZodArray<z.ZodObject<{
5441
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5442
+ path: z.ZodString;
5443
+ message: z.ZodString;
5444
+ line: z.ZodOptional<z.ZodNumber>;
5445
+ column: z.ZodOptional<z.ZodNumber>;
5446
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5447
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5448
+ path: z.ZodString;
5449
+ message: z.ZodString;
5450
+ line: z.ZodOptional<z.ZodNumber>;
5451
+ column: z.ZodOptional<z.ZodNumber>;
5452
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5453
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5454
+ path: z.ZodString;
5455
+ message: z.ZodString;
5456
+ line: z.ZodOptional<z.ZodNumber>;
5457
+ column: z.ZodOptional<z.ZodNumber>;
5458
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5459
+ durationMs: z.ZodNumber;
5460
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5461
+ id: z.ZodString;
5462
+ type: z.ZodEnum<["change", "spec"]>;
5463
+ valid: z.ZodBoolean;
5464
+ issues: z.ZodArray<z.ZodObject<{
5465
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5466
+ path: z.ZodString;
5467
+ message: z.ZodString;
5468
+ line: z.ZodOptional<z.ZodNumber>;
5469
+ column: z.ZodOptional<z.ZodNumber>;
5470
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5471
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5472
+ path: z.ZodString;
5473
+ message: z.ZodString;
5474
+ line: z.ZodOptional<z.ZodNumber>;
5475
+ column: z.ZodOptional<z.ZodNumber>;
5476
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5477
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5478
+ path: z.ZodString;
5479
+ message: z.ZodString;
5480
+ line: z.ZodOptional<z.ZodNumber>;
5481
+ column: z.ZodOptional<z.ZodNumber>;
5482
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5483
+ durationMs: z.ZodNumber;
5484
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5485
+ summary: z.ZodObject<{
5486
+ totals: z.ZodObject<{
5487
+ items: z.ZodNumber;
5488
+ passed: z.ZodNumber;
5489
+ failed: z.ZodNumber;
5490
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5491
+ items: z.ZodNumber;
5492
+ passed: z.ZodNumber;
5493
+ failed: z.ZodNumber;
5494
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5495
+ items: z.ZodNumber;
5496
+ passed: z.ZodNumber;
5497
+ failed: z.ZodNumber;
5498
+ }, z.ZodTypeAny, "passthrough">>;
5499
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5500
+ items: z.ZodNumber;
5501
+ passed: z.ZodNumber;
5502
+ failed: z.ZodNumber;
5503
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5504
+ items: z.ZodNumber;
5505
+ passed: z.ZodNumber;
5506
+ failed: z.ZodNumber;
5507
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5508
+ items: z.ZodNumber;
5509
+ passed: z.ZodNumber;
5510
+ failed: z.ZodNumber;
5511
+ }, z.ZodTypeAny, "passthrough">>>;
5512
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5513
+ totals: z.ZodObject<{
5514
+ items: z.ZodNumber;
5515
+ passed: z.ZodNumber;
5516
+ failed: z.ZodNumber;
5517
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5518
+ items: z.ZodNumber;
5519
+ passed: z.ZodNumber;
5520
+ failed: z.ZodNumber;
5521
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5522
+ items: z.ZodNumber;
5523
+ passed: z.ZodNumber;
5524
+ failed: z.ZodNumber;
5525
+ }, z.ZodTypeAny, "passthrough">>;
5526
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5527
+ items: z.ZodNumber;
5528
+ passed: z.ZodNumber;
5529
+ failed: z.ZodNumber;
5530
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5531
+ items: z.ZodNumber;
5532
+ passed: z.ZodNumber;
5533
+ failed: z.ZodNumber;
5534
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5535
+ items: z.ZodNumber;
5536
+ passed: z.ZodNumber;
5537
+ failed: z.ZodNumber;
5538
+ }, z.ZodTypeAny, "passthrough">>>;
5539
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5540
+ totals: z.ZodObject<{
5541
+ items: z.ZodNumber;
5542
+ passed: z.ZodNumber;
5543
+ failed: z.ZodNumber;
5544
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5545
+ items: z.ZodNumber;
5546
+ passed: z.ZodNumber;
5547
+ failed: z.ZodNumber;
5548
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5549
+ items: z.ZodNumber;
5550
+ passed: z.ZodNumber;
5551
+ failed: z.ZodNumber;
5552
+ }, z.ZodTypeAny, "passthrough">>;
5553
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5554
+ items: z.ZodNumber;
5555
+ passed: z.ZodNumber;
5556
+ failed: z.ZodNumber;
5557
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5558
+ items: z.ZodNumber;
5559
+ passed: z.ZodNumber;
5560
+ failed: z.ZodNumber;
5561
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5562
+ items: z.ZodNumber;
5563
+ passed: z.ZodNumber;
5564
+ failed: z.ZodNumber;
5565
+ }, z.ZodTypeAny, "passthrough">>>;
5566
+ }, z.ZodTypeAny, "passthrough">>;
5567
+ version: z.ZodString;
5568
+ root: z.ZodObject<{
5569
+ path: z.ZodString;
5570
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5571
+ store_id: z.ZodOptional<z.ZodString>;
5572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5573
+ path: z.ZodString;
5574
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5575
+ store_id: z.ZodOptional<z.ZodString>;
5576
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5577
+ path: z.ZodString;
5578
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5579
+ store_id: z.ZodOptional<z.ZodString>;
5580
+ }, z.ZodTypeAny, "passthrough">>;
5581
+ }, z.ZodTypeAny, "passthrough">>;
5582
+ /** Typed strict, non-strict, or archived Validate result, including failure diagnostics. */
5583
+ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5584
+ items: z.ZodArray<z.ZodObject<{
5585
+ id: z.ZodString;
5586
+ type: z.ZodEnum<["change", "spec"]>;
5587
+ valid: z.ZodBoolean;
5588
+ issues: z.ZodArray<z.ZodObject<{
5589
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5590
+ path: z.ZodString;
5591
+ message: z.ZodString;
5592
+ line: z.ZodOptional<z.ZodNumber>;
5593
+ column: z.ZodOptional<z.ZodNumber>;
5594
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5595
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5596
+ path: z.ZodString;
5597
+ message: z.ZodString;
5598
+ line: z.ZodOptional<z.ZodNumber>;
5599
+ column: z.ZodOptional<z.ZodNumber>;
5600
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5601
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5602
+ path: z.ZodString;
5603
+ message: z.ZodString;
5604
+ line: z.ZodOptional<z.ZodNumber>;
5605
+ column: z.ZodOptional<z.ZodNumber>;
5606
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5607
+ durationMs: z.ZodNumber;
5608
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5609
+ id: z.ZodString;
5610
+ type: z.ZodEnum<["change", "spec"]>;
5611
+ valid: z.ZodBoolean;
5612
+ issues: z.ZodArray<z.ZodObject<{
5613
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5614
+ path: z.ZodString;
5615
+ message: z.ZodString;
5616
+ line: z.ZodOptional<z.ZodNumber>;
5617
+ column: z.ZodOptional<z.ZodNumber>;
5618
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5619
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5620
+ path: z.ZodString;
5621
+ message: z.ZodString;
5622
+ line: z.ZodOptional<z.ZodNumber>;
5623
+ column: z.ZodOptional<z.ZodNumber>;
5624
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5625
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5626
+ path: z.ZodString;
5627
+ message: z.ZodString;
5628
+ line: z.ZodOptional<z.ZodNumber>;
5629
+ column: z.ZodOptional<z.ZodNumber>;
5630
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5631
+ durationMs: z.ZodNumber;
5632
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5633
+ id: z.ZodString;
5634
+ type: z.ZodEnum<["change", "spec"]>;
5635
+ valid: z.ZodBoolean;
5636
+ issues: z.ZodArray<z.ZodObject<{
5637
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5638
+ path: z.ZodString;
5639
+ message: z.ZodString;
5640
+ line: z.ZodOptional<z.ZodNumber>;
5641
+ column: z.ZodOptional<z.ZodNumber>;
5642
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5643
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5644
+ path: z.ZodString;
5645
+ message: z.ZodString;
5646
+ line: z.ZodOptional<z.ZodNumber>;
5647
+ column: z.ZodOptional<z.ZodNumber>;
5648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5649
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5650
+ path: z.ZodString;
5651
+ message: z.ZodString;
5652
+ line: z.ZodOptional<z.ZodNumber>;
5653
+ column: z.ZodOptional<z.ZodNumber>;
5654
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5655
+ durationMs: z.ZodNumber;
5656
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5657
+ summary: z.ZodObject<{
5658
+ totals: z.ZodObject<{
5659
+ items: z.ZodNumber;
5660
+ passed: z.ZodNumber;
5661
+ failed: z.ZodNumber;
5662
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5663
+ items: z.ZodNumber;
5664
+ passed: z.ZodNumber;
5665
+ failed: z.ZodNumber;
5666
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5667
+ items: z.ZodNumber;
5668
+ passed: z.ZodNumber;
5669
+ failed: z.ZodNumber;
5670
+ }, z.ZodTypeAny, "passthrough">>;
5671
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5672
+ items: z.ZodNumber;
5673
+ passed: z.ZodNumber;
5674
+ failed: z.ZodNumber;
5675
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5676
+ items: z.ZodNumber;
5677
+ passed: z.ZodNumber;
5678
+ failed: z.ZodNumber;
5679
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5680
+ items: z.ZodNumber;
5681
+ passed: z.ZodNumber;
5682
+ failed: z.ZodNumber;
5683
+ }, z.ZodTypeAny, "passthrough">>>;
5684
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5685
+ totals: z.ZodObject<{
5686
+ items: z.ZodNumber;
5687
+ passed: z.ZodNumber;
5688
+ failed: z.ZodNumber;
5689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5690
+ items: z.ZodNumber;
5691
+ passed: z.ZodNumber;
5692
+ failed: z.ZodNumber;
5693
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5694
+ items: z.ZodNumber;
5695
+ passed: z.ZodNumber;
5696
+ failed: z.ZodNumber;
5697
+ }, z.ZodTypeAny, "passthrough">>;
5698
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5699
+ items: z.ZodNumber;
5700
+ passed: z.ZodNumber;
5701
+ failed: z.ZodNumber;
5702
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5703
+ items: z.ZodNumber;
5704
+ passed: z.ZodNumber;
5705
+ failed: z.ZodNumber;
5706
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5707
+ items: z.ZodNumber;
5708
+ passed: z.ZodNumber;
5709
+ failed: z.ZodNumber;
5710
+ }, z.ZodTypeAny, "passthrough">>>;
5711
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5712
+ totals: z.ZodObject<{
5713
+ items: z.ZodNumber;
5714
+ passed: z.ZodNumber;
5715
+ failed: z.ZodNumber;
5716
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5717
+ items: z.ZodNumber;
5718
+ passed: z.ZodNumber;
5719
+ failed: z.ZodNumber;
5720
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5721
+ items: z.ZodNumber;
5722
+ passed: z.ZodNumber;
5723
+ failed: z.ZodNumber;
5724
+ }, z.ZodTypeAny, "passthrough">>;
5725
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5726
+ items: z.ZodNumber;
5727
+ passed: z.ZodNumber;
5728
+ failed: z.ZodNumber;
5729
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5730
+ items: z.ZodNumber;
5731
+ passed: z.ZodNumber;
5732
+ failed: z.ZodNumber;
5733
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5734
+ items: z.ZodNumber;
5735
+ passed: z.ZodNumber;
5736
+ failed: z.ZodNumber;
5737
+ }, z.ZodTypeAny, "passthrough">>>;
5738
+ }, z.ZodTypeAny, "passthrough">>;
5739
+ version: z.ZodString;
5740
+ root: z.ZodObject<{
5741
+ path: z.ZodString;
5742
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5743
+ store_id: z.ZodOptional<z.ZodString>;
5744
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5745
+ path: z.ZodString;
5746
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5747
+ store_id: z.ZodOptional<z.ZodString>;
5748
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5749
+ path: z.ZodString;
5750
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5751
+ store_id: z.ZodOptional<z.ZodString>;
5752
+ }, z.ZodTypeAny, "passthrough">>;
5753
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5754
+ items: z.ZodArray<z.ZodObject<{
5755
+ id: z.ZodString;
5756
+ type: z.ZodEnum<["change", "spec"]>;
5757
+ valid: z.ZodBoolean;
5758
+ issues: z.ZodArray<z.ZodObject<{
5759
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5760
+ path: z.ZodString;
5761
+ message: z.ZodString;
5762
+ line: z.ZodOptional<z.ZodNumber>;
5763
+ column: z.ZodOptional<z.ZodNumber>;
5764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5765
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5766
+ path: z.ZodString;
5767
+ message: z.ZodString;
5768
+ line: z.ZodOptional<z.ZodNumber>;
5769
+ column: z.ZodOptional<z.ZodNumber>;
5770
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5771
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5772
+ path: z.ZodString;
5773
+ message: z.ZodString;
5774
+ line: z.ZodOptional<z.ZodNumber>;
5775
+ column: z.ZodOptional<z.ZodNumber>;
5776
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5777
+ durationMs: z.ZodNumber;
5778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5779
+ id: z.ZodString;
5780
+ type: z.ZodEnum<["change", "spec"]>;
5781
+ valid: z.ZodBoolean;
5782
+ issues: z.ZodArray<z.ZodObject<{
5783
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5784
+ path: z.ZodString;
5785
+ message: z.ZodString;
5786
+ line: z.ZodOptional<z.ZodNumber>;
5787
+ column: z.ZodOptional<z.ZodNumber>;
5788
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5789
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5790
+ path: z.ZodString;
5791
+ message: z.ZodString;
5792
+ line: z.ZodOptional<z.ZodNumber>;
5793
+ column: z.ZodOptional<z.ZodNumber>;
5794
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5795
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5796
+ path: z.ZodString;
5797
+ message: z.ZodString;
5798
+ line: z.ZodOptional<z.ZodNumber>;
5799
+ column: z.ZodOptional<z.ZodNumber>;
5800
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5801
+ durationMs: z.ZodNumber;
5802
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5803
+ id: z.ZodString;
5804
+ type: z.ZodEnum<["change", "spec"]>;
5805
+ valid: z.ZodBoolean;
5806
+ issues: z.ZodArray<z.ZodObject<{
5807
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5808
+ path: z.ZodString;
5809
+ message: z.ZodString;
5810
+ line: z.ZodOptional<z.ZodNumber>;
5811
+ column: z.ZodOptional<z.ZodNumber>;
5812
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5813
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5814
+ path: z.ZodString;
5815
+ message: z.ZodString;
5816
+ line: z.ZodOptional<z.ZodNumber>;
5817
+ column: z.ZodOptional<z.ZodNumber>;
5818
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5819
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5820
+ path: z.ZodString;
5821
+ message: z.ZodString;
5822
+ line: z.ZodOptional<z.ZodNumber>;
5823
+ column: z.ZodOptional<z.ZodNumber>;
5824
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5825
+ durationMs: z.ZodNumber;
5826
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5827
+ summary: z.ZodObject<{
5828
+ totals: z.ZodObject<{
5829
+ items: z.ZodNumber;
5830
+ passed: z.ZodNumber;
5831
+ failed: z.ZodNumber;
5832
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5833
+ items: z.ZodNumber;
5834
+ passed: z.ZodNumber;
5835
+ failed: z.ZodNumber;
5836
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5837
+ items: z.ZodNumber;
5838
+ passed: z.ZodNumber;
5839
+ failed: z.ZodNumber;
5840
+ }, z.ZodTypeAny, "passthrough">>;
5841
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5842
+ items: z.ZodNumber;
5843
+ passed: z.ZodNumber;
5844
+ failed: z.ZodNumber;
5845
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5846
+ items: z.ZodNumber;
5847
+ passed: z.ZodNumber;
5848
+ failed: z.ZodNumber;
5849
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5850
+ items: z.ZodNumber;
5851
+ passed: z.ZodNumber;
5852
+ failed: z.ZodNumber;
5853
+ }, z.ZodTypeAny, "passthrough">>>;
5854
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5855
+ totals: z.ZodObject<{
5856
+ items: z.ZodNumber;
5857
+ passed: z.ZodNumber;
5858
+ failed: z.ZodNumber;
5859
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5860
+ items: z.ZodNumber;
5861
+ passed: z.ZodNumber;
5862
+ failed: z.ZodNumber;
5863
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5864
+ items: z.ZodNumber;
5865
+ passed: z.ZodNumber;
5866
+ failed: z.ZodNumber;
5867
+ }, z.ZodTypeAny, "passthrough">>;
5868
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5869
+ items: z.ZodNumber;
5870
+ passed: z.ZodNumber;
5871
+ failed: z.ZodNumber;
5872
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5873
+ items: z.ZodNumber;
5874
+ passed: z.ZodNumber;
5875
+ failed: z.ZodNumber;
5876
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5877
+ items: z.ZodNumber;
5878
+ passed: z.ZodNumber;
5879
+ failed: z.ZodNumber;
5880
+ }, z.ZodTypeAny, "passthrough">>>;
5881
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5882
+ totals: z.ZodObject<{
5883
+ items: z.ZodNumber;
5884
+ passed: z.ZodNumber;
5885
+ failed: z.ZodNumber;
5886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5887
+ items: z.ZodNumber;
5888
+ passed: z.ZodNumber;
5889
+ failed: z.ZodNumber;
5890
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5891
+ items: z.ZodNumber;
5892
+ passed: z.ZodNumber;
5893
+ failed: z.ZodNumber;
5894
+ }, z.ZodTypeAny, "passthrough">>;
5895
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
5896
+ items: z.ZodNumber;
5897
+ passed: z.ZodNumber;
5898
+ failed: z.ZodNumber;
5899
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5900
+ items: z.ZodNumber;
5901
+ passed: z.ZodNumber;
5902
+ failed: z.ZodNumber;
5903
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5904
+ items: z.ZodNumber;
5905
+ passed: z.ZodNumber;
5906
+ failed: z.ZodNumber;
5907
+ }, z.ZodTypeAny, "passthrough">>>;
5908
+ }, z.ZodTypeAny, "passthrough">>;
5909
+ version: z.ZodString;
5910
+ root: z.ZodObject<{
5911
+ path: z.ZodString;
5912
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5913
+ store_id: z.ZodOptional<z.ZodString>;
5914
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5915
+ path: z.ZodString;
5916
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5917
+ store_id: z.ZodOptional<z.ZodString>;
5918
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5919
+ path: z.ZodString;
5920
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5921
+ store_id: z.ZodOptional<z.ZodString>;
5922
+ }, z.ZodTypeAny, "passthrough">>;
5923
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5924
+ items: z.ZodArray<z.ZodObject<{
5925
+ id: z.ZodString;
5926
+ type: z.ZodEnum<["change", "spec"]>;
5927
+ valid: z.ZodBoolean;
5928
+ issues: z.ZodArray<z.ZodObject<{
5929
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5930
+ path: z.ZodString;
5931
+ message: z.ZodString;
5932
+ line: z.ZodOptional<z.ZodNumber>;
5933
+ column: z.ZodOptional<z.ZodNumber>;
5934
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5935
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5936
+ path: z.ZodString;
5937
+ message: z.ZodString;
5938
+ line: z.ZodOptional<z.ZodNumber>;
5939
+ column: z.ZodOptional<z.ZodNumber>;
5940
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5941
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5942
+ path: z.ZodString;
5943
+ message: z.ZodString;
5944
+ line: z.ZodOptional<z.ZodNumber>;
5945
+ column: z.ZodOptional<z.ZodNumber>;
5946
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5947
+ durationMs: z.ZodNumber;
5948
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5949
+ id: z.ZodString;
5950
+ type: z.ZodEnum<["change", "spec"]>;
5951
+ valid: z.ZodBoolean;
5952
+ issues: z.ZodArray<z.ZodObject<{
5953
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5954
+ path: z.ZodString;
5955
+ message: z.ZodString;
5956
+ line: z.ZodOptional<z.ZodNumber>;
5957
+ column: z.ZodOptional<z.ZodNumber>;
5958
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5959
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5960
+ path: z.ZodString;
5961
+ message: z.ZodString;
5962
+ line: z.ZodOptional<z.ZodNumber>;
5963
+ column: z.ZodOptional<z.ZodNumber>;
5964
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5965
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5966
+ path: z.ZodString;
5967
+ message: z.ZodString;
5968
+ line: z.ZodOptional<z.ZodNumber>;
5969
+ column: z.ZodOptional<z.ZodNumber>;
5970
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5971
+ durationMs: z.ZodNumber;
5972
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5973
+ id: z.ZodString;
5974
+ type: z.ZodEnum<["change", "spec"]>;
5975
+ valid: z.ZodBoolean;
5976
+ issues: z.ZodArray<z.ZodObject<{
5977
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5978
+ path: z.ZodString;
5979
+ message: z.ZodString;
5980
+ line: z.ZodOptional<z.ZodNumber>;
5981
+ column: z.ZodOptional<z.ZodNumber>;
5982
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5983
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5984
+ path: z.ZodString;
5985
+ message: z.ZodString;
5986
+ line: z.ZodOptional<z.ZodNumber>;
5987
+ column: z.ZodOptional<z.ZodNumber>;
5988
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5989
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
5990
+ path: z.ZodString;
5991
+ message: z.ZodString;
5992
+ line: z.ZodOptional<z.ZodNumber>;
5993
+ column: z.ZodOptional<z.ZodNumber>;
5994
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5995
+ durationMs: z.ZodNumber;
5996
+ }, z.ZodTypeAny, "passthrough">>, "many">;
5997
+ summary: z.ZodObject<{
5998
+ totals: z.ZodObject<{
5999
+ items: z.ZodNumber;
6000
+ passed: z.ZodNumber;
6001
+ failed: z.ZodNumber;
6002
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6003
+ items: z.ZodNumber;
6004
+ passed: z.ZodNumber;
6005
+ failed: z.ZodNumber;
6006
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6007
+ items: z.ZodNumber;
6008
+ passed: z.ZodNumber;
6009
+ failed: z.ZodNumber;
6010
+ }, z.ZodTypeAny, "passthrough">>;
6011
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6012
+ items: z.ZodNumber;
6013
+ passed: z.ZodNumber;
6014
+ failed: z.ZodNumber;
6015
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6016
+ items: z.ZodNumber;
6017
+ passed: z.ZodNumber;
6018
+ failed: z.ZodNumber;
6019
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6020
+ items: z.ZodNumber;
6021
+ passed: z.ZodNumber;
6022
+ failed: z.ZodNumber;
6023
+ }, z.ZodTypeAny, "passthrough">>>;
6024
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6025
+ totals: z.ZodObject<{
6026
+ items: z.ZodNumber;
6027
+ passed: z.ZodNumber;
6028
+ failed: z.ZodNumber;
6029
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6030
+ items: z.ZodNumber;
6031
+ passed: z.ZodNumber;
6032
+ failed: z.ZodNumber;
6033
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6034
+ items: z.ZodNumber;
6035
+ passed: z.ZodNumber;
6036
+ failed: z.ZodNumber;
6037
+ }, z.ZodTypeAny, "passthrough">>;
6038
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6039
+ items: z.ZodNumber;
6040
+ passed: z.ZodNumber;
6041
+ failed: z.ZodNumber;
6042
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6043
+ items: z.ZodNumber;
6044
+ passed: z.ZodNumber;
6045
+ failed: z.ZodNumber;
6046
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6047
+ items: z.ZodNumber;
6048
+ passed: z.ZodNumber;
6049
+ failed: z.ZodNumber;
6050
+ }, z.ZodTypeAny, "passthrough">>>;
6051
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6052
+ totals: z.ZodObject<{
6053
+ items: z.ZodNumber;
6054
+ passed: z.ZodNumber;
6055
+ failed: z.ZodNumber;
6056
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6057
+ items: z.ZodNumber;
6058
+ passed: z.ZodNumber;
6059
+ failed: z.ZodNumber;
6060
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6061
+ items: z.ZodNumber;
6062
+ passed: z.ZodNumber;
6063
+ failed: z.ZodNumber;
6064
+ }, z.ZodTypeAny, "passthrough">>;
6065
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6066
+ items: z.ZodNumber;
6067
+ passed: z.ZodNumber;
6068
+ failed: z.ZodNumber;
6069
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6070
+ items: z.ZodNumber;
6071
+ passed: z.ZodNumber;
6072
+ failed: z.ZodNumber;
6073
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6074
+ items: z.ZodNumber;
6075
+ passed: z.ZodNumber;
6076
+ failed: z.ZodNumber;
6077
+ }, z.ZodTypeAny, "passthrough">>>;
6078
+ }, z.ZodTypeAny, "passthrough">>;
6079
+ version: z.ZodString;
6080
+ root: z.ZodObject<{
6081
+ path: z.ZodString;
6082
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6083
+ store_id: z.ZodOptional<z.ZodString>;
6084
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6085
+ path: z.ZodString;
6086
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6087
+ store_id: z.ZodOptional<z.ZodString>;
6088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6089
+ path: z.ZodString;
6090
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6091
+ store_id: z.ZodOptional<z.ZodString>;
6092
+ }, z.ZodTypeAny, "passthrough">>;
6093
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6094
+ status: z.ZodArray<z.ZodObject<{
6095
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6096
+ code: z.ZodString;
6097
+ message: z.ZodString;
6098
+ target: z.ZodOptional<z.ZodString>;
6099
+ fix: z.ZodOptional<z.ZodString>;
6100
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6101
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6102
+ code: z.ZodString;
6103
+ message: z.ZodString;
6104
+ target: z.ZodOptional<z.ZodString>;
6105
+ fix: z.ZodOptional<z.ZodString>;
6106
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6107
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6108
+ code: z.ZodString;
6109
+ message: z.ZodString;
6110
+ target: z.ZodOptional<z.ZodString>;
6111
+ fix: z.ZodOptional<z.ZodString>;
6112
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6113
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6114
+ status: z.ZodArray<z.ZodObject<{
6115
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6116
+ code: z.ZodString;
6117
+ message: z.ZodString;
6118
+ target: z.ZodOptional<z.ZodString>;
6119
+ fix: z.ZodOptional<z.ZodString>;
6120
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6121
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6122
+ code: z.ZodString;
6123
+ message: z.ZodString;
6124
+ target: z.ZodOptional<z.ZodString>;
6125
+ fix: z.ZodOptional<z.ZodString>;
6126
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6127
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6128
+ code: z.ZodString;
6129
+ message: z.ZodString;
6130
+ target: z.ZodOptional<z.ZodString>;
6131
+ fix: z.ZodOptional<z.ZodString>;
6132
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6133
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6134
+ status: z.ZodArray<z.ZodObject<{
6135
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6136
+ code: z.ZodString;
6137
+ message: z.ZodString;
6138
+ target: z.ZodOptional<z.ZodString>;
6139
+ fix: z.ZodOptional<z.ZodString>;
6140
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6141
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6142
+ code: z.ZodString;
6143
+ message: z.ZodString;
6144
+ target: z.ZodOptional<z.ZodString>;
6145
+ fix: z.ZodOptional<z.ZodString>;
6146
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6147
+ severity: z.ZodEnum<["error", "warning", "info"]>;
6148
+ code: z.ZodString;
6149
+ message: z.ZodString;
6150
+ target: z.ZodOptional<z.ZodString>;
6151
+ fix: z.ZodOptional<z.ZodString>;
6152
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6153
+ }, z.ZodTypeAny, "passthrough">>]>;
6154
+ /**
6155
+ * Typed OpenSpec 1.12 `validate --report findings` document.
6156
+ *
6157
+ * The findings report is a filtered evidence transport beside the full report, never the
6158
+ * validation truth: `itemFindings` carries only items with issues, while `summary` and
6159
+ * `root` stay the full-run values the CLI computed over every item in scope.
6160
+ * `report.returnedItems`/`report.totalItems` distinguish the filtered view from the run
6161
+ * size, and the process exit code keeps the full-run rule (`failed > 0 -> 1`), so decoding
6162
+ * never consults it. An empty scope is the success document
6163
+ * `{ returnedItems: 0, totalItems: 0, itemFindings: [] }`, not a failure sum type.
6164
+ *
6165
+ * Two upstream-guaranteed invariants are decode-level facts (pinned v1.12.0
6166
+ * `projectValidationFindings`): every `itemFindings` entry carries at least one issue
6167
+ * (upstream filters `item.issues.length > 0`), and `returnedItems` never exceeds
6168
+ * `totalItems` (the filtered view is a subset of the full run). Upstream also happens to
6169
+ * set `returnedItems === itemFindings.length` today; that equality stays unasserted so a
6170
+ * future patch-level count adjustment inside the admitted range cannot fabricate a
6171
+ * contract error out of otherwise well-formed CLI evidence.
6172
+ */
6173
+ declare const CliValidateFindingsSchema: z.ZodEffects<z.ZodObject<{
6174
+ report: z.ZodObject<{
6175
+ kind: z.ZodLiteral<"validation-findings">;
6176
+ version: z.ZodString;
6177
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6178
+ returnedItems: z.ZodNumber;
6179
+ totalItems: z.ZodNumber;
6180
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6181
+ kind: z.ZodLiteral<"validation-findings">;
6182
+ version: z.ZodString;
6183
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6184
+ returnedItems: z.ZodNumber;
6185
+ totalItems: z.ZodNumber;
6186
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6187
+ kind: z.ZodLiteral<"validation-findings">;
6188
+ version: z.ZodString;
6189
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6190
+ returnedItems: z.ZodNumber;
6191
+ totalItems: z.ZodNumber;
6192
+ }, z.ZodTypeAny, "passthrough">>;
6193
+ itemFindings: z.ZodArray<z.ZodObject<{
6194
+ id: z.ZodString;
6195
+ type: z.ZodEnum<["change", "spec"]>;
6196
+ valid: z.ZodBoolean;
6197
+ issues: z.ZodArray<z.ZodObject<{
6198
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6199
+ path: z.ZodString;
6200
+ message: z.ZodString;
6201
+ line: z.ZodOptional<z.ZodNumber>;
6202
+ column: z.ZodOptional<z.ZodNumber>;
6203
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6204
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6205
+ path: z.ZodString;
6206
+ message: z.ZodString;
6207
+ line: z.ZodOptional<z.ZodNumber>;
6208
+ column: z.ZodOptional<z.ZodNumber>;
6209
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6210
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6211
+ path: z.ZodString;
6212
+ message: z.ZodString;
6213
+ line: z.ZodOptional<z.ZodNumber>;
6214
+ column: z.ZodOptional<z.ZodNumber>;
6215
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6216
+ durationMs: z.ZodNumber;
6217
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6218
+ id: z.ZodString;
6219
+ type: z.ZodEnum<["change", "spec"]>;
6220
+ valid: z.ZodBoolean;
6221
+ issues: z.ZodArray<z.ZodObject<{
6222
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6223
+ path: z.ZodString;
6224
+ message: z.ZodString;
6225
+ line: z.ZodOptional<z.ZodNumber>;
6226
+ column: z.ZodOptional<z.ZodNumber>;
6227
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6228
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6229
+ path: z.ZodString;
6230
+ message: z.ZodString;
6231
+ line: z.ZodOptional<z.ZodNumber>;
6232
+ column: z.ZodOptional<z.ZodNumber>;
6233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6234
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6235
+ path: z.ZodString;
6236
+ message: z.ZodString;
6237
+ line: z.ZodOptional<z.ZodNumber>;
6238
+ column: z.ZodOptional<z.ZodNumber>;
6239
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6240
+ durationMs: z.ZodNumber;
6241
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6242
+ id: z.ZodString;
6243
+ type: z.ZodEnum<["change", "spec"]>;
6244
+ valid: z.ZodBoolean;
6245
+ issues: z.ZodArray<z.ZodObject<{
6246
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6247
+ path: z.ZodString;
6248
+ message: z.ZodString;
6249
+ line: z.ZodOptional<z.ZodNumber>;
6250
+ column: z.ZodOptional<z.ZodNumber>;
6251
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6252
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6253
+ path: z.ZodString;
6254
+ message: z.ZodString;
6255
+ line: z.ZodOptional<z.ZodNumber>;
6256
+ column: z.ZodOptional<z.ZodNumber>;
6257
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6258
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6259
+ path: z.ZodString;
6260
+ message: z.ZodString;
6261
+ line: z.ZodOptional<z.ZodNumber>;
6262
+ column: z.ZodOptional<z.ZodNumber>;
6263
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6264
+ durationMs: z.ZodNumber;
6265
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6266
+ summary: z.ZodObject<{
6267
+ totals: z.ZodObject<{
6268
+ items: z.ZodNumber;
6269
+ passed: z.ZodNumber;
6270
+ failed: z.ZodNumber;
6271
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6272
+ items: z.ZodNumber;
6273
+ passed: z.ZodNumber;
6274
+ failed: z.ZodNumber;
6275
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6276
+ items: z.ZodNumber;
6277
+ passed: z.ZodNumber;
6278
+ failed: z.ZodNumber;
6279
+ }, z.ZodTypeAny, "passthrough">>;
6280
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6281
+ items: z.ZodNumber;
6282
+ passed: z.ZodNumber;
6283
+ failed: z.ZodNumber;
6284
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6285
+ items: z.ZodNumber;
6286
+ passed: z.ZodNumber;
6287
+ failed: z.ZodNumber;
6288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6289
+ items: z.ZodNumber;
6290
+ passed: z.ZodNumber;
6291
+ failed: z.ZodNumber;
6292
+ }, z.ZodTypeAny, "passthrough">>>;
6293
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6294
+ totals: z.ZodObject<{
6295
+ items: z.ZodNumber;
6296
+ passed: z.ZodNumber;
6297
+ failed: z.ZodNumber;
6298
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6299
+ items: z.ZodNumber;
6300
+ passed: z.ZodNumber;
6301
+ failed: z.ZodNumber;
6302
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6303
+ items: z.ZodNumber;
6304
+ passed: z.ZodNumber;
6305
+ failed: z.ZodNumber;
6306
+ }, z.ZodTypeAny, "passthrough">>;
6307
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6308
+ items: z.ZodNumber;
6309
+ passed: z.ZodNumber;
6310
+ failed: z.ZodNumber;
6311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6312
+ items: z.ZodNumber;
6313
+ passed: z.ZodNumber;
6314
+ failed: z.ZodNumber;
6315
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6316
+ items: z.ZodNumber;
6317
+ passed: z.ZodNumber;
6318
+ failed: z.ZodNumber;
6319
+ }, z.ZodTypeAny, "passthrough">>>;
6320
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6321
+ totals: z.ZodObject<{
6322
+ items: z.ZodNumber;
6323
+ passed: z.ZodNumber;
6324
+ failed: z.ZodNumber;
6325
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6326
+ items: z.ZodNumber;
6327
+ passed: z.ZodNumber;
6328
+ failed: z.ZodNumber;
6329
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6330
+ items: z.ZodNumber;
6331
+ passed: z.ZodNumber;
6332
+ failed: z.ZodNumber;
6333
+ }, z.ZodTypeAny, "passthrough">>;
6334
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6335
+ items: z.ZodNumber;
6336
+ passed: z.ZodNumber;
6337
+ failed: z.ZodNumber;
6338
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6339
+ items: z.ZodNumber;
6340
+ passed: z.ZodNumber;
6341
+ failed: z.ZodNumber;
6342
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6343
+ items: z.ZodNumber;
6344
+ passed: z.ZodNumber;
6345
+ failed: z.ZodNumber;
6346
+ }, z.ZodTypeAny, "passthrough">>>;
6347
+ }, z.ZodTypeAny, "passthrough">>;
6348
+ root: z.ZodObject<{
6349
+ path: z.ZodString;
6350
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6351
+ store_id: z.ZodOptional<z.ZodString>;
6352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6353
+ path: z.ZodString;
6354
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6355
+ store_id: z.ZodOptional<z.ZodString>;
6356
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6357
+ path: z.ZodString;
6358
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6359
+ store_id: z.ZodOptional<z.ZodString>;
6360
+ }, z.ZodTypeAny, "passthrough">>;
6361
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6362
+ report: z.ZodObject<{
6363
+ kind: z.ZodLiteral<"validation-findings">;
6364
+ version: z.ZodString;
6365
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6366
+ returnedItems: z.ZodNumber;
6367
+ totalItems: z.ZodNumber;
6368
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6369
+ kind: z.ZodLiteral<"validation-findings">;
6370
+ version: z.ZodString;
6371
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6372
+ returnedItems: z.ZodNumber;
6373
+ totalItems: z.ZodNumber;
6374
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6375
+ kind: z.ZodLiteral<"validation-findings">;
6376
+ version: z.ZodString;
6377
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6378
+ returnedItems: z.ZodNumber;
6379
+ totalItems: z.ZodNumber;
6380
+ }, z.ZodTypeAny, "passthrough">>;
6381
+ itemFindings: z.ZodArray<z.ZodObject<{
6382
+ id: z.ZodString;
6383
+ type: z.ZodEnum<["change", "spec"]>;
6384
+ valid: z.ZodBoolean;
6385
+ issues: z.ZodArray<z.ZodObject<{
6386
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6387
+ path: z.ZodString;
6388
+ message: z.ZodString;
6389
+ line: z.ZodOptional<z.ZodNumber>;
6390
+ column: z.ZodOptional<z.ZodNumber>;
6391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6392
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6393
+ path: z.ZodString;
6394
+ message: z.ZodString;
6395
+ line: z.ZodOptional<z.ZodNumber>;
6396
+ column: z.ZodOptional<z.ZodNumber>;
6397
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6398
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6399
+ path: z.ZodString;
6400
+ message: z.ZodString;
6401
+ line: z.ZodOptional<z.ZodNumber>;
6402
+ column: z.ZodOptional<z.ZodNumber>;
6403
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6404
+ durationMs: z.ZodNumber;
6405
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6406
+ id: z.ZodString;
6407
+ type: z.ZodEnum<["change", "spec"]>;
6408
+ valid: z.ZodBoolean;
6409
+ issues: z.ZodArray<z.ZodObject<{
6410
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6411
+ path: z.ZodString;
6412
+ message: z.ZodString;
6413
+ line: z.ZodOptional<z.ZodNumber>;
6414
+ column: z.ZodOptional<z.ZodNumber>;
6415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6416
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6417
+ path: z.ZodString;
6418
+ message: z.ZodString;
6419
+ line: z.ZodOptional<z.ZodNumber>;
6420
+ column: z.ZodOptional<z.ZodNumber>;
6421
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6422
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6423
+ path: z.ZodString;
6424
+ message: z.ZodString;
6425
+ line: z.ZodOptional<z.ZodNumber>;
6426
+ column: z.ZodOptional<z.ZodNumber>;
6427
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6428
+ durationMs: z.ZodNumber;
6429
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6430
+ id: z.ZodString;
6431
+ type: z.ZodEnum<["change", "spec"]>;
6432
+ valid: z.ZodBoolean;
6433
+ issues: z.ZodArray<z.ZodObject<{
6434
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6435
+ path: z.ZodString;
6436
+ message: z.ZodString;
6437
+ line: z.ZodOptional<z.ZodNumber>;
6438
+ column: z.ZodOptional<z.ZodNumber>;
6439
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6440
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6441
+ path: z.ZodString;
6442
+ message: z.ZodString;
6443
+ line: z.ZodOptional<z.ZodNumber>;
6444
+ column: z.ZodOptional<z.ZodNumber>;
6445
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6446
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6447
+ path: z.ZodString;
6448
+ message: z.ZodString;
6449
+ line: z.ZodOptional<z.ZodNumber>;
6450
+ column: z.ZodOptional<z.ZodNumber>;
6451
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6452
+ durationMs: z.ZodNumber;
6453
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6454
+ summary: z.ZodObject<{
6455
+ totals: z.ZodObject<{
6456
+ items: z.ZodNumber;
6457
+ passed: z.ZodNumber;
6458
+ failed: z.ZodNumber;
6459
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6460
+ items: z.ZodNumber;
6461
+ passed: z.ZodNumber;
6462
+ failed: z.ZodNumber;
6463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6464
+ items: z.ZodNumber;
6465
+ passed: z.ZodNumber;
6466
+ failed: z.ZodNumber;
6467
+ }, z.ZodTypeAny, "passthrough">>;
6468
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6469
+ items: z.ZodNumber;
6470
+ passed: z.ZodNumber;
6471
+ failed: z.ZodNumber;
6472
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6473
+ items: z.ZodNumber;
6474
+ passed: z.ZodNumber;
6475
+ failed: z.ZodNumber;
6476
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6477
+ items: z.ZodNumber;
6478
+ passed: z.ZodNumber;
6479
+ failed: z.ZodNumber;
6480
+ }, z.ZodTypeAny, "passthrough">>>;
6481
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6482
+ totals: z.ZodObject<{
6483
+ items: z.ZodNumber;
6484
+ passed: z.ZodNumber;
6485
+ failed: z.ZodNumber;
6486
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6487
+ items: z.ZodNumber;
6488
+ passed: z.ZodNumber;
6489
+ failed: z.ZodNumber;
6490
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6491
+ items: z.ZodNumber;
6492
+ passed: z.ZodNumber;
6493
+ failed: z.ZodNumber;
6494
+ }, z.ZodTypeAny, "passthrough">>;
6495
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6496
+ items: z.ZodNumber;
6497
+ passed: z.ZodNumber;
6498
+ failed: z.ZodNumber;
6499
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6500
+ items: z.ZodNumber;
6501
+ passed: z.ZodNumber;
6502
+ failed: z.ZodNumber;
6503
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6504
+ items: z.ZodNumber;
6505
+ passed: z.ZodNumber;
6506
+ failed: z.ZodNumber;
6507
+ }, z.ZodTypeAny, "passthrough">>>;
6508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6509
+ totals: z.ZodObject<{
6510
+ items: z.ZodNumber;
6511
+ passed: z.ZodNumber;
6512
+ failed: z.ZodNumber;
6513
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6514
+ items: z.ZodNumber;
6515
+ passed: z.ZodNumber;
6516
+ failed: z.ZodNumber;
6517
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6518
+ items: z.ZodNumber;
6519
+ passed: z.ZodNumber;
6520
+ failed: z.ZodNumber;
6521
+ }, z.ZodTypeAny, "passthrough">>;
6522
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6523
+ items: z.ZodNumber;
6524
+ passed: z.ZodNumber;
6525
+ failed: z.ZodNumber;
6526
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6527
+ items: z.ZodNumber;
6528
+ passed: z.ZodNumber;
6529
+ failed: z.ZodNumber;
6530
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6531
+ items: z.ZodNumber;
6532
+ passed: z.ZodNumber;
6533
+ failed: z.ZodNumber;
6534
+ }, z.ZodTypeAny, "passthrough">>>;
6535
+ }, z.ZodTypeAny, "passthrough">>;
6536
+ root: z.ZodObject<{
6537
+ path: z.ZodString;
6538
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6539
+ store_id: z.ZodOptional<z.ZodString>;
6540
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6541
+ path: z.ZodString;
6542
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6543
+ store_id: z.ZodOptional<z.ZodString>;
6544
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6545
+ path: z.ZodString;
6546
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6547
+ store_id: z.ZodOptional<z.ZodString>;
6548
+ }, z.ZodTypeAny, "passthrough">>;
6549
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6550
+ report: z.ZodObject<{
6551
+ kind: z.ZodLiteral<"validation-findings">;
6552
+ version: z.ZodString;
6553
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6554
+ returnedItems: z.ZodNumber;
6555
+ totalItems: z.ZodNumber;
6556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6557
+ kind: z.ZodLiteral<"validation-findings">;
6558
+ version: z.ZodString;
6559
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6560
+ returnedItems: z.ZodNumber;
6561
+ totalItems: z.ZodNumber;
6562
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6563
+ kind: z.ZodLiteral<"validation-findings">;
6564
+ version: z.ZodString;
6565
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6566
+ returnedItems: z.ZodNumber;
6567
+ totalItems: z.ZodNumber;
6568
+ }, z.ZodTypeAny, "passthrough">>;
6569
+ itemFindings: z.ZodArray<z.ZodObject<{
6570
+ id: z.ZodString;
6571
+ type: z.ZodEnum<["change", "spec"]>;
6572
+ valid: z.ZodBoolean;
6573
+ issues: z.ZodArray<z.ZodObject<{
6574
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6575
+ path: z.ZodString;
6576
+ message: z.ZodString;
6577
+ line: z.ZodOptional<z.ZodNumber>;
6578
+ column: z.ZodOptional<z.ZodNumber>;
6579
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6580
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6581
+ path: z.ZodString;
6582
+ message: z.ZodString;
6583
+ line: z.ZodOptional<z.ZodNumber>;
6584
+ column: z.ZodOptional<z.ZodNumber>;
6585
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6586
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6587
+ path: z.ZodString;
6588
+ message: z.ZodString;
6589
+ line: z.ZodOptional<z.ZodNumber>;
6590
+ column: z.ZodOptional<z.ZodNumber>;
6591
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6592
+ durationMs: z.ZodNumber;
6593
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6594
+ id: z.ZodString;
6595
+ type: z.ZodEnum<["change", "spec"]>;
6596
+ valid: z.ZodBoolean;
6597
+ issues: z.ZodArray<z.ZodObject<{
6598
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6599
+ path: z.ZodString;
6600
+ message: z.ZodString;
6601
+ line: z.ZodOptional<z.ZodNumber>;
6602
+ column: z.ZodOptional<z.ZodNumber>;
6603
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6604
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6605
+ path: z.ZodString;
6606
+ message: z.ZodString;
6607
+ line: z.ZodOptional<z.ZodNumber>;
6608
+ column: z.ZodOptional<z.ZodNumber>;
6609
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6610
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6611
+ path: z.ZodString;
6612
+ message: z.ZodString;
6613
+ line: z.ZodOptional<z.ZodNumber>;
6614
+ column: z.ZodOptional<z.ZodNumber>;
6615
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6616
+ durationMs: z.ZodNumber;
6617
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6618
+ id: z.ZodString;
6619
+ type: z.ZodEnum<["change", "spec"]>;
6620
+ valid: z.ZodBoolean;
6621
+ issues: z.ZodArray<z.ZodObject<{
6622
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6623
+ path: z.ZodString;
6624
+ message: z.ZodString;
6625
+ line: z.ZodOptional<z.ZodNumber>;
6626
+ column: z.ZodOptional<z.ZodNumber>;
6627
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6628
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6629
+ path: z.ZodString;
6630
+ message: z.ZodString;
6631
+ line: z.ZodOptional<z.ZodNumber>;
6632
+ column: z.ZodOptional<z.ZodNumber>;
6633
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6634
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6635
+ path: z.ZodString;
6636
+ message: z.ZodString;
6637
+ line: z.ZodOptional<z.ZodNumber>;
6638
+ column: z.ZodOptional<z.ZodNumber>;
6639
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6640
+ durationMs: z.ZodNumber;
6641
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6642
+ summary: z.ZodObject<{
6643
+ totals: z.ZodObject<{
6644
+ items: z.ZodNumber;
6645
+ passed: z.ZodNumber;
6646
+ failed: z.ZodNumber;
6647
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6648
+ items: z.ZodNumber;
6649
+ passed: z.ZodNumber;
6650
+ failed: z.ZodNumber;
6651
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6652
+ items: z.ZodNumber;
6653
+ passed: z.ZodNumber;
6654
+ failed: z.ZodNumber;
6655
+ }, z.ZodTypeAny, "passthrough">>;
6656
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6657
+ items: z.ZodNumber;
6658
+ passed: z.ZodNumber;
6659
+ failed: z.ZodNumber;
6660
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6661
+ items: z.ZodNumber;
6662
+ passed: z.ZodNumber;
6663
+ failed: z.ZodNumber;
6664
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6665
+ items: z.ZodNumber;
6666
+ passed: z.ZodNumber;
6667
+ failed: z.ZodNumber;
6668
+ }, z.ZodTypeAny, "passthrough">>>;
6669
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6670
+ totals: z.ZodObject<{
6671
+ items: z.ZodNumber;
6672
+ passed: z.ZodNumber;
6673
+ failed: z.ZodNumber;
6674
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6675
+ items: z.ZodNumber;
6676
+ passed: z.ZodNumber;
6677
+ failed: z.ZodNumber;
6678
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6679
+ items: z.ZodNumber;
6680
+ passed: z.ZodNumber;
6681
+ failed: z.ZodNumber;
6682
+ }, z.ZodTypeAny, "passthrough">>;
6683
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6684
+ items: z.ZodNumber;
6685
+ passed: z.ZodNumber;
6686
+ failed: z.ZodNumber;
6687
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6688
+ items: z.ZodNumber;
6689
+ passed: z.ZodNumber;
6690
+ failed: z.ZodNumber;
6691
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6692
+ items: z.ZodNumber;
6693
+ passed: z.ZodNumber;
6694
+ failed: z.ZodNumber;
6695
+ }, z.ZodTypeAny, "passthrough">>>;
6696
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6697
+ totals: z.ZodObject<{
6698
+ items: z.ZodNumber;
6699
+ passed: z.ZodNumber;
6700
+ failed: z.ZodNumber;
6701
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6702
+ items: z.ZodNumber;
6703
+ passed: z.ZodNumber;
6704
+ failed: z.ZodNumber;
6705
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6706
+ items: z.ZodNumber;
6707
+ passed: z.ZodNumber;
6708
+ failed: z.ZodNumber;
6709
+ }, z.ZodTypeAny, "passthrough">>;
6710
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6711
+ items: z.ZodNumber;
6712
+ passed: z.ZodNumber;
6713
+ failed: z.ZodNumber;
6714
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6715
+ items: z.ZodNumber;
6716
+ passed: z.ZodNumber;
6717
+ failed: z.ZodNumber;
6718
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6719
+ items: z.ZodNumber;
6720
+ passed: z.ZodNumber;
6721
+ failed: z.ZodNumber;
6722
+ }, z.ZodTypeAny, "passthrough">>>;
6723
+ }, z.ZodTypeAny, "passthrough">>;
6724
+ root: z.ZodObject<{
6725
+ path: z.ZodString;
6726
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6727
+ store_id: z.ZodOptional<z.ZodString>;
6728
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6729
+ path: z.ZodString;
6730
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6731
+ store_id: z.ZodOptional<z.ZodString>;
6732
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6733
+ path: z.ZodString;
6734
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6735
+ store_id: z.ZodOptional<z.ZodString>;
6736
+ }, z.ZodTypeAny, "passthrough">>;
6737
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
6738
+ report: z.ZodObject<{
6739
+ kind: z.ZodLiteral<"validation-findings">;
6740
+ version: z.ZodString;
6741
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6742
+ returnedItems: z.ZodNumber;
6743
+ totalItems: z.ZodNumber;
6744
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6745
+ kind: z.ZodLiteral<"validation-findings">;
6746
+ version: z.ZodString;
6747
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6748
+ returnedItems: z.ZodNumber;
6749
+ totalItems: z.ZodNumber;
6750
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6751
+ kind: z.ZodLiteral<"validation-findings">;
6752
+ version: z.ZodString;
6753
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6754
+ returnedItems: z.ZodNumber;
6755
+ totalItems: z.ZodNumber;
6756
+ }, z.ZodTypeAny, "passthrough">>;
6757
+ itemFindings: z.ZodArray<z.ZodObject<{
6758
+ id: z.ZodString;
6759
+ type: z.ZodEnum<["change", "spec"]>;
6760
+ valid: z.ZodBoolean;
6761
+ issues: z.ZodArray<z.ZodObject<{
6762
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6763
+ path: z.ZodString;
6764
+ message: z.ZodString;
6765
+ line: z.ZodOptional<z.ZodNumber>;
6766
+ column: z.ZodOptional<z.ZodNumber>;
6767
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6768
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6769
+ path: z.ZodString;
6770
+ message: z.ZodString;
6771
+ line: z.ZodOptional<z.ZodNumber>;
6772
+ column: z.ZodOptional<z.ZodNumber>;
6773
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6774
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6775
+ path: z.ZodString;
6776
+ message: z.ZodString;
6777
+ line: z.ZodOptional<z.ZodNumber>;
6778
+ column: z.ZodOptional<z.ZodNumber>;
6779
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6780
+ durationMs: z.ZodNumber;
6781
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6782
+ id: z.ZodString;
6783
+ type: z.ZodEnum<["change", "spec"]>;
6784
+ valid: z.ZodBoolean;
6785
+ issues: z.ZodArray<z.ZodObject<{
6786
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6787
+ path: z.ZodString;
6788
+ message: z.ZodString;
6789
+ line: z.ZodOptional<z.ZodNumber>;
6790
+ column: z.ZodOptional<z.ZodNumber>;
6791
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6792
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6793
+ path: z.ZodString;
6794
+ message: z.ZodString;
6795
+ line: z.ZodOptional<z.ZodNumber>;
6796
+ column: z.ZodOptional<z.ZodNumber>;
6797
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6798
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6799
+ path: z.ZodString;
6800
+ message: z.ZodString;
6801
+ line: z.ZodOptional<z.ZodNumber>;
6802
+ column: z.ZodOptional<z.ZodNumber>;
6803
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6804
+ durationMs: z.ZodNumber;
6805
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6806
+ id: z.ZodString;
6807
+ type: z.ZodEnum<["change", "spec"]>;
6808
+ valid: z.ZodBoolean;
6809
+ issues: z.ZodArray<z.ZodObject<{
6810
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6811
+ path: z.ZodString;
6812
+ message: z.ZodString;
6813
+ line: z.ZodOptional<z.ZodNumber>;
6814
+ column: z.ZodOptional<z.ZodNumber>;
6815
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6816
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6817
+ path: z.ZodString;
6818
+ message: z.ZodString;
6819
+ line: z.ZodOptional<z.ZodNumber>;
6820
+ column: z.ZodOptional<z.ZodNumber>;
6821
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6822
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6823
+ path: z.ZodString;
6824
+ message: z.ZodString;
6825
+ line: z.ZodOptional<z.ZodNumber>;
6826
+ column: z.ZodOptional<z.ZodNumber>;
6827
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6828
+ durationMs: z.ZodNumber;
6829
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6830
+ summary: z.ZodObject<{
6831
+ totals: z.ZodObject<{
6832
+ items: z.ZodNumber;
6833
+ passed: z.ZodNumber;
6834
+ failed: z.ZodNumber;
6835
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6836
+ items: z.ZodNumber;
6837
+ passed: z.ZodNumber;
6838
+ failed: z.ZodNumber;
6839
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6840
+ items: z.ZodNumber;
6841
+ passed: z.ZodNumber;
6842
+ failed: z.ZodNumber;
6843
+ }, z.ZodTypeAny, "passthrough">>;
6844
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6845
+ items: z.ZodNumber;
6846
+ passed: z.ZodNumber;
6847
+ failed: z.ZodNumber;
6848
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6849
+ items: z.ZodNumber;
6850
+ passed: z.ZodNumber;
6851
+ failed: z.ZodNumber;
6852
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6853
+ items: z.ZodNumber;
6854
+ passed: z.ZodNumber;
6855
+ failed: z.ZodNumber;
6856
+ }, z.ZodTypeAny, "passthrough">>>;
4960
6857
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4961
- path: z.ZodString;
4962
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4963
- store_id: z.ZodOptional<z.ZodString>;
6858
+ totals: z.ZodObject<{
6859
+ items: z.ZodNumber;
6860
+ passed: z.ZodNumber;
6861
+ failed: z.ZodNumber;
6862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6863
+ items: z.ZodNumber;
6864
+ passed: z.ZodNumber;
6865
+ failed: z.ZodNumber;
6866
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6867
+ items: z.ZodNumber;
6868
+ passed: z.ZodNumber;
6869
+ failed: z.ZodNumber;
6870
+ }, z.ZodTypeAny, "passthrough">>;
6871
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6872
+ items: z.ZodNumber;
6873
+ passed: z.ZodNumber;
6874
+ failed: z.ZodNumber;
6875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6876
+ items: z.ZodNumber;
6877
+ passed: z.ZodNumber;
6878
+ failed: z.ZodNumber;
6879
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6880
+ items: z.ZodNumber;
6881
+ passed: z.ZodNumber;
6882
+ failed: z.ZodNumber;
6883
+ }, z.ZodTypeAny, "passthrough">>>;
4964
6884
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4965
- path: z.ZodString;
4966
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4967
- store_id: z.ZodOptional<z.ZodString>;
6885
+ totals: z.ZodObject<{
6886
+ items: z.ZodNumber;
6887
+ passed: z.ZodNumber;
6888
+ failed: z.ZodNumber;
6889
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6890
+ items: z.ZodNumber;
6891
+ passed: z.ZodNumber;
6892
+ failed: z.ZodNumber;
6893
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6894
+ items: z.ZodNumber;
6895
+ passed: z.ZodNumber;
6896
+ failed: z.ZodNumber;
6897
+ }, z.ZodTypeAny, "passthrough">>;
6898
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6899
+ items: z.ZodNumber;
6900
+ passed: z.ZodNumber;
6901
+ failed: z.ZodNumber;
6902
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6903
+ items: z.ZodNumber;
6904
+ passed: z.ZodNumber;
6905
+ failed: z.ZodNumber;
6906
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6907
+ items: z.ZodNumber;
6908
+ passed: z.ZodNumber;
6909
+ failed: z.ZodNumber;
6910
+ }, z.ZodTypeAny, "passthrough">>>;
4968
6911
  }, z.ZodTypeAny, "passthrough">>;
4969
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4970
- changeName: z.ZodString;
4971
- context: z.ZodOptional<z.ZodString>;
4972
- operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4973
6912
  root: z.ZodObject<{
4974
6913
  path: z.ZodString;
4975
6914
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -4984,86 +6923,26 @@ declare const CliArchiveInstructionsSchema: z.ZodUnion<[z.ZodObject<{
4984
6923
  store_id: z.ZodOptional<z.ZodString>;
4985
6924
  }, z.ZodTypeAny, "passthrough">>;
4986
6925
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4987
- changeName: z.ZodString;
4988
- context: z.ZodOptional<z.ZodString>;
4989
- operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4990
- root: z.ZodObject<{
4991
- path: z.ZodString;
4992
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4993
- store_id: z.ZodOptional<z.ZodString>;
6926
+ report: z.ZodObject<{
6927
+ kind: z.ZodLiteral<"validation-findings">;
6928
+ version: z.ZodString;
6929
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6930
+ returnedItems: z.ZodNumber;
6931
+ totalItems: z.ZodNumber;
4994
6932
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4995
- path: z.ZodString;
4996
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
4997
- store_id: z.ZodOptional<z.ZodString>;
6933
+ kind: z.ZodLiteral<"validation-findings">;
6934
+ version: z.ZodString;
6935
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6936
+ returnedItems: z.ZodNumber;
6937
+ totalItems: z.ZodNumber;
4998
6938
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4999
- path: z.ZodString;
5000
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5001
- store_id: z.ZodOptional<z.ZodString>;
6939
+ kind: z.ZodLiteral<"validation-findings">;
6940
+ version: z.ZodString;
6941
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6942
+ returnedItems: z.ZodNumber;
6943
+ totalItems: z.ZodNumber;
5002
6944
  }, z.ZodTypeAny, "passthrough">>;
5003
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5004
- status: z.ZodArray<z.ZodObject<{
5005
- severity: z.ZodEnum<["error", "warning", "info"]>;
5006
- code: z.ZodString;
5007
- message: z.ZodString;
5008
- target: z.ZodOptional<z.ZodString>;
5009
- fix: z.ZodOptional<z.ZodString>;
5010
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5011
- severity: z.ZodEnum<["error", "warning", "info"]>;
5012
- code: z.ZodString;
5013
- message: z.ZodString;
5014
- target: z.ZodOptional<z.ZodString>;
5015
- fix: z.ZodOptional<z.ZodString>;
5016
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5017
- severity: z.ZodEnum<["error", "warning", "info"]>;
5018
- code: z.ZodString;
5019
- message: z.ZodString;
5020
- target: z.ZodOptional<z.ZodString>;
5021
- fix: z.ZodOptional<z.ZodString>;
5022
- }, z.ZodTypeAny, "passthrough">>, "many">;
5023
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5024
- status: z.ZodArray<z.ZodObject<{
5025
- severity: z.ZodEnum<["error", "warning", "info"]>;
5026
- code: z.ZodString;
5027
- message: z.ZodString;
5028
- target: z.ZodOptional<z.ZodString>;
5029
- fix: z.ZodOptional<z.ZodString>;
5030
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5031
- severity: z.ZodEnum<["error", "warning", "info"]>;
5032
- code: z.ZodString;
5033
- message: z.ZodString;
5034
- target: z.ZodOptional<z.ZodString>;
5035
- fix: z.ZodOptional<z.ZodString>;
5036
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5037
- severity: z.ZodEnum<["error", "warning", "info"]>;
5038
- code: z.ZodString;
5039
- message: z.ZodString;
5040
- target: z.ZodOptional<z.ZodString>;
5041
- fix: z.ZodOptional<z.ZodString>;
5042
- }, z.ZodTypeAny, "passthrough">>, "many">;
5043
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5044
- status: z.ZodArray<z.ZodObject<{
5045
- severity: z.ZodEnum<["error", "warning", "info"]>;
5046
- code: z.ZodString;
5047
- message: z.ZodString;
5048
- target: z.ZodOptional<z.ZodString>;
5049
- fix: z.ZodOptional<z.ZodString>;
5050
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5051
- severity: z.ZodEnum<["error", "warning", "info"]>;
5052
- code: z.ZodString;
5053
- message: z.ZodString;
5054
- target: z.ZodOptional<z.ZodString>;
5055
- fix: z.ZodOptional<z.ZodString>;
5056
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5057
- severity: z.ZodEnum<["error", "warning", "info"]>;
5058
- code: z.ZodString;
5059
- message: z.ZodString;
5060
- target: z.ZodOptional<z.ZodString>;
5061
- fix: z.ZodOptional<z.ZodString>;
5062
- }, z.ZodTypeAny, "passthrough">>, "many">;
5063
- }, z.ZodTypeAny, "passthrough">>]>;
5064
- /** Typed ordinary Validate report, also used by 1.9 `validate --archived --json`. */
5065
- declare const CliValidateReportSchema: z.ZodObject<{
5066
- items: z.ZodArray<z.ZodObject<{
6945
+ itemFindings: z.ZodArray<z.ZodObject<{
5067
6946
  id: z.ZodString;
5068
6947
  type: z.ZodEnum<["change", "spec"]>;
5069
6948
  valid: z.ZodBoolean;
@@ -5218,7 +7097,6 @@ declare const CliValidateReportSchema: z.ZodObject<{
5218
7097
  failed: z.ZodNumber;
5219
7098
  }, z.ZodTypeAny, "passthrough">>>;
5220
7099
  }, z.ZodTypeAny, "passthrough">>;
5221
- version: z.ZodString;
5222
7100
  root: z.ZodObject<{
5223
7101
  path: z.ZodString;
5224
7102
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -5232,8 +7110,36 @@ declare const CliValidateReportSchema: z.ZodObject<{
5232
7110
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5233
7111
  store_id: z.ZodOptional<z.ZodString>;
5234
7112
  }, z.ZodTypeAny, "passthrough">>;
5235
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5236
- items: z.ZodArray<z.ZodObject<{
7113
+ }, z.ZodTypeAny, "passthrough">>;
7114
+ /**
7115
+ * Typed findings or request-failure result of `validate --report findings --json`.
7116
+ *
7117
+ * Invalid requests (no bulk scope, an item name, archived+active mixing, or an unknown
7118
+ * report value) produce the shared status-array failure envelope with code
7119
+ * `invalid_validation_report_request`, decoded here through the shared diagnostic
7120
+ * failure schema including its optional `fix` string.
7121
+ */
7122
+ declare const CliValidateFindingsResultSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
7123
+ report: z.ZodObject<{
7124
+ kind: z.ZodLiteral<"validation-findings">;
7125
+ version: z.ZodString;
7126
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7127
+ returnedItems: z.ZodNumber;
7128
+ totalItems: z.ZodNumber;
7129
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7130
+ kind: z.ZodLiteral<"validation-findings">;
7131
+ version: z.ZodString;
7132
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7133
+ returnedItems: z.ZodNumber;
7134
+ totalItems: z.ZodNumber;
7135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7136
+ kind: z.ZodLiteral<"validation-findings">;
7137
+ version: z.ZodString;
7138
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7139
+ returnedItems: z.ZodNumber;
7140
+ totalItems: z.ZodNumber;
7141
+ }, z.ZodTypeAny, "passthrough">>;
7142
+ itemFindings: z.ZodArray<z.ZodObject<{
5237
7143
  id: z.ZodString;
5238
7144
  type: z.ZodEnum<["change", "spec"]>;
5239
7145
  valid: z.ZodBoolean;
@@ -5388,7 +7294,6 @@ declare const CliValidateReportSchema: z.ZodObject<{
5388
7294
  failed: z.ZodNumber;
5389
7295
  }, z.ZodTypeAny, "passthrough">>>;
5390
7296
  }, z.ZodTypeAny, "passthrough">>;
5391
- version: z.ZodString;
5392
7297
  root: z.ZodObject<{
5393
7298
  path: z.ZodString;
5394
7299
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -5402,8 +7307,27 @@ declare const CliValidateReportSchema: z.ZodObject<{
5402
7307
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5403
7308
  store_id: z.ZodOptional<z.ZodString>;
5404
7309
  }, z.ZodTypeAny, "passthrough">>;
5405
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5406
- items: z.ZodArray<z.ZodObject<{
7310
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7311
+ report: z.ZodObject<{
7312
+ kind: z.ZodLiteral<"validation-findings">;
7313
+ version: z.ZodString;
7314
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7315
+ returnedItems: z.ZodNumber;
7316
+ totalItems: z.ZodNumber;
7317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7318
+ kind: z.ZodLiteral<"validation-findings">;
7319
+ version: z.ZodString;
7320
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7321
+ returnedItems: z.ZodNumber;
7322
+ totalItems: z.ZodNumber;
7323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7324
+ kind: z.ZodLiteral<"validation-findings">;
7325
+ version: z.ZodString;
7326
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7327
+ returnedItems: z.ZodNumber;
7328
+ totalItems: z.ZodNumber;
7329
+ }, z.ZodTypeAny, "passthrough">>;
7330
+ itemFindings: z.ZodArray<z.ZodObject<{
5407
7331
  id: z.ZodString;
5408
7332
  type: z.ZodEnum<["change", "spec"]>;
5409
7333
  valid: z.ZodBoolean;
@@ -5558,7 +7482,6 @@ declare const CliValidateReportSchema: z.ZodObject<{
5558
7482
  failed: z.ZodNumber;
5559
7483
  }, z.ZodTypeAny, "passthrough">>>;
5560
7484
  }, z.ZodTypeAny, "passthrough">>;
5561
- version: z.ZodString;
5562
7485
  root: z.ZodObject<{
5563
7486
  path: z.ZodString;
5564
7487
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -5572,10 +7495,27 @@ declare const CliValidateReportSchema: z.ZodObject<{
5572
7495
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5573
7496
  store_id: z.ZodOptional<z.ZodString>;
5574
7497
  }, z.ZodTypeAny, "passthrough">>;
5575
- }, z.ZodTypeAny, "passthrough">>;
5576
- /** Typed strict, non-strict, or archived Validate result, including failure diagnostics. */
5577
- declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5578
- items: z.ZodArray<z.ZodObject<{
7498
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7499
+ report: z.ZodObject<{
7500
+ kind: z.ZodLiteral<"validation-findings">;
7501
+ version: z.ZodString;
7502
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7503
+ returnedItems: z.ZodNumber;
7504
+ totalItems: z.ZodNumber;
7505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7506
+ kind: z.ZodLiteral<"validation-findings">;
7507
+ version: z.ZodString;
7508
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7509
+ returnedItems: z.ZodNumber;
7510
+ totalItems: z.ZodNumber;
7511
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7512
+ kind: z.ZodLiteral<"validation-findings">;
7513
+ version: z.ZodString;
7514
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7515
+ returnedItems: z.ZodNumber;
7516
+ totalItems: z.ZodNumber;
7517
+ }, z.ZodTypeAny, "passthrough">>;
7518
+ itemFindings: z.ZodArray<z.ZodObject<{
5579
7519
  id: z.ZodString;
5580
7520
  type: z.ZodEnum<["change", "spec"]>;
5581
7521
  valid: z.ZodBoolean;
@@ -5730,7 +7670,6 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5730
7670
  failed: z.ZodNumber;
5731
7671
  }, z.ZodTypeAny, "passthrough">>>;
5732
7672
  }, z.ZodTypeAny, "passthrough">>;
5733
- version: z.ZodString;
5734
7673
  root: z.ZodObject<{
5735
7674
  path: z.ZodString;
5736
7675
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -5744,8 +7683,27 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5744
7683
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
5745
7684
  store_id: z.ZodOptional<z.ZodString>;
5746
7685
  }, z.ZodTypeAny, "passthrough">>;
5747
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5748
- items: z.ZodArray<z.ZodObject<{
7686
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
7687
+ report: z.ZodObject<{
7688
+ kind: z.ZodLiteral<"validation-findings">;
7689
+ version: z.ZodString;
7690
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7691
+ returnedItems: z.ZodNumber;
7692
+ totalItems: z.ZodNumber;
7693
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7694
+ kind: z.ZodLiteral<"validation-findings">;
7695
+ version: z.ZodString;
7696
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7697
+ returnedItems: z.ZodNumber;
7698
+ totalItems: z.ZodNumber;
7699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7700
+ kind: z.ZodLiteral<"validation-findings">;
7701
+ version: z.ZodString;
7702
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7703
+ returnedItems: z.ZodNumber;
7704
+ totalItems: z.ZodNumber;
7705
+ }, z.ZodTypeAny, "passthrough">>;
7706
+ itemFindings: z.ZodArray<z.ZodObject<{
5749
7707
  id: z.ZodString;
5750
7708
  type: z.ZodEnum<["change", "spec"]>;
5751
7709
  valid: z.ZodBoolean;
@@ -5900,7 +7858,6 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5900
7858
  failed: z.ZodNumber;
5901
7859
  }, z.ZodTypeAny, "passthrough">>>;
5902
7860
  }, z.ZodTypeAny, "passthrough">>;
5903
- version: z.ZodString;
5904
7861
  root: z.ZodObject<{
5905
7862
  path: z.ZodString;
5906
7863
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -5915,7 +7872,26 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
5915
7872
  store_id: z.ZodOptional<z.ZodString>;
5916
7873
  }, z.ZodTypeAny, "passthrough">>;
5917
7874
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5918
- items: z.ZodArray<z.ZodObject<{
7875
+ report: z.ZodObject<{
7876
+ kind: z.ZodLiteral<"validation-findings">;
7877
+ version: z.ZodString;
7878
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7879
+ returnedItems: z.ZodNumber;
7880
+ totalItems: z.ZodNumber;
7881
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7882
+ kind: z.ZodLiteral<"validation-findings">;
7883
+ version: z.ZodString;
7884
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7885
+ returnedItems: z.ZodNumber;
7886
+ totalItems: z.ZodNumber;
7887
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7888
+ kind: z.ZodLiteral<"validation-findings">;
7889
+ version: z.ZodString;
7890
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7891
+ returnedItems: z.ZodNumber;
7892
+ totalItems: z.ZodNumber;
7893
+ }, z.ZodTypeAny, "passthrough">>;
7894
+ itemFindings: z.ZodArray<z.ZodObject<{
5919
7895
  id: z.ZodString;
5920
7896
  type: z.ZodEnum<["change", "spec"]>;
5921
7897
  valid: z.ZodBoolean;
@@ -6070,7 +8046,6 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
6070
8046
  failed: z.ZodNumber;
6071
8047
  }, z.ZodTypeAny, "passthrough">>>;
6072
8048
  }, z.ZodTypeAny, "passthrough">>;
6073
- version: z.ZodString;
6074
8049
  root: z.ZodObject<{
6075
8050
  path: z.ZodString;
6076
8051
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
@@ -6145,6 +8120,20 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
6145
8120
  fix: z.ZodOptional<z.ZodString>;
6146
8121
  }, z.ZodTypeAny, "passthrough">>, "many">;
6147
8122
  }, z.ZodTypeAny, "passthrough">>]>;
8123
+ /**
8124
+ * Whether a findings result is the findings document rather than the request-failure
8125
+ * envelope. Passthrough tolerance means a failure envelope may legally carry unknown
8126
+ * keys, so mere `report`-key presence cannot discriminate the union: the guard validates
8127
+ * the upstream discriminator shape — `report` is an object whose `kind` is the
8128
+ * `validation-findings` literal and whose count fields are numbers.
8129
+ *
8130
+ * The input is deliberately `unknown`: route and evidence consumers receive the union
8131
+ * of every validate transport (`CliValidate | CliValidateFindingsResult | null`), so the
8132
+ * guard must accept the consumed boundary, not only the already-narrowed findings union.
8133
+ * It stays a cheap shape check, never a second decode: schema-level invariants
8134
+ * (issue presence, count bounds) belong to `CliValidateFindingsSchema` alone.
8135
+ */
8136
+ declare function isCliValidateFindings(result: unknown): result is CliValidateFindings;
6148
8137
  /** Typed Archive result without inferred retry or readiness semantics. */
6149
8138
  declare const CliArchiveSchema: z.ZodObject<{
6150
8139
  archive: z.ZodNullable<z.ZodObject<{
@@ -6469,15 +8458,18 @@ type CliApplyInstructions = z.infer<typeof CliApplyInstructionsSchema>;
6469
8458
  type CliArchiveInstructions = z.infer<typeof CliArchiveInstructionsSchema>;
6470
8459
  type CliValidate = z.infer<typeof CliValidateSchema>;
6471
8460
  type CliValidateReport = z.infer<typeof CliValidateReportSchema>;
8461
+ type CliValidateFindings = z.infer<typeof CliValidateFindingsSchema>;
8462
+ type CliValidateFindingsResult = z.infer<typeof CliValidateFindingsResultSchema>;
6472
8463
  type CliArchive = z.infer<typeof CliArchiveSchema>;
6473
8464
  //#endregion
6474
8465
  //#region src/openspec-compat.d.ts
6475
8466
  /**
6476
- * Orthogonal intents (updated 2026-08-28 Asia/Shanghai):
8467
+ * Orthogonal intents (updated 2026-09-12 Asia/Shanghai):
6477
8468
  * 1. Encode the shipped OpenSpecUI release line's OpenSpec CLI compatibility law.
6478
8469
  * 2. Classify current, supported non-current, unsupported, and unknown CLI versions.
6479
8470
  * 3. Express the accepted range and the recommended line as separate public facts.
6480
- * 4. Derive per-command capabilities from the detected admitted CLI version.
8471
+ * 4. Derive per-command capabilities (including the 1.12+ findings report) from the detected
8472
+ * admitted CLI version.
6481
8473
  * 5. Re-export the browser-safe contract schemas for renderer evidence boundaries.
6482
8474
  *
6483
8475
  * Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
@@ -6485,37 +8477,41 @@ type CliArchive = z.infer<typeof CliArchiveSchema>;
6485
8477
  * Original request (2026-08-01): "v7不兼容1.6.x,明确要求必须使用 v1.7.x。"
6486
8478
  * Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
6487
8479
  * Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
8480
+ * Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
8481
+ * Original request (2026-09-12): "Openspec 1.13.0 释放了,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。让 codex 参与。"
6488
8482
  */
6489
- declare const OPENSPECUI_TARGET_MAJOR = 11;
6490
- declare const OPENSPEC_CLI_TARGET_SERIES = "1.11";
6491
- declare const OPENSPEC_CLI_SUPPORTED_SERIES: readonly ["1.10", "1.11"];
6492
- declare const OPENSPEC_CLI_MIN_VERSION = "1.10.0";
6493
- declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.11.0";
6494
- declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.11.0";
6495
- declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.12.0";
6496
- declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.10.0 <1.12.0";
6497
- declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.11.0 <1.12.0";
6498
- declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.11.*";
8483
+ declare const OPENSPECUI_TARGET_MAJOR = 13;
8484
+ declare const OPENSPEC_CLI_TARGET_SERIES = "1.13";
8485
+ declare const OPENSPEC_CLI_SUPPORTED_SERIES: readonly ["1.13"];
8486
+ declare const OPENSPEC_CLI_MIN_VERSION = "1.13.0";
8487
+ declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.13.0";
8488
+ declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.13.0";
8489
+ declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.14.0";
8490
+ declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.13.0 <1.14.0";
8491
+ declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.13.0 <1.14.0";
8492
+ declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.13.*";
6499
8493
  /** Per-command capabilities derived from one admitted OpenSpec CLI version. */
6500
8494
  interface OpenSpecCliCapabilities {
6501
- /** `openspec schemas --json --store <id>` accepts the selector (OpenSpec 1.9+; both admitted lines). */
8495
+ /** `openspec schemas --json --store <id>` accepts the selector (OpenSpec 1.9+; the admitted 1.13 line). */
6502
8496
  schemasRootSelector: boolean;
6503
- /** `openspec validate --archived --json` exists (OpenSpec 1.9+; both admitted lines). */
8497
+ /** `openspec validate --archived --json` exists (OpenSpec 1.9+; the admitted 1.13 line). */
6504
8498
  archivedValidation: boolean;
6505
8499
  /** `openspec init --language <language>` exists (OpenSpec 1.10+). */
6506
8500
  initLanguage: boolean;
6507
- /** `openspec status --all --json` batch envelope exists (OpenSpec 1.11 only; 1.10 rejects the flag). */
8501
+ /** `openspec status --all --json` batch envelope exists (OpenSpec 1.11+; the admitted 1.13 line accepts the flag). */
6508
8502
  batchStatus: boolean;
6509
- /** `openspec show <change> --json --diff` requirement diffs exist (OpenSpec 1.11 only). */
8503
+ /** `openspec show <change> --json --diff` requirement diffs exist (OpenSpec 1.11+; the admitted 1.13 line). */
6510
8504
  requirementDiff: boolean;
8505
+ /** `openspec validate --report findings --json` exists (OpenSpec 1.12+; the admitted 1.13 line; explicit bulk scope required). */
8506
+ findingsReport: boolean;
6511
8507
  }
6512
8508
  /**
6513
8509
  * Derive command capabilities from one parsed CLI version.
6514
8510
  *
6515
8511
  * Only an admitted version — stable inside the accepted range — can select version-specific
6516
- * capabilities. Unsupported forms (prereleases, >=1.12, below-range) and unparseable output
8512
+ * capabilities. Unsupported forms (prereleases, >=1.14, below-range) and unparseable output
6517
8513
  * keep their mismatch evidence and expose no capability, so a page-level version bypass can
6518
- * never manufacture a 1.11 command surface for a CLI the release line does not admit.
8514
+ * never manufacture a 1.13 command surface for a CLI the release line does not admit.
6519
8515
  */
6520
8516
  declare function deriveOpenSpecCliCapabilities(version: OpenSpecCliVersion | null): OpenSpecCliCapabilities;
6521
8517
  interface OpenSpecCliVersion {
@@ -14214,13 +16210,33 @@ type CliGatedCommandResult<T> = {
14214
16210
  result: CliCommandResult<T>;
14215
16211
  } | {
14216
16212
  kind: 'unavailable';
14217
- capability: 'batchStatus' | 'requirementDiff';
16213
+ capability: 'batchStatus' | 'requirementDiff' | 'findingsReport';
14218
16214
  };
14219
16215
  /** Options for the OpenSpec 1.11 batch Status command. */
14220
16216
  interface CliWorkflowStatusAllOptions extends CliWorkflowOptions {
14221
16217
  /** Capabilities of the admitted CLI; `batchStatus` must be true to construct argv. */
14222
16218
  capabilities: Pick<OpenSpecCliCapabilities, 'batchStatus'>;
14223
16219
  }
16220
+ /**
16221
+ * Bulk scope (or the archive) targeted by the OpenSpec 1.12 findings report.
16222
+ *
16223
+ * Upstream requires one explicit bulk scope for `--report findings` and rejects an
16224
+ * item name with the typed `invalid_validation_report_request` envelope, so the gated
16225
+ * surface accepts exactly the valid scopes — never an item target.
16226
+ */
16227
+ type CliValidateFindingsTarget = {
16228
+ kind: 'scope';
16229
+ scope: 'all' | 'changes' | 'specs';
16230
+ } | {
16231
+ kind: 'archived';
16232
+ };
16233
+ /** Options for the OpenSpec 1.12 gated findings report command. */
16234
+ interface CliValidateFindingsOptions extends CliRootSelector {
16235
+ /** Capabilities of the admitted CLI; `findingsReport` must be true to construct argv. */
16236
+ capabilities: Pick<OpenSpecCliCapabilities, 'findingsReport'>;
16237
+ /** One explicit bulk scope; the CLI owns every remaining request-combination rejection. */
16238
+ target: CliValidateFindingsTarget;
16239
+ }
14224
16240
  /** Options for the OpenSpec 1.11 show-change diff command. */
14225
16241
  interface CliShowChangeDiffOptions extends CliRootSelector {
14226
16242
  /** Capabilities of the admitted CLI; `requirementDiff` must be true to construct argv. */
@@ -14324,8 +16340,25 @@ declare class OpenSpecCliContractExecutor {
14324
16340
  unregisterStore(id: string): Promise<CliCommandResult<CliStoreCleanup>>;
14325
16341
  /** Remove one Store through the official CLI destructive boundary. */
14326
16342
  removeStore(id: string, options?: CliStoreRemoveOptions): Promise<CliCommandResult<CliStoreCleanup>>;
14327
- /** Validate an item, scope, or the archive without inferring retries or readiness. */
16343
+ /**
16344
+ * Validate an item, scope, or the archive without inferring retries or readiness.
16345
+ *
16346
+ * This plain transport never composes a `--report` flag: the report argv belongs to
16347
+ * `validateFindings` alone, because the retired 1.11 line rejects `--report` entirely
16348
+ * and a report-carrying request is a separate typed truth, never the full-report union.
16349
+ */
14328
16350
  validate(options: CliValidateJsonOptions): Promise<CliCommandResult<CliValidate>>;
16351
+ /**
16352
+ * Read the filtered OpenSpec 1.12 findings evidence for one bulk scope (one spawn).
16353
+ *
16354
+ * Gated by the `findingsReport` capability because only the 1.12 line declares the
16355
+ * `--report` flag at all: a non-admitted CLI receives the typed refusal before any
16356
+ * argv exists, never a flag it would reject. The findings document decodes through
16357
+ * its own result schema (findings document or `invalid_validation_report_request`
16358
+ * envelope), never the full-report union: a findings document is a filtered evidence
16359
+ * transport, so the decode split keeps the two truths separate.
16360
+ */
16361
+ validateFindings(options: CliValidateFindingsOptions): Promise<CliGatedCommandResult<CliValidateFindingsResult>>;
14329
16362
  /** Archive one change without implicit validation bypass or retry. */
14330
16363
  archive(changeId: string, options?: CliRootSelector & {
14331
16364
  skipSpecs?: boolean;
@@ -14333,4 +16366,4 @@ declare class OpenSpecCliContractExecutor {
14333
16366
  }): Promise<CliCommandResult<CliArchive>>;
14334
16367
  }
14335
16368
  //#endregion
14336
- export { CliArchiveSchema as $, OpenSpecUIConfigSchema as $t, OPENSPEC_CLI_ACCEPTED_RANGE as A, CliRootSource as At, OpenSpecCliCompatibility as B, CliSniffResult as Bt, CliStoreMutation as C, CliDiagnosticSchema as Ct, CliShowChangeDiff as D, CliReferenceIndexEntrySchema as Dt, CliShowChangeDelta as E, CliReferenceIndexEntry as Et, OPENSPEC_CLI_REFERENCE_TAG_PATTERN as F, CliStreamHandle as Ft, deriveOpenSpecCliCapabilities as G, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as Gt, OpenSpecCliVersion as H, CodeEditorThemeSchema as Ht, OPENSPEC_CLI_SUPPORTED_SERIES as I, CliStreamSettlement as It, CliApplyInstructions as J, GitConfig as Jt, formatOpenSpecCliVersion as K, DashboardConfig as Kt, OPENSPEC_CLI_TARGET_MIN_VERSION as L, CliStreamTerminationError as Lt, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION as M, CliExecutor as Mt, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION as N, CliResult as Nt, CliShowChangeDiffSuccess as O, CliRoot as Ot, OPENSPEC_CLI_RECOMMENDED_RANGE as P, CliStreamEvent as Pt, CliArchiveInstructionsSchema as Q, OpenSpecUIConfigPresence as Qt, OPENSPEC_CLI_TARGET_SERIES as R, CODE_EDITOR_THEME_VALUES as Rt, CliStoreListSchema as S, CliBatchStatusEntry as Sn, CliDiagnosticFailureSchema as St, CliStoreSchema as T, CliDoctorReferenceEntrySchema as Tt, classifyOpenSpecCliVersion as U, ConfigManager as Ut, OpenSpecCliCompatibilityStatus as V, CodeEditorTheme as Vt, compareOpenSpecCliVersions as W, DEFAULT_CONFIG as Wt, CliArchive as X, OPSX_AGENT_INVOCATION_MODE_VALUES as Xt, CliApplyInstructionsSchema as Y, GitConfigSchema as Yt, CliArchiveInstructions as Z, OpenSpecUIConfig as Zt, CliStoreDoctor as _, getDefaultCliCommandString as _n, CliCommandTransportSchema as _t, CliStoreSetupOptions as a, ResolvedCliRunner as an, CliShowSpec as at, CliStoreDoctorSchema as b, sniffGlobalCli as bn, CliDiagnostic as bt, CliWorkflowOptions as c, TerminalRendererEngine as cn, CliSpecList as ct, CliContextSchema as d, TerminalThemeMode as dn, CliValidateReport as dt, OpenSpecUIConfigUpdate as en, CliArtifactInstructions as et, CliDoctor as f, TerminalThemeModeSchema as fn, CliValidateReportSchema as ft, CliStoreCleanupSchema as g, getDefaultCliCommand as gn, CliCommandResult as gt, CliStoreCleanup as h, createCleanCliEnv as hn, CliWorkflowStatusSchema as ht, CliStoreRemoveOptions as i, OpsxConfigSchema as in, CliChangeListSchema as it, OPENSPEC_CLI_MIN_VERSION as j, CliRootSourceSchema as jt, OPENSPECUI_TARGET_MAJOR as k, CliRootSchema as kt, OpenSpecCliContractExecutor as l, TerminalRendererEngineSchema as ln, CliSpecListSchema as lt, CliStore as m, buildCliRunnerCandidates as mn, CliWorkflowStatus as mt, CliRootSelector as n, OpsxAgentInvocationModeSchema as nn, CliChangeList as nt, CliValidateJsonOptions as o, TerminalConfig as on, CliShowSpecDocumentSchema as ot, CliDoctorSchema as p, TerminalThemeSchema as pn, CliValidateSchema as pt, parseOpenSpecCliVersion as q, DashboardConfigSchema as qt, CliStoreRegisterOptions as r, OpsxConfig as rn, CliChangeListEntry as rt, CliValidateTarget as s, TerminalConfigSchema as sn, CliShowSpecSchema as st, CliGatedCommandResult as t, OpsxAgentInvocationMode as tn, CliArtifactInstructionsSchema as tt, CliContext as u, TerminalThemeId as un, CliValidate as ut, CliStoreDoctorEntry as v, isTerminalRendererEngine as vn, CliJsonValue as vt, CliStoreMutationSchema as w, CliDoctorReferenceEntry as wt, CliStoreList as x, CliBatchStatus as xn, CliDiagnosticFailure as xt, CliStoreDoctorEntrySchema as y, parseCliCommand as yn, parseCliCommandResult as yt, OpenSpecCliCapabilities as z, CliRunnerAttempt as zt };
16369
+ export { CliArchiveSchema as $, GitConfig as $t, OPENSPEC_CLI_ACCEPTED_RANGE as A, CliDoctorReferenceEntrySchema as At, OpenSpecCliCompatibility as B, CliStreamHandle as Bt, CliStoreMutation as C, isTerminalRendererEngine as Cn, CliJsonValue as Ct, CliShowChangeDiff as D, CliBatchStatusEntry as Dn, CliDiagnosticFailureSchema as Dt, CliShowChangeDelta as E, CliBatchStatus as En, CliDiagnosticFailure as Et, OPENSPEC_CLI_REFERENCE_TAG_PATTERN as F, CliRootSource as Ft, deriveOpenSpecCliCapabilities as G, CliSniffResult as Gt, OpenSpecCliVersion as H, CliStreamTerminationError as Ht, OPENSPEC_CLI_SUPPORTED_SERIES as I, CliRootSourceSchema as It, CliApplyInstructions as J, ConfigManager as Jt, formatOpenSpecCliVersion as K, CodeEditorTheme as Kt, OPENSPEC_CLI_TARGET_MIN_VERSION as L, CliExecutor as Lt, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION as M, CliReferenceIndexEntrySchema as Mt, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION as N, CliRoot as Nt, CliShowChangeDiffSuccess as O, CliDiagnosticSchema as Ot, OPENSPEC_CLI_RECOMMENDED_RANGE as P, CliRootSchema as Pt, CliArchiveInstructionsSchema as Q, DashboardConfigSchema as Qt, OPENSPEC_CLI_TARGET_SERIES as R, CliResult as Rt, CliStoreListSchema as S, getDefaultCliCommandString as Sn, CliCommandTransportSchema as St, CliStoreSchema as T, sniffGlobalCli as Tn, CliDiagnostic as Tt, classifyOpenSpecCliVersion as U, CODE_EDITOR_THEME_VALUES as Ut, OpenSpecCliCompatibilityStatus as V, CliStreamSettlement as Vt, compareOpenSpecCliVersions as W, CliRunnerAttempt as Wt, CliArchive as X, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as Xt, CliApplyInstructionsSchema as Y, DEFAULT_CONFIG as Yt, CliArchiveInstructions as Z, DashboardConfig as Zt, CliStoreDoctor as _, TerminalThemeModeSchema as _n, CliValidateSchema as _t, CliStoreSetupOptions as a, OpenSpecUIConfigUpdate as an, CliShowSpec as at, CliStoreDoctorSchema as b, createCleanCliEnv as bn, isCliValidateFindings as bt, CliWorkflowOptions as c, OpsxConfig as cn, CliSpecList as ct, CliContextSchema as d, TerminalConfig as dn, CliValidateFindings as dt, GitConfigSchema as en, CliArtifactInstructions as et, CliDoctor as f, TerminalConfigSchema as fn, CliValidateFindingsResult as ft, CliStoreCleanupSchema as g, TerminalThemeMode as gn, CliValidateReportSchema as gt, CliStoreCleanup as h, TerminalThemeId as hn, CliValidateReport as ht, CliStoreRemoveOptions as i, OpenSpecUIConfigSchema as in, CliChangeListSchema as it, OPENSPEC_CLI_MIN_VERSION as j, CliReferenceIndexEntry as jt, OPENSPECUI_TARGET_MAJOR as k, CliDoctorReferenceEntry as kt, OpenSpecCliContractExecutor as l, OpsxConfigSchema as ln, CliSpecListSchema as lt, CliStore as m, TerminalRendererEngineSchema as mn, CliValidateFindingsSchema as mt, CliRootSelector as n, OpenSpecUIConfig as nn, CliChangeList as nt, CliValidateJsonOptions as o, OpsxAgentInvocationMode as on, CliShowSpecDocumentSchema as ot, CliDoctorSchema as p, TerminalRendererEngine as pn, CliValidateFindingsResultSchema as pt, parseOpenSpecCliVersion as q, CodeEditorThemeSchema as qt, CliStoreRegisterOptions as r, OpenSpecUIConfigPresence as rn, CliChangeListEntry as rt, CliValidateTarget as s, OpsxAgentInvocationModeSchema as sn, CliShowSpecSchema as st, CliGatedCommandResult as t, OPSX_AGENT_INVOCATION_MODE_VALUES as tn, CliArtifactInstructionsSchema as tt, CliContext as u, ResolvedCliRunner as un, CliValidate as ut, CliStoreDoctorEntry as v, TerminalThemeSchema as vn, CliWorkflowStatus as vt, CliStoreMutationSchema as w, parseCliCommand as wn, parseCliCommandResult as wt, CliStoreList as x, getDefaultCliCommand as xn, CliCommandResult as xt, CliStoreDoctorEntrySchema as y, buildCliRunnerCandidates as yn, CliWorkflowStatusSchema as yt, OpenSpecCliCapabilities as z, CliStreamEvent as zt };