@openspecui/core 3.11.3 → 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.
- package/dist/{document-translation-BrlCvnLZ.mjs → document-translation-B6VWf7ll.mjs} +26 -2
- package/dist/{document-translation-Cv6BIGL5.d.mts → document-translation-DhFREeHW.d.mts} +254 -52
- package/dist/document-translation.d.mts +2 -2
- package/dist/document-translation.mjs +3 -3
- package/dist/index.d.mts +410 -89
- package/dist/index.mjs +226 -89
- package/dist/{local-download-profiles-GKs2OOqJ.d.mts → local-download-profiles-DIVr0mFh.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-CJQ_F_Un.d.mts → notifications-BDBbeTRk.d.mts} +16 -16
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BbuPTbvj.d.mts → openspec-projection-CmxjMsxS.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BO9G2SCW.d.mts → opsx-entity-CRa2u1j3.d.mts} +1 -1
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-DTajJW4g.d.mts → opsx-schema-detail-aVlqvbro.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DQzd1hgp.d.mts → schemas-Dp8-Wm-X.d.mts} +28 -28
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-UCLlM1qN.d.mts → terminal-audio-DLOmaKqa.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-DCPc8hmm.d.mts → terminal-invocation-B3js0mEF.d.mts} +81 -81
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-prn3W9lf.d.mts → translator-CS7MsNZp.d.mts} +387 -138
- package/dist/{translator-Car0_7uk.mjs → translator-Cx9j32Og.mjs} +164 -6
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{sounds-3yEx1YXT.d.mts → sounds-6KwglrL2.d.mts} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { C as
|
|
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-
|
|
4
|
-
import { _ as SpecSchema, a as Delta, c as DeltaSchema, d as Requirement, f as RequirementSchema, g as Spec, h as ScenarioStepSchema, i as ChangeSchema, l as DeltaSpec, m as ScenarioStepKeywordSchema, n as ChangeFile, o as DeltaOperation, p as ScenarioStep, r as ChangeFileSchema, s as DeltaOperationType, t as Change, u as DeltaSpecSchema, v as Task, y as TaskSchema } from "./schemas-
|
|
3
|
+
import { A as SchemaArtifactSchema, C as ArtifactStatus, D as DependencyInfo, E as ChangeStatusSchema, F as SchemaResolution, I as SchemaResolutionSchema, L as TemplatesMap, M as SchemaDetailSchema, N as SchemaInfo, O as DependencyInfoSchema, P as SchemaInfoSchema, R as TemplatesSchema, S as ArtifactInstructionsSchema, T as ChangeStatus, _ as ApplyInstructionsContextFilesSchema, a as OpsxEntityFile, b as ApplyTaskSchema, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, g as ApplyInstructions, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, j as SchemaDetail, k as SchemaArtifact, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath, v as ApplyInstructionsSchema, w as ArtifactStatusSchema, x as ArtifactInstructions, y as ApplyTask, z as isGlobPattern } from "./opsx-entity-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-
|
|
9
|
-
import { D as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-
|
|
13
|
-
import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-
|
|
8
|
+
import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-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-
|
|
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-
|
|
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";
|
|
@@ -166,9 +166,9 @@ declare class OpenSpecAdapter {
|
|
|
166
166
|
name: string;
|
|
167
167
|
overview: string;
|
|
168
168
|
requirements: {
|
|
169
|
-
title: string;
|
|
170
169
|
id: string;
|
|
171
170
|
text: string;
|
|
171
|
+
title: string;
|
|
172
172
|
bodyMarkdown: string;
|
|
173
173
|
scenarios: {
|
|
174
174
|
title: string;
|
|
@@ -201,9 +201,9 @@ declare class OpenSpecAdapter {
|
|
|
201
201
|
spec: string;
|
|
202
202
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
203
203
|
requirements?: {
|
|
204
|
-
title: string;
|
|
205
204
|
id: string;
|
|
206
205
|
text: string;
|
|
206
|
+
title: string;
|
|
207
207
|
bodyMarkdown: string;
|
|
208
208
|
scenarios: {
|
|
209
209
|
title: string;
|
|
@@ -217,9 +217,9 @@ declare class OpenSpecAdapter {
|
|
|
217
217
|
}[];
|
|
218
218
|
}[] | undefined;
|
|
219
219
|
requirement?: {
|
|
220
|
-
title: string;
|
|
221
220
|
id: string;
|
|
222
221
|
text: string;
|
|
222
|
+
title: string;
|
|
223
223
|
bodyMarkdown: string;
|
|
224
224
|
scenarios: {
|
|
225
225
|
title: string;
|
|
@@ -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;
|
|
@@ -1191,25 +1191,25 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -1292,6 +1292,21 @@ type OpenSpecUIConfigUpdate = {
|
|
|
1292
1292
|
notifications?: Partial<NotificationSettings>;
|
|
1293
1293
|
translation?: DocumentTranslationConfigUpdate;
|
|
1294
1294
|
};
|
|
1295
|
+
interface OpenSpecUIConfigPresence {
|
|
1296
|
+
translation: {
|
|
1297
|
+
enabled: boolean;
|
|
1298
|
+
targetLanguage: boolean;
|
|
1299
|
+
displayMode: boolean;
|
|
1300
|
+
cacheEnabled: boolean;
|
|
1301
|
+
engineId: boolean;
|
|
1302
|
+
engines: {
|
|
1303
|
+
local: boolean;
|
|
1304
|
+
localCt2: boolean;
|
|
1305
|
+
localLlama: boolean;
|
|
1306
|
+
openai: boolean;
|
|
1307
|
+
};
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1295
1310
|
/** 默认配置(静态,用于测试和类型) */
|
|
1296
1311
|
declare const DEFAULT_CONFIG: OpenSpecUIConfig;
|
|
1297
1312
|
/**
|
|
@@ -1308,6 +1323,7 @@ declare class ConfigManager {
|
|
|
1308
1323
|
private projectDir;
|
|
1309
1324
|
private resolvedRunner;
|
|
1310
1325
|
private resolvingRunnerPromise;
|
|
1326
|
+
private writeChain;
|
|
1311
1327
|
constructor(projectDir: string);
|
|
1312
1328
|
private parseConfigContent;
|
|
1313
1329
|
/**
|
|
@@ -1317,12 +1333,14 @@ declare class ConfigManager {
|
|
|
1317
1333
|
* 如果配置文件格式错误,返回默认配置并打印警告。
|
|
1318
1334
|
*/
|
|
1319
1335
|
readConfig(): Promise<OpenSpecUIConfig>;
|
|
1336
|
+
readConfigPresence(): Promise<OpenSpecUIConfigPresence>;
|
|
1320
1337
|
/**
|
|
1321
1338
|
* 写入配置
|
|
1322
1339
|
*
|
|
1323
1340
|
* 会触发文件监听,自动更新订阅者。
|
|
1324
1341
|
*/
|
|
1325
1342
|
writeConfig(config: OpenSpecUIConfigUpdate): Promise<void>;
|
|
1343
|
+
private enqueueWrite;
|
|
1326
1344
|
private resolveDefaultCliCommandParts;
|
|
1327
1345
|
private isDefaultCliCommand;
|
|
1328
1346
|
/**
|
|
@@ -1362,7 +1380,56 @@ declare class ConfigManager {
|
|
|
1362
1380
|
}
|
|
1363
1381
|
//#endregion
|
|
1364
1382
|
//#region src/global-settings.d.ts
|
|
1383
|
+
declare const DocumentTranslationGlobalSettingsSchema: z.ZodObject<{
|
|
1384
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1385
|
+
targetLanguage: z.ZodDefault<z.ZodString>;
|
|
1386
|
+
displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
|
|
1387
|
+
cacheEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1388
|
+
}, "strip", z.ZodTypeAny, {
|
|
1389
|
+
enabled: boolean;
|
|
1390
|
+
targetLanguage: string;
|
|
1391
|
+
displayMode: "direct" | "bilingual";
|
|
1392
|
+
cacheEnabled: boolean;
|
|
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;
|
|
1406
|
+
targetLanguage?: string | undefined;
|
|
1407
|
+
displayMode?: "direct" | "bilingual" | undefined;
|
|
1408
|
+
cacheEnabled?: boolean | undefined;
|
|
1409
|
+
}, {
|
|
1410
|
+
enabled?: boolean | undefined;
|
|
1411
|
+
targetLanguage?: string | undefined;
|
|
1412
|
+
displayMode?: "direct" | "bilingual" | undefined;
|
|
1413
|
+
cacheEnabled?: boolean | undefined;
|
|
1414
|
+
}>;
|
|
1415
|
+
type DocumentTranslationGlobalSettings = z.infer<typeof DocumentTranslationGlobalSettingsSchema>;
|
|
1365
1416
|
declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
1417
|
+
translation: z.ZodDefault<z.ZodObject<{
|
|
1418
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1419
|
+
targetLanguage: z.ZodDefault<z.ZodString>;
|
|
1420
|
+
displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
|
|
1421
|
+
cacheEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1422
|
+
}, "strip", z.ZodTypeAny, {
|
|
1423
|
+
enabled: boolean;
|
|
1424
|
+
targetLanguage: string;
|
|
1425
|
+
displayMode: "direct" | "bilingual";
|
|
1426
|
+
cacheEnabled: boolean;
|
|
1427
|
+
}, {
|
|
1428
|
+
enabled?: boolean | undefined;
|
|
1429
|
+
targetLanguage?: string | undefined;
|
|
1430
|
+
displayMode?: "direct" | "bilingual" | undefined;
|
|
1431
|
+
cacheEnabled?: boolean | undefined;
|
|
1432
|
+
}>>;
|
|
1366
1433
|
translationCache: z.ZodDefault<z.ZodObject<{
|
|
1367
1434
|
entryLimit: z.ZodDefault<z.ZodNumber>;
|
|
1368
1435
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1371,102 +1438,126 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1371
1438
|
entryLimit?: number | undefined;
|
|
1372
1439
|
}>>;
|
|
1373
1440
|
translationEngines: z.ZodDefault<z.ZodObject<{
|
|
1441
|
+
engineId: z.ZodDefault<z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>>;
|
|
1374
1442
|
openai: z.ZodDefault<z.ZodObject<{
|
|
1375
1443
|
baseUrl: z.ZodDefault<z.ZodString>;
|
|
1376
1444
|
token: z.ZodDefault<z.ZodString>;
|
|
1377
1445
|
model: z.ZodDefault<z.ZodString>;
|
|
1378
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
+
model: string;
|
|
1379
1448
|
baseUrl: string;
|
|
1380
1449
|
token: string;
|
|
1381
|
-
model: string;
|
|
1382
1450
|
}, {
|
|
1451
|
+
model?: string | undefined;
|
|
1383
1452
|
baseUrl?: string | undefined;
|
|
1384
1453
|
token?: string | undefined;
|
|
1385
|
-
model?: string | undefined;
|
|
1386
1454
|
}>>;
|
|
1387
1455
|
local: z.ZodDefault<z.ZodObject<{
|
|
1388
1456
|
model: z.ZodDefault<z.ZodString>;
|
|
1389
1457
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1390
1458
|
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1459
|
+
memoryBudgetPercent: z.ZodDefault<z.ZodNumber>;
|
|
1391
1460
|
}, "strip", z.ZodTypeAny, {
|
|
1392
1461
|
model: string;
|
|
1393
1462
|
hfEndpoint: string;
|
|
1463
|
+
memoryBudgetPercent: number;
|
|
1394
1464
|
selectedGroupId?: string | undefined;
|
|
1395
1465
|
}, {
|
|
1396
|
-
selectedGroupId?: string | undefined;
|
|
1397
1466
|
model?: string | undefined;
|
|
1467
|
+
selectedGroupId?: string | undefined;
|
|
1398
1468
|
hfEndpoint?: string | undefined;
|
|
1469
|
+
memoryBudgetPercent?: number | undefined;
|
|
1399
1470
|
}>>;
|
|
1400
1471
|
localCt2: z.ZodDefault<z.ZodObject<{
|
|
1401
1472
|
model: z.ZodDefault<z.ZodString>;
|
|
1402
1473
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1403
1474
|
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1475
|
+
memoryBudgetPercent: z.ZodDefault<z.ZodNumber>;
|
|
1404
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1405
1477
|
model: string;
|
|
1406
1478
|
hfEndpoint: string;
|
|
1479
|
+
memoryBudgetPercent: number;
|
|
1407
1480
|
selectedGroupId?: string | undefined;
|
|
1408
1481
|
}, {
|
|
1409
|
-
selectedGroupId?: string | undefined;
|
|
1410
1482
|
model?: string | undefined;
|
|
1483
|
+
selectedGroupId?: string | undefined;
|
|
1411
1484
|
hfEndpoint?: string | undefined;
|
|
1485
|
+
memoryBudgetPercent?: number | undefined;
|
|
1412
1486
|
}>>;
|
|
1413
1487
|
localLlama: z.ZodDefault<z.ZodObject<{
|
|
1414
1488
|
model: z.ZodDefault<z.ZodString>;
|
|
1415
1489
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1416
1490
|
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1491
|
+
memoryBudgetPercent: z.ZodDefault<z.ZodNumber>;
|
|
1417
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1418
1493
|
model: string;
|
|
1419
1494
|
hfEndpoint: string;
|
|
1495
|
+
memoryBudgetPercent: number;
|
|
1420
1496
|
selectedGroupId?: string | undefined;
|
|
1421
1497
|
}, {
|
|
1422
|
-
selectedGroupId?: string | undefined;
|
|
1423
1498
|
model?: string | undefined;
|
|
1499
|
+
selectedGroupId?: string | undefined;
|
|
1424
1500
|
hfEndpoint?: string | undefined;
|
|
1501
|
+
memoryBudgetPercent?: number | undefined;
|
|
1425
1502
|
}>>;
|
|
1426
1503
|
}, "strip", z.ZodTypeAny, {
|
|
1427
1504
|
local: {
|
|
1428
1505
|
model: string;
|
|
1429
1506
|
hfEndpoint: string;
|
|
1507
|
+
memoryBudgetPercent: number;
|
|
1430
1508
|
selectedGroupId?: string | undefined;
|
|
1431
1509
|
};
|
|
1432
|
-
openai: {
|
|
1433
|
-
baseUrl: string;
|
|
1434
|
-
token: string;
|
|
1435
|
-
model: string;
|
|
1436
|
-
};
|
|
1437
1510
|
localCt2: {
|
|
1438
1511
|
model: string;
|
|
1439
1512
|
hfEndpoint: string;
|
|
1513
|
+
memoryBudgetPercent: number;
|
|
1440
1514
|
selectedGroupId?: string | undefined;
|
|
1441
1515
|
};
|
|
1442
1516
|
localLlama: {
|
|
1443
1517
|
model: string;
|
|
1444
1518
|
hfEndpoint: string;
|
|
1519
|
+
memoryBudgetPercent: number;
|
|
1445
1520
|
selectedGroupId?: string | undefined;
|
|
1446
1521
|
};
|
|
1522
|
+
openai: {
|
|
1523
|
+
model: string;
|
|
1524
|
+
baseUrl: string;
|
|
1525
|
+
token: string;
|
|
1526
|
+
};
|
|
1527
|
+
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
1447
1528
|
}, {
|
|
1448
1529
|
local?: {
|
|
1449
|
-
selectedGroupId?: string | undefined;
|
|
1450
1530
|
model?: string | undefined;
|
|
1531
|
+
selectedGroupId?: string | undefined;
|
|
1451
1532
|
hfEndpoint?: string | undefined;
|
|
1452
|
-
|
|
1453
|
-
openai?: {
|
|
1454
|
-
baseUrl?: string | undefined;
|
|
1455
|
-
token?: string | undefined;
|
|
1456
|
-
model?: string | undefined;
|
|
1533
|
+
memoryBudgetPercent?: number | undefined;
|
|
1457
1534
|
} | undefined;
|
|
1458
1535
|
localCt2?: {
|
|
1459
|
-
selectedGroupId?: string | undefined;
|
|
1460
1536
|
model?: string | undefined;
|
|
1537
|
+
selectedGroupId?: string | undefined;
|
|
1461
1538
|
hfEndpoint?: string | undefined;
|
|
1539
|
+
memoryBudgetPercent?: number | undefined;
|
|
1462
1540
|
} | undefined;
|
|
1463
1541
|
localLlama?: {
|
|
1464
|
-
selectedGroupId?: string | undefined;
|
|
1465
1542
|
model?: string | undefined;
|
|
1543
|
+
selectedGroupId?: string | undefined;
|
|
1466
1544
|
hfEndpoint?: string | undefined;
|
|
1545
|
+
memoryBudgetPercent?: number | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
openai?: {
|
|
1548
|
+
model?: string | undefined;
|
|
1549
|
+
baseUrl?: string | undefined;
|
|
1550
|
+
token?: string | undefined;
|
|
1467
1551
|
} | undefined;
|
|
1552
|
+
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
1468
1553
|
}>>;
|
|
1469
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1555
|
+
translation: {
|
|
1556
|
+
enabled: boolean;
|
|
1557
|
+
targetLanguage: string;
|
|
1558
|
+
displayMode: "direct" | "bilingual";
|
|
1559
|
+
cacheEnabled: boolean;
|
|
1560
|
+
};
|
|
1470
1561
|
translationCache: {
|
|
1471
1562
|
entryLimit: number;
|
|
1472
1563
|
};
|
|
@@ -1474,59 +1565,287 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1474
1565
|
local: {
|
|
1475
1566
|
model: string;
|
|
1476
1567
|
hfEndpoint: string;
|
|
1568
|
+
memoryBudgetPercent: number;
|
|
1477
1569
|
selectedGroupId?: string | undefined;
|
|
1478
1570
|
};
|
|
1479
|
-
openai: {
|
|
1480
|
-
baseUrl: string;
|
|
1481
|
-
token: string;
|
|
1482
|
-
model: string;
|
|
1483
|
-
};
|
|
1484
1571
|
localCt2: {
|
|
1485
1572
|
model: string;
|
|
1486
1573
|
hfEndpoint: string;
|
|
1574
|
+
memoryBudgetPercent: number;
|
|
1487
1575
|
selectedGroupId?: string | undefined;
|
|
1488
1576
|
};
|
|
1489
1577
|
localLlama: {
|
|
1490
1578
|
model: string;
|
|
1491
1579
|
hfEndpoint: string;
|
|
1580
|
+
memoryBudgetPercent: number;
|
|
1492
1581
|
selectedGroupId?: string | undefined;
|
|
1493
1582
|
};
|
|
1583
|
+
openai: {
|
|
1584
|
+
model: string;
|
|
1585
|
+
baseUrl: string;
|
|
1586
|
+
token: string;
|
|
1587
|
+
};
|
|
1588
|
+
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
1494
1589
|
};
|
|
1495
1590
|
}, {
|
|
1591
|
+
translation?: {
|
|
1592
|
+
enabled?: boolean | undefined;
|
|
1593
|
+
targetLanguage?: string | undefined;
|
|
1594
|
+
displayMode?: "direct" | "bilingual" | undefined;
|
|
1595
|
+
cacheEnabled?: boolean | undefined;
|
|
1596
|
+
} | undefined;
|
|
1496
1597
|
translationCache?: {
|
|
1497
1598
|
entryLimit?: number | undefined;
|
|
1498
1599
|
} | undefined;
|
|
1499
1600
|
translationEngines?: {
|
|
1500
1601
|
local?: {
|
|
1602
|
+
model?: string | undefined;
|
|
1501
1603
|
selectedGroupId?: string | undefined;
|
|
1604
|
+
hfEndpoint?: string | undefined;
|
|
1605
|
+
memoryBudgetPercent?: number | undefined;
|
|
1606
|
+
} | undefined;
|
|
1607
|
+
localCt2?: {
|
|
1608
|
+
model?: string | undefined;
|
|
1609
|
+
selectedGroupId?: string | undefined;
|
|
1610
|
+
hfEndpoint?: string | undefined;
|
|
1611
|
+
memoryBudgetPercent?: number | undefined;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
localLlama?: {
|
|
1502
1614
|
model?: string | undefined;
|
|
1615
|
+
selectedGroupId?: string | undefined;
|
|
1503
1616
|
hfEndpoint?: string | undefined;
|
|
1617
|
+
memoryBudgetPercent?: number | undefined;
|
|
1504
1618
|
} | undefined;
|
|
1505
1619
|
openai?: {
|
|
1620
|
+
model?: string | undefined;
|
|
1506
1621
|
baseUrl?: string | undefined;
|
|
1507
1622
|
token?: string | undefined;
|
|
1623
|
+
} | undefined;
|
|
1624
|
+
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
1625
|
+
} | undefined;
|
|
1626
|
+
}>;
|
|
1627
|
+
type OpenSpecUIGlobalSettings = z.infer<typeof OpenSpecUIGlobalSettingsSchema>;
|
|
1628
|
+
type OpenSpecUIGlobalSettingsUpdate = {
|
|
1629
|
+
translation?: Partial<DocumentTranslationGlobalSettings>;
|
|
1630
|
+
translationCache?: Partial<TranslationCacheSettings>;
|
|
1631
|
+
translationEngines?: TranslationEngineGlobalSettingsUpdate;
|
|
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, {
|
|
1508
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;
|
|
1509
1726
|
} | undefined;
|
|
1510
1727
|
localCt2?: {
|
|
1511
|
-
selectedGroupId?: string | undefined;
|
|
1512
1728
|
model?: string | undefined;
|
|
1729
|
+
selectedGroupId?: string | null | undefined;
|
|
1513
1730
|
hfEndpoint?: string | undefined;
|
|
1731
|
+
memoryBudgetPercent?: number | undefined;
|
|
1514
1732
|
} | undefined;
|
|
1515
1733
|
localLlama?: {
|
|
1516
|
-
selectedGroupId?: string | undefined;
|
|
1517
1734
|
model?: string | undefined;
|
|
1735
|
+
selectedGroupId?: string | null | undefined;
|
|
1518
1736
|
hfEndpoint?: string | undefined;
|
|
1737
|
+
memoryBudgetPercent?: number | undefined;
|
|
1519
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;
|
|
1520
1842
|
} | undefined;
|
|
1521
1843
|
}>;
|
|
1522
|
-
type OpenSpecUIGlobalSettings = z.infer<typeof OpenSpecUIGlobalSettingsSchema>;
|
|
1523
|
-
type OpenSpecUIGlobalSettingsUpdate = {
|
|
1524
|
-
translationCache?: Partial<TranslationCacheSettings>;
|
|
1525
|
-
translationEngines?: TranslationEngineGlobalSettingsUpdate;
|
|
1526
|
-
};
|
|
1527
1844
|
type PersistedOpenSpecUIGlobalSettings = {
|
|
1845
|
+
translation?: Partial<OpenSpecUIGlobalSettings['translation']>;
|
|
1528
1846
|
translationCache?: Partial<TranslationCacheSettings>;
|
|
1529
1847
|
translationEngines?: {
|
|
1848
|
+
engineId?: TranslationEngineId;
|
|
1530
1849
|
openai?: Partial<TranslationOpenAISettings>;
|
|
1531
1850
|
local?: Partial<TranslationLocalSettings>;
|
|
1532
1851
|
localCt2?: Partial<TranslationLocalCt2Settings>;
|
|
@@ -1544,11 +1863,13 @@ declare function toPersistedGlobalSettings(settings: OpenSpecUIGlobalSettings):
|
|
|
1544
1863
|
*/
|
|
1545
1864
|
declare class GlobalSettingsManager {
|
|
1546
1865
|
private readonly settingsPath;
|
|
1866
|
+
private writeChain;
|
|
1547
1867
|
constructor(settingsPath?: string);
|
|
1548
1868
|
getSettingsPath(): string;
|
|
1549
1869
|
private parseSettingsContent;
|
|
1550
1870
|
readSettings(): Promise<OpenSpecUIGlobalSettings>;
|
|
1551
1871
|
writeSettings(update: OpenSpecUIGlobalSettingsUpdate): Promise<void>;
|
|
1872
|
+
private enqueueWrite;
|
|
1552
1873
|
}
|
|
1553
1874
|
//#endregion
|
|
1554
1875
|
//#region src/runtime-package-manager.d.ts
|
|
@@ -2339,4 +2660,4 @@ declare class OpsxKernel {
|
|
|
2339
2660
|
private combineSignals;
|
|
2340
2661
|
}
|
|
2341
2662
|
//#endregion
|
|
2342
|
-
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 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, 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, isDirectionalManagedLocalTranslationEngineId, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isOpsxGlobPattern, isPreviewableFile, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, 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 };
|