@openspecui/core 3.11.5 → 3.12.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-B6VWf7ll.mjs → document-translation-C3SE2CBJ.mjs} +1 -1
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/hosted-app.d.mts +1 -1
- package/dist/hosted-app.mjs +1 -1
- package/dist/index.d.mts +46 -38
- package/dist/index.mjs +48 -48
- package/dist/{local-download-profiles-DIVr0mFh.d.mts → local-download-profiles-C6VVRttC.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-DSlcirYV.mjs → markdown-reading-4d3w3xgw.mjs} +1 -1
- package/dist/{markdown-reading-BaHZTf5f.d.mts → markdown-reading-BnoDddEA.d.mts} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-Xs9VPFWD.mjs → notifications-3ZJ6BBzT.mjs} +2 -2
- package/dist/{notifications-BDBbeTRk.d.mts → notifications-ConQlEyF.d.mts} +4 -4
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-DYyP_HQh.d.mts → openspec-annotations-DDKeedpf.d.mts} +2 -2
- package/dist/{openspec-annotations-dNJentSE.mjs → openspec-annotations-DZDb0Qox.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/{openspec-projection-CmxjMsxS.d.mts → openspec-projection-CfsRech9.d.mts} +3 -3
- package/dist/{openspec-projection-yqwKIKnp.mjs → openspec-projection-DJ_mSfmq.mjs} +2 -2
- 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-Bs_B7cxQ.d.mts +54 -0
- package/dist/opsx-entity.d.mts +3 -2
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-aVlqvbro.d.mts → opsx-schema-detail-CIXIKaBU.d.mts} +2 -1
- package/dist/opsx-schema-detail.d.mts +4 -3
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/{opsx-entity-CRa2u1j3.d.mts → opsx-types-Ccrsvb3l.d.mts} +9 -60
- package/dist/{schemas-Dp8-Wm-X.d.mts → schemas-D8sf5fMu.d.mts} +18 -18
- package/dist/{sounds-6KwglrL2.d.mts → sounds-Cfo308Lf.d.mts} +1 -1
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/task-progress-Dw_ezBnq.d.mts +24 -0
- package/dist/task-progress-RLYFNkpL.mjs +70 -0
- package/dist/task-progress.d.mts +4 -0
- package/dist/task-progress.mjs +4 -0
- package/dist/{terminal-audio-CUs0sqEO.mjs → terminal-audio-DhslppvD.mjs} +1 -1
- package/dist/{terminal-audio-DLOmaKqa.d.mts → terminal-audio-r_TFJTxS.d.mts} +2 -2
- 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.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.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +9 -3
- /package/dist/{document-translation-DhFREeHW.d.mts → document-translation-BAhXJaIl.d.mts} +0 -0
- /package/dist/{hosted-app-CegGJlNp.d.mts → hosted-app-BZvbSDOk.d.mts} +0 -0
- /package/dist/{hosted-app-CNZhVLM_.mjs → hosted-app-DfEh4rR3.mjs} +0 -0
- /package/dist/{local-download-profiles-CNDtMG2s.mjs → local-download-profiles-C8ZHpk2F.mjs} +0 -0
- /package/dist/{markdown-facts-DbE1F2LD.mjs → markdown-facts-ByM-tdm5.mjs} +0 -0
- /package/dist/{markdown-facts-DempqdIX.d.mts → markdown-facts-DQe77Xbc.d.mts} +0 -0
- /package/dist/{opsx-display-path-Cw-5MTRg.mjs → opsx-display-path-DGjayJTF.mjs} +0 -0
- /package/dist/{opsx-display-path-Ky9qnntM.d.mts → opsx-display-path-dEtDIqJD.d.mts} +0 -0
- /package/dist/{opsx-entity-C_51ZEuP.mjs → opsx-entity-DrY7pgMe.mjs} +0 -0
- /package/dist/{opsx-schema-detail-Bu415_NB.mjs → opsx-schema-detail-B-4bLoZS.mjs} +0 -0
- /package/dist/{sounds-50cYk5b0.mjs → sounds-CuSsy7X-.mjs} +0 -0
- /package/dist/{terminal-control-CYZhk7FM.mjs → terminal-control-D5dCna6A.mjs} +0 -0
- /package/dist/{terminal-invocation-IopdwXKL.mjs → terminal-invocation-BSrS_0zu.mjs} +0 -0
- /package/dist/{terminal-invocation-B3js0mEF.d.mts → terminal-invocation-Be3YlFOI.d.mts} +0 -0
- /package/dist/{terminal-theme-CH-VSrAq.d.mts → terminal-theme-DO6B6-o0.d.mts} +0 -0
- /package/dist/{terminal-theme-BquTqZIO.mjs → terminal-theme-TogWGicr.mjs} +0 -0
- /package/dist/{translation-language-pair-DaSvW83F.d.mts → translation-language-pair-C1tou_ks.d.mts} +0 -0
- /package/dist/{translation-language-pair-Cb4a0hG6.mjs → translation-language-pair-D2B_LoN1.mjs} +0 -0
- /package/dist/{translator-CS7MsNZp.d.mts → translator-CZeKoeLW.d.mts} +0 -0
- /package/dist/{translator-Cx9j32Og.mjs → translator-bwybQ07U.mjs} +0 -0
|
@@ -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-C8ZHpk2F.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-DQe77Xbc.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-DQe77Xbc.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-DQe77Xbc.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-BnoDddEA.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-ByM-tdm5.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-4d3w3xgw.mjs";
|
|
3
3
|
|
|
4
4
|
export { MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
|
|
@@ -1,5 +1,5 @@
|
|
|
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-CuSsy7X-.mjs";
|
|
2
|
+
import { t as TerminalControlParser } from "./terminal-control-D5dCna6A.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/notifications.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as SoundId } from "./sounds-
|
|
1
|
+
import { x as SoundId } from "./sounds-Cfo308Lf.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:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
|
|
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:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
|
|
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:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
|
|
69
69
|
volume: number;
|
|
70
70
|
systemNotificationsEnabled: boolean;
|
|
71
71
|
}, {
|
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-Cfo308Lf.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-ConQlEyF.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-CuSsy7X-.mjs";
|
|
2
|
+
import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-D5dCna6A.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-3ZJ6BBzT.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-DQe77Xbc.mjs";
|
|
2
|
+
import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-BnoDddEA.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-ByM-tdm5.mjs";
|
|
2
|
+
import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-4d3w3xgw.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-DQe77Xbc.mjs";
|
|
2
|
+
import "./markdown-reading-BnoDddEA.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-DDKeedpf.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-ByM-tdm5.mjs";
|
|
2
|
+
import "./markdown-reading-4d3w3xgw.mjs";
|
|
3
|
+
import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-DZDb0Qox.mjs";
|
|
4
4
|
|
|
5
5
|
export { annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
|
|
@@ -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-D8sf5fMu.mjs";
|
|
2
|
+
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-BnoDddEA.mjs";
|
|
3
|
+
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DDKeedpf.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,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-4d3w3xgw.mjs";
|
|
2
|
+
import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-DZDb0Qox.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 "./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-D8sf5fMu.mjs";
|
|
2
|
+
import "./markdown-facts-DQe77Xbc.mjs";
|
|
3
|
+
import "./markdown-reading-BnoDddEA.mjs";
|
|
4
|
+
import "./openspec-annotations-DDKeedpf.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-CfsRech9.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-ByM-tdm5.mjs";
|
|
2
|
+
import "./markdown-reading-4d3w3xgw.mjs";
|
|
3
|
+
import "./openspec-annotations-DZDb0Qox.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-DJ_mSfmq.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-dEtDIqJD.mjs";
|
|
2
2
|
export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
|
|
2
|
+
import { n as ChangeFile } from "./schemas-D8sf5fMu.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/opsx-entity.d.ts
|
|
5
|
+
type OpsxEntityStage = 'change' | 'archive';
|
|
6
|
+
interface OpsxEntityDiagnostic {
|
|
7
|
+
level: 'info' | 'warning' | 'error';
|
|
8
|
+
message: string;
|
|
9
|
+
path?: string;
|
|
10
|
+
}
|
|
11
|
+
type OpsxEntityFile = ChangeFile;
|
|
12
|
+
type OpsxEntityArtifactFile = ChangeFile & {
|
|
13
|
+
type: 'file';
|
|
14
|
+
};
|
|
15
|
+
interface OpsxEntityArtifact {
|
|
16
|
+
id: string;
|
|
17
|
+
outputPath: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
files: OpsxEntityArtifactFile[];
|
|
20
|
+
}
|
|
21
|
+
interface OpsxEntityDetail {
|
|
22
|
+
stage: OpsxEntityStage;
|
|
23
|
+
id: string;
|
|
24
|
+
exists: true;
|
|
25
|
+
schemaName?: string;
|
|
26
|
+
files: OpsxEntityFile[];
|
|
27
|
+
artifacts: OpsxEntityArtifact[];
|
|
28
|
+
ungroupedFiles: OpsxEntityFile[];
|
|
29
|
+
diagnostics: OpsxEntityDiagnostic[];
|
|
30
|
+
}
|
|
31
|
+
interface OpsxEntityReadOptions {
|
|
32
|
+
schemas?: Record<string, SchemaDetail | null | undefined>;
|
|
33
|
+
schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
|
|
34
|
+
}
|
|
35
|
+
declare function getOpsxEntityRootRelativePath(stage: OpsxEntityStage, id: string): string;
|
|
36
|
+
declare function getOpsxEntityMetadataPath(stage: OpsxEntityStage, id: string): string;
|
|
37
|
+
interface ParsedEntityMetadata {
|
|
38
|
+
schemaName?: string;
|
|
39
|
+
diagnostics: OpsxEntityDiagnostic[];
|
|
40
|
+
}
|
|
41
|
+
declare function normalizeOpsxEntityPath(path: string): string;
|
|
42
|
+
declare function isOpsxGlobPattern(path: string): boolean;
|
|
43
|
+
declare function opsxGlobToRegex(pattern: string): RegExp;
|
|
44
|
+
declare function opsxPathMatchesPattern(path: string, pattern: string): boolean;
|
|
45
|
+
declare function parseOpsxEntityMetadata(content: string | null | undefined): ParsedEntityMetadata;
|
|
46
|
+
declare function buildOpsxEntityDetail(input: {
|
|
47
|
+
stage: OpsxEntityStage;
|
|
48
|
+
id: string;
|
|
49
|
+
files: ChangeFile[];
|
|
50
|
+
schemas?: Record<string, SchemaDetail | null | undefined>;
|
|
51
|
+
schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
|
|
52
|
+
}): OpsxEntityDetail;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { OpsxEntityFile as a, buildOpsxEntityDetail as c, isOpsxGlobPattern as d, normalizeOpsxEntityPath as f, parseOpsxEntityMetadata as h, OpsxEntityDiagnostic as i, getOpsxEntityMetadataPath as l, opsxPathMatchesPattern as m, OpsxEntityArtifactFile as n, OpsxEntityReadOptions as o, opsxGlobToRegex as p, OpsxEntityDetail as r, OpsxEntityStage as s, OpsxEntityArtifact as t, getOpsxEntityRootRelativePath as u };
|
package/dist/opsx-entity.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./schemas-
|
|
1
|
+
import "./opsx-types-Ccrsvb3l.mjs";
|
|
2
|
+
import "./schemas-D8sf5fMu.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-Bs_B7cxQ.mjs";
|
|
3
4
|
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-DrY7pgMe.mjs";
|
|
2
2
|
|
|
3
3
|
export { buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
|
|
2
|
+
import { i as OpsxEntityDiagnostic } from "./opsx-entity-Bs_B7cxQ.mjs";
|
|
2
3
|
|
|
3
4
|
//#region src/opsx-schema-detail.d.ts
|
|
4
5
|
interface ParsedOpsxSchemaDetail {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "./opsx-
|
|
2
|
-
import "./schemas-
|
|
3
|
-
import
|
|
1
|
+
import "./opsx-types-Ccrsvb3l.mjs";
|
|
2
|
+
import "./schemas-D8sf5fMu.mjs";
|
|
3
|
+
import "./opsx-entity-Bs_B7cxQ.mjs";
|
|
4
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CIXIKaBU.mjs";
|
|
4
5
|
export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { n as ChangeFile } from "./schemas-Dp8-Wm-X.mjs";
|
|
2
1
|
import { z } from "zod";
|
|
3
2
|
|
|
4
3
|
//#region src/opsx-types.d.ts
|
|
@@ -147,15 +146,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
147
146
|
remaining: number;
|
|
148
147
|
};
|
|
149
148
|
state: "ready" | "blocked" | "all_done";
|
|
149
|
+
changeName: string;
|
|
150
|
+
schemaName: string;
|
|
151
|
+
changeDir: string;
|
|
152
|
+
contextFiles: Record<string, string[]>;
|
|
150
153
|
tasks: {
|
|
151
154
|
id: string;
|
|
152
155
|
description: string;
|
|
153
156
|
done: boolean;
|
|
154
157
|
}[];
|
|
155
|
-
changeName: string;
|
|
156
|
-
schemaName: string;
|
|
157
|
-
changeDir: string;
|
|
158
|
-
contextFiles: Record<string, string[]>;
|
|
159
158
|
instruction: string;
|
|
160
159
|
missingArtifacts?: string[] | undefined;
|
|
161
160
|
}, {
|
|
@@ -165,15 +164,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
165
164
|
remaining: number;
|
|
166
165
|
};
|
|
167
166
|
state: "ready" | "blocked" | "all_done";
|
|
167
|
+
changeName: string;
|
|
168
|
+
schemaName: string;
|
|
169
|
+
changeDir: string;
|
|
170
|
+
contextFiles: Record<string, string | string[]>;
|
|
168
171
|
tasks: {
|
|
169
172
|
id: string;
|
|
170
173
|
description: string;
|
|
171
174
|
done: boolean;
|
|
172
175
|
}[];
|
|
173
|
-
changeName: string;
|
|
174
|
-
schemaName: string;
|
|
175
|
-
changeDir: string;
|
|
176
|
-
contextFiles: Record<string, string | string[]>;
|
|
177
176
|
instruction: string;
|
|
178
177
|
missingArtifacts?: string[] | undefined;
|
|
179
178
|
}>;
|
|
@@ -400,54 +399,4 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
400
399
|
}>;
|
|
401
400
|
type SchemaDetail = z.infer<typeof SchemaDetailSchema>;
|
|
402
401
|
//#endregion
|
|
403
|
-
|
|
404
|
-
type OpsxEntityStage = 'change' | 'archive';
|
|
405
|
-
interface OpsxEntityDiagnostic {
|
|
406
|
-
level: 'info' | 'warning' | 'error';
|
|
407
|
-
message: string;
|
|
408
|
-
path?: string;
|
|
409
|
-
}
|
|
410
|
-
type OpsxEntityFile = ChangeFile;
|
|
411
|
-
type OpsxEntityArtifactFile = ChangeFile & {
|
|
412
|
-
type: 'file';
|
|
413
|
-
};
|
|
414
|
-
interface OpsxEntityArtifact {
|
|
415
|
-
id: string;
|
|
416
|
-
outputPath: string;
|
|
417
|
-
description?: string;
|
|
418
|
-
files: OpsxEntityArtifactFile[];
|
|
419
|
-
}
|
|
420
|
-
interface OpsxEntityDetail {
|
|
421
|
-
stage: OpsxEntityStage;
|
|
422
|
-
id: string;
|
|
423
|
-
exists: true;
|
|
424
|
-
schemaName?: string;
|
|
425
|
-
files: OpsxEntityFile[];
|
|
426
|
-
artifacts: OpsxEntityArtifact[];
|
|
427
|
-
ungroupedFiles: OpsxEntityFile[];
|
|
428
|
-
diagnostics: OpsxEntityDiagnostic[];
|
|
429
|
-
}
|
|
430
|
-
interface OpsxEntityReadOptions {
|
|
431
|
-
schemas?: Record<string, SchemaDetail | null | undefined>;
|
|
432
|
-
schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
|
|
433
|
-
}
|
|
434
|
-
declare function getOpsxEntityRootRelativePath(stage: OpsxEntityStage, id: string): string;
|
|
435
|
-
declare function getOpsxEntityMetadataPath(stage: OpsxEntityStage, id: string): string;
|
|
436
|
-
interface ParsedEntityMetadata {
|
|
437
|
-
schemaName?: string;
|
|
438
|
-
diagnostics: OpsxEntityDiagnostic[];
|
|
439
|
-
}
|
|
440
|
-
declare function normalizeOpsxEntityPath(path: string): string;
|
|
441
|
-
declare function isOpsxGlobPattern(path: string): boolean;
|
|
442
|
-
declare function opsxGlobToRegex(pattern: string): RegExp;
|
|
443
|
-
declare function opsxPathMatchesPattern(path: string, pattern: string): boolean;
|
|
444
|
-
declare function parseOpsxEntityMetadata(content: string | null | undefined): ParsedEntityMetadata;
|
|
445
|
-
declare function buildOpsxEntityDetail(input: {
|
|
446
|
-
stage: OpsxEntityStage;
|
|
447
|
-
id: string;
|
|
448
|
-
files: ChangeFile[];
|
|
449
|
-
schemas?: Record<string, SchemaDetail | null | undefined>;
|
|
450
|
-
schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
|
|
451
|
-
}): OpsxEntityDetail;
|
|
452
|
-
//#endregion
|
|
453
|
-
export { SchemaArtifactSchema as A, ArtifactStatus as C, DependencyInfo as D, ChangeStatusSchema as E, SchemaResolution as F, SchemaResolutionSchema as I, TemplatesMap as L, SchemaDetailSchema as M, SchemaInfo as N, DependencyInfoSchema as O, SchemaInfoSchema as P, TemplatesSchema as R, ArtifactInstructionsSchema as S, ChangeStatus as T, ApplyInstructionsContextFilesSchema as _, OpsxEntityFile as a, ApplyTaskSchema as b, buildOpsxEntityDetail as c, isOpsxGlobPattern as d, normalizeOpsxEntityPath as f, ApplyInstructions as g, parseOpsxEntityMetadata as h, OpsxEntityDiagnostic as i, SchemaDetail as j, SchemaArtifact as k, getOpsxEntityMetadataPath as l, opsxPathMatchesPattern as m, OpsxEntityArtifactFile as n, OpsxEntityReadOptions as o, opsxGlobToRegex as p, OpsxEntityDetail as r, OpsxEntityStage as s, OpsxEntityArtifact as t, getOpsxEntityRootRelativePath as u, ApplyInstructionsSchema as v, ArtifactStatusSchema as w, ArtifactInstructions as x, ApplyTask as y, isGlobPattern as z };
|
|
402
|
+
export { TemplatesSchema as C, TemplatesMap as S, SchemaDetailSchema as _, ApplyTaskSchema as a, SchemaResolution as b, ArtifactStatus as c, ChangeStatusSchema as d, DependencyInfo as f, SchemaDetail as g, SchemaArtifactSchema as h, ApplyTask as i, ArtifactStatusSchema as l, SchemaArtifact as m, ApplyInstructionsContextFilesSchema as n, ArtifactInstructions as o, DependencyInfoSchema as p, ApplyInstructionsSchema as r, ArtifactInstructionsSchema as s, ApplyInstructions as t, ChangeStatus as u, SchemaInfo as v, isGlobPattern as w, SchemaResolutionSchema as x, SchemaInfoSchema as y };
|
|
@@ -24,14 +24,14 @@ declare const ChangeFileSchema: z.ZodObject<{
|
|
|
24
24
|
mime?: string | undefined;
|
|
25
25
|
size?: number | undefined;
|
|
26
26
|
content?: string | undefined;
|
|
27
|
-
previewKind?: "
|
|
27
|
+
previewKind?: "html" | "text" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
path: string;
|
|
30
30
|
type: "file" | "directory";
|
|
31
31
|
mime?: string | undefined;
|
|
32
32
|
size?: number | undefined;
|
|
33
33
|
content?: string | undefined;
|
|
34
|
-
previewKind?: "
|
|
34
|
+
previewKind?: "html" | "text" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
type ChangeFile = z.infer<typeof ChangeFileSchema>;
|
|
37
37
|
declare const ScenarioStepKeywordSchema: z.ZodEnum<["GIVEN", "WHEN", "THEN", "AND", "BUT"]>;
|
|
@@ -933,11 +933,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
933
933
|
total: z.ZodNumber;
|
|
934
934
|
completed: z.ZodNumber;
|
|
935
935
|
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
completed: number;
|
|
937
936
|
total: number;
|
|
938
|
-
}, {
|
|
939
937
|
completed: number;
|
|
938
|
+
}, {
|
|
940
939
|
total: number;
|
|
940
|
+
completed: number;
|
|
941
941
|
}>;
|
|
942
942
|
/** Optional design.md content */
|
|
943
943
|
design: z.ZodOptional<z.ZodString>;
|
|
@@ -968,10 +968,16 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
968
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
969
|
id: string;
|
|
970
970
|
progress: {
|
|
971
|
-
completed: number;
|
|
972
971
|
total: number;
|
|
972
|
+
completed: number;
|
|
973
973
|
};
|
|
974
974
|
name: string;
|
|
975
|
+
tasks: {
|
|
976
|
+
id: string;
|
|
977
|
+
text: string;
|
|
978
|
+
completed: boolean;
|
|
979
|
+
section?: string | undefined;
|
|
980
|
+
}[];
|
|
975
981
|
why: string;
|
|
976
982
|
whatChanges: string;
|
|
977
983
|
deltas: {
|
|
@@ -1015,12 +1021,6 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1015
1021
|
to: string;
|
|
1016
1022
|
} | undefined;
|
|
1017
1023
|
}[];
|
|
1018
|
-
tasks: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
text: string;
|
|
1021
|
-
completed: boolean;
|
|
1022
|
-
section?: string | undefined;
|
|
1023
|
-
}[];
|
|
1024
1024
|
metadata?: {
|
|
1025
1025
|
version: string;
|
|
1026
1026
|
format: "openspec-change";
|
|
@@ -1033,10 +1033,16 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1033
1033
|
}, {
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
progress: {
|
|
1036
|
-
completed: number;
|
|
1037
1036
|
total: number;
|
|
1037
|
+
completed: number;
|
|
1038
1038
|
};
|
|
1039
1039
|
name: string;
|
|
1040
|
+
tasks: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
text: string;
|
|
1043
|
+
completed: boolean;
|
|
1044
|
+
section?: string | undefined;
|
|
1045
|
+
}[];
|
|
1040
1046
|
why: string;
|
|
1041
1047
|
whatChanges: string;
|
|
1042
1048
|
deltas: {
|
|
@@ -1080,12 +1086,6 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1080
1086
|
to: string;
|
|
1081
1087
|
} | undefined;
|
|
1082
1088
|
}[];
|
|
1083
|
-
tasks: {
|
|
1084
|
-
id: string;
|
|
1085
|
-
text: string;
|
|
1086
|
-
completed: boolean;
|
|
1087
|
-
section?: string | undefined;
|
|
1088
|
-
}[];
|
|
1089
1089
|
metadata?: {
|
|
1090
1090
|
version?: string | undefined;
|
|
1091
1091
|
format?: "openspec-change" | undefined;
|
|
@@ -23,7 +23,7 @@ declare const LEGACY_SOUND_ID_MAP: {
|
|
|
23
23
|
readonly pulse: "builtin:Tink";
|
|
24
24
|
};
|
|
25
25
|
declare function normalizeLegacySoundId(value: unknown): unknown;
|
|
26
|
-
declare const SoundConfigIdSchema: 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:
|
|
26
|
+
declare const SoundConfigIdSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
|
|
27
27
|
declare const SoundVolumeSchema: z.ZodDefault<z.ZodNumber>;
|
|
28
28
|
type SoundVolume = z.infer<typeof SoundVolumeSchema>;
|
|
29
29
|
interface BuiltinSoundOption {
|
package/dist/sounds.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-
|
|
1
|
+
import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-Cfo308Lf.mjs";
|
|
2
2
|
export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundId, BuiltinSoundIdSchema, BuiltinSoundOption, CUSTOM_SOUND_ADD_VALUE, CustomSoundHash, CustomSoundHashSchema, CustomSoundId, CustomSoundIdSchema, CustomSoundMetadata, CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundId, SoundIdSchema, SoundVolume, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
|
package/dist/sounds.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, d as DEFAULT_SOUND_VOLUME, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-
|
|
1
|
+
import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, d as DEFAULT_SOUND_VOLUME, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-CuSsy7X-.mjs";
|
|
2
2
|
|
|
3
3
|
export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundIdSchema, CUSTOM_SOUND_ADD_VALUE, CustomSoundHashSchema, CustomSoundIdSchema, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundIdSchema, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
|
|
2
|
+
import { n as ChangeFile, v as Task } from "./schemas-D8sf5fMu.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/task-progress.d.ts
|
|
5
|
+
interface TaskProgress {
|
|
6
|
+
total: number;
|
|
7
|
+
completed: number;
|
|
8
|
+
}
|
|
9
|
+
interface TaskProjection {
|
|
10
|
+
tasks: Task[];
|
|
11
|
+
progress: TaskProgress;
|
|
12
|
+
}
|
|
13
|
+
interface TaskProjectionOptions {
|
|
14
|
+
schemaDetail?: SchemaDetail | null;
|
|
15
|
+
hasSchemaMetadata?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function isMarkdownTaskSourcePath(path: string): boolean;
|
|
18
|
+
declare function parseMarkdownTasks(content: string, options?: {
|
|
19
|
+
initialIndex?: number;
|
|
20
|
+
}): Task[];
|
|
21
|
+
declare function computeTaskProgress(tasks: readonly Pick<Task, 'completed'>[]): TaskProgress;
|
|
22
|
+
declare function projectTasksFromMarkdownFiles(files: readonly ChangeFile[], options?: TaskProjectionOptions): TaskProjection;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { isMarkdownTaskSourcePath as a, computeTaskProgress as i, TaskProjection as n, parseMarkdownTasks as o, TaskProjectionOptions as r, projectTasksFromMarkdownFiles as s, TaskProgress as t };
|