@openspecui/core 4.1.0 → 6.0.0-beta.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 (116) hide show
  1. package/dist/cli-projection-DxnVGm2B.d.mts +789 -0
  2. package/dist/cli-projection-vO3-FJg5.mjs +161 -0
  3. package/dist/cli-projection.d.mts +6 -0
  4. package/dist/cli-projection.mjs +4 -0
  5. package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
  6. package/dist/common-D8YUK9dA.mjs +57 -0
  7. package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
  8. package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
  9. package/dist/dashboard-summary-transport.d.mts +25 -0
  10. package/dist/dashboard-summary-transport.mjs +6 -0
  11. package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
  12. package/dist/{document-translation-CIPGsZD8.d.mts → document-translation-D50BnvVh.d.mts} +100 -100
  13. package/dist/document-translation.d.mts +1 -1
  14. package/dist/document-translation.mjs +2 -2
  15. package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
  16. package/dist/hosted-app.d.mts +25 -2
  17. package/dist/hosted-app.mjs +7 -2
  18. package/dist/hosted-contract-CcRnb51e.mjs +234 -0
  19. package/dist/hosted-contract.d.mts +25 -0
  20. package/dist/hosted-contract.mjs +7 -0
  21. package/dist/index.d.mts +25 -2686
  22. package/dist/index.mjs +2114 -1098
  23. package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
  24. package/dist/local-download-profiles.d.mts +2 -2
  25. package/dist/local-download-profiles.mjs +1 -1
  26. package/dist/markdown-facts.d.mts +1 -1
  27. package/dist/markdown-facts.mjs +1 -1
  28. package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
  29. package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
  30. package/dist/markdown-reading.d.mts +2 -2
  31. package/dist/markdown-reading.mjs +2 -2
  32. package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
  33. package/dist/{notifications-HYH-lklF.d.mts → notifications-CgJlLgLO.d.mts} +34 -8
  34. package/dist/notifications.d.mts +2 -2
  35. package/dist/notifications.mjs +3 -3
  36. package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
  37. package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
  38. package/dist/openspec-annotations.d.mts +3 -3
  39. package/dist/openspec-annotations.mjs +3 -3
  40. package/dist/openspec-compat.d.mts +18 -11
  41. package/dist/openspec-compat.mjs +22 -14
  42. package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
  43. package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
  44. package/dist/openspec-projection.d.mts +5 -5
  45. package/dist/openspec-projection.mjs +4 -4
  46. package/dist/opsx-display-path.d.mts +1 -1
  47. package/dist/opsx-display-path.mjs +1 -1
  48. package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
  49. package/dist/opsx-entity.d.mts +7 -3
  50. package/dist/opsx-entity.mjs +1 -1
  51. package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
  52. package/dist/opsx-schema-detail.d.mts +8 -4
  53. package/dist/opsx-schema-detail.mjs +1 -1
  54. package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
  55. package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
  56. package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
  57. package/dist/opsx-workflows.d.mts +2 -0
  58. package/dist/opsx-workflows.mjs +3 -0
  59. package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
  60. package/dist/planning-cli-projection.d.mts +25 -0
  61. package/dist/planning-cli-projection.mjs +9 -0
  62. package/dist/schemas-BFroDdOC.mjs +287 -0
  63. package/dist/{schemas-CNKCVc7m.d.mts → schemas-DS-JqAJ2.d.mts} +498 -52
  64. package/dist/{sounds-J6z7o4mt.d.mts → sounds-qhRgCy0F.d.mts} +5 -5
  65. package/dist/sounds.d.mts +1 -1
  66. package/dist/sounds.mjs +1 -1
  67. package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
  68. package/dist/spec-catalog.d.mts +25 -0
  69. package/dist/spec-catalog.mjs +6 -0
  70. package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
  71. package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
  72. package/dist/store-mutation-protocol.d.mts +2 -0
  73. package/dist/store-mutation-protocol.mjs +4 -0
  74. package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
  75. package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
  76. package/dist/store-types.d.mts +6 -2
  77. package/dist/store-types.mjs +2 -2
  78. package/dist/task-progress-B_IWVXjA.mjs +216 -0
  79. package/dist/task-progress.d.mts +7 -4
  80. package/dist/task-progress.mjs +3 -3
  81. package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
  82. package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-tXDm_EDe.d.mts} +2 -2
  83. package/dist/terminal-audio.d.mts +2 -2
  84. package/dist/terminal-audio.mjs +2 -2
  85. package/dist/terminal-control.d.mts +2 -2
  86. package/dist/terminal-control.mjs +1 -1
  87. package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BOvxThym.d.mts} +203 -84
  88. package/dist/terminal-invocation.d.mts +1 -1
  89. package/dist/terminal-invocation.mjs +1 -1
  90. package/dist/terminal-theme.d.mts +1 -1
  91. package/dist/terminal-theme.mjs +1 -1
  92. package/dist/translation-language-pair.d.mts +1 -1
  93. package/dist/translation-language-pair.mjs +1 -1
  94. package/dist/{translator-D6t_LEVN.d.mts → translator-NKv1wo3o.d.mts} +208 -208
  95. package/dist/translator.d.mts +1 -1
  96. package/dist/translator.mjs +1 -1
  97. package/package.json +55 -7
  98. package/dist/hosted-app-DHs94gIR.d.mts +0 -43
  99. package/dist/opsx-types-2rgsQHsB.d.mts +0 -402
  100. package/dist/task-progress-BHn4bCoD.d.mts +0 -24
  101. package/dist/task-progress-DhHYHnTv.mjs +0 -70
  102. /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
  103. /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
  104. /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
  105. /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
  106. /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
  107. /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
  109. /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
  110. /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
  111. /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
  112. /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
  113. /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
  114. /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
  115. /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
  116. /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-D6t_LEVN.mjs";
1
+ import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-NKv1wo3o.mjs";
2
2
 
3
3
  //#region src/local-download-profiles.d.ts
4
4
  declare const LOCAL_MODEL_PROFILE_DEFINITIONS: readonly [{
@@ -1,3 +1,3 @@
1
- import "./translator-D6t_LEVN.mjs";
2
- import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-B30HrSO2.mjs";
1
+ import "./translator-NKv1wo3o.mjs";
2
+ import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-BL_rtlVM.mjs";
3
3
  export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -1,3 +1,3 @@
1
- import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-kpNEcdF_.mjs";
1
+ import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-odzOdf96.mjs";
2
2
 
3
3
  export { LOCAL_MODEL_PROFILE_DEFINITIONS, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -1,2 +1,2 @@
1
- import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-Dk7FKaaT.mjs";
1
+ import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-CCw3QdbM.mjs";
2
2
  export { MarkdownFact, MarkdownFactKind, MarkdownFactsDocument, MarkdownSourcePoint, MarkdownSourceRange, parseMarkdownFacts, toMarkdownFactKind };
@@ -1,3 +1,3 @@
1
- import { n as toMarkdownFactKind, t as parseMarkdownFacts } from "./markdown-facts-BBCTe_qq.mjs";
1
+ import { n as toMarkdownFactKind, t as parseMarkdownFacts } from "./markdown-facts-BUqLvFRf.mjs";
2
2
 
3
3
  export { parseMarkdownFacts, toMarkdownFactKind };
@@ -1,4 +1,4 @@
1
- import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-Dk7FKaaT.mjs";
1
+ import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-CCw3QdbM.mjs";
2
2
 
3
3
  //#region src/markdown-reading.d.ts
4
4
  type MarkdownAnnotationConfidence = 'strong' | 'weak';
@@ -1,4 +1,4 @@
1
- import { t as parseMarkdownFacts } from "./markdown-facts-BBCTe_qq.mjs";
1
+ import { t as parseMarkdownFacts } from "./markdown-facts-BUqLvFRf.mjs";
2
2
 
3
3
  //#region src/markdown-reading.ts
4
4
  var MarkdownReadingPluginRegistry = class {
@@ -1,3 +1,3 @@
1
- import "./markdown-facts-Dk7FKaaT.mjs";
2
- import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-CgXuXp6s.mjs";
1
+ import "./markdown-facts-CCw3QdbM.mjs";
2
+ import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-LUdqfbxH.mjs";
3
3
  export { MarkdownAnnotation, MarkdownAnnotationConfidence, MarkdownAnnotationContext, MarkdownAnnotationInput, MarkdownAnnotationRule, MarkdownFactSpan, MarkdownProjectionContext, MarkdownProjectionRule, MarkdownReadingDocument, MarkdownReadingLookup, MarkdownReadingPlugin, MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
@@ -1,4 +1,4 @@
1
- import "./markdown-facts-BBCTe_qq.mjs";
2
- import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-DdcB7run.mjs";
1
+ import "./markdown-facts-BUqLvFRf.mjs";
2
+ import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-mG4OAbDO.mjs";
3
3
 
4
4
  export { MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
@@ -1,8 +1,16 @@
1
- import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-CB3ubSnj.mjs";
2
- import { t as TerminalControlParser } from "./terminal-control-VpTuh17B.mjs";
1
+ import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-NXwveBqq.mjs";
2
+ import { t as TerminalControlParser } from "./terminal-control-BSAlOTs8.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/notifications.ts
6
+ /**
7
+ * Orthogonal intents (updated 2026-07-22 Asia/Shanghai):
8
+ * 1. Define typed notification records, sources, actions, groups, and aggregates.
9
+ * 2. Preserve terminal-control parsing as a typed notification input boundary.
10
+ * 3. Project root-context health records into one stable group without backend identity.
11
+ *
12
+ * Original checkpoint (2026-07-16): "6.15 Notifications remain project-backend scoped and add root/context health without cross-backend record merging."
13
+ */
6
14
  const NOTIFICATION_SOUND_VALUES = [
7
15
  "silent",
8
16
  "soft",
@@ -38,6 +46,7 @@ const NotificationSourceSchema = z.discriminatedUnion("type", [
38
46
  pluginId: z.string().min(1),
39
47
  title: z.string().optional()
40
48
  }),
49
+ z.object({ type: z.literal("root-context") }),
41
50
  z.object({
42
51
  type: z.literal("custom"),
43
52
  groupId: z.string().min(1),
@@ -77,12 +86,14 @@ function getNotificationGroupKey(notification) {
77
86
  if (source.type === "terminal") return `terminal:${source.sessionId}`;
78
87
  if (source.type === "openspec-change") return `openspec-change:${source.changeId}`;
79
88
  if (source.type === "hooks-plugin") return `hooks-plugin:${source.pluginId}`;
89
+ if (source.type === "root-context") return "root-context";
80
90
  return `custom:${source.groupId}`;
81
91
  }
82
92
  function getNotificationGroupLabel(source) {
83
93
  if (source.type === "terminal") return source.title?.trim() || `Terminal ${source.sessionId}`;
84
94
  if (source.type === "openspec-change") return source.title?.trim() || `Change ${source.changeId}`;
85
95
  if (source.type === "hooks-plugin") return source.title?.trim() || `Plugin ${source.pluginId}`;
96
+ if (source.type === "root-context") return "Root Context";
86
97
  return source.title?.trim() || source.groupId;
87
98
  }
88
99
  function stableStringify(value) {
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-J6z7o4mt.mjs";
1
+ import { x as SoundId } from "./sounds-qhRgCy0F.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/terminal-control.d.ts
@@ -54,18 +54,18 @@ declare function terminalNotificationEventToPublishInput(input: {
54
54
  //#endregion
55
55
  //#region src/notifications.d.ts
56
56
  declare const NOTIFICATION_SOUND_VALUES: readonly ["silent", "soft", "clear", "pulse"];
57
- declare const NotificationSoundSchema: 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>;
57
+ declare const NotificationSoundSchema: 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>;
58
58
  type NotificationSound = SoundId;
59
59
  declare const NOTIFICATION_SOUND_OPTIONS: readonly {
60
60
  id: NotificationSound;
61
61
  label: string;
62
62
  }[];
63
63
  declare const NotificationSettingsSchema: z.ZodObject<{
64
- 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>>;
64
+ 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>>;
65
65
  volume: z.ZodDefault<z.ZodNumber>;
66
66
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- 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}`;
68
+ 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}`;
69
69
  volume: number;
70
70
  systemNotificationsEnabled: boolean;
71
71
  }, {
@@ -110,6 +110,12 @@ declare const NotificationSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
110
110
  type: "hooks-plugin";
111
111
  pluginId: string;
112
112
  title?: string | undefined;
113
+ }>, z.ZodObject<{
114
+ type: z.ZodLiteral<"root-context">;
115
+ }, "strip", z.ZodTypeAny, {
116
+ type: "root-context";
117
+ }, {
118
+ type: "root-context";
113
119
  }>, z.ZodObject<{
114
120
  type: z.ZodLiteral<"custom">;
115
121
  groupId: z.ZodString;
@@ -211,6 +217,12 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
211
217
  type: "hooks-plugin";
212
218
  pluginId: string;
213
219
  title?: string | undefined;
220
+ }>, z.ZodObject<{
221
+ type: z.ZodLiteral<"root-context">;
222
+ }, "strip", z.ZodTypeAny, {
223
+ type: "root-context";
224
+ }, {
225
+ type: "root-context";
214
226
  }>, z.ZodObject<{
215
227
  type: z.ZodLiteral<"custom">;
216
228
  groupId: z.ZodString;
@@ -284,6 +296,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
284
296
  type: "hooks-plugin";
285
297
  pluginId: string;
286
298
  title?: string | undefined;
299
+ } | {
300
+ type: "root-context";
287
301
  } | {
288
302
  type: "custom";
289
303
  groupId: string;
@@ -304,7 +318,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
304
318
  };
305
319
  label: string;
306
320
  })[];
307
- level: "error" | "info" | "success" | "warning";
321
+ level: "success" | "error" | "warning" | "info";
308
322
  createdAt?: number | undefined;
309
323
  }, {
310
324
  source: {
@@ -319,6 +333,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
319
333
  type: "hooks-plugin";
320
334
  pluginId: string;
321
335
  title?: string | undefined;
336
+ } | {
337
+ type: "root-context";
322
338
  } | {
323
339
  type: "custom";
324
340
  groupId: string;
@@ -340,7 +356,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
340
356
  };
341
357
  label?: string | undefined;
342
358
  })[] | undefined;
343
- level?: "error" | "info" | "success" | "warning" | undefined;
359
+ level?: "success" | "error" | "warning" | "info" | undefined;
344
360
  }>;
345
361
  type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
346
362
  declare const NotificationRecordSchema: z.ZodObject<{
@@ -382,6 +398,12 @@ declare const NotificationRecordSchema: z.ZodObject<{
382
398
  type: "hooks-plugin";
383
399
  pluginId: string;
384
400
  title?: string | undefined;
401
+ }>, z.ZodObject<{
402
+ type: z.ZodLiteral<"root-context">;
403
+ }, "strip", z.ZodTypeAny, {
404
+ type: "root-context";
405
+ }, {
406
+ type: "root-context";
385
407
  }>, z.ZodObject<{
386
408
  type: z.ZodLiteral<"custom">;
387
409
  groupId: z.ZodString;
@@ -459,6 +481,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
459
481
  type: "hooks-plugin";
460
482
  pluginId: string;
461
483
  title?: string | undefined;
484
+ } | {
485
+ type: "root-context";
462
486
  } | {
463
487
  type: "custom";
464
488
  groupId: string;
@@ -480,7 +504,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
480
504
  };
481
505
  label: string;
482
506
  })[];
483
- level: "error" | "info" | "success" | "warning";
507
+ level: "success" | "error" | "warning" | "info";
484
508
  groupKey: string;
485
509
  }, {
486
510
  id: string;
@@ -496,6 +520,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
496
520
  type: "hooks-plugin";
497
521
  pluginId: string;
498
522
  title?: string | undefined;
523
+ } | {
524
+ type: "root-context";
499
525
  } | {
500
526
  type: "custom";
501
527
  groupId: string;
@@ -518,7 +544,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
518
544
  };
519
545
  label?: string | undefined;
520
546
  })[] | undefined;
521
- level?: "error" | "info" | "success" | "warning" | undefined;
547
+ level?: "success" | "error" | "warning" | "info" | undefined;
522
548
  }>;
523
549
  type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
524
550
  interface NotificationAggregate {
@@ -1,3 +1,3 @@
1
- import "./sounds-J6z7o4mt.mjs";
2
- import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-HYH-lklF.mjs";
1
+ import "./sounds-qhRgCy0F.mjs";
2
+ import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-CgJlLgLO.mjs";
3
3
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationAction, NotificationActionSchema, NotificationAggregate, NotificationGroup, NotificationGroupKey, NotificationGroupKeySchema, NotificationPublishInput, NotificationPublishInputSchema, NotificationRecord, NotificationRecordSchema, NotificationSettings, NotificationSettingsSchema, NotificationSound, NotificationSoundSchema, NotificationSource, NotificationSourceSchema, TerminalControlParser, TerminalNotificationEvent, TerminalNotificationParseResult, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -1,5 +1,5 @@
1
- import "./sounds-CB3ubSnj.mjs";
2
- import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-VpTuh17B.mjs";
3
- import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-AKAcmeKT.mjs";
1
+ import "./sounds-NXwveBqq.mjs";
2
+ import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-BSAlOTs8.mjs";
3
+ import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-C2bxAzX_.mjs";
4
4
 
5
5
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, NotificationSourceSchema, TerminalControlParser, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -1,5 +1,5 @@
1
- import { r as MarkdownFactsDocument } from "./markdown-facts-Dk7FKaaT.mjs";
2
- import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-CgXuXp6s.mjs";
1
+ import { r as MarkdownFactsDocument } from "./markdown-facts-CCw3QdbM.mjs";
2
+ import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-LUdqfbxH.mjs";
3
3
 
4
4
  //#region src/openspec-annotations.d.ts
5
5
  type OpenSpecSemanticKind = 'document-title' | 'purpose-section' | 'requirements-section' | 'requirement' | 'scenario' | 'scenario-step' | 'keyword';
@@ -1,5 +1,5 @@
1
- import { t as parseMarkdownFacts } from "./markdown-facts-BBCTe_qq.mjs";
2
- import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-DdcB7run.mjs";
1
+ import { t as parseMarkdownFacts } from "./markdown-facts-BUqLvFRf.mjs";
2
+ import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-mG4OAbDO.mjs";
3
3
 
4
4
  //#region src/openspec-annotations.ts
5
5
  const OPEN_SPEC_ANNOTATION_RULES = {
@@ -1,4 +1,4 @@
1
- import "./markdown-facts-Dk7FKaaT.mjs";
2
- import "./markdown-reading-CgXuXp6s.mjs";
3
- import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-CeXd0JIZ.mjs";
1
+ import "./markdown-facts-CCw3QdbM.mjs";
2
+ import "./markdown-reading-LUdqfbxH.mjs";
3
+ import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-C58Aoi-V.mjs";
4
4
  export { AnnotatedOpenSpecDocument, OpenSpecAnnotation, OpenSpecAnnotationConfidence, OpenSpecAnnotationMetadata, OpenSpecKeyword, OpenSpecKeywordRole, OpenSpecRequirementKeyword, OpenSpecScenarioStepKeyword, OpenSpecSemanticKind, annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
@@ -1,5 +1,5 @@
1
- import "./markdown-facts-BBCTe_qq.mjs";
2
- import "./markdown-reading-DdcB7run.mjs";
3
- import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-D_6Pz7k4.mjs";
1
+ import "./markdown-facts-BUqLvFRf.mjs";
2
+ import "./markdown-reading-mG4OAbDO.mjs";
3
+ import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-DCfqBMal.mjs";
4
4
 
5
5
  export { annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
@@ -1,15 +1,22 @@
1
1
  //#region src/openspec-compat.d.ts
2
- declare const OPENSPECUI_TARGET_MAJOR = 4;
3
- declare const OPENSPEC_CLI_TARGET_SERIES = "1.5";
4
- declare const OPENSPEC_CLI_LEGACY_SERIES = "1.3";
5
- declare const OPENSPEC_CLI_MIN_VERSION = "1.3.0";
6
- declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.5.0";
7
- declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.4.0";
8
- declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.6.0";
9
- declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.3.0 <1.6.0";
10
- declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.4.0 <1.6.0";
11
- declare const OPENSPEC_CLI_LEGACY_RANGE = ">=1.3.0 <1.4.0";
12
- declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.5.*";
2
+ /**
3
+ * Orthogonal intents (updated 2026-07-15 Asia/Shanghai):
4
+ * 1. Encode the OpenSpecUI-major to OpenSpec-CLI-minor compatibility law.
5
+ * 2. Classify current, immediately previous, unsupported, and unknown CLI versions.
6
+ *
7
+ * Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
8
+ */
9
+ declare const OPENSPECUI_TARGET_MAJOR = 6;
10
+ declare const OPENSPEC_CLI_TARGET_SERIES = "1.6";
11
+ declare const OPENSPEC_CLI_LEGACY_SERIES = "1.5";
12
+ declare const OPENSPEC_CLI_MIN_VERSION = "1.5.0";
13
+ declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.6.0";
14
+ declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.6.0";
15
+ declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.7.0";
16
+ declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.5.0 <1.7.0";
17
+ declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.6.0 <1.7.0";
18
+ declare const OPENSPEC_CLI_LEGACY_RANGE = ">=1.5.0 <1.6.0";
19
+ declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.6.*";
13
20
  interface OpenSpecCliVersion {
14
21
  major: number;
15
22
  minor: number;
@@ -1,15 +1,22 @@
1
1
  //#region src/openspec-compat.ts
2
- const OPENSPECUI_TARGET_MAJOR = 4;
3
- const OPENSPEC_CLI_TARGET_SERIES = "1.5";
4
- const OPENSPEC_CLI_LEGACY_SERIES = "1.3";
5
- const OPENSPEC_CLI_MIN_VERSION = "1.3.0";
6
- const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.5.0";
7
- const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.4.0";
8
- const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.6.0";
9
- const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.3.0 <1.6.0";
10
- const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.4.0 <1.6.0";
11
- const OPENSPEC_CLI_LEGACY_RANGE = ">=1.3.0 <1.4.0";
12
- const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.5.*";
2
+ /**
3
+ * Orthogonal intents (updated 2026-07-15 Asia/Shanghai):
4
+ * 1. Encode the OpenSpecUI-major to OpenSpec-CLI-minor compatibility law.
5
+ * 2. Classify current, immediately previous, unsupported, and unknown CLI versions.
6
+ *
7
+ * Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
8
+ */
9
+ const OPENSPECUI_TARGET_MAJOR = 6;
10
+ const OPENSPEC_CLI_TARGET_SERIES = "1.6";
11
+ const OPENSPEC_CLI_LEGACY_SERIES = "1.5";
12
+ const OPENSPEC_CLI_MIN_VERSION = "1.5.0";
13
+ const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.6.0";
14
+ const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.6.0";
15
+ const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.7.0";
16
+ const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.5.0 <1.7.0";
17
+ const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.6.0 <1.7.0";
18
+ const OPENSPEC_CLI_LEGACY_RANGE = ">=1.5.0 <1.6.0";
19
+ const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.6.*";
13
20
  function parseOpenSpecCliVersion(raw) {
14
21
  if (!raw) return null;
15
22
  const match = raw.match(/(\d+)\.(\d+)\.(\d+)/);
@@ -34,9 +41,10 @@ function isSeries(version, series) {
34
41
  }
35
42
  /**
36
43
  * A version is "current/recommended" when it falls inside the recommended
37
- * range (e.g. `>=1.4.0 <1.6.0`). This intentionally spans more than one minor
38
- * series so that both the previous and the target OpenSpec CLI lines are
39
- * treated as current without a version-law bump per release.
44
+ * range (e.g. `>=1.6.0 <1.7.0`). OpenSpecUI follows a 1:1 major-to-minor
45
+ * version law: one OpenSpecUI major line targets exactly one OpenSpec CLI
46
+ * minor line (2.x→1.2, 3.x→1.3, 4.x→1.4, 5.x→1.5, 6.x→1.6). The previous minor line
47
+ * is accepted as legacy-compatible; older lines are unsupported.
40
48
  */
41
49
  function isCurrentRecommended(version) {
42
50
  const min = parseOpenSpecCliVersion(OPENSPEC_CLI_RECOMMENDED_MIN_VERSION);
@@ -1,5 +1,5 @@
1
- import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-DdcB7run.mjs";
2
- import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-D_6Pz7k4.mjs";
1
+ import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-mG4OAbDO.mjs";
2
+ import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-DCfqBMal.mjs";
3
3
 
4
4
  //#region src/openspec-projection.ts
5
5
  const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
@@ -1,6 +1,6 @@
1
- import { g as Spec } from "./schemas-CNKCVc7m.mjs";
2
- import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-CgXuXp6s.mjs";
3
- import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-CeXd0JIZ.mjs";
1
+ import { g as Spec } from "./schemas-DS-JqAJ2.mjs";
2
+ import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-LUdqfbxH.mjs";
3
+ import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-C58Aoi-V.mjs";
4
4
 
5
5
  //#region src/openspec-projection.d.ts
6
6
  declare const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
@@ -1,6 +1,6 @@
1
- import "./schemas-CNKCVc7m.mjs";
2
- import "./markdown-facts-Dk7FKaaT.mjs";
3
- import "./markdown-reading-CgXuXp6s.mjs";
4
- import "./openspec-annotations-CeXd0JIZ.mjs";
5
- import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-BphzrwYP.mjs";
1
+ import "./schemas-DS-JqAJ2.mjs";
2
+ import "./markdown-facts-CCw3QdbM.mjs";
3
+ import "./markdown-reading-LUdqfbxH.mjs";
4
+ import "./openspec-annotations-C58Aoi-V.mjs";
5
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-RohNZI4p.mjs";
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OpenSpecHeadingSection, OpenSpecProjectionOptions, OpenSpecReadingSectionsProjection, OpenSpecRequirementBlock, OpenSpecScenarioBlock, ProjectedOpenSpecDocument, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,6 +1,6 @@
1
- import "./markdown-facts-BBCTe_qq.mjs";
2
- import "./markdown-reading-DdcB7run.mjs";
3
- import "./openspec-annotations-D_6Pz7k4.mjs";
4
- import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-B8s-KWQ7.mjs";
1
+ import "./markdown-facts-BUqLvFRf.mjs";
2
+ import "./markdown-reading-mG4OAbDO.mjs";
3
+ import "./openspec-annotations-DCfqBMal.mjs";
4
+ import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-DCgToo0Q.mjs";
5
5
 
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,2 +1,2 @@
1
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-cIMKa1aw.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-RXS5JTbV.mjs";
2
2
  export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
@@ -1,3 +1,3 @@
1
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CUCOrHcM.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-D13XV20v.mjs";
2
2
 
3
3
  export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
@@ -1,5 +1,5 @@
1
- import { g as SchemaDetail } from "./opsx-types-2rgsQHsB.mjs";
2
- import { n as ChangeFile } from "./schemas-CNKCVc7m.mjs";
1
+ import { n as ChangeFile } from "./schemas-DS-JqAJ2.mjs";
2
+ import { C as SchemaDetail } from "./opsx-types-BJ8AjhrS.mjs";
3
3
 
4
4
  //#region src/opsx-entity.d.ts
5
5
  type OpsxEntityStage = 'change' | 'archive';
@@ -1,4 +1,8 @@
1
- import "./opsx-types-2rgsQHsB.mjs";
2
- import "./schemas-CNKCVc7m.mjs";
3
- import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-CFUCqev8.mjs";
1
+ import "./command-result-fkH3Ekdz.mjs";
2
+ import "./document-translation-D50BnvVh.mjs";
3
+ import "./sounds-qhRgCy0F.mjs";
4
+ import "./notifications-CgJlLgLO.mjs";
5
+ import "./schemas-DS-JqAJ2.mjs";
6
+ import "./opsx-types-BJ8AjhrS.mjs";
7
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-D7kDQsze.mjs";
4
8
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,3 +1,3 @@
1
- import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-c7m5CbgU.mjs";
1
+ import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-Cn_Zu1J3.mjs";
2
2
 
3
3
  export { buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,5 +1,5 @@
1
- import { g as SchemaDetail } from "./opsx-types-2rgsQHsB.mjs";
2
- import { i as OpsxEntityDiagnostic } from "./opsx-entity-CFUCqev8.mjs";
1
+ import { C as SchemaDetail } from "./opsx-types-BJ8AjhrS.mjs";
2
+ import { i as OpsxEntityDiagnostic } from "./opsx-entity-D7kDQsze.mjs";
3
3
 
4
4
  //#region src/opsx-schema-detail.d.ts
5
5
  interface ParsedOpsxSchemaDetail {
@@ -1,5 +1,9 @@
1
- import "./opsx-types-2rgsQHsB.mjs";
2
- import "./schemas-CNKCVc7m.mjs";
3
- import "./opsx-entity-CFUCqev8.mjs";
4
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-DXKXqMQa.mjs";
1
+ import "./command-result-fkH3Ekdz.mjs";
2
+ import "./document-translation-D50BnvVh.mjs";
3
+ import "./sounds-qhRgCy0F.mjs";
4
+ import "./notifications-CgJlLgLO.mjs";
5
+ import "./schemas-DS-JqAJ2.mjs";
6
+ import "./opsx-types-BJ8AjhrS.mjs";
7
+ import "./opsx-entity-D7kDQsze.mjs";
8
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-BxDXEwDY.mjs";
5
9
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -1,3 +1,3 @@
1
- import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-BH82X6aU.mjs";
1
+ import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-Beis4Ba2.mjs";
2
2
 
3
3
  export { parseOpsxSchemaDetail };