@openspecui/core 4.1.0 → 5.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/{document-translation-CIPGsZD8.d.mts → document-translation-7R8cf8_B.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/index.d.mts +198 -198
- package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-caa4PECd.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-HYH-lklF.d.mts → notifications-DZeOl4HV.d.mts} +28 -28
- package/dist/notifications.d.mts +2 -2
- package/dist/openspec-compat.d.mts +7 -7
- package/dist/openspec-compat.mjs +11 -10
- package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-B0ch1rZw.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-DZyl-uhQ.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +3 -3
- package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-CS0tWa9v.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +4 -4
- package/dist/{opsx-types-2rgsQHsB.d.mts → opsx-types-Dnb06uff.d.mts} +12 -12
- package/dist/{schemas-CNKCVc7m.d.mts → schemas-D01aQnV4.d.mts} +28 -28
- package/dist/{sounds-J6z7o4mt.d.mts → sounds-kgDn4x8v.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{task-progress-BHn4bCoD.d.mts → task-progress-C1TGMbIR.d.mts} +2 -2
- package/dist/task-progress.d.mts +3 -3
- package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-CsuGTNV-.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BlFwKpIc.d.mts} +75 -75
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-D6t_LEVN.d.mts → translator-BErXgQxx.d.mts} +205 -205
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-caa4PECd.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-BErXgQxx.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-BErXgQxx.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-caa4PECd.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-kgDn4x8v.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:
|
|
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:
|
|
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:
|
|
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
|
}, {
|
|
@@ -136,10 +136,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
136
136
|
}>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
type: "terminal.focus";
|
|
139
|
+
label: string;
|
|
139
140
|
target: {
|
|
140
141
|
sessionId: string;
|
|
141
142
|
};
|
|
142
|
-
label: string;
|
|
143
143
|
}, {
|
|
144
144
|
type: "terminal.focus";
|
|
145
145
|
target: {
|
|
@@ -158,10 +158,10 @@ declare const NotificationActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
158
158
|
}>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
type: "href.open";
|
|
161
|
+
label: string;
|
|
161
162
|
target: {
|
|
162
163
|
href: string;
|
|
163
164
|
};
|
|
164
|
-
label: string;
|
|
165
165
|
}, {
|
|
166
166
|
type: "href.open";
|
|
167
167
|
target: {
|
|
@@ -236,10 +236,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
236
236
|
}>;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
type: "terminal.focus";
|
|
239
|
+
label: string;
|
|
239
240
|
target: {
|
|
240
241
|
sessionId: string;
|
|
241
242
|
};
|
|
242
|
-
label: string;
|
|
243
243
|
}, {
|
|
244
244
|
type: "terminal.focus";
|
|
245
245
|
target: {
|
|
@@ -258,10 +258,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
258
258
|
}>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
type: "href.open";
|
|
261
|
+
label: string;
|
|
261
262
|
target: {
|
|
262
263
|
href: string;
|
|
263
264
|
};
|
|
264
|
-
label: string;
|
|
265
265
|
}, {
|
|
266
266
|
type: "href.open";
|
|
267
267
|
target: {
|
|
@@ -272,6 +272,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
272
272
|
level: z.ZodDefault<z.ZodEnum<["info", "success", "warning", "error"]>>;
|
|
273
273
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
title: string;
|
|
276
|
+
body: string;
|
|
275
277
|
source: {
|
|
276
278
|
type: "terminal";
|
|
277
279
|
sessionId: string;
|
|
@@ -289,24 +291,23 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
289
291
|
groupId: string;
|
|
290
292
|
title?: string | undefined;
|
|
291
293
|
};
|
|
292
|
-
title: string;
|
|
293
|
-
body: string;
|
|
294
294
|
actions: ({
|
|
295
295
|
type: "terminal.focus";
|
|
296
|
+
label: string;
|
|
296
297
|
target: {
|
|
297
298
|
sessionId: string;
|
|
298
299
|
};
|
|
299
|
-
label: string;
|
|
300
300
|
} | {
|
|
301
301
|
type: "href.open";
|
|
302
|
+
label: string;
|
|
302
303
|
target: {
|
|
303
304
|
href: string;
|
|
304
305
|
};
|
|
305
|
-
label: string;
|
|
306
306
|
})[];
|
|
307
|
-
level: "
|
|
307
|
+
level: "info" | "success" | "warning" | "error";
|
|
308
308
|
createdAt?: number | undefined;
|
|
309
309
|
}, {
|
|
310
|
+
title: string;
|
|
310
311
|
source: {
|
|
311
312
|
type: "terminal";
|
|
312
313
|
sessionId: string;
|
|
@@ -324,8 +325,6 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
324
325
|
groupId: string;
|
|
325
326
|
title?: string | undefined;
|
|
326
327
|
};
|
|
327
|
-
title: string;
|
|
328
|
-
createdAt?: number | undefined;
|
|
329
328
|
body?: string | undefined;
|
|
330
329
|
actions?: ({
|
|
331
330
|
type: "terminal.focus";
|
|
@@ -340,7 +339,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
340
339
|
};
|
|
341
340
|
label?: string | undefined;
|
|
342
341
|
})[] | undefined;
|
|
343
|
-
level?: "
|
|
342
|
+
level?: "info" | "success" | "warning" | "error" | undefined;
|
|
343
|
+
createdAt?: number | undefined;
|
|
344
344
|
}>;
|
|
345
345
|
type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
|
|
346
346
|
declare const NotificationRecordSchema: z.ZodObject<{
|
|
@@ -407,10 +407,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
407
407
|
}>;
|
|
408
408
|
}, "strip", z.ZodTypeAny, {
|
|
409
409
|
type: "terminal.focus";
|
|
410
|
+
label: string;
|
|
410
411
|
target: {
|
|
411
412
|
sessionId: string;
|
|
412
413
|
};
|
|
413
|
-
label: string;
|
|
414
414
|
}, {
|
|
415
415
|
type: "terminal.focus";
|
|
416
416
|
target: {
|
|
@@ -429,10 +429,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
429
429
|
}>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
431
|
type: "href.open";
|
|
432
|
+
label: string;
|
|
432
433
|
target: {
|
|
433
434
|
href: string;
|
|
434
435
|
};
|
|
435
|
-
label: string;
|
|
436
436
|
}, {
|
|
437
437
|
type: "href.open";
|
|
438
438
|
target: {
|
|
@@ -446,7 +446,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
446
446
|
createdAt: z.ZodNumber;
|
|
447
447
|
groupKey: z.ZodString;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
|
|
449
|
+
title: string;
|
|
450
|
+
body: string;
|
|
450
451
|
source: {
|
|
451
452
|
type: "terminal";
|
|
452
453
|
sessionId: string;
|
|
@@ -464,26 +465,25 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
464
465
|
groupId: string;
|
|
465
466
|
title?: string | undefined;
|
|
466
467
|
};
|
|
467
|
-
createdAt: number;
|
|
468
|
-
title: string;
|
|
469
|
-
body: string;
|
|
470
468
|
actions: ({
|
|
471
469
|
type: "terminal.focus";
|
|
470
|
+
label: string;
|
|
472
471
|
target: {
|
|
473
472
|
sessionId: string;
|
|
474
473
|
};
|
|
475
|
-
label: string;
|
|
476
474
|
} | {
|
|
477
475
|
type: "href.open";
|
|
476
|
+
label: string;
|
|
478
477
|
target: {
|
|
479
478
|
href: string;
|
|
480
479
|
};
|
|
481
|
-
label: string;
|
|
482
480
|
})[];
|
|
483
|
-
level: "
|
|
481
|
+
level: "info" | "success" | "warning" | "error";
|
|
482
|
+
createdAt: number;
|
|
483
|
+
id: string;
|
|
484
484
|
groupKey: string;
|
|
485
485
|
}, {
|
|
486
|
-
|
|
486
|
+
title: string;
|
|
487
487
|
source: {
|
|
488
488
|
type: "terminal";
|
|
489
489
|
sessionId: string;
|
|
@@ -502,7 +502,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
502
502
|
title?: string | undefined;
|
|
503
503
|
};
|
|
504
504
|
createdAt: number;
|
|
505
|
-
|
|
505
|
+
id: string;
|
|
506
506
|
groupKey: string;
|
|
507
507
|
body?: string | undefined;
|
|
508
508
|
actions?: ({
|
|
@@ -518,7 +518,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
518
518
|
};
|
|
519
519
|
label?: string | undefined;
|
|
520
520
|
})[] | undefined;
|
|
521
|
-
level?: "
|
|
521
|
+
level?: "info" | "success" | "warning" | "error" | undefined;
|
|
522
522
|
}>;
|
|
523
523
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
524
524
|
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-kgDn4x8v.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-DZeOl4HV.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,14 +1,14 @@
|
|
|
1
1
|
//#region src/openspec-compat.d.ts
|
|
2
|
-
declare const OPENSPECUI_TARGET_MAJOR =
|
|
2
|
+
declare const OPENSPECUI_TARGET_MAJOR = 5;
|
|
3
3
|
declare const OPENSPEC_CLI_TARGET_SERIES = "1.5";
|
|
4
|
-
declare const OPENSPEC_CLI_LEGACY_SERIES = "1.
|
|
5
|
-
declare const OPENSPEC_CLI_MIN_VERSION = "1.
|
|
4
|
+
declare const OPENSPEC_CLI_LEGACY_SERIES = "1.4";
|
|
5
|
+
declare const OPENSPEC_CLI_MIN_VERSION = "1.4.0";
|
|
6
6
|
declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.5.0";
|
|
7
|
-
declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.
|
|
7
|
+
declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.5.0";
|
|
8
8
|
declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.6.0";
|
|
9
|
-
declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.
|
|
10
|
-
declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.
|
|
11
|
-
declare const OPENSPEC_CLI_LEGACY_RANGE = ">=1.
|
|
9
|
+
declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.4.0 <1.6.0";
|
|
10
|
+
declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.5.0 <1.6.0";
|
|
11
|
+
declare const OPENSPEC_CLI_LEGACY_RANGE = ">=1.4.0 <1.5.0";
|
|
12
12
|
declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.5.*";
|
|
13
13
|
interface OpenSpecCliVersion {
|
|
14
14
|
major: number;
|
package/dist/openspec-compat.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
//#region src/openspec-compat.ts
|
|
2
|
-
const OPENSPECUI_TARGET_MAJOR =
|
|
2
|
+
const OPENSPECUI_TARGET_MAJOR = 5;
|
|
3
3
|
const OPENSPEC_CLI_TARGET_SERIES = "1.5";
|
|
4
|
-
const OPENSPEC_CLI_LEGACY_SERIES = "1.
|
|
5
|
-
const OPENSPEC_CLI_MIN_VERSION = "1.
|
|
4
|
+
const OPENSPEC_CLI_LEGACY_SERIES = "1.4";
|
|
5
|
+
const OPENSPEC_CLI_MIN_VERSION = "1.4.0";
|
|
6
6
|
const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.5.0";
|
|
7
|
-
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.
|
|
7
|
+
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.5.0";
|
|
8
8
|
const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.6.0";
|
|
9
|
-
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.
|
|
10
|
-
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.
|
|
11
|
-
const OPENSPEC_CLI_LEGACY_RANGE = ">=1.
|
|
9
|
+
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.4.0 <1.6.0";
|
|
10
|
+
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.5.0 <1.6.0";
|
|
11
|
+
const OPENSPEC_CLI_LEGACY_RANGE = ">=1.4.0 <1.5.0";
|
|
12
12
|
const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.5.*";
|
|
13
13
|
function parseOpenSpecCliVersion(raw) {
|
|
14
14
|
if (!raw) return null;
|
|
@@ -34,9 +34,10 @@ function isSeries(version, series) {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* A version is "current/recommended" when it falls inside the recommended
|
|
37
|
-
* range (e.g. `>=1.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* range (e.g. `>=1.5.0 <1.6.0`). OpenSpecUI follows a 1:1 major-to-minor
|
|
38
|
+
* 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
|
|
40
|
+
* is accepted as legacy-compatible; older lines are unsupported.
|
|
40
41
|
*/
|
|
41
42
|
function isCurrentRecommended(version) {
|
|
42
43
|
const min = parseOpenSpecCliVersion(OPENSPEC_CLI_RECOMMENDED_MIN_VERSION);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Spec } from "./schemas-
|
|
1
|
+
import { g as Spec } from "./schemas-D01aQnV4.mjs";
|
|
2
2
|
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-CgXuXp6s.mjs";
|
|
3
3
|
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-CeXd0JIZ.mjs";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./schemas-
|
|
1
|
+
import "./schemas-D01aQnV4.mjs";
|
|
2
2
|
import "./markdown-facts-Dk7FKaaT.mjs";
|
|
3
3
|
import "./markdown-reading-CgXuXp6s.mjs";
|
|
4
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-
|
|
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-B0ch1rZw.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 { g as SchemaDetail } from "./opsx-types-
|
|
2
|
-
import { n as ChangeFile } from "./schemas-
|
|
1
|
+
import { g as SchemaDetail } from "./opsx-types-Dnb06uff.mjs";
|
|
2
|
+
import { n as ChangeFile } from "./schemas-D01aQnV4.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,4 @@
|
|
|
1
|
-
import "./opsx-types-
|
|
2
|
-
import "./schemas-
|
|
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-
|
|
1
|
+
import "./opsx-types-Dnb06uff.mjs";
|
|
2
|
+
import "./schemas-D01aQnV4.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-DZyl-uhQ.mjs";
|
|
4
4
|
export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as SchemaDetail } from "./opsx-types-
|
|
2
|
-
import { i as OpsxEntityDiagnostic } from "./opsx-entity-
|
|
1
|
+
import { g as SchemaDetail } from "./opsx-types-Dnb06uff.mjs";
|
|
2
|
+
import { i as OpsxEntityDiagnostic } from "./opsx-entity-DZyl-uhQ.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/opsx-schema-detail.d.ts
|
|
5
5
|
interface ParsedOpsxSchemaDetail {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./opsx-types-
|
|
2
|
-
import "./schemas-
|
|
3
|
-
import "./opsx-entity-
|
|
4
|
-
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-
|
|
1
|
+
import "./opsx-types-Dnb06uff.mjs";
|
|
2
|
+
import "./schemas-D01aQnV4.mjs";
|
|
3
|
+
import "./opsx-entity-DZyl-uhQ.mjs";
|
|
4
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CS0tWa9v.mjs";
|
|
5
5
|
export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
|
|
@@ -10,14 +10,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
|
|
|
10
10
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11
11
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
id: string;
|
|
14
13
|
status: "ready" | "done" | "blocked";
|
|
14
|
+
id: string;
|
|
15
15
|
outputPath: string;
|
|
16
16
|
missingDeps?: string[] | undefined;
|
|
17
17
|
relativePath?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
id: string;
|
|
20
19
|
status: "ready" | "done" | "blocked";
|
|
20
|
+
id: string;
|
|
21
21
|
outputPath: string;
|
|
22
22
|
missingDeps?: string[] | undefined;
|
|
23
23
|
relativePath?: string | undefined;
|
|
@@ -35,14 +35,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
35
35
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
36
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
id: string;
|
|
39
38
|
status: "ready" | "done" | "blocked";
|
|
39
|
+
id: string;
|
|
40
40
|
outputPath: string;
|
|
41
41
|
missingDeps?: string[] | undefined;
|
|
42
42
|
relativePath?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
id: string;
|
|
45
44
|
status: "ready" | "done" | "blocked";
|
|
45
|
+
id: string;
|
|
46
46
|
outputPath: string;
|
|
47
47
|
missingDeps?: string[] | undefined;
|
|
48
48
|
relativePath?: string | undefined;
|
|
@@ -53,8 +53,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
53
53
|
isComplete: boolean;
|
|
54
54
|
applyRequires: string[];
|
|
55
55
|
artifacts: {
|
|
56
|
-
id: string;
|
|
57
56
|
status: "ready" | "done" | "blocked";
|
|
57
|
+
id: string;
|
|
58
58
|
outputPath: string;
|
|
59
59
|
missingDeps?: string[] | undefined;
|
|
60
60
|
relativePath?: string | undefined;
|
|
@@ -65,8 +65,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
65
65
|
isComplete: boolean;
|
|
66
66
|
applyRequires: string[];
|
|
67
67
|
artifacts: {
|
|
68
|
-
id: string;
|
|
69
68
|
status: "ready" | "done" | "blocked";
|
|
69
|
+
id: string;
|
|
70
70
|
outputPath: string;
|
|
71
71
|
missingDeps?: string[] | undefined;
|
|
72
72
|
relativePath?: string | undefined;
|
|
@@ -79,13 +79,13 @@ declare const DependencyInfoSchema: z.ZodObject<{
|
|
|
79
79
|
path: z.ZodString;
|
|
80
80
|
description: z.ZodString;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
id: string;
|
|
83
82
|
path: string;
|
|
83
|
+
id: string;
|
|
84
84
|
description: string;
|
|
85
85
|
done: boolean;
|
|
86
86
|
}, {
|
|
87
|
-
id: string;
|
|
88
87
|
path: string;
|
|
88
|
+
id: string;
|
|
89
89
|
description: string;
|
|
90
90
|
done: boolean;
|
|
91
91
|
}>;
|
|
@@ -194,13 +194,13 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
194
194
|
path: z.ZodString;
|
|
195
195
|
description: z.ZodString;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
id: string;
|
|
198
197
|
path: string;
|
|
198
|
+
id: string;
|
|
199
199
|
description: string;
|
|
200
200
|
done: boolean;
|
|
201
201
|
}, {
|
|
202
|
-
id: string;
|
|
203
202
|
path: string;
|
|
203
|
+
id: string;
|
|
204
204
|
description: string;
|
|
205
205
|
done: boolean;
|
|
206
206
|
}>, "many">;
|
|
@@ -214,8 +214,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
214
214
|
changeDir: string;
|
|
215
215
|
artifactId: string;
|
|
216
216
|
dependencies: {
|
|
217
|
-
id: string;
|
|
218
217
|
path: string;
|
|
218
|
+
id: string;
|
|
219
219
|
description: string;
|
|
220
220
|
done: boolean;
|
|
221
221
|
}[];
|
|
@@ -232,8 +232,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
232
232
|
changeDir: string;
|
|
233
233
|
artifactId: string;
|
|
234
234
|
dependencies: {
|
|
235
|
-
id: string;
|
|
236
235
|
path: string;
|
|
236
|
+
id: string;
|
|
237
237
|
description: string;
|
|
238
238
|
done: boolean;
|
|
239
239
|
}[];
|