@openspecui/core 5.0.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.
- package/dist/cli-projection-DxnVGm2B.d.mts +789 -0
- package/dist/cli-projection-vO3-FJg5.mjs +161 -0
- package/dist/cli-projection.d.mts +6 -0
- package/dist/cli-projection.mjs +4 -0
- package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
- package/dist/common-D8YUK9dA.mjs +57 -0
- package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
- package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
- package/dist/dashboard-summary-transport.d.mts +25 -0
- package/dist/dashboard-summary-transport.mjs +6 -0
- package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
- package/dist/{document-translation-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
- package/dist/hosted-app.d.mts +25 -2
- package/dist/hosted-app.mjs +7 -2
- package/dist/hosted-contract-CcRnb51e.mjs +234 -0
- package/dist/hosted-contract.d.mts +25 -0
- package/dist/hosted-contract.mjs +7 -0
- package/dist/index.d.mts +25 -2686
- package/dist/index.mjs +2114 -1098
- package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
- package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
- package/dist/{notifications-DZeOl4HV.d.mts → notifications-CgJlLgLO.d.mts} +51 -25
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
- package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +18 -11
- package/dist/openspec-compat.mjs +20 -13
- package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
- package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-DZyl-uhQ.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -4
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
- package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
- package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
- package/dist/opsx-workflows.d.mts +2 -0
- package/dist/opsx-workflows.mjs +3 -0
- package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
- package/dist/planning-cli-projection.d.mts +25 -0
- package/dist/planning-cli-projection.mjs +9 -0
- package/dist/schemas-BFroDdOC.mjs +287 -0
- package/dist/{schemas-D01aQnV4.d.mts → schemas-DS-JqAJ2.d.mts} +524 -78
- package/dist/{sounds-kgDn4x8v.d.mts → sounds-qhRgCy0F.d.mts} +12 -12
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
- package/dist/spec-catalog.d.mts +25 -0
- package/dist/spec-catalog.mjs +6 -0
- package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
- package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
- package/dist/store-mutation-protocol.d.mts +2 -0
- package/dist/store-mutation-protocol.mjs +4 -0
- package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
- package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
- package/dist/store-types.d.mts +6 -2
- package/dist/store-types.mjs +2 -2
- package/dist/task-progress-B_IWVXjA.mjs +216 -0
- package/dist/task-progress.d.mts +7 -4
- package/dist/task-progress.mjs +3 -3
- package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
- package/dist/{terminal-audio-CsuGTNV-.d.mts → terminal-audio-tXDm_EDe.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-BlFwKpIc.d.mts → terminal-invocation-BOvxThym.d.mts} +239 -120
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-BErXgQxx.d.mts → translator-NKv1wo3o.d.mts} +86 -86
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +55 -7
- package/dist/hosted-app-DHs94gIR.d.mts +0 -43
- package/dist/opsx-types-Dnb06uff.d.mts +0 -402
- package/dist/task-progress-C1TGMbIR.d.mts +0 -24
- package/dist/task-progress-DhHYHnTv.mjs +0 -70
- /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
- /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
- /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
- /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
- /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
- /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
- /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
- /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
- /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
- /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
- /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
- /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
- /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
- /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
- /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-BL_rtlVM.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 };
|
package/dist/markdown-facts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-
|
|
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,3 +1,3 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import { t as TerminalControlParser } from "./terminal-control-
|
|
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-
|
|
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
|
|
@@ -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;
|
|
@@ -136,10 +142,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
136
142
|
}>;
|
|
137
143
|
}, "strip", z.ZodTypeAny, {
|
|
138
144
|
type: "terminal.focus";
|
|
139
|
-
label: string;
|
|
140
145
|
target: {
|
|
141
146
|
sessionId: string;
|
|
142
147
|
};
|
|
148
|
+
label: string;
|
|
143
149
|
}, {
|
|
144
150
|
type: "terminal.focus";
|
|
145
151
|
target: {
|
|
@@ -158,10 +164,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
158
164
|
}>;
|
|
159
165
|
}, "strip", z.ZodTypeAny, {
|
|
160
166
|
type: "href.open";
|
|
161
|
-
label: string;
|
|
162
167
|
target: {
|
|
163
168
|
href: string;
|
|
164
169
|
};
|
|
170
|
+
label: string;
|
|
165
171
|
}, {
|
|
166
172
|
type: "href.open";
|
|
167
173
|
target: {
|
|
@@ -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;
|
|
@@ -236,10 +248,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
236
248
|
}>;
|
|
237
249
|
}, "strip", z.ZodTypeAny, {
|
|
238
250
|
type: "terminal.focus";
|
|
239
|
-
label: string;
|
|
240
251
|
target: {
|
|
241
252
|
sessionId: string;
|
|
242
253
|
};
|
|
254
|
+
label: string;
|
|
243
255
|
}, {
|
|
244
256
|
type: "terminal.focus";
|
|
245
257
|
target: {
|
|
@@ -258,10 +270,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
258
270
|
}>;
|
|
259
271
|
}, "strip", z.ZodTypeAny, {
|
|
260
272
|
type: "href.open";
|
|
261
|
-
label: string;
|
|
262
273
|
target: {
|
|
263
274
|
href: string;
|
|
264
275
|
};
|
|
276
|
+
label: string;
|
|
265
277
|
}, {
|
|
266
278
|
type: "href.open";
|
|
267
279
|
target: {
|
|
@@ -272,8 +284,6 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
272
284
|
level: z.ZodDefault<z.ZodEnum<["info", "success", "warning", "error"]>>;
|
|
273
285
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
274
286
|
}, "strip", z.ZodTypeAny, {
|
|
275
|
-
title: string;
|
|
276
|
-
body: string;
|
|
277
287
|
source: {
|
|
278
288
|
type: "terminal";
|
|
279
289
|
sessionId: string;
|
|
@@ -286,28 +296,31 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
286
296
|
type: "hooks-plugin";
|
|
287
297
|
pluginId: string;
|
|
288
298
|
title?: string | undefined;
|
|
299
|
+
} | {
|
|
300
|
+
type: "root-context";
|
|
289
301
|
} | {
|
|
290
302
|
type: "custom";
|
|
291
303
|
groupId: string;
|
|
292
304
|
title?: string | undefined;
|
|
293
305
|
};
|
|
306
|
+
title: string;
|
|
307
|
+
body: string;
|
|
294
308
|
actions: ({
|
|
295
309
|
type: "terminal.focus";
|
|
296
|
-
label: string;
|
|
297
310
|
target: {
|
|
298
311
|
sessionId: string;
|
|
299
312
|
};
|
|
313
|
+
label: string;
|
|
300
314
|
} | {
|
|
301
315
|
type: "href.open";
|
|
302
|
-
label: string;
|
|
303
316
|
target: {
|
|
304
317
|
href: string;
|
|
305
318
|
};
|
|
319
|
+
label: string;
|
|
306
320
|
})[];
|
|
307
|
-
level: "
|
|
321
|
+
level: "success" | "error" | "warning" | "info";
|
|
308
322
|
createdAt?: number | undefined;
|
|
309
323
|
}, {
|
|
310
|
-
title: string;
|
|
311
324
|
source: {
|
|
312
325
|
type: "terminal";
|
|
313
326
|
sessionId: string;
|
|
@@ -320,11 +333,15 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
320
333
|
type: "hooks-plugin";
|
|
321
334
|
pluginId: string;
|
|
322
335
|
title?: string | undefined;
|
|
336
|
+
} | {
|
|
337
|
+
type: "root-context";
|
|
323
338
|
} | {
|
|
324
339
|
type: "custom";
|
|
325
340
|
groupId: string;
|
|
326
341
|
title?: string | undefined;
|
|
327
342
|
};
|
|
343
|
+
title: string;
|
|
344
|
+
createdAt?: number | undefined;
|
|
328
345
|
body?: string | undefined;
|
|
329
346
|
actions?: ({
|
|
330
347
|
type: "terminal.focus";
|
|
@@ -339,8 +356,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
339
356
|
};
|
|
340
357
|
label?: string | undefined;
|
|
341
358
|
})[] | undefined;
|
|
342
|
-
level?: "
|
|
343
|
-
createdAt?: number | 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;
|
|
@@ -407,10 +429,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
407
429
|
}>;
|
|
408
430
|
}, "strip", z.ZodTypeAny, {
|
|
409
431
|
type: "terminal.focus";
|
|
410
|
-
label: string;
|
|
411
432
|
target: {
|
|
412
433
|
sessionId: string;
|
|
413
434
|
};
|
|
435
|
+
label: string;
|
|
414
436
|
}, {
|
|
415
437
|
type: "terminal.focus";
|
|
416
438
|
target: {
|
|
@@ -429,10 +451,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
429
451
|
}>;
|
|
430
452
|
}, "strip", z.ZodTypeAny, {
|
|
431
453
|
type: "href.open";
|
|
432
|
-
label: string;
|
|
433
454
|
target: {
|
|
434
455
|
href: string;
|
|
435
456
|
};
|
|
457
|
+
label: string;
|
|
436
458
|
}, {
|
|
437
459
|
type: "href.open";
|
|
438
460
|
target: {
|
|
@@ -446,8 +468,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
446
468
|
createdAt: z.ZodNumber;
|
|
447
469
|
groupKey: z.ZodString;
|
|
448
470
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
|
|
450
|
-
body: string;
|
|
471
|
+
id: string;
|
|
451
472
|
source: {
|
|
452
473
|
type: "terminal";
|
|
453
474
|
sessionId: string;
|
|
@@ -460,30 +481,33 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
460
481
|
type: "hooks-plugin";
|
|
461
482
|
pluginId: string;
|
|
462
483
|
title?: string | undefined;
|
|
484
|
+
} | {
|
|
485
|
+
type: "root-context";
|
|
463
486
|
} | {
|
|
464
487
|
type: "custom";
|
|
465
488
|
groupId: string;
|
|
466
489
|
title?: string | undefined;
|
|
467
490
|
};
|
|
491
|
+
createdAt: number;
|
|
492
|
+
title: string;
|
|
493
|
+
body: string;
|
|
468
494
|
actions: ({
|
|
469
495
|
type: "terminal.focus";
|
|
470
|
-
label: string;
|
|
471
496
|
target: {
|
|
472
497
|
sessionId: string;
|
|
473
498
|
};
|
|
499
|
+
label: string;
|
|
474
500
|
} | {
|
|
475
501
|
type: "href.open";
|
|
476
|
-
label: string;
|
|
477
502
|
target: {
|
|
478
503
|
href: string;
|
|
479
504
|
};
|
|
505
|
+
label: string;
|
|
480
506
|
})[];
|
|
481
|
-
level: "
|
|
482
|
-
createdAt: number;
|
|
483
|
-
id: string;
|
|
507
|
+
level: "success" | "error" | "warning" | "info";
|
|
484
508
|
groupKey: string;
|
|
485
509
|
}, {
|
|
486
|
-
|
|
510
|
+
id: string;
|
|
487
511
|
source: {
|
|
488
512
|
type: "terminal";
|
|
489
513
|
sessionId: string;
|
|
@@ -496,13 +520,15 @@ 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;
|
|
502
528
|
title?: string | undefined;
|
|
503
529
|
};
|
|
504
530
|
createdAt: number;
|
|
505
|
-
|
|
531
|
+
title: string;
|
|
506
532
|
groupKey: string;
|
|
507
533
|
body?: string | undefined;
|
|
508
534
|
actions?: ({
|
|
@@ -518,7 +544,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
518
544
|
};
|
|
519
545
|
label?: string | undefined;
|
|
520
546
|
})[] | undefined;
|
|
521
|
-
level?: "
|
|
547
|
+
level?: "success" | "error" | "warning" | "info" | undefined;
|
|
522
548
|
}>;
|
|
523
549
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
524
550
|
interface NotificationAggregate {
|
package/dist/notifications.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./sounds-
|
|
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-
|
|
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 };
|
package/dist/notifications.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./sounds-
|
|
2
|
-
import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-
|
|
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-
|
|
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-
|
|
2
|
-
import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-
|
|
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-
|
|
2
|
-
import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-
|
|
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-
|
|
2
|
-
import "./markdown-reading-
|
|
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-
|
|
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-
|
|
2
|
-
import "./markdown-reading-
|
|
3
|
-
import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
12
|
-
declare const
|
|
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;
|
package/dist/openspec-compat.mjs
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
//#region src/openspec-compat.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
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,9 @@ 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.
|
|
44
|
+
* range (e.g. `>=1.6.0 <1.7.0`). OpenSpecUI follows a 1:1 major-to-minor
|
|
38
45
|
* version law: one OpenSpecUI major line targets exactly one OpenSpec CLI
|
|
39
|
-
* minor line (2.x→1.2, 3.x→1.3, 4.x→1.4, 5.x→1.5). The previous minor line
|
|
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
|
|
40
47
|
* is accepted as legacy-compatible; older lines are unsupported.
|
|
41
48
|
*/
|
|
42
49
|
function isCurrentRecommended(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-
|
|
2
|
-
import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-
|
|
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-
|
|
2
|
-
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-
|
|
3
|
-
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-
|
|
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-
|
|
2
|
-
import "./markdown-facts-
|
|
3
|
-
import "./markdown-reading-
|
|
4
|
-
import "./openspec-annotations-
|
|
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-
|
|
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-
|
|
2
|
-
import "./markdown-reading-
|
|
3
|
-
import "./openspec-annotations-
|
|
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-
|
|
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-
|
|
1
|
+
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-RXS5JTbV.mjs";
|
|
2
2
|
export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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';
|
package/dist/opsx-entity.d.mts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
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 };
|
package/dist/opsx-entity.mjs
CHANGED
|
@@ -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-
|
|
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 {
|
|
2
|
-
import { i as OpsxEntityDiagnostic } from "./opsx-entity-
|
|
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 "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
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 };
|