@openspecui/core 3.11.1 → 3.11.3
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-BrlCvnLZ.mjs} +9 -1
- package/dist/{document-translation-AlZtjOt5.d.mts → document-translation-Cv6BIGL5.d.mts} +117 -23
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +215 -47
- package/dist/index.mjs +254 -6
- package/dist/{local-download-profiles-DISrU0mw.d.mts → local-download-profiles-GKs2OOqJ.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-gGjGaYsF.d.mts → notifications-CJQ_F_Un.d.mts} +9 -9
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BojcJ9zl.d.mts → openspec-projection-BbuPTbvj.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BdyGTVs_.d.mts → opsx-entity-BO9G2SCW.d.mts} +7 -7
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cf8YIflR.d.mts → opsx-schema-detail-DTajJW4g.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DV6yABO9.d.mts → schemas-DQzd1hgp.d.mts} +30 -30
- package/dist/{sounds-C906qHTJ.d.mts → sounds-3yEx1YXT.d.mts} +5 -5
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-D6dE8O1_.d.mts → terminal-audio-UCLlM1qN.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-DCPc8hmm.d.mts} +42 -42
- 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-Car0_7uk.mjs +412 -0
- package/dist/{translator-tTXEGRdz.d.mts → translator-prn3W9lf.d.mts} +786 -111
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
- package/dist/translator-B0T5VL9k.mjs +0 -239
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-Cv6BIGL5.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-BO9G2SCW.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-DQzd1hgp.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-BbuPTbvj.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-3yEx1YXT.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-CJQ_F_Un.mjs";
|
|
11
|
+
import { $ as TranslationEngineDependencyStatusSchema, $t as isTranslationEngineDependencyReady, A as LocalModelProfileManifestSchema, At as TranslationLocalSettings, B as TRANSLATION_ENGINE_MANIFESTS, Bt as Translator, C as LocalModelProfileLoadState, Ct as TranslationEngineRuntimeStatus, D as LocalModelProfileManifestFileSchema, Dt as TranslationLocalCt2SettingsSchema, E as LocalModelProfileManifestFile, Et as TranslationLocalCt2Settings, F as ManagedLocalTranslationEngineId, Ft as TranslationModelSearchInput, G as TranslationDownloadGroupPlanSchema, Gt as TranslatorOptions, H as TranslationDownloadFilePlan, Ht as TranslatorFactory, I as SERVICE_TRANSLATION_ENGINE_IDS, It as TranslationModelSearchPhase, J as TranslationEngineAssetStatus, Jt as getManagedLocalTranslationEngineManifest, K as TranslationEngineAssetState, Kt as TranslatorPrepareMonitor, L as ServiceTranslationEngineId, Lt as TranslationModelSearchResult, M as LocalModelProfileStatusSchema, Mt as TranslationModelCandidate, N as ManagedLocalCatalogSource, Nt as TranslationModelDownloadPlan, O as LocalModelProfileManifestGroup, Ot as TranslationLocalLlamaSettings, P as ManagedLocalCatalogSourceSchema, Pt as TranslationModelSearchEvent, Q as TranslationEngineDependencyStatus, Qt as isManagedLocalTranslationEngineId, R as ServiceTranslationEngineIdSchema, Rt as TranslationOpenAISettings, S as LocalModelLifecycleGroupStateSchema, St as TranslationEngineRuntimeStateSchema, T as LocalModelProfileManifest, Tt as TranslationEngineSettingsKey, U as TranslationDownloadFilePlanSchema, Ut as TranslatorFactoryCreateOptions, V as TRANSLATOR_CONTRACT_VERSION, Vt as TranslatorCreateMonitor, W as TranslationDownloadGroupPlan, Wt as TranslatorFactoryPrepareOptions, X as TranslationEngineDependencyState, Xt as getTranslationEngineManifest, Y as TranslationEngineAssetStatusSchema, Yt as getTranslationEngineLifecycleMessage, Z as TranslationEngineDependencyStateSchema, Zt as isDirectionalManagedLocalTranslationEngineId, _ as LocalModelDownloadStatus, a as BatchTranslationResult, at as TranslationEngineInstallLogEvent, b as LocalModelLifecycleFileStateSchema, bt as TranslationEngineRuntime, c as LocalModelAssetLogSchema, ct as TranslationEngineInstallLogStreamSchema, d as LocalModelAssetState, dt as TranslationEngineLifecycleController, en as isTranslationEngineRuntimeReady, et as TranslationEngineGlobalSettings, f as LocalModelAssetStateSchema, ft as TranslationEngineLifecycleEvent, g as LocalModelCatalogSearchEvent, gt as TranslationEngineLifecycleStatus, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, it as TranslationEngineIdSchema, j as LocalModelProfileStatus, jt as TranslationLocalSettingsSchema, k as LocalModelProfileManifestGroupSchema, kt as TranslationLocalLlamaSettingsSchema, l as LocalModelAssetPlanSnapshot, lt as TranslationEngineKind, m as LocalModelCatalogLocalResult, n as BatchTranslateEventSchema, nt as TranslationEngineGlobalSettingsUpdate, o as DEFAULT_TRANSLATION_ENGINE_ID, ot as TranslationEngineInstallLogEventSchema, p as LocalModelCatalogItem, pt as TranslationEngineLifecycleEventSchema, q as TranslationEngineAssetStateSchema, qt as createTranslationEngineLifecycleStatus, r as BatchTranslateInput, rt as TranslationEngineId, s as LocalModelAssetLog, st as TranslationEngineInstallLogStream, t as BatchTranslateEvent, tn as shouldShowTranslationEngineInstallGate, tt as TranslationEngineGlobalSettingsSchema, u as LocalModelAssetPlanSnapshotSchema, ut as TranslationEngineLifecycleContext, v as LocalModelDownloadStatusSchema, vt as TranslationEngineLifecycleStatusSchema, w as LocalModelProfileLoadStateSchema, wt as TranslationEngineRuntimeStatusSchema, x as LocalModelLifecycleGroupState, xt as TranslationEngineRuntimeState, y as LocalModelLifecycleFileState, yt as TranslationEngineManifest, z as TRANSLATION_ENGINE_IDS, zt as TranslationOpenAISettingsSchema } from "./translator-prn3W9lf.mjs";
|
|
12
|
+
import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-UCLlM1qN.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-GKs2OOqJ.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-DCPc8hmm.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-DTajJW4g.mjs";
|
|
19
19
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
20
20
|
import { z } from "zod";
|
|
21
21
|
import { EventEmitter } from "events";
|
|
@@ -166,8 +166,8 @@ declare class OpenSpecAdapter {
|
|
|
166
166
|
name: string;
|
|
167
167
|
overview: string;
|
|
168
168
|
requirements: {
|
|
169
|
-
id: string;
|
|
170
169
|
title: string;
|
|
170
|
+
id: string;
|
|
171
171
|
text: string;
|
|
172
172
|
bodyMarkdown: string;
|
|
173
173
|
scenarios: {
|
|
@@ -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: {
|
|
@@ -201,8 +201,8 @@ declare class OpenSpecAdapter {
|
|
|
201
201
|
spec: string;
|
|
202
202
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
203
203
|
requirements?: {
|
|
204
|
-
id: string;
|
|
205
204
|
title: string;
|
|
205
|
+
id: string;
|
|
206
206
|
text: string;
|
|
207
207
|
bodyMarkdown: string;
|
|
208
208
|
scenarios: {
|
|
@@ -217,8 +217,8 @@ declare class OpenSpecAdapter {
|
|
|
217
217
|
}[];
|
|
218
218
|
}[] | undefined;
|
|
219
219
|
requirement?: {
|
|
220
|
-
id: string;
|
|
221
220
|
title: string;
|
|
221
|
+
id: string;
|
|
222
222
|
text: string;
|
|
223
223
|
bodyMarkdown: string;
|
|
224
224
|
scenarios: {
|
|
@@ -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,37 @@ 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", "local-llama", "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
|
+
selectedGroupId?: string | undefined;
|
|
1043
1044
|
model?: string | undefined;
|
|
1045
|
+
}, {
|
|
1044
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;
|
|
1054
|
+
model?: string | undefined;
|
|
1045
1055
|
}, {
|
|
1056
|
+
selectedGroupId?: string | undefined;
|
|
1046
1057
|
model?: string | undefined;
|
|
1058
|
+
}>>;
|
|
1059
|
+
localLlama: z.ZodDefault<z.ZodObject<{
|
|
1060
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
}, "strip", z.ZodTypeAny, {
|
|
1047
1063
|
selectedGroupId?: string | undefined;
|
|
1064
|
+
model?: string | undefined;
|
|
1065
|
+
}, {
|
|
1066
|
+
selectedGroupId?: string | undefined;
|
|
1067
|
+
model?: string | undefined;
|
|
1048
1068
|
}>>;
|
|
1049
1069
|
openai: z.ZodDefault<z.ZodObject<{
|
|
1050
1070
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1055,50 +1075,82 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1055
1075
|
}>>;
|
|
1056
1076
|
}, "strip", z.ZodTypeAny, {
|
|
1057
1077
|
local: {
|
|
1058
|
-
model?: string | undefined;
|
|
1059
1078
|
selectedGroupId?: string | undefined;
|
|
1079
|
+
model?: string | undefined;
|
|
1060
1080
|
};
|
|
1061
1081
|
openai: {
|
|
1062
1082
|
model?: string | undefined;
|
|
1063
1083
|
};
|
|
1084
|
+
localCt2: {
|
|
1085
|
+
selectedGroupId?: string | undefined;
|
|
1086
|
+
model?: string | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
localLlama: {
|
|
1089
|
+
selectedGroupId?: string | undefined;
|
|
1090
|
+
model?: string | undefined;
|
|
1091
|
+
};
|
|
1064
1092
|
}, {
|
|
1065
1093
|
local?: {
|
|
1066
|
-
model?: string | undefined;
|
|
1067
1094
|
selectedGroupId?: string | undefined;
|
|
1095
|
+
model?: string | undefined;
|
|
1068
1096
|
} | undefined;
|
|
1069
1097
|
openai?: {
|
|
1070
1098
|
model?: string | undefined;
|
|
1071
1099
|
} | undefined;
|
|
1100
|
+
localCt2?: {
|
|
1101
|
+
selectedGroupId?: string | undefined;
|
|
1102
|
+
model?: string | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
localLlama?: {
|
|
1105
|
+
selectedGroupId?: string | undefined;
|
|
1106
|
+
model?: string | undefined;
|
|
1107
|
+
} | undefined;
|
|
1072
1108
|
}>>;
|
|
1073
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1074
|
-
|
|
1110
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
1075
1111
|
targetLanguage: string;
|
|
1112
|
+
enabled: boolean;
|
|
1076
1113
|
displayMode: "direct" | "bilingual";
|
|
1077
1114
|
cacheEnabled: boolean;
|
|
1078
|
-
engineId: "local" | "openai" | "browser";
|
|
1079
1115
|
engines: {
|
|
1080
1116
|
local: {
|
|
1081
|
-
model?: string | undefined;
|
|
1082
1117
|
selectedGroupId?: string | undefined;
|
|
1118
|
+
model?: string | undefined;
|
|
1083
1119
|
};
|
|
1084
1120
|
openai: {
|
|
1085
1121
|
model?: string | undefined;
|
|
1086
1122
|
};
|
|
1123
|
+
localCt2: {
|
|
1124
|
+
selectedGroupId?: string | undefined;
|
|
1125
|
+
model?: string | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
localLlama: {
|
|
1128
|
+
selectedGroupId?: string | undefined;
|
|
1129
|
+
model?: string | undefined;
|
|
1130
|
+
};
|
|
1087
1131
|
};
|
|
1088
1132
|
}, {
|
|
1089
|
-
|
|
1133
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
1090
1134
|
targetLanguage?: string | undefined;
|
|
1135
|
+
enabled?: boolean | undefined;
|
|
1091
1136
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1092
1137
|
cacheEnabled?: boolean | undefined;
|
|
1093
|
-
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1094
1138
|
engines?: {
|
|
1095
1139
|
local?: {
|
|
1096
|
-
model?: string | undefined;
|
|
1097
1140
|
selectedGroupId?: string | undefined;
|
|
1141
|
+
model?: string | undefined;
|
|
1098
1142
|
} | undefined;
|
|
1099
1143
|
openai?: {
|
|
1100
1144
|
model?: string | undefined;
|
|
1101
1145
|
} | undefined;
|
|
1146
|
+
localCt2?: {
|
|
1147
|
+
selectedGroupId?: string | undefined;
|
|
1148
|
+
model?: string | undefined;
|
|
1149
|
+
} | undefined;
|
|
1150
|
+
localLlama?: {
|
|
1151
|
+
selectedGroupId?: string | undefined;
|
|
1152
|
+
model?: string | undefined;
|
|
1153
|
+
} | undefined;
|
|
1102
1154
|
} | undefined;
|
|
1103
1155
|
}>>;
|
|
1104
1156
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1112,7 +1164,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1112
1164
|
lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1113
1165
|
darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
|
|
1114
1166
|
rendererEngine: "xterm" | "ghostty";
|
|
1115
|
-
bellSound: "silent" | "builtin:
|
|
1167
|
+
bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
|
|
1116
1168
|
bellVolume: number;
|
|
1117
1169
|
};
|
|
1118
1170
|
theme: "light" | "dark" | "system";
|
|
@@ -1134,24 +1186,32 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1134
1186
|
diffEagerLineBudget: number;
|
|
1135
1187
|
};
|
|
1136
1188
|
notifications: {
|
|
1137
|
-
sound: "silent" | "builtin:
|
|
1189
|
+
sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
|
|
1138
1190
|
volume: number;
|
|
1139
1191
|
systemNotificationsEnabled: boolean;
|
|
1140
1192
|
};
|
|
1141
1193
|
translation: {
|
|
1142
|
-
|
|
1194
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
1143
1195
|
targetLanguage: string;
|
|
1196
|
+
enabled: boolean;
|
|
1144
1197
|
displayMode: "direct" | "bilingual";
|
|
1145
1198
|
cacheEnabled: boolean;
|
|
1146
|
-
engineId: "local" | "openai" | "browser";
|
|
1147
1199
|
engines: {
|
|
1148
1200
|
local: {
|
|
1149
|
-
model?: string | undefined;
|
|
1150
1201
|
selectedGroupId?: string | undefined;
|
|
1202
|
+
model?: string | undefined;
|
|
1151
1203
|
};
|
|
1152
1204
|
openai: {
|
|
1153
1205
|
model?: string | undefined;
|
|
1154
1206
|
};
|
|
1207
|
+
localCt2: {
|
|
1208
|
+
selectedGroupId?: string | undefined;
|
|
1209
|
+
model?: string | undefined;
|
|
1210
|
+
};
|
|
1211
|
+
localLlama: {
|
|
1212
|
+
selectedGroupId?: string | undefined;
|
|
1213
|
+
model?: string | undefined;
|
|
1214
|
+
};
|
|
1155
1215
|
};
|
|
1156
1216
|
};
|
|
1157
1217
|
}, {
|
|
@@ -1192,19 +1252,27 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
|
|
|
1192
1252
|
systemNotificationsEnabled?: boolean | undefined;
|
|
1193
1253
|
} | undefined;
|
|
1194
1254
|
translation?: {
|
|
1195
|
-
|
|
1255
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
1196
1256
|
targetLanguage?: string | undefined;
|
|
1257
|
+
enabled?: boolean | undefined;
|
|
1197
1258
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
1198
1259
|
cacheEnabled?: boolean | undefined;
|
|
1199
|
-
engineId?: "local" | "openai" | "browser" | undefined;
|
|
1200
1260
|
engines?: {
|
|
1201
1261
|
local?: {
|
|
1202
|
-
model?: string | undefined;
|
|
1203
1262
|
selectedGroupId?: string | undefined;
|
|
1263
|
+
model?: string | undefined;
|
|
1204
1264
|
} | undefined;
|
|
1205
1265
|
openai?: {
|
|
1206
1266
|
model?: string | undefined;
|
|
1207
1267
|
} | undefined;
|
|
1268
|
+
localCt2?: {
|
|
1269
|
+
selectedGroupId?: string | undefined;
|
|
1270
|
+
model?: string | undefined;
|
|
1271
|
+
} | undefined;
|
|
1272
|
+
localLlama?: {
|
|
1273
|
+
selectedGroupId?: string | undefined;
|
|
1274
|
+
model?: string | undefined;
|
|
1275
|
+
} | undefined;
|
|
1208
1276
|
} | undefined;
|
|
1209
1277
|
} | undefined;
|
|
1210
1278
|
}>;
|
|
@@ -1308,13 +1376,13 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1308
1376
|
token: z.ZodDefault<z.ZodString>;
|
|
1309
1377
|
model: z.ZodDefault<z.ZodString>;
|
|
1310
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1311
|
-
model: string;
|
|
1312
1379
|
baseUrl: string;
|
|
1313
1380
|
token: string;
|
|
1381
|
+
model: string;
|
|
1314
1382
|
}, {
|
|
1315
|
-
model?: string | undefined;
|
|
1316
1383
|
baseUrl?: string | undefined;
|
|
1317
1384
|
token?: string | undefined;
|
|
1385
|
+
model?: string | undefined;
|
|
1318
1386
|
}>>;
|
|
1319
1387
|
local: z.ZodDefault<z.ZodObject<{
|
|
1320
1388
|
model: z.ZodDefault<z.ZodString>;
|
|
@@ -1325,8 +1393,34 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1325
1393
|
hfEndpoint: string;
|
|
1326
1394
|
selectedGroupId?: string | undefined;
|
|
1327
1395
|
}, {
|
|
1396
|
+
selectedGroupId?: string | undefined;
|
|
1328
1397
|
model?: string | undefined;
|
|
1398
|
+
hfEndpoint?: string | undefined;
|
|
1399
|
+
}>>;
|
|
1400
|
+
localCt2: z.ZodDefault<z.ZodObject<{
|
|
1401
|
+
model: z.ZodDefault<z.ZodString>;
|
|
1402
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1404
|
+
}, "strip", z.ZodTypeAny, {
|
|
1405
|
+
model: string;
|
|
1406
|
+
hfEndpoint: string;
|
|
1329
1407
|
selectedGroupId?: string | undefined;
|
|
1408
|
+
}, {
|
|
1409
|
+
selectedGroupId?: string | undefined;
|
|
1410
|
+
model?: string | undefined;
|
|
1411
|
+
hfEndpoint?: string | undefined;
|
|
1412
|
+
}>>;
|
|
1413
|
+
localLlama: z.ZodDefault<z.ZodObject<{
|
|
1414
|
+
model: z.ZodDefault<z.ZodString>;
|
|
1415
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
1417
|
+
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
model: string;
|
|
1419
|
+
hfEndpoint: string;
|
|
1420
|
+
selectedGroupId?: string | undefined;
|
|
1421
|
+
}, {
|
|
1422
|
+
selectedGroupId?: string | undefined;
|
|
1423
|
+
model?: string | undefined;
|
|
1330
1424
|
hfEndpoint?: string | undefined;
|
|
1331
1425
|
}>>;
|
|
1332
1426
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1336,20 +1430,40 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1336
1430
|
selectedGroupId?: string | undefined;
|
|
1337
1431
|
};
|
|
1338
1432
|
openai: {
|
|
1339
|
-
model: string;
|
|
1340
1433
|
baseUrl: string;
|
|
1341
1434
|
token: string;
|
|
1435
|
+
model: string;
|
|
1436
|
+
};
|
|
1437
|
+
localCt2: {
|
|
1438
|
+
model: string;
|
|
1439
|
+
hfEndpoint: string;
|
|
1440
|
+
selectedGroupId?: string | undefined;
|
|
1441
|
+
};
|
|
1442
|
+
localLlama: {
|
|
1443
|
+
model: string;
|
|
1444
|
+
hfEndpoint: string;
|
|
1445
|
+
selectedGroupId?: string | undefined;
|
|
1342
1446
|
};
|
|
1343
1447
|
}, {
|
|
1344
1448
|
local?: {
|
|
1345
|
-
model?: string | undefined;
|
|
1346
1449
|
selectedGroupId?: string | undefined;
|
|
1450
|
+
model?: string | undefined;
|
|
1347
1451
|
hfEndpoint?: string | undefined;
|
|
1348
1452
|
} | undefined;
|
|
1349
1453
|
openai?: {
|
|
1350
|
-
model?: string | undefined;
|
|
1351
1454
|
baseUrl?: string | undefined;
|
|
1352
1455
|
token?: string | undefined;
|
|
1456
|
+
model?: string | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
localCt2?: {
|
|
1459
|
+
selectedGroupId?: string | undefined;
|
|
1460
|
+
model?: string | undefined;
|
|
1461
|
+
hfEndpoint?: string | undefined;
|
|
1462
|
+
} | undefined;
|
|
1463
|
+
localLlama?: {
|
|
1464
|
+
selectedGroupId?: string | undefined;
|
|
1465
|
+
model?: string | undefined;
|
|
1466
|
+
hfEndpoint?: string | undefined;
|
|
1353
1467
|
} | undefined;
|
|
1354
1468
|
}>>;
|
|
1355
1469
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1363,9 +1477,19 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1363
1477
|
selectedGroupId?: string | undefined;
|
|
1364
1478
|
};
|
|
1365
1479
|
openai: {
|
|
1366
|
-
model: string;
|
|
1367
1480
|
baseUrl: string;
|
|
1368
1481
|
token: string;
|
|
1482
|
+
model: string;
|
|
1483
|
+
};
|
|
1484
|
+
localCt2: {
|
|
1485
|
+
model: string;
|
|
1486
|
+
hfEndpoint: string;
|
|
1487
|
+
selectedGroupId?: string | undefined;
|
|
1488
|
+
};
|
|
1489
|
+
localLlama: {
|
|
1490
|
+
model: string;
|
|
1491
|
+
hfEndpoint: string;
|
|
1492
|
+
selectedGroupId?: string | undefined;
|
|
1369
1493
|
};
|
|
1370
1494
|
};
|
|
1371
1495
|
}, {
|
|
@@ -1374,14 +1498,24 @@ declare const OpenSpecUIGlobalSettingsSchema: z.ZodObject<{
|
|
|
1374
1498
|
} | undefined;
|
|
1375
1499
|
translationEngines?: {
|
|
1376
1500
|
local?: {
|
|
1377
|
-
model?: string | undefined;
|
|
1378
1501
|
selectedGroupId?: string | undefined;
|
|
1502
|
+
model?: string | undefined;
|
|
1379
1503
|
hfEndpoint?: string | undefined;
|
|
1380
1504
|
} | undefined;
|
|
1381
1505
|
openai?: {
|
|
1382
|
-
model?: string | undefined;
|
|
1383
1506
|
baseUrl?: string | undefined;
|
|
1384
1507
|
token?: string | undefined;
|
|
1508
|
+
model?: string | undefined;
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
localCt2?: {
|
|
1511
|
+
selectedGroupId?: string | undefined;
|
|
1512
|
+
model?: string | undefined;
|
|
1513
|
+
hfEndpoint?: string | undefined;
|
|
1514
|
+
} | undefined;
|
|
1515
|
+
localLlama?: {
|
|
1516
|
+
selectedGroupId?: string | undefined;
|
|
1517
|
+
model?: string | undefined;
|
|
1518
|
+
hfEndpoint?: string | undefined;
|
|
1385
1519
|
} | undefined;
|
|
1386
1520
|
} | undefined;
|
|
1387
1521
|
}>;
|
|
@@ -1395,6 +1529,8 @@ type PersistedOpenSpecUIGlobalSettings = {
|
|
|
1395
1529
|
translationEngines?: {
|
|
1396
1530
|
openai?: Partial<TranslationOpenAISettings>;
|
|
1397
1531
|
local?: Partial<TranslationLocalSettings>;
|
|
1532
|
+
localCt2?: Partial<TranslationLocalCt2Settings>;
|
|
1533
|
+
localLlama?: Partial<TranslationLocalLlamaSettings>;
|
|
1398
1534
|
};
|
|
1399
1535
|
};
|
|
1400
1536
|
declare const DEFAULT_GLOBAL_SETTINGS: OpenSpecUIGlobalSettings;
|
|
@@ -1415,6 +1551,38 @@ declare class GlobalSettingsManager {
|
|
|
1415
1551
|
writeSettings(update: OpenSpecUIGlobalSettingsUpdate): Promise<void>;
|
|
1416
1552
|
}
|
|
1417
1553
|
//#endregion
|
|
1554
|
+
//#region src/runtime-package-manager.d.ts
|
|
1555
|
+
type RuntimePackageDependencyField = 'dependencies' | 'optionalDependencies';
|
|
1556
|
+
type RuntimePackageManagerSource = 'deno-env' | 'user-agent' | 'exec-path' | 'package-manager-field' | 'lockfile' | 'fallback';
|
|
1557
|
+
interface RuntimePackageManagerResolution {
|
|
1558
|
+
id: string;
|
|
1559
|
+
source: RuntimePackageManagerSource;
|
|
1560
|
+
}
|
|
1561
|
+
interface RuntimePackageInstallCommand {
|
|
1562
|
+
cmd: string;
|
|
1563
|
+
args: string[];
|
|
1564
|
+
displayCommand: string;
|
|
1565
|
+
}
|
|
1566
|
+
interface RuntimePackageInstallStrategy {
|
|
1567
|
+
id: string;
|
|
1568
|
+
preservesDependencyField: boolean;
|
|
1569
|
+
buildCommand(input: Omit<RuntimePackageInstallCommandInput, 'packageManager'>): RuntimePackageInstallCommand | null;
|
|
1570
|
+
}
|
|
1571
|
+
interface RuntimePackageManagerOptions {
|
|
1572
|
+
startDir: string;
|
|
1573
|
+
env?: NodeJS.ProcessEnv;
|
|
1574
|
+
}
|
|
1575
|
+
interface RuntimePackageInstallCommandInput {
|
|
1576
|
+
packageManager: string;
|
|
1577
|
+
packages: readonly string[];
|
|
1578
|
+
dependencyField?: RuntimePackageDependencyField;
|
|
1579
|
+
ignoreWorkspace?: boolean;
|
|
1580
|
+
allowBuildPackages?: readonly string[];
|
|
1581
|
+
}
|
|
1582
|
+
declare function detectRuntimePackageManager(options: RuntimePackageManagerOptions): RuntimePackageManagerResolution;
|
|
1583
|
+
declare function resolveRuntimePackageInstallStrategy(packageManager: string): RuntimePackageInstallStrategy | null;
|
|
1584
|
+
declare function buildRuntimePackageInstallCommand(input: RuntimePackageInstallCommandInput): RuntimePackageInstallCommand | null;
|
|
1585
|
+
//#endregion
|
|
1418
1586
|
//#region src/cli-executor.d.ts
|
|
1419
1587
|
/** CLI 执行结果 */
|
|
1420
1588
|
interface CliResult {
|
|
@@ -2171,4 +2339,4 @@ declare class OpsxKernel {
|
|
|
2171
2339
|
private combineSignals;
|
|
2172
2340
|
}
|
|
2173
2341
|
//#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 };
|
|
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 };
|