scream-code 0.15.8 → 0.15.9
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/{app-Bbg_nJTR.mjs → app-DQdNroOu.mjs} +50 -5
- package/dist/{dispatch-CEK-syAX.mjs → dispatch-CxGKRLcZ.mjs} +1 -1
- package/dist/{dispatch-BaAsj0v5.mjs → dispatch-D8ot3OUd.mjs} +37 -8
- package/dist/main.mjs +1 -1
- package/dist/public/assets/index-DwX1jGaf.js +96 -0
- package/dist/public/assets/index-DwX1jGaf.js.map +1 -0
- package/dist/public/assets/index-zIKfLBMX.css +1 -0
- package/dist/public/index.html +2 -2
- package/dist/{text-input-dialog-BBSjCM5z.mjs → text-input-dialog-2cG5VK1G.mjs} +1 -1
- package/dist/{text-input-dialog-C5pDKZ-c.mjs → text-input-dialog-Dx7LJTG6.mjs} +6 -6
- package/package.json +1 -1
- package/dist/public/assets/index-DjlCHEg8.js +0 -96
- package/dist/public/assets/index-DjlCHEg8.js.map +0 -1
- package/dist/public/assets/index-yCBo3yth.css +0 -1
|
@@ -4,8 +4,8 @@ import { dirname as __cjsShimDirname } from 'node:path';
|
|
|
4
4
|
const __filename = __cjsShimFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __cjsShimDirname(__filename);
|
|
6
6
|
import "./suppress-sqlite-warning-C2VB0doZ.mjs";
|
|
7
|
-
import { $t as argsRecord, A as renderDiffLinesClustered, An as detectShellEnvironment, At as DISABLE_TERMINAL_THEME_REPORTING, B as BackgroundAgentStatusComponent, Bn as fetchCatalog, Bt as TERMINAL_THEME_DARK, Cn as startManualEmbeddingDownload, Ct as createMarkdownTheme, D as toggleEmptySessionHint, Dn as TuiLikePreferencesSchema, Dt as detectTerminalTheme, E as isTurnElapsedEnabled, En as TuiConfigParseError, Et as getColorPalette, F as estimateTokens, Fn as CLI_COMMAND_NAME, Ft as OSC11_RESPONSE_PREFIX, G as getBreathingFrame,
|
|
8
|
-
import { a as setLocale, i as getLocale, o as t } from "./text-input-dialog-
|
|
7
|
+
import { $n as ErrorCodes, $t as argsRecord, A as renderDiffLinesClustered, An as detectShellEnvironment, At as DISABLE_TERMINAL_THEME_REPORTING, B as BackgroundAgentStatusComponent, Bn as fetchCatalog, Bt as TERMINAL_THEME_DARK, Cn as startManualEmbeddingDownload, Ct as createMarkdownTheme, D as toggleEmptySessionHint, Dn as TuiLikePreferencesSchema, Dt as detectTerminalTheme, E as isTurnElapsedEnabled, En as TuiConfigParseError, Et as getColorPalette, F as estimateTokens, Fn as CLI_COMMAND_NAME, Ft as OSC11_RESPONSE_PREFIX, G as getBreathingFrame, Gt as lerpGradient, H as AgentGroupComponent, Hn as ScreamHarness, Ht as isBusy, I as getSharedSpeedTracker, In as CLI_UI_MODE, It as OSC11_RESPONSE_PREFIX_NO_ESC, J as refineGoal, Jn as flushDiagnosticLogs, K as resetBreathingClock, Kn as resolveScreamHome, L as SkillActivationComponent, Ln as CLI_USER_AGENT_PRODUCT, Lt as QUERY_TERMINAL_THEME, M as langFromPath, Mn as getInputHistoryFile, Mt as ENABLE_TERMINAL_THEME_REPORTING, N as CachedContainer, Nn as getLogDir, Nt as OSC11_QUERY, O as ToolCallComponent, On as loadTuiConfig, Ot as parseOsc11BackgroundTheme, P as ThinkingComponent, Pn as detectInstallSource, Pt as OSC11_RESPONSE, Qn as isOrphanedToolCallError, Qt as appendStreamingArgsPreview, R as ReadGroupComponent, Rn as PRODUCT_NAME, Rt as TERMINAL_FOCUS_IN, S as getDaemonInstructions, Sn as isEmbeddingModelCached, St as createEditorTheme, T as isEmptySessionHintDismissed, Tn as PULSE_WAVE_FRAMES, Tt as contrastTextHex, U as WelcomeComponent, Un as encodeWorkDirKey, Ut as isStreaming, V as AssistantMessageComponent, Vn as saveCatalogCache, Vt as TERMINAL_THEME_LIGHT, W as BREATHE_CYCLE_MS, Wn as appendSessionIndexEntry, Wt as FooterComponent, Xn as resolveGlobalLogPath, Xt as printableChar, Yn as log, Zn as isScreamError, Zt as STATUS_BULLET, _ as refreshUpdateCache, _n as BUILTIN_SLASH_COMMANDS, _t as supportsBalance, an as truncateErrorMessage, b as readJsonlFile, bn as setExperimentalFlags, c as hasDispose, cn as EXIT_CONFIRM_WINDOW_MS, d as formatMemoryMemoForInjection, dn as TIP_ROTATION_INTERVAL_MS, en as formatErrorMessage, er as SCREAM_ERROR_INFO, et as toTerminalHyperlink, fn as getCtrlCHint, g as selectUpdateTarget, gn as buildSkillSlashCommands, gt as refreshProviderBalance, hn as getNoActiveSessionMessage, i as buildRoleAdditionalText, in as stringValue, j as highlightLines, jn as getDataDir, jt as ENABLE_TERMINAL_FOCUS_REPORTING, k as renderDiffLines, kn as saveTuiConfig, kt as DISABLE_TERMINAL_FOCUS_REPORTING, l as isPlanExpandable, ln as MAIN_AGENT_ID, lt as handlePlanCommand, mn as getLlmNotSetMessage, n as clearEvalPanelState, nn as parseStreamingArgs, nt as getModelCycleLevel, on as CHARS_PER_TOKEN, pn as getCtrlDHint, q as clearGoalState, qn as MemoryMemoStore, r as openUrl, rn as serializeToolResultOutput, s as disposeChildren, sn as EMPTY_SESSION_HINT_URL, st as handleFusionPlanCommand, t as dispatchInput, tn as isTodoItemShape, tt as changeThinkingLevel, u as MoonLoader, un as SESSION_TIPS, v as readUpdateCache, vn as sortSlashCommands, vt as clearInfoPanelState, w as UserMessageComponent, wn as PIXEL_PULSE_FRAMES, wt as createThemeStyles, xn as getKnowledgeStore, xt as resolveThemeSync, y as appendJsonlLine, yn as isExperimentalFlagEnabled, z as parseReadGroupOutput, zn as DEFAULT_CATALOG_URL, zt as TERMINAL_FOCUS_OUT } from "./dispatch-D8ot3OUd.mjs";
|
|
8
|
+
import { a as setLocale, i as getLocale, o as t } from "./text-input-dialog-Dx7LJTG6.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { randomBytes, randomUUID, scryptSync, timingSafeEqual } from "node:crypto";
|
|
11
11
|
import { access, chmod, mkdir, mkdtemp, readFile, readdir, realpath, rename, rm, stat, unlink, writeFile } from "node:fs/promises";
|
|
@@ -32,7 +32,7 @@ function optionalBuildString(value) {
|
|
|
32
32
|
return typeof value === "string" && value.length > 0 ? value : void 0;
|
|
33
33
|
}
|
|
34
34
|
const SCREAM_BUILD_INFO = {
|
|
35
|
-
version: optionalBuildString("0.15.
|
|
35
|
+
version: optionalBuildString("0.15.9"),
|
|
36
36
|
channel: optionalBuildString(""),
|
|
37
37
|
commit: optionalBuildString(""),
|
|
38
38
|
buildTarget: optionalBuildString("darwin-arm64")
|
|
@@ -13632,7 +13632,7 @@ var ScreamTUI = class {
|
|
|
13632
13632
|
const card = new OnboardingCardComponent({
|
|
13633
13633
|
colors: this.state.theme.colors,
|
|
13634
13634
|
onConfigure: () => {
|
|
13635
|
-
import("./dispatch-
|
|
13635
|
+
import("./dispatch-CxGKRLcZ.mjs").then(({ handleConnectCommand }) => handleConnectCommand(this, "")).finally(() => {
|
|
13636
13636
|
this.restoreEditor();
|
|
13637
13637
|
onDone?.();
|
|
13638
13638
|
});
|
|
@@ -15643,6 +15643,14 @@ const contentTypes = {
|
|
|
15643
15643
|
function cloneSnapshot(value) {
|
|
15644
15644
|
return structuredClone(value);
|
|
15645
15645
|
}
|
|
15646
|
+
/**
|
|
15647
|
+
* Duck-typed SESSION_NOT_FOUND check: covers both same-realm ScreamError
|
|
15648
|
+
* instances and errors that crossed a serialization boundary carrying `code`.
|
|
15649
|
+
*/
|
|
15650
|
+
function isSessionNotFoundError(error) {
|
|
15651
|
+
if (isScreamError(error)) return error.code === ErrorCodes.SESSION_NOT_FOUND;
|
|
15652
|
+
return typeof error === "object" && error !== null && error.code === ErrorCodes.SESSION_NOT_FOUND;
|
|
15653
|
+
}
|
|
15646
15654
|
function errorMessage(error) {
|
|
15647
15655
|
return error instanceof Error ? error.message : String(error);
|
|
15648
15656
|
}
|
|
@@ -17388,7 +17396,20 @@ var SessionManager = class {
|
|
|
17388
17396
|
if (!existing) return null;
|
|
17389
17397
|
if (existing.isActive) return existing;
|
|
17390
17398
|
const meta = existing.getMetadata();
|
|
17391
|
-
const
|
|
17399
|
+
const coreId = meta.coreSessionId ?? meta.sessionId;
|
|
17400
|
+
let session;
|
|
17401
|
+
try {
|
|
17402
|
+
session = await this.harness.resumeSession({ id: coreId });
|
|
17403
|
+
} catch (error) {
|
|
17404
|
+
if (!isSessionNotFoundError(error)) throw error;
|
|
17405
|
+
if (!await this.reindexCoreSession(coreId, meta.workDir)) return null;
|
|
17406
|
+
try {
|
|
17407
|
+
session = await this.harness.resumeSession({ id: coreId });
|
|
17408
|
+
} catch (retryError) {
|
|
17409
|
+
if (isSessionNotFoundError(retryError)) return null;
|
|
17410
|
+
throw retryError;
|
|
17411
|
+
}
|
|
17412
|
+
}
|
|
17392
17413
|
const reactivated = new WebSession(session, {
|
|
17393
17414
|
sessionId,
|
|
17394
17415
|
workDir: meta.workDir,
|
|
@@ -17414,6 +17435,30 @@ var SessionManager = class {
|
|
|
17414
17435
|
log.info("web: session reactivated", { sessionId });
|
|
17415
17436
|
return reactivated;
|
|
17416
17437
|
}
|
|
17438
|
+
/**
|
|
17439
|
+
* Self-heal for "meta exists but core session missing from the global
|
|
17440
|
+
* index": re-append the index entry when the session directory is still on
|
|
17441
|
+
* disk. Returns false when the directory is truly gone.
|
|
17442
|
+
*/
|
|
17443
|
+
async reindexCoreSession(coreId, workDir) {
|
|
17444
|
+
const sessionDir = join(this.homeDir, "sessions", encodeWorkDirKey(workDir), coreId);
|
|
17445
|
+
if (!existsSync(sessionDir)) return false;
|
|
17446
|
+
try {
|
|
17447
|
+
await appendSessionIndexEntry(this.homeDir, {
|
|
17448
|
+
sessionId: coreId,
|
|
17449
|
+
sessionDir,
|
|
17450
|
+
workDir
|
|
17451
|
+
});
|
|
17452
|
+
log.info("web: re-indexed core session from web metadata", { sessionId: coreId });
|
|
17453
|
+
return true;
|
|
17454
|
+
} catch (error) {
|
|
17455
|
+
log.warn("web: core session reindex failed", {
|
|
17456
|
+
sessionId: coreId,
|
|
17457
|
+
error: errorMessage(error)
|
|
17458
|
+
});
|
|
17459
|
+
return false;
|
|
17460
|
+
}
|
|
17461
|
+
}
|
|
17417
17462
|
get(sessionId) {
|
|
17418
17463
|
return this.sessions.get(sessionId);
|
|
17419
17464
|
}
|
|
@@ -3,5 +3,5 @@ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
|
|
|
3
3
|
import { dirname as __cjsShimDirname } from 'node:path';
|
|
4
4
|
const __filename = __cjsShimFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __cjsShimDirname(__filename);
|
|
6
|
-
import { Jt as handleConnectCommand } from "./dispatch-
|
|
6
|
+
import { Jt as handleConnectCommand } from "./dispatch-D8ot3OUd.mjs";
|
|
7
7
|
export { handleConnectCommand };
|
|
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import { i as __require, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-D90kvbyJ.mjs";
|
|
7
7
|
import { C as join$1, D as resolve$1, E as relative$1, S as isAbsolute$1, T as parse$7, a as isSupportedFile, b as basename$1, i as ingestFile, r as ingestDirectory, t as multiSearch, w as normalize$1, x as dirname$2, y as KnowledgeStore } from "./src-tDEINaMV.mjs";
|
|
8
8
|
import { t as require_base64_js } from "./base64-js-DzVmk6Nb.mjs";
|
|
9
|
-
import { a as setLocale, i as getLocale, n as assertScreamHostIdentity, o as t, r as createScreamDefaultHeaders, t as TextInputDialogComponent } from "./text-input-dialog-
|
|
9
|
+
import { a as setLocale, i as getLocale, n as assertScreamHostIdentity, o as t, r as createScreamDefaultHeaders, t as TextInputDialogComponent } from "./text-input-dialog-Dx7LJTG6.mjs";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { createHash, randomBytes, randomInt, randomUUID } from "node:crypto";
|
|
12
12
|
import * as fs$1 from "node:fs/promises";
|
|
@@ -107950,8 +107950,25 @@ var Session$1 = class {
|
|
|
107950
107950
|
return this.writeMetadataPromise;
|
|
107951
107951
|
}
|
|
107952
107952
|
async readMetadata() {
|
|
107953
|
-
|
|
107954
|
-
|
|
107953
|
+
let text;
|
|
107954
|
+
try {
|
|
107955
|
+
text = await this.options.jian.readText(this.metadataPath);
|
|
107956
|
+
} catch (error) {
|
|
107957
|
+
if (error.code === "ENOENT") return this.metadata;
|
|
107958
|
+
throw error;
|
|
107959
|
+
}
|
|
107960
|
+
try {
|
|
107961
|
+
this.metadata = JSON.parse(text);
|
|
107962
|
+
} catch {
|
|
107963
|
+
this.metadata = {
|
|
107964
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
107965
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
107966
|
+
title: "New Session",
|
|
107967
|
+
isCustomTitle: false,
|
|
107968
|
+
agents: {},
|
|
107969
|
+
custom: {}
|
|
107970
|
+
};
|
|
107971
|
+
}
|
|
107955
107972
|
return this.metadata;
|
|
107956
107973
|
}
|
|
107957
107974
|
async flushMetadata() {
|
|
@@ -123596,6 +123613,18 @@ const SessionSummaryStateSchema = z.object({
|
|
|
123596
123613
|
title: z.string().optional(),
|
|
123597
123614
|
custom: z.record(z.string(), z.unknown()).optional()
|
|
123598
123615
|
});
|
|
123616
|
+
let stateWriteCounter = 0;
|
|
123617
|
+
/**
|
|
123618
|
+
* Atomic state.json write: plain writeFile truncates the target before the
|
|
123619
|
+
* new bytes land, so a process killed mid-write leaves a 0-byte state.json
|
|
123620
|
+
* and the next resume crashes on JSON.parse. Temp-file + rename makes the
|
|
123621
|
+
* swap all-or-nothing.
|
|
123622
|
+
*/
|
|
123623
|
+
async function writeStateAtomically(statePath, content) {
|
|
123624
|
+
const tmpPath = `${statePath}.${process.pid}.${Date.now().toString(36)}.${(stateWriteCounter++).toString(36)}.tmp`;
|
|
123625
|
+
await writeFile(tmpPath, content, "utf-8");
|
|
123626
|
+
await rename(tmpPath, statePath);
|
|
123627
|
+
}
|
|
123599
123628
|
var SessionStore = class {
|
|
123600
123629
|
homeDir;
|
|
123601
123630
|
sessionsDir;
|
|
@@ -123685,7 +123714,7 @@ var SessionStore = class {
|
|
|
123685
123714
|
title: normalized,
|
|
123686
123715
|
isCustomTitle: true
|
|
123687
123716
|
};
|
|
123688
|
-
await
|
|
123717
|
+
await writeStateAtomically(statePath, `${JSON.stringify(next, null, 2)}\n`);
|
|
123689
123718
|
}
|
|
123690
123719
|
async delete(id) {
|
|
123691
123720
|
assertSafeSessionId(id);
|
|
@@ -123790,7 +123819,7 @@ var SessionStore = class {
|
|
|
123790
123819
|
agents: rewriteAgentHomedirs(parsed["agents"], sourceDir, targetDir),
|
|
123791
123820
|
custom: Object.assign({}, isRecord$1(parsed["custom"]) ? parsed["custom"] : {}, input.metadata)
|
|
123792
123821
|
};
|
|
123793
|
-
await
|
|
123822
|
+
await writeStateAtomically(statePath, `${JSON.stringify(next, null, 2)}\n`);
|
|
123794
123823
|
}
|
|
123795
123824
|
async summaryFromDir(id, sessionDir, workDir) {
|
|
123796
123825
|
const dirStat = await stat(sessionDir);
|
|
@@ -133567,7 +133596,7 @@ async function guidedGoalSetup(host) {
|
|
|
133567
133596
|
host.showNotice(t("goal.storm_breaker"), t("goal.conflict_loop"));
|
|
133568
133597
|
return;
|
|
133569
133598
|
}
|
|
133570
|
-
const { TextInputDialogComponent } = await import("./text-input-dialog-
|
|
133599
|
+
const { TextInputDialogComponent } = await import("./text-input-dialog-2cG5VK1G.mjs");
|
|
133571
133600
|
const initialDesc = await promptText(host, TextInputDialogComponent, {
|
|
133572
133601
|
title: t("goal.setup_title_initial"),
|
|
133573
133602
|
subtitle: t("goal.setup_desc_hint"),
|
|
@@ -133588,7 +133617,7 @@ async function guidedGoalSetup(host) {
|
|
|
133588
133617
|
await showGoalConfigWizard(host, session, confirmed.trim() || objective, false);
|
|
133589
133618
|
}
|
|
133590
133619
|
async function showGoalConfigWizard(host, session, objective, replace) {
|
|
133591
|
-
const { TextInputDialogComponent } = await import("./text-input-dialog-
|
|
133620
|
+
const { TextInputDialogComponent } = await import("./text-input-dialog-2cG5VK1G.mjs");
|
|
133592
133621
|
const turnInput = await promptNumber(host, TextInputDialogComponent, {
|
|
133593
133622
|
title: t("goal.wizard_title", { objective }),
|
|
133594
133623
|
subtitle: t("goal.budget_turns_hint"),
|
|
@@ -143518,4 +143547,4 @@ async function handleBuiltInSlashCommand(host, name, args) {
|
|
|
143518
143547
|
}
|
|
143519
143548
|
}
|
|
143520
143549
|
//#endregion
|
|
143521
|
-
export { handleTitleCommand as $, argsRecord as $t, renderDiffLinesClustered as A, detectShellEnvironment as An, DISABLE_TERMINAL_THEME_REPORTING as At, BackgroundAgentStatusComponent as B, fetchCatalog as Bn, TERMINAL_THEME_DARK as Bt, handleRevokeCommand as C, startManualEmbeddingDownload as Cn, createMarkdownTheme as Ct, toggleEmptySessionHint as D, TuiLikePreferencesSchema as Dn, detectTerminalTheme as Dt, isTurnElapsedEnabled as E, TuiConfigParseError as En, getColorPalette as Et, estimateTokens as F, CLI_COMMAND_NAME as Fn, OSC11_RESPONSE_PREFIX as Ft, getBreathingFrame as G,
|
|
143550
|
+
export { handleTitleCommand as $, ErrorCodes as $n, argsRecord as $t, renderDiffLinesClustered as A, detectShellEnvironment as An, DISABLE_TERMINAL_THEME_REPORTING as At, BackgroundAgentStatusComponent as B, fetchCatalog as Bn, TERMINAL_THEME_DARK as Bt, handleRevokeCommand as C, startManualEmbeddingDownload as Cn, createMarkdownTheme as Ct, toggleEmptySessionHint as D, TuiLikePreferencesSchema as Dn, detectTerminalTheme as Dt, isTurnElapsedEnabled as E, TuiConfigParseError as En, getColorPalette as Et, estimateTokens as F, CLI_COMMAND_NAME as Fn, OSC11_RESPONSE_PREFIX as Ft, getBreathingFrame as G, MCP_OAUTH_AUTHORIZATION_URL_TOOL_UPDATE as Gn, lerpGradient as Gt, AgentGroupComponent as H, ScreamHarness as Hn, isBusy as Ht, getSharedSpeedTracker as I, CLI_UI_MODE as In, OSC11_RESPONSE_PREFIX_NO_ESC as It, refineGoal as J, flushDiagnosticLogs as Jn, handleConnectCommand as Jt, resetBreathingClock as K, resolveScreamHome as Kn, handleTraceCommand as Kt, SkillActivationComponent as L, CLI_USER_AGENT_PRODUCT as Ln, QUERY_TERMINAL_THEME as Lt, langFromPath as M, getInputHistoryFile as Mn, ENABLE_TERMINAL_THEME_REPORTING as Mt, CachedContainer as N, getLogDir as Nn, OSC11_QUERY as Nt, ToolCallComponent as O, loadTuiConfig as On, parseOsc11BackgroundTheme as Ot, ThinkingComponent as P, detectInstallSource as Pn, OSC11_RESPONSE as Pt, handleInitCommand as Q, isOrphanedToolCallError as Qn, appendStreamingArgsPreview as Qt, ReadGroupComponent as R, PRODUCT_NAME as Rn, TERMINAL_FOCUS_IN as Rt, getDaemonInstructions as S, isEmbeddingModelCached as Sn, createEditorTheme as St, isEmptySessionHintDismissed as T, PULSE_WAVE_FRAMES as Tn, contrastTextHex as Tt, WelcomeComponent as U, encodeWorkDirKey as Un, isStreaming as Ut, AssistantMessageComponent as V, saveCatalogCache as Vn, TERMINAL_THEME_LIGHT as Vt, BREATHE_CYCLE_MS as W, appendSessionIndexEntry as Wn, FooterComponent as Wt, handleExportMdCommand as X, resolveGlobalLogPath as Xn, printableChar as Xt, handleExportDebugZipCommand as Y, log as Yn, handleLogoutCommand as Yt, handleForkCommand as Z, isScreamError as Zn, STATUS_BULLET as Zt, refreshUpdateCache as _, BUILTIN_SLASH_COMMANDS as _n, supportsBalance as _t, handleExtensionCommand as a, truncateErrorMessage as an, handleCompactCommand as at, readJsonlFile as b, setExperimentalFlags as bn, showUsage as bt, hasDispose as c, EXIT_CONFIRM_WINDOW_MS as cn, handleModelCommand as ct, formatMemoryMemoForInjection as d, TIP_ROTATION_INTERVAL_MS as dn, handleWolfpackCommand as dt, formatErrorMessage as en, SCREAM_ERROR_INFO as er, toTerminalHyperlink as et, handleMemoryCommand as f, getCtrlCHint as fn, handleYoloCommand as ft, selectUpdateTarget as g, buildSkillSlashCommands as gn, refreshProviderBalance as gt, handleUpdateCommand as h, getNoActiveSessionMessage as hn, showSettingsSelector as ht, buildRoleAdditionalText as i, stringValue as in, handleBotCommand as it, highlightLines as j, getDataDir as jn, ENABLE_TERMINAL_FOCUS_REPORTING as jt, renderDiffLines as k, saveTuiConfig as kn, DISABLE_TERMINAL_FOCUS_REPORTING as kt, isPlanExpandable as l, MAIN_AGENT_ID$1 as ln, handlePlanCommand as lt, handleMcpCommand as m, getLlmNotSetMessage as mn, showPermissionPicker as mt, clearEvalPanelState as n, parseStreamingArgs as nn, getModelCycleLevel as nt, handleSkillCommand as o, CHARS_PER_TOKEN as on, handleEditorCommand as ot, handleChannelCommand as p, getCtrlDHint as pn, showModelPicker as pt, clearGoalState as q, MemoryMemoStore as qn, handleSearchCommand as qt, openUrl as r, serializeToolResultOutput as rn, handleAutoCommand as rt, disposeChildren as s, EMPTY_SESSION_HINT_URL as sn, handleFusionPlanCommand as st, dispatchInput as t, isTodoItemShape as tn, changeThinkingLevel as tt, MoonLoader as u, SESSION_TIPS as un, handleThemeCommand as ut, readUpdateCache as v, sortSlashCommands as vn, clearInfoPanelState as vt, UserMessageComponent as w, PIXEL_PULSE_FRAMES as wn, createThemeStyles as wt, handleCcCommand as x, getKnowledgeStore as xn, resolveThemeSync as xt, appendJsonlLine as y, isExperimentalFlagEnabled as yn, showStatusReport as yt, parseReadGroupOutput as z, DEFAULT_CATALOG_URL as zn, TERMINAL_FOCUS_OUT as zt };
|
package/dist/main.mjs
CHANGED
|
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import "./suppress-sqlite-warning-C2VB0doZ.mjs";
|
|
7
7
|
//#region src/main.ts
|
|
8
8
|
try {
|
|
9
|
-
(await import("./app-
|
|
9
|
+
(await import("./app-DQdNroOu.mjs")).main();
|
|
10
10
|
} catch (error) {
|
|
11
11
|
process.stderr.write(`${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
|
|
12
12
|
process.exit(1);
|