@openspecui/core 7.0.2 → 9.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 (107) hide show
  1. package/dist/{active-root-config-BHgXdX6b.d.mts → active-root-config-C77Duro0.d.mts} +5 -5
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/active-root-config.mjs +1 -1
  4. package/dist/app-daemon-control.d.mts +18 -18
  5. package/dist/{cli-projection-Um81AQW5.d.mts → cli-projection-BAU6-rFs.d.mts} +1 -1
  6. package/dist/cli-projection.d.mts +5 -5
  7. package/dist/cli-projection.mjs +1 -1
  8. package/dist/{dashboard-summary-transport-BJBod4rO.d.mts → dashboard-summary-transport-C3No2o4i.d.mts} +695 -330
  9. package/dist/{dashboard-summary-transport-ILCfZD_I.mjs → dashboard-summary-transport-Do8pzSES.mjs} +10 -1
  10. package/dist/dashboard-summary-transport.d.mts +26 -26
  11. package/dist/dashboard-summary-transport.mjs +2 -2
  12. package/dist/{document-translation-B3xaP0dJ.mjs → document-translation-Dmg3YJDA.mjs} +1 -1
  13. package/dist/document-translation.d.mts +1 -1
  14. package/dist/document-translation.mjs +2 -2
  15. package/dist/{hosted-app-B_T_tTvO.mjs → hosted-app-CHqdo5vd.mjs} +1 -1
  16. package/dist/hosted-app.d.mts +26 -26
  17. package/dist/hosted-app.mjs +6 -6
  18. package/dist/{hosted-contract-BxUx6ksP.mjs → hosted-contract-Qe5AmkiE.mjs} +4 -4
  19. package/dist/hosted-contract.d.mts +26 -26
  20. package/dist/hosted-contract.mjs +5 -5
  21. package/dist/{index-CYFOH_f8.d.mts → index-BGT-MVqL.d.mts} +819 -73
  22. package/dist/index.d.mts +27 -27
  23. package/dist/index.mjs +498 -291
  24. package/dist/{local-download-profiles-BQLPhuE0.d.mts → local-download-profiles-BZj6Tw_s.d.mts} +1 -1
  25. package/dist/local-download-profiles.d.mts +2 -2
  26. package/dist/local-download-profiles.mjs +1 -1
  27. package/dist/markdown-facts.d.mts +1 -1
  28. package/dist/{markdown-reading--Sr6JAl5.d.mts → markdown-reading-CsLbxubT.d.mts} +1 -1
  29. package/dist/markdown-reading.d.mts +2 -2
  30. package/dist/{notifications-BIs3J3BY.d.mts → notifications-B9cvPamG.d.mts} +4 -4
  31. package/dist/{notifications-VHUMI-qG.mjs → notifications-D6XlgL9b.mjs} +2 -2
  32. package/dist/notifications.d.mts +2 -2
  33. package/dist/notifications.mjs +3 -3
  34. package/dist/{openspec-annotations-BylPW5rz.d.mts → openspec-annotations-8ppmICAU.d.mts} +2 -2
  35. package/dist/openspec-annotations.d.mts +3 -3
  36. package/dist/openspec-compat-B246EQNW.mjs +121 -0
  37. package/dist/openspec-compat.d.mts +48 -13
  38. package/dist/openspec-compat.mjs +4 -79
  39. package/dist/{openspec-projection-_1NeavJP.d.mts → openspec-projection-vJ03fcdF.d.mts} +3 -3
  40. package/dist/openspec-projection.d.mts +5 -5
  41. package/dist/opsx-display-path.d.mts +1 -1
  42. package/dist/opsx-display-path.mjs +1 -1
  43. package/dist/{opsx-entity-DZ7onDWC.d.mts → opsx-entity-BFPRTIWN.d.mts} +2 -2
  44. package/dist/opsx-entity.d.mts +7 -7
  45. package/dist/{opsx-schema-detail-D2RnlxSg.d.mts → opsx-schema-detail-D1129ezo.d.mts} +2 -2
  46. package/dist/opsx-schema-detail.d.mts +8 -8
  47. package/dist/{opsx-types-Ch6juiWL.d.mts → opsx-types-C_4QxcU6.d.mts} +51 -50
  48. package/dist/opsx-workflows.d.mts +1 -1
  49. package/dist/opsx-workflows.mjs +1 -1
  50. package/dist/{planning-cli-projection-BreqsrYA.mjs → planning-cli-projection-DV22v3Xl.mjs} +23 -12
  51. package/dist/planning-cli-projection.d.mts +26 -26
  52. package/dist/planning-cli-projection.mjs +4 -3
  53. package/dist/{schemas-zh0_vzYQ.d.mts → schemas-Dnw_rfST.d.mts} +8 -8
  54. package/dist/{sounds-Bb_3aeJJ.d.mts → sounds-BoLuHRve.d.mts} +5 -5
  55. package/dist/sounds.d.mts +1 -1
  56. package/dist/sounds.mjs +1 -1
  57. package/dist/{spec-catalog-DEk_oHAx.mjs → spec-catalog-Ce3uSLSc.mjs} +45 -328
  58. package/dist/spec-catalog.d.mts +26 -26
  59. package/dist/spec-catalog.mjs +3 -2
  60. package/dist/{store-content-projection-Bpdb7_d9.mjs → store-content-projection-DV31znWA.mjs} +1 -1
  61. package/dist/store-content-projection.d.mts +1 -1
  62. package/dist/store-content-projection.mjs +2 -2
  63. package/dist/{store-mutation-protocol-BbgWMJVK.d.mts → store-mutation-protocol-C4rRiO4b.d.mts} +36 -36
  64. package/dist/store-mutation-protocol.d.mts +1 -1
  65. package/dist/store-mutation-protocol.mjs +1 -1
  66. package/dist/{store-types-CF7_LsVL.d.mts → store-types-CMqxPwaj.d.mts} +1 -1
  67. package/dist/store-types.d.mts +5 -5
  68. package/dist/store-types.mjs +1 -1
  69. package/dist/task-progress.d.mts +6 -6
  70. package/dist/{terminal-audio-GuG0qiiI.d.mts → terminal-audio-CNhCiZul.d.mts} +2 -2
  71. package/dist/{terminal-audio-DeubAfFC.mjs → terminal-audio-ELHVH24M.mjs} +1 -1
  72. package/dist/terminal-audio.d.mts +2 -2
  73. package/dist/terminal-audio.mjs +2 -2
  74. package/dist/{terminal-control-CdPuYwwU.mjs → terminal-control-D893EEN_.mjs} +7 -5
  75. package/dist/terminal-control.d.mts +2 -2
  76. package/dist/terminal-control.mjs +1 -1
  77. package/dist/{terminal-invocation-Dx1qfSKb.d.mts → terminal-invocation-BnMhxtP1.d.mts} +22 -22
  78. package/dist/terminal-invocation.d.mts +1 -1
  79. package/dist/terminal-invocation.mjs +1 -1
  80. package/dist/terminal-theme.d.mts +1 -1
  81. package/dist/terminal-theme.mjs +1 -1
  82. package/dist/translation-language-pair.d.mts +1 -1
  83. package/dist/translation-language-pair.mjs +1 -1
  84. package/dist/{translator-Cwaf_pXN.d.mts → translator-B7GQxmun.d.mts} +50 -50
  85. package/dist/translator.d.mts +1 -1
  86. package/dist/translator.mjs +1 -1
  87. package/dist/workflow-CmQ4pFYC.mjs +344 -0
  88. package/package.json +3 -1
  89. /package/dist/{active-root-config-L5QaMb3A.mjs → active-root-config-K_wVeuI3.mjs} +0 -0
  90. /package/dist/{cli-projection-CKRwTvwf.mjs → cli-projection-Bc2WVwGj.mjs} +0 -0
  91. /package/dist/{document-translation-BNbM3fEj.d.mts → document-translation-CBqubtWC.d.mts} +0 -0
  92. /package/dist/{local-download-profiles-h9lUTXr-.mjs → local-download-profiles-BRsR1-kK.mjs} +0 -0
  93. /package/dist/{markdown-facts-DLclHfpE.d.mts → markdown-facts-CEACwik1.d.mts} +0 -0
  94. /package/dist/{opsx-display-path-BD34M8QV.d.mts → opsx-display-path-DvvAFlWG.d.mts} +0 -0
  95. /package/dist/{opsx-display-path-ocbNzMZj.mjs → opsx-display-path-cv0NJHzW.mjs} +0 -0
  96. /package/dist/{opsx-workflows-DX1r6e5j.d.mts → opsx-workflows-B72EGtj_.d.mts} +0 -0
  97. /package/dist/{opsx-workflows-byPfLlo8.mjs → opsx-workflows-BA-46T7_.mjs} +0 -0
  98. /package/dist/{sounds-6prQvKXl.mjs → sounds-cd9lIDxN.mjs} +0 -0
  99. /package/dist/{store-content-projection-R74MV_sD.d.mts → store-content-projection-BnNYyb0x.d.mts} +0 -0
  100. /package/dist/{store-mutation-protocol-CJGUWWI6.mjs → store-mutation-protocol-CBrPcppU.mjs} +0 -0
  101. /package/dist/{store-types-CvpEVNoE.mjs → store-types-C87SlrJ3.mjs} +0 -0
  102. /package/dist/{terminal-invocation-DIpoFYDo.mjs → terminal-invocation-C_FsxEUs.mjs} +0 -0
  103. /package/dist/{terminal-theme-Byzxmnjm.mjs → terminal-theme-C6BPfQ2G.mjs} +0 -0
  104. /package/dist/{terminal-theme-DX08Gci8.d.mts → terminal-theme-C7X8pUqT.d.mts} +0 -0
  105. /package/dist/{translation-language-pair-BR5uxGm-.d.mts → translation-language-pair-B6A39Cai.d.mts} +0 -0
  106. /package/dist/{translation-language-pair-DG9mOuFD.mjs → translation-language-pair-CWLlH7Ab.mjs} +0 -0
  107. /package/dist/{translator-CEGdRmKw.mjs → translator-BkNACZ9R.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { o as DocumentTranslationConfigUpdate } from "./document-translation-BNbM3fEj.mjs";
2
- import { p as NotificationSettings } from "./notifications-BIs3J3BY.mjs";
1
+ import { o as DocumentTranslationConfigUpdate } from "./document-translation-CBqubtWC.mjs";
2
+ import { p as NotificationSettings } from "./notifications-B9cvPamG.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/config.d.ts
@@ -91,7 +91,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
91
91
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
92
92
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
93
93
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
94
- 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>>;
94
+ 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>>;
95
95
  bellVolume: z.ZodDefault<z.ZodNumber>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  fontSize: number;
@@ -103,7 +103,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
103
103
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
104
104
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
105
105
  rendererEngine: "xterm" | "ghostty";
106
- 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}`;
106
+ 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}`;
107
107
  bellVolume: number;
108
108
  }, {
109
109
  fontSize?: number | undefined;
@@ -194,7 +194,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
194
194
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
195
195
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
196
196
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
197
- 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>>;
197
+ 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>>;
198
198
  bellVolume: z.ZodDefault<z.ZodNumber>;
199
199
  }, "strip", z.ZodTypeAny, {
200
200
  fontSize: number;
@@ -206,7 +206,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
206
206
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
207
207
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
208
208
  rendererEngine: "xterm" | "ghostty";
209
- 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}`;
209
+ 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}`;
210
210
  bellVolume: number;
211
211
  }, {
212
212
  fontSize?: number | undefined;
@@ -239,11 +239,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
239
239
  }>>;
240
240
  /** Notification preferences */
241
241
  notifications: z.ZodDefault<z.ZodObject<{
242
- 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>>;
242
+ 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>>;
243
243
  volume: z.ZodDefault<z.ZodNumber>;
244
244
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
245
245
  }, "strip", z.ZodTypeAny, {
246
- 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}`;
246
+ 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}`;
247
247
  volume: number;
248
248
  systemNotificationsEnabled: boolean;
249
249
  }, {
@@ -394,7 +394,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
394
394
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
395
395
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
396
396
  rendererEngine: "xterm" | "ghostty";
397
- 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}`;
397
+ 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}`;
398
398
  bellVolume: number;
399
399
  };
400
400
  theme: "light" | "dark" | "system";
@@ -409,7 +409,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
409
409
  trendPointLimit: number;
410
410
  };
411
411
  notifications: {
412
- 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}`;
412
+ 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}`;
413
413
  volume: number;
414
414
  systemNotificationsEnabled: boolean;
415
415
  };
@@ -607,7 +607,15 @@ declare class ConfigManager {
607
607
  }
608
608
  //#endregion
609
609
  //#region src/cli-executor.d.ts
610
- /** CLI 执行结果 */
610
+ /**
611
+ * CLI 执行结果。
612
+ *
613
+ * `success` 是传输事实:收到了完整的观察结果(进程以观测到的代码退出,或通过
614
+ * eager-JSON 获得了完整的 JSON 文档)。它不是对进程退出状态的断言 —— 对于提前
615
+ * 解析的命令,`exitCode` 诚实地保持为 `null`,调用者必须将其视为未知。当载荷
616
+ * 本身包含 CLI 失败时(例如 OpenSpec 1.9 的 selected-Root envelope),契约层
617
+ * 会单独携带该失败。
618
+ */
611
619
  interface CliResult {
612
620
  success: boolean;
613
621
  stdout: string;
@@ -683,9 +691,11 @@ declare class CliExecutor {
683
691
  */
684
692
  validate(type?: 'spec' | 'change', id?: string): Promise<CliResult>;
685
693
  /**
686
- * 执行 openspec schemas --json
694
+ * 执行 openspec schemas --json(可选转发所选 Root 的 Store 选择器)
687
695
  */
688
- schemas(): Promise<CliResult>;
696
+ schemas(selector?: {
697
+ store?: string;
698
+ }): Promise<CliResult>;
689
699
  /**
690
700
  * 执行 openspec schema which <name> --json
691
701
  */
@@ -1030,6 +1040,65 @@ type CliDiagnosticFailure = z.infer<typeof CliDiagnosticFailureSchema>;
1030
1040
  type CliJsonValue = string | number | boolean | null | CliJsonValue[] | {
1031
1041
  [key: string]: CliJsonValue;
1032
1042
  };
1043
+ /** Runtime transport envelope for one CLI command result. */
1044
+ declare const CliCommandTransportSchema: z.ZodObject<{
1045
+ success: z.ZodBoolean;
1046
+ stdout: z.ZodString;
1047
+ stderr: z.ZodString;
1048
+ exitCode: z.ZodNullable<z.ZodNumber>;
1049
+ data: z.ZodNullable<z.ZodType<CliJsonValue, z.ZodTypeDef, CliJsonValue>>;
1050
+ payload: z.ZodNullable<z.ZodType<CliJsonValue, z.ZodTypeDef, CliJsonValue>>;
1051
+ diagnostics: z.ZodArray<z.ZodObject<{
1052
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1053
+ code: z.ZodString;
1054
+ message: z.ZodString;
1055
+ target: z.ZodOptional<z.ZodString>;
1056
+ fix: z.ZodOptional<z.ZodString>;
1057
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1058
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1059
+ code: z.ZodString;
1060
+ message: z.ZodString;
1061
+ target: z.ZodOptional<z.ZodString>;
1062
+ fix: z.ZodOptional<z.ZodString>;
1063
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1064
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1065
+ code: z.ZodString;
1066
+ message: z.ZodString;
1067
+ target: z.ZodOptional<z.ZodString>;
1068
+ fix: z.ZodOptional<z.ZodString>;
1069
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1070
+ contractError: z.ZodOptional<z.ZodString>;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ success: boolean;
1073
+ stdout: string;
1074
+ stderr: string;
1075
+ exitCode: number | null;
1076
+ payload: CliJsonValue;
1077
+ diagnostics: z.objectOutputType<{
1078
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1079
+ code: z.ZodString;
1080
+ message: z.ZodString;
1081
+ target: z.ZodOptional<z.ZodString>;
1082
+ fix: z.ZodOptional<z.ZodString>;
1083
+ }, z.ZodTypeAny, "passthrough">[];
1084
+ data: CliJsonValue;
1085
+ contractError?: string | undefined;
1086
+ }, {
1087
+ success: boolean;
1088
+ stdout: string;
1089
+ stderr: string;
1090
+ exitCode: number | null;
1091
+ payload: CliJsonValue;
1092
+ diagnostics: z.objectInputType<{
1093
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1094
+ code: z.ZodString;
1095
+ message: z.ZodString;
1096
+ target: z.ZodOptional<z.ZodString>;
1097
+ fix: z.ZodOptional<z.ZodString>;
1098
+ }, z.ZodTypeAny, "passthrough">[];
1099
+ data: CliJsonValue;
1100
+ contractError?: string | undefined;
1101
+ }>;
1033
1102
  /** Complete process, raw payload, typed data, and diagnostic evidence for one CLI command. */
1034
1103
  interface CliCommandResult<T> extends CliResult {
1035
1104
  data: T | null;
@@ -1040,6 +1109,137 @@ interface CliCommandResult<T> extends CliResult {
1040
1109
  /** Parse one CLI JSON document while retaining all process and raw-payload evidence. */
1041
1110
  declare function parseCliCommandResult<T>(result: CliResult, schema: z.ZodType<T>): CliCommandResult<T>;
1042
1111
  //#endregion
1112
+ //#region src/cli-contracts/schema-resolution.d.ts
1113
+ /** Typed sum result of `openspec schemas --json`. */
1114
+ declare const CliSchemasSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
1115
+ name: z.ZodString;
1116
+ description: z.ZodOptional<z.ZodString>;
1117
+ artifacts: z.ZodArray<z.ZodString, "many">;
1118
+ source: z.ZodEnum<["project", "user", "package"]>;
1119
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1120
+ name: z.ZodString;
1121
+ description: z.ZodOptional<z.ZodString>;
1122
+ artifacts: z.ZodArray<z.ZodString, "many">;
1123
+ source: z.ZodEnum<["project", "user", "package"]>;
1124
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1125
+ name: z.ZodString;
1126
+ description: z.ZodOptional<z.ZodString>;
1127
+ artifacts: z.ZodArray<z.ZodString, "many">;
1128
+ source: z.ZodEnum<["project", "user", "package"]>;
1129
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodObject<{
1130
+ schemas: z.ZodArray<z.ZodObject<{
1131
+ name: z.ZodString;
1132
+ description: z.ZodOptional<z.ZodString>;
1133
+ artifacts: z.ZodArray<z.ZodString, "many">;
1134
+ source: z.ZodEnum<["project", "user", "package"]>;
1135
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1136
+ name: z.ZodString;
1137
+ description: z.ZodOptional<z.ZodString>;
1138
+ artifacts: z.ZodArray<z.ZodString, "many">;
1139
+ source: z.ZodEnum<["project", "user", "package"]>;
1140
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1141
+ name: z.ZodString;
1142
+ description: z.ZodOptional<z.ZodString>;
1143
+ artifacts: z.ZodArray<z.ZodString, "many">;
1144
+ source: z.ZodEnum<["project", "user", "package"]>;
1145
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1146
+ root: z.ZodNull;
1147
+ status: z.ZodArray<z.ZodObject<{
1148
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1149
+ code: z.ZodString;
1150
+ message: z.ZodString;
1151
+ target: z.ZodOptional<z.ZodString>;
1152
+ fix: z.ZodOptional<z.ZodString>;
1153
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1154
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1155
+ code: z.ZodString;
1156
+ message: z.ZodString;
1157
+ target: z.ZodOptional<z.ZodString>;
1158
+ fix: z.ZodOptional<z.ZodString>;
1159
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1160
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1161
+ code: z.ZodString;
1162
+ message: z.ZodString;
1163
+ target: z.ZodOptional<z.ZodString>;
1164
+ fix: z.ZodOptional<z.ZodString>;
1165
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1166
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1167
+ schemas: z.ZodArray<z.ZodObject<{
1168
+ name: z.ZodString;
1169
+ description: z.ZodOptional<z.ZodString>;
1170
+ artifacts: z.ZodArray<z.ZodString, "many">;
1171
+ source: z.ZodEnum<["project", "user", "package"]>;
1172
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1173
+ name: z.ZodString;
1174
+ description: z.ZodOptional<z.ZodString>;
1175
+ artifacts: z.ZodArray<z.ZodString, "many">;
1176
+ source: z.ZodEnum<["project", "user", "package"]>;
1177
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1178
+ name: z.ZodString;
1179
+ description: z.ZodOptional<z.ZodString>;
1180
+ artifacts: z.ZodArray<z.ZodString, "many">;
1181
+ source: z.ZodEnum<["project", "user", "package"]>;
1182
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1183
+ root: z.ZodNull;
1184
+ status: z.ZodArray<z.ZodObject<{
1185
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1186
+ code: z.ZodString;
1187
+ message: z.ZodString;
1188
+ target: z.ZodOptional<z.ZodString>;
1189
+ fix: z.ZodOptional<z.ZodString>;
1190
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1191
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1192
+ code: z.ZodString;
1193
+ message: z.ZodString;
1194
+ target: z.ZodOptional<z.ZodString>;
1195
+ fix: z.ZodOptional<z.ZodString>;
1196
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1197
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1198
+ code: z.ZodString;
1199
+ message: z.ZodString;
1200
+ target: z.ZodOptional<z.ZodString>;
1201
+ fix: z.ZodOptional<z.ZodString>;
1202
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1204
+ schemas: z.ZodArray<z.ZodObject<{
1205
+ name: z.ZodString;
1206
+ description: z.ZodOptional<z.ZodString>;
1207
+ artifacts: z.ZodArray<z.ZodString, "many">;
1208
+ source: z.ZodEnum<["project", "user", "package"]>;
1209
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1210
+ name: z.ZodString;
1211
+ description: z.ZodOptional<z.ZodString>;
1212
+ artifacts: z.ZodArray<z.ZodString, "many">;
1213
+ source: z.ZodEnum<["project", "user", "package"]>;
1214
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1215
+ name: z.ZodString;
1216
+ description: z.ZodOptional<z.ZodString>;
1217
+ artifacts: z.ZodArray<z.ZodString, "many">;
1218
+ source: z.ZodEnum<["project", "user", "package"]>;
1219
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1220
+ root: z.ZodNull;
1221
+ status: z.ZodArray<z.ZodObject<{
1222
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1223
+ code: z.ZodString;
1224
+ message: z.ZodString;
1225
+ target: z.ZodOptional<z.ZodString>;
1226
+ fix: z.ZodOptional<z.ZodString>;
1227
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1228
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1229
+ code: z.ZodString;
1230
+ message: z.ZodString;
1231
+ target: z.ZodOptional<z.ZodString>;
1232
+ fix: z.ZodOptional<z.ZodString>;
1233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1234
+ severity: z.ZodEnum<["error", "warning", "info"]>;
1235
+ code: z.ZodString;
1236
+ message: z.ZodString;
1237
+ target: z.ZodOptional<z.ZodString>;
1238
+ fix: z.ZodOptional<z.ZodString>;
1239
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1240
+ }, z.ZodTypeAny, "passthrough">>]>;
1241
+ type CliSchemas = z.infer<typeof CliSchemasSchema>;
1242
+ //#endregion
1043
1243
  //#region src/cli-contracts/store.d.ts
1044
1244
  /** Registered Store identity and canonical root emitted by the CLI. */
1045
1245
  declare const CliStoreSchema: z.ZodObject<{
@@ -5288,6 +5488,25 @@ type CliDoctor = z.infer<typeof CliDoctorSchema>;
5288
5488
  type CliContext = z.infer<typeof CliContextSchema>;
5289
5489
  //#endregion
5290
5490
  //#region src/cli-contracts/workflow.d.ts
5491
+ declare const CliChangeListEntrySchema: z.ZodObject<{
5492
+ name: z.ZodString;
5493
+ completedTasks: z.ZodNumber;
5494
+ totalTasks: z.ZodNumber;
5495
+ lastModified: z.ZodString;
5496
+ status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>;
5497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5498
+ name: z.ZodString;
5499
+ completedTasks: z.ZodNumber;
5500
+ totalTasks: z.ZodNumber;
5501
+ lastModified: z.ZodString;
5502
+ status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>;
5503
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5504
+ name: z.ZodString;
5505
+ completedTasks: z.ZodNumber;
5506
+ totalTasks: z.ZodNumber;
5507
+ lastModified: z.ZodString;
5508
+ status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>;
5509
+ }, z.ZodTypeAny, "passthrough">>;
5291
5510
  /** Typed result of the CLI change-list JSON command. */
5292
5511
  declare const CliChangeListSchema: z.ZodObject<{
5293
5512
  changes: z.ZodArray<z.ZodObject<{
@@ -5577,23 +5796,6 @@ declare const CliSpecListSchema: z.ZodObject<{
5577
5796
  fix: z.ZodOptional<z.ZodString>;
5578
5797
  }, z.ZodTypeAny, "passthrough">>, "many">>;
5579
5798
  }, z.ZodTypeAny, "passthrough">>;
5580
- /** Typed result of `openspec schemas --json`. */
5581
- declare const CliSchemasSchema: z.ZodArray<z.ZodObject<{
5582
- name: z.ZodString;
5583
- description: z.ZodOptional<z.ZodString>;
5584
- artifacts: z.ZodArray<z.ZodString, "many">;
5585
- source: z.ZodEnum<["project", "user", "package"]>;
5586
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5587
- name: z.ZodString;
5588
- description: z.ZodOptional<z.ZodString>;
5589
- artifacts: z.ZodArray<z.ZodString, "many">;
5590
- source: z.ZodEnum<["project", "user", "package"]>;
5591
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5592
- name: z.ZodString;
5593
- description: z.ZodOptional<z.ZodString>;
5594
- artifacts: z.ZodArray<z.ZodString, "many">;
5595
- source: z.ZodEnum<["project", "user", "package"]>;
5596
- }, z.ZodTypeAny, "passthrough">>, "many">;
5597
5799
  /** Typed result of `openspec schema which <name> --json`. */
5598
5800
  declare const CliSchemaWhichSchema: z.ZodObject<{
5599
5801
  name: z.ZodString;
@@ -6100,7 +6302,10 @@ declare const CliWorkflowStatusSchema: z.ZodUnion<[z.ZodObject<{
6100
6302
  resolvedOutputPath: z.ZodString;
6101
6303
  existingOutputPaths: z.ZodArray<z.ZodString, "many">;
6102
6304
  }, z.ZodTypeAny, "passthrough">>>;
6103
- isComplete: z.ZodBoolean;
6305
+ /** Required planning-artifact completion fact since OpenSpec 1.8. */
6306
+ isPlanningComplete: z.ZodBoolean;
6307
+ /** Retained upstream compatibility alias, kept only as raw CLI evidence. */
6308
+ isComplete: z.ZodOptional<z.ZodBoolean>;
6104
6309
  applyRequires: z.ZodArray<z.ZodString, "many">;
6105
6310
  nextSteps: z.ZodArray<z.ZodString, "many">;
6106
6311
  actionContext: z.ZodObject<{
@@ -6211,7 +6416,10 @@ declare const CliWorkflowStatusSchema: z.ZodUnion<[z.ZodObject<{
6211
6416
  resolvedOutputPath: z.ZodString;
6212
6417
  existingOutputPaths: z.ZodArray<z.ZodString, "many">;
6213
6418
  }, z.ZodTypeAny, "passthrough">>>;
6214
- isComplete: z.ZodBoolean;
6419
+ /** Required planning-artifact completion fact since OpenSpec 1.8. */
6420
+ isPlanningComplete: z.ZodBoolean;
6421
+ /** Retained upstream compatibility alias, kept only as raw CLI evidence. */
6422
+ isComplete: z.ZodOptional<z.ZodBoolean>;
6215
6423
  applyRequires: z.ZodArray<z.ZodString, "many">;
6216
6424
  nextSteps: z.ZodArray<z.ZodString, "many">;
6217
6425
  actionContext: z.ZodObject<{
@@ -6322,7 +6530,10 @@ declare const CliWorkflowStatusSchema: z.ZodUnion<[z.ZodObject<{
6322
6530
  resolvedOutputPath: z.ZodString;
6323
6531
  existingOutputPaths: z.ZodArray<z.ZodString, "many">;
6324
6532
  }, z.ZodTypeAny, "passthrough">>>;
6325
- isComplete: z.ZodBoolean;
6533
+ /** Required planning-artifact completion fact since OpenSpec 1.8. */
6534
+ isPlanningComplete: z.ZodBoolean;
6535
+ /** Retained upstream compatibility alias, kept only as raw CLI evidence. */
6536
+ isComplete: z.ZodOptional<z.ZodBoolean>;
6326
6537
  applyRequires: z.ZodArray<z.ZodString, "many">;
6327
6538
  nextSteps: z.ZodArray<z.ZodString, "many">;
6328
6539
  actionContext: z.ZodObject<{
@@ -7029,12 +7240,12 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
7029
7240
  complete: z.ZodNumber;
7030
7241
  remaining: z.ZodNumber;
7031
7242
  }, "strip", z.ZodTypeAny, {
7032
- total: number;
7033
7243
  complete: number;
7244
+ total: number;
7034
7245
  remaining: number;
7035
7246
  }, {
7036
- total: number;
7037
7247
  complete: number;
7248
+ total: number;
7038
7249
  remaining: number;
7039
7250
  }>;
7040
7251
  tasks: z.ZodArray<z.ZodObject<{
@@ -7181,12 +7392,12 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
7181
7392
  complete: z.ZodNumber;
7182
7393
  remaining: z.ZodNumber;
7183
7394
  }, "strip", z.ZodTypeAny, {
7184
- total: number;
7185
7395
  complete: number;
7396
+ total: number;
7186
7397
  remaining: number;
7187
7398
  }, {
7188
- total: number;
7189
7399
  complete: number;
7400
+ total: number;
7190
7401
  remaining: number;
7191
7402
  }>;
7192
7403
  tasks: z.ZodArray<z.ZodObject<{
@@ -7333,12 +7544,12 @@ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{
7333
7544
  complete: z.ZodNumber;
7334
7545
  remaining: z.ZodNumber;
7335
7546
  }, "strip", z.ZodTypeAny, {
7336
- total: number;
7337
7547
  complete: number;
7548
+ total: number;
7338
7549
  remaining: number;
7339
7550
  }, {
7340
- total: number;
7341
7551
  complete: number;
7552
+ total: number;
7342
7553
  remaining: number;
7343
7554
  }>;
7344
7555
  tasks: z.ZodArray<z.ZodObject<{
@@ -7649,8 +7860,8 @@ declare const CliArchiveInstructionsSchema: z.ZodUnion<[z.ZodObject<{
7649
7860
  fix: z.ZodOptional<z.ZodString>;
7650
7861
  }, z.ZodTypeAny, "passthrough">>, "many">;
7651
7862
  }, z.ZodTypeAny, "passthrough">>]>;
7652
- /** Typed strict or non-strict Validate result, including upstream failure diagnostics. */
7653
- declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
7863
+ /** Typed ordinary Validate report, also used by 1.9 `validate --archived --json`. */
7864
+ declare const CliValidateReportSchema: z.ZodObject<{
7654
7865
  items: z.ZodArray<z.ZodObject<{
7655
7866
  id: z.ZodString;
7656
7867
  type: z.ZodEnum<["change", "spec"]>;
@@ -8160,35 +8371,547 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
8160
8371
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8161
8372
  store_id: z.ZodOptional<z.ZodString>;
8162
8373
  }, z.ZodTypeAny, "passthrough">>;
8163
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8164
- status: z.ZodArray<z.ZodObject<{
8165
- severity: z.ZodEnum<["error", "warning", "info"]>;
8166
- code: z.ZodString;
8167
- message: z.ZodString;
8168
- target: z.ZodOptional<z.ZodString>;
8169
- fix: z.ZodOptional<z.ZodString>;
8374
+ }, z.ZodTypeAny, "passthrough">>;
8375
+ /** Typed strict, non-strict, or archived Validate result, including failure diagnostics. */
8376
+ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
8377
+ items: z.ZodArray<z.ZodObject<{
8378
+ id: z.ZodString;
8379
+ type: z.ZodEnum<["change", "spec"]>;
8380
+ valid: z.ZodBoolean;
8381
+ issues: z.ZodArray<z.ZodObject<{
8382
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8383
+ path: z.ZodString;
8384
+ message: z.ZodString;
8385
+ line: z.ZodOptional<z.ZodNumber>;
8386
+ column: z.ZodOptional<z.ZodNumber>;
8387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8388
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8389
+ path: z.ZodString;
8390
+ message: z.ZodString;
8391
+ line: z.ZodOptional<z.ZodNumber>;
8392
+ column: z.ZodOptional<z.ZodNumber>;
8393
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8394
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8395
+ path: z.ZodString;
8396
+ message: z.ZodString;
8397
+ line: z.ZodOptional<z.ZodNumber>;
8398
+ column: z.ZodOptional<z.ZodNumber>;
8399
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8400
+ durationMs: z.ZodNumber;
8170
8401
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8171
- severity: z.ZodEnum<["error", "warning", "info"]>;
8172
- code: z.ZodString;
8173
- message: z.ZodString;
8174
- target: z.ZodOptional<z.ZodString>;
8175
- fix: z.ZodOptional<z.ZodString>;
8402
+ id: z.ZodString;
8403
+ type: z.ZodEnum<["change", "spec"]>;
8404
+ valid: z.ZodBoolean;
8405
+ issues: z.ZodArray<z.ZodObject<{
8406
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8407
+ path: z.ZodString;
8408
+ message: z.ZodString;
8409
+ line: z.ZodOptional<z.ZodNumber>;
8410
+ column: z.ZodOptional<z.ZodNumber>;
8411
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8412
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8413
+ path: z.ZodString;
8414
+ message: z.ZodString;
8415
+ line: z.ZodOptional<z.ZodNumber>;
8416
+ column: z.ZodOptional<z.ZodNumber>;
8417
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8418
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8419
+ path: z.ZodString;
8420
+ message: z.ZodString;
8421
+ line: z.ZodOptional<z.ZodNumber>;
8422
+ column: z.ZodOptional<z.ZodNumber>;
8423
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8424
+ durationMs: z.ZodNumber;
8176
8425
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8177
- severity: z.ZodEnum<["error", "warning", "info"]>;
8178
- code: z.ZodString;
8179
- message: z.ZodString;
8180
- target: z.ZodOptional<z.ZodString>;
8181
- fix: z.ZodOptional<z.ZodString>;
8182
- }, z.ZodTypeAny, "passthrough">>, "many">;
8183
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8184
- status: z.ZodArray<z.ZodObject<{
8185
- severity: z.ZodEnum<["error", "warning", "info"]>;
8186
- code: z.ZodString;
8187
- message: z.ZodString;
8188
- target: z.ZodOptional<z.ZodString>;
8189
- fix: z.ZodOptional<z.ZodString>;
8190
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8191
- severity: z.ZodEnum<["error", "warning", "info"]>;
8426
+ id: z.ZodString;
8427
+ type: z.ZodEnum<["change", "spec"]>;
8428
+ valid: z.ZodBoolean;
8429
+ issues: z.ZodArray<z.ZodObject<{
8430
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8431
+ path: z.ZodString;
8432
+ message: z.ZodString;
8433
+ line: z.ZodOptional<z.ZodNumber>;
8434
+ column: z.ZodOptional<z.ZodNumber>;
8435
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8436
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8437
+ path: z.ZodString;
8438
+ message: z.ZodString;
8439
+ line: z.ZodOptional<z.ZodNumber>;
8440
+ column: z.ZodOptional<z.ZodNumber>;
8441
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8442
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8443
+ path: z.ZodString;
8444
+ message: z.ZodString;
8445
+ line: z.ZodOptional<z.ZodNumber>;
8446
+ column: z.ZodOptional<z.ZodNumber>;
8447
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8448
+ durationMs: z.ZodNumber;
8449
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8450
+ summary: z.ZodObject<{
8451
+ totals: z.ZodObject<{
8452
+ items: z.ZodNumber;
8453
+ passed: z.ZodNumber;
8454
+ failed: z.ZodNumber;
8455
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8456
+ items: z.ZodNumber;
8457
+ passed: z.ZodNumber;
8458
+ failed: z.ZodNumber;
8459
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8460
+ items: z.ZodNumber;
8461
+ passed: z.ZodNumber;
8462
+ failed: z.ZodNumber;
8463
+ }, z.ZodTypeAny, "passthrough">>;
8464
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8465
+ items: z.ZodNumber;
8466
+ passed: z.ZodNumber;
8467
+ failed: z.ZodNumber;
8468
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8469
+ items: z.ZodNumber;
8470
+ passed: z.ZodNumber;
8471
+ failed: z.ZodNumber;
8472
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8473
+ items: z.ZodNumber;
8474
+ passed: z.ZodNumber;
8475
+ failed: z.ZodNumber;
8476
+ }, z.ZodTypeAny, "passthrough">>>;
8477
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8478
+ totals: z.ZodObject<{
8479
+ items: z.ZodNumber;
8480
+ passed: z.ZodNumber;
8481
+ failed: z.ZodNumber;
8482
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8483
+ items: z.ZodNumber;
8484
+ passed: z.ZodNumber;
8485
+ failed: z.ZodNumber;
8486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8487
+ items: z.ZodNumber;
8488
+ passed: z.ZodNumber;
8489
+ failed: z.ZodNumber;
8490
+ }, z.ZodTypeAny, "passthrough">>;
8491
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8492
+ items: z.ZodNumber;
8493
+ passed: z.ZodNumber;
8494
+ failed: z.ZodNumber;
8495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8496
+ items: z.ZodNumber;
8497
+ passed: z.ZodNumber;
8498
+ failed: z.ZodNumber;
8499
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8500
+ items: z.ZodNumber;
8501
+ passed: z.ZodNumber;
8502
+ failed: z.ZodNumber;
8503
+ }, z.ZodTypeAny, "passthrough">>>;
8504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8505
+ totals: z.ZodObject<{
8506
+ items: z.ZodNumber;
8507
+ passed: z.ZodNumber;
8508
+ failed: z.ZodNumber;
8509
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8510
+ items: z.ZodNumber;
8511
+ passed: z.ZodNumber;
8512
+ failed: z.ZodNumber;
8513
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8514
+ items: z.ZodNumber;
8515
+ passed: z.ZodNumber;
8516
+ failed: z.ZodNumber;
8517
+ }, z.ZodTypeAny, "passthrough">>;
8518
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8519
+ items: z.ZodNumber;
8520
+ passed: z.ZodNumber;
8521
+ failed: z.ZodNumber;
8522
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8523
+ items: z.ZodNumber;
8524
+ passed: z.ZodNumber;
8525
+ failed: z.ZodNumber;
8526
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8527
+ items: z.ZodNumber;
8528
+ passed: z.ZodNumber;
8529
+ failed: z.ZodNumber;
8530
+ }, z.ZodTypeAny, "passthrough">>>;
8531
+ }, z.ZodTypeAny, "passthrough">>;
8532
+ version: z.ZodString;
8533
+ root: z.ZodObject<{
8534
+ path: z.ZodString;
8535
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8536
+ store_id: z.ZodOptional<z.ZodString>;
8537
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8538
+ path: z.ZodString;
8539
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8540
+ store_id: z.ZodOptional<z.ZodString>;
8541
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8542
+ path: z.ZodString;
8543
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8544
+ store_id: z.ZodOptional<z.ZodString>;
8545
+ }, z.ZodTypeAny, "passthrough">>;
8546
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8547
+ items: z.ZodArray<z.ZodObject<{
8548
+ id: z.ZodString;
8549
+ type: z.ZodEnum<["change", "spec"]>;
8550
+ valid: z.ZodBoolean;
8551
+ issues: z.ZodArray<z.ZodObject<{
8552
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8553
+ path: z.ZodString;
8554
+ message: z.ZodString;
8555
+ line: z.ZodOptional<z.ZodNumber>;
8556
+ column: z.ZodOptional<z.ZodNumber>;
8557
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8558
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8559
+ path: z.ZodString;
8560
+ message: z.ZodString;
8561
+ line: z.ZodOptional<z.ZodNumber>;
8562
+ column: z.ZodOptional<z.ZodNumber>;
8563
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8564
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8565
+ path: z.ZodString;
8566
+ message: z.ZodString;
8567
+ line: z.ZodOptional<z.ZodNumber>;
8568
+ column: z.ZodOptional<z.ZodNumber>;
8569
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8570
+ durationMs: z.ZodNumber;
8571
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8572
+ id: z.ZodString;
8573
+ type: z.ZodEnum<["change", "spec"]>;
8574
+ valid: z.ZodBoolean;
8575
+ issues: z.ZodArray<z.ZodObject<{
8576
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8577
+ path: z.ZodString;
8578
+ message: z.ZodString;
8579
+ line: z.ZodOptional<z.ZodNumber>;
8580
+ column: z.ZodOptional<z.ZodNumber>;
8581
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8582
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8583
+ path: z.ZodString;
8584
+ message: z.ZodString;
8585
+ line: z.ZodOptional<z.ZodNumber>;
8586
+ column: z.ZodOptional<z.ZodNumber>;
8587
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8588
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8589
+ path: z.ZodString;
8590
+ message: z.ZodString;
8591
+ line: z.ZodOptional<z.ZodNumber>;
8592
+ column: z.ZodOptional<z.ZodNumber>;
8593
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8594
+ durationMs: z.ZodNumber;
8595
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8596
+ id: z.ZodString;
8597
+ type: z.ZodEnum<["change", "spec"]>;
8598
+ valid: z.ZodBoolean;
8599
+ issues: z.ZodArray<z.ZodObject<{
8600
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8601
+ path: z.ZodString;
8602
+ message: z.ZodString;
8603
+ line: z.ZodOptional<z.ZodNumber>;
8604
+ column: z.ZodOptional<z.ZodNumber>;
8605
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8606
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8607
+ path: z.ZodString;
8608
+ message: z.ZodString;
8609
+ line: z.ZodOptional<z.ZodNumber>;
8610
+ column: z.ZodOptional<z.ZodNumber>;
8611
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8612
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8613
+ path: z.ZodString;
8614
+ message: z.ZodString;
8615
+ line: z.ZodOptional<z.ZodNumber>;
8616
+ column: z.ZodOptional<z.ZodNumber>;
8617
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8618
+ durationMs: z.ZodNumber;
8619
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8620
+ summary: z.ZodObject<{
8621
+ totals: z.ZodObject<{
8622
+ items: z.ZodNumber;
8623
+ passed: z.ZodNumber;
8624
+ failed: z.ZodNumber;
8625
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8626
+ items: z.ZodNumber;
8627
+ passed: z.ZodNumber;
8628
+ failed: z.ZodNumber;
8629
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8630
+ items: z.ZodNumber;
8631
+ passed: z.ZodNumber;
8632
+ failed: z.ZodNumber;
8633
+ }, z.ZodTypeAny, "passthrough">>;
8634
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8635
+ items: z.ZodNumber;
8636
+ passed: z.ZodNumber;
8637
+ failed: z.ZodNumber;
8638
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8639
+ items: z.ZodNumber;
8640
+ passed: z.ZodNumber;
8641
+ failed: z.ZodNumber;
8642
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8643
+ items: z.ZodNumber;
8644
+ passed: z.ZodNumber;
8645
+ failed: z.ZodNumber;
8646
+ }, z.ZodTypeAny, "passthrough">>>;
8647
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8648
+ totals: z.ZodObject<{
8649
+ items: z.ZodNumber;
8650
+ passed: z.ZodNumber;
8651
+ failed: z.ZodNumber;
8652
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8653
+ items: z.ZodNumber;
8654
+ passed: z.ZodNumber;
8655
+ failed: z.ZodNumber;
8656
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8657
+ items: z.ZodNumber;
8658
+ passed: z.ZodNumber;
8659
+ failed: z.ZodNumber;
8660
+ }, z.ZodTypeAny, "passthrough">>;
8661
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8662
+ items: z.ZodNumber;
8663
+ passed: z.ZodNumber;
8664
+ failed: z.ZodNumber;
8665
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8666
+ items: z.ZodNumber;
8667
+ passed: z.ZodNumber;
8668
+ failed: z.ZodNumber;
8669
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8670
+ items: z.ZodNumber;
8671
+ passed: z.ZodNumber;
8672
+ failed: z.ZodNumber;
8673
+ }, z.ZodTypeAny, "passthrough">>>;
8674
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8675
+ totals: z.ZodObject<{
8676
+ items: z.ZodNumber;
8677
+ passed: z.ZodNumber;
8678
+ failed: z.ZodNumber;
8679
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8680
+ items: z.ZodNumber;
8681
+ passed: z.ZodNumber;
8682
+ failed: z.ZodNumber;
8683
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8684
+ items: z.ZodNumber;
8685
+ passed: z.ZodNumber;
8686
+ failed: z.ZodNumber;
8687
+ }, z.ZodTypeAny, "passthrough">>;
8688
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8689
+ items: z.ZodNumber;
8690
+ passed: z.ZodNumber;
8691
+ failed: z.ZodNumber;
8692
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8693
+ items: z.ZodNumber;
8694
+ passed: z.ZodNumber;
8695
+ failed: z.ZodNumber;
8696
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8697
+ items: z.ZodNumber;
8698
+ passed: z.ZodNumber;
8699
+ failed: z.ZodNumber;
8700
+ }, z.ZodTypeAny, "passthrough">>>;
8701
+ }, z.ZodTypeAny, "passthrough">>;
8702
+ version: z.ZodString;
8703
+ root: z.ZodObject<{
8704
+ path: z.ZodString;
8705
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8706
+ store_id: z.ZodOptional<z.ZodString>;
8707
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8708
+ path: z.ZodString;
8709
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8710
+ store_id: z.ZodOptional<z.ZodString>;
8711
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8712
+ path: z.ZodString;
8713
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8714
+ store_id: z.ZodOptional<z.ZodString>;
8715
+ }, z.ZodTypeAny, "passthrough">>;
8716
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8717
+ items: z.ZodArray<z.ZodObject<{
8718
+ id: z.ZodString;
8719
+ type: z.ZodEnum<["change", "spec"]>;
8720
+ valid: z.ZodBoolean;
8721
+ issues: z.ZodArray<z.ZodObject<{
8722
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8723
+ path: z.ZodString;
8724
+ message: z.ZodString;
8725
+ line: z.ZodOptional<z.ZodNumber>;
8726
+ column: z.ZodOptional<z.ZodNumber>;
8727
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8728
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8729
+ path: z.ZodString;
8730
+ message: z.ZodString;
8731
+ line: z.ZodOptional<z.ZodNumber>;
8732
+ column: z.ZodOptional<z.ZodNumber>;
8733
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8734
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8735
+ path: z.ZodString;
8736
+ message: z.ZodString;
8737
+ line: z.ZodOptional<z.ZodNumber>;
8738
+ column: z.ZodOptional<z.ZodNumber>;
8739
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8740
+ durationMs: z.ZodNumber;
8741
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8742
+ id: z.ZodString;
8743
+ type: z.ZodEnum<["change", "spec"]>;
8744
+ valid: z.ZodBoolean;
8745
+ issues: z.ZodArray<z.ZodObject<{
8746
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8747
+ path: z.ZodString;
8748
+ message: z.ZodString;
8749
+ line: z.ZodOptional<z.ZodNumber>;
8750
+ column: z.ZodOptional<z.ZodNumber>;
8751
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8752
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8753
+ path: z.ZodString;
8754
+ message: z.ZodString;
8755
+ line: z.ZodOptional<z.ZodNumber>;
8756
+ column: z.ZodOptional<z.ZodNumber>;
8757
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8758
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8759
+ path: z.ZodString;
8760
+ message: z.ZodString;
8761
+ line: z.ZodOptional<z.ZodNumber>;
8762
+ column: z.ZodOptional<z.ZodNumber>;
8763
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8764
+ durationMs: z.ZodNumber;
8765
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8766
+ id: z.ZodString;
8767
+ type: z.ZodEnum<["change", "spec"]>;
8768
+ valid: z.ZodBoolean;
8769
+ issues: z.ZodArray<z.ZodObject<{
8770
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8771
+ path: z.ZodString;
8772
+ message: z.ZodString;
8773
+ line: z.ZodOptional<z.ZodNumber>;
8774
+ column: z.ZodOptional<z.ZodNumber>;
8775
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8776
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8777
+ path: z.ZodString;
8778
+ message: z.ZodString;
8779
+ line: z.ZodOptional<z.ZodNumber>;
8780
+ column: z.ZodOptional<z.ZodNumber>;
8781
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8782
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
8783
+ path: z.ZodString;
8784
+ message: z.ZodString;
8785
+ line: z.ZodOptional<z.ZodNumber>;
8786
+ column: z.ZodOptional<z.ZodNumber>;
8787
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8788
+ durationMs: z.ZodNumber;
8789
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8790
+ summary: z.ZodObject<{
8791
+ totals: z.ZodObject<{
8792
+ items: z.ZodNumber;
8793
+ passed: z.ZodNumber;
8794
+ failed: z.ZodNumber;
8795
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8796
+ items: z.ZodNumber;
8797
+ passed: z.ZodNumber;
8798
+ failed: z.ZodNumber;
8799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8800
+ items: z.ZodNumber;
8801
+ passed: z.ZodNumber;
8802
+ failed: z.ZodNumber;
8803
+ }, z.ZodTypeAny, "passthrough">>;
8804
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8805
+ items: z.ZodNumber;
8806
+ passed: z.ZodNumber;
8807
+ failed: z.ZodNumber;
8808
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8809
+ items: z.ZodNumber;
8810
+ passed: z.ZodNumber;
8811
+ failed: z.ZodNumber;
8812
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8813
+ items: z.ZodNumber;
8814
+ passed: z.ZodNumber;
8815
+ failed: z.ZodNumber;
8816
+ }, z.ZodTypeAny, "passthrough">>>;
8817
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8818
+ totals: z.ZodObject<{
8819
+ items: z.ZodNumber;
8820
+ passed: z.ZodNumber;
8821
+ failed: z.ZodNumber;
8822
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8823
+ items: z.ZodNumber;
8824
+ passed: z.ZodNumber;
8825
+ failed: z.ZodNumber;
8826
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8827
+ items: z.ZodNumber;
8828
+ passed: z.ZodNumber;
8829
+ failed: z.ZodNumber;
8830
+ }, z.ZodTypeAny, "passthrough">>;
8831
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8832
+ items: z.ZodNumber;
8833
+ passed: z.ZodNumber;
8834
+ failed: z.ZodNumber;
8835
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8836
+ items: z.ZodNumber;
8837
+ passed: z.ZodNumber;
8838
+ failed: z.ZodNumber;
8839
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8840
+ items: z.ZodNumber;
8841
+ passed: z.ZodNumber;
8842
+ failed: z.ZodNumber;
8843
+ }, z.ZodTypeAny, "passthrough">>>;
8844
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8845
+ totals: z.ZodObject<{
8846
+ items: z.ZodNumber;
8847
+ passed: z.ZodNumber;
8848
+ failed: z.ZodNumber;
8849
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8850
+ items: z.ZodNumber;
8851
+ passed: z.ZodNumber;
8852
+ failed: z.ZodNumber;
8853
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8854
+ items: z.ZodNumber;
8855
+ passed: z.ZodNumber;
8856
+ failed: z.ZodNumber;
8857
+ }, z.ZodTypeAny, "passthrough">>;
8858
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8859
+ items: z.ZodNumber;
8860
+ passed: z.ZodNumber;
8861
+ failed: z.ZodNumber;
8862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8863
+ items: z.ZodNumber;
8864
+ passed: z.ZodNumber;
8865
+ failed: z.ZodNumber;
8866
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8867
+ items: z.ZodNumber;
8868
+ passed: z.ZodNumber;
8869
+ failed: z.ZodNumber;
8870
+ }, z.ZodTypeAny, "passthrough">>>;
8871
+ }, z.ZodTypeAny, "passthrough">>;
8872
+ version: z.ZodString;
8873
+ root: z.ZodObject<{
8874
+ path: z.ZodString;
8875
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8876
+ store_id: z.ZodOptional<z.ZodString>;
8877
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8878
+ path: z.ZodString;
8879
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8880
+ store_id: z.ZodOptional<z.ZodString>;
8881
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8882
+ path: z.ZodString;
8883
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8884
+ store_id: z.ZodOptional<z.ZodString>;
8885
+ }, z.ZodTypeAny, "passthrough">>;
8886
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8887
+ status: z.ZodArray<z.ZodObject<{
8888
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8889
+ code: z.ZodString;
8890
+ message: z.ZodString;
8891
+ target: z.ZodOptional<z.ZodString>;
8892
+ fix: z.ZodOptional<z.ZodString>;
8893
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8894
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8895
+ code: z.ZodString;
8896
+ message: z.ZodString;
8897
+ target: z.ZodOptional<z.ZodString>;
8898
+ fix: z.ZodOptional<z.ZodString>;
8899
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8900
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8901
+ code: z.ZodString;
8902
+ message: z.ZodString;
8903
+ target: z.ZodOptional<z.ZodString>;
8904
+ fix: z.ZodOptional<z.ZodString>;
8905
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8906
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8907
+ status: z.ZodArray<z.ZodObject<{
8908
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8909
+ code: z.ZodString;
8910
+ message: z.ZodString;
8911
+ target: z.ZodOptional<z.ZodString>;
8912
+ fix: z.ZodOptional<z.ZodString>;
8913
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8914
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8192
8915
  code: z.ZodString;
8193
8916
  message: z.ZodString;
8194
8917
  target: z.ZodOptional<z.ZodString>;
@@ -8244,6 +8967,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8244
8967
  removed: z.ZodNumber;
8245
8968
  renamed: z.ZodNumber;
8246
8969
  }, z.ZodTypeAny, "passthrough">>>;
8970
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
8971
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8247
8972
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8248
8973
  change: z.ZodString;
8249
8974
  archivedAs: z.ZodString;
@@ -8265,6 +8990,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8265
8990
  removed: z.ZodNumber;
8266
8991
  renamed: z.ZodNumber;
8267
8992
  }, z.ZodTypeAny, "passthrough">>>;
8993
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
8994
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8268
8995
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8269
8996
  change: z.ZodString;
8270
8997
  archivedAs: z.ZodString;
@@ -8286,6 +9013,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8286
9013
  removed: z.ZodNumber;
8287
9014
  renamed: z.ZodNumber;
8288
9015
  }, z.ZodTypeAny, "passthrough">>>;
9016
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9017
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8289
9018
  }, z.ZodTypeAny, "passthrough">>>;
8290
9019
  root: z.ZodOptional<z.ZodObject<{
8291
9020
  path: z.ZodString;
@@ -8341,6 +9070,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8341
9070
  removed: z.ZodNumber;
8342
9071
  renamed: z.ZodNumber;
8343
9072
  }, z.ZodTypeAny, "passthrough">>>;
9073
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9074
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8344
9075
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8345
9076
  change: z.ZodString;
8346
9077
  archivedAs: z.ZodString;
@@ -8362,6 +9093,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8362
9093
  removed: z.ZodNumber;
8363
9094
  renamed: z.ZodNumber;
8364
9095
  }, z.ZodTypeAny, "passthrough">>>;
9096
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9097
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8365
9098
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8366
9099
  change: z.ZodString;
8367
9100
  archivedAs: z.ZodString;
@@ -8383,6 +9116,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8383
9116
  removed: z.ZodNumber;
8384
9117
  renamed: z.ZodNumber;
8385
9118
  }, z.ZodTypeAny, "passthrough">>>;
9119
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9120
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8386
9121
  }, z.ZodTypeAny, "passthrough">>>;
8387
9122
  root: z.ZodOptional<z.ZodObject<{
8388
9123
  path: z.ZodString;
@@ -8438,6 +9173,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8438
9173
  removed: z.ZodNumber;
8439
9174
  renamed: z.ZodNumber;
8440
9175
  }, z.ZodTypeAny, "passthrough">>>;
9176
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9177
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8441
9178
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8442
9179
  change: z.ZodString;
8443
9180
  archivedAs: z.ZodString;
@@ -8459,6 +9196,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8459
9196
  removed: z.ZodNumber;
8460
9197
  renamed: z.ZodNumber;
8461
9198
  }, z.ZodTypeAny, "passthrough">>>;
9199
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9200
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8462
9201
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8463
9202
  change: z.ZodString;
8464
9203
  archivedAs: z.ZodString;
@@ -8480,6 +9219,8 @@ declare const CliArchiveSchema: z.ZodObject<{
8480
9219
  removed: z.ZodNumber;
8481
9220
  renamed: z.ZodNumber;
8482
9221
  }, z.ZodTypeAny, "passthrough">>>;
9222
+ /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */
9223
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8483
9224
  }, z.ZodTypeAny, "passthrough">>>;
8484
9225
  root: z.ZodOptional<z.ZodObject<{
8485
9226
  path: z.ZodString;
@@ -8514,9 +9255,10 @@ declare const CliArchiveSchema: z.ZodObject<{
8514
9255
  fix: z.ZodOptional<z.ZodString>;
8515
9256
  }, z.ZodTypeAny, "passthrough">>, "many">>;
8516
9257
  }, z.ZodTypeAny, "passthrough">>;
9258
+ /** One CLI-reported Change row: task counts and phase straight from `openspec list`. */
9259
+ type CliChangeListEntry = z.infer<typeof CliChangeListEntrySchema>;
8517
9260
  type CliChangeList = z.infer<typeof CliChangeListSchema>;
8518
9261
  type CliSpecList = z.infer<typeof CliSpecListSchema>;
8519
- type CliSchemas = z.infer<typeof CliSchemasSchema>;
8520
9262
  type CliSchemaWhich = z.infer<typeof CliSchemaWhichSchema>;
8521
9263
  type CliTemplates = z.infer<typeof CliTemplatesSchema>;
8522
9264
  type CliShowSpec = z.infer<typeof CliShowSpecSchema>;
@@ -8525,6 +9267,7 @@ type CliArtifactInstructions = z.infer<typeof CliArtifactInstructionsSchema>;
8525
9267
  type CliApplyInstructions = z.infer<typeof CliApplyInstructionsSchema>;
8526
9268
  type CliArchiveInstructions = z.infer<typeof CliArchiveInstructionsSchema>;
8527
9269
  type CliValidate = z.infer<typeof CliValidateSchema>;
9270
+ type CliValidateReport = z.infer<typeof CliValidateReportSchema>;
8528
9271
  type CliArchive = z.infer<typeof CliArchiveSchema>;
8529
9272
  //#endregion
8530
9273
  //#region src/cli-contracts/executor.d.ts
@@ -8567,6 +9310,9 @@ type CliValidateTarget = {
8567
9310
  } | {
8568
9311
  kind: 'scope';
8569
9312
  scope: 'all' | 'changes' | 'specs';
9313
+ }
9314
+ /** OpenSpec 1.9 archived-task validation over the resolved root's archive. */ | {
9315
+ kind: 'archived';
8570
9316
  };
8571
9317
  /** JSON Validate options, including explicit target and root selection. */
8572
9318
  interface CliValidateJsonOptions extends CliRootSelector {
@@ -8587,8 +9333,8 @@ declare class OpenSpecCliContractExecutor {
8587
9333
  listSpecs(selector?: CliRootSelector): Promise<CliCommandResult<CliSpecList>>;
8588
9334
  /** Read one owned or explicitly selected Store Spec through the official CLI. */
8589
9335
  showSpec(specId: string, selector?: CliRootSelector): Promise<CliCommandResult<CliShowSpec>>;
8590
- /** List workflow schemas through the CLI JSON contract. */
8591
- schemas(): Promise<CliCommandResult<CliSchemas>>;
9336
+ /** List workflow schemas through the CLI JSON contract with the selected Root's Store selector. */
9337
+ schemas(selector?: CliRootSelector): Promise<CliCommandResult<CliSchemas>>;
8592
9338
  /** Resolve one workflow schema through the CLI JSON contract. */
8593
9339
  schemaWhich(name: string): Promise<CliCommandResult<CliSchemaWhich>>;
8594
9340
  /** List the resolved template index through the CLI JSON contract. */
@@ -8617,7 +9363,7 @@ declare class OpenSpecCliContractExecutor {
8617
9363
  unregisterStore(id: string): Promise<CliCommandResult<CliStoreCleanup>>;
8618
9364
  /** Remove one Store through the official CLI destructive boundary. */
8619
9365
  removeStore(id: string, options?: CliStoreRemoveOptions): Promise<CliCommandResult<CliStoreCleanup>>;
8620
- /** Validate an item or scope without inferring retries or readiness. */
9366
+ /** Validate an item, scope, or the archive without inferring retries or readiness. */
8621
9367
  validate(options: CliValidateJsonOptions): Promise<CliCommandResult<CliValidate>>;
8622
9368
  /** Archive one change without implicit validation bypass or retry. */
8623
9369
  archive(changeId: string, options?: CliRootSelector & {
@@ -8626,4 +9372,4 @@ declare class OpenSpecCliContractExecutor {
8626
9372
  }): Promise<CliCommandResult<CliArchive>>;
8627
9373
  }
8628
9374
  //#endregion
8629
- export { CliReferenceIndexEntry as $, CliDoctor as A, OpsxConfig as At, CliStoreListSchema as B, TerminalThemeSchema as Bt, CliSpecListSchema as C, OPSX_AGENT_INVOCATION_MODE_VALUES as Ct, CliWorkflowStatusSchema as D, OpenSpecUIConfigUpdate as Dt, CliWorkflowStatus as E, OpenSpecUIConfigSchema as Et, CliStoreDoctor as F, TerminalRendererEngine as Ft, CliJsonValue as G, isTerminalRendererEngine as Gt, CliStoreMutationSchema as H, createCleanCliEnv as Ht, CliStoreDoctorEntry as I, TerminalRendererEngineSchema as It, CliDiagnosticFailure as J, parseCliCommandResult as K, parseCliCommand as Kt, CliStoreDoctorEntrySchema as L, TerminalThemeId as Lt, CliStore as M, ResolvedCliRunner as Mt, CliStoreCleanup as N, TerminalConfig as Nt, CliContext as O, OpsxAgentInvocationMode as Ot, CliStoreCleanupSchema as P, TerminalConfigSchema as Pt, CliDoctorReferenceEntrySchema as Q, CliStoreDoctorSchema as R, TerminalThemeMode as Rt, CliSpecList as S, GitConfigSchema as St, CliValidateSchema as T, OpenSpecUIConfigPresence as Tt, CliStoreSchema as U, getDefaultCliCommand as Ut, CliStoreMutation as V, buildCliRunnerCandidates as Vt, CliCommandResult as W, getDefaultCliCommandString as Wt, CliDiagnosticSchema as X, CliDiagnosticFailureSchema as Y, CliDoctorReferenceEntry as Z, CliChangeList as _, DEFAULT_CONFIG as _t, CliValidateJsonOptions as a, CliExecutor as at, CliShowSpecDocumentSchema as b, DashboardConfigSchema as bt, OpenSpecCliContractExecutor as c, CliStreamHandle as ct, CliArchive as d, CODE_EDITOR_THEME_VALUES as dt, CliReferenceIndexEntrySchema as et, CliArchiveInstructions as f, CliRunnerAttempt as ft, CliArtifactInstructionsSchema as g, ConfigManager as gt, CliArtifactInstructions as h, CodeEditorThemeSchema as ht, CliStoreSetupOptions as i, CliRootSourceSchema as it, CliDoctorSchema as j, OpsxConfigSchema as jt, CliContextSchema as k, OpsxAgentInvocationModeSchema as kt, CliApplyInstructions as l, CliStreamSettlement as lt, CliArchiveSchema as m, CodeEditorTheme as mt, CliStoreRegisterOptions as n, CliRootSchema as nt, CliValidateTarget as o, CliResult as ot, CliArchiveInstructionsSchema as p, CliSniffResult as pt, CliDiagnostic as q, sniffGlobalCli as qt, CliStoreRemoveOptions as r, CliRootSource as rt, CliWorkflowOptions as s, CliStreamEvent as st, CliRootSelector as t, CliRoot as tt, CliApplyInstructionsSchema as u, CliStreamTerminationError as ut, CliChangeListSchema as v, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as vt, CliValidate as w, OpenSpecUIConfig as wt, CliShowSpecSchema as x, GitConfig as xt, CliShowSpec as y, DashboardConfig as yt, CliStoreList as z, TerminalThemeModeSchema as zt };
9375
+ export { CliDiagnosticFailureSchema as $, CliWorkflowStatusSchema as A, OpenSpecUIConfigSchema as At, CliStoreDoctorEntrySchema as B, TerminalRendererEngineSchema as Bt, CliSpecList as C, DashboardConfig as Ct, CliValidateReportSchema as D, OPSX_AGENT_INVOCATION_MODE_VALUES as Dt, CliValidateReport as E, GitConfigSchema as Et, CliStore as F, OpsxConfigSchema as Ft, CliStoreMutationSchema as G, buildCliRunnerCandidates as Gt, CliStoreList as H, TerminalThemeMode as Ht, CliStoreCleanup as I, ResolvedCliRunner as It, CliCommandTransportSchema as J, getDefaultCliCommandString as Jt, CliStoreSchema as K, createCleanCliEnv as Kt, CliStoreCleanupSchema as L, TerminalConfig as Lt, CliContextSchema as M, OpsxAgentInvocationMode as Mt, CliDoctor as N, OpsxAgentInvocationModeSchema as Nt, CliValidateSchema as O, OpenSpecUIConfig as Ot, CliDoctorSchema as P, OpsxConfig as Pt, CliDiagnosticFailure as Q, CliStoreDoctor as R, TerminalConfigSchema as Rt, CliShowSpecSchema as S, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as St, CliValidate as T, GitConfig as Tt, CliStoreListSchema as U, TerminalThemeModeSchema as Ut, CliStoreDoctorSchema as V, TerminalThemeId as Vt, CliStoreMutation as W, TerminalThemeSchema as Wt, parseCliCommandResult as X, parseCliCommand as Xt, CliJsonValue as Y, isTerminalRendererEngine as Yt, CliDiagnostic as Z, sniffGlobalCli as Zt, CliChangeList as _, CliSniffResult as _t, CliValidateJsonOptions as a, CliRoot as at, CliShowSpec as b, ConfigManager as bt, OpenSpecCliContractExecutor as c, CliRootSourceSchema as ct, CliArchive as d, CliStreamEvent as dt, CliDiagnosticSchema as et, CliArchiveInstructions as f, CliStreamHandle as ft, CliArtifactInstructionsSchema as g, CliRunnerAttempt as gt, CliArtifactInstructions as h, CODE_EDITOR_THEME_VALUES as ht, CliStoreSetupOptions as i, CliReferenceIndexEntrySchema as it, CliContext as j, OpenSpecUIConfigUpdate as jt, CliWorkflowStatus as k, OpenSpecUIConfigPresence as kt, CliApplyInstructions as l, CliExecutor as lt, CliArchiveSchema as m, CliStreamTerminationError as mt, CliStoreRegisterOptions as n, CliDoctorReferenceEntrySchema as nt, CliValidateTarget as o, CliRootSchema as ot, CliArchiveInstructionsSchema as p, CliStreamSettlement as pt, CliCommandResult as q, getDefaultCliCommand as qt, CliStoreRemoveOptions as r, CliReferenceIndexEntry as rt, CliWorkflowOptions as s, CliRootSource as st, CliRootSelector as t, CliDoctorReferenceEntry as tt, CliApplyInstructionsSchema as u, CliResult as ut, CliChangeListEntry as v, CodeEditorTheme as vt, CliSpecListSchema as w, DashboardConfigSchema as wt, CliShowSpecDocumentSchema as x, DEFAULT_CONFIG as xt, CliChangeListSchema as y, CodeEditorThemeSchema as yt, CliStoreDoctorEntry as z, TerminalRendererEngine as zt };