@openspecui/core 9.0.3 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-root-config-CDH9K5lV.d.mts → active-root-config-N3lOotoq.d.mts} +15 -15
- package/dist/active-root-config.d.mts +5 -5
- package/dist/app-daemon-control.d.mts +16 -16
- package/dist/{cli-projection-C1ZYzYMm.d.mts → cli-projection-bB650ru4.d.mts} +1 -1
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{workflow-CmQ4pFYC.mjs → command-result-DWMmDl6I.mjs} +91 -80
- package/dist/{dashboard-summary-transport-Bys0g-UT.d.mts → dashboard-summary-transport-DcyVID8z.d.mts} +3045 -2948
- package/dist/dashboard-summary-transport.d.mts +17 -17
- package/dist/{document-translation-CBqubtWC.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +17 -17
- package/dist/hosted-contract.d.mts +17 -17
- package/dist/{index-C7jJcSdH.d.mts → index-CW5hcqKC.d.mts} +12277 -7316
- package/dist/index.d.mts +18 -18
- package/dist/index.mjs +385 -138
- package/dist/{local-download-profiles-CyAhZwxA.d.mts → local-download-profiles-DXmw0Zs3.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-Be5ltQeN.d.mts → notifications-BQhnmovr.d.mts} +17 -17
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-compat-DidEO359.mjs → openspec-compat-DctIDxRM.mjs} +23 -17
- package/dist/openspec-compat.d.mts +4 -76
- package/dist/openspec-compat.mjs +2 -2
- package/dist/{openspec-projection-Bymnjuf9.d.mts → openspec-projection-FKuNsfBp.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-NFWGsreJ.d.mts → opsx-entity-CulylXeK.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-ChaSoC8S.d.mts → opsx-schema-detail-C9kNWQmO.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-C2lUEACZ.d.mts → opsx-types-BeQJ4Le_.d.mts} +124 -124
- package/dist/{planning-cli-projection-BTkiQ7PG.mjs → planning-cli-projection-pq8vZC1r.mjs} +2 -2
- package/dist/planning-cli-projection.d.mts +17 -17
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-BG7Tcs8J.d.mts → schemas-BIaPbul1.d.mts} +117 -117
- package/dist/{sounds-DdPTMYMa.d.mts → sounds-CxSkCgKh.d.mts} +8 -8
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-Ce3uSLSc.mjs → spec-catalog-BkX0tZp9.mjs} +149 -2
- package/dist/spec-catalog.d.mts +17 -17
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-types-X35XKl10.d.mts → store-types-TDbmbvPx.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-Csuw114f.d.mts → terminal-audio-R-3VBy0x.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-C5AN93a9.d.mts → terminal-invocation-C8mSioBZ.d.mts} +93 -93
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-4wvacuAX.d.mts → translator-CVkc7MHh.d.mts} +31 -31
- package/dist/translator.d.mts +1 -1
- package/dist/workspace-directory-catalog.d.mts +2 -2
- package/package.json +3 -2
package/dist/{local-download-profiles-CyAhZwxA.d.mts → local-download-profiles-DXmw0Zs3.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-CVkc7MHh.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-CVkc7MHh.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-DXmw0Zs3.mjs";
|
|
3
3
|
export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as SoundId } from "./sounds-
|
|
1
|
+
import { x as SoundId } from "./sounds-CxSkCgKh.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal-control.d.ts
|
|
@@ -142,10 +142,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
142
142
|
}>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
type: "terminal.focus";
|
|
145
|
+
label: string;
|
|
145
146
|
target: {
|
|
146
147
|
sessionId: string;
|
|
147
148
|
};
|
|
148
|
-
label: string;
|
|
149
149
|
}, {
|
|
150
150
|
type: "terminal.focus";
|
|
151
151
|
target: {
|
|
@@ -164,10 +164,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
164
164
|
}>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
type: "href.open";
|
|
167
|
+
label: string;
|
|
167
168
|
target: {
|
|
168
169
|
href: string;
|
|
169
170
|
};
|
|
170
|
-
label: string;
|
|
171
171
|
}, {
|
|
172
172
|
type: "href.open";
|
|
173
173
|
target: {
|
|
@@ -248,10 +248,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
248
248
|
}>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
250
|
type: "terminal.focus";
|
|
251
|
+
label: string;
|
|
251
252
|
target: {
|
|
252
253
|
sessionId: string;
|
|
253
254
|
};
|
|
254
|
-
label: string;
|
|
255
255
|
}, {
|
|
256
256
|
type: "terminal.focus";
|
|
257
257
|
target: {
|
|
@@ -270,10 +270,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
270
270
|
}>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
type: "href.open";
|
|
273
|
+
label: string;
|
|
273
274
|
target: {
|
|
274
275
|
href: string;
|
|
275
276
|
};
|
|
276
|
-
label: string;
|
|
277
277
|
}, {
|
|
278
278
|
type: "href.open";
|
|
279
279
|
target: {
|
|
@@ -307,18 +307,18 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
307
307
|
body: string;
|
|
308
308
|
actions: ({
|
|
309
309
|
type: "terminal.focus";
|
|
310
|
+
label: string;
|
|
310
311
|
target: {
|
|
311
312
|
sessionId: string;
|
|
312
313
|
};
|
|
313
|
-
label: string;
|
|
314
314
|
} | {
|
|
315
315
|
type: "href.open";
|
|
316
|
+
label: string;
|
|
316
317
|
target: {
|
|
317
318
|
href: string;
|
|
318
319
|
};
|
|
319
|
-
label: string;
|
|
320
320
|
})[];
|
|
321
|
-
level: "
|
|
321
|
+
level: "error" | "success" | "warning" | "info";
|
|
322
322
|
createdAt?: number | undefined;
|
|
323
323
|
}, {
|
|
324
324
|
source: {
|
|
@@ -356,7 +356,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
356
356
|
};
|
|
357
357
|
label?: string | undefined;
|
|
358
358
|
})[] | undefined;
|
|
359
|
-
level?: "
|
|
359
|
+
level?: "error" | "success" | "warning" | "info" | undefined;
|
|
360
360
|
}>;
|
|
361
361
|
type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
|
|
362
362
|
declare const NotificationRecordSchema: z.ZodObject<{
|
|
@@ -429,10 +429,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
429
429
|
}>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
431
|
type: "terminal.focus";
|
|
432
|
+
label: string;
|
|
432
433
|
target: {
|
|
433
434
|
sessionId: string;
|
|
434
435
|
};
|
|
435
|
-
label: string;
|
|
436
436
|
}, {
|
|
437
437
|
type: "terminal.focus";
|
|
438
438
|
target: {
|
|
@@ -451,10 +451,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
451
451
|
}>;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
453
|
type: "href.open";
|
|
454
|
+
label: string;
|
|
454
455
|
target: {
|
|
455
456
|
href: string;
|
|
456
457
|
};
|
|
457
|
-
label: string;
|
|
458
458
|
}, {
|
|
459
459
|
type: "href.open";
|
|
460
460
|
target: {
|
|
@@ -468,7 +468,6 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
468
468
|
createdAt: z.ZodNumber;
|
|
469
469
|
groupKey: z.ZodString;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
createdAt: number;
|
|
472
471
|
id: string;
|
|
473
472
|
source: {
|
|
474
473
|
type: "terminal";
|
|
@@ -490,24 +489,24 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
490
489
|
title?: string | undefined;
|
|
491
490
|
};
|
|
492
491
|
title: string;
|
|
492
|
+
createdAt: number;
|
|
493
493
|
body: string;
|
|
494
494
|
actions: ({
|
|
495
495
|
type: "terminal.focus";
|
|
496
|
+
label: string;
|
|
496
497
|
target: {
|
|
497
498
|
sessionId: string;
|
|
498
499
|
};
|
|
499
|
-
label: string;
|
|
500
500
|
} | {
|
|
501
501
|
type: "href.open";
|
|
502
|
+
label: string;
|
|
502
503
|
target: {
|
|
503
504
|
href: string;
|
|
504
505
|
};
|
|
505
|
-
label: string;
|
|
506
506
|
})[];
|
|
507
|
-
level: "
|
|
507
|
+
level: "error" | "success" | "warning" | "info";
|
|
508
508
|
groupKey: string;
|
|
509
509
|
}, {
|
|
510
|
-
createdAt: number;
|
|
511
510
|
id: string;
|
|
512
511
|
source: {
|
|
513
512
|
type: "terminal";
|
|
@@ -529,6 +528,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
529
528
|
title?: string | undefined;
|
|
530
529
|
};
|
|
531
530
|
title: string;
|
|
531
|
+
createdAt: number;
|
|
532
532
|
groupKey: string;
|
|
533
533
|
body?: string | undefined;
|
|
534
534
|
actions?: ({
|
|
@@ -544,7 +544,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
544
544
|
};
|
|
545
545
|
label?: string | undefined;
|
|
546
546
|
})[] | undefined;
|
|
547
|
-
level?: "
|
|
547
|
+
level?: "error" | "success" | "warning" | "info" | undefined;
|
|
548
548
|
}>;
|
|
549
549
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
550
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-CxSkCgKh.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-BQhnmovr.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,6 +1,6 @@
|
|
|
1
1
|
//#region src/openspec-compat.ts
|
|
2
2
|
/**
|
|
3
|
-
* Orthogonal intents (updated 2026-08-
|
|
3
|
+
* Orthogonal intents (updated 2026-08-28 Asia/Shanghai):
|
|
4
4
|
* 1. Encode the shipped OpenSpecUI release line's OpenSpec CLI compatibility law.
|
|
5
5
|
* 2. Classify current, supported non-current, unsupported, and unknown CLI versions.
|
|
6
6
|
* 3. Express the accepted range and the recommended line as separate public facts.
|
|
@@ -8,38 +8,44 @@
|
|
|
8
8
|
* 5. Re-export the browser-safe contract schemas for renderer evidence boundaries.
|
|
9
9
|
*
|
|
10
10
|
* Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
|
|
11
|
-
* Original request (2026-07-31): "目前这个版本先给它支持1.7.*,因为基本兼容。"
|
|
12
11
|
* Owner clarification (2026-07-31): "6.* 本身就是适配 1.6.*;对于 1.7 只是兼容而已。"
|
|
13
12
|
* Original request (2026-08-01): "v7不兼容1.6.x,明确要求必须使用 v1.7.x。"
|
|
14
13
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
14
|
+
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
15
15
|
*/
|
|
16
|
-
const OPENSPECUI_TARGET_MAJOR =
|
|
17
|
-
const OPENSPEC_CLI_TARGET_SERIES = "1.
|
|
18
|
-
const OPENSPEC_CLI_SUPPORTED_SERIES = ["1.
|
|
19
|
-
const OPENSPEC_CLI_MIN_VERSION = "1.
|
|
20
|
-
const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.
|
|
21
|
-
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.
|
|
22
|
-
const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.
|
|
23
|
-
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.
|
|
24
|
-
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.
|
|
25
|
-
const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.
|
|
16
|
+
const OPENSPECUI_TARGET_MAJOR = 11;
|
|
17
|
+
const OPENSPEC_CLI_TARGET_SERIES = "1.11";
|
|
18
|
+
const OPENSPEC_CLI_SUPPORTED_SERIES = ["1.10", "1.11"];
|
|
19
|
+
const OPENSPEC_CLI_MIN_VERSION = "1.10.0";
|
|
20
|
+
const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.11.0";
|
|
21
|
+
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.11.0";
|
|
22
|
+
const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.12.0";
|
|
23
|
+
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.10.0 <1.12.0";
|
|
24
|
+
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.11.0 <1.12.0";
|
|
25
|
+
const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.11.*";
|
|
26
26
|
/**
|
|
27
27
|
* Derive command capabilities from one parsed CLI version.
|
|
28
28
|
*
|
|
29
29
|
* Only an admitted version — stable inside the accepted range — can select version-specific
|
|
30
|
-
* capabilities. Unsupported forms (prereleases, >=1.
|
|
30
|
+
* capabilities. Unsupported forms (prereleases, >=1.12, below-range) and unparseable output
|
|
31
31
|
* keep their mismatch evidence and expose no capability, so a page-level version bypass can
|
|
32
|
-
* never manufacture a 1.
|
|
32
|
+
* never manufacture a 1.11 command surface for a CLI the release line does not admit.
|
|
33
33
|
*/
|
|
34
34
|
function deriveOpenSpecCliCapabilities(version) {
|
|
35
35
|
if (!isAdmittedVersion(version)) return {
|
|
36
36
|
schemasRootSelector: false,
|
|
37
|
-
archivedValidation: false
|
|
37
|
+
archivedValidation: false,
|
|
38
|
+
initLanguage: false,
|
|
39
|
+
batchStatus: false,
|
|
40
|
+
requirementDiff: false
|
|
38
41
|
};
|
|
39
42
|
const onTargetSeries = isSeries(version, OPENSPEC_CLI_TARGET_SERIES);
|
|
40
43
|
return {
|
|
41
|
-
schemasRootSelector:
|
|
42
|
-
archivedValidation:
|
|
44
|
+
schemasRootSelector: true,
|
|
45
|
+
archivedValidation: true,
|
|
46
|
+
initLanguage: true,
|
|
47
|
+
batchStatus: onTargetSeries,
|
|
48
|
+
requirementDiff: onTargetSeries
|
|
43
49
|
};
|
|
44
50
|
}
|
|
45
51
|
function parseOpenSpecCliVersion(raw) {
|
|
@@ -1,77 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
//#region src/openspec-compat.d.ts
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Orthogonal intents (updated 2026-08-15 Asia/Shanghai):
|
|
10
|
-
* 1. Encode the shipped OpenSpecUI release line's OpenSpec CLI compatibility law.
|
|
11
|
-
* 2. Classify current, supported non-current, unsupported, and unknown CLI versions.
|
|
12
|
-
* 3. Express the accepted range and the recommended line as separate public facts.
|
|
13
|
-
* 4. Derive per-command capabilities from the detected admitted CLI version.
|
|
14
|
-
* 5. Re-export the browser-safe contract schemas for renderer evidence boundaries.
|
|
15
|
-
*
|
|
16
|
-
* Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
|
|
17
|
-
* Original request (2026-07-31): "目前这个版本先给它支持1.7.*,因为基本兼容。"
|
|
18
|
-
* Owner clarification (2026-07-31): "6.* 本身就是适配 1.6.*;对于 1.7 只是兼容而已。"
|
|
19
|
-
* Original request (2026-08-01): "v7不兼容1.6.x,明确要求必须使用 v1.7.x。"
|
|
20
|
-
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
21
|
-
*/
|
|
22
|
-
declare const OPENSPECUI_TARGET_MAJOR = 9;
|
|
23
|
-
declare const OPENSPEC_CLI_TARGET_SERIES = "1.9";
|
|
24
|
-
declare const OPENSPEC_CLI_SUPPORTED_SERIES: readonly ["1.8", "1.9"];
|
|
25
|
-
declare const OPENSPEC_CLI_MIN_VERSION = "1.8.0";
|
|
26
|
-
declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.9.0";
|
|
27
|
-
declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.9.0";
|
|
28
|
-
declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.10.0";
|
|
29
|
-
declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.8.0 <1.10.0";
|
|
30
|
-
declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.9.0 <1.10.0";
|
|
31
|
-
declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.9.*";
|
|
32
|
-
/** Per-command capabilities derived from one admitted OpenSpec CLI version. */
|
|
33
|
-
interface OpenSpecCliCapabilities {
|
|
34
|
-
/** `openspec schemas --json --store <id>` exists (OpenSpec 1.9+; 1.8 rejects the selector). */
|
|
35
|
-
schemasRootSelector: boolean;
|
|
36
|
-
/** `openspec validate --archived --json` exists (OpenSpec 1.9+; 1.8 rejects the option). */
|
|
37
|
-
archivedValidation: boolean;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Derive command capabilities from one parsed CLI version.
|
|
41
|
-
*
|
|
42
|
-
* Only an admitted version — stable inside the accepted range — can select version-specific
|
|
43
|
-
* capabilities. Unsupported forms (prereleases, >=1.10, below-range) and unparseable output
|
|
44
|
-
* keep their mismatch evidence and expose no capability, so a page-level version bypass can
|
|
45
|
-
* never manufacture a 1.9 command surface for a CLI the release line does not admit.
|
|
46
|
-
*/
|
|
47
|
-
declare function deriveOpenSpecCliCapabilities(version: OpenSpecCliVersion | null): OpenSpecCliCapabilities;
|
|
48
|
-
interface OpenSpecCliVersion {
|
|
49
|
-
major: number;
|
|
50
|
-
minor: number;
|
|
51
|
-
patch: number;
|
|
52
|
-
prerelease: string | null;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Compatibility classification for one detected CLI version.
|
|
56
|
-
*
|
|
57
|
-
* - `current`: stable version on the recommended target series.
|
|
58
|
-
* - `supported`: stable version inside the accepted range but not on the target series.
|
|
59
|
-
* - `unsupported`: stable version outside the accepted range, or any prerelease.
|
|
60
|
-
* - `unknown`: the version output could not be parsed.
|
|
61
|
-
*/
|
|
62
|
-
type OpenSpecCliCompatibilityStatus = 'current' | 'supported' | 'unsupported' | 'unknown';
|
|
63
|
-
interface OpenSpecCliCompatibility {
|
|
64
|
-
rawVersion: string | undefined;
|
|
65
|
-
version: OpenSpecCliVersion | null;
|
|
66
|
-
status: OpenSpecCliCompatibilityStatus;
|
|
67
|
-
supported: boolean;
|
|
68
|
-
recommended: boolean;
|
|
69
|
-
blocksCoreInteractions: boolean;
|
|
70
|
-
message: string;
|
|
71
|
-
}
|
|
72
|
-
declare function parseOpenSpecCliVersion(raw: string | undefined): OpenSpecCliVersion | null;
|
|
73
|
-
declare function formatOpenSpecCliVersion(version: OpenSpecCliVersion): string;
|
|
74
|
-
declare function compareOpenSpecCliVersions(left: OpenSpecCliVersion, right: OpenSpecCliVersion): number;
|
|
75
|
-
declare function classifyOpenSpecCliVersion(rawVersion: string | undefined): OpenSpecCliCompatibility;
|
|
76
|
-
//#endregion
|
|
1
|
+
import { A as OPENSPEC_CLI_ACCEPTED_RANGE, B as OpenSpecCliCompatibility, F as OPENSPEC_CLI_REFERENCE_TAG_PATTERN, G as deriveOpenSpecCliCapabilities, H as OpenSpecCliVersion, I as OPENSPEC_CLI_SUPPORTED_SERIES, K as formatOpenSpecCliVersion, L as OPENSPEC_CLI_TARGET_MIN_VERSION, M as OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION, N as OPENSPEC_CLI_RECOMMENDED_MIN_VERSION, P as OPENSPEC_CLI_RECOMMENDED_RANGE, R as OPENSPEC_CLI_TARGET_SERIES, U as classifyOpenSpecCliVersion, V as OpenSpecCliCompatibilityStatus, W as compareOpenSpecCliVersions, _t as CliCommandTransportSchema, ft as CliValidateReportSchema, j as OPENSPEC_CLI_MIN_VERSION, k as OPENSPECUI_TARGET_MAJOR, q as parseOpenSpecCliVersion, z as OpenSpecCliCapabilities } from "./index-CW5hcqKC.mjs";
|
|
2
|
+
import "./document-translation-DM2eydNr.mjs";
|
|
3
|
+
import "./sounds-CxSkCgKh.mjs";
|
|
4
|
+
import "./notifications-BQhnmovr.mjs";
|
|
77
5
|
export { CliCommandTransportSchema, CliValidateReportSchema, OPENSPECUI_TARGET_MAJOR, OPENSPEC_CLI_ACCEPTED_RANGE, OPENSPEC_CLI_MIN_VERSION, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION, OPENSPEC_CLI_RECOMMENDED_RANGE, OPENSPEC_CLI_REFERENCE_TAG_PATTERN, OPENSPEC_CLI_SUPPORTED_SERIES, OPENSPEC_CLI_TARGET_MIN_VERSION, OPENSPEC_CLI_TARGET_SERIES, OpenSpecCliCapabilities, OpenSpecCliCompatibility, OpenSpecCliCompatibilityStatus, OpenSpecCliVersion, classifyOpenSpecCliVersion, compareOpenSpecCliVersions, deriveOpenSpecCliCapabilities, formatOpenSpecCliVersion, parseOpenSpecCliVersion };
|
package/dist/openspec-compat.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./common-BRL_34xt.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as OPENSPEC_CLI_RECOMMENDED_MIN_VERSION, c as OPENSPEC_CLI_SUPPORTED_SERIES, d as classifyOpenSpecCliVersion, f as compareOpenSpecCliVersions, h as parseOpenSpecCliVersion, i as OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION, l as OPENSPEC_CLI_TARGET_MIN_VERSION, m as formatOpenSpecCliVersion, n as OPENSPEC_CLI_ACCEPTED_RANGE, o as OPENSPEC_CLI_RECOMMENDED_RANGE, p as deriveOpenSpecCliCapabilities, r as OPENSPEC_CLI_MIN_VERSION, s as OPENSPEC_CLI_REFERENCE_TAG_PATTERN, t as OPENSPECUI_TARGET_MAJOR, u as OPENSPEC_CLI_TARGET_SERIES } from "./openspec-compat-
|
|
2
|
+
import { C as CliValidateReportSchema, t as CliCommandTransportSchema } from "./command-result-DWMmDl6I.mjs";
|
|
3
|
+
import { a as OPENSPEC_CLI_RECOMMENDED_MIN_VERSION, c as OPENSPEC_CLI_SUPPORTED_SERIES, d as classifyOpenSpecCliVersion, f as compareOpenSpecCliVersions, h as parseOpenSpecCliVersion, i as OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION, l as OPENSPEC_CLI_TARGET_MIN_VERSION, m as formatOpenSpecCliVersion, n as OPENSPEC_CLI_ACCEPTED_RANGE, o as OPENSPEC_CLI_RECOMMENDED_RANGE, p as deriveOpenSpecCliCapabilities, r as OPENSPEC_CLI_MIN_VERSION, s as OPENSPEC_CLI_REFERENCE_TAG_PATTERN, t as OPENSPECUI_TARGET_MAJOR, u as OPENSPEC_CLI_TARGET_SERIES } from "./openspec-compat-DctIDxRM.mjs";
|
|
4
4
|
|
|
5
5
|
export { CliCommandTransportSchema, CliValidateReportSchema, OPENSPECUI_TARGET_MAJOR, OPENSPEC_CLI_ACCEPTED_RANGE, OPENSPEC_CLI_MIN_VERSION, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION, OPENSPEC_CLI_RECOMMENDED_RANGE, OPENSPEC_CLI_REFERENCE_TAG_PATTERN, OPENSPEC_CLI_SUPPORTED_SERIES, OPENSPEC_CLI_TARGET_MIN_VERSION, OPENSPEC_CLI_TARGET_SERIES, classifyOpenSpecCliVersion, compareOpenSpecCliVersions, deriveOpenSpecCliCapabilities, formatOpenSpecCliVersion, parseOpenSpecCliVersion };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Spec } from "./schemas-
|
|
1
|
+
import { g as Spec } from "./schemas-BIaPbul1.mjs";
|
|
2
2
|
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-CsLbxubT.mjs";
|
|
3
3
|
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-8ppmICAU.mjs";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./schemas-
|
|
1
|
+
import "./schemas-BIaPbul1.mjs";
|
|
2
2
|
import "./markdown-facts-CEACwik1.mjs";
|
|
3
3
|
import "./markdown-reading-CsLbxubT.mjs";
|
|
4
4
|
import "./openspec-annotations-8ppmICAU.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-
|
|
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-FKuNsfBp.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,5 +1,5 @@
|
|
|
1
|
-
import { n as ChangeFile } from "./schemas-
|
|
2
|
-
import { T as SchemaDetail } from "./opsx-types-
|
|
1
|
+
import { n as ChangeFile } from "./schemas-BIaPbul1.mjs";
|
|
2
|
+
import { T as SchemaDetail } from "./opsx-types-BeQJ4Le_.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,8 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./schemas-
|
|
6
|
-
import "./opsx-types-
|
|
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-
|
|
1
|
+
import "./index-CW5hcqKC.mjs";
|
|
2
|
+
import "./document-translation-DM2eydNr.mjs";
|
|
3
|
+
import "./sounds-CxSkCgKh.mjs";
|
|
4
|
+
import "./notifications-BQhnmovr.mjs";
|
|
5
|
+
import "./schemas-BIaPbul1.mjs";
|
|
6
|
+
import "./opsx-types-BeQJ4Le_.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-CulylXeK.mjs";
|
|
8
8
|
export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as SchemaDetail } from "./opsx-types-
|
|
2
|
-
import { i as OpsxEntityDiagnostic } from "./opsx-entity-
|
|
1
|
+
import { T as SchemaDetail } from "./opsx-types-BeQJ4Le_.mjs";
|
|
2
|
+
import { i as OpsxEntityDiagnostic } from "./opsx-entity-CulylXeK.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/opsx-schema-detail.d.ts
|
|
5
5
|
interface ParsedOpsxSchemaDetail {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./schemas-
|
|
6
|
-
import "./opsx-types-
|
|
7
|
-
import "./opsx-entity-
|
|
8
|
-
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-
|
|
1
|
+
import "./index-CW5hcqKC.mjs";
|
|
2
|
+
import "./document-translation-DM2eydNr.mjs";
|
|
3
|
+
import "./sounds-CxSkCgKh.mjs";
|
|
4
|
+
import "./notifications-BQhnmovr.mjs";
|
|
5
|
+
import "./schemas-BIaPbul1.mjs";
|
|
6
|
+
import "./opsx-types-BeQJ4Le_.mjs";
|
|
7
|
+
import "./opsx-entity-CulylXeK.mjs";
|
|
8
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-C9kNWQmO.mjs";
|
|
9
9
|
export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
|