@openspecui/core 6.2.1 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/active-root-config-DxRGkvOp.d.mts +668 -0
  2. package/dist/active-root-config-L5QaMb3A.mjs +333 -0
  3. package/dist/active-root-config.d.mts +6 -0
  4. package/dist/active-root-config.mjs +3 -0
  5. package/dist/app-daemon-control.d.mts +59 -59
  6. package/dist/{cli-projection-Cus0QYkY.d.mts → cli-projection-BeBPIxhK.d.mts} +17 -17
  7. package/dist/{cli-projection-BHfqvlpA.mjs → cli-projection-CKRwTvwf.mjs} +1 -1
  8. package/dist/cli-projection.d.mts +5 -5
  9. package/dist/cli-projection.mjs +2 -2
  10. package/dist/{common-BpgNUOOT.mjs → common-BRL_34xt.mjs} +2 -1
  11. package/dist/{dashboard-summary-transport-ByWMiUWn.d.mts → dashboard-summary-transport-CXGjAcQZ.d.mts} +2904 -2112
  12. package/dist/{dashboard-summary-transport-BMtZ0q12.mjs → dashboard-summary-transport-ILCfZD_I.mjs} +2 -2
  13. package/dist/dashboard-summary-transport.d.mts +26 -25
  14. package/dist/dashboard-summary-transport.mjs +4 -4
  15. package/dist/{document-translation-CUkkxnYV.mjs → document-translation-B3xaP0dJ.mjs} +1 -1
  16. package/dist/document-translation.d.mts +1 -1
  17. package/dist/document-translation.mjs +2 -2
  18. package/dist/{hosted-app-C3gBSvov.mjs → hosted-app-B_T_tTvO.mjs} +7 -2
  19. package/dist/hosted-app.d.mts +27 -26
  20. package/dist/hosted-app.mjs +7 -7
  21. package/dist/{hosted-contract-CaN2aw54.mjs → hosted-contract-BxUx6ksP.mjs} +5 -5
  22. package/dist/hosted-contract.d.mts +26 -25
  23. package/dist/hosted-contract.mjs +6 -6
  24. package/dist/{command-result-BkUqqa0m.d.mts → index-CkwSp1WZ.d.mts} +8143 -8002
  25. package/dist/index.d.mts +27 -26
  26. package/dist/index.mjs +904 -332
  27. package/dist/{local-download-profiles-Detliqbu.d.mts → local-download-profiles-DYeaRK_E.d.mts} +1 -1
  28. package/dist/local-download-profiles.d.mts +2 -2
  29. package/dist/local-download-profiles.mjs +1 -1
  30. package/dist/markdown-facts.d.mts +1 -1
  31. package/dist/markdown-facts.mjs +1 -1
  32. package/dist/{markdown-reading-w686Obnl.d.mts → markdown-reading--Sr6JAl5.d.mts} +1 -1
  33. package/dist/{markdown-reading-0L-mVBJp.mjs → markdown-reading-LtgFpB8E.mjs} +1 -1
  34. package/dist/markdown-reading.d.mts +2 -2
  35. package/dist/markdown-reading.mjs +2 -2
  36. package/dist/{notifications-COeXWb2h.d.mts → notifications-B43aFxw9.d.mts} +5 -5
  37. package/dist/{notifications-E6_WBjQO.mjs → notifications-Cy74GVN7.mjs} +2 -2
  38. package/dist/notifications.d.mts +2 -2
  39. package/dist/notifications.mjs +3 -3
  40. package/dist/{openspec-annotations-DiHje5HD.mjs → openspec-annotations-BJ1BlVyo.mjs} +2 -2
  41. package/dist/{openspec-annotations-BXAqKLXc.d.mts → openspec-annotations-BylPW5rz.d.mts} +2 -2
  42. package/dist/openspec-annotations.d.mts +3 -3
  43. package/dist/openspec-annotations.mjs +3 -3
  44. package/dist/openspec-compat.d.mts +14 -14
  45. package/dist/openspec-compat.mjs +18 -32
  46. package/dist/{openspec-projection-DvJnsxLZ.mjs → openspec-projection-Cno7FlwE.mjs} +2 -2
  47. package/dist/{openspec-projection-BwPchxIq.d.mts → openspec-projection-NGJSLiSk.d.mts} +3 -3
  48. package/dist/openspec-projection.d.mts +5 -5
  49. package/dist/openspec-projection.mjs +4 -4
  50. package/dist/opsx-display-path.d.mts +1 -1
  51. package/dist/opsx-display-path.mjs +1 -1
  52. package/dist/{opsx-entity-D3aLGfC7.d.mts → opsx-entity-5ATD3peX.d.mts} +2 -2
  53. package/dist/opsx-entity.d.mts +7 -7
  54. package/dist/opsx-entity.mjs +1 -1
  55. package/dist/{opsx-schema-detail-DJ9QKFSH.d.mts → opsx-schema-detail-Cu7mIrGm.d.mts} +2 -2
  56. package/dist/opsx-schema-detail.d.mts +8 -8
  57. package/dist/opsx-schema-detail.mjs +1 -1
  58. package/dist/{opsx-types-BJTT7C4w.d.mts → opsx-types-DJzyK1W7.d.mts} +402 -153
  59. package/dist/opsx-workflows.d.mts +1 -1
  60. package/dist/opsx-workflows.mjs +1 -1
  61. package/dist/{planning-cli-projection-DrkT18EI.mjs → planning-cli-projection-BreqsrYA.mjs} +51 -11
  62. package/dist/planning-cli-projection.d.mts +26 -25
  63. package/dist/planning-cli-projection.mjs +7 -7
  64. package/dist/{schemas-DKF6kaQ3.d.mts → schemas-kuds0tNv.d.mts} +96 -96
  65. package/dist/{sounds-CsPiQKxX.d.mts → sounds-vwRCMSzL.d.mts} +4 -4
  66. package/dist/sounds.d.mts +1 -1
  67. package/dist/sounds.mjs +1 -1
  68. package/dist/{spec-catalog-Dv2qolxy.mjs → spec-catalog-DEk_oHAx.mjs} +99 -18
  69. package/dist/spec-catalog.d.mts +27 -26
  70. package/dist/spec-catalog.mjs +5 -5
  71. package/dist/{store-content-projection-CiMcGZnG.mjs → store-content-projection-Bpdb7_d9.mjs} +1 -1
  72. package/dist/store-content-projection.d.mts +1 -1
  73. package/dist/store-content-projection.mjs +2 -2
  74. package/dist/{store-mutation-protocol-CLtYUSwC.mjs → store-mutation-protocol-CJGUWWI6.mjs} +1 -1
  75. package/dist/{store-mutation-protocol-ZUGSy1a0.d.mts → store-mutation-protocol-D9IK_wrr.d.mts} +36 -36
  76. package/dist/store-mutation-protocol.d.mts +1 -1
  77. package/dist/store-mutation-protocol.mjs +2 -2
  78. package/dist/{store-types-B42Br9lz.d.mts → store-types-DxvwR0sj.d.mts} +1 -1
  79. package/dist/store-types.d.mts +5 -5
  80. package/dist/store-types.mjs +1 -1
  81. package/dist/{task-progress-DpZak5xA.mjs → task-progress-Bvid_Ws8.mjs} +1 -1
  82. package/dist/task-progress.d.mts +6 -6
  83. package/dist/task-progress.mjs +2 -2
  84. package/dist/{terminal-audio-BXa1vpkF.d.mts → terminal-audio-BcjP_os4.d.mts} +1 -1
  85. package/dist/{terminal-audio-punFQHXI.mjs → terminal-audio-DeubAfFC.mjs} +1 -1
  86. package/dist/terminal-audio.d.mts +2 -2
  87. package/dist/terminal-audio.mjs +2 -2
  88. package/dist/terminal-control.d.mts +2 -2
  89. package/dist/terminal-control.mjs +1 -1
  90. package/dist/{terminal-invocation-Bkic6avG.d.mts → terminal-invocation-BW357tO1.d.mts} +70 -70
  91. package/dist/terminal-invocation.d.mts +1 -1
  92. package/dist/terminal-invocation.mjs +1 -1
  93. package/dist/terminal-theme.d.mts +1 -1
  94. package/dist/terminal-theme.mjs +1 -1
  95. package/dist/translation-language-pair.d.mts +1 -1
  96. package/dist/translation-language-pair.mjs +1 -1
  97. package/dist/{translator-D_V2ZFPP.d.mts → translator-YggUX3F7.d.mts} +200 -200
  98. package/dist/translator.d.mts +1 -1
  99. package/dist/translator.mjs +1 -1
  100. package/package.json +15 -5
  101. /package/dist/{document-translation-J_NddeDy.d.mts → document-translation-BNbM3fEj.d.mts} +0 -0
  102. /package/dist/{local-download-profiles-DK4g6FRe.mjs → local-download-profiles-h9lUTXr-.mjs} +0 -0
  103. /package/dist/{markdown-facts-Dve6IAJP.mjs → markdown-facts-BIx47NNY.mjs} +0 -0
  104. /package/dist/{markdown-facts-C9yWB2I9.d.mts → markdown-facts-DLclHfpE.d.mts} +0 -0
  105. /package/dist/{opsx-display-path-eWJ4ve-O.d.mts → opsx-display-path-BD34M8QV.d.mts} +0 -0
  106. /package/dist/{opsx-display-path-DuPEvPV0.mjs → opsx-display-path-ocbNzMZj.mjs} +0 -0
  107. /package/dist/{opsx-entity-Br5S5N0o.mjs → opsx-entity-BnO3k48r.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-CckZIEVr.mjs → opsx-schema-detail-zk8ePaKK.mjs} +0 -0
  109. /package/dist/{opsx-workflows-Bhh_bI-e.d.mts → opsx-workflows-DX1r6e5j.d.mts} +0 -0
  110. /package/dist/{opsx-workflows-GPZSe1C_.mjs → opsx-workflows-byPfLlo8.mjs} +0 -0
  111. /package/dist/{schemas-BrS9qSB3.mjs → schemas-CMThmKx1.mjs} +0 -0
  112. /package/dist/{sounds-na4c8j0c.mjs → sounds-6prQvKXl.mjs} +0 -0
  113. /package/dist/{store-content-projection-BPDCma8v.d.mts → store-content-projection-R74MV_sD.d.mts} +0 -0
  114. /package/dist/{store-types-Cs40yohL.mjs → store-types-CvpEVNoE.mjs} +0 -0
  115. /package/dist/{terminal-control-BvoxwQ6m.mjs → terminal-control-c6oS-lFb.mjs} +0 -0
  116. /package/dist/{terminal-invocation-BexVY5E2.mjs → terminal-invocation-DIpoFYDo.mjs} +0 -0
  117. /package/dist/{terminal-theme-DIhzj5Si.mjs → terminal-theme-Byzxmnjm.mjs} +0 -0
  118. /package/dist/{terminal-theme-BzARb2Do.d.mts → terminal-theme-DX08Gci8.d.mts} +0 -0
  119. /package/dist/{translation-language-pair-DeAiww3_.d.mts → translation-language-pair-BR5uxGm-.d.mts} +0 -0
  120. /package/dist/{translation-language-pair-BV2cGjfv.mjs → translation-language-pair-DG9mOuFD.mjs} +0 -0
  121. /package/dist/{translator-DCCZeHt1.mjs → translator-CEGdRmKw.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { n as CliJsonValue, t as CliCommandResult } from "./command-result-BkUqqa0m.mjs";
1
+ import { G as CliJsonValue, W as CliCommandResult } from "./index-CkwSp1WZ.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/cli-projection.d.ts
@@ -215,22 +215,22 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
215
215
  workGeneration: z.ZodNumber;
216
216
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- identity: string;
219
- workGeneration: number;
220
- snapshotGeneration: null;
221
218
  error: null;
222
219
  state: "loading";
223
220
  data: null;
224
221
  freshness: null;
225
- invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
226
- }, {
222
+ snapshotGeneration: null;
227
223
  identity: string;
228
224
  workGeneration: number;
229
- snapshotGeneration: null;
225
+ invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
226
+ }, {
230
227
  error: null;
231
228
  state: "loading";
232
229
  data: null;
233
230
  freshness: null;
231
+ snapshotGeneration: null;
232
+ identity: string;
233
+ workGeneration: number;
234
234
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
235
235
  }>, z.ZodObject<{
236
236
  state: z.ZodLiteral<"ready">;
@@ -390,9 +390,6 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
390
390
  workGeneration: z.ZodNumber;
391
391
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
392
392
  }, "strip", z.ZodTypeAny, {
393
- identity: string;
394
- workGeneration: number;
395
- snapshotGeneration: null;
396
393
  error: {
397
394
  message: string;
398
395
  name: string;
@@ -415,11 +412,11 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
415
412
  state: "error";
416
413
  data: null;
417
414
  freshness: null;
418
- invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
419
- }, {
415
+ snapshotGeneration: null;
420
416
  identity: string;
421
417
  workGeneration: number;
422
- snapshotGeneration: null;
418
+ invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
419
+ }, {
423
420
  error: {
424
421
  message: string;
425
422
  name: string;
@@ -442,6 +439,9 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
442
439
  state: "error";
443
440
  data: null;
444
441
  freshness: null;
442
+ snapshotGeneration: null;
443
+ identity: string;
444
+ workGeneration: number;
445
445
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
446
446
  }>, z.ZodObject<{
447
447
  state: z.ZodLiteral<"refresh-error">;
@@ -761,16 +761,16 @@ declare const CliProjectionNoticeSchema: z.ZodObject<{
761
761
  state: z.ZodEnum<["loading", "ready", "revalidating", "error", "refresh-error"]>;
762
762
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
763
763
  }, "strip", z.ZodTypeAny, {
764
+ state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
765
+ snapshotGeneration: number | null;
764
766
  identity: string;
765
767
  workGeneration: number;
766
- snapshotGeneration: number | null;
767
- state: "loading" | "ready" | "revalidating" | "error" | "refresh-error";
768
768
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
769
769
  }, {
770
+ state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
771
+ snapshotGeneration: number | null;
770
772
  identity: string;
771
773
  workGeneration: number;
772
- snapshotGeneration: number | null;
773
- state: "loading" | "ready" | "revalidating" | "error" | "refresh-error";
774
774
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
775
775
  }>;
776
776
  type CliProjectionNotice = z.infer<typeof CliProjectionNoticeSchema>;
@@ -1,4 +1,4 @@
1
- import { n as CliDiagnosticSchema } from "./common-BpgNUOOT.mjs";
1
+ import { n as CliDiagnosticSchema } from "./common-BRL_34xt.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/cli-projection.ts
@@ -1,6 +1,6 @@
1
- import "./command-result-BkUqqa0m.mjs";
2
- import "./document-translation-J_NddeDy.mjs";
3
- import "./sounds-CsPiQKxX.mjs";
4
- import "./notifications-COeXWb2h.mjs";
5
- import { _ as toCliProjectionCommandEvidence, a as CliProjectionFailure, c as CliProjectionInvalidationCauseSchema, d as CliProjectionState, f as CliProjectionStateName, g as createCliProjectionStateSchema, h as cliProjectionStates, i as CliProjectionCommandEvidenceSchema, l as CliProjectionNotice, m as cliProjectionInvalidationCauses, n as CliProjectionCommandError, o as CliProjectionFailureSchema, p as CliProjectionStateNameSchema, r as CliProjectionCommandEvidence, s as CliProjectionInvalidationCause, t as CliJsonValueSchema, u as CliProjectionNoticeSchema, v as toCliProjectionFailure, y as toCliProjectionNotice } from "./cli-projection-Cus0QYkY.mjs";
1
+ import "./document-translation-BNbM3fEj.mjs";
2
+ import "./sounds-vwRCMSzL.mjs";
3
+ import "./notifications-B43aFxw9.mjs";
4
+ import "./index-CkwSp1WZ.mjs";
5
+ import { _ as toCliProjectionCommandEvidence, a as CliProjectionFailure, c as CliProjectionInvalidationCauseSchema, d as CliProjectionState, f as CliProjectionStateName, g as createCliProjectionStateSchema, h as cliProjectionStates, i as CliProjectionCommandEvidenceSchema, l as CliProjectionNotice, m as cliProjectionInvalidationCauses, n as CliProjectionCommandError, o as CliProjectionFailureSchema, p as CliProjectionStateNameSchema, r as CliProjectionCommandEvidence, s as CliProjectionInvalidationCause, t as CliJsonValueSchema, u as CliProjectionNoticeSchema, v as toCliProjectionFailure, y as toCliProjectionNotice } from "./cli-projection-BeBPIxhK.mjs";
6
6
  export { CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidence, CliProjectionCommandEvidenceSchema, CliProjectionFailure, CliProjectionFailureSchema, CliProjectionInvalidationCause, CliProjectionInvalidationCauseSchema, CliProjectionNotice, CliProjectionNoticeSchema, CliProjectionState, CliProjectionStateName, CliProjectionStateNameSchema, cliProjectionInvalidationCauses, cliProjectionStates, createCliProjectionStateSchema, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice };
@@ -1,4 +1,4 @@
1
- import "./common-BpgNUOOT.mjs";
2
- import { a as CliProjectionInvalidationCauseSchema, c as cliProjectionInvalidationCauses, d as toCliProjectionCommandEvidence, f as toCliProjectionFailure, i as CliProjectionFailureSchema, l as cliProjectionStates, n as CliProjectionCommandError, o as CliProjectionNoticeSchema, p as toCliProjectionNotice, r as CliProjectionCommandEvidenceSchema, s as CliProjectionStateNameSchema, t as CliJsonValueSchema, u as createCliProjectionStateSchema } from "./cli-projection-BHfqvlpA.mjs";
1
+ import "./common-BRL_34xt.mjs";
2
+ import { a as CliProjectionInvalidationCauseSchema, c as cliProjectionInvalidationCauses, d as toCliProjectionCommandEvidence, f as toCliProjectionFailure, i as CliProjectionFailureSchema, l as cliProjectionStates, n as CliProjectionCommandError, o as CliProjectionNoticeSchema, p as toCliProjectionNotice, r as CliProjectionCommandEvidenceSchema, s as CliProjectionStateNameSchema, t as CliJsonValueSchema, u as createCliProjectionStateSchema } from "./cli-projection-CKRwTvwf.mjs";
3
3
 
4
4
  export { CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidenceSchema, CliProjectionFailureSchema, CliProjectionInvalidationCauseSchema, CliProjectionNoticeSchema, CliProjectionStateNameSchema, cliProjectionInvalidationCauses, cliProjectionStates, createCliProjectionStateSchema, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice };
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/cli-contracts/common.ts
4
4
  /**
5
- * Orthogonal intents (created 2026-07-15 Asia/Shanghai):
5
+ * Orthogonal intents (updated 2026-08-01 Asia/Shanghai):
6
6
  * 1. Model OpenSpec CLI diagnostics without reinterpreting their meaning.
7
7
  * 2. Preserve root selection provenance exactly as emitted by the CLI.
8
8
  * 3. Preserve direct Reference indexes and their upstream health evidence.
@@ -26,6 +26,7 @@ const CliRootSourceSchema = z.enum([
26
26
  "store",
27
27
  "declared",
28
28
  "nearest",
29
+ "global_default",
29
30
  "implicit"
30
31
  ]);
31
32
  /** CLI-selected planning root with upstream selection provenance. */