@openspecui/core 4.1.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{document-translation-CIPGsZD8.d.mts → document-translation-7R8cf8_B.d.mts} +102 -102
  2. package/dist/document-translation.d.mts +1 -1
  3. package/dist/index.d.mts +198 -198
  4. package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-caa4PECd.d.mts} +1 -1
  5. package/dist/local-download-profiles.d.mts +2 -2
  6. package/dist/{notifications-HYH-lklF.d.mts → notifications-DZeOl4HV.d.mts} +28 -28
  7. package/dist/notifications.d.mts +2 -2
  8. package/dist/openspec-compat.d.mts +7 -7
  9. package/dist/openspec-compat.mjs +11 -10
  10. package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-B0ch1rZw.d.mts} +1 -1
  11. package/dist/openspec-projection.d.mts +2 -2
  12. package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-DZyl-uhQ.d.mts} +2 -2
  13. package/dist/opsx-entity.d.mts +3 -3
  14. package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-CS0tWa9v.d.mts} +2 -2
  15. package/dist/opsx-schema-detail.d.mts +4 -4
  16. package/dist/{opsx-types-2rgsQHsB.d.mts → opsx-types-Dnb06uff.d.mts} +12 -12
  17. package/dist/{schemas-CNKCVc7m.d.mts → schemas-D01aQnV4.d.mts} +28 -28
  18. package/dist/{sounds-J6z7o4mt.d.mts → sounds-kgDn4x8v.d.mts} +9 -9
  19. package/dist/sounds.d.mts +1 -1
  20. package/dist/{task-progress-BHn4bCoD.d.mts → task-progress-C1TGMbIR.d.mts} +2 -2
  21. package/dist/task-progress.d.mts +3 -3
  22. package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-CsuGTNV-.d.mts} +2 -2
  23. package/dist/terminal-audio.d.mts +2 -2
  24. package/dist/terminal-control.d.mts +2 -2
  25. package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BlFwKpIc.d.mts} +75 -75
  26. package/dist/terminal-invocation.d.mts +1 -1
  27. package/dist/{translator-D6t_LEVN.d.mts → translator-BErXgQxx.d.mts} +205 -205
  28. package/dist/translator.d.mts +1 -1
  29. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,24 +1,24 @@
1
- import { C as TranslationCacheWriteInputSchema, D as TranslationEngineProjectSettingsUpdateSchema, S as TranslationCacheWriteInput, T as TranslationEngineProjectSettingsSchema, _ as TranslationCacheSettings, a as DocumentTranslationConfigSchema, b as TranslationCacheStats, c as DocumentTranslationDisplayMode, d as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, f as TRANSLATION_CACHE_POLICY_VERSION, g as TranslationCacheReadInputSchema, h as TranslationCacheReadInput, i as DocumentTranslationConfigInput, l as DocumentTranslationDisplayModeSchema, m as TranslationCacheEntrySchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntry, r as DocumentTranslationConfig, s as DocumentTranslationConfigUpdateSchema, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheSettingsSchema, w as TranslationEngineProjectSettings, x as TranslationCacheStatsSchema, y as TranslationCacheSettingsUpdateSchema } from "./document-translation-CIPGsZD8.mjs";
1
+ import { C as TranslationCacheWriteInputSchema, D as TranslationEngineProjectSettingsUpdateSchema, S as TranslationCacheWriteInput, T as TranslationEngineProjectSettingsSchema, _ as TranslationCacheSettings, a as DocumentTranslationConfigSchema, b as TranslationCacheStats, c as DocumentTranslationDisplayMode, d as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, f as TRANSLATION_CACHE_POLICY_VERSION, g as TranslationCacheReadInputSchema, h as TranslationCacheReadInput, i as DocumentTranslationConfigInput, l as DocumentTranslationDisplayModeSchema, m as TranslationCacheEntrySchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntry, r as DocumentTranslationConfig, s as DocumentTranslationConfigUpdateSchema, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheSettingsSchema, w as TranslationEngineProjectSettings, x as TranslationCacheStatsSchema, y as TranslationCacheSettingsUpdateSchema } from "./document-translation-7R8cf8_B.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-DHs94gIR.mjs";
3
- import { C as TemplatesSchema, S as TemplatesMap, _ as SchemaDetailSchema, a as ApplyTaskSchema, b as SchemaResolution, c as ArtifactStatus, d as ChangeStatusSchema, f as DependencyInfo, g as SchemaDetail, h as SchemaArtifactSchema, i as ApplyTask, l as ArtifactStatusSchema, m as SchemaArtifact, n as ApplyInstructionsContextFilesSchema, o as ArtifactInstructions, p as DependencyInfoSchema, r as ApplyInstructionsSchema, s as ArtifactInstructionsSchema, t as ApplyInstructions, u as ChangeStatus, v as SchemaInfo, w as isGlobPattern, x as SchemaResolutionSchema, y as SchemaInfoSchema } from "./opsx-types-2rgsQHsB.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-CNKCVc7m.mjs";
5
- 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-CFUCqev8.mjs";
6
- import { a as isMarkdownTaskSourcePath, i as computeTaskProgress, n as TaskProjection, o as parseMarkdownTasks, r as TaskProjectionOptions, s as projectTasksFromMarkdownFiles, t as TaskProgress } from "./task-progress-BHn4bCoD.mjs";
3
+ import { C as TemplatesSchema, S as TemplatesMap, _ as SchemaDetailSchema, a as ApplyTaskSchema, b as SchemaResolution, c as ArtifactStatus, d as ChangeStatusSchema, f as DependencyInfo, g as SchemaDetail, h as SchemaArtifactSchema, i as ApplyTask, l as ArtifactStatusSchema, m as SchemaArtifact, n as ApplyInstructionsContextFilesSchema, o as ArtifactInstructions, p as DependencyInfoSchema, r as ApplyInstructionsSchema, s as ArtifactInstructionsSchema, t as ApplyInstructions, u as ChangeStatus, v as SchemaInfo, w as isGlobPattern, x as SchemaResolutionSchema, y as SchemaInfoSchema } from "./opsx-types-Dnb06uff.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-D01aQnV4.mjs";
5
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-DZyl-uhQ.mjs";
6
+ import { a as isMarkdownTaskSourcePath, i as computeTaskProgress, n as TaskProjection, o as parseMarkdownTasks, r as TaskProjectionOptions, s as projectTasksFromMarkdownFiles, t as TaskProgress } from "./task-progress-C1TGMbIR.mjs";
7
7
  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-Dk7FKaaT.mjs";
8
8
  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-CgXuXp6s.mjs";
9
9
  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-CeXd0JIZ.mjs";
10
- 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-BphzrwYP.mjs";
11
- import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-D6t_LEVN.mjs";
12
- 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-J6z7o4mt.mjs";
13
- 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-HYH-lklF.mjs";
14
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-BeUXlQgj.mjs";
15
- 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-B30HrSO2.mjs";
10
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-B0ch1rZw.mjs";
11
+ import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-BErXgQxx.mjs";
12
+ 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-kgDn4x8v.mjs";
13
+ 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-DZeOl4HV.mjs";
14
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CsuGTNV-.mjs";
15
+ import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-caa4PECd.mjs";
16
16
  import { i as inferLocalDirectionalModelLanguagePair, n as TranslationLanguagePair, r as checkLocalDirectionalModelLanguagePair, t as LocalDirectionalModelLanguagePairCheck } from "./translation-language-pair-DmaOfHqD.mjs";
17
17
  import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-cIMKa1aw.mjs";
18
18
  import { a as StoreDoctorResult, c as StoreFeatureError, d as StoreListResult, f as StoreListResultSchema, i as StoreDiagnostic, l as StoreFeatureResult, m as toStoreFeatureResult, n as StoreCommandUnavailableError, o as StoreDoctorResultSchema, p as classifyStoreCliOutput, r as StoreDataIncompatibleError, s as StoreDoctorStore, t as StoreClassification, u as StoreListEntry } from "./store-types-BiE-Ey--.mjs";
19
- 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-ClVh0HeM.mjs";
19
+ 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-BlFwKpIc.mjs";
20
20
  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-hvQjTsNh.mjs";
21
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-DXKXqMQa.mjs";
21
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CS0tWa9v.mjs";
22
22
  import { AsyncLocalStorage } from "node:async_hooks";
23
23
  import { z } from "zod";
24
24
  import { EventEmitter } from "events";
@@ -171,9 +171,9 @@ declare class OpenSpecAdapter {
171
171
  name: string;
172
172
  overview: string;
173
173
  requirements: {
174
+ title: string;
174
175
  id: string;
175
176
  text: string;
176
- title: string;
177
177
  bodyMarkdown: string;
178
178
  scenarios: {
179
179
  title: string;
@@ -194,11 +194,11 @@ declare class OpenSpecAdapter {
194
194
  }[];
195
195
  changes: {
196
196
  id: string;
197
+ name: string;
197
198
  progress: {
198
199
  completed: number;
199
200
  total: number;
200
201
  };
201
- name: string;
202
202
  why: string;
203
203
  whatChanges: string;
204
204
  deltas: {
@@ -206,9 +206,9 @@ declare class OpenSpecAdapter {
206
206
  spec: string;
207
207
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
208
208
  requirements?: {
209
+ title: string;
209
210
  id: string;
210
211
  text: string;
211
- title: string;
212
212
  bodyMarkdown: string;
213
213
  scenarios: {
214
214
  title: string;
@@ -222,9 +222,9 @@ declare class OpenSpecAdapter {
222
222
  }[];
223
223
  }[] | undefined;
224
224
  requirement?: {
225
+ title: string;
225
226
  id: string;
226
227
  text: string;
227
- title: string;
228
228
  bodyMarkdown: string;
229
229
  scenarios: {
230
230
  title: string;
@@ -873,7 +873,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
873
873
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
874
874
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
875
875
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
876
- 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>>;
876
+ 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>>;
877
877
  bellVolume: z.ZodDefault<z.ZodNumber>;
878
878
  }, "strip", z.ZodTypeAny, {
879
879
  fontSize: number;
@@ -885,7 +885,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
885
885
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
886
886
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
887
887
  rendererEngine: "xterm" | "ghostty";
888
- 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}`;
888
+ 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}`;
889
889
  bellVolume: number;
890
890
  }, {
891
891
  fontSize?: number | undefined;
@@ -976,7 +976,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
976
976
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
977
977
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
978
978
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
979
- 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>>;
979
+ 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>>;
980
980
  bellVolume: z.ZodDefault<z.ZodNumber>;
981
981
  }, "strip", z.ZodTypeAny, {
982
982
  fontSize: number;
@@ -988,7 +988,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
988
988
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
989
989
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
990
990
  rendererEngine: "xterm" | "ghostty";
991
- 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}`;
991
+ 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}`;
992
992
  bellVolume: number;
993
993
  }, {
994
994
  fontSize?: number | undefined;
@@ -1021,11 +1021,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1021
1021
  }>>;
1022
1022
  /** Notification preferences */
1023
1023
  notifications: z.ZodDefault<z.ZodObject<{
1024
- 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>>;
1024
+ 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>>;
1025
1025
  volume: z.ZodDefault<z.ZodNumber>;
1026
1026
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1027
1027
  }, "strip", z.ZodTypeAny, {
1028
- 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}`;
1028
+ 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}`;
1029
1029
  volume: number;
1030
1030
  systemNotificationsEnabled: boolean;
1031
1031
  }, {
@@ -1045,31 +1045,31 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1045
1045
  model: z.ZodOptional<z.ZodString>;
1046
1046
  selectedGroupId: z.ZodOptional<z.ZodString>;
1047
1047
  }, "strip", z.ZodTypeAny, {
1048
- selectedGroupId?: string | undefined;
1049
1048
  model?: string | undefined;
1050
- }, {
1051
1049
  selectedGroupId?: string | undefined;
1050
+ }, {
1052
1051
  model?: string | undefined;
1052
+ selectedGroupId?: string | undefined;
1053
1053
  }>>;
1054
1054
  localCt2: z.ZodDefault<z.ZodObject<{
1055
1055
  model: z.ZodOptional<z.ZodString>;
1056
1056
  selectedGroupId: z.ZodOptional<z.ZodString>;
1057
1057
  }, "strip", z.ZodTypeAny, {
1058
- selectedGroupId?: string | undefined;
1059
1058
  model?: string | undefined;
1060
- }, {
1061
1059
  selectedGroupId?: string | undefined;
1060
+ }, {
1062
1061
  model?: string | undefined;
1062
+ selectedGroupId?: string | undefined;
1063
1063
  }>>;
1064
1064
  localLlama: z.ZodDefault<z.ZodObject<{
1065
1065
  model: z.ZodOptional<z.ZodString>;
1066
1066
  selectedGroupId: z.ZodOptional<z.ZodString>;
1067
1067
  }, "strip", z.ZodTypeAny, {
1068
- selectedGroupId?: string | undefined;
1069
1068
  model?: string | undefined;
1070
- }, {
1071
1069
  selectedGroupId?: string | undefined;
1070
+ }, {
1072
1071
  model?: string | undefined;
1072
+ selectedGroupId?: string | undefined;
1073
1073
  }>>;
1074
1074
  openai: z.ZodDefault<z.ZodObject<{
1075
1075
  model: z.ZodOptional<z.ZodString>;
@@ -1080,88 +1080,85 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1080
1080
  }>>;
1081
1081
  }, "strip", z.ZodTypeAny, {
1082
1082
  local: {
1083
- selectedGroupId?: string | undefined;
1084
- model?: string | undefined;
1085
- };
1086
- openai: {
1087
1083
  model?: string | undefined;
1084
+ selectedGroupId?: string | undefined;
1088
1085
  };
1089
1086
  localCt2: {
1090
- selectedGroupId?: string | undefined;
1091
1087
  model?: string | undefined;
1088
+ selectedGroupId?: string | undefined;
1092
1089
  };
1093
1090
  localLlama: {
1091
+ model?: string | undefined;
1094
1092
  selectedGroupId?: string | undefined;
1093
+ };
1094
+ openai: {
1095
1095
  model?: string | undefined;
1096
1096
  };
1097
1097
  }, {
1098
1098
  local?: {
1099
- selectedGroupId?: string | undefined;
1100
- model?: string | undefined;
1101
- } | undefined;
1102
- openai?: {
1103
1099
  model?: string | undefined;
1100
+ selectedGroupId?: string | undefined;
1104
1101
  } | undefined;
1105
1102
  localCt2?: {
1106
- selectedGroupId?: string | undefined;
1107
1103
  model?: string | undefined;
1104
+ selectedGroupId?: string | undefined;
1108
1105
  } | undefined;
1109
1106
  localLlama?: {
1107
+ model?: string | undefined;
1110
1108
  selectedGroupId?: string | undefined;
1109
+ } | undefined;
1110
+ openai?: {
1111
1111
  model?: string | undefined;
1112
1112
  } | undefined;
1113
1113
  }>>;
1114
1114
  }, "strip", z.ZodTypeAny, {
1115
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1116
- targetLanguage: string;
1117
1115
  enabled: boolean;
1116
+ targetLanguage: string;
1118
1117
  displayMode: "direct" | "bilingual";
1119
1118
  cacheEnabled: boolean;
1119
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1120
1120
  engines: {
1121
1121
  local: {
1122
- selectedGroupId?: string | undefined;
1123
- model?: string | undefined;
1124
- };
1125
- openai: {
1126
1122
  model?: string | undefined;
1123
+ selectedGroupId?: string | undefined;
1127
1124
  };
1128
1125
  localCt2: {
1129
- selectedGroupId?: string | undefined;
1130
1126
  model?: string | undefined;
1127
+ selectedGroupId?: string | undefined;
1131
1128
  };
1132
1129
  localLlama: {
1130
+ model?: string | undefined;
1133
1131
  selectedGroupId?: string | undefined;
1132
+ };
1133
+ openai: {
1134
1134
  model?: string | undefined;
1135
1135
  };
1136
1136
  };
1137
1137
  }, {
1138
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1139
- targetLanguage?: string | undefined;
1140
1138
  enabled?: boolean | undefined;
1139
+ targetLanguage?: string | undefined;
1141
1140
  displayMode?: "direct" | "bilingual" | undefined;
1142
1141
  cacheEnabled?: boolean | undefined;
1142
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1143
1143
  engines?: {
1144
1144
  local?: {
1145
- selectedGroupId?: string | undefined;
1146
- model?: string | undefined;
1147
- } | undefined;
1148
- openai?: {
1149
1145
  model?: string | undefined;
1146
+ selectedGroupId?: string | undefined;
1150
1147
  } | undefined;
1151
1148
  localCt2?: {
1152
- selectedGroupId?: string | undefined;
1153
1149
  model?: string | undefined;
1150
+ selectedGroupId?: string | undefined;
1154
1151
  } | undefined;
1155
1152
  localLlama?: {
1153
+ model?: string | undefined;
1156
1154
  selectedGroupId?: string | undefined;
1155
+ } | undefined;
1156
+ openai?: {
1157
1157
  model?: string | undefined;
1158
1158
  } | undefined;
1159
1159
  } | undefined;
1160
1160
  }>>;
1161
1161
  }, "strip", z.ZodTypeAny, {
1162
- git: {
1163
- diffEagerLineBudget: number;
1164
- };
1165
1162
  terminal: {
1166
1163
  fontSize: number;
1167
1164
  fontFamily: string;
@@ -1172,32 +1169,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1172
1169
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1173
1170
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1174
1171
  rendererEngine: "xterm" | "ghostty";
1175
- 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}`;
1172
+ 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}`;
1176
1173
  bellVolume: number;
1177
1174
  };
1178
- translation: {
1179
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1180
- targetLanguage: string;
1181
- enabled: boolean;
1182
- displayMode: "direct" | "bilingual";
1183
- cacheEnabled: boolean;
1184
- engines: {
1185
- local: {
1186
- selectedGroupId?: string | undefined;
1187
- model?: string | undefined;
1188
- };
1189
- openai: {
1190
- model?: string | undefined;
1191
- };
1192
- localCt2: {
1193
- selectedGroupId?: string | undefined;
1194
- model?: string | undefined;
1195
- };
1196
- localLlama: {
1197
- selectedGroupId?: string | undefined;
1198
- model?: string | undefined;
1199
- };
1200
- };
1175
+ git: {
1176
+ diffEagerLineBudget: number;
1201
1177
  };
1202
1178
  theme: "light" | "dark" | "system";
1203
1179
  cli: {
@@ -1215,14 +1191,35 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1215
1191
  trendPointLimit: number;
1216
1192
  };
1217
1193
  notifications: {
1218
- 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}`;
1194
+ 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}`;
1219
1195
  volume: number;
1220
1196
  systemNotificationsEnabled: boolean;
1221
1197
  };
1198
+ translation: {
1199
+ enabled: boolean;
1200
+ targetLanguage: string;
1201
+ displayMode: "direct" | "bilingual";
1202
+ cacheEnabled: boolean;
1203
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1204
+ engines: {
1205
+ local: {
1206
+ model?: string | undefined;
1207
+ selectedGroupId?: string | undefined;
1208
+ };
1209
+ localCt2: {
1210
+ model?: string | undefined;
1211
+ selectedGroupId?: string | undefined;
1212
+ };
1213
+ localLlama: {
1214
+ model?: string | undefined;
1215
+ selectedGroupId?: string | undefined;
1216
+ };
1217
+ openai: {
1218
+ model?: string | undefined;
1219
+ };
1220
+ };
1221
+ };
1222
1222
  }, {
1223
- git?: {
1224
- diffEagerLineBudget?: number | undefined;
1225
- } | undefined;
1226
1223
  terminal?: {
1227
1224
  fontSize?: number | undefined;
1228
1225
  fontFamily?: string | undefined;
@@ -1236,29 +1233,8 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1236
1233
  bellSound?: unknown;
1237
1234
  bellVolume?: number | undefined;
1238
1235
  } | undefined;
1239
- translation?: {
1240
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1241
- targetLanguage?: string | undefined;
1242
- enabled?: boolean | undefined;
1243
- displayMode?: "direct" | "bilingual" | undefined;
1244
- cacheEnabled?: boolean | undefined;
1245
- engines?: {
1246
- local?: {
1247
- selectedGroupId?: string | undefined;
1248
- model?: string | undefined;
1249
- } | undefined;
1250
- openai?: {
1251
- model?: string | undefined;
1252
- } | undefined;
1253
- localCt2?: {
1254
- selectedGroupId?: string | undefined;
1255
- model?: string | undefined;
1256
- } | undefined;
1257
- localLlama?: {
1258
- selectedGroupId?: string | undefined;
1259
- model?: string | undefined;
1260
- } | undefined;
1261
- } | undefined;
1236
+ git?: {
1237
+ diffEagerLineBudget?: number | undefined;
1262
1238
  } | undefined;
1263
1239
  theme?: "light" | "dark" | "system" | undefined;
1264
1240
  cli?: {
@@ -1280,6 +1256,30 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1280
1256
  volume?: number | undefined;
1281
1257
  systemNotificationsEnabled?: boolean | undefined;
1282
1258
  } | undefined;
1259
+ translation?: {
1260
+ enabled?: boolean | undefined;
1261
+ targetLanguage?: string | undefined;
1262
+ displayMode?: "direct" | "bilingual" | undefined;
1263
+ cacheEnabled?: boolean | undefined;
1264
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1265
+ engines?: {
1266
+ local?: {
1267
+ model?: string | undefined;
1268
+ selectedGroupId?: string | undefined;
1269
+ } | undefined;
1270
+ localCt2?: {
1271
+ model?: string | undefined;
1272
+ selectedGroupId?: string | undefined;
1273
+ } | undefined;
1274
+ localLlama?: {
1275
+ model?: string | undefined;
1276
+ selectedGroupId?: string | undefined;
1277
+ } | undefined;
1278
+ openai?: {
1279
+ model?: string | undefined;
1280
+ } | undefined;
1281
+ } | undefined;
1282
+ } | undefined;
1283
1283
  }>;
1284
1284
  type OpenSpecUIConfig = z.infer<typeof OpenSpecUIConfigSchema>;
1285
1285
  type OpenSpecUIConfigUpdate = {
@@ -1391,13 +1391,13 @@ declare const DocumentTranslationGlobalSettingsSchema: z.ZodObject<{
1391
1391
  displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
1392
1392
  cacheEnabled: z.ZodDefault<z.ZodBoolean>;
1393
1393
  }, "strip", z.ZodTypeAny, {
1394
- targetLanguage: string;
1395
1394
  enabled: boolean;
1395
+ targetLanguage: string;
1396
1396
  displayMode: "direct" | "bilingual";
1397
1397
  cacheEnabled: boolean;
1398
1398
  }, {
1399
- targetLanguage?: string | undefined;
1400
1399
  enabled?: boolean | undefined;
1400
+ targetLanguage?: string | undefined;
1401
1401
  displayMode?: "direct" | "bilingual" | undefined;
1402
1402
  cacheEnabled?: boolean | undefined;
1403
1403
  }>;
@@ -1407,13 +1407,13 @@ declare const DocumentTranslationGlobalSettingsUpdateSchema: z.ZodObject<{
1407
1407
  displayMode: z.ZodOptional<z.ZodEnum<["direct", "bilingual"]>>;
1408
1408
  cacheEnabled: z.ZodOptional<z.ZodBoolean>;
1409
1409
  }, "strip", z.ZodTypeAny, {
1410
- targetLanguage?: string | undefined;
1411
1410
  enabled?: boolean | undefined;
1411
+ targetLanguage?: string | undefined;
1412
1412
  displayMode?: "direct" | "bilingual" | undefined;
1413
1413
  cacheEnabled?: boolean | undefined;
1414
1414
  }, {
1415
- targetLanguage?: string | undefined;
1416
1415
  enabled?: boolean | undefined;
1416
+ targetLanguage?: string | undefined;
1417
1417
  displayMode?: "direct" | "bilingual" | undefined;
1418
1418
  cacheEnabled?: boolean | undefined;
1419
1419
  }>;
@@ -1425,13 +1425,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1425
1425
  displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
1426
1426
  cacheEnabled: z.ZodDefault<z.ZodBoolean>;
1427
1427
  }, "strip", z.ZodTypeAny, {
1428
- targetLanguage: string;
1429
1428
  enabled: boolean;
1429
+ targetLanguage: string;
1430
1430
  displayMode: "direct" | "bilingual";
1431
1431
  cacheEnabled: boolean;
1432
1432
  }, {
1433
- targetLanguage?: string | undefined;
1434
1433
  enabled?: boolean | undefined;
1434
+ targetLanguage?: string | undefined;
1435
1435
  displayMode?: "direct" | "bilingual" | undefined;
1436
1436
  cacheEnabled?: boolean | undefined;
1437
1437
  }>>;
@@ -1449,13 +1449,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1449
1449
  token: z.ZodDefault<z.ZodString>;
1450
1450
  model: z.ZodDefault<z.ZodString>;
1451
1451
  }, "strip", z.ZodTypeAny, {
1452
+ model: string;
1452
1453
  baseUrl: string;
1453
1454
  token: string;
1454
- model: string;
1455
1455
  }, {
1456
+ model?: string | undefined;
1456
1457
  baseUrl?: string | undefined;
1457
1458
  token?: string | undefined;
1458
- model?: string | undefined;
1459
1459
  }>>;
1460
1460
  local: z.ZodDefault<z.ZodObject<{
1461
1461
  model: z.ZodDefault<z.ZodString>;
@@ -1468,8 +1468,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1468
1468
  memoryBudgetPercent: number;
1469
1469
  selectedGroupId?: string | undefined;
1470
1470
  }, {
1471
- selectedGroupId?: string | undefined;
1472
1471
  model?: string | undefined;
1472
+ selectedGroupId?: string | undefined;
1473
1473
  hfEndpoint?: string | undefined;
1474
1474
  memoryBudgetPercent?: number | undefined;
1475
1475
  }>>;
@@ -1484,8 +1484,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1484
1484
  memoryBudgetPercent: number;
1485
1485
  selectedGroupId?: string | undefined;
1486
1486
  }, {
1487
- selectedGroupId?: string | undefined;
1488
1487
  model?: string | undefined;
1488
+ selectedGroupId?: string | undefined;
1489
1489
  hfEndpoint?: string | undefined;
1490
1490
  memoryBudgetPercent?: number | undefined;
1491
1491
  }>>;
@@ -1500,8 +1500,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1500
1500
  memoryBudgetPercent: number;
1501
1501
  selectedGroupId?: string | undefined;
1502
1502
  }, {
1503
- selectedGroupId?: string | undefined;
1504
1503
  model?: string | undefined;
1504
+ selectedGroupId?: string | undefined;
1505
1505
  hfEndpoint?: string | undefined;
1506
1506
  memoryBudgetPercent?: number | undefined;
1507
1507
  }>>;
@@ -1512,12 +1512,6 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1512
1512
  memoryBudgetPercent: number;
1513
1513
  selectedGroupId?: string | undefined;
1514
1514
  };
1515
- openai: {
1516
- baseUrl: string;
1517
- token: string;
1518
- model: string;
1519
- };
1520
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1521
1515
  localCt2: {
1522
1516
  model: string;
1523
1517
  hfEndpoint: string;
@@ -1530,36 +1524,42 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1530
1524
  memoryBudgetPercent: number;
1531
1525
  selectedGroupId?: string | undefined;
1532
1526
  };
1527
+ openai: {
1528
+ model: string;
1529
+ baseUrl: string;
1530
+ token: string;
1531
+ };
1532
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1533
1533
  }, {
1534
1534
  local?: {
1535
- selectedGroupId?: string | undefined;
1536
1535
  model?: string | undefined;
1536
+ selectedGroupId?: string | undefined;
1537
1537
  hfEndpoint?: string | undefined;
1538
1538
  memoryBudgetPercent?: number | undefined;
1539
1539
  } | undefined;
1540
- openai?: {
1541
- baseUrl?: string | undefined;
1542
- token?: string | undefined;
1543
- model?: string | undefined;
1544
- } | undefined;
1545
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1546
1540
  localCt2?: {
1547
- selectedGroupId?: string | undefined;
1548
1541
  model?: string | undefined;
1542
+ selectedGroupId?: string | undefined;
1549
1543
  hfEndpoint?: string | undefined;
1550
1544
  memoryBudgetPercent?: number | undefined;
1551
1545
  } | undefined;
1552
1546
  localLlama?: {
1553
- selectedGroupId?: string | undefined;
1554
1547
  model?: string | undefined;
1548
+ selectedGroupId?: string | undefined;
1555
1549
  hfEndpoint?: string | undefined;
1556
1550
  memoryBudgetPercent?: number | undefined;
1557
1551
  } | undefined;
1552
+ openai?: {
1553
+ model?: string | undefined;
1554
+ baseUrl?: string | undefined;
1555
+ token?: string | undefined;
1556
+ } | undefined;
1557
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1558
1558
  }>>;
1559
1559
  }, "strip", z.ZodTypeAny, {
1560
1560
  translation: {
1561
- targetLanguage: string;
1562
1561
  enabled: boolean;
1562
+ targetLanguage: string;
1563
1563
  displayMode: "direct" | "bilingual";
1564
1564
  cacheEnabled: boolean;
1565
1565
  };
@@ -1573,12 +1573,6 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1573
1573
  memoryBudgetPercent: number;
1574
1574
  selectedGroupId?: string | undefined;
1575
1575
  };
1576
- openai: {
1577
- baseUrl: string;
1578
- token: string;
1579
- model: string;
1580
- };
1581
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1582
1576
  localCt2: {
1583
1577
  model: string;
1584
1578
  hfEndpoint: string;
@@ -1591,11 +1585,17 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1591
1585
  memoryBudgetPercent: number;
1592
1586
  selectedGroupId?: string | undefined;
1593
1587
  };
1588
+ openai: {
1589
+ model: string;
1590
+ baseUrl: string;
1591
+ token: string;
1592
+ };
1593
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1594
1594
  };
1595
1595
  }, {
1596
1596
  translation?: {
1597
- targetLanguage?: string | undefined;
1598
1597
  enabled?: boolean | undefined;
1598
+ targetLanguage?: string | undefined;
1599
1599
  displayMode?: "direct" | "bilingual" | undefined;
1600
1600
  cacheEnabled?: boolean | undefined;
1601
1601
  } | undefined;
@@ -1604,29 +1604,29 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1604
1604
  } | undefined;
1605
1605
  translationEngines?: {
1606
1606
  local?: {
1607
- selectedGroupId?: string | undefined;
1608
1607
  model?: string | undefined;
1608
+ selectedGroupId?: string | undefined;
1609
1609
  hfEndpoint?: string | undefined;
1610
1610
  memoryBudgetPercent?: number | undefined;
1611
1611
  } | undefined;
1612
- openai?: {
1613
- baseUrl?: string | undefined;
1614
- token?: string | undefined;
1615
- model?: string | undefined;
1616
- } | undefined;
1617
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1618
1612
  localCt2?: {
1619
- selectedGroupId?: string | undefined;
1620
1613
  model?: string | undefined;
1614
+ selectedGroupId?: string | undefined;
1621
1615
  hfEndpoint?: string | undefined;
1622
1616
  memoryBudgetPercent?: number | undefined;
1623
1617
  } | undefined;
1624
1618
  localLlama?: {
1625
- selectedGroupId?: string | undefined;
1626
1619
  model?: string | undefined;
1620
+ selectedGroupId?: string | undefined;
1627
1621
  hfEndpoint?: string | undefined;
1628
1622
  memoryBudgetPercent?: number | undefined;
1629
1623
  } | undefined;
1624
+ openai?: {
1625
+ model?: string | undefined;
1626
+ baseUrl?: string | undefined;
1627
+ token?: string | undefined;
1628
+ } | undefined;
1629
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1630
1630
  } | undefined;
1631
1631
  }>;
1632
1632
  type OpenSpecUIGlobalSettings = z.infer<typeof OpenSpecUIGlobalSettingsSchema>;
@@ -1642,13 +1642,13 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1642
1642
  displayMode: z.ZodOptional<z.ZodEnum<["direct", "bilingual"]>>;
1643
1643
  cacheEnabled: z.ZodOptional<z.ZodBoolean>;
1644
1644
  }, "strip", z.ZodTypeAny, {
1645
- targetLanguage?: string | undefined;
1646
1645
  enabled?: boolean | undefined;
1646
+ targetLanguage?: string | undefined;
1647
1647
  displayMode?: "direct" | "bilingual" | undefined;
1648
1648
  cacheEnabled?: boolean | undefined;
1649
1649
  }, {
1650
- targetLanguage?: string | undefined;
1651
1650
  enabled?: boolean | undefined;
1651
+ targetLanguage?: string | undefined;
1652
1652
  displayMode?: "direct" | "bilingual" | undefined;
1653
1653
  cacheEnabled?: boolean | undefined;
1654
1654
  }>>;
@@ -1666,13 +1666,13 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1666
1666
  token: z.ZodOptional<z.ZodString>;
1667
1667
  model: z.ZodOptional<z.ZodString>;
1668
1668
  }, "strip", z.ZodTypeAny, {
1669
+ model?: string | undefined;
1669
1670
  baseUrl?: string | undefined;
1670
1671
  token?: string | undefined;
1671
- model?: string | undefined;
1672
1672
  }, {
1673
+ model?: string | undefined;
1673
1674
  baseUrl?: string | undefined;
1674
1675
  token?: string | undefined;
1675
- model?: string | undefined;
1676
1676
  }>>;
1677
1677
  local: z.ZodOptional<z.ZodObject<{
1678
1678
  model: z.ZodOptional<z.ZodString>;
@@ -1680,13 +1680,13 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1680
1680
  hfEndpoint: z.ZodOptional<z.ZodString>;
1681
1681
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1682
1682
  }, "strip", z.ZodTypeAny, {
1683
- selectedGroupId?: string | null | undefined;
1684
1683
  model?: string | undefined;
1684
+ selectedGroupId?: string | null | undefined;
1685
1685
  hfEndpoint?: string | undefined;
1686
1686
  memoryBudgetPercent?: number | undefined;
1687
1687
  }, {
1688
- selectedGroupId?: string | null | undefined;
1689
1688
  model?: string | undefined;
1689
+ selectedGroupId?: string | null | undefined;
1690
1690
  hfEndpoint?: string | undefined;
1691
1691
  memoryBudgetPercent?: number | undefined;
1692
1692
  }>>;
@@ -1696,13 +1696,13 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1696
1696
  hfEndpoint: z.ZodOptional<z.ZodString>;
1697
1697
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1698
1698
  }, "strip", z.ZodTypeAny, {
1699
- selectedGroupId?: string | null | undefined;
1700
1699
  model?: string | undefined;
1700
+ selectedGroupId?: string | null | undefined;
1701
1701
  hfEndpoint?: string | undefined;
1702
1702
  memoryBudgetPercent?: number | undefined;
1703
1703
  }, {
1704
- selectedGroupId?: string | null | undefined;
1705
1704
  model?: string | undefined;
1705
+ selectedGroupId?: string | null | undefined;
1706
1706
  hfEndpoint?: string | undefined;
1707
1707
  memoryBudgetPercent?: number | undefined;
1708
1708
  }>>;
@@ -1712,71 +1712,71 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1712
1712
  hfEndpoint: z.ZodOptional<z.ZodString>;
1713
1713
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1714
1714
  }, "strip", z.ZodTypeAny, {
1715
- selectedGroupId?: string | null | undefined;
1716
1715
  model?: string | undefined;
1716
+ selectedGroupId?: string | null | undefined;
1717
1717
  hfEndpoint?: string | undefined;
1718
1718
  memoryBudgetPercent?: number | undefined;
1719
1719
  }, {
1720
- selectedGroupId?: string | null | undefined;
1721
1720
  model?: string | undefined;
1721
+ selectedGroupId?: string | null | undefined;
1722
1722
  hfEndpoint?: string | undefined;
1723
1723
  memoryBudgetPercent?: number | undefined;
1724
1724
  }>>;
1725
1725
  }, "strip", z.ZodTypeAny, {
1726
1726
  local?: {
1727
- selectedGroupId?: string | null | undefined;
1728
1727
  model?: string | undefined;
1728
+ selectedGroupId?: string | null | undefined;
1729
1729
  hfEndpoint?: string | undefined;
1730
1730
  memoryBudgetPercent?: number | undefined;
1731
1731
  } | undefined;
1732
- openai?: {
1733
- baseUrl?: string | undefined;
1734
- token?: string | undefined;
1735
- model?: string | undefined;
1736
- } | undefined;
1737
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1738
1732
  localCt2?: {
1739
- selectedGroupId?: string | null | undefined;
1740
1733
  model?: string | undefined;
1734
+ selectedGroupId?: string | null | undefined;
1741
1735
  hfEndpoint?: string | undefined;
1742
1736
  memoryBudgetPercent?: number | undefined;
1743
1737
  } | undefined;
1744
1738
  localLlama?: {
1745
- selectedGroupId?: string | null | undefined;
1746
1739
  model?: string | undefined;
1747
- hfEndpoint?: string | undefined;
1748
- memoryBudgetPercent?: number | undefined;
1749
- } | undefined;
1750
- }, {
1751
- local?: {
1752
1740
  selectedGroupId?: string | null | undefined;
1753
- model?: string | undefined;
1754
1741
  hfEndpoint?: string | undefined;
1755
1742
  memoryBudgetPercent?: number | undefined;
1756
1743
  } | undefined;
1757
1744
  openai?: {
1745
+ model?: string | undefined;
1758
1746
  baseUrl?: string | undefined;
1759
1747
  token?: string | undefined;
1748
+ } | undefined;
1749
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1750
+ }, {
1751
+ local?: {
1760
1752
  model?: string | undefined;
1753
+ selectedGroupId?: string | null | undefined;
1754
+ hfEndpoint?: string | undefined;
1755
+ memoryBudgetPercent?: number | undefined;
1761
1756
  } | undefined;
1762
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1763
1757
  localCt2?: {
1764
- selectedGroupId?: string | null | undefined;
1765
1758
  model?: string | undefined;
1759
+ selectedGroupId?: string | null | undefined;
1766
1760
  hfEndpoint?: string | undefined;
1767
1761
  memoryBudgetPercent?: number | undefined;
1768
1762
  } | undefined;
1769
1763
  localLlama?: {
1770
- selectedGroupId?: string | null | undefined;
1771
1764
  model?: string | undefined;
1765
+ selectedGroupId?: string | null | undefined;
1772
1766
  hfEndpoint?: string | undefined;
1773
1767
  memoryBudgetPercent?: number | undefined;
1774
1768
  } | undefined;
1769
+ openai?: {
1770
+ model?: string | undefined;
1771
+ baseUrl?: string | undefined;
1772
+ token?: string | undefined;
1773
+ } | undefined;
1774
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1775
1775
  }>>;
1776
1776
  }, "strip", z.ZodTypeAny, {
1777
1777
  translation?: {
1778
- targetLanguage?: string | undefined;
1779
1778
  enabled?: boolean | undefined;
1779
+ targetLanguage?: string | undefined;
1780
1780
  displayMode?: "direct" | "bilingual" | undefined;
1781
1781
  cacheEnabled?: boolean | undefined;
1782
1782
  } | undefined;
@@ -1785,34 +1785,34 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1785
1785
  } | undefined;
1786
1786
  translationEngines?: {
1787
1787
  local?: {
1788
- selectedGroupId?: string | null | undefined;
1789
1788
  model?: string | undefined;
1789
+ selectedGroupId?: string | null | undefined;
1790
1790
  hfEndpoint?: string | undefined;
1791
1791
  memoryBudgetPercent?: number | undefined;
1792
1792
  } | undefined;
1793
- openai?: {
1794
- baseUrl?: string | undefined;
1795
- token?: string | undefined;
1796
- model?: string | undefined;
1797
- } | undefined;
1798
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1799
1793
  localCt2?: {
1800
- selectedGroupId?: string | null | undefined;
1801
1794
  model?: string | undefined;
1795
+ selectedGroupId?: string | null | undefined;
1802
1796
  hfEndpoint?: string | undefined;
1803
1797
  memoryBudgetPercent?: number | undefined;
1804
1798
  } | undefined;
1805
1799
  localLlama?: {
1806
- selectedGroupId?: string | null | undefined;
1807
1800
  model?: string | undefined;
1801
+ selectedGroupId?: string | null | undefined;
1808
1802
  hfEndpoint?: string | undefined;
1809
1803
  memoryBudgetPercent?: number | undefined;
1810
1804
  } | undefined;
1805
+ openai?: {
1806
+ model?: string | undefined;
1807
+ baseUrl?: string | undefined;
1808
+ token?: string | undefined;
1809
+ } | undefined;
1810
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1811
1811
  } | undefined;
1812
1812
  }, {
1813
1813
  translation?: {
1814
- targetLanguage?: string | undefined;
1815
1814
  enabled?: boolean | undefined;
1815
+ targetLanguage?: string | undefined;
1816
1816
  displayMode?: "direct" | "bilingual" | undefined;
1817
1817
  cacheEnabled?: boolean | undefined;
1818
1818
  } | undefined;
@@ -1821,29 +1821,29 @@ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1821
1821
  } | undefined;
1822
1822
  translationEngines?: {
1823
1823
  local?: {
1824
- selectedGroupId?: string | null | undefined;
1825
1824
  model?: string | undefined;
1825
+ selectedGroupId?: string | null | undefined;
1826
1826
  hfEndpoint?: string | undefined;
1827
1827
  memoryBudgetPercent?: number | undefined;
1828
1828
  } | undefined;
1829
- openai?: {
1830
- baseUrl?: string | undefined;
1831
- token?: string | undefined;
1832
- model?: string | undefined;
1833
- } | undefined;
1834
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1835
1829
  localCt2?: {
1836
- selectedGroupId?: string | null | undefined;
1837
1830
  model?: string | undefined;
1831
+ selectedGroupId?: string | null | undefined;
1838
1832
  hfEndpoint?: string | undefined;
1839
1833
  memoryBudgetPercent?: number | undefined;
1840
1834
  } | undefined;
1841
1835
  localLlama?: {
1842
- selectedGroupId?: string | null | undefined;
1843
1836
  model?: string | undefined;
1837
+ selectedGroupId?: string | null | undefined;
1844
1838
  hfEndpoint?: string | undefined;
1845
1839
  memoryBudgetPercent?: number | undefined;
1846
1840
  } | undefined;
1841
+ openai?: {
1842
+ model?: string | undefined;
1843
+ baseUrl?: string | undefined;
1844
+ token?: string | undefined;
1845
+ } | undefined;
1846
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1847
1847
  } | undefined;
1848
1848
  }>;
1849
1849
  type PersistedOpenSpecUIGlobalSettings = {