@openspecui/core 3.11.3 → 3.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{document-translation-BrlCvnLZ.mjs → document-translation-B3QRXIXx.mjs} +1 -1
  2. package/dist/{document-translation-Cv6BIGL5.d.mts → document-translation-QMSrWNT-.d.mts} +2 -2
  3. package/dist/document-translation.d.mts +1 -1
  4. package/dist/document-translation.mjs +2 -2
  5. package/dist/index.d.mts +120 -30
  6. package/dist/index.mjs +114 -4
  7. package/dist/{local-download-profiles-GKs2OOqJ.d.mts → local-download-profiles-DHF9dW4e.d.mts} +1 -1
  8. package/dist/local-download-profiles.d.mts +2 -2
  9. package/dist/{notifications-CJQ_F_Un.d.mts → notifications-D9yMeQqN.d.mts} +18 -18
  10. package/dist/notifications.d.mts +2 -2
  11. package/dist/{openspec-projection-BbuPTbvj.d.mts → openspec-projection-e-sOj4vr.d.mts} +1 -1
  12. package/dist/openspec-projection.d.mts +2 -2
  13. package/dist/{opsx-entity-BO9G2SCW.d.mts → opsx-entity-C89YFQNB.d.mts} +9 -9
  14. package/dist/opsx-entity.d.mts +2 -2
  15. package/dist/{opsx-schema-detail-DTajJW4g.d.mts → opsx-schema-detail-DIscOp9f.d.mts} +1 -1
  16. package/dist/opsx-schema-detail.d.mts +3 -3
  17. package/dist/{schemas-DQzd1hgp.d.mts → schemas-B6ZBedD4.d.mts} +44 -44
  18. package/dist/{sounds-3yEx1YXT.d.mts → sounds-BjSZxrQO.d.mts} +5 -5
  19. package/dist/sounds.d.mts +1 -1
  20. package/dist/{terminal-audio-UCLlM1qN.d.mts → terminal-audio-6x0ceNBw.d.mts} +2 -2
  21. package/dist/terminal-audio.d.mts +2 -2
  22. package/dist/terminal-control.d.mts +2 -2
  23. package/dist/{terminal-invocation-DCPc8hmm.d.mts → terminal-invocation-C2e1WSWM.d.mts} +91 -91
  24. package/dist/terminal-invocation.d.mts +1 -1
  25. package/dist/{translator-Car0_7uk.mjs → translator-B98pejVa.mjs} +134 -6
  26. package/dist/{translator-prn3W9lf.d.mts → translator-jn94xmWZ.d.mts} +241 -167
  27. package/dist/translator.d.mts +2 -2
  28. package/dist/translator.mjs +2 -2
  29. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3,8 +3,8 @@ import { n as toMarkdownFactKind, t as parseMarkdownFacts } from "./markdown-fac
3
3
  import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-DSlcirYV.mjs";
4
4
  import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-dNJentSE.mjs";
5
5
  import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-yqwKIKnp.mjs";
6
- import { A as TranslationEngineInstallLogStreamSchema, B as getManagedLocalTranslationEngineManifest, C as TranslationEngineAssetStateSchema, D as TranslationEngineGlobalSettingsSchema, E as TranslationEngineDependencyStatusSchema, F as TranslationLocalCt2SettingsSchema, G as isTranslationEngineDependencyReady, H as getTranslationEngineManifest, I as TranslationLocalLlamaSettingsSchema, K as isTranslationEngineRuntimeReady, L as TranslationLocalSettingsSchema, M as TranslationEngineLifecycleStatusSchema, N as TranslationEngineRuntimeStateSchema, O as TranslationEngineIdSchema, P as TranslationEngineRuntimeStatusSchema, R as TranslationOpenAISettingsSchema, S as TranslationDownloadGroupPlanSchema, T as TranslationEngineDependencyStateSchema, U as isDirectionalManagedLocalTranslationEngineId, V as getTranslationEngineLifecycleMessage, W as isManagedLocalTranslationEngineId, _ as ServiceTranslationEngineIdSchema, a as LocalModelAssetPlanSnapshotSchema, b as TRANSLATOR_CONTRACT_VERSION, c as LocalModelLifecycleFileStateSchema, d as LocalModelProfileManifestFileSchema, f as LocalModelProfileManifestGroupSchema, g as SERVICE_TRANSLATION_ENGINE_IDS, h as ManagedLocalCatalogSourceSchema, i as LocalModelAssetLogSchema, j as TranslationEngineLifecycleEventSchema, k as TranslationEngineInstallLogEventSchema, l as LocalModelLifecycleGroupStateSchema, m as LocalModelProfileStatusSchema, n as BatchTranslateInputSchema, o as LocalModelAssetStateSchema, p as LocalModelProfileManifestSchema, q as shouldShowTranslationEngineInstallGate, r as DEFAULT_TRANSLATION_ENGINE_ID, s as LocalModelDownloadStatusSchema, t as BatchTranslateEventSchema, u as LocalModelProfileLoadStateSchema, v as TRANSLATION_ENGINE_IDS, w as TranslationEngineAssetStatusSchema, x as TranslationDownloadFilePlanSchema, y as TRANSLATION_ENGINE_MANIFESTS, z as createTranslationEngineLifecycleStatus } from "./translator-Car0_7uk.mjs";
7
- import { a as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, c as TranslationCacheEntrySchema, d as TranslationCacheStatsSchema, f as TranslationCacheWriteInputSchema, i as DocumentTranslationDisplayModeSchema, l as TranslationCacheReadInputSchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, p as TranslationEngineProjectSettingsSchema, r as DocumentTranslationConfigSchema, s as TRANSLATION_CACHE_POLICY_VERSION, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as TranslationCacheSettingsSchema } from "./document-translation-BrlCvnLZ.mjs";
6
+ import { A as TranslationEngineInstallLogEventSchema, B as createTranslationEngineLifecycleStatus, C as TranslationDownloadGroupPlanSchema, D as TranslationEngineDependencyStatusSchema, E as TranslationEngineDependencyStateSchema, F as TranslationEngineRuntimeStatusSchema, G as isManagedLocalTranslationEngineId, H as getTranslationEngineLifecycleMessage, I as TranslationLocalCt2SettingsSchema, J as shouldShowTranslationEngineInstallGate, K as isTranslationEngineDependencyReady, L as TranslationLocalLlamaSettingsSchema, M as TranslationEngineLifecycleEventSchema, N as TranslationEngineLifecycleStatusSchema, O as TranslationEngineGlobalSettingsSchema, P as TranslationEngineRuntimeStateSchema, R as TranslationLocalSettingsSchema, S as TranslationDownloadFilePlanSchema, T as TranslationEngineAssetStatusSchema, U as getTranslationEngineManifest, V as getManagedLocalTranslationEngineManifest, W as isDirectionalManagedLocalTranslationEngineId, X as normalizeBatchTranslationError, Y as isBatchTranslationAbort, Z as runControlledTranslationTask, _ as SERVICE_TRANSLATION_ENGINE_IDS, a as LocalModelAssetLogSchema, b as TRANSLATION_ENGINE_MANIFESTS, c as LocalModelDownloadStatusSchema, d as LocalModelProfileLoadStateSchema, f as LocalModelProfileManifestFileSchema, g as ManagedLocalCatalogSourceSchema, h as LocalModelProfileStatusSchema, i as DEFAULT_TRANSLATION_ENGINE_ID, j as TranslationEngineInstallLogStreamSchema, k as TranslationEngineIdSchema, l as LocalModelLifecycleFileStateSchema, m as LocalModelProfileManifestSchema, n as BatchTranslateInputSchema, o as LocalModelAssetPlanSnapshotSchema, p as LocalModelProfileManifestGroupSchema, q as isTranslationEngineRuntimeReady, s as LocalModelAssetStateSchema, t as BatchTranslateEventSchema, u as LocalModelLifecycleGroupStateSchema, v as ServiceTranslationEngineIdSchema, w as TranslationEngineAssetStateSchema, x as TRANSLATOR_CONTRACT_VERSION, y as TRANSLATION_ENGINE_IDS, z as TranslationOpenAISettingsSchema } from "./translator-B98pejVa.mjs";
7
+ import { a as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, c as TranslationCacheEntrySchema, d as TranslationCacheStatsSchema, f as TranslationCacheWriteInputSchema, i as DocumentTranslationDisplayModeSchema, l as TranslationCacheReadInputSchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, p as TranslationEngineProjectSettingsSchema, r as DocumentTranslationConfigSchema, s as TRANSLATION_CACHE_POLICY_VERSION, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as TranslationCacheSettingsSchema } from "./document-translation-B3QRXIXx.mjs";
8
8
  import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-50cYk5b0.mjs";
9
9
  import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CYZhk7FM.mjs";
10
10
  import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-Xs9VPFWD.mjs";
@@ -3014,6 +3014,56 @@ function toPersistedConfig(config, options = {}) {
3014
3014
  function isPersistedConfigEmpty(config) {
3015
3015
  return !hasOwnEntries$1(config);
3016
3016
  }
3017
+ function parsePersistedConfigObject(content) {
3018
+ if (!content) return {};
3019
+ try {
3020
+ const parsed = JSON.parse(content);
3021
+ return typeof parsed === "object" && parsed !== null && !Array.isArray(parsed) ? parsed : {};
3022
+ } catch {
3023
+ return {};
3024
+ }
3025
+ }
3026
+ function hasOwnPath(value, path) {
3027
+ let current = value;
3028
+ for (const segment of path) {
3029
+ if (typeof current !== "object" || current === null) return false;
3030
+ if (!Object.prototype.hasOwnProperty.call(current, segment)) return false;
3031
+ current = Reflect.get(current, segment);
3032
+ }
3033
+ return true;
3034
+ }
3035
+ function readConfigPresenceFromContent(content) {
3036
+ const parsed = parsePersistedConfigObject(content);
3037
+ return { translation: {
3038
+ enabled: hasOwnPath(parsed, ["translation", "enabled"]),
3039
+ targetLanguage: hasOwnPath(parsed, ["translation", "targetLanguage"]),
3040
+ displayMode: hasOwnPath(parsed, ["translation", "displayMode"]),
3041
+ cacheEnabled: hasOwnPath(parsed, ["translation", "cacheEnabled"]),
3042
+ engineId: hasOwnPath(parsed, ["translation", "engineId"]),
3043
+ engines: {
3044
+ local: hasOwnPath(parsed, [
3045
+ "translation",
3046
+ "engines",
3047
+ "local"
3048
+ ]),
3049
+ localCt2: hasOwnPath(parsed, [
3050
+ "translation",
3051
+ "engines",
3052
+ "localCt2"
3053
+ ]),
3054
+ localLlama: hasOwnPath(parsed, [
3055
+ "translation",
3056
+ "engines",
3057
+ "localLlama"
3058
+ ]),
3059
+ openai: hasOwnPath(parsed, [
3060
+ "translation",
3061
+ "engines",
3062
+ "openai"
3063
+ ])
3064
+ }
3065
+ } };
3066
+ }
3017
3067
  /**
3018
3068
  * 配置管理器
3019
3069
  *
@@ -3055,6 +3105,9 @@ var ConfigManager = class {
3055
3105
  const content = await reactiveReadFile(this.configPath);
3056
3106
  return this.parseConfigContent(content);
3057
3107
  }
3108
+ async readConfigPresence() {
3109
+ return readConfigPresenceFromContent(await reactiveReadFile(this.configPath));
3110
+ }
3058
3111
  /**
3059
3112
  * 写入配置
3060
3113
  *
@@ -3243,12 +3296,48 @@ var ConfigManager = class {
3243
3296
 
3244
3297
  //#endregion
3245
3298
  //#region src/global-settings.ts
3299
+ const DocumentTranslationGlobalSettingsSchema = z.object({
3300
+ enabled: z.boolean().default(false),
3301
+ targetLanguage: z.string().min(1).default("zh"),
3302
+ displayMode: DocumentTranslationDisplayModeSchema.default("direct"),
3303
+ cacheEnabled: z.boolean().default(false)
3304
+ });
3246
3305
  const OpenSpecUIGlobalSettingsSchema = z.object({
3306
+ translation: DocumentTranslationGlobalSettingsSchema.default(DocumentTranslationGlobalSettingsSchema.parse({})),
3247
3307
  translationCache: TranslationCacheSettingsSchema.default(TranslationCacheSettingsSchema.parse({})),
3248
3308
  translationEngines: TranslationEngineGlobalSettingsSchema.default(TranslationEngineGlobalSettingsSchema.parse({}))
3249
3309
  });
3250
3310
  const DEFAULT_GLOBAL_SETTINGS = OpenSpecUIGlobalSettingsSchema.parse({});
3251
3311
  const PERSISTED_GLOBAL_SETTINGS_SANITIZE_RULES = [
3312
+ {
3313
+ kind: "object",
3314
+ path: ["translation"],
3315
+ fallback: {}
3316
+ },
3317
+ {
3318
+ kind: "field",
3319
+ path: ["translation", "enabled"],
3320
+ schema: DocumentTranslationGlobalSettingsSchema.shape.enabled,
3321
+ fallback: DEFAULT_GLOBAL_SETTINGS.translation.enabled
3322
+ },
3323
+ {
3324
+ kind: "field",
3325
+ path: ["translation", "targetLanguage"],
3326
+ schema: DocumentTranslationGlobalSettingsSchema.shape.targetLanguage,
3327
+ fallback: DEFAULT_GLOBAL_SETTINGS.translation.targetLanguage
3328
+ },
3329
+ {
3330
+ kind: "field",
3331
+ path: ["translation", "displayMode"],
3332
+ schema: DocumentTranslationGlobalSettingsSchema.shape.displayMode,
3333
+ fallback: DEFAULT_GLOBAL_SETTINGS.translation.displayMode
3334
+ },
3335
+ {
3336
+ kind: "field",
3337
+ path: ["translation", "cacheEnabled"],
3338
+ schema: DocumentTranslationGlobalSettingsSchema.shape.cacheEnabled,
3339
+ fallback: DEFAULT_GLOBAL_SETTINGS.translation.cacheEnabled
3340
+ },
3252
3341
  {
3253
3342
  kind: "object",
3254
3343
  path: ["translationCache"],
@@ -3259,6 +3348,12 @@ const PERSISTED_GLOBAL_SETTINGS_SANITIZE_RULES = [
3259
3348
  path: ["translationEngines"],
3260
3349
  fallback: {}
3261
3350
  },
3351
+ {
3352
+ kind: "field",
3353
+ path: ["translationEngines", "engineId"],
3354
+ schema: TranslationEngineIdSchema,
3355
+ fallback: DEFAULT_GLOBAL_SETTINGS.translationEngines.engineId
3356
+ },
3262
3357
  {
3263
3358
  kind: "object",
3264
3359
  path: ["translationEngines", "openai"],
@@ -3304,11 +3399,18 @@ function mergeNullablePatch(current, patch) {
3304
3399
  }
3305
3400
  function toPersistedGlobalSettings(settings) {
3306
3401
  const persisted = {};
3402
+ const translation = {};
3307
3403
  const translationCache = {};
3404
+ if (settings.translation.enabled !== DEFAULT_GLOBAL_SETTINGS.translation.enabled) translation.enabled = settings.translation.enabled;
3405
+ if (settings.translation.targetLanguage !== DEFAULT_GLOBAL_SETTINGS.translation.targetLanguage) translation.targetLanguage = settings.translation.targetLanguage;
3406
+ if (settings.translation.displayMode !== DEFAULT_GLOBAL_SETTINGS.translation.displayMode) translation.displayMode = settings.translation.displayMode;
3407
+ if (settings.translation.cacheEnabled !== DEFAULT_GLOBAL_SETTINGS.translation.cacheEnabled) translation.cacheEnabled = settings.translation.cacheEnabled;
3308
3408
  if (settings.translationCache.entryLimit !== DEFAULT_GLOBAL_SETTINGS.translationCache.entryLimit) translationCache.entryLimit = settings.translationCache.entryLimit;
3409
+ if (hasOwnEntries(translation)) persisted.translation = translation;
3309
3410
  if (hasOwnEntries(translationCache)) persisted.translationCache = translationCache;
3310
3411
  const translationEngines = {};
3311
3412
  const defaultTranslationEngines = DEFAULT_GLOBAL_SETTINGS.translationEngines;
3413
+ if (settings.translationEngines.engineId !== defaultTranslationEngines.engineId) translationEngines.engineId = settings.translationEngines.engineId;
3312
3414
  const openai = {};
3313
3415
  if (settings.translationEngines.openai.baseUrl !== defaultTranslationEngines.openai.baseUrl) openai.baseUrl = settings.translationEngines.openai.baseUrl;
3314
3416
  if (settings.translationEngines.openai.token !== defaultTranslationEngines.openai.token) openai.token = settings.translationEngines.openai.token;
@@ -3318,16 +3420,19 @@ function toPersistedGlobalSettings(settings) {
3318
3420
  if (settings.translationEngines.local.model !== defaultTranslationEngines.local.model) local.model = settings.translationEngines.local.model;
3319
3421
  if (settings.translationEngines.local.selectedGroupId !== defaultTranslationEngines.local.selectedGroupId) local.selectedGroupId = settings.translationEngines.local.selectedGroupId;
3320
3422
  if (settings.translationEngines.local.hfEndpoint !== defaultTranslationEngines.local.hfEndpoint) local.hfEndpoint = settings.translationEngines.local.hfEndpoint;
3423
+ if (settings.translationEngines.local.memoryBudgetPercent !== defaultTranslationEngines.local.memoryBudgetPercent) local.memoryBudgetPercent = settings.translationEngines.local.memoryBudgetPercent;
3321
3424
  if (hasOwnEntries(local)) translationEngines.local = local;
3322
3425
  const localCt2 = {};
3323
3426
  if (settings.translationEngines.localCt2.model !== defaultTranslationEngines.localCt2.model) localCt2.model = settings.translationEngines.localCt2.model;
3324
3427
  if (settings.translationEngines.localCt2.selectedGroupId !== defaultTranslationEngines.localCt2.selectedGroupId) localCt2.selectedGroupId = settings.translationEngines.localCt2.selectedGroupId;
3325
3428
  if (settings.translationEngines.localCt2.hfEndpoint !== defaultTranslationEngines.localCt2.hfEndpoint) localCt2.hfEndpoint = settings.translationEngines.localCt2.hfEndpoint;
3429
+ if (settings.translationEngines.localCt2.memoryBudgetPercent !== defaultTranslationEngines.localCt2.memoryBudgetPercent) localCt2.memoryBudgetPercent = settings.translationEngines.localCt2.memoryBudgetPercent;
3326
3430
  if (hasOwnEntries(localCt2)) translationEngines.localCt2 = localCt2;
3327
3431
  const localLlama = {};
3328
3432
  if (settings.translationEngines.localLlama.model !== defaultTranslationEngines.localLlama.model) localLlama.model = settings.translationEngines.localLlama.model;
3329
3433
  if (settings.translationEngines.localLlama.selectedGroupId !== defaultTranslationEngines.localLlama.selectedGroupId) localLlama.selectedGroupId = settings.translationEngines.localLlama.selectedGroupId;
3330
3434
  if (settings.translationEngines.localLlama.hfEndpoint !== defaultTranslationEngines.localLlama.hfEndpoint) localLlama.hfEndpoint = settings.translationEngines.localLlama.hfEndpoint;
3435
+ if (settings.translationEngines.localLlama.memoryBudgetPercent !== defaultTranslationEngines.localLlama.memoryBudgetPercent) localLlama.memoryBudgetPercent = settings.translationEngines.localLlama.memoryBudgetPercent;
3331
3436
  if (hasOwnEntries(localLlama)) translationEngines.localLlama = localLlama;
3332
3437
  if (hasOwnEntries(translationEngines)) persisted.translationEngines = translationEngines;
3333
3438
  return persisted;
@@ -3372,12 +3477,17 @@ var GlobalSettingsManager = class {
3372
3477
  const current = this.parseSettingsContent(currentContent);
3373
3478
  const persisted = toPersistedGlobalSettings(OpenSpecUIGlobalSettingsSchema.parse({
3374
3479
  ...current,
3480
+ translation: {
3481
+ ...current.translation,
3482
+ ...update.translation
3483
+ },
3375
3484
  translationCache: {
3376
3485
  ...current.translationCache,
3377
3486
  ...update.translationCache
3378
3487
  },
3379
3488
  translationEngines: {
3380
3489
  ...current.translationEngines,
3490
+ engineId: update.translationEngines?.engineId ?? current.translationEngines.engineId,
3381
3491
  openai: mergeNullablePatch(current.translationEngines.openai, update.translationEngines?.openai),
3382
3492
  local: mergeNullablePatch(current.translationEngines.local, update.translationEngines?.local),
3383
3493
  localCt2: mergeNullablePatch(current.translationEngines.localCt2, update.translationEngines?.localCt2),
@@ -3508,7 +3618,7 @@ function appendOptionalDependencyFlag(args, field) {
3508
3618
  args.push("--save-optional");
3509
3619
  }
3510
3620
  function appendAllowBuildFlags(args, packages) {
3511
- for (const packageName of packages) args.push("--allow-build", packageName);
3621
+ for (const packageName of packages) args.push(`--allow-build=${packageName}`);
3512
3622
  }
3513
3623
  const RUNTIME_PACKAGE_INSTALL_STRATEGIES = [
3514
3624
  {
@@ -5432,4 +5542,4 @@ const PtyServerMessageSchema = z.discriminatedUnion("type", [
5432
5542
  ]);
5433
5543
 
5434
5544
  //#endregion
5435
- export { AI_TOOLS, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, ApplyTaskSchema, ArtifactInstructionsSchema, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, BatchTranslateEventSchema, BatchTranslateInputSchema, BuiltinSoundIdSchema, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, ChangeFileSchema, ChangeSchema, ChangeStatusSchema, CliExecutor, CodeEditorThemeSchema, ConfigManager, CustomSoundHashSchema, CustomSoundIdSchema, 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, DashboardConfigSchema, DeltaOperationType, DeltaSchema, DeltaSpecSchema, DependencyInfoSchema, DocumentTranslationConfigSchema, DocumentTranslationDisplayModeSchema, FILE_PREVIEW_KINDS, GitConfigSchema, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, ManagedLocalCatalogSourceSchema, MarkdownParser, MarkdownReadingPluginRegistry, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, 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, OpenSpecAdapter, OpenSpecUIConfigSchema, OpenSpecUIGlobalSettingsSchema, OpenSpecWatcher, OpsxAgentInvocationModeSchema, OpsxConfigSchema, OpsxKernel, ProjectWatcher, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, PtyServerMessageSchema, PtyTitleResponseSchema, ReactiveContext, ReactiveState, RequirementSchema, SERVICE_TRANSLATION_ENGINE_IDS, SILENT_SOUND_ID, ScenarioStepKeywordSchema, ScenarioStepSchema, SchemaArtifactSchema, SchemaDetailSchema, SchemaInfoSchema, SchemaResolutionSchema, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, SoundIdSchema, 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, TaskSchema, TemplatesSchema, TerminalBellSoundSchema, TerminalCommandFieldSchema, TerminalConfigSchema, TerminalControlParser, TerminalInvocationSettingsSchema, TerminalNotificationParser, TerminalRendererEngineSchema, TerminalShellProfileSchema, TerminalShellQuoteStyleSchema, TerminalSpawnCommandSchema, TerminalThemeModeSchema, TerminalThemeSchema, TranslationCacheEntrySchema, TranslationCacheReadInputSchema, TranslationCacheSettingsSchema, TranslationCacheStatsSchema, TranslationCacheWriteInputSchema, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineProjectSettingsSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalSettingsSchema, TranslationOpenAISettingsSchema, VIRTUAL_PROJECT_DIRNAME, Validator, 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 };
5545
+ export { AI_TOOLS, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, ApplyTaskSchema, ArtifactInstructionsSchema, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, BatchTranslateEventSchema, BatchTranslateInputSchema, BuiltinSoundIdSchema, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, ChangeFileSchema, ChangeSchema, ChangeStatusSchema, CliExecutor, CodeEditorThemeSchema, ConfigManager, CustomSoundHashSchema, CustomSoundIdSchema, 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, DashboardConfigSchema, DeltaOperationType, DeltaSchema, DeltaSpecSchema, DependencyInfoSchema, DocumentTranslationConfigSchema, DocumentTranslationDisplayModeSchema, FILE_PREVIEW_KINDS, GitConfigSchema, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, ManagedLocalCatalogSourceSchema, MarkdownParser, MarkdownReadingPluginRegistry, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, 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, OpenSpecAdapter, OpenSpecUIConfigSchema, OpenSpecUIGlobalSettingsSchema, OpenSpecWatcher, OpsxAgentInvocationModeSchema, OpsxConfigSchema, OpsxKernel, ProjectWatcher, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, PtyServerMessageSchema, PtyTitleResponseSchema, ReactiveContext, ReactiveState, RequirementSchema, SERVICE_TRANSLATION_ENGINE_IDS, SILENT_SOUND_ID, ScenarioStepKeywordSchema, ScenarioStepSchema, SchemaArtifactSchema, SchemaDetailSchema, SchemaInfoSchema, SchemaResolutionSchema, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, SoundIdSchema, 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, TaskSchema, TemplatesSchema, TerminalBellSoundSchema, TerminalCommandFieldSchema, TerminalConfigSchema, TerminalControlParser, TerminalInvocationSettingsSchema, TerminalNotificationParser, TerminalRendererEngineSchema, TerminalShellProfileSchema, TerminalShellQuoteStyleSchema, TerminalSpawnCommandSchema, TerminalThemeModeSchema, TerminalThemeSchema, TranslationCacheEntrySchema, TranslationCacheReadInputSchema, TranslationCacheSettingsSchema, TranslationCacheStatsSchema, TranslationCacheWriteInputSchema, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineProjectSettingsSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalSettingsSchema, TranslationOpenAISettingsSchema, VIRTUAL_PROJECT_DIRNAME, Validator, acquireWatcher, annotateOpenSpecFacts, annotateOpenSpecMarkdown, buildBackendHealthPayload, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, buildMarkdownParentMap, buildOpsxEntityDetail, buildRuntimePackageInstallCommand, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, createTranslationEngineLifecycleStatus, customHashFromSoundId, detectRuntimePackageManager, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getManagedLocalTranslationEngineManifest, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, initWatcherPool, isBackendHealthRuntimeMetadata, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isOpsxGlobPattern, isPreviewableFile, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, normalizeBatchTranslationError, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, runControlledTranslationTask, selectLocalDownloadGroup, shouldShowTranslationEngineInstallGate, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, trimMarkdownSlice };
@@ -1,4 +1,4 @@
1
- import { Nt as TranslationModelDownloadPlan, W as TranslationDownloadGroupPlan } from "./translator-prn3W9lf.mjs";
1
+ import { G as TranslationDownloadGroupPlan, Pt as TranslationModelDownloadPlan } from "./translator-jn94xmWZ.mjs";
2
2
 
3
3
  //#region src/local-download-profiles.d.ts
4
4
  declare const LOCAL_MODEL_PROFILE_DEFINITIONS: readonly [{
@@ -1,3 +1,3 @@
1
- import "./translator-prn3W9lf.mjs";
2
- 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";
1
+ import "./translator-jn94xmWZ.mjs";
2
+ import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-DHF9dW4e.mjs";
3
3
  export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-3yEx1YXT.mjs";
1
+ import { x as SoundId } from "./sounds-BjSZxrQO.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/terminal-control.d.ts
@@ -54,18 +54,18 @@ declare function terminalNotificationEventToPublishInput(input: {
54
54
  //#endregion
55
55
  //#region src/notifications.d.ts
56
56
  declare const NOTIFICATION_SOUND_VALUES: readonly ["silent", "soft", "clear", "pulse"];
57
- declare const NotificationSoundSchema: 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>;
57
+ declare const NotificationSoundSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
58
58
  type NotificationSound = SoundId;
59
59
  declare const NOTIFICATION_SOUND_OPTIONS: readonly {
60
60
  id: NotificationSound;
61
61
  label: string;
62
62
  }[];
63
63
  declare const NotificationSettingsSchema: z.ZodObject<{
64
- 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>>;
64
+ sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
65
65
  volume: z.ZodDefault<z.ZodNumber>;
66
66
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- 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}`;
68
+ sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
69
69
  volume: number;
70
70
  systemNotificationsEnabled: boolean;
71
71
  }, {
@@ -272,8 +272,6 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
272
272
  level: z.ZodDefault<z.ZodEnum<["info", "success", "warning", "error"]>>;
273
273
  createdAt: z.ZodOptional<z.ZodNumber>;
274
274
  }, "strip", z.ZodTypeAny, {
275
- title: string;
276
- body: string;
277
275
  source: {
278
276
  type: "terminal";
279
277
  sessionId: string;
@@ -291,6 +289,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
291
289
  groupId: string;
292
290
  title?: string | undefined;
293
291
  };
292
+ title: string;
293
+ body: string;
294
294
  actions: ({
295
295
  type: "terminal.focus";
296
296
  label: string;
@@ -304,10 +304,9 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
304
304
  href: string;
305
305
  };
306
306
  })[];
307
- level: "info" | "success" | "warning" | "error";
307
+ level: "error" | "info" | "success" | "warning";
308
308
  createdAt?: number | undefined;
309
309
  }, {
310
- title: string;
311
310
  source: {
312
311
  type: "terminal";
313
312
  sessionId: string;
@@ -325,6 +324,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
325
324
  groupId: string;
326
325
  title?: string | undefined;
327
326
  };
327
+ title: string;
328
+ createdAt?: number | undefined;
328
329
  body?: string | undefined;
329
330
  actions?: ({
330
331
  type: "terminal.focus";
@@ -339,8 +340,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
339
340
  };
340
341
  label?: string | undefined;
341
342
  })[] | undefined;
342
- level?: "info" | "success" | "warning" | "error" | undefined;
343
- createdAt?: number | undefined;
343
+ level?: "error" | "info" | "success" | "warning" | undefined;
344
344
  }>;
345
345
  type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
346
346
  declare const NotificationRecordSchema: z.ZodObject<{
@@ -446,8 +446,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
446
446
  createdAt: z.ZodNumber;
447
447
  groupKey: z.ZodString;
448
448
  }, "strip", z.ZodTypeAny, {
449
- title: string;
450
- body: string;
449
+ id: string;
451
450
  source: {
452
451
  type: "terminal";
453
452
  sessionId: string;
@@ -465,6 +464,9 @@ declare const NotificationRecordSchema: z.ZodObject<{
465
464
  groupId: string;
466
465
  title?: string | undefined;
467
466
  };
467
+ createdAt: number;
468
+ title: string;
469
+ body: string;
468
470
  actions: ({
469
471
  type: "terminal.focus";
470
472
  label: string;
@@ -478,12 +480,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
478
480
  href: string;
479
481
  };
480
482
  })[];
481
- level: "info" | "success" | "warning" | "error";
482
- createdAt: number;
483
- id: string;
483
+ level: "error" | "info" | "success" | "warning";
484
484
  groupKey: string;
485
485
  }, {
486
- title: string;
486
+ id: string;
487
487
  source: {
488
488
  type: "terminal";
489
489
  sessionId: string;
@@ -502,7 +502,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
502
502
  title?: string | undefined;
503
503
  };
504
504
  createdAt: number;
505
- id: string;
505
+ title: string;
506
506
  groupKey: string;
507
507
  body?: string | undefined;
508
508
  actions?: ({
@@ -518,7 +518,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
518
518
  };
519
519
  label?: string | undefined;
520
520
  })[] | undefined;
521
- level?: "info" | "success" | "warning" | "error" | undefined;
521
+ level?: "error" | "info" | "success" | "warning" | undefined;
522
522
  }>;
523
523
  type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
524
524
  interface NotificationAggregate {
@@ -1,3 +1,3 @@
1
- import "./sounds-3yEx1YXT.mjs";
2
- import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, 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";
1
+ import "./sounds-BjSZxrQO.mjs";
2
+ import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-D9yMeQqN.mjs";
3
3
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationAction, NotificationActionSchema, NotificationAggregate, NotificationGroup, NotificationGroupKey, NotificationGroupKeySchema, NotificationPublishInput, NotificationPublishInputSchema, NotificationRecord, NotificationRecordSchema, NotificationSettings, NotificationSettingsSchema, NotificationSound, NotificationSoundSchema, NotificationSource, NotificationSourceSchema, TerminalControlParser, TerminalNotificationEvent, TerminalNotificationParseResult, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -1,4 +1,4 @@
1
- import { g as Spec } from "./schemas-DQzd1hgp.mjs";
1
+ import { g as Spec } from "./schemas-B6ZBedD4.mjs";
2
2
  import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-BaHZTf5f.mjs";
3
3
  import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DYyP_HQh.mjs";
4
4
 
@@ -1,6 +1,6 @@
1
- import "./schemas-DQzd1hgp.mjs";
1
+ import "./schemas-B6ZBedD4.mjs";
2
2
  import "./markdown-facts-DempqdIX.mjs";
3
3
  import "./markdown-reading-BaHZTf5f.mjs";
4
4
  import "./openspec-annotations-DYyP_HQh.mjs";
5
- 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";
5
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-e-sOj4vr.mjs";
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OpenSpecHeadingSection, OpenSpecProjectionOptions, OpenSpecReadingSectionsProjection, OpenSpecRequirementBlock, OpenSpecScenarioBlock, ProjectedOpenSpecDocument, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,4 +1,4 @@
1
- import { n as ChangeFile } from "./schemas-DQzd1hgp.mjs";
1
+ import { n as ChangeFile } from "./schemas-B6ZBedD4.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/opsx-types.d.ts
@@ -147,15 +147,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
147
147
  remaining: number;
148
148
  };
149
149
  state: "ready" | "blocked" | "all_done";
150
+ changeName: string;
151
+ schemaName: string;
152
+ changeDir: string;
153
+ contextFiles: Record<string, string[]>;
150
154
  tasks: {
151
155
  id: string;
152
156
  description: string;
153
157
  done: boolean;
154
158
  }[];
155
- changeName: string;
156
- schemaName: string;
157
- changeDir: string;
158
- contextFiles: Record<string, string[]>;
159
159
  instruction: string;
160
160
  missingArtifacts?: string[] | undefined;
161
161
  }, {
@@ -165,15 +165,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
165
165
  remaining: number;
166
166
  };
167
167
  state: "ready" | "blocked" | "all_done";
168
+ changeName: string;
169
+ schemaName: string;
170
+ changeDir: string;
171
+ contextFiles: Record<string, string | string[]>;
168
172
  tasks: {
169
173
  id: string;
170
174
  description: string;
171
175
  done: boolean;
172
176
  }[];
173
- changeName: string;
174
- schemaName: string;
175
- changeDir: string;
176
- contextFiles: Record<string, string | string[]>;
177
177
  instruction: string;
178
178
  missingArtifacts?: string[] | undefined;
179
179
  }>;
@@ -1,3 +1,3 @@
1
- import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-BO9G2SCW.mjs";
2
- import "./schemas-DQzd1hgp.mjs";
1
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-C89YFQNB.mjs";
2
+ import "./schemas-B6ZBedD4.mjs";
3
3
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,4 +1,4 @@
1
- import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-BO9G2SCW.mjs";
1
+ import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-C89YFQNB.mjs";
2
2
 
3
3
  //#region src/opsx-schema-detail.d.ts
4
4
  interface ParsedOpsxSchemaDetail {
@@ -1,4 +1,4 @@
1
- import "./opsx-entity-BO9G2SCW.mjs";
2
- import "./schemas-DQzd1hgp.mjs";
3
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-DTajJW4g.mjs";
1
+ import "./opsx-entity-C89YFQNB.mjs";
2
+ import "./schemas-B6ZBedD4.mjs";
3
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-DIscOp9f.mjs";
4
4
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };