@openspecui/core 3.11.1 → 3.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{document-translation-Dnl1lz2K.mjs → document-translation-BTEG-uW_.mjs} +5 -1
- package/dist/{document-translation-AlZtjOt5.d.mts → document-translation-EMIQf5dw.d.mts} +72 -25
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +155 -55
- package/dist/index.mjs +229 -6
- package/dist/{local-download-profiles-DISrU0mw.d.mts → local-download-profiles-CSXKbamv.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-gGjGaYsF.d.mts → notifications-Ct6rtBwb.d.mts} +16 -16
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BojcJ9zl.d.mts → openspec-projection-DrTZ0P31.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BdyGTVs_.d.mts → opsx-entity-CIB-Wi0n.d.mts} +7 -7
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cf8YIflR.d.mts → opsx-schema-detail-Cjoesix_.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DV6yABO9.d.mts → schemas-DeEkRkAH.d.mts} +124 -124
- package/dist/{sounds-C906qHTJ.d.mts → sounds-BaxOUgWE.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-D6dE8O1_.d.mts → terminal-audio-v3YSYJKq.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-Cz0vfgkw.d.mts → terminal-invocation-C5gqne5H.d.mts} +51 -51
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translation-language-pair-D6f5u70K.mjs → translation-language-pair-Cb4a0hG6.mjs} +2 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-tTXEGRdz.d.mts → translator-BtbU7rjR.d.mts} +740 -126
- package/dist/{translator-B0T5VL9k.mjs → translator-yHmEiuRX.mjs} +143 -7
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ 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 { C as TranslationEngineIdSchema, E as
|
|
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-
|
|
6
|
+
import { A as TranslationEngineLifecycleEventSchema, B as getTranslationEngineManifest, C as TranslationEngineAssetStatusSchema, D as TranslationEngineIdSchema, E as TranslationEngineGlobalSettingsSchema, F as TranslationLocalSettingsSchema, H as isTranslationEngineDependencyReady, I as TranslationOpenAISettingsSchema, L as createTranslationEngineLifecycleStatus, M as TranslationEngineRuntimeStateSchema, N as TranslationEngineRuntimeStatusSchema, O as TranslationEngineInstallLogEventSchema, P as TranslationLocalCt2SettingsSchema, R as getManagedLocalTranslationEngineManifest, S as TranslationEngineAssetStateSchema, T as TranslationEngineDependencyStatusSchema, U as isTranslationEngineRuntimeReady, V as isManagedLocalTranslationEngineId, W as shouldShowTranslationEngineInstallGate, _ as TRANSLATION_ENGINE_IDS, a as LocalModelAssetPlanSnapshotSchema, b as TranslationDownloadFilePlanSchema, c as LocalModelLifecycleFileStateSchema, d as LocalModelProfileManifestFileSchema, f as LocalModelProfileManifestGroupSchema, g as ServiceTranslationEngineIdSchema, h as SERVICE_TRANSLATION_ENGINE_IDS, i as LocalModelAssetLogSchema, j as TranslationEngineLifecycleStatusSchema, k as TranslationEngineInstallLogStreamSchema, l as LocalModelLifecycleGroupStateSchema, m as LocalModelProfileStatusSchema, n as BatchTranslateInputSchema, o as LocalModelAssetStateSchema, p as LocalModelProfileManifestSchema, r as DEFAULT_TRANSLATION_ENGINE_ID, s as LocalModelDownloadStatusSchema, t as BatchTranslateEventSchema, u as LocalModelProfileLoadStateSchema, v as TRANSLATION_ENGINE_MANIFESTS, w as TranslationEngineDependencyStateSchema, x as TranslationDownloadGroupPlanSchema, y as TRANSLATOR_CONTRACT_VERSION, z as getTranslationEngineLifecycleMessage } from "./translator-yHmEiuRX.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-BTEG-uW_.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";
|
|
11
11
|
import { n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSoundSchema, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CUs0sqEO.mjs";
|
|
12
12
|
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-BquTqZIO.mjs";
|
|
13
13
|
import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-CNDtMG2s.mjs";
|
|
14
|
-
import { n as inferLocalDirectionalModelLanguagePair, t as checkLocalDirectionalModelLanguagePair } from "./translation-language-pair-
|
|
14
|
+
import { n as inferLocalDirectionalModelLanguagePair, t as checkLocalDirectionalModelLanguagePair } from "./translation-language-pair-Cb4a0hG6.mjs";
|
|
15
15
|
import { a as buildEmbeddedUiLaunchUrl, c as isHostedBackendHealthResponse, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as buildBackendHealthPayload, l as isSupportedEmbeddedUiUrl, n as OFFICIAL_APP_BASE_URL, o as buildHostedLaunchUrl, r as OPENSPECUI_RUNTIME_CAPABILITIES, s as isBackendHealthRuntimeMetadata, t as HOSTED_SHELL_PROTOCOL_VERSION, u as normalizeEmbeddedUiUrl } from "./hosted-app-CNZhVLM_.mjs";
|
|
16
16
|
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Cw-5MTRg.mjs";
|
|
17
17
|
import { a as TerminalInvocationSettingsSchema, c as TerminalSpawnCommandSchema, f as quoteTerminalShellArg, g as resolveTerminalShellDefaults, h as renderTerminalSpawnCommandLine, i as TerminalCommandFieldSchema, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalShellProfileSchema, p as renderTerminalCommandArgs, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalShellQuoteStyleSchema, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as getTerminalCommandDefaultValues } from "./terminal-invocation-IopdwXKL.mjs";
|
|
@@ -21,7 +21,7 @@ import { dirname, join } from "path";
|
|
|
21
21
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
22
22
|
import { mkdir as mkdir$1, readFile as readFile$1, readdir, stat, writeFile as writeFile$1 } from "node:fs/promises";
|
|
23
23
|
import { basename, dirname as dirname$1, join as join$1, matchesGlob, relative, resolve, sep } from "node:path";
|
|
24
|
-
import { existsSync, lstatSync, realpathSync } from "node:fs";
|
|
24
|
+
import { existsSync, lstatSync, readFileSync, realpathSync } from "node:fs";
|
|
25
25
|
import { z } from "zod";
|
|
26
26
|
import { EventEmitter } from "events";
|
|
27
27
|
import { watch } from "fs";
|
|
@@ -2875,6 +2875,15 @@ const PERSISTED_CONFIG_SANITIZE_RULES = [
|
|
|
2875
2875
|
],
|
|
2876
2876
|
fallback: {}
|
|
2877
2877
|
},
|
|
2878
|
+
{
|
|
2879
|
+
kind: "object",
|
|
2880
|
+
path: [
|
|
2881
|
+
"translation",
|
|
2882
|
+
"engines",
|
|
2883
|
+
"localCt2"
|
|
2884
|
+
],
|
|
2885
|
+
fallback: {}
|
|
2886
|
+
},
|
|
2878
2887
|
{
|
|
2879
2888
|
kind: "object",
|
|
2880
2889
|
path: [
|
|
@@ -2980,6 +2989,10 @@ function toPersistedConfig(config, options = {}) {
|
|
|
2980
2989
|
if (config.translation.engines.local.model !== DEFAULT_CONFIG.translation.engines.local.model) localEngine.model = config.translation.engines.local.model;
|
|
2981
2990
|
if (config.translation.engines.local.selectedGroupId !== DEFAULT_CONFIG.translation.engines.local.selectedGroupId) localEngine.selectedGroupId = config.translation.engines.local.selectedGroupId;
|
|
2982
2991
|
if (localEngine && hasOwnEntries$1(localEngine)) translationEngines.local = localEngine;
|
|
2992
|
+
const localCt2Engine = {};
|
|
2993
|
+
if (config.translation.engines.localCt2.model !== DEFAULT_CONFIG.translation.engines.localCt2.model) localCt2Engine.model = config.translation.engines.localCt2.model;
|
|
2994
|
+
if (config.translation.engines.localCt2.selectedGroupId !== DEFAULT_CONFIG.translation.engines.localCt2.selectedGroupId) localCt2Engine.selectedGroupId = config.translation.engines.localCt2.selectedGroupId;
|
|
2995
|
+
if (localCt2Engine && hasOwnEntries$1(localCt2Engine)) translationEngines.localCt2 = localCt2Engine;
|
|
2983
2996
|
if (config.translation.engines.openai.model !== DEFAULT_CONFIG.translation.engines.openai.model) translationEngines.openai = { model: config.translation.engines.openai.model };
|
|
2984
2997
|
if (hasOwnEntries$1(translationEngines)) translation.engines = translationEngines;
|
|
2985
2998
|
if (hasOwnEntries$1(translation)) persisted.translation = translation;
|
|
@@ -3087,6 +3100,7 @@ var ConfigManager = class {
|
|
|
3087
3100
|
...config.translation,
|
|
3088
3101
|
engines: {
|
|
3089
3102
|
local: mergeNullablePatch$1(current.translation.engines.local, config.translation?.engines?.local),
|
|
3103
|
+
localCt2: mergeNullablePatch$1(current.translation.engines.localCt2, config.translation?.engines?.localCt2),
|
|
3090
3104
|
openai: mergeNullablePatch$1(current.translation.engines.openai, config.translation?.engines?.openai)
|
|
3091
3105
|
}
|
|
3092
3106
|
}
|
|
@@ -3240,6 +3254,11 @@ const PERSISTED_GLOBAL_SETTINGS_SANITIZE_RULES = [
|
|
|
3240
3254
|
kind: "object",
|
|
3241
3255
|
path: ["translationEngines", "local"],
|
|
3242
3256
|
fallback: {}
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
kind: "object",
|
|
3260
|
+
path: ["translationEngines", "localCt2"],
|
|
3261
|
+
fallback: {}
|
|
3243
3262
|
}
|
|
3244
3263
|
];
|
|
3245
3264
|
function getDefaultGlobalSettingsPath() {
|
|
@@ -3281,6 +3300,11 @@ function toPersistedGlobalSettings(settings) {
|
|
|
3281
3300
|
if (settings.translationEngines.local.selectedGroupId !== defaultTranslationEngines.local.selectedGroupId) local.selectedGroupId = settings.translationEngines.local.selectedGroupId;
|
|
3282
3301
|
if (settings.translationEngines.local.hfEndpoint !== defaultTranslationEngines.local.hfEndpoint) local.hfEndpoint = settings.translationEngines.local.hfEndpoint;
|
|
3283
3302
|
if (hasOwnEntries(local)) translationEngines.local = local;
|
|
3303
|
+
const localCt2 = {};
|
|
3304
|
+
if (settings.translationEngines.localCt2.model !== defaultTranslationEngines.localCt2.model) localCt2.model = settings.translationEngines.localCt2.model;
|
|
3305
|
+
if (settings.translationEngines.localCt2.selectedGroupId !== defaultTranslationEngines.localCt2.selectedGroupId) localCt2.selectedGroupId = settings.translationEngines.localCt2.selectedGroupId;
|
|
3306
|
+
if (settings.translationEngines.localCt2.hfEndpoint !== defaultTranslationEngines.localCt2.hfEndpoint) localCt2.hfEndpoint = settings.translationEngines.localCt2.hfEndpoint;
|
|
3307
|
+
if (hasOwnEntries(localCt2)) translationEngines.localCt2 = localCt2;
|
|
3284
3308
|
if (hasOwnEntries(translationEngines)) persisted.translationEngines = translationEngines;
|
|
3285
3309
|
return persisted;
|
|
3286
3310
|
}
|
|
@@ -3331,7 +3355,8 @@ var GlobalSettingsManager = class {
|
|
|
3331
3355
|
translationEngines: {
|
|
3332
3356
|
...current.translationEngines,
|
|
3333
3357
|
openai: mergeNullablePatch(current.translationEngines.openai, update.translationEngines?.openai),
|
|
3334
|
-
local: mergeNullablePatch(current.translationEngines.local, update.translationEngines?.local)
|
|
3358
|
+
local: mergeNullablePatch(current.translationEngines.local, update.translationEngines?.local),
|
|
3359
|
+
localCt2: mergeNullablePatch(current.translationEngines.localCt2, update.translationEngines?.localCt2)
|
|
3335
3360
|
}
|
|
3336
3361
|
}));
|
|
3337
3362
|
if (isPersistedGlobalSettingsEmpty(persisted) && !fileExists) return;
|
|
@@ -3343,6 +3368,204 @@ var GlobalSettingsManager = class {
|
|
|
3343
3368
|
}
|
|
3344
3369
|
};
|
|
3345
3370
|
|
|
3371
|
+
//#endregion
|
|
3372
|
+
//#region src/runtime-package-manager.ts
|
|
3373
|
+
const LOCKFILE_PACKAGE_MANAGERS = [
|
|
3374
|
+
{
|
|
3375
|
+
filenames: ["deno.lock"],
|
|
3376
|
+
id: "deno"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
filenames: ["bun.lockb", "bun.lock"],
|
|
3380
|
+
id: "bun"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
filenames: ["pnpm-lock.yaml"],
|
|
3384
|
+
id: "pnpm"
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
filenames: ["yarn.lock"],
|
|
3388
|
+
id: "yarn"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
filenames: ["package-lock.json", "npm-shrinkwrap.json"],
|
|
3392
|
+
id: "npm"
|
|
3393
|
+
}
|
|
3394
|
+
];
|
|
3395
|
+
function parseUserAgentPackageManager(userAgent) {
|
|
3396
|
+
const token = userAgent?.trim().split(/\s+/u)[0];
|
|
3397
|
+
if (!token) return null;
|
|
3398
|
+
const slashIndex = token.indexOf("/");
|
|
3399
|
+
return (slashIndex === -1 ? token : token.slice(0, slashIndex)).trim() || null;
|
|
3400
|
+
}
|
|
3401
|
+
function parseExecPathPackageManager(execPath) {
|
|
3402
|
+
if (!execPath) return null;
|
|
3403
|
+
const normalized = execPath.replaceAll("\\", "/").toLowerCase();
|
|
3404
|
+
if (normalized.includes("vite-plus")) return "vp";
|
|
3405
|
+
if (normalized.includes("pnpm")) return "pnpm";
|
|
3406
|
+
if (normalized.includes("yarn")) return "yarn";
|
|
3407
|
+
if (normalized.includes("bun")) return "bun";
|
|
3408
|
+
if (normalized.includes("deno")) return "deno";
|
|
3409
|
+
if (normalized.includes("npm")) return "npm";
|
|
3410
|
+
return null;
|
|
3411
|
+
}
|
|
3412
|
+
function parsePackageManagerField(packageManager) {
|
|
3413
|
+
const trimmed = packageManager?.trim();
|
|
3414
|
+
if (!trimmed) return null;
|
|
3415
|
+
if (trimmed.startsWith("@")) {
|
|
3416
|
+
const separatorIndex$1 = trimmed.lastIndexOf("@");
|
|
3417
|
+
if (separatorIndex$1 > 0) return trimmed.slice(0, separatorIndex$1);
|
|
3418
|
+
return trimmed;
|
|
3419
|
+
}
|
|
3420
|
+
const separatorIndex = trimmed.indexOf("@");
|
|
3421
|
+
return (separatorIndex === -1 ? trimmed : trimmed.slice(0, separatorIndex)).trim() || null;
|
|
3422
|
+
}
|
|
3423
|
+
function detectPackageManagerFromPackageJson(currentDir) {
|
|
3424
|
+
const packageJsonPath = join$1(currentDir, "package.json");
|
|
3425
|
+
if (!existsSync(packageJsonPath)) return null;
|
|
3426
|
+
try {
|
|
3427
|
+
const raw = readFileSync(packageJsonPath, "utf8");
|
|
3428
|
+
return parsePackageManagerField(JSON.parse(raw).packageManager);
|
|
3429
|
+
} catch {
|
|
3430
|
+
return null;
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
function detectPackageManagerFromLockfile(currentDir) {
|
|
3434
|
+
for (const entry of LOCKFILE_PACKAGE_MANAGERS) if (entry.filenames.some((filename) => existsSync(join$1(currentDir, filename)))) return entry.id;
|
|
3435
|
+
return null;
|
|
3436
|
+
}
|
|
3437
|
+
function detectRuntimePackageManager(options) {
|
|
3438
|
+
const env = options.env ?? process.env;
|
|
3439
|
+
if (env.DENO_VERSION) return {
|
|
3440
|
+
id: "deno",
|
|
3441
|
+
source: "deno-env"
|
|
3442
|
+
};
|
|
3443
|
+
const fromUserAgent = parseUserAgentPackageManager(env.npm_config_user_agent);
|
|
3444
|
+
if (fromUserAgent) return {
|
|
3445
|
+
id: fromUserAgent,
|
|
3446
|
+
source: "user-agent"
|
|
3447
|
+
};
|
|
3448
|
+
const fromExecPath = parseExecPathPackageManager(env.npm_execpath);
|
|
3449
|
+
if (fromExecPath) return {
|
|
3450
|
+
id: fromExecPath,
|
|
3451
|
+
source: "exec-path"
|
|
3452
|
+
};
|
|
3453
|
+
let currentDir = options.startDir;
|
|
3454
|
+
while (true) {
|
|
3455
|
+
const fromPackageManagerField = detectPackageManagerFromPackageJson(currentDir);
|
|
3456
|
+
if (fromPackageManagerField) return {
|
|
3457
|
+
id: fromPackageManagerField,
|
|
3458
|
+
source: "package-manager-field"
|
|
3459
|
+
};
|
|
3460
|
+
const fromLockfile = detectPackageManagerFromLockfile(currentDir);
|
|
3461
|
+
if (fromLockfile) return {
|
|
3462
|
+
id: fromLockfile,
|
|
3463
|
+
source: "lockfile"
|
|
3464
|
+
};
|
|
3465
|
+
const parentDir = dirname$1(currentDir);
|
|
3466
|
+
if (parentDir === currentDir) break;
|
|
3467
|
+
currentDir = parentDir;
|
|
3468
|
+
}
|
|
3469
|
+
return {
|
|
3470
|
+
id: "npm",
|
|
3471
|
+
source: "fallback"
|
|
3472
|
+
};
|
|
3473
|
+
}
|
|
3474
|
+
function buildCommand(cmd, args) {
|
|
3475
|
+
return {
|
|
3476
|
+
cmd,
|
|
3477
|
+
args,
|
|
3478
|
+
displayCommand: `${cmd} ${args.join(" ")}`
|
|
3479
|
+
};
|
|
3480
|
+
}
|
|
3481
|
+
function appendOptionalDependencyFlag(args, field) {
|
|
3482
|
+
if (field !== "optionalDependencies") return;
|
|
3483
|
+
args.push("--save-optional");
|
|
3484
|
+
}
|
|
3485
|
+
function appendAllowBuildFlags(args, packages) {
|
|
3486
|
+
for (const packageName of packages) args.push("--allow-build", packageName);
|
|
3487
|
+
}
|
|
3488
|
+
const RUNTIME_PACKAGE_INSTALL_STRATEGIES = [
|
|
3489
|
+
{
|
|
3490
|
+
id: "npm",
|
|
3491
|
+
preservesDependencyField: true,
|
|
3492
|
+
buildCommand(input) {
|
|
3493
|
+
const args = ["install"];
|
|
3494
|
+
if (input.ignoreWorkspace) args.push("--ignore-workspace");
|
|
3495
|
+
appendOptionalDependencyFlag(args, input.dependencyField ?? "dependencies");
|
|
3496
|
+
args.push(...input.packages);
|
|
3497
|
+
return buildCommand("npm", args);
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
id: "pnpm",
|
|
3502
|
+
preservesDependencyField: true,
|
|
3503
|
+
buildCommand(input) {
|
|
3504
|
+
const args = ["add"];
|
|
3505
|
+
appendOptionalDependencyFlag(args, input.dependencyField ?? "dependencies");
|
|
3506
|
+
appendAllowBuildFlags(args, input.allowBuildPackages ?? []);
|
|
3507
|
+
args.push(...input.packages);
|
|
3508
|
+
return buildCommand("pnpm", args);
|
|
3509
|
+
}
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
id: "yarn",
|
|
3513
|
+
preservesDependencyField: true,
|
|
3514
|
+
buildCommand(input) {
|
|
3515
|
+
const args = ["add"];
|
|
3516
|
+
if ((input.dependencyField ?? "dependencies") === "optionalDependencies") args.push("--optional");
|
|
3517
|
+
args.push(...input.packages);
|
|
3518
|
+
return buildCommand("yarn", args);
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
id: "bun",
|
|
3523
|
+
preservesDependencyField: true,
|
|
3524
|
+
buildCommand(input) {
|
|
3525
|
+
const args = ["add"];
|
|
3526
|
+
if ((input.dependencyField ?? "dependencies") === "optionalDependencies") args.push("--optional");
|
|
3527
|
+
args.push(...input.packages);
|
|
3528
|
+
return buildCommand("bun", args);
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
id: "vp",
|
|
3533
|
+
preservesDependencyField: true,
|
|
3534
|
+
buildCommand(input) {
|
|
3535
|
+
const args = ["add"];
|
|
3536
|
+
appendOptionalDependencyFlag(args, input.dependencyField ?? "dependencies");
|
|
3537
|
+
appendAllowBuildFlags(args, input.allowBuildPackages ?? []);
|
|
3538
|
+
args.push(...input.packages);
|
|
3539
|
+
return buildCommand("vp", args);
|
|
3540
|
+
}
|
|
3541
|
+
},
|
|
3542
|
+
{
|
|
3543
|
+
id: "deno",
|
|
3544
|
+
preservesDependencyField: false,
|
|
3545
|
+
buildCommand(input) {
|
|
3546
|
+
const args = [
|
|
3547
|
+
"add",
|
|
3548
|
+
"--npm",
|
|
3549
|
+
"--node-modules-dir=auto"
|
|
3550
|
+
];
|
|
3551
|
+
if ((input.allowBuildPackages?.length ?? 0) > 0) args.push(`--allow-scripts=${input.allowBuildPackages.join(",")}`);
|
|
3552
|
+
args.push(...input.packages.map((packageSpec) => packageSpec.startsWith("npm:") ? packageSpec : `npm:${packageSpec}`));
|
|
3553
|
+
return buildCommand("deno", args);
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
];
|
|
3557
|
+
function resolveRuntimePackageInstallStrategy(packageManager) {
|
|
3558
|
+
return RUNTIME_PACKAGE_INSTALL_STRATEGIES.find((strategy) => strategy.id === packageManager) ?? null;
|
|
3559
|
+
}
|
|
3560
|
+
function buildRuntimePackageInstallCommand(input) {
|
|
3561
|
+
return resolveRuntimePackageInstallStrategy(input.packageManager)?.buildCommand({
|
|
3562
|
+
packages: [...input.packages],
|
|
3563
|
+
dependencyField: input.dependencyField,
|
|
3564
|
+
ignoreWorkspace: input.ignoreWorkspace,
|
|
3565
|
+
allowBuildPackages: input.allowBuildPackages
|
|
3566
|
+
}) ?? null;
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3346
3569
|
//#endregion
|
|
3347
3570
|
//#region src/cli-executor.ts
|
|
3348
3571
|
/**
|
|
@@ -5184,4 +5407,4 @@ const PtyServerMessageSchema = z.discriminatedUnion("type", [
|
|
|
5184
5407
|
]);
|
|
5185
5408
|
|
|
5186
5409
|
//#endregion
|
|
5187
|
-
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, 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, TranslationEngineGlobalSettingsSchema, TranslationEngineIdSchema, TranslationEngineProjectSettingsSchema, TranslationLocalSettingsSchema, TranslationOpenAISettingsSchema, VIRTUAL_PROJECT_DIRNAME, Validator, 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 };
|
|
5410
|
+
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, 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, 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, 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 };
|
package/dist/{local-download-profiles-DISrU0mw.d.mts → local-download-profiles-CSXKbamv.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as TranslationDownloadGroupPlan, kt as TranslationModelDownloadPlan } from "./translator-BtbU7rjR.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-
|
|
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-
|
|
1
|
+
import "./translator-BtbU7rjR.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-CSXKbamv.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-
|
|
1
|
+
import { x as SoundId } from "./sounds-BaxOUgWE.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:
|
|
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>;
|
|
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:
|
|
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>>;
|
|
65
65
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
66
66
|
systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
sound: "silent" | "builtin:
|
|
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}`;
|
|
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: "
|
|
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,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
325
324
|
groupId: string;
|
|
326
325
|
title?: string | undefined;
|
|
327
326
|
};
|
|
327
|
+
title: string;
|
|
328
328
|
createdAt?: number | undefined;
|
|
329
329
|
body?: string | undefined;
|
|
330
330
|
actions?: ({
|
|
@@ -340,7 +340,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
340
340
|
};
|
|
341
341
|
label?: string | undefined;
|
|
342
342
|
})[] | undefined;
|
|
343
|
-
level?: "
|
|
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,10 +446,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
446
446
|
createdAt: z.ZodNumber;
|
|
447
447
|
groupKey: z.ZodString;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
createdAt: number;
|
|
450
449
|
id: string;
|
|
451
|
-
title: string;
|
|
452
|
-
body: string;
|
|
453
450
|
source: {
|
|
454
451
|
type: "terminal";
|
|
455
452
|
sessionId: string;
|
|
@@ -467,6 +464,9 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
467
464
|
groupId: string;
|
|
468
465
|
title?: string | undefined;
|
|
469
466
|
};
|
|
467
|
+
createdAt: number;
|
|
468
|
+
title: string;
|
|
469
|
+
body: string;
|
|
470
470
|
actions: ({
|
|
471
471
|
type: "terminal.focus";
|
|
472
472
|
label: string;
|
|
@@ -480,12 +480,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
480
480
|
href: string;
|
|
481
481
|
};
|
|
482
482
|
})[];
|
|
483
|
-
level: "
|
|
483
|
+
level: "error" | "info" | "success" | "warning";
|
|
484
484
|
groupKey: string;
|
|
485
485
|
}, {
|
|
486
|
-
createdAt: number;
|
|
487
486
|
id: string;
|
|
488
|
-
title: string;
|
|
489
487
|
source: {
|
|
490
488
|
type: "terminal";
|
|
491
489
|
sessionId: string;
|
|
@@ -503,6 +501,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
503
501
|
groupId: string;
|
|
504
502
|
title?: string | undefined;
|
|
505
503
|
};
|
|
504
|
+
createdAt: number;
|
|
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?: "
|
|
521
|
+
level?: "error" | "info" | "success" | "warning" | undefined;
|
|
522
522
|
}>;
|
|
523
523
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
524
524
|
interface NotificationAggregate {
|
package/dist/notifications.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./sounds-
|
|
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-
|
|
1
|
+
import "./sounds-BaxOUgWE.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-Ct6rtBwb.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-
|
|
1
|
+
import { g as Spec } from "./schemas-DeEkRkAH.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-
|
|
1
|
+
import "./schemas-DeEkRkAH.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-
|
|
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-DrTZ0P31.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-
|
|
1
|
+
import { n as ChangeFile } from "./schemas-DeEkRkAH.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/opsx-types.d.ts
|
|
@@ -146,6 +146,7 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
146
146
|
complete: number;
|
|
147
147
|
remaining: number;
|
|
148
148
|
};
|
|
149
|
+
state: "ready" | "blocked" | "all_done";
|
|
149
150
|
tasks: {
|
|
150
151
|
id: string;
|
|
151
152
|
description: string;
|
|
@@ -155,7 +156,6 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
155
156
|
schemaName: string;
|
|
156
157
|
changeDir: string;
|
|
157
158
|
contextFiles: Record<string, string[]>;
|
|
158
|
-
state: "ready" | "blocked" | "all_done";
|
|
159
159
|
instruction: string;
|
|
160
160
|
missingArtifacts?: string[] | undefined;
|
|
161
161
|
}, {
|
|
@@ -164,6 +164,7 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
164
164
|
complete: number;
|
|
165
165
|
remaining: number;
|
|
166
166
|
};
|
|
167
|
+
state: "ready" | "blocked" | "all_done";
|
|
167
168
|
tasks: {
|
|
168
169
|
id: string;
|
|
169
170
|
description: string;
|
|
@@ -173,7 +174,6 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
173
174
|
schemaName: string;
|
|
174
175
|
changeDir: string;
|
|
175
176
|
contextFiles: Record<string, string | string[]>;
|
|
176
|
-
state: "ready" | "blocked" | "all_done";
|
|
177
177
|
instruction: string;
|
|
178
178
|
missingArtifacts?: string[] | undefined;
|
|
179
179
|
}>;
|
|
@@ -250,13 +250,13 @@ declare const SchemaInfoSchema: z.ZodObject<{
|
|
|
250
250
|
artifacts: z.ZodArray<z.ZodString, "many">;
|
|
251
251
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
name: string;
|
|
254
253
|
source: "project" | "user" | "package";
|
|
254
|
+
name: string;
|
|
255
255
|
artifacts: string[];
|
|
256
256
|
description?: string | undefined;
|
|
257
257
|
}, {
|
|
258
|
-
name: string;
|
|
259
258
|
source: "project" | "user" | "package";
|
|
259
|
+
name: string;
|
|
260
260
|
artifacts: string[];
|
|
261
261
|
description?: string | undefined;
|
|
262
262
|
}>;
|
|
@@ -281,8 +281,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
|
|
|
281
281
|
}>, "many">;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
path: string;
|
|
284
|
-
name: string;
|
|
285
284
|
source: "project" | "user" | "package";
|
|
285
|
+
name: string;
|
|
286
286
|
shadows: {
|
|
287
287
|
path: string;
|
|
288
288
|
source: "project" | "user" | "package";
|
|
@@ -291,8 +291,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
|
|
|
291
291
|
displayPath?: string | undefined;
|
|
292
292
|
}, {
|
|
293
293
|
path: string;
|
|
294
|
-
name: string;
|
|
295
294
|
source: "project" | "user" | "package";
|
|
295
|
+
name: string;
|
|
296
296
|
shadows: {
|
|
297
297
|
path: string;
|
|
298
298
|
source: "project" | "user" | "package";
|
package/dist/opsx-entity.d.mts
CHANGED
|
@@ -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-
|
|
2
|
-
import "./schemas-
|
|
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-CIB-Wi0n.mjs";
|
|
2
|
+
import "./schemas-DeEkRkAH.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 "./opsx-entity-
|
|
2
|
-
import "./schemas-
|
|
3
|
-
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-
|
|
1
|
+
import "./opsx-entity-CIB-Wi0n.mjs";
|
|
2
|
+
import "./schemas-DeEkRkAH.mjs";
|
|
3
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-Cjoesix_.mjs";
|
|
4
4
|
export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
|