@duheso/zerocli 0.7.4 → 0.7.6
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/cli.mjs +181 -136
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -53234,7 +53234,7 @@ var init_sandboxTypes = __esm(() => {
|
|
|
53234
53234
|
});
|
|
53235
53235
|
|
|
53236
53236
|
// src/constants/figures.ts
|
|
53237
|
-
var BLACK_CIRCLE, BULLET_OPERATOR = "∙", TEARDROP_ASTERISK = "
|
|
53237
|
+
var BLACK_CIRCLE, BULLET_OPERATOR = "∙", TEARDROP_ASTERISK = "⟁", UP_ARROW = "↑", DOWN_ARROW = "↓", LIGHTNING_BOLT = "↯", EFFORT_LOW = "◔", EFFORT_MEDIUM = "◑", EFFORT_HIGH = "◕", EFFORT_MAX = "✪", PAUSE_ICON = "⏸", REFRESH_ARROW = "↻", DIAMOND_OPEN = "⮺", DIAMOND_FILLED = "⮼", REFERENCE_MARK = "⟣", BLOCKQUOTE_BAR = "▎", BRIDGE_READY_INDICATOR = "·✔︎·", BRIDGE_FAILED_INDICATOR = "×";
|
|
53238
53238
|
var init_figures2 = __esm(() => {
|
|
53239
53239
|
init_env();
|
|
53240
53240
|
BLACK_CIRCLE = env2.platform === "darwin" ? "⏺" : "●";
|
|
@@ -115555,6 +115555,7 @@ var init_openaiContextWindows = __esm(() => {
|
|
|
115555
115555
|
"google/gemma-3-27b-it": 131072,
|
|
115556
115556
|
"google/gemma-3-12b-it": 131072,
|
|
115557
115557
|
"google/gemma-3-4b-it": 131072,
|
|
115558
|
+
"gemma4-26b": 262144,
|
|
115558
115559
|
"deepseek-ai/deepseek-r1": 128000,
|
|
115559
115560
|
"deepseek-ai/deepseek-v3": 128000,
|
|
115560
115561
|
"deepseek-ai/deepseek-v3.2": 128000,
|
|
@@ -115562,6 +115563,7 @@ var init_openaiContextWindows = __esm(() => {
|
|
|
115562
115563
|
"qwen/qwen3-8b": 128000,
|
|
115563
115564
|
"qwen/qwen2.5-7b-instruct": 32768,
|
|
115564
115565
|
"qwen3.6-27b": 262144,
|
|
115566
|
+
"qwen3.6-35b": 262144,
|
|
115565
115567
|
"mistralai/mistral-large-3-675b-instruct-2512": 256000,
|
|
115566
115568
|
"mistralai/mistral-large-2-instruct": 256000,
|
|
115567
115569
|
"mistralai/mistral-small-3.1-24b-instruct-2503": 32768,
|
|
@@ -115722,6 +115724,7 @@ var init_openaiContextWindows = __esm(() => {
|
|
|
115722
115724
|
"gemini-2.5-flash": 65536,
|
|
115723
115725
|
"gemini-3.1-pro": 65536,
|
|
115724
115726
|
"gemini-3.1-flash-lite-preview": 65536,
|
|
115727
|
+
"gemma4-26b": 65536,
|
|
115725
115728
|
"llama3.3:70b": 4096,
|
|
115726
115729
|
"llama3.1:8b": 4096,
|
|
115727
115730
|
"llama3.2:3b": 4096,
|
|
@@ -115751,6 +115754,7 @@ var init_openaiContextWindows = __esm(() => {
|
|
|
115751
115754
|
"qwen/qwen3-32b": 32768,
|
|
115752
115755
|
"qwen/qwen2.5-7b-instruct": 8192,
|
|
115753
115756
|
"qwen3.6-27b": 65536,
|
|
115757
|
+
"qwen3.6-35b": 65536,
|
|
115754
115758
|
"mistralai/mistral-large-3-675b-instruct-2512": 32768,
|
|
115755
115759
|
"mistralai/mixtral-8x7b-instruct-v0.1": 8192,
|
|
115756
115760
|
"microsoft/phi-4-mini-instruct": 4096,
|
|
@@ -119380,7 +119384,12 @@ Please restart your IDE completely for it to take effect`,
|
|
|
119380
119384
|
"feedback-command": "Use /feedback to help us improve!",
|
|
119381
119385
|
clear: "Use /clear to start fresh when switching topics and free up context",
|
|
119382
119386
|
btw: "Use /btw to ask a quick side question without interrupting Claude's current work"
|
|
119383
|
-
}
|
|
119387
|
+
},
|
|
119388
|
+
awaySummaryMemoryBlock: (memory) => `Session memory (broader context):
|
|
119389
|
+
${memory}
|
|
119390
|
+
|
|
119391
|
+
`,
|
|
119392
|
+
awaySummaryPrompt: "The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task — what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps."
|
|
119384
119393
|
};
|
|
119385
119394
|
});
|
|
119386
119395
|
|
|
@@ -119958,7 +119967,12 @@ Reinicie sua IDE completamente para que as alterações tenham efeito`,
|
|
|
119958
119967
|
"feedback-command": "Use /feedback para nos ajudar a melhorar!",
|
|
119959
119968
|
clear: "Use /clear para limpar a conversa ao trocar de assunto e liberar contexto",
|
|
119960
119969
|
btw: "Use /btw para fazer uma pergunta rápida sem interromper o trabalho atual do ZeroCLI"
|
|
119961
|
-
}
|
|
119970
|
+
},
|
|
119971
|
+
awaySummaryMemoryBlock: (memory) => `Memória da sessão (contexto mais amplo):
|
|
119972
|
+
${memory}
|
|
119973
|
+
|
|
119974
|
+
`,
|
|
119975
|
+
awaySummaryPrompt: "O usuário se afastou e está voltando. Escreva exatamente 1-3 frases curtas. Comece afirmando a tarefa de alto nível — o que ele está construindo ou depurando, não detalhes de implementação. Depois: o próximo passo concreto. Pule relatórios de status e recaps de commits."
|
|
119962
119976
|
};
|
|
119963
119977
|
});
|
|
119964
119978
|
|
|
@@ -120144,7 +120158,7 @@ function buildProviderInfoLines() {
|
|
|
120144
120158
|
const sLen = ` ● ${sL} ${sReady}`.length;
|
|
120145
120159
|
out.push(boxRow(sRow, W2, sLen));
|
|
120146
120160
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
120147
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.7.
|
|
120161
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.7.6"}${RESET}`);
|
|
120148
120162
|
return out;
|
|
120149
120163
|
}
|
|
120150
120164
|
function printStartupScreen() {}
|
|
@@ -149781,8 +149795,12 @@ function useTerminalViewport() {
|
|
|
149781
149795
|
import_react17.useLayoutEffect(() => {
|
|
149782
149796
|
const element = elementRef.current;
|
|
149783
149797
|
if (!element?.yogaNode || !terminalSize) {
|
|
149798
|
+
if (entryRef.current.isVisible !== true) {
|
|
149799
|
+
entryRef.current = { isVisible: true };
|
|
149800
|
+
}
|
|
149784
149801
|
return;
|
|
149785
149802
|
}
|
|
149803
|
+
const isLikelySSH = typeof process !== "undefined" && process.env && (!process.env.TERM_PROGRAM || process.env.SSH_CONNECTION || process.env.SSH_CLIENT);
|
|
149786
149804
|
const height = element.yogaNode.getComputedHeight();
|
|
149787
149805
|
const rows = terminalSize.rows;
|
|
149788
149806
|
let absoluteTop = element.yogaNode.getComputedTop();
|
|
@@ -149802,7 +149820,10 @@ function useTerminalViewport() {
|
|
|
149802
149820
|
const cursorRestoreScroll = screenHeight > rows ? 1 : 0;
|
|
149803
149821
|
const viewportY = Math.max(0, screenHeight - rows) + cursorRestoreScroll;
|
|
149804
149822
|
const viewportBottom = viewportY + rows;
|
|
149805
|
-
|
|
149823
|
+
let visible = bottom > viewportY && absoluteTop < viewportBottom;
|
|
149824
|
+
if (isLikelySSH && (height === 0 || root2.getComputedHeight() === 0)) {
|
|
149825
|
+
visible = true;
|
|
149826
|
+
}
|
|
149806
149827
|
if (visible !== entryRef.current.isVisible) {
|
|
149807
149828
|
entryRef.current = { isVisible: visible };
|
|
149808
149829
|
}
|
|
@@ -149820,7 +149841,8 @@ function useAnimationFrame(intervalMs = 16) {
|
|
|
149820
149841
|
const clock = import_react18.useContext(ClockContext);
|
|
149821
149842
|
const [viewportRef, { isVisible }] = useTerminalViewport();
|
|
149822
149843
|
const [time3, setTime] = import_react18.useState(() => clock?.now() ?? 0);
|
|
149823
|
-
const
|
|
149844
|
+
const effectiveIsVisible = isVisible !== false ? true : isVisible;
|
|
149845
|
+
const active = effectiveIsVisible && intervalMs !== null;
|
|
149824
149846
|
import_react18.useEffect(() => {
|
|
149825
149847
|
if (!clock || !active)
|
|
149826
149848
|
return;
|
|
@@ -152636,7 +152658,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
152636
152658
|
if (!isAttributionHeaderEnabled()) {
|
|
152637
152659
|
return "";
|
|
152638
152660
|
}
|
|
152639
|
-
const version2 = `${"0.7.
|
|
152661
|
+
const version2 = `${"0.7.6"}.${fingerprint}`;
|
|
152640
152662
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
152641
152663
|
const cch = "";
|
|
152642
152664
|
const workload = getWorkload();
|
|
@@ -195441,7 +195463,7 @@ var init_imageValidation = __esm(() => {
|
|
|
195441
195463
|
|
|
195442
195464
|
// src/utils/userAgent.ts
|
|
195443
195465
|
function getClaudeCodeUserAgent() {
|
|
195444
|
-
return `claude-code/${"0.7.
|
|
195466
|
+
return `claude-code/${"0.7.6"}`;
|
|
195445
195467
|
}
|
|
195446
195468
|
|
|
195447
195469
|
// src/utils/http.ts
|
|
@@ -195450,7 +195472,7 @@ function getUserAgent() {
|
|
|
195450
195472
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
195451
195473
|
const workload = getWorkload();
|
|
195452
195474
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
195453
|
-
return `claude-cli/${"0.7.
|
|
195475
|
+
return `claude-cli/${"0.7.6"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
195454
195476
|
}
|
|
195455
195477
|
function getMCPUserAgent() {
|
|
195456
195478
|
const parts = [];
|
|
@@ -195464,7 +195486,7 @@ function getMCPUserAgent() {
|
|
|
195464
195486
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
195465
195487
|
}
|
|
195466
195488
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
195467
|
-
return `claude-code/${"0.7.
|
|
195489
|
+
return `claude-code/${"0.7.6"}${suffix}`;
|
|
195468
195490
|
}
|
|
195469
195491
|
function getWebFetchUserAgent() {
|
|
195470
195492
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
|
|
@@ -249240,7 +249262,7 @@ function getTelemetryAttributes() {
|
|
|
249240
249262
|
attributes["session.id"] = sessionId;
|
|
249241
249263
|
}
|
|
249242
249264
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
249243
|
-
attributes["app.version"] = "0.7.
|
|
249265
|
+
attributes["app.version"] = "0.7.6";
|
|
249244
249266
|
}
|
|
249245
249267
|
const oauthAccount = getOauthAccountInfo();
|
|
249246
249268
|
if (oauthAccount) {
|
|
@@ -261473,7 +261495,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
261473
261495
|
}
|
|
261474
261496
|
function computeFingerprintFromMessages(messages) {
|
|
261475
261497
|
const firstMessageText = extractFirstMessageText(messages);
|
|
261476
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
261498
|
+
return computeFingerprint(firstMessageText, "0.7.6");
|
|
261477
261499
|
}
|
|
261478
261500
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
261479
261501
|
var init_fingerprint = () => {};
|
|
@@ -261515,7 +261537,7 @@ async function sideQuery(opts) {
|
|
|
261515
261537
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
261516
261538
|
}
|
|
261517
261539
|
const messageText = extractFirstUserMessageText(messages);
|
|
261518
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
261540
|
+
const fingerprint = computeFingerprint(messageText, "0.7.6");
|
|
261519
261541
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
261520
261542
|
const systemBlocks = [
|
|
261521
261543
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -264842,7 +264864,7 @@ function AssistantRedactedThinkingMessage(t0) {
|
|
|
264842
264864
|
t3 = /* @__PURE__ */ jsx_dev_runtime37.jsxDEV(ThemedText, {
|
|
264843
264865
|
dimColor: true,
|
|
264844
264866
|
italic: true,
|
|
264845
|
-
children: "
|
|
264867
|
+
children: "⟁ Thinking…"
|
|
264846
264868
|
}, undefined, false, undefined, this);
|
|
264847
264869
|
$2[0] = t3;
|
|
264848
264870
|
} else {
|
|
@@ -270417,7 +270439,7 @@ var init_user = __esm(() => {
|
|
|
270417
270439
|
deviceId,
|
|
270418
270440
|
sessionId: getSessionId(),
|
|
270419
270441
|
email: getEmail(),
|
|
270420
|
-
appVersion: "0.7.
|
|
270442
|
+
appVersion: "0.7.6",
|
|
270421
270443
|
platform: getHostPlatformForAnalytics(),
|
|
270422
270444
|
organizationUuid,
|
|
270423
270445
|
accountUuid,
|
|
@@ -270811,7 +270833,7 @@ async function initializeBetaTracing(resource) {
|
|
|
270811
270833
|
});
|
|
270812
270834
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
270813
270835
|
setLoggerProvider(loggerProvider);
|
|
270814
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
270836
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
|
|
270815
270837
|
setEventLogger(eventLogger);
|
|
270816
270838
|
process.on("beforeExit", async () => {
|
|
270817
270839
|
await loggerProvider?.forceFlush();
|
|
@@ -270851,7 +270873,7 @@ async function initializeTelemetry() {
|
|
|
270851
270873
|
const platform3 = getPlatform();
|
|
270852
270874
|
const baseAttributes = {
|
|
270853
270875
|
[ATTR_SERVICE_NAME3]: "claude-code",
|
|
270854
|
-
[ATTR_SERVICE_VERSION3]: "0.7.
|
|
270876
|
+
[ATTR_SERVICE_VERSION3]: "0.7.6"
|
|
270855
270877
|
};
|
|
270856
270878
|
if (platform3 === "wsl") {
|
|
270857
270879
|
const wslVersion = getWslVersion();
|
|
@@ -270896,7 +270918,7 @@ async function initializeTelemetry() {
|
|
|
270896
270918
|
} catch {}
|
|
270897
270919
|
};
|
|
270898
270920
|
registerCleanup(shutdownTelemetry2);
|
|
270899
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
270921
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.6");
|
|
270900
270922
|
}
|
|
270901
270923
|
const meterProvider = new MeterProvider3({
|
|
270902
270924
|
resource,
|
|
@@ -270916,7 +270938,7 @@ async function initializeTelemetry() {
|
|
|
270916
270938
|
});
|
|
270917
270939
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
270918
270940
|
setLoggerProvider(loggerProvider);
|
|
270919
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
270941
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
|
|
270920
270942
|
setEventLogger(eventLogger);
|
|
270921
270943
|
logForDebugging2("[3P telemetry] Event logger set successfully");
|
|
270922
270944
|
process.on("beforeExit", async () => {
|
|
@@ -270978,7 +271000,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
270978
271000
|
}
|
|
270979
271001
|
};
|
|
270980
271002
|
registerCleanup(shutdownTelemetry);
|
|
270981
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
271003
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.6");
|
|
270982
271004
|
}
|
|
270983
271005
|
async function flushTelemetry() {
|
|
270984
271006
|
const meterProvider = getMeterProvider();
|
|
@@ -272270,7 +272292,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
272270
272292
|
}
|
|
272271
272293
|
async function getDoctorDiagnostic() {
|
|
272272
272294
|
const installationType = await getCurrentInstallationType();
|
|
272273
|
-
const version2 = typeof MACRO !== "undefined" ? "0.7.
|
|
272295
|
+
const version2 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
272274
272296
|
const installationPath = await getInstallationPath();
|
|
272275
272297
|
const invokedBinary = getInvokedBinary();
|
|
272276
272298
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -273143,7 +273165,7 @@ function IdeOnboardingDialog(t0) {
|
|
|
273143
273165
|
if ($2[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
273144
273166
|
t5 = /* @__PURE__ */ jsx_dev_runtime54.jsxDEV(ThemedText, {
|
|
273145
273167
|
color: "claude",
|
|
273146
|
-
children: "
|
|
273168
|
+
children: "⟣ "
|
|
273147
273169
|
}, undefined, false, undefined, this);
|
|
273148
273170
|
$2[7] = t5;
|
|
273149
273171
|
} else {
|
|
@@ -273755,7 +273777,7 @@ function getInstallationEnv() {
|
|
|
273755
273777
|
return;
|
|
273756
273778
|
}
|
|
273757
273779
|
function getClaudeCodeVersion() {
|
|
273758
|
-
return "0.7.
|
|
273780
|
+
return "0.7.6";
|
|
273759
273781
|
}
|
|
273760
273782
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
273761
273783
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -275122,8 +275144,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275122
275144
|
const maxVersion = await getMaxVersion();
|
|
275123
275145
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
275124
275146
|
logForDebugging2(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
275125
|
-
if (gte("0.7.
|
|
275126
|
-
logForDebugging2(`Native installer: current version ${"0.7.
|
|
275147
|
+
if (gte("0.7.6", maxVersion)) {
|
|
275148
|
+
logForDebugging2(`Native installer: current version ${"0.7.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
275127
275149
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
275128
275150
|
latency_ms: Date.now() - startTime,
|
|
275129
275151
|
max_version: maxVersion,
|
|
@@ -275134,7 +275156,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275134
275156
|
version2 = maxVersion;
|
|
275135
275157
|
}
|
|
275136
275158
|
}
|
|
275137
|
-
if (!forceReinstall && version2 === "0.7.
|
|
275159
|
+
if (!forceReinstall && version2 === "0.7.6" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
275138
275160
|
logForDebugging2(`Found ${version2} at ${executablePath}, skipping install`);
|
|
275139
275161
|
logEvent("tengu_native_update_complete", {
|
|
275140
275162
|
latency_ms: Date.now() - startTime,
|
|
@@ -380306,7 +380328,7 @@ function getAnthropicEnvMetadata() {
|
|
|
380306
380328
|
function getBuildAgeMinutes() {
|
|
380307
380329
|
if (false)
|
|
380308
380330
|
;
|
|
380309
|
-
const buildTime = new Date("2026-04-
|
|
380331
|
+
const buildTime = new Date("2026-04-30T13:52:54.445Z").getTime();
|
|
380310
380332
|
if (isNaN(buildTime))
|
|
380311
380333
|
return;
|
|
380312
380334
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -406397,7 +406419,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
406397
406419
|
const client2 = new Client({
|
|
406398
406420
|
name: "claude-code",
|
|
406399
406421
|
title: "ZeroCLI",
|
|
406400
|
-
version: "0.7.
|
|
406422
|
+
version: "0.7.6",
|
|
406401
406423
|
description: "Anthropic's agentic coding tool",
|
|
406402
406424
|
websiteUrl: PRODUCT_URL
|
|
406403
406425
|
}, {
|
|
@@ -406751,7 +406773,7 @@ var init_client7 = __esm(() => {
|
|
|
406751
406773
|
const client2 = new Client({
|
|
406752
406774
|
name: "claude-code",
|
|
406753
406775
|
title: "ZeroCLI",
|
|
406754
|
-
version: "0.7.
|
|
406776
|
+
version: "0.7.6",
|
|
406755
406777
|
description: "Anthropic's agentic coding tool",
|
|
406756
406778
|
websiteUrl: PRODUCT_URL
|
|
406757
406779
|
}, {
|
|
@@ -417411,7 +417433,7 @@ function Feedback({
|
|
|
417411
417433
|
platform: env2.platform,
|
|
417412
417434
|
gitRepo: envInfo.isGit,
|
|
417413
417435
|
terminal: env2.terminal,
|
|
417414
|
-
version: "0.7.
|
|
417436
|
+
version: "0.7.6",
|
|
417415
417437
|
transcript: normalizeMessagesForAPI(messages),
|
|
417416
417438
|
errors: sanitizedErrors,
|
|
417417
417439
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -417604,7 +417626,7 @@ function Feedback({
|
|
|
417604
417626
|
", ",
|
|
417605
417627
|
env2.terminal,
|
|
417606
417628
|
", v",
|
|
417607
|
-
"0.7.
|
|
417629
|
+
"0.7.6"
|
|
417608
417630
|
]
|
|
417609
417631
|
}, undefined, true, undefined, this)
|
|
417610
417632
|
]
|
|
@@ -417712,7 +417734,7 @@ ${sanitizedDescription}
|
|
|
417712
417734
|
` + `**Environment Info**
|
|
417713
417735
|
` + `- Platform: ${env2.platform}
|
|
417714
417736
|
` + `- Terminal: ${env2.terminal}
|
|
417715
|
-
` + `- Version: ${"0.7.
|
|
417737
|
+
` + `- Version: ${"0.7.6"}
|
|
417716
417738
|
` + feedbackIdLine + `
|
|
417717
417739
|
**Errors**
|
|
417718
417740
|
\`\`\`json
|
|
@@ -420867,7 +420889,7 @@ function buildPrimarySection() {
|
|
|
420867
420889
|
}, undefined, false, undefined, this);
|
|
420868
420890
|
return [{
|
|
420869
420891
|
label: "Version",
|
|
420870
|
-
value: "0.7.
|
|
420892
|
+
value: "0.7.6"
|
|
420871
420893
|
}, {
|
|
420872
420894
|
label: "Session name",
|
|
420873
420895
|
value: nameValue
|
|
@@ -425614,7 +425636,7 @@ function Config({
|
|
|
425614
425636
|
}
|
|
425615
425637
|
}, undefined, false, undefined, this)
|
|
425616
425638
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime181.jsxDEV(ChannelDowngradeDialog, {
|
|
425617
|
-
currentVersion: "0.7.
|
|
425639
|
+
currentVersion: "0.7.6",
|
|
425618
425640
|
onChoice: (choice) => {
|
|
425619
425641
|
setShowSubmenu(null);
|
|
425620
425642
|
setTabsHidden(false);
|
|
@@ -425626,7 +425648,7 @@ function Config({
|
|
|
425626
425648
|
autoUpdatesChannel: "stable"
|
|
425627
425649
|
};
|
|
425628
425650
|
if (choice === "stay") {
|
|
425629
|
-
newSettings.minimumVersion = "0.7.
|
|
425651
|
+
newSettings.minimumVersion = "0.7.6";
|
|
425630
425652
|
}
|
|
425631
425653
|
updateSettingsForSource("userSettings", newSettings);
|
|
425632
425654
|
setSettingsData((prev_27) => ({
|
|
@@ -434519,7 +434541,7 @@ function HelpV2(t0) {
|
|
|
434519
434541
|
let t6;
|
|
434520
434542
|
if ($2[31] !== tabs) {
|
|
434521
434543
|
t6 = /* @__PURE__ */ jsx_dev_runtime210.jsxDEV(Tabs, {
|
|
434522
|
-
title: `ZeroCLI v${"0.7.
|
|
434544
|
+
title: `ZeroCLI v${"0.7.6"}`,
|
|
434523
434545
|
color: "professionalBlue",
|
|
434524
434546
|
defaultTab: "general",
|
|
434525
434547
|
children: tabs
|
|
@@ -448846,12 +448868,12 @@ function ManageMarketplaces({
|
|
|
448846
448868
|
children: [
|
|
448847
448869
|
state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime244.jsxDEV(ThemedText, {
|
|
448848
448870
|
color: "claude",
|
|
448849
|
-
children: "
|
|
448871
|
+
children: "⟁ "
|
|
448850
448872
|
}, undefined, false, undefined, this),
|
|
448851
448873
|
state.name,
|
|
448852
448874
|
state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime244.jsxDEV(ThemedText, {
|
|
448853
448875
|
color: "claude",
|
|
448854
|
-
children: "
|
|
448876
|
+
children: "⟁ "
|
|
448855
448877
|
}, undefined, false, undefined, this)
|
|
448856
448878
|
]
|
|
448857
448879
|
}, undefined, true, undefined, this),
|
|
@@ -459326,7 +459348,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
459326
459348
|
return [];
|
|
459327
459349
|
}
|
|
459328
459350
|
}
|
|
459329
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
459351
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.6") {
|
|
459330
459352
|
if (process.env.USER_TYPE === "ant") {
|
|
459331
459353
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
459332
459354
|
if (changelog) {
|
|
@@ -488360,7 +488382,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
488360
488382
|
smapsRollup,
|
|
488361
488383
|
platform: process.platform,
|
|
488362
488384
|
nodeVersion: process.version,
|
|
488363
|
-
ccVersion: "0.7.
|
|
488385
|
+
ccVersion: "0.7.6"
|
|
488364
488386
|
};
|
|
488365
488387
|
}
|
|
488366
488388
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -488947,7 +488969,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
488947
488969
|
var call59 = async () => {
|
|
488948
488970
|
return {
|
|
488949
488971
|
type: "text",
|
|
488950
|
-
value: `${"0.7.
|
|
488972
|
+
value: `${"0.7.6"} (built ${"2026-04-30T13:52:54.445Z"})`
|
|
488951
488973
|
};
|
|
488952
488974
|
}, version2, version_default;
|
|
488953
488975
|
var init_version = __esm(() => {
|
|
@@ -499116,7 +499138,7 @@ function generateHtmlReport(data, insights) {
|
|
|
499116
499138
|
</html>`;
|
|
499117
499139
|
}
|
|
499118
499140
|
function buildExportData(data, insights, facets) {
|
|
499119
|
-
const version3 = typeof MACRO !== "undefined" ? "0.7.
|
|
499141
|
+
const version3 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
499120
499142
|
const facets_summary = {
|
|
499121
499143
|
total: facets.size,
|
|
499122
499144
|
goal_categories: {},
|
|
@@ -503306,7 +503328,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
503306
503328
|
init_settings2();
|
|
503307
503329
|
init_slowOperations();
|
|
503308
503330
|
init_uuid();
|
|
503309
|
-
VERSION7 = typeof MACRO !== "undefined" ? "0.7.
|
|
503331
|
+
VERSION7 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
503310
503332
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
503311
503333
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
503312
503334
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -504616,7 +504638,7 @@ var init_filesystem = __esm(() => {
|
|
|
504616
504638
|
});
|
|
504617
504639
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
504618
504640
|
const nonce = randomBytes17(16).toString("hex");
|
|
504619
|
-
return join136(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
504641
|
+
return join136(getClaudeTempDir(), "bundled-skills", "0.7.6", nonce);
|
|
504620
504642
|
});
|
|
504621
504643
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
504622
504644
|
});
|
|
@@ -515618,7 +515640,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
515618
515640
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
515619
515641
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
515620
515642
|
betas: getSdkBetas(),
|
|
515621
|
-
claude_code_version: "0.7.
|
|
515643
|
+
claude_code_version: "0.7.6",
|
|
515622
515644
|
output_style: outputStyle2,
|
|
515623
515645
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
515624
515646
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -521592,7 +521614,7 @@ function useDiffInIDE({
|
|
|
521592
521614
|
const isUnmounted = import_react207.useRef(false);
|
|
521593
521615
|
const [hasError, setHasError] = import_react207.useState(false);
|
|
521594
521616
|
const sha = import_react207.useMemo(() => randomUUID33().slice(0, 6), []);
|
|
521595
|
-
const tabName = import_react207.useMemo(() =>
|
|
521617
|
+
const tabName = import_react207.useMemo(() => `⟁ [ZeroCLI] ${basename50(filePath)} (${sha}) ⧉`, [filePath, sha]);
|
|
521596
521618
|
const shouldShowDiffInIDE = hasAccessToIDEExtensionDiffFeature(toolUseContext.options.mcpClients) && getGlobalConfig().diffTool === "auto" && !filePath.endsWith(".ipynb");
|
|
521597
521619
|
const ideName = getConnectedIdeName(toolUseContext.options.mcpClients) ?? "IDE";
|
|
521598
521620
|
async function showDiff() {
|
|
@@ -530937,7 +530959,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
530937
530959
|
function getSemverPart(version3) {
|
|
530938
530960
|
return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
|
|
530939
530961
|
}
|
|
530940
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
530962
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.6") {
|
|
530941
530963
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
530942
530964
|
if (!updatedVersion) {
|
|
530943
530965
|
return null;
|
|
@@ -530977,7 +530999,7 @@ function AutoUpdater({
|
|
|
530977
530999
|
return;
|
|
530978
531000
|
}
|
|
530979
531001
|
if (false) {}
|
|
530980
|
-
const currentVersion = "0.7.
|
|
531002
|
+
const currentVersion = "0.7.6";
|
|
530981
531003
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
530982
531004
|
let latestVersion = await getLatestVersion(channel);
|
|
530983
531005
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -531188,12 +531210,12 @@ function NativeAutoUpdater({
|
|
|
531188
531210
|
logEvent("tengu_native_auto_updater_start", {});
|
|
531189
531211
|
try {
|
|
531190
531212
|
const maxVersion = await getMaxVersion();
|
|
531191
|
-
if (maxVersion && gt("0.7.
|
|
531213
|
+
if (maxVersion && gt("0.7.6", maxVersion)) {
|
|
531192
531214
|
const msg = await getMaxVersionMessage();
|
|
531193
531215
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
531194
531216
|
}
|
|
531195
531217
|
const result = await installLatest(channel);
|
|
531196
|
-
const currentVersion = "0.7.
|
|
531218
|
+
const currentVersion = "0.7.6";
|
|
531197
531219
|
const latencyMs = Date.now() - startTime;
|
|
531198
531220
|
if (result.lockFailed) {
|
|
531199
531221
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -531326,17 +531348,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
531326
531348
|
const maxVersion = await getMaxVersion();
|
|
531327
531349
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
531328
531350
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
531329
|
-
if (gte("0.7.
|
|
531330
|
-
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
531351
|
+
if (gte("0.7.6", maxVersion)) {
|
|
531352
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
531331
531353
|
setUpdateAvailable(false);
|
|
531332
531354
|
return;
|
|
531333
531355
|
}
|
|
531334
531356
|
latest = maxVersion;
|
|
531335
531357
|
}
|
|
531336
|
-
const hasUpdate = latest && !gte("0.7.
|
|
531358
|
+
const hasUpdate = latest && !gte("0.7.6", latest) && !shouldSkipVersion(latest);
|
|
531337
531359
|
setUpdateAvailable(!!hasUpdate);
|
|
531338
531360
|
if (hasUpdate) {
|
|
531339
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
531361
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.6"} -> ${latest}`);
|
|
531340
531362
|
}
|
|
531341
531363
|
};
|
|
531342
531364
|
$2[0] = t1;
|
|
@@ -531370,7 +531392,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
531370
531392
|
wrap: "truncate",
|
|
531371
531393
|
children: [
|
|
531372
531394
|
"currentVersion: ",
|
|
531373
|
-
"0.7.
|
|
531395
|
+
"0.7.6"
|
|
531374
531396
|
]
|
|
531375
531397
|
}, undefined, true, undefined, this);
|
|
531376
531398
|
$2[3] = verbose;
|
|
@@ -540122,7 +540144,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
540122
540144
|
project_dir: getOriginalCwd(),
|
|
540123
540145
|
added_dirs: addedDirs
|
|
540124
540146
|
},
|
|
540125
|
-
version: "0.7.
|
|
540147
|
+
version: "0.7.6",
|
|
540126
540148
|
output_style: {
|
|
540127
540149
|
name: outputStyleName
|
|
540128
540150
|
},
|
|
@@ -552900,11 +552922,8 @@ var init_useInstallMessages = __esm(() => {
|
|
|
552900
552922
|
|
|
552901
552923
|
// src/services/awaySummary.ts
|
|
552902
552924
|
function buildAwaySummaryPrompt(memory2) {
|
|
552903
|
-
const memoryBlock = memory2 ?
|
|
552904
|
-
${
|
|
552905
|
-
|
|
552906
|
-
` : "";
|
|
552907
|
-
return `${memoryBlock}The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task — what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.`;
|
|
552925
|
+
const memoryBlock = memory2 ? t("awaySummaryMemoryBlock")(memory2) : "";
|
|
552926
|
+
return `${memoryBlock}${t("awaySummaryPrompt")}`;
|
|
552908
552927
|
}
|
|
552909
552928
|
async function generateAwaySummary(messages, signal) {
|
|
552910
552929
|
if (messages.length === 0) {
|
|
@@ -552954,6 +552973,7 @@ var init_awaySummary = __esm(() => {
|
|
|
552954
552973
|
init_model();
|
|
552955
552974
|
init_claude();
|
|
552956
552975
|
init_sessionMemoryUtils();
|
|
552976
|
+
init_i18n();
|
|
552957
552977
|
});
|
|
552958
552978
|
|
|
552959
552979
|
// src/hooks/useAwaySummary.ts
|
|
@@ -564233,12 +564253,13 @@ async function checkEndpoints() {
|
|
|
564233
564253
|
}
|
|
564234
564254
|
}
|
|
564235
564255
|
function PreflightStep(t0) {
|
|
564236
|
-
const $2 = import_react_compiler_runtime356.c(
|
|
564256
|
+
const $2 = import_react_compiler_runtime356.c(15);
|
|
564237
564257
|
const {
|
|
564238
564258
|
onSuccess
|
|
564239
564259
|
} = t0;
|
|
564240
564260
|
const [result, setResult] = import_react318.useState(null);
|
|
564241
564261
|
const [isChecking, setIsChecking] = import_react318.useState(true);
|
|
564262
|
+
const [bypassAllowed, setBypassAllowed] = import_react318.useState(false);
|
|
564242
564263
|
const showSpinner = useTimeout(1000) && isChecking;
|
|
564243
564264
|
let t1;
|
|
564244
564265
|
let t2;
|
|
@@ -564261,30 +564282,45 @@ function PreflightStep(t0) {
|
|
|
564261
564282
|
import_react318.useEffect(t1, t2);
|
|
564262
564283
|
let t3;
|
|
564263
564284
|
let t4;
|
|
564264
|
-
if ($2[2] !==
|
|
564285
|
+
if ($2[2] !== result) {
|
|
564265
564286
|
t3 = () => {
|
|
564266
564287
|
if (result?.success) {
|
|
564267
564288
|
onSuccess();
|
|
564268
|
-
} else {
|
|
564269
|
-
|
|
564270
|
-
|
|
564271
|
-
|
|
564272
|
-
}
|
|
564289
|
+
} else if (result && !result.success) {
|
|
564290
|
+
setBypassAllowed(false);
|
|
564291
|
+
const timer = setTimeout(() => setBypassAllowed(true), BYPASS_TIMEOUT_MS);
|
|
564292
|
+
return () => clearTimeout(timer);
|
|
564273
564293
|
}
|
|
564274
564294
|
};
|
|
564275
|
-
t4 = [result
|
|
564276
|
-
$2[2] =
|
|
564277
|
-
$2[3] =
|
|
564278
|
-
$2[4] =
|
|
564279
|
-
$2[5] = t4;
|
|
564295
|
+
t4 = [result];
|
|
564296
|
+
$2[2] = result;
|
|
564297
|
+
$2[3] = t3;
|
|
564298
|
+
$2[4] = t4;
|
|
564280
564299
|
} else {
|
|
564281
|
-
t3 = $2[
|
|
564282
|
-
t4 = $2[
|
|
564300
|
+
t3 = $2[3];
|
|
564301
|
+
t4 = $2[4];
|
|
564283
564302
|
}
|
|
564284
564303
|
import_react318.useEffect(t3, t4);
|
|
564285
564304
|
let t5;
|
|
564286
|
-
|
|
564287
|
-
|
|
564305
|
+
let t6;
|
|
564306
|
+
if ($2[5] !== bypassAllowed) {
|
|
564307
|
+
t5 = () => {
|
|
564308
|
+
if (bypassAllowed) {
|
|
564309
|
+
onSuccess();
|
|
564310
|
+
}
|
|
564311
|
+
};
|
|
564312
|
+
t6 = [bypassAllowed];
|
|
564313
|
+
$2[5] = bypassAllowed;
|
|
564314
|
+
$2[6] = t5;
|
|
564315
|
+
$2[7] = t6;
|
|
564316
|
+
} else {
|
|
564317
|
+
t5 = $2[6];
|
|
564318
|
+
t6 = $2[7];
|
|
564319
|
+
}
|
|
564320
|
+
import_react318.useEffect(t5, t6);
|
|
564321
|
+
let t7;
|
|
564322
|
+
if ($2[8] !== isChecking || $2[9] !== result || $2[10] !== showSpinner || $2[11] !== bypassAllowed) {
|
|
564323
|
+
t7 = isChecking && showSpinner ? /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
564288
564324
|
paddingLeft: 1,
|
|
564289
564325
|
children: [
|
|
564290
564326
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
@@ -564297,8 +564333,8 @@ function PreflightStep(t0) {
|
|
|
564297
564333
|
gap: 1,
|
|
564298
564334
|
children: [
|
|
564299
564335
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564300
|
-
color: "
|
|
564301
|
-
children: "Unable to connect to Anthropic services"
|
|
564336
|
+
color: "warning",
|
|
564337
|
+
children: "⚠️ Unable to connect to Anthropic services"
|
|
564302
564338
|
}, undefined, false, undefined, this),
|
|
564303
564339
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564304
564340
|
color: "error",
|
|
@@ -564334,35 +564370,44 @@ function PreflightStep(t0) {
|
|
|
564334
564370
|
]
|
|
564335
564371
|
}, undefined, true, undefined, this)
|
|
564336
564372
|
]
|
|
564373
|
+
}, undefined, true, undefined, this),
|
|
564374
|
+
bypassAllowed ? /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564375
|
+
color: "suggestion",
|
|
564376
|
+
children: "Press Enter to continue anyway (offline mode)..."
|
|
564377
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564378
|
+
color: "suggestion",
|
|
564379
|
+
children: [
|
|
564380
|
+
"Retrying... (will continue in ",
|
|
564381
|
+
Math.ceil(BYPASS_TIMEOUT_MS / 1000),
|
|
564382
|
+
"s)"
|
|
564383
|
+
]
|
|
564337
564384
|
}, undefined, true, undefined, this)
|
|
564338
564385
|
]
|
|
564339
564386
|
}, undefined, true, undefined, this);
|
|
564340
|
-
$2[
|
|
564341
|
-
$2[
|
|
564342
|
-
$2[
|
|
564343
|
-
$2[
|
|
564387
|
+
$2[8] = isChecking;
|
|
564388
|
+
$2[9] = result;
|
|
564389
|
+
$2[10] = showSpinner;
|
|
564390
|
+
$2[11] = bypassAllowed;
|
|
564391
|
+
$2[12] = t7;
|
|
564344
564392
|
} else {
|
|
564345
|
-
|
|
564393
|
+
t7 = $2[12];
|
|
564346
564394
|
}
|
|
564347
|
-
let
|
|
564348
|
-
if ($2[
|
|
564349
|
-
|
|
564395
|
+
let t8;
|
|
564396
|
+
if ($2[13] !== t7) {
|
|
564397
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
564350
564398
|
flexDirection: "column",
|
|
564351
564399
|
gap: 1,
|
|
564352
564400
|
paddingLeft: 1,
|
|
564353
|
-
children:
|
|
564401
|
+
children: t7
|
|
564354
564402
|
}, undefined, false, undefined, this);
|
|
564355
|
-
$2[
|
|
564356
|
-
$2[
|
|
564403
|
+
$2[13] = t7;
|
|
564404
|
+
$2[14] = t8;
|
|
564357
564405
|
} else {
|
|
564358
|
-
|
|
564406
|
+
t8 = $2[14];
|
|
564359
564407
|
}
|
|
564360
|
-
return
|
|
564361
|
-
}
|
|
564362
|
-
function _temp300() {
|
|
564363
|
-
return process.exit(1);
|
|
564408
|
+
return t8;
|
|
564364
564409
|
}
|
|
564365
|
-
var import_react_compiler_runtime356, import_react318, jsx_dev_runtime471;
|
|
564410
|
+
var import_react_compiler_runtime356, import_react318, jsx_dev_runtime471, BYPASS_TIMEOUT_MS = 5000;
|
|
564366
564411
|
var init_preflightChecks = __esm(() => {
|
|
564367
564412
|
init_axios2();
|
|
564368
564413
|
init_Spinner2();
|
|
@@ -564586,7 +564631,7 @@ function WelcomeV2() {
|
|
|
564586
564631
|
dimColor: true,
|
|
564587
564632
|
children: [
|
|
564588
564633
|
"v",
|
|
564589
|
-
"0.7.
|
|
564634
|
+
"0.7.6",
|
|
564590
564635
|
" "
|
|
564591
564636
|
]
|
|
564592
564637
|
}, undefined, true, undefined, this)
|
|
@@ -564786,7 +564831,7 @@ function WelcomeV2() {
|
|
|
564786
564831
|
dimColor: true,
|
|
564787
564832
|
children: [
|
|
564788
564833
|
"v",
|
|
564789
|
-
"0.7.
|
|
564834
|
+
"0.7.6",
|
|
564790
564835
|
" "
|
|
564791
564836
|
]
|
|
564792
564837
|
}, undefined, true, undefined, this)
|
|
@@ -565012,7 +565057,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565012
565057
|
dimColor: true,
|
|
565013
565058
|
children: [
|
|
565014
565059
|
"v",
|
|
565015
|
-
"0.7.
|
|
565060
|
+
"0.7.6",
|
|
565016
565061
|
" "
|
|
565017
565062
|
]
|
|
565018
565063
|
}, undefined, true, undefined, this);
|
|
@@ -565266,7 +565311,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565266
565311
|
dimColor: true,
|
|
565267
565312
|
children: [
|
|
565268
565313
|
"v",
|
|
565269
|
-
"0.7.
|
|
565314
|
+
"0.7.6",
|
|
565270
565315
|
" "
|
|
565271
565316
|
]
|
|
565272
565317
|
}, undefined, true, undefined, this);
|
|
@@ -566439,9 +566484,9 @@ function _temp360(tool_0) {
|
|
|
566439
566484
|
return tool_0 === BASH_TOOL_NAME || tool_0.startsWith(BASH_TOOL_NAME + "(");
|
|
566440
566485
|
}
|
|
566441
566486
|
function _temp298(command9) {
|
|
566442
|
-
return command9.type === "prompt" && command9.loadedFrom === "commands_DEPRECATED" && (command9.source === "projectSettings" || command9.source === "localSettings") && command9.allowedTools?.some(
|
|
566487
|
+
return command9.type === "prompt" && command9.loadedFrom === "commands_DEPRECATED" && (command9.source === "projectSettings" || command9.source === "localSettings") && command9.allowedTools?.some(_temp300);
|
|
566443
566488
|
}
|
|
566444
|
-
function
|
|
566489
|
+
function _temp300(tool) {
|
|
566445
566490
|
return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
|
|
566446
566491
|
}
|
|
566447
566492
|
var import_react_compiler_runtime362, import_react322, jsx_dev_runtime477;
|
|
@@ -566480,7 +566525,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
566480
566525
|
} else {
|
|
566481
566526
|
t1 = $2[0];
|
|
566482
566527
|
}
|
|
566483
|
-
import_react323.default.useEffect(
|
|
566528
|
+
import_react323.default.useEffect(_temp301, t1);
|
|
566484
566529
|
let t2;
|
|
566485
566530
|
if ($2[1] !== onAccept) {
|
|
566486
566531
|
t2 = function onChange2(value) {
|
|
@@ -566568,7 +566613,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
566568
566613
|
function _temp2100() {
|
|
566569
566614
|
gracefulShutdownSync(0);
|
|
566570
566615
|
}
|
|
566571
|
-
function
|
|
566616
|
+
function _temp301() {
|
|
566572
566617
|
logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
|
|
566573
566618
|
}
|
|
566574
566619
|
var import_react_compiler_runtime363, import_react323, jsx_dev_runtime478;
|
|
@@ -566600,7 +566645,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
566600
566645
|
t1 = () => {
|
|
566601
566646
|
logEvent("tengu_claude_in_chrome_onboarding_shown", {});
|
|
566602
566647
|
isChromeExtensionInstalled().then(setIsExtensionInstalled);
|
|
566603
|
-
saveGlobalConfig(
|
|
566648
|
+
saveGlobalConfig(_temp302);
|
|
566604
566649
|
};
|
|
566605
566650
|
t2 = [];
|
|
566606
566651
|
$2[0] = t1;
|
|
@@ -566749,7 +566794,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
566749
566794
|
}
|
|
566750
566795
|
return t11;
|
|
566751
566796
|
}
|
|
566752
|
-
function
|
|
566797
|
+
function _temp302(current) {
|
|
566753
566798
|
return {
|
|
566754
566799
|
...current,
|
|
566755
566800
|
hasCompletedClaudeInChromeOnboarding: true
|
|
@@ -566772,7 +566817,7 @@ function completeOnboarding() {
|
|
|
566772
566817
|
saveGlobalConfig((current) => ({
|
|
566773
566818
|
...current,
|
|
566774
566819
|
hasCompletedOnboarding: true,
|
|
566775
|
-
lastOnboardingVersion: "0.7.
|
|
566820
|
+
lastOnboardingVersion: "0.7.6"
|
|
566776
566821
|
}));
|
|
566777
566822
|
}
|
|
566778
566823
|
function showDialog(root2, renderer) {
|
|
@@ -567835,7 +567880,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
567835
567880
|
} else {
|
|
567836
567881
|
t32 = $2[7];
|
|
567837
567882
|
}
|
|
567838
|
-
t2 = [...availablePaths.map(
|
|
567883
|
+
t2 = [...availablePaths.map(_temp303), t32];
|
|
567839
567884
|
$2[5] = availablePaths;
|
|
567840
567885
|
$2[6] = t2;
|
|
567841
567886
|
} else {
|
|
@@ -567921,7 +567966,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
567921
567966
|
}
|
|
567922
567967
|
return t4;
|
|
567923
567968
|
}
|
|
567924
|
-
function
|
|
567969
|
+
function _temp303(path24) {
|
|
567925
567970
|
return {
|
|
567926
567971
|
label: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
567927
567972
|
children: [
|
|
@@ -568271,7 +568316,7 @@ function NoConversationsMessage() {
|
|
|
568271
568316
|
} else {
|
|
568272
568317
|
t0 = $2[0];
|
|
568273
568318
|
}
|
|
568274
|
-
useKeybinding("app:interrupt",
|
|
568319
|
+
useKeybinding("app:interrupt", _temp304, t0);
|
|
568275
568320
|
let t1;
|
|
568276
568321
|
if ($2[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
568277
568322
|
t1 = /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(ThemedBox_default, {
|
|
@@ -568292,7 +568337,7 @@ function NoConversationsMessage() {
|
|
|
568292
568337
|
}
|
|
568293
568338
|
return t1;
|
|
568294
568339
|
}
|
|
568295
|
-
function
|
|
568340
|
+
function _temp304() {
|
|
568296
568341
|
process.exit(1);
|
|
568297
568342
|
}
|
|
568298
568343
|
function CrossProjectMessage(t0) {
|
|
@@ -571023,7 +571068,7 @@ function appendToLog(path24, message) {
|
|
|
571023
571068
|
cwd: getFsImplementation().cwd(),
|
|
571024
571069
|
userType: process.env.USER_TYPE,
|
|
571025
571070
|
sessionId: getSessionId(),
|
|
571026
|
-
version: "0.7.
|
|
571071
|
+
version: "0.7.6"
|
|
571027
571072
|
};
|
|
571028
571073
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
571029
571074
|
}
|
|
@@ -572051,7 +572096,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
572051
572096
|
setCwd(cwd2);
|
|
572052
572097
|
const server = new Server({
|
|
572053
572098
|
name: "claude/tengu",
|
|
572054
|
-
version: "0.7.
|
|
572099
|
+
version: "0.7.6"
|
|
572055
572100
|
}, {
|
|
572056
572101
|
capabilities: {
|
|
572057
572102
|
tools: {}
|
|
@@ -576644,8 +576689,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
576644
576689
|
}
|
|
576645
576690
|
async function checkEnvLessBridgeMinVersion() {
|
|
576646
576691
|
const cfg = await getEnvLessBridgeConfig();
|
|
576647
|
-
if (cfg.min_version && lt("0.7.
|
|
576648
|
-
return `Your version of ZeroCLI (${"0.7.
|
|
576692
|
+
if (cfg.min_version && lt("0.7.6", cfg.min_version)) {
|
|
576693
|
+
return `Your version of ZeroCLI (${"0.7.6"}) is too old for Remote Control.
|
|
576649
576694
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
576650
576695
|
}
|
|
576651
576696
|
return null;
|
|
@@ -577120,7 +577165,7 @@ async function initBridgeCore(params) {
|
|
|
577120
577165
|
const rawApi = createBridgeApiClient({
|
|
577121
577166
|
baseUrl,
|
|
577122
577167
|
getAccessToken,
|
|
577123
|
-
runnerVersion: "0.7.
|
|
577168
|
+
runnerVersion: "0.7.6",
|
|
577124
577169
|
onDebug: logForDebugging2,
|
|
577125
577170
|
onAuth401,
|
|
577126
577171
|
getTrustedDeviceToken
|
|
@@ -582761,7 +582806,7 @@ function SetupNotes(t0) {
|
|
|
582761
582806
|
}
|
|
582762
582807
|
let t2;
|
|
582763
582808
|
if ($2[1] !== messages) {
|
|
582764
|
-
t2 = messages.map(
|
|
582809
|
+
t2 = messages.map(_temp305);
|
|
582765
582810
|
$2[1] = messages;
|
|
582766
582811
|
$2[2] = t2;
|
|
582767
582812
|
} else {
|
|
@@ -582785,7 +582830,7 @@ function SetupNotes(t0) {
|
|
|
582785
582830
|
}
|
|
582786
582831
|
return t3;
|
|
582787
582832
|
}
|
|
582788
|
-
function
|
|
582833
|
+
function _temp305(message, index) {
|
|
582789
582834
|
return /* @__PURE__ */ jsx_dev_runtime490.jsxDEV(ThemedBox_default, {
|
|
582790
582835
|
marginLeft: 2,
|
|
582791
582836
|
children: /* @__PURE__ */ jsx_dev_runtime490.jsxDEV(ThemedText, {
|
|
@@ -583387,7 +583432,7 @@ __export(exports_update, {
|
|
|
583387
583432
|
});
|
|
583388
583433
|
async function update() {
|
|
583389
583434
|
logEvent("tengu_update_check", {});
|
|
583390
|
-
writeToStdout(`Current version: ${"0.7.
|
|
583435
|
+
writeToStdout(`Current version: ${"0.7.6"}
|
|
583391
583436
|
`);
|
|
583392
583437
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
583393
583438
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -583462,8 +583507,8 @@ async function update() {
|
|
|
583462
583507
|
writeToStdout(`Claude is managed by Homebrew.
|
|
583463
583508
|
`);
|
|
583464
583509
|
const latest = await getLatestVersion(channel);
|
|
583465
|
-
if (latest && !gte("0.7.
|
|
583466
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583510
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583511
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583467
583512
|
`);
|
|
583468
583513
|
writeToStdout(`
|
|
583469
583514
|
`);
|
|
@@ -583479,8 +583524,8 @@ async function update() {
|
|
|
583479
583524
|
writeToStdout(`Claude is managed by winget.
|
|
583480
583525
|
`);
|
|
583481
583526
|
const latest = await getLatestVersion(channel);
|
|
583482
|
-
if (latest && !gte("0.7.
|
|
583483
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583527
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583528
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583484
583529
|
`);
|
|
583485
583530
|
writeToStdout(`
|
|
583486
583531
|
`);
|
|
@@ -583496,8 +583541,8 @@ async function update() {
|
|
|
583496
583541
|
writeToStdout(`Claude is managed by apk.
|
|
583497
583542
|
`);
|
|
583498
583543
|
const latest = await getLatestVersion(channel);
|
|
583499
|
-
if (latest && !gte("0.7.
|
|
583500
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583544
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583545
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583501
583546
|
`);
|
|
583502
583547
|
writeToStdout(`
|
|
583503
583548
|
`);
|
|
@@ -583562,11 +583607,11 @@ async function update() {
|
|
|
583562
583607
|
`);
|
|
583563
583608
|
await gracefulShutdown(1);
|
|
583564
583609
|
}
|
|
583565
|
-
if (result.latestVersion === "0.7.
|
|
583566
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.
|
|
583610
|
+
if (result.latestVersion === "0.7.6") {
|
|
583611
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.6"})`) + `
|
|
583567
583612
|
`);
|
|
583568
583613
|
} else {
|
|
583569
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583614
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${result.latestVersion}`) + `
|
|
583570
583615
|
`);
|
|
583571
583616
|
await regenerateCompletionCache();
|
|
583572
583617
|
}
|
|
@@ -583626,12 +583671,12 @@ async function update() {
|
|
|
583626
583671
|
`);
|
|
583627
583672
|
await gracefulShutdown(1);
|
|
583628
583673
|
}
|
|
583629
|
-
if (latestVersion === "0.7.
|
|
583630
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.
|
|
583674
|
+
if (latestVersion === "0.7.6") {
|
|
583675
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.6"})`) + `
|
|
583631
583676
|
`);
|
|
583632
583677
|
await gracefulShutdown(0);
|
|
583633
583678
|
}
|
|
583634
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
583679
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.6"})
|
|
583635
583680
|
`);
|
|
583636
583681
|
writeToStdout(`Installing update...
|
|
583637
583682
|
`);
|
|
@@ -583676,7 +583721,7 @@ async function update() {
|
|
|
583676
583721
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
583677
583722
|
switch (status2) {
|
|
583678
583723
|
case "success":
|
|
583679
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583724
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${latestVersion}`) + `
|
|
583680
583725
|
`);
|
|
583681
583726
|
await regenerateCompletionCache();
|
|
583682
583727
|
break;
|
|
@@ -584927,7 +584972,7 @@ ${customInstructions}` : customInstructions;
|
|
|
584927
584972
|
}
|
|
584928
584973
|
}
|
|
584929
584974
|
logForDiagnosticsNoPII("info", "started", {
|
|
584930
|
-
version: "0.7.
|
|
584975
|
+
version: "0.7.6",
|
|
584931
584976
|
is_native_binary: isInBundledMode()
|
|
584932
584977
|
});
|
|
584933
584978
|
registerCleanup(async () => {
|
|
@@ -585726,7 +585771,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
585726
585771
|
pendingHookMessages
|
|
585727
585772
|
}, renderAndRun);
|
|
585728
585773
|
}
|
|
585729
|
-
}).version("0.7.
|
|
585774
|
+
}).version("0.7.6", "-v, --version", "Output the version number");
|
|
585730
585775
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
585731
585776
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
585732
585777
|
if (canUserConfigureAdvisor()) {
|
|
@@ -586282,7 +586327,7 @@ if (false) {}
|
|
|
586282
586327
|
async function main2() {
|
|
586283
586328
|
const args = process.argv.slice(2);
|
|
586284
586329
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
586285
|
-
console.log(`${"0.7.
|
|
586330
|
+
console.log(`${"0.7.6"} (ZeroCLI)`);
|
|
586286
586331
|
return;
|
|
586287
586332
|
}
|
|
586288
586333
|
if (args.includes("--provider")) {
|
|
@@ -586424,4 +586469,4 @@ async function main2() {
|
|
|
586424
586469
|
}
|
|
586425
586470
|
main2();
|
|
586426
586471
|
|
|
586427
|
-
//# debugId=
|
|
586472
|
+
//# debugId=54DA91A88BFB824364756E2164756E21
|