@openspecui/core 3.8.0 → 3.9.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.
@@ -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,36 +150,36 @@ 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
153
  targetLanguage: string;
156
- createdAt: number;
154
+ engineId: "local" | "openai" | "browser";
157
155
  key: string;
158
156
  keyHash: string;
159
157
  sourceText: string;
160
158
  translatedText: string;
159
+ sourceLanguage: string;
161
160
  placeholderTopologyHash: string;
162
161
  attributeTopologyHash: string;
163
162
  displayPolicyVersion: number;
164
163
  translatorContractVersion: number;
164
+ createdAt: number;
165
165
  lastAccessedAt: number;
166
166
  model?: string | undefined;
167
167
  targetNodesJson?: string | undefined;
168
168
  engineVersion?: string | undefined;
169
169
  }, {
170
- sourceLanguage: string;
171
170
  targetLanguage: string;
172
- createdAt: number;
173
171
  key: string;
174
172
  keyHash: string;
175
173
  sourceText: string;
176
174
  translatedText: string;
175
+ sourceLanguage: string;
177
176
  placeholderTopologyHash: string;
178
177
  attributeTopologyHash: string;
179
178
  displayPolicyVersion: number;
179
+ createdAt: 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-BU8CM7oy.mjs";
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-gGEfTK6J.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-BU8CM7oy.mjs";
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-gGEfTK6J.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-pnjptBhO.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-CuZmeham.mjs";
4
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-P5NxTHR9.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
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-BA3r5CYl.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-CYknP1uN.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-DvyoW8gu.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-LOd1jBrH.mjs";
12
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DcVgLNsd.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-BA0ArrI0.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-BcyENEk7.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-BEhPdQGs.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-Cx0TCYld.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-S8G5xSpv.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-CWevPxkf.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-X1wHtEmS.mjs";
17
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-Ca3CvTQg.mjs";
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { z } from "zod";
20
20
  import { EventEmitter } from "events";
@@ -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: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>>;
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: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}`;
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: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>>;
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: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}`;
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: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>>;
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: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}`;
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: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}`;
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: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}`;
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
  }>;
@@ -1,4 +1,4 @@
1
- import { D as TranslationDownloadGroupPlan, z as TranslationModelDownloadPlan } from "./translator-LOd1jBrH.mjs";
1
+ import { D as TranslationDownloadGroupPlan, z as TranslationModelDownloadPlan } from "./translator-BEhPdQGs.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-LOd1jBrH.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-BA0ArrI0.mjs";
1
+ import "./translator-BEhPdQGs.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-Cx0TCYld.mjs";
3
3
  export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-CYknP1uN.mjs";
1
+ import { x as SoundId } from "./sounds-DABkmyg9.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: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>;
57
+ declare const NotificationSoundSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
58
58
  type NotificationSound = SoundId;
59
59
  declare const NOTIFICATION_SOUND_OPTIONS: readonly {
60
60
  id: NotificationSound;
61
61
  label: string;
62
62
  }[];
63
63
  declare const NotificationSettingsSchema: z.ZodObject<{
64
- sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin: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>>;
64
+ sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
65
65
  volume: z.ZodDefault<z.ZodNumber>;
66
66
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- sound: "silent" | "builtin: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}`;
68
+ sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
69
69
  volume: number;
70
70
  systemNotificationsEnabled: boolean;
71
71
  }, {
@@ -446,8 +446,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
446
446
  createdAt: z.ZodNumber;
447
447
  groupKey: z.ZodString;
448
448
  }, "strip", z.ZodTypeAny, {
449
- id: string;
450
449
  createdAt: number;
450
+ id: string;
451
451
  title: string;
452
452
  body: string;
453
453
  source: {
@@ -483,8 +483,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
483
483
  level: "error" | "info" | "success" | "warning";
484
484
  groupKey: string;
485
485
  }, {
486
- id: string;
487
486
  createdAt: number;
487
+ id: string;
488
488
  title: string;
489
489
  source: {
490
490
  type: "terminal";
@@ -1,3 +1,3 @@
1
- import "./sounds-CYknP1uN.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-DvyoW8gu.mjs";
1
+ import "./sounds-DABkmyg9.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-BcyENEk7.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 };
@@ -250,13 +250,13 @@ declare const SchemaInfoSchema: z.ZodObject<{
250
250
  artifacts: z.ZodArray<z.ZodString, "many">;
251
251
  source: z.ZodEnum<["project", "user", "package"]>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- name: string;
254
253
  source: "project" | "user" | "package";
254
+ name: string;
255
255
  artifacts: string[];
256
256
  description?: string | undefined;
257
257
  }, {
258
- name: string;
259
258
  source: "project" | "user" | "package";
259
+ name: string;
260
260
  artifacts: string[];
261
261
  description?: string | undefined;
262
262
  }>;
@@ -281,8 +281,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
281
281
  }>, "many">;
282
282
  }, "strip", z.ZodTypeAny, {
283
283
  path: string;
284
- name: string;
285
284
  source: "project" | "user" | "package";
285
+ name: string;
286
286
  shadows: {
287
287
  path: string;
288
288
  source: "project" | "user" | "package";
@@ -291,8 +291,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
291
291
  displayPath?: string | undefined;
292
292
  }, {
293
293
  path: string;
294
- name: string;
295
294
  source: "project" | "user" | "package";
295
+ name: string;
296
296
  shadows: {
297
297
  path: string;
298
298
  source: "project" | "user" | "package";
@@ -1,3 +1,3 @@
1
- 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-pnjptBhO.mjs";
1
+ 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-CuZmeham.mjs";
2
2
  import "./schemas-P5NxTHR9.mjs";
3
3
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,4 +1,4 @@
1
- import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-pnjptBhO.mjs";
1
+ import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-CuZmeham.mjs";
2
2
 
3
3
  //#region src/opsx-schema-detail.d.ts
4
4
  interface ParsedOpsxSchemaDetail {
@@ -1,4 +1,4 @@
1
- import "./opsx-entity-pnjptBhO.mjs";
1
+ import "./opsx-entity-CuZmeham.mjs";
2
2
  import "./schemas-P5NxTHR9.mjs";
3
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-X1wHtEmS.mjs";
3
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-Ca3CvTQg.mjs";
4
4
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -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: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>;
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: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>;
27
27
  declare const SoundVolumeSchema: z.ZodDefault<z.ZodNumber>;
28
28
  type SoundVolume = z.infer<typeof SoundVolumeSchema>;
29
29
  interface BuiltinSoundOption {
@@ -41,19 +41,19 @@ declare const CustomSoundMetadataSchema: z.ZodObject<{
41
41
  createdAt: z.ZodNumber;
42
42
  updatedAt: z.ZodNumber;
43
43
  }, "strip", z.ZodTypeAny, {
44
+ createdAt: number;
44
45
  id: string;
45
46
  updatedAt: number;
46
47
  name: string;
47
48
  mime: string;
48
49
  size: number;
49
- createdAt: number;
50
50
  }, {
51
+ createdAt: number;
51
52
  id: string;
52
53
  updatedAt: number;
53
54
  name: string;
54
55
  mime: string;
55
56
  size: number;
56
- createdAt: number;
57
57
  }>;
58
58
  type CustomSoundMetadata = z.infer<typeof CustomSoundMetadataSchema>;
59
59
  declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -64,19 +64,19 @@ declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObjec
64
64
  createdAt: z.ZodNumber;
65
65
  updatedAt: z.ZodNumber;
66
66
  }, "strip", z.ZodTypeAny, {
67
+ createdAt: number;
67
68
  id: string;
68
69
  updatedAt: number;
69
70
  name: string;
70
71
  mime: string;
71
72
  size: number;
72
- createdAt: number;
73
73
  }, {
74
+ createdAt: number;
74
75
  id: string;
75
76
  updatedAt: number;
76
77
  name: string;
77
78
  mime: string;
78
79
  size: number;
79
- createdAt: number;
80
80
  }>>;
81
81
  type CustomSoundMetadataFile = z.infer<typeof CustomSoundMetadataFileSchema>;
82
82
  declare function soundIdFromCustomHash(hash: CustomSoundHash): CustomSoundId;
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-CYknP1uN.mjs";
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-DABkmyg9.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 };
@@ -1,9 +1,9 @@
1
- import { x as SoundId } from "./sounds-CYknP1uN.mjs";
1
+ import { x as SoundId } from "./sounds-DABkmyg9.mjs";
2
2
  import * as zod0 from "zod";
3
3
 
4
4
  //#region src/terminal-audio.d.ts
5
5
  declare const TERMINAL_BELL_SOUND_VALUES: readonly ["silent", "bell", "soft", "clear", "pulse"];
6
- declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.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"]>, zod0.ZodType<`custom:${string}`, zod0.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>;
6
+ declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.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"]>, zod0.ZodType<`custom:${string}`, zod0.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>;
7
7
  type TerminalBellSound = SoundId;
8
8
  declare const TERMINAL_BELL_SOUND_OPTIONS: readonly {
9
9
  id: TerminalBellSound;
@@ -1,3 +1,3 @@
1
- import "./sounds-CYknP1uN.mjs";
2
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DcVgLNsd.mjs";
1
+ import "./sounds-DABkmyg9.mjs";
2
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CDyXOIWx.mjs";
3
3
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSound, TerminalBellSoundSchema };
@@ -1,3 +1,3 @@
1
- import "./sounds-CYknP1uN.mjs";
2
- import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-DvyoW8gu.mjs";
1
+ import "./sounds-DABkmyg9.mjs";
2
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-BcyENEk7.mjs";
3
3
  export { TerminalControlEvent, TerminalControlParseResult, TerminalControlParser, TerminalNotificationProtocol, TerminalProgressState, TerminalPromptState, TerminalTitleTarget, terminalNotificationEventToPublishInput };
@@ -463,12 +463,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
463
463
  value: number | null;
464
464
  type: "progress";
465
465
  sessionId: string;
466
- state: "error" | "set" | "clear" | "warning" | "indeterminate";
466
+ state: "clear" | "set" | "error" | "warning" | "indeterminate";
467
467
  }, {
468
468
  value: number | null;
469
469
  type: "progress";
470
470
  sessionId: string;
471
- state: "error" | "set" | "clear" | "warning" | "indeterminate";
471
+ state: "clear" | "set" | "error" | "warning" | "indeterminate";
472
472
  }>, z.ZodObject<{
473
473
  type: z.ZodLiteral<"prompt-state">;
474
474
  sessionId: z.ZodString;
@@ -631,9 +631,9 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
631
631
  required: z.ZodDefault<z.ZodBoolean>;
632
632
  advanced: z.ZodDefault<z.ZodBoolean>;
633
633
  }, "strip", z.ZodTypeAny, {
634
- required: boolean;
635
634
  options: string[];
636
635
  type: "boolean" | "text" | "textarea" | "select";
636
+ required: boolean;
637
637
  id: string;
638
638
  label: string;
639
639
  advanced: boolean;
@@ -644,8 +644,8 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
644
644
  type: "boolean" | "text" | "textarea" | "select";
645
645
  id: string;
646
646
  label: string;
647
- required?: boolean | undefined;
648
647
  options?: string[] | undefined;
648
+ required?: boolean | undefined;
649
649
  description?: string | undefined;
650
650
  placeholder?: string | undefined;
651
651
  defaultValue?: string | boolean | undefined;
@@ -733,8 +733,8 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
733
733
  }>>>;
734
734
  required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
735
735
  }, "strip", z.ZodTypeAny, {
736
- required: string[];
737
736
  type: "object";
737
+ required: string[];
738
738
  properties: Record<string, {
739
739
  type: "string" | "boolean";
740
740
  description?: string | undefined;
@@ -778,8 +778,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
778
778
  }>>>;
779
779
  required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
780
780
  }, "strip", z.ZodTypeAny, {
781
- required: string[];
782
781
  type: "object";
782
+ required: string[];
783
783
  properties: Record<string, {
784
784
  type: "string" | "boolean";
785
785
  description?: string | undefined;
@@ -801,8 +801,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
801
801
  uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
802
802
  }, "strip", z.ZodTypeAny, {
803
803
  schema: {
804
- required: string[];
805
804
  type: "object";
805
+ required: string[];
806
806
  properties: Record<string, {
807
807
  type: "string" | "boolean";
808
808
  description?: string | undefined;
@@ -998,9 +998,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
998
998
  required: z.ZodDefault<z.ZodBoolean>;
999
999
  advanced: z.ZodDefault<z.ZodBoolean>;
1000
1000
  }, "strip", z.ZodTypeAny, {
1001
- required: boolean;
1002
1001
  options: string[];
1003
1002
  type: "boolean" | "text" | "textarea" | "select";
1003
+ required: boolean;
1004
1004
  id: string;
1005
1005
  label: string;
1006
1006
  advanced: boolean;
@@ -1011,8 +1011,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1011
1011
  type: "boolean" | "text" | "textarea" | "select";
1012
1012
  id: string;
1013
1013
  label: string;
1014
- required?: boolean | undefined;
1015
1014
  options?: string[] | undefined;
1015
+ required?: boolean | undefined;
1016
1016
  description?: string | undefined;
1017
1017
  placeholder?: string | undefined;
1018
1018
  defaultValue?: string | boolean | undefined;
@@ -1042,8 +1042,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1042
1042
  }>>>;
1043
1043
  required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1044
1044
  }, "strip", z.ZodTypeAny, {
1045
- required: string[];
1046
1045
  type: "object";
1046
+ required: string[];
1047
1047
  properties: Record<string, {
1048
1048
  type: "string" | "boolean";
1049
1049
  description?: string | undefined;
@@ -1065,8 +1065,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1065
1065
  uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1066
1066
  }, "strip", z.ZodTypeAny, {
1067
1067
  schema: {
1068
- required: string[];
1069
1068
  type: "object";
1069
+ required: string[];
1070
1070
  properties: Record<string, {
1071
1071
  type: "string" | "boolean";
1072
1072
  description?: string | undefined;
@@ -1190,9 +1190,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1190
1190
  flag: string;
1191
1191
  })[];
1192
1192
  fields: {
1193
- required: boolean;
1194
1193
  options: string[];
1195
1194
  type: "boolean" | "text" | "textarea" | "select";
1195
+ required: boolean;
1196
1196
  id: string;
1197
1197
  label: string;
1198
1198
  advanced: boolean;
@@ -1203,8 +1203,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1203
1203
  description?: string | undefined;
1204
1204
  parameters?: {
1205
1205
  schema: {
1206
- required: string[];
1207
1206
  type: "object";
1207
+ required: string[];
1208
1208
  properties: Record<string, {
1209
1209
  type: "string" | "boolean";
1210
1210
  description?: string | undefined;
@@ -1258,8 +1258,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1258
1258
  type: "boolean" | "text" | "textarea" | "select";
1259
1259
  id: string;
1260
1260
  label: string;
1261
- required?: boolean | undefined;
1262
1261
  options?: string[] | undefined;
1262
+ required?: boolean | undefined;
1263
1263
  description?: string | undefined;
1264
1264
  placeholder?: string | undefined;
1265
1265
  defaultValue?: string | boolean | undefined;
@@ -1378,9 +1378,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1378
1378
  required: z.ZodDefault<z.ZodBoolean>;
1379
1379
  advanced: z.ZodDefault<z.ZodBoolean>;
1380
1380
  }, "strip", z.ZodTypeAny, {
1381
- required: boolean;
1382
1381
  options: string[];
1383
1382
  type: "boolean" | "text" | "textarea" | "select";
1383
+ required: boolean;
1384
1384
  id: string;
1385
1385
  label: string;
1386
1386
  advanced: boolean;
@@ -1391,8 +1391,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1391
1391
  type: "boolean" | "text" | "textarea" | "select";
1392
1392
  id: string;
1393
1393
  label: string;
1394
- required?: boolean | undefined;
1395
1394
  options?: string[] | undefined;
1395
+ required?: boolean | undefined;
1396
1396
  description?: string | undefined;
1397
1397
  placeholder?: string | undefined;
1398
1398
  defaultValue?: string | boolean | undefined;
@@ -1422,8 +1422,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1422
1422
  }>>>;
1423
1423
  required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- required: string[];
1426
1425
  type: "object";
1426
+ required: string[];
1427
1427
  properties: Record<string, {
1428
1428
  type: "string" | "boolean";
1429
1429
  description?: string | undefined;
@@ -1445,8 +1445,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1445
1445
  uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1446
1446
  }, "strip", z.ZodTypeAny, {
1447
1447
  schema: {
1448
- required: string[];
1449
1448
  type: "object";
1449
+ required: string[];
1450
1450
  properties: Record<string, {
1451
1451
  type: "string" | "boolean";
1452
1452
  description?: string | undefined;
@@ -1570,9 +1570,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1570
1570
  flag: string;
1571
1571
  })[];
1572
1572
  fields: {
1573
- required: boolean;
1574
1573
  options: string[];
1575
1574
  type: "boolean" | "text" | "textarea" | "select";
1575
+ required: boolean;
1576
1576
  id: string;
1577
1577
  label: string;
1578
1578
  advanced: boolean;
@@ -1583,8 +1583,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1583
1583
  description?: string | undefined;
1584
1584
  parameters?: {
1585
1585
  schema: {
1586
- required: string[];
1587
1586
  type: "object";
1587
+ required: string[];
1588
1588
  properties: Record<string, {
1589
1589
  type: "string" | "boolean";
1590
1590
  description?: string | undefined;
@@ -1638,8 +1638,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1638
1638
  type: "boolean" | "text" | "textarea" | "select";
1639
1639
  id: string;
1640
1640
  label: string;
1641
- required?: boolean | undefined;
1642
1641
  options?: string[] | undefined;
1642
+ required?: boolean | undefined;
1643
1643
  description?: string | undefined;
1644
1644
  placeholder?: string | undefined;
1645
1645
  defaultValue?: string | boolean | undefined;
@@ -1708,9 +1708,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1708
1708
  flag: string;
1709
1709
  })[];
1710
1710
  fields: {
1711
- required: boolean;
1712
1711
  options: string[];
1713
1712
  type: "boolean" | "text" | "textarea" | "select";
1713
+ required: boolean;
1714
1714
  id: string;
1715
1715
  label: string;
1716
1716
  advanced: boolean;
@@ -1721,8 +1721,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1721
1721
  description?: string | undefined;
1722
1722
  parameters?: {
1723
1723
  schema: {
1724
- required: string[];
1725
1724
  type: "object";
1725
+ required: string[];
1726
1726
  properties: Record<string, {
1727
1727
  type: "string" | "boolean";
1728
1728
  description?: string | undefined;
@@ -1788,8 +1788,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1788
1788
  type: "boolean" | "text" | "textarea" | "select";
1789
1789
  id: string;
1790
1790
  label: string;
1791
- required?: boolean | undefined;
1792
1791
  options?: string[] | undefined;
1792
+ required?: boolean | undefined;
1793
1793
  description?: string | undefined;
1794
1794
  placeholder?: string | undefined;
1795
1795
  defaultValue?: string | boolean | undefined;
@@ -1,2 +1,2 @@
1
- import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-S8G5xSpv.mjs";
1
+ import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-CWevPxkf.mjs";
2
2
  export { BUILTIN_TERMINAL_SPAWN_COMMANDS, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TerminalCommandArgument, TerminalCommandBuilder, TerminalCommandBuilderPart, TerminalCommandField, TerminalCommandFieldSchema, TerminalCommandFieldValue, TerminalCommandFieldValues, TerminalCommandJsonSchema, TerminalCommandJsonSchemaProperty, TerminalCommandParameters, TerminalCommandRenderResult, TerminalInvocationSettings, TerminalInvocationSettingsSchema, TerminalShellDefaults, TerminalShellEnv, TerminalShellProfile, TerminalShellProfileSchema, TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, TerminalSpawnCommand, TerminalSpawnCommandSchema, fieldsToTerminalCommandParameters, getTerminalCommandDefaultValues, getTerminalCommandParameters, quoteTerminalShellArg, renderTerminalCommandArgs, renderTerminalSpawnCommand, renderTerminalSpawnCommandLine, resolveTerminalShellDefaults };
@@ -201,12 +201,12 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
201
201
  engineId: "local";
202
202
  modelId: string;
203
203
  updatedAt: number;
204
+ selectedGroupId?: string | undefined;
204
205
  files?: {
205
206
  path: string;
206
207
  sizeBytes?: number | undefined;
207
208
  downloadedBytes?: number | undefined;
208
209
  }[] | undefined;
209
- selectedGroupId?: string | undefined;
210
210
  progress?: number | undefined;
211
211
  bytesDownloaded?: number | undefined;
212
212
  totalBytes?: number | undefined;
@@ -218,12 +218,12 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
218
218
  engineId: "local";
219
219
  modelId: string;
220
220
  updatedAt: number;
221
+ selectedGroupId?: string | undefined;
221
222
  files?: {
222
223
  path: string;
223
224
  sizeBytes?: number | undefined;
224
225
  downloadedBytes?: number | undefined;
225
226
  }[] | undefined;
226
- selectedGroupId?: string | undefined;
227
227
  progress?: number | undefined;
228
228
  bytesDownloaded?: number | undefined;
229
229
  totalBytes?: number | undefined;
@@ -307,9 +307,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
307
307
  sizeBytes?: number | undefined;
308
308
  }[];
309
309
  modelId: string;
310
+ selectedGroupId?: string | undefined;
310
311
  profile?: string | undefined;
311
312
  estimatedTotalBytes?: number | undefined;
312
- selectedGroupId?: string | undefined;
313
313
  groups?: {
314
314
  id: string;
315
315
  label: string;
@@ -332,9 +332,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
332
332
  sizeBytes?: number | undefined;
333
333
  }[];
334
334
  modelId: string;
335
+ selectedGroupId?: string | undefined;
335
336
  profile?: string | undefined;
336
337
  estimatedTotalBytes?: number | undefined;
337
- selectedGroupId?: string | undefined;
338
338
  groups?: {
339
339
  id: string;
340
340
  label: string;
@@ -439,9 +439,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
439
439
  sizeBytes?: number | undefined;
440
440
  }[];
441
441
  modelId: string;
442
+ selectedGroupId?: string | undefined;
442
443
  profile?: string | undefined;
443
444
  estimatedTotalBytes?: number | undefined;
444
- selectedGroupId?: string | undefined;
445
445
  groups?: {
446
446
  id: string;
447
447
  label: string;
@@ -464,9 +464,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
464
464
  sizeBytes?: number | undefined;
465
465
  }[];
466
466
  modelId: string;
467
+ selectedGroupId?: string | undefined;
467
468
  profile?: string | undefined;
468
469
  estimatedTotalBytes?: number | undefined;
469
- selectedGroupId?: string | undefined;
470
470
  groups?: {
471
471
  id: string;
472
472
  label: string;
@@ -519,9 +519,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
519
519
  sizeBytes?: number | undefined;
520
520
  }[];
521
521
  modelId: string;
522
+ selectedGroupId?: string | undefined;
522
523
  profile?: string | undefined;
523
524
  estimatedTotalBytes?: number | undefined;
524
- selectedGroupId?: string | undefined;
525
525
  groups?: {
526
526
  id: string;
527
527
  label: string;
@@ -540,8 +540,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
540
540
  } | undefined;
541
541
  }, {
542
542
  modelId: string;
543
- error?: string | undefined;
544
543
  status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
544
+ error?: string | undefined;
545
545
  selected?: boolean | undefined;
546
546
  files?: {
547
547
  path: string;
@@ -561,9 +561,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
561
561
  sizeBytes?: number | undefined;
562
562
  }[];
563
563
  modelId: string;
564
+ selectedGroupId?: string | undefined;
564
565
  profile?: string | undefined;
565
566
  estimatedTotalBytes?: number | undefined;
566
- selectedGroupId?: string | undefined;
567
567
  groups?: {
568
568
  id: string;
569
569
  label: string;
@@ -658,13 +658,13 @@ declare const TranslationOpenAISettingsSchema: z.ZodObject<{
658
658
  token: z.ZodDefault<z.ZodString>;
659
659
  model: z.ZodDefault<z.ZodString>;
660
660
  }, "strip", z.ZodTypeAny, {
661
+ model: string;
661
662
  baseUrl: string;
662
663
  token: string;
663
- model: string;
664
664
  }, {
665
+ model?: string | undefined;
665
666
  baseUrl?: string | undefined;
666
667
  token?: string | undefined;
667
- model?: string | undefined;
668
668
  }>;
669
669
  type TranslationOpenAISettings = z.infer<typeof TranslationOpenAISettingsSchema>;
670
670
  declare const TranslationLocalSettingsSchema: z.ZodObject<{
@@ -676,8 +676,8 @@ declare const TranslationLocalSettingsSchema: z.ZodObject<{
676
676
  hfEndpoint: string;
677
677
  selectedGroupId?: string | undefined;
678
678
  }, {
679
- selectedGroupId?: string | undefined;
680
679
  model?: string | undefined;
680
+ selectedGroupId?: string | undefined;
681
681
  hfEndpoint?: string | undefined;
682
682
  }>;
683
683
  type TranslationLocalSettings = z.infer<typeof TranslationLocalSettingsSchema>;
@@ -687,13 +687,13 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
687
687
  token: z.ZodDefault<z.ZodString>;
688
688
  model: z.ZodDefault<z.ZodString>;
689
689
  }, "strip", z.ZodTypeAny, {
690
+ model: string;
690
691
  baseUrl: string;
691
692
  token: string;
692
- model: string;
693
693
  }, {
694
+ model?: string | undefined;
694
695
  baseUrl?: string | undefined;
695
696
  token?: string | undefined;
696
- model?: string | undefined;
697
697
  }>>;
698
698
  local: z.ZodDefault<z.ZodObject<{
699
699
  model: z.ZodDefault<z.ZodString>;
@@ -704,8 +704,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
704
704
  hfEndpoint: string;
705
705
  selectedGroupId?: string | undefined;
706
706
  }, {
707
- selectedGroupId?: string | undefined;
708
707
  model?: string | undefined;
708
+ selectedGroupId?: string | undefined;
709
709
  hfEndpoint?: string | undefined;
710
710
  }>>;
711
711
  }, "strip", z.ZodTypeAny, {
@@ -715,20 +715,20 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
715
715
  selectedGroupId?: string | undefined;
716
716
  };
717
717
  openai: {
718
+ model: string;
718
719
  baseUrl: string;
719
720
  token: string;
720
- model: string;
721
721
  };
722
722
  }, {
723
723
  local?: {
724
- selectedGroupId?: string | undefined;
725
724
  model?: string | undefined;
725
+ selectedGroupId?: string | undefined;
726
726
  hfEndpoint?: string | undefined;
727
727
  } | undefined;
728
728
  openai?: {
729
+ model?: string | undefined;
729
730
  baseUrl?: string | undefined;
730
731
  token?: string | undefined;
731
- model?: string | undefined;
732
732
  } | undefined;
733
733
  }>;
734
734
  type TranslationEngineGlobalSettings = z.infer<typeof TranslationEngineGlobalSettingsSchema>;
@@ -746,21 +746,21 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
746
746
  instructions: z.ZodOptional<z.ZodString>;
747
747
  context: z.ZodOptional<z.ZodString>;
748
748
  }, "strip", z.ZodTypeAny, {
749
- engineId: "browser" | "local" | "openai";
750
- sourceLanguage: string;
751
749
  targetLanguage: string;
750
+ engineId: "local" | "openai" | "browser";
751
+ sourceLanguage: string;
752
752
  inputs: string[];
753
- selectedGroupId?: string | undefined;
754
753
  model?: string | undefined;
754
+ selectedGroupId?: string | undefined;
755
755
  instructions?: string | undefined;
756
756
  context?: string | undefined;
757
757
  }, {
758
- engineId: "browser" | "local" | "openai";
759
- sourceLanguage: string;
760
758
  targetLanguage: string;
759
+ engineId: "local" | "openai" | "browser";
760
+ sourceLanguage: string;
761
761
  inputs: string[];
762
- selectedGroupId?: string | undefined;
763
762
  model?: string | undefined;
763
+ selectedGroupId?: string | undefined;
764
764
  instructions?: string | undefined;
765
765
  context?: string | undefined;
766
766
  }>;
@@ -1,2 +1,2 @@
1
- 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-LOd1jBrH.mjs";
1
+ 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-BEhPdQGs.mjs";
2
2
  export { BatchTranslateEvent, BatchTranslateEventSchema, BatchTranslateInput, BatchTranslateInputSchema, BatchTranslationResult, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLog, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, LocalModelAssetState, LocalModelAssetStateSchema, LocalModelCatalogItem, LocalModelCatalogLocalResult, LocalModelCatalogResult, LocalModelCatalogSearchEvent, LocalModelDownloadStatus, LocalModelDownloadStatusSchema, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdate, TranslationEngineId, TranslationEngineIdSchema, TranslationEngineManifest, TranslationEngineRuntime, TranslationLocalSettings, TranslationLocalSettingsSchema, TranslationModelCandidate, TranslationModelDownloadPlan, TranslationModelSearchEvent, TranslationModelSearchInput, TranslationModelSearchPhase, TranslationModelSearchResult, TranslationOpenAISettings, TranslationOpenAISettingsSchema, Translator, TranslatorCreateMonitor, TranslatorFactory, TranslatorFactoryCreateOptions, TranslatorFactoryPrepareOptions, TranslatorOptions, TranslatorPrepareMonitor, getTranslationEngineManifest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openspecui/core",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "Core OpenSpec adapter and parser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",