@openspecui/core 3.11.1 → 3.11.2
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-Dnl1lz2K.mjs → document-translation-BTEG-uW_.mjs} +5 -1
- package/dist/{document-translation-AlZtjOt5.d.mts → document-translation-EMIQf5dw.d.mts} +72 -25
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +155 -55
- package/dist/index.mjs +229 -6
- package/dist/{local-download-profiles-DISrU0mw.d.mts → local-download-profiles-CSXKbamv.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-gGjGaYsF.d.mts → notifications-Ct6rtBwb.d.mts} +16 -16
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BojcJ9zl.d.mts → openspec-projection-DrTZ0P31.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BdyGTVs_.d.mts → opsx-entity-CIB-Wi0n.d.mts} +7 -7
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cf8YIflR.d.mts → opsx-schema-detail-Cjoesix_.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DV6yABO9.d.mts → schemas-DeEkRkAH.d.mts} +124 -124
- package/dist/{sounds-C906qHTJ.d.mts → sounds-BaxOUgWE.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-D6dE8O1_.d.mts → terminal-audio-v3YSYJKq.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-Cz0vfgkw.d.mts → terminal-invocation-C5gqne5H.d.mts} +51 -51
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translation-language-pair-D6f5u70K.mjs → translation-language-pair-Cb4a0hG6.mjs} +2 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-tTXEGRdz.d.mts → translator-BtbU7rjR.d.mts} +740 -126
- package/dist/{translator-B0T5VL9k.mjs → translator-yHmEiuRX.mjs} +143 -7
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- 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-
|
|
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-EMIQf5dw.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-CIB-Wi0n.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-DeEkRkAH.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 normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-
|
|
10
|
-
import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-
|
|
11
|
-
import { $ as
|
|
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-DrTZ0P31.mjs";
|
|
9
|
+
import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-BaxOUgWE.mjs";
|
|
10
|
+
import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-Ct6rtBwb.mjs";
|
|
11
|
+
import { $ as TranslationEngineGlobalSettingsSchema, A as LocalModelProfileManifestSchema, At as TranslationModelSearchEvent, B as TranslationDownloadFilePlan, Bt as TranslatorFactoryPrepareOptions, C as LocalModelProfileLoadState, Ct as TranslationEngineSettingsKey, D as LocalModelProfileManifestFileSchema, Dt as TranslationLocalSettingsSchema, E as LocalModelProfileManifestFile, Et as TranslationLocalSettings, F as ServiceTranslationEngineId, Ft as TranslationOpenAISettingsSchema, G as TranslationEngineAssetStateSchema, Gt as getTranslationEngineLifecycleMessage, H as TranslationDownloadGroupPlan, Ht as TranslatorPrepareMonitor, I as ServiceTranslationEngineIdSchema, It as Translator, J as TranslationEngineDependencyState, Jt as isTranslationEngineDependencyReady, K as TranslationEngineAssetStatus, Kt as getTranslationEngineManifest, L as TRANSLATION_ENGINE_IDS, Lt as TranslatorCreateMonitor, M as LocalModelProfileStatusSchema, Mt as TranslationModelSearchPhase, N as ManagedLocalTranslationEngineId, Nt as TranslationModelSearchResult, O as LocalModelProfileManifestGroup, Ot as TranslationModelCandidate, P as SERVICE_TRANSLATION_ENGINE_IDS, Pt as TranslationOpenAISettings, Q as TranslationEngineGlobalSettings, R as TRANSLATION_ENGINE_MANIFESTS, Rt as TranslatorFactory, S as LocalModelLifecycleGroupStateSchema, St as TranslationEngineRuntimeStatusSchema, T as LocalModelProfileManifest, Tt as TranslationLocalCt2SettingsSchema, U as TranslationDownloadGroupPlanSchema, Ut as createTranslationEngineLifecycleStatus, V as TranslationDownloadFilePlanSchema, Vt as TranslatorOptions, W as TranslationEngineAssetState, Wt as getManagedLocalTranslationEngineManifest, X as TranslationEngineDependencyStatus, Xt as shouldShowTranslationEngineInstallGate, Y as TranslationEngineDependencyStateSchema, Yt as isTranslationEngineRuntimeReady, Z as TranslationEngineDependencyStatusSchema, _ as LocalModelDownloadStatus, _t as TranslationEngineManifest, a as BatchTranslationResult, at as TranslationEngineInstallLogStream, b as LocalModelLifecycleFileStateSchema, bt as TranslationEngineRuntimeStateSchema, c as LocalModelAssetLogSchema, ct as TranslationEngineLifecycleContext, d as LocalModelAssetState, dt as TranslationEngineLifecycleEventSchema, et as TranslationEngineGlobalSettingsUpdate, f as LocalModelAssetStateSchema, g as LocalModelCatalogSearchEvent, gt as TranslationEngineLifecycleStatusSchema, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, it as TranslationEngineInstallLogEventSchema, j as LocalModelProfileStatus, jt as TranslationModelSearchInput, k as LocalModelProfileManifestGroupSchema, kt as TranslationModelDownloadPlan, l as LocalModelAssetPlanSnapshot, lt as TranslationEngineLifecycleController, m as LocalModelCatalogLocalResult, mt as TranslationEngineLifecycleStatus, n as BatchTranslateEventSchema, nt as TranslationEngineIdSchema, o as DEFAULT_TRANSLATION_ENGINE_ID, ot as TranslationEngineInstallLogStreamSchema, p as LocalModelCatalogItem, q as TranslationEngineAssetStatusSchema, qt as isManagedLocalTranslationEngineId, r as BatchTranslateInput, rt as TranslationEngineInstallLogEvent, s as LocalModelAssetLog, st as TranslationEngineKind, t as BatchTranslateEvent, tt as TranslationEngineId, u as LocalModelAssetPlanSnapshotSchema, ut as TranslationEngineLifecycleEvent, v as LocalModelDownloadStatusSchema, vt as TranslationEngineRuntime, w as LocalModelProfileLoadStateSchema, wt as TranslationLocalCt2Settings, x as LocalModelLifecycleGroupState, xt as TranslationEngineRuntimeStatus, y as LocalModelLifecycleFileState, yt as TranslationEngineRuntimeState, z as TRANSLATOR_CONTRACT_VERSION, zt as TranslatorFactoryCreateOptions } from "./translator-BtbU7rjR.mjs";
|
|
12
|
+
import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-v3YSYJKq.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-CSXKbamv.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-C5gqne5H.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-Cjoesix_.mjs";
|
|
19
19
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
20
20
|
import { z } from "zod";
|
|
21
21
|
import { EventEmitter } from "events";
|
|
@@ -167,17 +167,17 @@ declare class OpenSpecAdapter {
|
|
|
167
167
|
overview: string;
|
|
168
168
|
requirements: {
|
|
169
169
|
id: string;
|
|
170
|
-
title: string;
|
|
171
170
|
text: string;
|
|
171
|
+
title: string;
|
|
172
172
|
bodyMarkdown: string;
|
|
173
173
|
scenarios: {
|
|
174
174
|
title: string;
|
|
175
|
-
rawText: string;
|
|
176
175
|
bodyMarkdown: string;
|
|
176
|
+
rawText: string;
|
|
177
177
|
steps?: {
|
|
178
|
+
rawText: string;
|
|
178
179
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
179
180
|
contentMarkdown: string;
|
|
180
|
-
rawText: string;
|
|
181
181
|
}[] | undefined;
|
|
182
182
|
}[];
|
|
183
183
|
}[];
|
|
@@ -189,11 +189,11 @@ declare class OpenSpecAdapter {
|
|
|
189
189
|
}[];
|
|
190
190
|
changes: {
|
|
191
191
|
id: string;
|
|
192
|
-
name: string;
|
|
193
192
|
progress: {
|
|
194
193
|
completed: number;
|
|
195
194
|
total: number;
|
|
196
195
|
};
|
|
196
|
+
name: string;
|
|
197
197
|
why: string;
|
|
198
198
|
whatChanges: string;
|
|
199
199
|
deltas: {
|
|
@@ -202,33 +202,33 @@ declare class OpenSpecAdapter {
|
|
|
202
202
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
203
203
|
requirements?: {
|
|
204
204
|
id: string;
|
|
205
|
-
title: string;
|
|
206
205
|
text: string;
|
|
206
|
+
title: string;
|
|
207
207
|
bodyMarkdown: string;
|
|
208
208
|
scenarios: {
|
|
209
209
|
title: string;
|
|
210
|
-
rawText: string;
|
|
211
210
|
bodyMarkdown: string;
|
|
211
|
+
rawText: string;
|
|
212
212
|
steps?: {
|
|
213
|
+
rawText: string;
|
|
213
214
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
214
215
|
contentMarkdown: string;
|
|
215
|
-
rawText: string;
|
|
216
216
|
}[] | undefined;
|
|
217
217
|
}[];
|
|
218
218
|
}[] | undefined;
|
|
219
219
|
requirement?: {
|
|
220
220
|
id: string;
|
|
221
|
-
title: string;
|
|
222
221
|
text: string;
|
|
222
|
+
title: string;
|
|
223
223
|
bodyMarkdown: string;
|
|
224
224
|
scenarios: {
|
|
225
225
|
title: string;
|
|
226
|
-
rawText: string;
|
|
227
226
|
bodyMarkdown: string;
|
|
227
|
+
rawText: string;
|
|
228
228
|
steps?: {
|
|
229
|
+
rawText: string;
|
|
229
230
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
230
231
|
contentMarkdown: string;
|
|
231
|
-
rawText: string;
|
|
232
232
|
}[] | undefined;
|
|
233
233
|
}[];
|
|
234
234
|
} | undefined;
|
|
@@ -249,8 +249,8 @@ declare class OpenSpecAdapter {
|
|
|
249
249
|
} | undefined;
|
|
250
250
|
design?: string | undefined;
|
|
251
251
|
deltaSpecs?: {
|
|
252
|
-
content: string;
|
|
253
252
|
specId: string;
|
|
253
|
+
content: string;
|
|
254
254
|
}[] | undefined;
|
|
255
255
|
}[];
|
|
256
256
|
archivedCount: number;
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
}, {
|
|
@@ -1034,17 +1034,27 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1034
1034
|
targetLanguage: z.ZodDefault<z.ZodString>;
|
|
1035
1035
|
displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
|
|
1036
1036
|
cacheEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1037
|
-
engineId: z.ZodDefault<z.ZodEnum<["browser", "local", "openai"]>>;
|
|
1037
|
+
engineId: z.ZodDefault<z.ZodEnum<["browser", "local", "local-ct2", "openai"]>>;
|
|
1038
1038
|
engines: z.ZodDefault<z.ZodObject<{
|
|
1039
1039
|
local: z.ZodDefault<z.ZodObject<{
|
|
1040
1040
|
model: z.ZodOptional<z.ZodString>;
|
|
1041
1041
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1042
1042
|
}, "strip", z.ZodTypeAny, {
|
|
1043
|
-
model?: string | undefined;
|
|
1044
1043
|
selectedGroupId?: string | undefined;
|
|
1044
|
+
model?: string | undefined;
|
|
1045
1045
|
}, {
|
|
1046
|
+
selectedGroupId?: string | undefined;
|
|
1047
|
+
model?: string | undefined;
|
|
1048
|
+
}>>;
|
|
1049
|
+
localCt2: z.ZodDefault<z.ZodObject<{
|
|
1050
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
}, "strip", z.ZodTypeAny, {
|
|
1053
|
+
selectedGroupId?: string | undefined;
|
|
1046
1054
|
model?: string | undefined;
|
|
1055
|
+
}, {
|
|
1047
1056
|
selectedGroupId?: string | undefined;
|
|
1057
|
+
model?: string | undefined;
|
|
1048
1058
|
}>>;
|
|
1049
1059
|
openai: z.ZodDefault<z.ZodObject<{
|
|
1050
1060
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1055,50 +1065,66 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1055
1065
|
}>>;
|
|
1056
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1057
1067
|
local: {
|
|
1058
|
-
model?: string | undefined;
|
|
1059
1068
|
selectedGroupId?: string | undefined;
|
|
1069
|
+
model?: string | undefined;
|
|
1060
1070
|
};
|
|
1061
1071
|
openai: {
|
|
1062
1072
|
model?: string | undefined;
|
|
1063
1073
|
};
|
|
1074
|
+
localCt2: {
|
|
1075
|
+
selectedGroupId?: string | undefined;
|
|
1076
|
+
model?: string | undefined;
|
|
1077
|
+
};
|
|
1064
1078
|
}, {
|
|
1065
1079
|
local?: {
|
|
1066
|
-
model?: string | undefined;
|
|
1067
1080
|
selectedGroupId?: string | undefined;
|
|
1081
|
+
model?: string | undefined;
|
|
1068
1082
|
} | undefined;
|
|
1069
1083
|
openai?: {
|
|
1070
1084
|
model?: string | undefined;
|
|
1071
1085
|
} | undefined;
|
|
1086
|
+
localCt2?: {
|
|
1087
|
+
selectedGroupId?: string | undefined;
|
|
1088
|
+
model?: string | undefined;
|
|
1089
|
+
} | undefined;
|
|
1072
1090
|
}>>;
|
|
1073
1091
|
}, "strip", z.ZodTypeAny, {
|
|
1074
|
-
|
|
1092
|
+
engineId: "browser" | "local" | "local-ct2" | "openai";
|
|
1075
1093
|
targetLanguage: string;
|
|
1094
|
+
enabled: boolean;
|
|
1076
1095
|
displayMode: "direct" | "bilingual";
|
|
1077
1096
|
cacheEnabled: boolean;
|
|
1078
|
-
engineId: "local" | "openai" | "browser";
|
|
1079
1097
|
engines: {
|
|
1080
1098
|
local: {
|
|
1081
|
-
model?: string | undefined;
|
|
1082
1099
|
selectedGroupId?: string | undefined;
|
|
1100
|
+
model?: string | undefined;
|
|
1083
1101
|
};
|
|
1084
1102
|
openai: {
|
|
1085
1103
|
model?: string | undefined;
|
|
1086
1104
|
};
|
|
1105
|
+
localCt2: {
|
|
1106
|
+
selectedGroupId?: string | undefined;
|
|
1107
|
+
model?: string | undefined;
|
|
1108
|
+
};
|
|
1087
1109
|
};
|
|
1088
1110
|
}, {
|
|
1089
|
-
|
|
1111
|
+
engineId?: "browser" | "local" | "local-ct2" | "openai" | undefined;
|
|
1090
1112
|
targetLanguage?: string | undefined;
|
|
1113
|
+
enabled?: boolean | undefined;
|
|
1091
1114
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1092
1115
|
cacheEnabled?: boolean | undefined;
|
|
1093
|
-
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1094
1116
|
engines?: {
|
|
1095
1117
|
local?: {
|
|
1096
|
-
model?: string | undefined;
|
|
1097
1118
|
selectedGroupId?: string | undefined;
|
|
1119
|
+
model?: string | undefined;
|
|
1098
1120
|
} | undefined;
|
|
1099
1121
|
openai?: {
|
|
1100
1122
|
model?: string | undefined;
|
|
1101
1123
|
} | undefined;
|
|
1124
|
+
localCt2?: {
|
|
1125
|
+
selectedGroupId?: string | undefined;
|
|
1126
|
+
model?: string | undefined;
|
|
1127
|
+
} | undefined;
|
|
1102
1128
|
} | undefined;
|
|
1103
1129
|
}>>;
|
|
1104
1130
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1112,7 +1138,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1112
1138
|
lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1113
1139
|
darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1114
1140
|
rendererEngine: "xterm" | "ghostty";
|
|
1115
|
-
bellSound: "silent" | "builtin:
|
|
1141
|
+
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}`;
|
|
1116
1142
|
bellVolume: number;
|
|
1117
1143
|
};
|
|
1118
1144
|
theme: "light" | "dark" | "system";
|
|
@@ -1134,24 +1160,28 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1134
1160
|
diffEagerLineBudget: number;
|
|
1135
1161
|
};
|
|
1136
1162
|
notifications: {
|
|
1137
|
-
sound: "silent" | "builtin:
|
|
1163
|
+
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}`;
|
|
1138
1164
|
volume: number;
|
|
1139
1165
|
systemNotificationsEnabled: boolean;
|
|
1140
1166
|
};
|
|
1141
1167
|
translation: {
|
|
1142
|
-
|
|
1168
|
+
engineId: "browser" | "local" | "local-ct2" | "openai";
|
|
1143
1169
|
targetLanguage: string;
|
|
1170
|
+
enabled: boolean;
|
|
1144
1171
|
displayMode: "direct" | "bilingual";
|
|
1145
1172
|
cacheEnabled: boolean;
|
|
1146
|
-
engineId: "local" | "openai" | "browser";
|
|
1147
1173
|
engines: {
|
|
1148
1174
|
local: {
|
|
1149
|
-
model?: string | undefined;
|
|
1150
1175
|
selectedGroupId?: string | undefined;
|
|
1176
|
+
model?: string | undefined;
|
|
1151
1177
|
};
|
|
1152
1178
|
openai: {
|
|
1153
1179
|
model?: string | undefined;
|
|
1154
1180
|
};
|
|
1181
|
+
localCt2: {
|
|
1182
|
+
selectedGroupId?: string | undefined;
|
|
1183
|
+
model?: string | undefined;
|
|
1184
|
+
};
|
|
1155
1185
|
};
|
|
1156
1186
|
};
|
|
1157
1187
|
}, {
|
|
@@ -1192,19 +1222,23 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1192
1222
|
systemNotificationsEnabled?: boolean | undefined;
|
|
1193
1223
|
} | undefined;
|
|
1194
1224
|
translation?: {
|
|
1195
|
-
|
|
1225
|
+
engineId?: "browser" | "local" | "local-ct2" | "openai" | undefined;
|
|
1196
1226
|
targetLanguage?: string | undefined;
|
|
1227
|
+
enabled?: boolean | undefined;
|
|
1197
1228
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1198
1229
|
cacheEnabled?: boolean | undefined;
|
|
1199
|
-
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1200
1230
|
engines?: {
|
|
1201
1231
|
local?: {
|
|
1202
|
-
model?: string | undefined;
|
|
1203
1232
|
selectedGroupId?: string | undefined;
|
|
1233
|
+
model?: string | undefined;
|
|
1204
1234
|
} | undefined;
|
|
1205
1235
|
openai?: {
|
|
1206
1236
|
model?: string | undefined;
|
|
1207
1237
|
} | undefined;
|
|
1238
|
+
localCt2?: {
|
|
1239
|
+
selectedGroupId?: string | undefined;
|
|
1240
|
+
model?: string | undefined;
|
|
1241
|
+
} | undefined;
|
|
1208
1242
|
} | undefined;
|
|
1209
1243
|
} | undefined;
|
|
1210
1244
|
}>;
|
|
@@ -1308,13 +1342,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1308
1342
|
token: z.ZodDefault<z.ZodString>;
|
|
1309
1343
|
model: z.ZodDefault<z.ZodString>;
|
|
1310
1344
|
}, "strip", z.ZodTypeAny, {
|
|
1311
|
-
model: string;
|
|
1312
1345
|
baseUrl: string;
|
|
1313
1346
|
token: string;
|
|
1347
|
+
model: string;
|
|
1314
1348
|
}, {
|
|
1315
|
-
model?: string | undefined;
|
|
1316
1349
|
baseUrl?: string | undefined;
|
|
1317
1350
|
token?: string | undefined;
|
|
1351
|
+
model?: string | undefined;
|
|
1318
1352
|
}>>;
|
|
1319
1353
|
local: z.ZodDefault<z.ZodObject<{
|
|
1320
1354
|
model: z.ZodDefault<z.ZodString>;
|
|
@@ -1325,8 +1359,21 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1325
1359
|
hfEndpoint: string;
|
|
1326
1360
|
selectedGroupId?: string | undefined;
|
|
1327
1361
|
}, {
|
|
1362
|
+
selectedGroupId?: string | undefined;
|
|
1328
1363
|
model?: string | undefined;
|
|
1364
|
+
hfEndpoint?: string | undefined;
|
|
1365
|
+
}>>;
|
|
1366
|
+
localCt2: z.ZodDefault<z.ZodObject<{
|
|
1367
|
+
model: z.ZodDefault<z.ZodString>;
|
|
1368
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1370
|
+
}, "strip", z.ZodTypeAny, {
|
|
1371
|
+
model: string;
|
|
1372
|
+
hfEndpoint: string;
|
|
1373
|
+
selectedGroupId?: string | undefined;
|
|
1374
|
+
}, {
|
|
1329
1375
|
selectedGroupId?: string | undefined;
|
|
1376
|
+
model?: string | undefined;
|
|
1330
1377
|
hfEndpoint?: string | undefined;
|
|
1331
1378
|
}>>;
|
|
1332
1379
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1336,20 +1383,30 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1336
1383
|
selectedGroupId?: string | undefined;
|
|
1337
1384
|
};
|
|
1338
1385
|
openai: {
|
|
1339
|
-
model: string;
|
|
1340
1386
|
baseUrl: string;
|
|
1341
1387
|
token: string;
|
|
1388
|
+
model: string;
|
|
1389
|
+
};
|
|
1390
|
+
localCt2: {
|
|
1391
|
+
model: string;
|
|
1392
|
+
hfEndpoint: string;
|
|
1393
|
+
selectedGroupId?: string | undefined;
|
|
1342
1394
|
};
|
|
1343
1395
|
}, {
|
|
1344
1396
|
local?: {
|
|
1345
|
-
model?: string | undefined;
|
|
1346
1397
|
selectedGroupId?: string | undefined;
|
|
1398
|
+
model?: string | undefined;
|
|
1347
1399
|
hfEndpoint?: string | undefined;
|
|
1348
1400
|
} | undefined;
|
|
1349
1401
|
openai?: {
|
|
1350
|
-
model?: string | undefined;
|
|
1351
1402
|
baseUrl?: string | undefined;
|
|
1352
1403
|
token?: string | undefined;
|
|
1404
|
+
model?: string | undefined;
|
|
1405
|
+
} | undefined;
|
|
1406
|
+
localCt2?: {
|
|
1407
|
+
selectedGroupId?: string | undefined;
|
|
1408
|
+
model?: string | undefined;
|
|
1409
|
+
hfEndpoint?: string | undefined;
|
|
1353
1410
|
} | undefined;
|
|
1354
1411
|
}>>;
|
|
1355
1412
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1363,9 +1420,14 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1363
1420
|
selectedGroupId?: string | undefined;
|
|
1364
1421
|
};
|
|
1365
1422
|
openai: {
|
|
1366
|
-
model: string;
|
|
1367
1423
|
baseUrl: string;
|
|
1368
1424
|
token: string;
|
|
1425
|
+
model: string;
|
|
1426
|
+
};
|
|
1427
|
+
localCt2: {
|
|
1428
|
+
model: string;
|
|
1429
|
+
hfEndpoint: string;
|
|
1430
|
+
selectedGroupId?: string | undefined;
|
|
1369
1431
|
};
|
|
1370
1432
|
};
|
|
1371
1433
|
}, {
|
|
@@ -1374,14 +1436,19 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1374
1436
|
} | undefined;
|
|
1375
1437
|
translationEngines?: {
|
|
1376
1438
|
local?: {
|
|
1377
|
-
model?: string | undefined;
|
|
1378
1439
|
selectedGroupId?: string | undefined;
|
|
1440
|
+
model?: string | undefined;
|
|
1379
1441
|
hfEndpoint?: string | undefined;
|
|
1380
1442
|
} | undefined;
|
|
1381
1443
|
openai?: {
|
|
1382
|
-
model?: string | undefined;
|
|
1383
1444
|
baseUrl?: string | undefined;
|
|
1384
1445
|
token?: string | undefined;
|
|
1446
|
+
model?: string | undefined;
|
|
1447
|
+
} | undefined;
|
|
1448
|
+
localCt2?: {
|
|
1449
|
+
selectedGroupId?: string | undefined;
|
|
1450
|
+
model?: string | undefined;
|
|
1451
|
+
hfEndpoint?: string | undefined;
|
|
1385
1452
|
} | undefined;
|
|
1386
1453
|
} | undefined;
|
|
1387
1454
|
}>;
|
|
@@ -1395,6 +1462,7 @@ type PersistedOpenSpecUIGlobalSettings = {
|
|
|
1395
1462
|
translationEngines?: {
|
|
1396
1463
|
openai?: Partial<TranslationOpenAISettings>;
|
|
1397
1464
|
local?: Partial<TranslationLocalSettings>;
|
|
1465
|
+
localCt2?: Partial<TranslationLocalCt2Settings>;
|
|
1398
1466
|
};
|
|
1399
1467
|
};
|
|
1400
1468
|
declare const DEFAULT_GLOBAL_SETTINGS: OpenSpecUIGlobalSettings;
|
|
@@ -1415,6 +1483,38 @@ declare class GlobalSettingsManager {
|
|
|
1415
1483
|
writeSettings(update: OpenSpecUIGlobalSettingsUpdate): Promise<void>;
|
|
1416
1484
|
}
|
|
1417
1485
|
//#endregion
|
|
1486
|
+
//#region src/runtime-package-manager.d.ts
|
|
1487
|
+
type RuntimePackageDependencyField = 'dependencies' | 'optionalDependencies';
|
|
1488
|
+
type RuntimePackageManagerSource = 'deno-env' | 'user-agent' | 'exec-path' | 'package-manager-field' | 'lockfile' | 'fallback';
|
|
1489
|
+
interface RuntimePackageManagerResolution {
|
|
1490
|
+
id: string;
|
|
1491
|
+
source: RuntimePackageManagerSource;
|
|
1492
|
+
}
|
|
1493
|
+
interface RuntimePackageInstallCommand {
|
|
1494
|
+
cmd: string;
|
|
1495
|
+
args: string[];
|
|
1496
|
+
displayCommand: string;
|
|
1497
|
+
}
|
|
1498
|
+
interface RuntimePackageInstallStrategy {
|
|
1499
|
+
id: string;
|
|
1500
|
+
preservesDependencyField: boolean;
|
|
1501
|
+
buildCommand(input: Omit<RuntimePackageInstallCommandInput, 'packageManager'>): RuntimePackageInstallCommand | null;
|
|
1502
|
+
}
|
|
1503
|
+
interface RuntimePackageManagerOptions {
|
|
1504
|
+
startDir: string;
|
|
1505
|
+
env?: NodeJS.ProcessEnv;
|
|
1506
|
+
}
|
|
1507
|
+
interface RuntimePackageInstallCommandInput {
|
|
1508
|
+
packageManager: string;
|
|
1509
|
+
packages: readonly string[];
|
|
1510
|
+
dependencyField?: RuntimePackageDependencyField;
|
|
1511
|
+
ignoreWorkspace?: boolean;
|
|
1512
|
+
allowBuildPackages?: readonly string[];
|
|
1513
|
+
}
|
|
1514
|
+
declare function detectRuntimePackageManager(options: RuntimePackageManagerOptions): RuntimePackageManagerResolution;
|
|
1515
|
+
declare function resolveRuntimePackageInstallStrategy(packageManager: string): RuntimePackageInstallStrategy | null;
|
|
1516
|
+
declare function buildRuntimePackageInstallCommand(input: RuntimePackageInstallCommandInput): RuntimePackageInstallCommand | null;
|
|
1517
|
+
//#endregion
|
|
1418
1518
|
//#region src/cli-executor.d.ts
|
|
1419
1519
|
/** CLI 执行结果 */
|
|
1420
1520
|
interface CliResult {
|
|
@@ -2171,4 +2271,4 @@ declare class OpsxKernel {
|
|
|
2171
2271
|
private combineSignals;
|
|
2172
2272
|
}
|
|
2173
2273
|
//#endregion
|
|
2174
|
-
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 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, 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 TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, type TranslationEngineGlobalSettingsUpdate, type TranslationEngineId, TranslationEngineIdSchema, type TranslationEngineManifest, type TranslationEngineProjectSettings, TranslationEngineProjectSettingsSchema, type TranslationEngineRuntime, type TranslationLanguagePair, 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, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, customHashFromSoundId, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineManifest, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, initWatcherPool, isBackendHealthRuntimeMetadata, isGlobPattern, isHostedBackendHealthResponse, isOpsxGlobPattern, isPreviewableFile, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, selectLocalDownloadGroup, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, trimMarkdownSlice };
|
|
2274
|
+
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 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 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, 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 };
|