scream-code 0.13.7 → 0.13.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-BEHboK6l.mjs → app-vcurmmh6.mjs} +24 -5
- package/dist/{dispatch-B6d7chu6.mjs → dispatch-DIJJXO0L.mjs} +613 -94
- package/dist/{dispatch-BPrqxTsP.mjs → dispatch-SbA6zFMd.mjs} +1 -1
- package/dist/main.mjs +1 -1
- package/dist/{text-input-dialog-DstXBOl9.mjs → text-input-dialog-BzVVVncg.mjs} +118 -82
- package/dist/{text-input-dialog-D8QuZFfe.mjs → text-input-dialog-DVWsE7Gh.mjs} +1 -1
- package/package.json +1 -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 { $
|
|
8
|
-
import { a as setLocale, o as t } from "./text-input-dialog-
|
|
7
|
+
import { $t as isTodoItemShape, A as renderDiffLinesClustered, An as CLI_COMMAND_NAME, At as ENABLE_TERMINAL_FOCUS_REPORTING, B as BackgroundAgentStatusComponent, Bn as MemoryMemoStore, Bt as TERMINAL_THEME_LIGHT, Cn as loadTuiConfig, Ct as createThemeStyles, D as toggleEmptySessionHint, Dn as getInputHistoryFile, Dt as parseOsc11BackgroundTheme, E as isTurnElapsedEnabled, En as getDataDir, Et as detectTerminalTheme, F as estimateTokens, Fn as fetchCatalog, Ft as OSC11_RESPONSE_PREFIX_NO_ESC, G as getBreathingFrame, Gn as isOrphanedToolCallError, H as AgentGroupComponent, Hn as log, Ht as isStreaming, I as getSharedSpeedTracker, In as saveCatalogCache, It as QUERY_TERMINAL_THEME, J as refineGoal, Jt as printableChar, K as resetBreathingClock, Kn as ErrorCodes, L as SkillActivationComponent, Ln as ScreamHarness, Lt as TERMINAL_FOCUS_IN, M as langFromPath, Mn as CLI_USER_AGENT_PRODUCT, Mt as OSC11_QUERY, N as CachedContainer, Nn as PRODUCT_NAME, Nt as OSC11_RESPONSE, O as ToolCallComponent, On as getLogDir, Ot as DISABLE_TERMINAL_FOCUS_REPORTING, P as ThinkingComponent, Pn as DEFAULT_CATALOG_URL, Pt as OSC11_RESPONSE_PREFIX, Qt as formatErrorMessage, R as ReadGroupComponent, Rt as TERMINAL_FOCUS_OUT, S as getDaemonInstructions, Sn as TuiLikePreferencesSchema, St as createMarkdownTheme, T as isEmptySessionHintDismissed, Tn as detectShellEnvironment, Tt as getColorPalette, U as WelcomeComponent, Un as resolveGlobalLogPath, Ut as FooterComponent, V as AssistantMessageComponent, Vn as flushDiagnosticLogs, Vt as isBusy, W as BREATHE_CYCLE_MS, Wn as isScreamError, Xt as appendStreamingArgsPreview, Yt as STATUS_BULLET, Zt as argsRecord, _ as refreshUpdateCache, _n as isExperimentalFlagEnabled, _t as clearInfoPanelState, an as EMPTY_SESSION_HINT_URL, b as readJsonlFile, bn as PULSE_WAVE_FRAMES, bt as resolveThemeSync, c as hasDispose, cn as SESSION_TIPS, ct as handlePlanCommand, d as formatMemoryMemoForInjection, dn as getCtrlDHint, en as parseStreamingArgs, et as toTerminalHyperlink, fn as getLlmNotSetMessage, g as selectUpdateTarget, gn as sortSlashCommands, gt as supportsBalance, hn as BUILTIN_SLASH_COMMANDS, ht as refreshProviderBalance, i as buildRoleAdditionalText, in as CHARS_PER_TOKEN, j as highlightLines, jn as CLI_UI_MODE, jt as ENABLE_TERMINAL_THEME_REPORTING, k as renderDiffLines, kn as detectInstallSource, kt as DISABLE_TERMINAL_THEME_REPORTING, l as isPlanExpandable, ln as TIP_ROTATION_INTERVAL_MS, mn as buildSkillSlashCommands, n as clearEvalPanelState, nn as stringValue, nt as getModelCycleLevel, on as EXIT_CONFIRM_WINDOW_MS, ot as handleFusionPlanCommand, pn as getNoActiveSessionMessage, q as clearGoalState, qn as SCREAM_ERROR_INFO, r as openUrl, rn as truncateErrorMessage, s as disposeChildren, sn as MAIN_AGENT_ID, t as dispatchInput, tn as serializeToolResultOutput, tt as changeThinkingLevel, u as MoonLoader, un as getCtrlCHint, v as readUpdateCache, vn as setExperimentalFlags, w as UserMessageComponent, wn as saveTuiConfig, wt as contrastTextHex, xn as TuiConfigParseError, xt as createEditorTheme, y as appendJsonlLine, yn as PIXEL_PULSE_FRAMES, z as parseReadGroupOutput, zn as resolveScreamHome, zt as TERMINAL_THEME_DARK } from "./dispatch-DIJJXO0L.mjs";
|
|
8
|
+
import { a as setLocale, o as t } from "./text-input-dialog-BzVVVncg.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { access, mkdir, mkdtemp, readFile, readdir, realpath, rm, unlink, writeFile } from "node:fs/promises";
|
|
@@ -30,7 +30,7 @@ function optionalBuildString(value) {
|
|
|
30
30
|
return typeof value === "string" && value.length > 0 ? value : void 0;
|
|
31
31
|
}
|
|
32
32
|
const SCREAM_BUILD_INFO = {
|
|
33
|
-
version: optionalBuildString("0.13.
|
|
33
|
+
version: optionalBuildString("0.13.9"),
|
|
34
34
|
channel: optionalBuildString(""),
|
|
35
35
|
commit: optionalBuildString(""),
|
|
36
36
|
buildTarget: optionalBuildString("darwin-arm64")
|
|
@@ -12192,7 +12192,7 @@ var ScreamTUI = class {
|
|
|
12192
12192
|
const card = new OnboardingCardComponent({
|
|
12193
12193
|
colors: this.state.theme.colors,
|
|
12194
12194
|
onConfigure: () => {
|
|
12195
|
-
import("./dispatch-
|
|
12195
|
+
import("./dispatch-SbA6zFMd.mjs").then(({ handleConnectCommand }) => handleConnectCommand(this, "")).finally(() => {
|
|
12196
12196
|
this.restoreEditor();
|
|
12197
12197
|
});
|
|
12198
12198
|
},
|
|
@@ -13257,8 +13257,27 @@ async function runStreamJson(opts) {
|
|
|
13257
13257
|
}
|
|
13258
13258
|
const streamSubagentModels = streamTuiConfig.subagentModels;
|
|
13259
13259
|
harness.setSubagentModelBindings(() => streamSubagentModels);
|
|
13260
|
+
const handleStdoutClosed = () => {
|
|
13261
|
+
log.debug("stream-json: stdout closed (EPIPE), exiting");
|
|
13262
|
+
process.exit(0);
|
|
13263
|
+
};
|
|
13264
|
+
process.stdout.on("error", (error) => {
|
|
13265
|
+
if (error.code === "EPIPE") {
|
|
13266
|
+
handleStdoutClosed();
|
|
13267
|
+
return;
|
|
13268
|
+
}
|
|
13269
|
+
log.error("stream-json: stdout error", { error: String(error) });
|
|
13270
|
+
});
|
|
13260
13271
|
const writer = new ClaudeStreamJsonWriter((line) => {
|
|
13261
|
-
|
|
13272
|
+
try {
|
|
13273
|
+
process.stdout.write(`${line}\n`);
|
|
13274
|
+
} catch (error) {
|
|
13275
|
+
if (error.code === "EPIPE") {
|
|
13276
|
+
handleStdoutClosed();
|
|
13277
|
+
return;
|
|
13278
|
+
}
|
|
13279
|
+
throw error;
|
|
13280
|
+
}
|
|
13262
13281
|
});
|
|
13263
13282
|
let session;
|
|
13264
13283
|
let currentSessionId;
|