@openspecui/core 3.8.0 → 3.10.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-BU8CM7oy.d.mts → document-translation-BZ5QKjN0.d.mts} +24 -24
- package/dist/document-translation.d.mts +1 -1
- package/dist/index.d.mts +54 -54
- package/dist/{local-download-profiles-BA0ArrI0.d.mts → local-download-profiles-Qu1932tV.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-DvyoW8gu.d.mts → notifications-D7tcKw71.d.mts} +13 -13
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BA3r5CYl.d.mts → openspec-projection-Bby9mX80.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-pnjptBhO.d.mts → opsx-entity-DUJvjvrv.d.mts} +13 -13
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-X1wHtEmS.d.mts → opsx-schema-detail-CUG4dYdw.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-P5NxTHR9.d.mts → schemas-CqgvXgGV.d.mts} +42 -42
- package/dist/{sounds-CYknP1uN.d.mts → sounds-DABkmyg9.d.mts} +5 -5
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-DcVgLNsd.d.mts → terminal-audio-CDyXOIWx.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-S8G5xSpv.d.mts → terminal-invocation-BnsT7ae7.d.mts} +91 -91
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-LOd1jBrH.d.mts → translator-C3W7bTIN.d.mts} +41 -41
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -9,11 +9,11 @@ declare const TranslationEngineProjectSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
9
9
|
model: z.ZodOptional<z.ZodString>;
|
|
10
10
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
selectedGroupId?: string | undefined;
|
|
13
12
|
model?: string | undefined;
|
|
14
|
-
}, {
|
|
15
13
|
selectedGroupId?: string | undefined;
|
|
14
|
+
}, {
|
|
16
15
|
model?: string | undefined;
|
|
16
|
+
selectedGroupId?: string | undefined;
|
|
17
17
|
}>>;
|
|
18
18
|
openai: z.ZodDefault<z.ZodObject<{
|
|
19
19
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -24,16 +24,16 @@ declare const TranslationEngineProjectSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
24
24
|
}>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
local: {
|
|
27
|
-
selectedGroupId?: string | undefined;
|
|
28
27
|
model?: string | undefined;
|
|
28
|
+
selectedGroupId?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
openai: {
|
|
31
31
|
model?: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
}, {
|
|
34
34
|
local?: {
|
|
35
|
-
selectedGroupId?: string | undefined;
|
|
36
35
|
model?: string | undefined;
|
|
36
|
+
selectedGroupId?: string | undefined;
|
|
37
37
|
} | undefined;
|
|
38
38
|
openai?: {
|
|
39
39
|
model?: string | undefined;
|
|
@@ -50,11 +50,11 @@ declare const DocumentTranslationConfigSchema: z.ZodObject<{
|
|
|
50
50
|
model: z.ZodOptional<z.ZodString>;
|
|
51
51
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
selectedGroupId?: string | undefined;
|
|
54
53
|
model?: string | undefined;
|
|
55
|
-
}, {
|
|
56
54
|
selectedGroupId?: string | undefined;
|
|
55
|
+
}, {
|
|
57
56
|
model?: string | undefined;
|
|
57
|
+
selectedGroupId?: string | undefined;
|
|
58
58
|
}>>;
|
|
59
59
|
openai: z.ZodDefault<z.ZodObject<{
|
|
60
60
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -65,46 +65,46 @@ declare const DocumentTranslationConfigSchema: z.ZodObject<{
|
|
|
65
65
|
}>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
local: {
|
|
68
|
-
selectedGroupId?: string | undefined;
|
|
69
68
|
model?: string | undefined;
|
|
69
|
+
selectedGroupId?: string | undefined;
|
|
70
70
|
};
|
|
71
71
|
openai: {
|
|
72
72
|
model?: string | undefined;
|
|
73
73
|
};
|
|
74
74
|
}, {
|
|
75
75
|
local?: {
|
|
76
|
-
selectedGroupId?: string | undefined;
|
|
77
76
|
model?: string | undefined;
|
|
77
|
+
selectedGroupId?: string | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
openai?: {
|
|
80
80
|
model?: string | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
}>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
engineId: "browser" | "local" | "openai";
|
|
85
|
-
targetLanguage: string;
|
|
86
84
|
enabled: boolean;
|
|
85
|
+
targetLanguage: string;
|
|
87
86
|
displayMode: "direct" | "bilingual";
|
|
88
87
|
cacheEnabled: boolean;
|
|
88
|
+
engineId: "local" | "openai" | "browser";
|
|
89
89
|
engines: {
|
|
90
90
|
local: {
|
|
91
|
-
selectedGroupId?: string | undefined;
|
|
92
91
|
model?: string | undefined;
|
|
92
|
+
selectedGroupId?: string | undefined;
|
|
93
93
|
};
|
|
94
94
|
openai: {
|
|
95
95
|
model?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
}, {
|
|
99
|
-
engineId?: "browser" | "local" | "openai" | undefined;
|
|
100
|
-
targetLanguage?: string | undefined;
|
|
101
99
|
enabled?: boolean | undefined;
|
|
100
|
+
targetLanguage?: string | undefined;
|
|
102
101
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
103
102
|
cacheEnabled?: boolean | undefined;
|
|
103
|
+
engineId?: "local" | "openai" | "browser" | undefined;
|
|
104
104
|
engines?: {
|
|
105
105
|
local?: {
|
|
106
|
-
selectedGroupId?: string | undefined;
|
|
107
106
|
model?: string | undefined;
|
|
107
|
+
selectedGroupId?: string | undefined;
|
|
108
108
|
} | undefined;
|
|
109
109
|
openai?: {
|
|
110
110
|
model?: string | undefined;
|
|
@@ -150,14 +150,14 @@ declare const TranslationCacheEntrySchema: z.ZodObject<{
|
|
|
150
150
|
createdAt: z.ZodNumber;
|
|
151
151
|
lastAccessedAt: z.ZodNumber;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
engineId: "browser" | "local" | "openai";
|
|
154
|
-
sourceLanguage: string;
|
|
155
|
-
targetLanguage: string;
|
|
156
153
|
createdAt: number;
|
|
154
|
+
targetLanguage: string;
|
|
155
|
+
engineId: "local" | "openai" | "browser";
|
|
157
156
|
key: string;
|
|
158
157
|
keyHash: string;
|
|
159
158
|
sourceText: string;
|
|
160
159
|
translatedText: string;
|
|
160
|
+
sourceLanguage: string;
|
|
161
161
|
placeholderTopologyHash: string;
|
|
162
162
|
attributeTopologyHash: string;
|
|
163
163
|
displayPolicyVersion: number;
|
|
@@ -167,19 +167,19 @@ declare const TranslationCacheEntrySchema: z.ZodObject<{
|
|
|
167
167
|
targetNodesJson?: string | undefined;
|
|
168
168
|
engineVersion?: string | undefined;
|
|
169
169
|
}, {
|
|
170
|
-
sourceLanguage: string;
|
|
171
|
-
targetLanguage: string;
|
|
172
170
|
createdAt: number;
|
|
171
|
+
targetLanguage: string;
|
|
173
172
|
key: string;
|
|
174
173
|
keyHash: string;
|
|
175
174
|
sourceText: string;
|
|
176
175
|
translatedText: string;
|
|
176
|
+
sourceLanguage: string;
|
|
177
177
|
placeholderTopologyHash: string;
|
|
178
178
|
attributeTopologyHash: string;
|
|
179
179
|
displayPolicyVersion: number;
|
|
180
180
|
lastAccessedAt: number;
|
|
181
|
-
engineId?: "browser" | "local" | "openai" | undefined;
|
|
182
181
|
model?: string | undefined;
|
|
182
|
+
engineId?: "local" | "openai" | "browser" | undefined;
|
|
183
183
|
targetNodesJson?: string | undefined;
|
|
184
184
|
engineVersion?: string | undefined;
|
|
185
185
|
translatorContractVersion?: number | undefined;
|
|
@@ -203,13 +203,13 @@ declare const TranslationCacheWriteInputSchema: z.ZodObject<Omit<{
|
|
|
203
203
|
createdAt: z.ZodNumber;
|
|
204
204
|
lastAccessedAt: z.ZodNumber;
|
|
205
205
|
}, "createdAt" | "lastAccessedAt">, "strip", z.ZodTypeAny, {
|
|
206
|
-
engineId: "browser" | "local" | "openai";
|
|
207
|
-
sourceLanguage: string;
|
|
208
206
|
targetLanguage: string;
|
|
207
|
+
engineId: "local" | "openai" | "browser";
|
|
209
208
|
key: string;
|
|
210
209
|
keyHash: string;
|
|
211
210
|
sourceText: string;
|
|
212
211
|
translatedText: string;
|
|
212
|
+
sourceLanguage: string;
|
|
213
213
|
placeholderTopologyHash: string;
|
|
214
214
|
attributeTopologyHash: string;
|
|
215
215
|
displayPolicyVersion: number;
|
|
@@ -218,17 +218,17 @@ declare const TranslationCacheWriteInputSchema: z.ZodObject<Omit<{
|
|
|
218
218
|
targetNodesJson?: string | undefined;
|
|
219
219
|
engineVersion?: string | undefined;
|
|
220
220
|
}, {
|
|
221
|
-
sourceLanguage: string;
|
|
222
221
|
targetLanguage: string;
|
|
223
222
|
key: string;
|
|
224
223
|
keyHash: string;
|
|
225
224
|
sourceText: string;
|
|
226
225
|
translatedText: string;
|
|
226
|
+
sourceLanguage: string;
|
|
227
227
|
placeholderTopologyHash: string;
|
|
228
228
|
attributeTopologyHash: string;
|
|
229
229
|
displayPolicyVersion: number;
|
|
230
|
-
engineId?: "browser" | "local" | "openai" | undefined;
|
|
231
230
|
model?: string | undefined;
|
|
231
|
+
engineId?: "local" | "openai" | "browser" | undefined;
|
|
232
232
|
targetNodesJson?: string | undefined;
|
|
233
233
|
engineVersion?: string | undefined;
|
|
234
234
|
translatorContractVersion?: number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TranslationEngineProjectSettingsSchema, S as TranslationEngineProjectSettings, _ as TranslationCacheSettingsSchema, a as DocumentTranslationConfigSchema, b as TranslationCacheWriteInput, c as DocumentTranslationDisplayModeSchema, d as TRANSLATION_CACHE_POLICY_VERSION, f as TranslationCacheEntry, g as TranslationCacheSettings, h as TranslationCacheReadInputSchema, i as DocumentTranslationConfigInput, l as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, m as TranslationCacheReadInput, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntrySchema, r as DocumentTranslationConfig, s as DocumentTranslationDisplayMode, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheStats, x as TranslationCacheWriteInputSchema, y as TranslationCacheStatsSchema } from "./document-translation-
|
|
1
|
+
import { C as TranslationEngineProjectSettingsSchema, S as TranslationEngineProjectSettings, _ as TranslationCacheSettingsSchema, a as DocumentTranslationConfigSchema, b as TranslationCacheWriteInput, c as DocumentTranslationDisplayModeSchema, d as TRANSLATION_CACHE_POLICY_VERSION, f as TranslationCacheEntry, g as TranslationCacheSettings, h as TranslationCacheReadInputSchema, i as DocumentTranslationConfigInput, l as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, m as TranslationCacheReadInput, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntrySchema, r as DocumentTranslationConfig, s as DocumentTranslationDisplayMode, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheStats, x as TranslationCacheWriteInputSchema, y as TranslationCacheStatsSchema } from "./document-translation-BZ5QKjN0.mjs";
|
|
2
2
|
export { DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DOCUMENT_TRANSLATION_DISPLAY_MODES, DocumentTranslationConfig, DocumentTranslationConfigInput, DocumentTranslationConfigSchema, DocumentTranslationConfigUpdate, DocumentTranslationDisplayMode, DocumentTranslationDisplayModeSchema, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, TRANSLATION_CACHE_POLICY_VERSION, TranslationCacheEntry, TranslationCacheEntrySchema, TranslationCacheReadInput, TranslationCacheReadInputSchema, TranslationCacheSettings, TranslationCacheSettingsSchema, TranslationCacheStats, TranslationCacheStatsSchema, TranslationCacheWriteInput, TranslationCacheWriteInputSchema, TranslationEngineProjectSettings, TranslationEngineProjectSettingsSchema };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { C as TranslationEngineProjectSettingsSchema, S as TranslationEngineProjectSettings, _ as TranslationCacheSettingsSchema, a as DocumentTranslationConfigSchema, b as TranslationCacheWriteInput, c as DocumentTranslationDisplayModeSchema, d as TRANSLATION_CACHE_POLICY_VERSION, f as TranslationCacheEntry, g as TranslationCacheSettings, h as TranslationCacheReadInputSchema, i as DocumentTranslationConfigInput, l as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, m as TranslationCacheReadInput, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntrySchema, r as DocumentTranslationConfig, s as DocumentTranslationDisplayMode, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheStats, x as TranslationCacheWriteInputSchema, y as TranslationCacheStatsSchema } from "./document-translation-
|
|
1
|
+
import { C as TranslationEngineProjectSettingsSchema, S as TranslationEngineProjectSettings, _ as TranslationCacheSettingsSchema, a as DocumentTranslationConfigSchema, b as TranslationCacheWriteInput, c as DocumentTranslationDisplayModeSchema, d as TRANSLATION_CACHE_POLICY_VERSION, f as TranslationCacheEntry, g as TranslationCacheSettings, h as TranslationCacheReadInputSchema, i as DocumentTranslationConfigInput, l as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, m as TranslationCacheReadInput, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntrySchema, r as DocumentTranslationConfig, s as DocumentTranslationDisplayMode, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheStats, x as TranslationCacheWriteInputSchema, y as TranslationCacheStatsSchema } from "./document-translation-BZ5QKjN0.mjs";
|
|
2
2
|
import { a as OPENSPECUI_RUNTIME_CAPABILITIES, c as buildEmbeddedUiLaunchUrl, d as isHostedBackendHealthResponse, f as isSupportedEmbeddedUiUrl, h as resolveHostedAppBaseUrl, i as OFFICIAL_APP_BASE_URL, l as buildHostedLaunchUrl, m as normalizeHostedAppBaseUrl, n as HOSTED_SHELL_PROTOCOL_VERSION, o as OpenSpecUIRuntimeCapability, p as normalizeEmbeddedUiUrl, r as HostedBackendHealthResponse, s as buildBackendHealthPayload, u as isBackendHealthRuntimeMetadata } from "./hosted-app-FuxG4-qA.mjs";
|
|
3
|
-
import { A as SchemaArtifactSchema, C as ArtifactStatus, D as DependencyInfo, E as ChangeStatusSchema, F as SchemaResolution, I as SchemaResolutionSchema, L as TemplatesMap, M as SchemaDetailSchema, N as SchemaInfo, O as DependencyInfoSchema, P as SchemaInfoSchema, R as TemplatesSchema, S as ArtifactInstructionsSchema, T as ChangeStatus, _ as ApplyInstructionsContextFilesSchema, a as OpsxEntityFile, b as ApplyTaskSchema, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, g as ApplyInstructions, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, j as SchemaDetail, k as SchemaArtifact, 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, v as ApplyInstructionsSchema, w as ArtifactStatusSchema, x as ArtifactInstructions, y as ApplyTask, z as isGlobPattern } from "./opsx-entity-
|
|
4
|
-
import { _ as SpecSchema, a as Delta, c as DeltaSchema, d as Requirement, f as RequirementSchema, g as Spec, h as ScenarioStepSchema, i as ChangeSchema, l as DeltaSpec, m as ScenarioStepKeywordSchema, n as ChangeFile, o as DeltaOperation, p as ScenarioStep, r as ChangeFileSchema, s as DeltaOperationType, t as Change, u as DeltaSpecSchema, v as Task, y as TaskSchema } from "./schemas-
|
|
3
|
+
import { A as SchemaArtifactSchema, C as ArtifactStatus, D as DependencyInfo, E as ChangeStatusSchema, F as SchemaResolution, I as SchemaResolutionSchema, L as TemplatesMap, M as SchemaDetailSchema, N as SchemaInfo, O as DependencyInfoSchema, P as SchemaInfoSchema, R as TemplatesSchema, S as ArtifactInstructionsSchema, T as ChangeStatus, _ as ApplyInstructionsContextFilesSchema, a as OpsxEntityFile, b as ApplyTaskSchema, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, g as ApplyInstructions, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, j as SchemaDetail, k as SchemaArtifact, 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, v as ApplyInstructionsSchema, w as ArtifactStatusSchema, x as ArtifactInstructions, y as ApplyTask, z as isGlobPattern } from "./opsx-entity-DUJvjvrv.mjs";
|
|
4
|
+
import { _ as SpecSchema, a as Delta, c as DeltaSchema, d as Requirement, f as RequirementSchema, g as Spec, h as ScenarioStepSchema, i as ChangeSchema, l as DeltaSpec, m as ScenarioStepKeywordSchema, n as ChangeFile, o as DeltaOperation, p as ScenarioStep, r as ChangeFileSchema, s as DeltaOperationType, t as Change, u as DeltaSpecSchema, v as Task, y as TaskSchema } from "./schemas-CqgvXgGV.mjs";
|
|
5
5
|
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-DUsbNcjh.mjs";
|
|
6
6
|
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-DvLPaaY1.mjs";
|
|
7
7
|
import { c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-DVbFBz5J.mjs";
|
|
8
|
-
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-
|
|
9
|
-
import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, 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, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-
|
|
10
|
-
import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, 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-
|
|
11
|
-
import { $ as getTranslationEngineManifest, A as TranslationEngineGlobalSettingsSchema, B as TranslationModelSearchEvent, C as TRANSLATION_ENGINE_MANIFESTS, D as TranslationDownloadGroupPlan, E as TranslationDownloadFilePlanSchema, F as TranslationEngineRuntime, G as TranslationOpenAISettingsSchema, H as TranslationModelSearchPhase, I as TranslationLocalSettings, J as TranslatorFactory, K as Translator, L as TranslationLocalSettingsSchema, M as TranslationEngineId, N as TranslationEngineIdSchema, O as TranslationDownloadGroupPlanSchema, P as TranslationEngineManifest, Q as TranslatorPrepareMonitor, R as TranslationModelCandidate, S as TRANSLATION_ENGINE_IDS, T as TranslationDownloadFilePlan, U as TranslationModelSearchResult, V as TranslationModelSearchInput, W as TranslationOpenAISettings, X as TranslatorFactoryPrepareOptions, Y as TranslatorFactoryCreateOptions, Z as TranslatorOptions, _ as LocalModelDownloadStatus, a as BatchTranslationResult, b as ServiceTranslationEngineId, c as LocalModelAssetLogSchema, d as LocalModelAssetState, f as LocalModelAssetStateSchema, g as LocalModelCatalogSearchEvent, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, j as TranslationEngineGlobalSettingsUpdate, k as TranslationEngineGlobalSettings, l as LocalModelAssetPlanSnapshot, m as LocalModelCatalogLocalResult, n as BatchTranslateEventSchema, o as DEFAULT_TRANSLATION_ENGINE_ID, p as LocalModelCatalogItem, q as TranslatorCreateMonitor, r as BatchTranslateInput, s as LocalModelAssetLog, t as BatchTranslateEvent, u as LocalModelAssetPlanSnapshotSchema, v as LocalModelDownloadStatusSchema, w as TRANSLATOR_CONTRACT_VERSION, x as ServiceTranslationEngineIdSchema, y as SERVICE_TRANSLATION_ENGINE_IDS, z as TranslationModelDownloadPlan } from "./translator-
|
|
12
|
-
import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-
|
|
13
|
-
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-
|
|
8
|
+
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-Bby9mX80.mjs";
|
|
9
|
+
import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, 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, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-DABkmyg9.mjs";
|
|
10
|
+
import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, 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-D7tcKw71.mjs";
|
|
11
|
+
import { $ as getTranslationEngineManifest, A as TranslationEngineGlobalSettingsSchema, B as TranslationModelSearchEvent, C as TRANSLATION_ENGINE_MANIFESTS, D as TranslationDownloadGroupPlan, E as TranslationDownloadFilePlanSchema, F as TranslationEngineRuntime, G as TranslationOpenAISettingsSchema, H as TranslationModelSearchPhase, I as TranslationLocalSettings, J as TranslatorFactory, K as Translator, L as TranslationLocalSettingsSchema, M as TranslationEngineId, N as TranslationEngineIdSchema, O as TranslationDownloadGroupPlanSchema, P as TranslationEngineManifest, Q as TranslatorPrepareMonitor, R as TranslationModelCandidate, S as TRANSLATION_ENGINE_IDS, T as TranslationDownloadFilePlan, U as TranslationModelSearchResult, V as TranslationModelSearchInput, W as TranslationOpenAISettings, X as TranslatorFactoryPrepareOptions, Y as TranslatorFactoryCreateOptions, Z as TranslatorOptions, _ as LocalModelDownloadStatus, a as BatchTranslationResult, b as ServiceTranslationEngineId, c as LocalModelAssetLogSchema, d as LocalModelAssetState, f as LocalModelAssetStateSchema, g as LocalModelCatalogSearchEvent, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, j as TranslationEngineGlobalSettingsUpdate, k as TranslationEngineGlobalSettings, l as LocalModelAssetPlanSnapshot, m as LocalModelCatalogLocalResult, n as BatchTranslateEventSchema, o as DEFAULT_TRANSLATION_ENGINE_ID, p as LocalModelCatalogItem, q as TranslatorCreateMonitor, r as BatchTranslateInput, s as LocalModelAssetLog, t as BatchTranslateEvent, u as LocalModelAssetPlanSnapshotSchema, v as LocalModelDownloadStatusSchema, w as TRANSLATOR_CONTRACT_VERSION, x as ServiceTranslationEngineIdSchema, y as SERVICE_TRANSLATION_ENGINE_IDS, z as TranslationModelDownloadPlan } from "./translator-C3W7bTIN.mjs";
|
|
12
|
+
import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CDyXOIWx.mjs";
|
|
13
|
+
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-Qu1932tV.mjs";
|
|
14
14
|
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CbO6K0Qq.mjs";
|
|
15
|
-
import { $ as PtyServerMessageSchema, B as PtyCreatedResponseSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyBufferResponseSchema, G as PtyListMessageSchema, H as PtyErrorResponseSchema, I as PtyClientMessage, J as PtyPlatform, K as PtyListResponseSchema, L as PtyClientMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBellResponseSchema, Q as PtyServerMessage, R as PtyCloseMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyExitResponseSchema, V as PtyErrorCodeSchema, W as PtyInputMessageSchema, X as PtyProcessTitleResponseSchema, Y as PtyPlatformSchema, Z as PtyResizeMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, et as PtySessionInfo, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyOutputResponseSchema, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, tt as PtyTitleResponseSchema, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreateMessageSchema } from "./terminal-invocation-
|
|
15
|
+
import { $ as PtyServerMessageSchema, B as PtyCreatedResponseSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyBufferResponseSchema, G as PtyListMessageSchema, H as PtyErrorResponseSchema, I as PtyClientMessage, J as PtyPlatform, K as PtyListResponseSchema, L as PtyClientMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBellResponseSchema, Q as PtyServerMessage, R as PtyCloseMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyExitResponseSchema, V as PtyErrorCodeSchema, W as PtyInputMessageSchema, X as PtyProcessTitleResponseSchema, Y as PtyPlatformSchema, Z as PtyResizeMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, et as PtySessionInfo, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyOutputResponseSchema, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, tt as PtyTitleResponseSchema, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreateMessageSchema } from "./terminal-invocation-BnsT7ae7.mjs";
|
|
16
16
|
import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-x_vAHvok.mjs";
|
|
17
|
-
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-
|
|
17
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CUG4dYdw.mjs";
|
|
18
18
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
19
19
|
import { z } from "zod";
|
|
20
20
|
import { EventEmitter } from "events";
|
|
@@ -165,8 +165,8 @@ declare class OpenSpecAdapter {
|
|
|
165
165
|
name: string;
|
|
166
166
|
overview: string;
|
|
167
167
|
requirements: {
|
|
168
|
-
id: string;
|
|
169
168
|
title: string;
|
|
169
|
+
id: string;
|
|
170
170
|
text: string;
|
|
171
171
|
bodyMarkdown: string;
|
|
172
172
|
scenarios: {
|
|
@@ -189,10 +189,16 @@ declare class OpenSpecAdapter {
|
|
|
189
189
|
changes: {
|
|
190
190
|
id: string;
|
|
191
191
|
progress: {
|
|
192
|
-
completed: number;
|
|
193
192
|
total: number;
|
|
193
|
+
completed: number;
|
|
194
194
|
};
|
|
195
195
|
name: string;
|
|
196
|
+
tasks: {
|
|
197
|
+
id: string;
|
|
198
|
+
text: string;
|
|
199
|
+
completed: boolean;
|
|
200
|
+
section?: string | undefined;
|
|
201
|
+
}[];
|
|
196
202
|
why: string;
|
|
197
203
|
whatChanges: string;
|
|
198
204
|
deltas: {
|
|
@@ -200,8 +206,8 @@ declare class OpenSpecAdapter {
|
|
|
200
206
|
spec: string;
|
|
201
207
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
202
208
|
requirements?: {
|
|
203
|
-
id: string;
|
|
204
209
|
title: string;
|
|
210
|
+
id: string;
|
|
205
211
|
text: string;
|
|
206
212
|
bodyMarkdown: string;
|
|
207
213
|
scenarios: {
|
|
@@ -216,8 +222,8 @@ declare class OpenSpecAdapter {
|
|
|
216
222
|
}[];
|
|
217
223
|
}[] | undefined;
|
|
218
224
|
requirement?: {
|
|
219
|
-
id: string;
|
|
220
225
|
title: string;
|
|
226
|
+
id: string;
|
|
221
227
|
text: string;
|
|
222
228
|
bodyMarkdown: string;
|
|
223
229
|
scenarios: {
|
|
@@ -236,12 +242,6 @@ declare class OpenSpecAdapter {
|
|
|
236
242
|
to: string;
|
|
237
243
|
} | undefined;
|
|
238
244
|
}[];
|
|
239
|
-
tasks: {
|
|
240
|
-
id: string;
|
|
241
|
-
text: string;
|
|
242
|
-
completed: boolean;
|
|
243
|
-
section?: string | undefined;
|
|
244
|
-
}[];
|
|
245
245
|
metadata?: {
|
|
246
246
|
version: string;
|
|
247
247
|
format: "openspec-change";
|
|
@@ -858,7 +858,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
|
|
|
858
858
|
lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
|
|
859
859
|
darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
|
|
860
860
|
rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
|
|
861
|
-
bellSound: 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:
|
|
861
|
+
bellSound: 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>>;
|
|
862
862
|
bellVolume: z.ZodDefault<z.ZodNumber>;
|
|
863
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
864
|
fontSize: number;
|
|
@@ -870,7 +870,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
|
|
|
870
870
|
lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
871
871
|
darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
872
872
|
rendererEngine: "xterm" | "ghostty";
|
|
873
|
-
bellSound: "silent" | "builtin:
|
|
873
|
+
bellSound: "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}`;
|
|
874
874
|
bellVolume: number;
|
|
875
875
|
}, {
|
|
876
876
|
fontSize?: number | undefined;
|
|
@@ -961,7 +961,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
961
961
|
lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
|
|
962
962
|
darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
|
|
963
963
|
rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
|
|
964
|
-
bellSound: 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:
|
|
964
|
+
bellSound: 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>>;
|
|
965
965
|
bellVolume: z.ZodDefault<z.ZodNumber>;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
967
|
fontSize: number;
|
|
@@ -973,7 +973,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
973
973
|
lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
974
974
|
darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
975
975
|
rendererEngine: "xterm" | "ghostty";
|
|
976
|
-
bellSound: "silent" | "builtin:
|
|
976
|
+
bellSound: "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}`;
|
|
977
977
|
bellVolume: number;
|
|
978
978
|
}, {
|
|
979
979
|
fontSize?: number | undefined;
|
|
@@ -1006,11 +1006,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1006
1006
|
}>>;
|
|
1007
1007
|
/** Notification preferences */
|
|
1008
1008
|
notifications: z.ZodDefault<z.ZodObject<{
|
|
1009
|
-
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:
|
|
1009
|
+
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>>;
|
|
1010
1010
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1011
1011
|
systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1012
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
sound: "silent" | "builtin:
|
|
1013
|
+
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}`;
|
|
1014
1014
|
volume: number;
|
|
1015
1015
|
systemNotificationsEnabled: boolean;
|
|
1016
1016
|
}, {
|
|
@@ -1030,11 +1030,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1030
1030
|
model: z.ZodOptional<z.ZodString>;
|
|
1031
1031
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
selectedGroupId?: string | undefined;
|
|
1034
1033
|
model?: string | undefined;
|
|
1035
|
-
}, {
|
|
1036
1034
|
selectedGroupId?: string | undefined;
|
|
1035
|
+
}, {
|
|
1037
1036
|
model?: string | undefined;
|
|
1037
|
+
selectedGroupId?: string | undefined;
|
|
1038
1038
|
}>>;
|
|
1039
1039
|
openai: z.ZodDefault<z.ZodObject<{
|
|
1040
1040
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1045,46 +1045,46 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1045
1045
|
}>>;
|
|
1046
1046
|
}, "strip", z.ZodTypeAny, {
|
|
1047
1047
|
local: {
|
|
1048
|
-
selectedGroupId?: string | undefined;
|
|
1049
1048
|
model?: string | undefined;
|
|
1049
|
+
selectedGroupId?: string | undefined;
|
|
1050
1050
|
};
|
|
1051
1051
|
openai: {
|
|
1052
1052
|
model?: string | undefined;
|
|
1053
1053
|
};
|
|
1054
1054
|
}, {
|
|
1055
1055
|
local?: {
|
|
1056
|
-
selectedGroupId?: string | undefined;
|
|
1057
1056
|
model?: string | undefined;
|
|
1057
|
+
selectedGroupId?: string | undefined;
|
|
1058
1058
|
} | undefined;
|
|
1059
1059
|
openai?: {
|
|
1060
1060
|
model?: string | undefined;
|
|
1061
1061
|
} | undefined;
|
|
1062
1062
|
}>>;
|
|
1063
1063
|
}, "strip", z.ZodTypeAny, {
|
|
1064
|
-
engineId: "browser" | "local" | "openai";
|
|
1065
|
-
targetLanguage: string;
|
|
1066
1064
|
enabled: boolean;
|
|
1065
|
+
targetLanguage: string;
|
|
1067
1066
|
displayMode: "direct" | "bilingual";
|
|
1068
1067
|
cacheEnabled: boolean;
|
|
1068
|
+
engineId: "local" | "openai" | "browser";
|
|
1069
1069
|
engines: {
|
|
1070
1070
|
local: {
|
|
1071
|
-
selectedGroupId?: string | undefined;
|
|
1072
1071
|
model?: string | undefined;
|
|
1072
|
+
selectedGroupId?: string | undefined;
|
|
1073
1073
|
};
|
|
1074
1074
|
openai: {
|
|
1075
1075
|
model?: string | undefined;
|
|
1076
1076
|
};
|
|
1077
1077
|
};
|
|
1078
1078
|
}, {
|
|
1079
|
-
engineId?: "browser" | "local" | "openai" | undefined;
|
|
1080
|
-
targetLanguage?: string | undefined;
|
|
1081
1079
|
enabled?: boolean | undefined;
|
|
1080
|
+
targetLanguage?: string | undefined;
|
|
1082
1081
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1083
1082
|
cacheEnabled?: boolean | undefined;
|
|
1083
|
+
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1084
1084
|
engines?: {
|
|
1085
1085
|
local?: {
|
|
1086
|
-
selectedGroupId?: string | undefined;
|
|
1087
1086
|
model?: string | undefined;
|
|
1087
|
+
selectedGroupId?: string | undefined;
|
|
1088
1088
|
} | undefined;
|
|
1089
1089
|
openai?: {
|
|
1090
1090
|
model?: string | undefined;
|
|
@@ -1102,7 +1102,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1102
1102
|
lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1103
1103
|
darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1104
1104
|
rendererEngine: "xterm" | "ghostty";
|
|
1105
|
-
bellSound: "silent" | "builtin:
|
|
1105
|
+
bellSound: "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}`;
|
|
1106
1106
|
bellVolume: number;
|
|
1107
1107
|
};
|
|
1108
1108
|
theme: "light" | "dark" | "system";
|
|
@@ -1124,20 +1124,20 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1124
1124
|
diffEagerLineBudget: number;
|
|
1125
1125
|
};
|
|
1126
1126
|
notifications: {
|
|
1127
|
-
sound: "silent" | "builtin:
|
|
1127
|
+
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}`;
|
|
1128
1128
|
volume: number;
|
|
1129
1129
|
systemNotificationsEnabled: boolean;
|
|
1130
1130
|
};
|
|
1131
1131
|
translation: {
|
|
1132
|
-
engineId: "browser" | "local" | "openai";
|
|
1133
|
-
targetLanguage: string;
|
|
1134
1132
|
enabled: boolean;
|
|
1133
|
+
targetLanguage: string;
|
|
1135
1134
|
displayMode: "direct" | "bilingual";
|
|
1136
1135
|
cacheEnabled: boolean;
|
|
1136
|
+
engineId: "local" | "openai" | "browser";
|
|
1137
1137
|
engines: {
|
|
1138
1138
|
local: {
|
|
1139
|
-
selectedGroupId?: string | undefined;
|
|
1140
1139
|
model?: string | undefined;
|
|
1140
|
+
selectedGroupId?: string | undefined;
|
|
1141
1141
|
};
|
|
1142
1142
|
openai: {
|
|
1143
1143
|
model?: string | undefined;
|
|
@@ -1182,15 +1182,15 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1182
1182
|
systemNotificationsEnabled?: boolean | undefined;
|
|
1183
1183
|
} | undefined;
|
|
1184
1184
|
translation?: {
|
|
1185
|
-
engineId?: "browser" | "local" | "openai" | undefined;
|
|
1186
|
-
targetLanguage?: string | undefined;
|
|
1187
1185
|
enabled?: boolean | undefined;
|
|
1186
|
+
targetLanguage?: string | undefined;
|
|
1188
1187
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1189
1188
|
cacheEnabled?: boolean | undefined;
|
|
1189
|
+
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1190
1190
|
engines?: {
|
|
1191
1191
|
local?: {
|
|
1192
|
-
selectedGroupId?: string | undefined;
|
|
1193
1192
|
model?: string | undefined;
|
|
1193
|
+
selectedGroupId?: string | undefined;
|
|
1194
1194
|
} | undefined;
|
|
1195
1195
|
openai?: {
|
|
1196
1196
|
model?: string | undefined;
|
|
@@ -1298,13 +1298,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1298
1298
|
token: z.ZodDefault<z.ZodString>;
|
|
1299
1299
|
model: z.ZodDefault<z.ZodString>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
model: string;
|
|
1301
1302
|
baseUrl: string;
|
|
1302
1303
|
token: string;
|
|
1303
|
-
model: string;
|
|
1304
1304
|
}, {
|
|
1305
|
+
model?: string | undefined;
|
|
1305
1306
|
baseUrl?: string | undefined;
|
|
1306
1307
|
token?: string | undefined;
|
|
1307
|
-
model?: string | undefined;
|
|
1308
1308
|
}>>;
|
|
1309
1309
|
local: z.ZodDefault<z.ZodObject<{
|
|
1310
1310
|
model: z.ZodDefault<z.ZodString>;
|
|
@@ -1315,8 +1315,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1315
1315
|
hfEndpoint: string;
|
|
1316
1316
|
selectedGroupId?: string | undefined;
|
|
1317
1317
|
}, {
|
|
1318
|
-
selectedGroupId?: string | undefined;
|
|
1319
1318
|
model?: string | undefined;
|
|
1319
|
+
selectedGroupId?: string | undefined;
|
|
1320
1320
|
hfEndpoint?: string | undefined;
|
|
1321
1321
|
}>>;
|
|
1322
1322
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1326,20 +1326,20 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1326
1326
|
selectedGroupId?: string | undefined;
|
|
1327
1327
|
};
|
|
1328
1328
|
openai: {
|
|
1329
|
+
model: string;
|
|
1329
1330
|
baseUrl: string;
|
|
1330
1331
|
token: string;
|
|
1331
|
-
model: string;
|
|
1332
1332
|
};
|
|
1333
1333
|
}, {
|
|
1334
1334
|
local?: {
|
|
1335
|
-
selectedGroupId?: string | undefined;
|
|
1336
1335
|
model?: string | undefined;
|
|
1336
|
+
selectedGroupId?: string | undefined;
|
|
1337
1337
|
hfEndpoint?: string | undefined;
|
|
1338
1338
|
} | undefined;
|
|
1339
1339
|
openai?: {
|
|
1340
|
+
model?: string | undefined;
|
|
1340
1341
|
baseUrl?: string | undefined;
|
|
1341
1342
|
token?: string | undefined;
|
|
1342
|
-
model?: string | undefined;
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
}>>;
|
|
1345
1345
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1353,9 +1353,9 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1353
1353
|
selectedGroupId?: string | undefined;
|
|
1354
1354
|
};
|
|
1355
1355
|
openai: {
|
|
1356
|
+
model: string;
|
|
1356
1357
|
baseUrl: string;
|
|
1357
1358
|
token: string;
|
|
1358
|
-
model: string;
|
|
1359
1359
|
};
|
|
1360
1360
|
};
|
|
1361
1361
|
}, {
|
|
@@ -1364,14 +1364,14 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1364
1364
|
} | undefined;
|
|
1365
1365
|
translationEngines?: {
|
|
1366
1366
|
local?: {
|
|
1367
|
-
selectedGroupId?: string | undefined;
|
|
1368
1367
|
model?: string | undefined;
|
|
1368
|
+
selectedGroupId?: string | undefined;
|
|
1369
1369
|
hfEndpoint?: string | undefined;
|
|
1370
1370
|
} | undefined;
|
|
1371
1371
|
openai?: {
|
|
1372
|
+
model?: string | undefined;
|
|
1372
1373
|
baseUrl?: string | undefined;
|
|
1373
1374
|
token?: string | undefined;
|
|
1374
|
-
model?: string | undefined;
|
|
1375
1375
|
} | undefined;
|
|
1376
1376
|
} | undefined;
|
|
1377
1377
|
}>;
|
package/dist/{local-download-profiles-BA0ArrI0.d.mts → local-download-profiles-Qu1932tV.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as TranslationDownloadGroupPlan, z as TranslationModelDownloadPlan } from "./translator-
|
|
1
|
+
import { D as TranslationDownloadGroupPlan, z as TranslationModelDownloadPlan } from "./translator-C3W7bTIN.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-C3W7bTIN.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-Qu1932tV.mjs";
|
|
3
3
|
export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
|