@openspecui/core 3.11.4 → 3.11.5

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-B3QRXIXx.mjs → document-translation-B6VWf7ll.mjs} +26 -2
  2. package/dist/{document-translation-QMSrWNT-.d.mts → document-translation-DhFREeHW.d.mts} +254 -52
  3. package/dist/document-translation.d.mts +2 -2
  4. package/dist/document-translation.mjs +3 -3
  5. package/dist/index.d.mts +342 -111
  6. package/dist/index.mjs +120 -93
  7. package/dist/{local-download-profiles-DHF9dW4e.d.mts → local-download-profiles-DIVr0mFh.d.mts} +1 -1
  8. package/dist/local-download-profiles.d.mts +2 -2
  9. package/dist/{notifications-D9yMeQqN.d.mts → notifications-BDBbeTRk.d.mts} +6 -6
  10. package/dist/notifications.d.mts +2 -2
  11. package/dist/{openspec-projection-e-sOj4vr.d.mts → openspec-projection-CmxjMsxS.d.mts} +1 -1
  12. package/dist/openspec-projection.d.mts +2 -2
  13. package/dist/{opsx-entity-C89YFQNB.d.mts → opsx-entity-CRa2u1j3.d.mts} +9 -9
  14. package/dist/opsx-entity.d.mts +2 -2
  15. package/dist/{opsx-schema-detail-DIscOp9f.d.mts → opsx-schema-detail-aVlqvbro.d.mts} +1 -1
  16. package/dist/opsx-schema-detail.d.mts +3 -3
  17. package/dist/{schemas-B6ZBedD4.d.mts → schemas-Dp8-Wm-X.d.mts} +16 -16
  18. package/dist/{sounds-BjSZxrQO.d.mts → sounds-6KwglrL2.d.mts} +5 -5
  19. package/dist/sounds.d.mts +1 -1
  20. package/dist/{terminal-audio-6x0ceNBw.d.mts → terminal-audio-DLOmaKqa.d.mts} +2 -2
  21. package/dist/terminal-audio.d.mts +2 -2
  22. package/dist/terminal-control.d.mts +2 -2
  23. package/dist/{terminal-invocation-C2e1WSWM.d.mts → terminal-invocation-B3js0mEF.d.mts} +32 -32
  24. package/dist/terminal-invocation.d.mts +1 -1
  25. package/dist/{translator-jn94xmWZ.d.mts → translator-CS7MsNZp.d.mts} +297 -122
  26. package/dist/{translator-B98pejVa.mjs → translator-Cx9j32Og.mjs} +31 -1
  27. package/dist/translator.d.mts +2 -2
  28. package/dist/translator.mjs +2 -2
  29. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,21 +1,21 @@
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-QMSrWNT-.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-DhFREeHW.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-CegGJlNp.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-C89YFQNB.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-B6ZBedD4.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-CRa2u1j3.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-Dp8-Wm-X.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-DempqdIX.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-BaHZTf5f.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-DYyP_HQh.mjs";
8
- import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-e-sOj4vr.mjs";
9
- import { $ as TranslationEngineDependencyStatus, $t as isManagedLocalTranslationEngineId, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalLlamaSettingsSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationOpenAISettingsSchema, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeStateSchema, D as LocalModelProfileManifestFile, Dt as TranslationLocalCt2Settings, E as LocalModelProfileManifest, Et as TranslationEngineSettingsKey, F as ManagedLocalCatalogSourceSchema, Ft as TranslationModelSearchEvent, G as TranslationDownloadGroupPlan, Gt as TranslatorFactoryPrepareOptions, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslatorCreateMonitor, I as ManagedLocalTranslationEngineId, It as TranslationModelSearchInput, J as TranslationEngineAssetStateSchema, Jt as createTranslationEngineLifecycleStatus, K as TranslationDownloadGroupPlanSchema, Kt as TranslatorOptions, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelSearchPhase, M as LocalModelProfileStatus, Mt as TranslationLocalSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationModelCandidate, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2SettingsSchema, P as ManagedLocalCatalogSource, Pt as TranslationModelDownloadPlan, Q as TranslationEngineDependencyStateSchema, Qt as isDirectionalManagedLocalTranslationEngineId, R as ServiceTranslationEngineId, Rt as TranslationModelSearchResult, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntimeState, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatusSchema, U as TranslationDownloadFilePlan, Ut as TranslatorFactory, V as TRANSLATION_ENGINE_MANIFESTS, Vt as Translator, W as TranslationDownloadFilePlanSchema, Wt as TranslatorFactoryCreateOptions, X as TranslationEngineAssetStatusSchema, Xt as getTranslationEngineLifecycleMessage, Y as TranslationEngineAssetStatus, Yt as getManagedLocalTranslationEngineManifest, Z as TranslationEngineDependencyState, Zt as getTranslationEngineManifest, _ as LocalModelCatalogSearchEvent, _t as TranslationEngineLifecycleStatus, a as BatchTranslationResult, an as isBatchTranslationAbort, at as TranslationEngineIdSchema, b as LocalModelLifecycleFileState, bt as TranslationEngineManifest, c as LocalModelAssetLog, ct as TranslationEngineInstallLogStream, d as LocalModelAssetPlanSnapshotSchema, dt as TranslationEngineLifecycleContext, en as isTranslationEngineDependencyReady, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, ft as TranslationEngineLifecycleController, g as LocalModelCatalogResult, h as LocalModelCatalogLocalResult, i as BatchTranslateInputSchema, in as BatchTranslationErrorKind, it as TranslationEngineId, j as LocalModelProfileManifestSchema, jt as TranslationLocalSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalLlamaSettings, l as LocalModelAssetLogSchema, lt as TranslationEngineInstallLogStreamSchema, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEventSchema, n as BatchTranslateEventSchema, nn as shouldShowTranslationEngineInstallGate, nt as TranslationEngineGlobalSettingsSchema, on as normalizeBatchTranslationError, ot as TranslationEngineInstallLogEvent, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleEvent, q as TranslationEngineAssetState, qt as TranslatorPrepareMonitor, r as BatchTranslateInput, rn as BatchTranslationError, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as runControlledTranslationTask, st as TranslationEngineInstallLogEventSchema, t as BatchTranslateEvent, tn as isTranslationEngineRuntimeReady, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, ut as TranslationEngineKind, v as LocalModelDownloadStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStatus, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineRuntime, y as LocalModelDownloadStatusSchema, yt as TranslationEngineLifecycleStatusSchema, z as ServiceTranslationEngineIdSchema, zt as TranslationOpenAISettings } from "./translator-jn94xmWZ.mjs";
10
- 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-BjSZxrQO.mjs";
11
- 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-D9yMeQqN.mjs";
12
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-6x0ceNBw.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-DHF9dW4e.mjs";
8
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-CmxjMsxS.mjs";
9
+ 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-CS7MsNZp.mjs";
10
+ 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-6KwglrL2.mjs";
11
+ 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-BDBbeTRk.mjs";
12
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DLOmaKqa.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-DIVr0mFh.mjs";
14
14
  import { i as inferLocalDirectionalModelLanguagePair, n as TranslationLanguagePair, r as checkLocalDirectionalModelLanguagePair, t as LocalDirectionalModelLanguagePairCheck } from "./translation-language-pair-DaSvW83F.mjs";
15
15
  import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Ky9qnntM.mjs";
16
- 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-C2e1WSWM.mjs";
16
+ 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-B3js0mEF.mjs";
17
17
  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-CH-VSrAq.mjs";
18
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-DIscOp9f.mjs";
18
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-aVlqvbro.mjs";
19
19
  import { AsyncLocalStorage } from "node:async_hooks";
20
20
  import { z } from "zod";
21
21
  import { EventEmitter } from "events";
@@ -190,16 +190,10 @@ declare class OpenSpecAdapter {
190
190
  changes: {
191
191
  id: string;
192
192
  progress: {
193
- total: number;
194
193
  completed: number;
194
+ total: number;
195
195
  };
196
196
  name: string;
197
- tasks: {
198
- id: string;
199
- text: string;
200
- completed: boolean;
201
- section?: string | undefined;
202
- }[];
203
197
  why: string;
204
198
  whatChanges: string;
205
199
  deltas: {
@@ -243,6 +237,12 @@ declare class OpenSpecAdapter {
243
237
  to: string;
244
238
  } | undefined;
245
239
  }[];
240
+ tasks: {
241
+ id: string;
242
+ text: string;
243
+ completed: boolean;
244
+ section?: string | undefined;
245
+ }[];
246
246
  metadata?: {
247
247
  version: string;
248
248
  format: "openspec-change";
@@ -868,7 +868,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
868
868
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
869
869
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
870
870
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
871
- 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>>;
871
+ 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>>;
872
872
  bellVolume: z.ZodDefault<z.ZodNumber>;
873
873
  }, "strip", z.ZodTypeAny, {
874
874
  fontSize: number;
@@ -880,7 +880,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
880
880
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
881
881
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
882
882
  rendererEngine: "xterm" | "ghostty";
883
- 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}`;
883
+ 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}`;
884
884
  bellVolume: number;
885
885
  }, {
886
886
  fontSize?: number | undefined;
@@ -971,7 +971,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
971
971
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
972
972
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
973
973
  rendererEngine: z.ZodDefault<z.ZodEnum<["xterm", "ghostty"]>>;
974
- 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>>;
974
+ 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>>;
975
975
  bellVolume: z.ZodDefault<z.ZodNumber>;
976
976
  }, "strip", z.ZodTypeAny, {
977
977
  fontSize: number;
@@ -983,7 +983,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
983
983
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
984
984
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
985
985
  rendererEngine: "xterm" | "ghostty";
986
- 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}`;
986
+ 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}`;
987
987
  bellVolume: number;
988
988
  }, {
989
989
  fontSize?: number | undefined;
@@ -1016,11 +1016,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1016
1016
  }>>;
1017
1017
  /** Notification preferences */
1018
1018
  notifications: z.ZodDefault<z.ZodObject<{
1019
- 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>>;
1019
+ 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>>;
1020
1020
  volume: z.ZodDefault<z.ZodNumber>;
1021
1021
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1022
1022
  }, "strip", z.ZodTypeAny, {
1023
- 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}`;
1023
+ 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}`;
1024
1024
  volume: number;
1025
1025
  systemNotificationsEnabled: boolean;
1026
1026
  }, {
@@ -1040,31 +1040,31 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1040
1040
  model: z.ZodOptional<z.ZodString>;
1041
1041
  selectedGroupId: z.ZodOptional<z.ZodString>;
1042
1042
  }, "strip", z.ZodTypeAny, {
1043
- selectedGroupId?: string | undefined;
1044
1043
  model?: string | undefined;
1045
- }, {
1046
1044
  selectedGroupId?: string | undefined;
1045
+ }, {
1047
1046
  model?: string | undefined;
1047
+ selectedGroupId?: string | undefined;
1048
1048
  }>>;
1049
1049
  localCt2: z.ZodDefault<z.ZodObject<{
1050
1050
  model: z.ZodOptional<z.ZodString>;
1051
1051
  selectedGroupId: z.ZodOptional<z.ZodString>;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
- selectedGroupId?: string | undefined;
1054
1053
  model?: string | undefined;
1055
- }, {
1056
1054
  selectedGroupId?: string | undefined;
1055
+ }, {
1057
1056
  model?: string | undefined;
1057
+ selectedGroupId?: string | undefined;
1058
1058
  }>>;
1059
1059
  localLlama: z.ZodDefault<z.ZodObject<{
1060
1060
  model: z.ZodOptional<z.ZodString>;
1061
1061
  selectedGroupId: z.ZodOptional<z.ZodString>;
1062
1062
  }, "strip", z.ZodTypeAny, {
1063
- selectedGroupId?: string | undefined;
1064
1063
  model?: string | undefined;
1065
- }, {
1066
1064
  selectedGroupId?: string | undefined;
1065
+ }, {
1067
1066
  model?: string | undefined;
1067
+ selectedGroupId?: string | undefined;
1068
1068
  }>>;
1069
1069
  openai: z.ZodDefault<z.ZodObject<{
1070
1070
  model: z.ZodOptional<z.ZodString>;
@@ -1075,80 +1075,80 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1075
1075
  }>>;
1076
1076
  }, "strip", z.ZodTypeAny, {
1077
1077
  local: {
1078
- selectedGroupId?: string | undefined;
1079
- model?: string | undefined;
1080
- };
1081
- openai: {
1082
1078
  model?: string | undefined;
1079
+ selectedGroupId?: string | undefined;
1083
1080
  };
1084
1081
  localCt2: {
1085
- selectedGroupId?: string | undefined;
1086
1082
  model?: string | undefined;
1083
+ selectedGroupId?: string | undefined;
1087
1084
  };
1088
1085
  localLlama: {
1086
+ model?: string | undefined;
1089
1087
  selectedGroupId?: string | undefined;
1088
+ };
1089
+ openai: {
1090
1090
  model?: string | undefined;
1091
1091
  };
1092
1092
  }, {
1093
1093
  local?: {
1094
- selectedGroupId?: string | undefined;
1095
- model?: string | undefined;
1096
- } | undefined;
1097
- openai?: {
1098
1094
  model?: string | undefined;
1095
+ selectedGroupId?: string | undefined;
1099
1096
  } | undefined;
1100
1097
  localCt2?: {
1101
- selectedGroupId?: string | undefined;
1102
1098
  model?: string | undefined;
1099
+ selectedGroupId?: string | undefined;
1103
1100
  } | undefined;
1104
1101
  localLlama?: {
1102
+ model?: string | undefined;
1105
1103
  selectedGroupId?: string | undefined;
1104
+ } | undefined;
1105
+ openai?: {
1106
1106
  model?: string | undefined;
1107
1107
  } | undefined;
1108
1108
  }>>;
1109
1109
  }, "strip", z.ZodTypeAny, {
1110
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1111
- targetLanguage: string;
1112
1110
  enabled: boolean;
1111
+ targetLanguage: string;
1113
1112
  displayMode: "direct" | "bilingual";
1114
1113
  cacheEnabled: boolean;
1114
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1115
1115
  engines: {
1116
1116
  local: {
1117
- selectedGroupId?: string | undefined;
1118
- model?: string | undefined;
1119
- };
1120
- openai: {
1121
1117
  model?: string | undefined;
1118
+ selectedGroupId?: string | undefined;
1122
1119
  };
1123
1120
  localCt2: {
1124
- selectedGroupId?: string | undefined;
1125
1121
  model?: string | undefined;
1122
+ selectedGroupId?: string | undefined;
1126
1123
  };
1127
1124
  localLlama: {
1125
+ model?: string | undefined;
1128
1126
  selectedGroupId?: string | undefined;
1127
+ };
1128
+ openai: {
1129
1129
  model?: string | undefined;
1130
1130
  };
1131
1131
  };
1132
1132
  }, {
1133
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1134
- targetLanguage?: string | undefined;
1135
1133
  enabled?: boolean | undefined;
1134
+ targetLanguage?: string | undefined;
1136
1135
  displayMode?: "direct" | "bilingual" | undefined;
1137
1136
  cacheEnabled?: boolean | undefined;
1137
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1138
1138
  engines?: {
1139
1139
  local?: {
1140
- selectedGroupId?: string | undefined;
1141
- model?: string | undefined;
1142
- } | undefined;
1143
- openai?: {
1144
1140
  model?: string | undefined;
1141
+ selectedGroupId?: string | undefined;
1145
1142
  } | undefined;
1146
1143
  localCt2?: {
1147
- selectedGroupId?: string | undefined;
1148
1144
  model?: string | undefined;
1145
+ selectedGroupId?: string | undefined;
1149
1146
  } | undefined;
1150
1147
  localLlama?: {
1148
+ model?: string | undefined;
1151
1149
  selectedGroupId?: string | undefined;
1150
+ } | undefined;
1151
+ openai?: {
1152
1152
  model?: string | undefined;
1153
1153
  } | undefined;
1154
1154
  } | undefined;
@@ -1164,7 +1164,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1164
1164
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1165
1165
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1166
1166
  rendererEngine: "xterm" | "ghostty";
1167
- 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}`;
1167
+ 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}`;
1168
1168
  bellVolume: number;
1169
1169
  };
1170
1170
  theme: "light" | "dark" | "system";
@@ -1186,30 +1186,30 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1186
1186
  diffEagerLineBudget: number;
1187
1187
  };
1188
1188
  notifications: {
1189
- 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}`;
1189
+ 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}`;
1190
1190
  volume: number;
1191
1191
  systemNotificationsEnabled: boolean;
1192
1192
  };
1193
1193
  translation: {
1194
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1195
- targetLanguage: string;
1196
1194
  enabled: boolean;
1195
+ targetLanguage: string;
1197
1196
  displayMode: "direct" | "bilingual";
1198
1197
  cacheEnabled: boolean;
1198
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1199
1199
  engines: {
1200
1200
  local: {
1201
- selectedGroupId?: string | undefined;
1202
- model?: string | undefined;
1203
- };
1204
- openai: {
1205
1201
  model?: string | undefined;
1202
+ selectedGroupId?: string | undefined;
1206
1203
  };
1207
1204
  localCt2: {
1208
- selectedGroupId?: string | undefined;
1209
1205
  model?: string | undefined;
1206
+ selectedGroupId?: string | undefined;
1210
1207
  };
1211
1208
  localLlama: {
1209
+ model?: string | undefined;
1212
1210
  selectedGroupId?: string | undefined;
1211
+ };
1212
+ openai: {
1213
1213
  model?: string | undefined;
1214
1214
  };
1215
1215
  };
@@ -1252,25 +1252,25 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1252
1252
  systemNotificationsEnabled?: boolean | undefined;
1253
1253
  } | undefined;
1254
1254
  translation?: {
1255
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1256
- targetLanguage?: string | undefined;
1257
1255
  enabled?: boolean | undefined;
1256
+ targetLanguage?: string | undefined;
1258
1257
  displayMode?: "direct" | "bilingual" | undefined;
1259
1258
  cacheEnabled?: boolean | undefined;
1259
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1260
1260
  engines?: {
1261
1261
  local?: {
1262
- selectedGroupId?: string | undefined;
1263
- model?: string | undefined;
1264
- } | undefined;
1265
- openai?: {
1266
1262
  model?: string | undefined;
1263
+ selectedGroupId?: string | undefined;
1267
1264
  } | undefined;
1268
1265
  localCt2?: {
1269
- selectedGroupId?: string | undefined;
1270
1266
  model?: string | undefined;
1267
+ selectedGroupId?: string | undefined;
1271
1268
  } | undefined;
1272
1269
  localLlama?: {
1270
+ model?: string | undefined;
1273
1271
  selectedGroupId?: string | undefined;
1272
+ } | undefined;
1273
+ openai?: {
1274
1274
  model?: string | undefined;
1275
1275
  } | undefined;
1276
1276
  } | undefined;
@@ -1323,6 +1323,7 @@ declare class ConfigManager {
1323
1323
  private projectDir;
1324
1324
  private resolvedRunner;
1325
1325
  private resolvingRunnerPromise;
1326
+ private writeChain;
1326
1327
  constructor(projectDir: string);
1327
1328
  private parseConfigContent;
1328
1329
  /**
@@ -1339,6 +1340,7 @@ declare class ConfigManager {
1339
1340
  * 会触发文件监听,自动更新订阅者。
1340
1341
  */
1341
1342
  writeConfig(config: OpenSpecUIConfigUpdate): Promise<void>;
1343
+ private enqueueWrite;
1342
1344
  private resolveDefaultCliCommandParts;
1343
1345
  private isDefaultCliCommand;
1344
1346
  /**
@@ -1384,13 +1386,29 @@ declare const DocumentTranslationGlobalSettingsSchema: z.ZodObject<{
1384
1386
  displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
1385
1387
  cacheEnabled: z.ZodDefault<z.ZodBoolean>;
1386
1388
  }, "strip", z.ZodTypeAny, {
1387
- targetLanguage: string;
1388
1389
  enabled: boolean;
1390
+ targetLanguage: string;
1389
1391
  displayMode: "direct" | "bilingual";
1390
1392
  cacheEnabled: boolean;
1391
1393
  }, {
1394
+ enabled?: boolean | undefined;
1395
+ targetLanguage?: string | undefined;
1396
+ displayMode?: "direct" | "bilingual" | undefined;
1397
+ cacheEnabled?: boolean | undefined;
1398
+ }>;
1399
+ declare const DocumentTranslationGlobalSettingsUpdateSchema: z.ZodObject<{
1400
+ enabled: z.ZodOptional<z.ZodBoolean>;
1401
+ targetLanguage: z.ZodOptional<z.ZodString>;
1402
+ displayMode: z.ZodOptional<z.ZodEnum<["direct", "bilingual"]>>;
1403
+ cacheEnabled: z.ZodOptional<z.ZodBoolean>;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ enabled?: boolean | undefined;
1392
1406
  targetLanguage?: string | undefined;
1407
+ displayMode?: "direct" | "bilingual" | undefined;
1408
+ cacheEnabled?: boolean | undefined;
1409
+ }, {
1393
1410
  enabled?: boolean | undefined;
1411
+ targetLanguage?: string | undefined;
1394
1412
  displayMode?: "direct" | "bilingual" | undefined;
1395
1413
  cacheEnabled?: boolean | undefined;
1396
1414
  }>;
@@ -1402,13 +1420,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1402
1420
  displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
1403
1421
  cacheEnabled: z.ZodDefault<z.ZodBoolean>;
1404
1422
  }, "strip", z.ZodTypeAny, {
1405
- targetLanguage: string;
1406
1423
  enabled: boolean;
1424
+ targetLanguage: string;
1407
1425
  displayMode: "direct" | "bilingual";
1408
1426
  cacheEnabled: boolean;
1409
1427
  }, {
1410
- targetLanguage?: string | undefined;
1411
1428
  enabled?: boolean | undefined;
1429
+ targetLanguage?: string | undefined;
1412
1430
  displayMode?: "direct" | "bilingual" | undefined;
1413
1431
  cacheEnabled?: boolean | undefined;
1414
1432
  }>>;
@@ -1426,13 +1444,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1426
1444
  token: z.ZodDefault<z.ZodString>;
1427
1445
  model: z.ZodDefault<z.ZodString>;
1428
1446
  }, "strip", z.ZodTypeAny, {
1447
+ model: string;
1429
1448
  baseUrl: string;
1430
1449
  token: string;
1431
- model: string;
1432
1450
  }, {
1451
+ model?: string | undefined;
1433
1452
  baseUrl?: string | undefined;
1434
1453
  token?: string | undefined;
1435
- model?: string | undefined;
1436
1454
  }>>;
1437
1455
  local: z.ZodDefault<z.ZodObject<{
1438
1456
  model: z.ZodDefault<z.ZodString>;
@@ -1445,8 +1463,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1445
1463
  memoryBudgetPercent: number;
1446
1464
  selectedGroupId?: string | undefined;
1447
1465
  }, {
1448
- selectedGroupId?: string | undefined;
1449
1466
  model?: string | undefined;
1467
+ selectedGroupId?: string | undefined;
1450
1468
  hfEndpoint?: string | undefined;
1451
1469
  memoryBudgetPercent?: number | undefined;
1452
1470
  }>>;
@@ -1461,8 +1479,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1461
1479
  memoryBudgetPercent: number;
1462
1480
  selectedGroupId?: string | undefined;
1463
1481
  }, {
1464
- selectedGroupId?: string | undefined;
1465
1482
  model?: string | undefined;
1483
+ selectedGroupId?: string | undefined;
1466
1484
  hfEndpoint?: string | undefined;
1467
1485
  memoryBudgetPercent?: number | undefined;
1468
1486
  }>>;
@@ -1477,8 +1495,8 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1477
1495
  memoryBudgetPercent: number;
1478
1496
  selectedGroupId?: string | undefined;
1479
1497
  }, {
1480
- selectedGroupId?: string | undefined;
1481
1498
  model?: string | undefined;
1499
+ selectedGroupId?: string | undefined;
1482
1500
  hfEndpoint?: string | undefined;
1483
1501
  memoryBudgetPercent?: number | undefined;
1484
1502
  }>>;
@@ -1489,12 +1507,6 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1489
1507
  memoryBudgetPercent: number;
1490
1508
  selectedGroupId?: string | undefined;
1491
1509
  };
1492
- openai: {
1493
- baseUrl: string;
1494
- token: string;
1495
- model: string;
1496
- };
1497
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1498
1510
  localCt2: {
1499
1511
  model: string;
1500
1512
  hfEndpoint: string;
@@ -1507,36 +1519,42 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1507
1519
  memoryBudgetPercent: number;
1508
1520
  selectedGroupId?: string | undefined;
1509
1521
  };
1522
+ openai: {
1523
+ model: string;
1524
+ baseUrl: string;
1525
+ token: string;
1526
+ };
1527
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1510
1528
  }, {
1511
1529
  local?: {
1512
- selectedGroupId?: string | undefined;
1513
1530
  model?: string | undefined;
1531
+ selectedGroupId?: string | undefined;
1514
1532
  hfEndpoint?: string | undefined;
1515
1533
  memoryBudgetPercent?: number | undefined;
1516
1534
  } | undefined;
1517
- openai?: {
1518
- baseUrl?: string | undefined;
1519
- token?: string | undefined;
1520
- model?: string | undefined;
1521
- } | undefined;
1522
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1523
1535
  localCt2?: {
1524
- selectedGroupId?: string | undefined;
1525
1536
  model?: string | undefined;
1537
+ selectedGroupId?: string | undefined;
1526
1538
  hfEndpoint?: string | undefined;
1527
1539
  memoryBudgetPercent?: number | undefined;
1528
1540
  } | undefined;
1529
1541
  localLlama?: {
1530
- selectedGroupId?: string | undefined;
1531
1542
  model?: string | undefined;
1543
+ selectedGroupId?: string | undefined;
1532
1544
  hfEndpoint?: string | undefined;
1533
1545
  memoryBudgetPercent?: number | undefined;
1534
1546
  } | undefined;
1547
+ openai?: {
1548
+ model?: string | undefined;
1549
+ baseUrl?: string | undefined;
1550
+ token?: string | undefined;
1551
+ } | undefined;
1552
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1535
1553
  }>>;
1536
1554
  }, "strip", z.ZodTypeAny, {
1537
1555
  translation: {
1538
- targetLanguage: string;
1539
1556
  enabled: boolean;
1557
+ targetLanguage: string;
1540
1558
  displayMode: "direct" | "bilingual";
1541
1559
  cacheEnabled: boolean;
1542
1560
  };
@@ -1550,12 +1568,6 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1550
1568
  memoryBudgetPercent: number;
1551
1569
  selectedGroupId?: string | undefined;
1552
1570
  };
1553
- openai: {
1554
- baseUrl: string;
1555
- token: string;
1556
- model: string;
1557
- };
1558
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
1559
1571
  localCt2: {
1560
1572
  model: string;
1561
1573
  hfEndpoint: string;
@@ -1568,11 +1580,17 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1568
1580
  memoryBudgetPercent: number;
1569
1581
  selectedGroupId?: string | undefined;
1570
1582
  };
1583
+ openai: {
1584
+ model: string;
1585
+ baseUrl: string;
1586
+ token: string;
1587
+ };
1588
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
1571
1589
  };
1572
1590
  }, {
1573
1591
  translation?: {
1574
- targetLanguage?: string | undefined;
1575
1592
  enabled?: boolean | undefined;
1593
+ targetLanguage?: string | undefined;
1576
1594
  displayMode?: "direct" | "bilingual" | undefined;
1577
1595
  cacheEnabled?: boolean | undefined;
1578
1596
  } | undefined;
@@ -1581,29 +1599,29 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
1581
1599
  } | undefined;
1582
1600
  translationEngines?: {
1583
1601
  local?: {
1584
- selectedGroupId?: string | undefined;
1585
1602
  model?: string | undefined;
1603
+ selectedGroupId?: string | undefined;
1586
1604
  hfEndpoint?: string | undefined;
1587
1605
  memoryBudgetPercent?: number | undefined;
1588
1606
  } | undefined;
1589
- openai?: {
1590
- baseUrl?: string | undefined;
1591
- token?: string | undefined;
1592
- model?: string | undefined;
1593
- } | undefined;
1594
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
1595
1607
  localCt2?: {
1596
- selectedGroupId?: string | undefined;
1597
1608
  model?: string | undefined;
1609
+ selectedGroupId?: string | undefined;
1598
1610
  hfEndpoint?: string | undefined;
1599
1611
  memoryBudgetPercent?: number | undefined;
1600
1612
  } | undefined;
1601
1613
  localLlama?: {
1602
- selectedGroupId?: string | undefined;
1603
1614
  model?: string | undefined;
1615
+ selectedGroupId?: string | undefined;
1604
1616
  hfEndpoint?: string | undefined;
1605
1617
  memoryBudgetPercent?: number | undefined;
1606
1618
  } | undefined;
1619
+ openai?: {
1620
+ model?: string | undefined;
1621
+ baseUrl?: string | undefined;
1622
+ token?: string | undefined;
1623
+ } | undefined;
1624
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1607
1625
  } | undefined;
1608
1626
  }>;
1609
1627
  type OpenSpecUIGlobalSettings = z.infer<typeof OpenSpecUIGlobalSettingsSchema>;
@@ -1612,6 +1630,217 @@ type OpenSpecUIGlobalSettingsUpdate = {
1612
1630
  translationCache?: Partial<TranslationCacheSettings>;
1613
1631
  translationEngines?: TranslationEngineGlobalSettingsUpdate;
1614
1632
  };
1633
+ declare const OpenSpecUIGlobalSettingsUpdateSchema: z.ZodObject<{
1634
+ translation: z.ZodOptional<z.ZodObject<{
1635
+ enabled: z.ZodOptional<z.ZodBoolean>;
1636
+ targetLanguage: z.ZodOptional<z.ZodString>;
1637
+ displayMode: z.ZodOptional<z.ZodEnum<["direct", "bilingual"]>>;
1638
+ cacheEnabled: z.ZodOptional<z.ZodBoolean>;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ enabled?: boolean | undefined;
1641
+ targetLanguage?: string | undefined;
1642
+ displayMode?: "direct" | "bilingual" | undefined;
1643
+ cacheEnabled?: boolean | undefined;
1644
+ }, {
1645
+ enabled?: boolean | undefined;
1646
+ targetLanguage?: string | undefined;
1647
+ displayMode?: "direct" | "bilingual" | undefined;
1648
+ cacheEnabled?: boolean | undefined;
1649
+ }>>;
1650
+ translationCache: z.ZodOptional<z.ZodObject<{
1651
+ entryLimit: z.ZodOptional<z.ZodNumber>;
1652
+ }, "strip", z.ZodTypeAny, {
1653
+ entryLimit?: number | undefined;
1654
+ }, {
1655
+ entryLimit?: number | undefined;
1656
+ }>>;
1657
+ translationEngines: z.ZodOptional<z.ZodObject<{
1658
+ engineId: z.ZodOptional<z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>>;
1659
+ openai: z.ZodOptional<z.ZodObject<{
1660
+ baseUrl: z.ZodOptional<z.ZodString>;
1661
+ token: z.ZodOptional<z.ZodString>;
1662
+ model: z.ZodOptional<z.ZodString>;
1663
+ }, "strip", z.ZodTypeAny, {
1664
+ model?: string | undefined;
1665
+ baseUrl?: string | undefined;
1666
+ token?: string | undefined;
1667
+ }, {
1668
+ model?: string | undefined;
1669
+ baseUrl?: string | undefined;
1670
+ token?: string | undefined;
1671
+ }>>;
1672
+ local: z.ZodOptional<z.ZodObject<{
1673
+ model: z.ZodOptional<z.ZodString>;
1674
+ selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1675
+ hfEndpoint: z.ZodOptional<z.ZodString>;
1676
+ memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ model?: string | undefined;
1679
+ selectedGroupId?: string | null | undefined;
1680
+ hfEndpoint?: string | undefined;
1681
+ memoryBudgetPercent?: number | undefined;
1682
+ }, {
1683
+ model?: string | undefined;
1684
+ selectedGroupId?: string | null | undefined;
1685
+ hfEndpoint?: string | undefined;
1686
+ memoryBudgetPercent?: number | undefined;
1687
+ }>>;
1688
+ localCt2: z.ZodOptional<z.ZodObject<{
1689
+ model: z.ZodOptional<z.ZodString>;
1690
+ selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1691
+ hfEndpoint: z.ZodOptional<z.ZodString>;
1692
+ memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ model?: string | undefined;
1695
+ selectedGroupId?: string | null | undefined;
1696
+ hfEndpoint?: string | undefined;
1697
+ memoryBudgetPercent?: number | undefined;
1698
+ }, {
1699
+ model?: string | undefined;
1700
+ selectedGroupId?: string | null | undefined;
1701
+ hfEndpoint?: string | undefined;
1702
+ memoryBudgetPercent?: number | undefined;
1703
+ }>>;
1704
+ localLlama: z.ZodOptional<z.ZodObject<{
1705
+ model: z.ZodOptional<z.ZodString>;
1706
+ selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1707
+ hfEndpoint: z.ZodOptional<z.ZodString>;
1708
+ memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ model?: string | undefined;
1711
+ selectedGroupId?: string | null | undefined;
1712
+ hfEndpoint?: string | undefined;
1713
+ memoryBudgetPercent?: number | undefined;
1714
+ }, {
1715
+ model?: string | undefined;
1716
+ selectedGroupId?: string | null | undefined;
1717
+ hfEndpoint?: string | undefined;
1718
+ memoryBudgetPercent?: number | undefined;
1719
+ }>>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ local?: {
1722
+ model?: string | undefined;
1723
+ selectedGroupId?: string | null | undefined;
1724
+ hfEndpoint?: string | undefined;
1725
+ memoryBudgetPercent?: number | undefined;
1726
+ } | undefined;
1727
+ localCt2?: {
1728
+ model?: string | undefined;
1729
+ selectedGroupId?: string | null | undefined;
1730
+ hfEndpoint?: string | undefined;
1731
+ memoryBudgetPercent?: number | undefined;
1732
+ } | undefined;
1733
+ localLlama?: {
1734
+ model?: string | undefined;
1735
+ selectedGroupId?: string | null | undefined;
1736
+ hfEndpoint?: string | undefined;
1737
+ memoryBudgetPercent?: number | undefined;
1738
+ } | undefined;
1739
+ openai?: {
1740
+ model?: string | undefined;
1741
+ baseUrl?: string | undefined;
1742
+ token?: string | undefined;
1743
+ } | undefined;
1744
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1745
+ }, {
1746
+ local?: {
1747
+ model?: string | undefined;
1748
+ selectedGroupId?: string | null | undefined;
1749
+ hfEndpoint?: string | undefined;
1750
+ memoryBudgetPercent?: number | undefined;
1751
+ } | undefined;
1752
+ localCt2?: {
1753
+ model?: string | undefined;
1754
+ selectedGroupId?: string | null | undefined;
1755
+ hfEndpoint?: string | undefined;
1756
+ memoryBudgetPercent?: number | undefined;
1757
+ } | undefined;
1758
+ localLlama?: {
1759
+ model?: string | undefined;
1760
+ selectedGroupId?: string | null | undefined;
1761
+ hfEndpoint?: string | undefined;
1762
+ memoryBudgetPercent?: number | undefined;
1763
+ } | undefined;
1764
+ openai?: {
1765
+ model?: string | undefined;
1766
+ baseUrl?: string | undefined;
1767
+ token?: string | undefined;
1768
+ } | undefined;
1769
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1770
+ }>>;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ translation?: {
1773
+ enabled?: boolean | undefined;
1774
+ targetLanguage?: string | undefined;
1775
+ displayMode?: "direct" | "bilingual" | undefined;
1776
+ cacheEnabled?: boolean | undefined;
1777
+ } | undefined;
1778
+ translationCache?: {
1779
+ entryLimit?: number | undefined;
1780
+ } | undefined;
1781
+ translationEngines?: {
1782
+ local?: {
1783
+ model?: string | undefined;
1784
+ selectedGroupId?: string | null | undefined;
1785
+ hfEndpoint?: string | undefined;
1786
+ memoryBudgetPercent?: number | undefined;
1787
+ } | undefined;
1788
+ localCt2?: {
1789
+ model?: string | undefined;
1790
+ selectedGroupId?: string | null | undefined;
1791
+ hfEndpoint?: string | undefined;
1792
+ memoryBudgetPercent?: number | undefined;
1793
+ } | undefined;
1794
+ localLlama?: {
1795
+ model?: string | undefined;
1796
+ selectedGroupId?: string | null | undefined;
1797
+ hfEndpoint?: string | undefined;
1798
+ memoryBudgetPercent?: number | undefined;
1799
+ } | undefined;
1800
+ openai?: {
1801
+ model?: string | undefined;
1802
+ baseUrl?: string | undefined;
1803
+ token?: string | undefined;
1804
+ } | undefined;
1805
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1806
+ } | undefined;
1807
+ }, {
1808
+ translation?: {
1809
+ enabled?: boolean | undefined;
1810
+ targetLanguage?: string | undefined;
1811
+ displayMode?: "direct" | "bilingual" | undefined;
1812
+ cacheEnabled?: boolean | undefined;
1813
+ } | undefined;
1814
+ translationCache?: {
1815
+ entryLimit?: number | undefined;
1816
+ } | undefined;
1817
+ translationEngines?: {
1818
+ local?: {
1819
+ model?: string | undefined;
1820
+ selectedGroupId?: string | null | undefined;
1821
+ hfEndpoint?: string | undefined;
1822
+ memoryBudgetPercent?: number | undefined;
1823
+ } | undefined;
1824
+ localCt2?: {
1825
+ model?: string | undefined;
1826
+ selectedGroupId?: string | null | undefined;
1827
+ hfEndpoint?: string | undefined;
1828
+ memoryBudgetPercent?: number | undefined;
1829
+ } | undefined;
1830
+ localLlama?: {
1831
+ model?: string | undefined;
1832
+ selectedGroupId?: string | null | undefined;
1833
+ hfEndpoint?: string | undefined;
1834
+ memoryBudgetPercent?: number | undefined;
1835
+ } | undefined;
1836
+ openai?: {
1837
+ model?: string | undefined;
1838
+ baseUrl?: string | undefined;
1839
+ token?: string | undefined;
1840
+ } | undefined;
1841
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
1842
+ } | undefined;
1843
+ }>;
1615
1844
  type PersistedOpenSpecUIGlobalSettings = {
1616
1845
  translation?: Partial<OpenSpecUIGlobalSettings['translation']>;
1617
1846
  translationCache?: Partial<TranslationCacheSettings>;
@@ -1634,11 +1863,13 @@ declare function toPersistedGlobalSettings(settings: OpenSpecUIGlobalSettings):
1634
1863
  */
1635
1864
  declare class GlobalSettingsManager {
1636
1865
  private readonly settingsPath;
1866
+ private writeChain;
1637
1867
  constructor(settingsPath?: string);
1638
1868
  getSettingsPath(): string;
1639
1869
  private parseSettingsContent;
1640
1870
  readSettings(): Promise<OpenSpecUIGlobalSettings>;
1641
1871
  writeSettings(update: OpenSpecUIGlobalSettingsUpdate): Promise<void>;
1872
+ private enqueueWrite;
1642
1873
  }
1643
1874
  //#endregion
1644
1875
  //#region src/runtime-package-manager.d.ts
@@ -2429,4 +2660,4 @@ declare class OpsxKernel {
2429
2660
  private combineSignals;
2430
2661
  }
2431
2662
  //#endregion
2432
- export { type AIToolOption, AI_TOOLS, type AnnotatedOpenSpecDocument, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, type BatchTranslateEvent, BatchTranslateEventSchema, type BatchTranslateInput, BatchTranslateInputSchema, type BatchTranslationError, type BatchTranslationErrorKind, type BatchTranslationResult, type BuiltinSoundId, BuiltinSoundIdSchema, type BuiltinSoundOption, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, type CustomSoundHash, CustomSoundHashSchema, type CustomSoundId, CustomSoundIdSchema, type CustomSoundMetadata, type CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_GLOBAL_SETTINGS, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DEFAULT_TRANSLATION_ENGINE_ID, DOCUMENT_TRANSLATION_DISPLAY_MODES, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type DocumentTranslationConfig, type DocumentTranslationConfigInput, DocumentTranslationConfigSchema, type DocumentTranslationConfigUpdate, type DocumentTranslationDisplayMode, DocumentTranslationDisplayModeSchema, type ExportSnapshot, FILE_PREVIEW_KINDS, type FileChangeEvent, type FileChangeType, type FilePreviewKind, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, type LocalDirectionalModelLanguagePairCheck, type LocalModelAssetLog, LocalModelAssetLogSchema, type LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, type LocalModelAssetState, LocalModelAssetStateSchema, type LocalModelCatalogItem, type LocalModelCatalogLocalResult, type LocalModelCatalogResult, type LocalModelCatalogSearchEvent, type LocalModelDownloadStatus, LocalModelDownloadStatusSchema, type LocalModelLifecycleFileState, LocalModelLifecycleFileStateSchema, type LocalModelLifecycleGroupState, LocalModelLifecycleGroupStateSchema, type LocalModelProfileId, type LocalModelProfileLoadState, LocalModelProfileLoadStateSchema, type LocalModelProfileManifest, type LocalModelProfileManifestFile, LocalModelProfileManifestFileSchema, type LocalModelProfileManifestGroup, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, type LocalModelProfileStatus, LocalModelProfileStatusSchema, type LocalRepositoryFile, type LocalRuntimeProfileFiles, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, type ManagedLocalCatalogSource, ManagedLocalCatalogSourceSchema, type ManagedLocalTranslationEngineId, type MarkdownAnnotation, type MarkdownAnnotationConfidence, type MarkdownAnnotationContext, type MarkdownAnnotationInput, type MarkdownAnnotationRule, type MarkdownFact, type MarkdownFactKind, type MarkdownFactSpan, type MarkdownFactsDocument, MarkdownParser, type MarkdownProjectionContext, type MarkdownProjectionRule, type MarkdownReadingDocument, type MarkdownReadingLookup, type MarkdownReadingPlugin, MarkdownReadingPluginRegistry, type MarkdownSourcePoint, type MarkdownSourceRange, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, type NotificationAction, NotificationActionSchema, type NotificationGroup, type NotificationGroupKey, NotificationGroupKeySchema, type NotificationPublishInput, NotificationPublishInputSchema, type NotificationRecord, NotificationRecordSchema, type NotificationSettings, NotificationSettingsSchema, type NotificationSound, NotificationSoundSchema, type NotificationSource, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPENSPECUI_RUNTIME_CAPABILITIES, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecAnnotation, type OpenSpecAnnotationConfidence, type OpenSpecHeadingSection, type OpenSpecProjectionOptions, type OpenSpecReadingSectionsProjection, type OpenSpecRequirementBlock, type OpenSpecScenarioBlock, type OpenSpecScenarioStepKeyword, type OpenSpecSemanticKind, type OpenSpecUIConfig, type OpenSpecUIConfigPresence, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIGlobalSettings, OpenSpecUIGlobalSettingsSchema, type OpenSpecUIGlobalSettingsUpdate, type OpenSpecUIHooksV1, type OpenSpecUIRuntimeCapability, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, type OpsxEntityArtifact, type OpsxEntityArtifactFile, type OpsxEntityDetail, type OpsxEntityDiagnostic, type OpsxEntityFile, type OpsxEntityReadOptions, type OpsxEntityStage, OpsxKernel, type ParsedOpsxSchemaDetail, type PathCallback, type PersistedOpenSpecUIGlobalSettings, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, type ProjectedOpenSpecDocument, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, type RuntimePackageDependencyField, type RuntimePackageInstallCommand, type RuntimePackageInstallStrategy, type RuntimePackageManagerResolution, type RuntimePackageManagerSource, SERVICE_TRANSLATION_ENGINE_IDS, SILENT_SOUND_ID, type ScenarioStep, ScenarioStepKeywordSchema, ScenarioStepSchema, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, type ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, type SoundId, SoundIdSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, TRANSLATION_CACHE_POLICY_VERSION, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalBellSound, TerminalBellSoundSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalControlEvent, type TerminalControlParseResult, TerminalControlParser, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalNotificationEvent, type TerminalNotificationParseResult, TerminalNotificationParser, type TerminalNotificationProtocol, type TerminalProgressState, type TerminalPromptState, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type TerminalTitleTarget, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, type TranslationCacheEntry, TranslationCacheEntrySchema, type TranslationCacheReadInput, TranslationCacheReadInputSchema, type TranslationCacheSettings, TranslationCacheSettingsSchema, type TranslationCacheStats, TranslationCacheStatsSchema, type TranslationCacheWriteInput, TranslationCacheWriteInputSchema, type TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, type TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, type TranslationEngineAssetState, TranslationEngineAssetStateSchema, type TranslationEngineAssetStatus, TranslationEngineAssetStatusSchema, type TranslationEngineDependencyState, TranslationEngineDependencyStateSchema, type TranslationEngineDependencyStatus, TranslationEngineDependencyStatusSchema, type TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, type TranslationEngineGlobalSettingsUpdate, type TranslationEngineId, TranslationEngineIdSchema, type TranslationEngineInstallLogEvent, TranslationEngineInstallLogEventSchema, type TranslationEngineInstallLogStream, TranslationEngineInstallLogStreamSchema, type TranslationEngineKind, type TranslationEngineLifecycleContext, type TranslationEngineLifecycleController, type TranslationEngineLifecycleEvent, TranslationEngineLifecycleEventSchema, type TranslationEngineLifecycleStatus, TranslationEngineLifecycleStatusSchema, type TranslationEngineManifest, type TranslationEngineProjectSettings, TranslationEngineProjectSettingsSchema, type TranslationEngineRuntime, type TranslationEngineRuntimeState, TranslationEngineRuntimeStateSchema, type TranslationEngineRuntimeStatus, TranslationEngineRuntimeStatusSchema, type TranslationEngineSettingsKey, type TranslationLanguagePair, type TranslationLocalCt2Settings, TranslationLocalCt2SettingsSchema, type TranslationLocalLlamaSettings, TranslationLocalLlamaSettingsSchema, type TranslationLocalSettings, TranslationLocalSettingsSchema, type TranslationModelCandidate, type TranslationModelDownloadPlan, type TranslationModelSearchEvent, type TranslationModelSearchInput, type TranslationModelSearchPhase, type TranslationModelSearchResult, type TranslationOpenAISettings, TranslationOpenAISettingsSchema, type Translator, type TranslatorCreateMonitor, type TranslatorFactory, type TranslatorFactoryCreateOptions, type TranslatorFactoryPrepareOptions, type TranslatorOptions, type TranslatorPrepareMonitor, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, annotateOpenSpecFacts, annotateOpenSpecMarkdown, buildBackendHealthPayload, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, buildMarkdownParentMap, buildOpsxEntityDetail, buildRuntimePackageInstallCommand, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, createTranslationEngineLifecycleStatus, customHashFromSoundId, detectRuntimePackageManager, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getManagedLocalTranslationEngineManifest, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, initWatcherPool, isBackendHealthRuntimeMetadata, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isOpsxGlobPattern, isPreviewableFile, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, normalizeBatchTranslationError, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, runControlledTranslationTask, selectLocalDownloadGroup, shouldShowTranslationEngineInstallGate, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, trimMarkdownSlice };
2663
+ export { type AIToolOption, AI_TOOLS, type AnnotatedOpenSpecDocument, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, type BatchTranslateEvent, BatchTranslateEventSchema, type BatchTranslateInput, BatchTranslateInputSchema, type BatchTranslationError, type BatchTranslationErrorKind, type BatchTranslationResult, type BuiltinSoundId, BuiltinSoundIdSchema, type BuiltinSoundOption, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, type CustomSoundHash, CustomSoundHashSchema, type CustomSoundId, CustomSoundIdSchema, type CustomSoundMetadata, type CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_GLOBAL_SETTINGS, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DEFAULT_TRANSLATION_ENGINE_ID, DOCUMENT_TRANSLATION_DISPLAY_MODES, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type DocumentTranslationConfig, type DocumentTranslationConfigInput, DocumentTranslationConfigSchema, type DocumentTranslationConfigUpdate, DocumentTranslationConfigUpdateSchema, type DocumentTranslationDisplayMode, DocumentTranslationDisplayModeSchema, DocumentTranslationGlobalSettingsUpdateSchema, type ExportSnapshot, FILE_PREVIEW_KINDS, type FileChangeEvent, type FileChangeType, type FilePreviewKind, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, type LocalDirectionalModelLanguagePairCheck, type LocalModelAssetLog, LocalModelAssetLogSchema, type LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, type LocalModelAssetState, LocalModelAssetStateSchema, type LocalModelCatalogItem, type LocalModelCatalogLocalResult, type LocalModelCatalogResult, type LocalModelCatalogSearchEvent, type LocalModelDownloadStatus, LocalModelDownloadStatusSchema, type LocalModelLifecycleFileState, LocalModelLifecycleFileStateSchema, type LocalModelLifecycleGroupState, LocalModelLifecycleGroupStateSchema, type LocalModelProfileId, type LocalModelProfileLoadState, LocalModelProfileLoadStateSchema, type LocalModelProfileManifest, type LocalModelProfileManifestFile, LocalModelProfileManifestFileSchema, type LocalModelProfileManifestGroup, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, type LocalModelProfileStatus, LocalModelProfileStatusSchema, type LocalRepositoryFile, type LocalRuntimeProfileFiles, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, type ManagedLocalCatalogSource, ManagedLocalCatalogSourceSchema, type ManagedLocalTranslationEngineId, type MarkdownAnnotation, type MarkdownAnnotationConfidence, type MarkdownAnnotationContext, type MarkdownAnnotationInput, type MarkdownAnnotationRule, type MarkdownFact, type MarkdownFactKind, type MarkdownFactSpan, type MarkdownFactsDocument, MarkdownParser, type MarkdownProjectionContext, type MarkdownProjectionRule, type MarkdownReadingDocument, type MarkdownReadingLookup, type MarkdownReadingPlugin, MarkdownReadingPluginRegistry, type MarkdownSourcePoint, type MarkdownSourceRange, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, type NotificationAction, NotificationActionSchema, type NotificationGroup, type NotificationGroupKey, NotificationGroupKeySchema, type NotificationPublishInput, NotificationPublishInputSchema, type NotificationRecord, NotificationRecordSchema, type NotificationSettings, NotificationSettingsSchema, type NotificationSound, NotificationSoundSchema, type NotificationSource, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPENSPECUI_RUNTIME_CAPABILITIES, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecAnnotation, type OpenSpecAnnotationConfidence, type OpenSpecHeadingSection, type OpenSpecProjectionOptions, type OpenSpecReadingSectionsProjection, type OpenSpecRequirementBlock, type OpenSpecScenarioBlock, type OpenSpecScenarioStepKeyword, type OpenSpecSemanticKind, type OpenSpecUIConfig, type OpenSpecUIConfigPresence, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIGlobalSettings, OpenSpecUIGlobalSettingsSchema, type OpenSpecUIGlobalSettingsUpdate, OpenSpecUIGlobalSettingsUpdateSchema, type OpenSpecUIHooksV1, type OpenSpecUIRuntimeCapability, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, type OpsxEntityArtifact, type OpsxEntityArtifactFile, type OpsxEntityDetail, type OpsxEntityDiagnostic, type OpsxEntityFile, type OpsxEntityReadOptions, type OpsxEntityStage, OpsxKernel, type ParsedOpsxSchemaDetail, type PathCallback, type PersistedOpenSpecUIGlobalSettings, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, type ProjectedOpenSpecDocument, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, type RuntimePackageDependencyField, type RuntimePackageInstallCommand, type RuntimePackageInstallStrategy, type RuntimePackageManagerResolution, type RuntimePackageManagerSource, SERVICE_TRANSLATION_ENGINE_IDS, SILENT_SOUND_ID, type ScenarioStep, ScenarioStepKeywordSchema, ScenarioStepSchema, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, type ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, type SoundId, SoundIdSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, TRANSLATION_CACHE_POLICY_VERSION, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalBellSound, TerminalBellSoundSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalControlEvent, type TerminalControlParseResult, TerminalControlParser, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalNotificationEvent, type TerminalNotificationParseResult, TerminalNotificationParser, type TerminalNotificationProtocol, type TerminalProgressState, type TerminalPromptState, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type TerminalTitleTarget, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, type TranslationCacheEntry, TranslationCacheEntrySchema, type TranslationCacheReadInput, TranslationCacheReadInputSchema, type TranslationCacheSettings, TranslationCacheSettingsSchema, TranslationCacheSettingsUpdateSchema, type TranslationCacheStats, TranslationCacheStatsSchema, type TranslationCacheWriteInput, TranslationCacheWriteInputSchema, type TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, type TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, type TranslationEngineAssetState, TranslationEngineAssetStateSchema, type TranslationEngineAssetStatus, TranslationEngineAssetStatusSchema, type TranslationEngineDependencyState, TranslationEngineDependencyStateSchema, type TranslationEngineDependencyStatus, TranslationEngineDependencyStatusSchema, type TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, type TranslationEngineGlobalSettingsUpdate, TranslationEngineGlobalSettingsUpdateSchema, type TranslationEngineId, TranslationEngineIdSchema, type TranslationEngineInstallLogEvent, TranslationEngineInstallLogEventSchema, type TranslationEngineInstallLogStream, TranslationEngineInstallLogStreamSchema, type TranslationEngineKind, type TranslationEngineLifecycleContext, type TranslationEngineLifecycleController, type TranslationEngineLifecycleEvent, TranslationEngineLifecycleEventSchema, type TranslationEngineLifecycleStatus, TranslationEngineLifecycleStatusSchema, type TranslationEngineManifest, type TranslationEngineProjectSettings, TranslationEngineProjectSettingsSchema, TranslationEngineProjectSettingsUpdateSchema, type TranslationEngineRuntime, type TranslationEngineRuntimeState, TranslationEngineRuntimeStateSchema, type TranslationEngineRuntimeStatus, TranslationEngineRuntimeStatusSchema, type TranslationEngineSettingsKey, type TranslationLanguagePair, type TranslationLocalCt2Settings, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, type TranslationLocalLlamaSettings, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, type TranslationLocalSettings, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, type TranslationModelCandidate, type TranslationModelDownloadPlan, type TranslationModelSearchEvent, type TranslationModelSearchInput, type TranslationModelSearchPhase, type TranslationModelSearchResult, type TranslationOpenAISettings, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, type Translator, type TranslatorCreateMonitor, type TranslatorFactory, type TranslatorFactoryCreateOptions, type TranslatorFactoryPrepareOptions, type TranslatorOptions, type TranslatorPrepareMonitor, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, annotateOpenSpecFacts, annotateOpenSpecMarkdown, buildBackendHealthPayload, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, buildMarkdownParentMap, buildOpsxEntityDetail, buildRuntimePackageInstallCommand, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, createTranslationEngineLifecycleStatus, customHashFromSoundId, detectRuntimePackageManager, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getManagedLocalTranslationEngineManifest, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, initWatcherPool, isBackendHealthRuntimeMetadata, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isOpsxGlobPattern, isPreviewableFile, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, normalizeBatchTranslationError, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, runControlledTranslationTask, selectLocalDownloadGroup, shouldShowTranslationEngineInstallGate, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, trimMarkdownSlice };