@duheso/zerocli 0.7.4 → 0.7.5
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 +109 -89
- 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.5"}${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.5"}.${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.5"}`;
|
|
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.5"} (${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.5"}${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.5";
|
|
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.5");
|
|
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.5");
|
|
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.5",
|
|
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.5");
|
|
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.5"
|
|
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.5");
|
|
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.5");
|
|
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.5");
|
|
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.5" : "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.5";
|
|
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.5", maxVersion)) {
|
|
275148
|
+
logForDebugging2(`Native installer: current version ${"0.7.5"} 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.5" && 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-30T12:11:41.343Z").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.5",
|
|
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.5",
|
|
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.5",
|
|
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.5"
|
|
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.5"}
|
|
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.5"
|
|
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.5",
|
|
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.5";
|
|
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.5"}`,
|
|
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.5") {
|
|
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.5"
|
|
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.5"} (built ${"2026-04-30T12:11:41.343Z"})`
|
|
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.5" : "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.5" : "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.5", 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.5",
|
|
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.5") {
|
|
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.5";
|
|
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.5", 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.5";
|
|
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.5", maxVersion)) {
|
|
531352
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.5"} 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.5", 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.5"} -> ${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.5"
|
|
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.5",
|
|
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
|
|
@@ -564586,7 +564606,7 @@ function WelcomeV2() {
|
|
|
564586
564606
|
dimColor: true,
|
|
564587
564607
|
children: [
|
|
564588
564608
|
"v",
|
|
564589
|
-
"0.7.
|
|
564609
|
+
"0.7.5",
|
|
564590
564610
|
" "
|
|
564591
564611
|
]
|
|
564592
564612
|
}, undefined, true, undefined, this)
|
|
@@ -564786,7 +564806,7 @@ function WelcomeV2() {
|
|
|
564786
564806
|
dimColor: true,
|
|
564787
564807
|
children: [
|
|
564788
564808
|
"v",
|
|
564789
|
-
"0.7.
|
|
564809
|
+
"0.7.5",
|
|
564790
564810
|
" "
|
|
564791
564811
|
]
|
|
564792
564812
|
}, undefined, true, undefined, this)
|
|
@@ -565012,7 +565032,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565012
565032
|
dimColor: true,
|
|
565013
565033
|
children: [
|
|
565014
565034
|
"v",
|
|
565015
|
-
"0.7.
|
|
565035
|
+
"0.7.5",
|
|
565016
565036
|
" "
|
|
565017
565037
|
]
|
|
565018
565038
|
}, undefined, true, undefined, this);
|
|
@@ -565266,7 +565286,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565266
565286
|
dimColor: true,
|
|
565267
565287
|
children: [
|
|
565268
565288
|
"v",
|
|
565269
|
-
"0.7.
|
|
565289
|
+
"0.7.5",
|
|
565270
565290
|
" "
|
|
565271
565291
|
]
|
|
565272
565292
|
}, undefined, true, undefined, this);
|
|
@@ -566772,7 +566792,7 @@ function completeOnboarding() {
|
|
|
566772
566792
|
saveGlobalConfig((current) => ({
|
|
566773
566793
|
...current,
|
|
566774
566794
|
hasCompletedOnboarding: true,
|
|
566775
|
-
lastOnboardingVersion: "0.7.
|
|
566795
|
+
lastOnboardingVersion: "0.7.5"
|
|
566776
566796
|
}));
|
|
566777
566797
|
}
|
|
566778
566798
|
function showDialog(root2, renderer) {
|
|
@@ -571023,7 +571043,7 @@ function appendToLog(path24, message) {
|
|
|
571023
571043
|
cwd: getFsImplementation().cwd(),
|
|
571024
571044
|
userType: process.env.USER_TYPE,
|
|
571025
571045
|
sessionId: getSessionId(),
|
|
571026
|
-
version: "0.7.
|
|
571046
|
+
version: "0.7.5"
|
|
571027
571047
|
};
|
|
571028
571048
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
571029
571049
|
}
|
|
@@ -572051,7 +572071,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
572051
572071
|
setCwd(cwd2);
|
|
572052
572072
|
const server = new Server({
|
|
572053
572073
|
name: "claude/tengu",
|
|
572054
|
-
version: "0.7.
|
|
572074
|
+
version: "0.7.5"
|
|
572055
572075
|
}, {
|
|
572056
572076
|
capabilities: {
|
|
572057
572077
|
tools: {}
|
|
@@ -576644,8 +576664,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
576644
576664
|
}
|
|
576645
576665
|
async function checkEnvLessBridgeMinVersion() {
|
|
576646
576666
|
const cfg = await getEnvLessBridgeConfig();
|
|
576647
|
-
if (cfg.min_version && lt("0.7.
|
|
576648
|
-
return `Your version of ZeroCLI (${"0.7.
|
|
576667
|
+
if (cfg.min_version && lt("0.7.5", cfg.min_version)) {
|
|
576668
|
+
return `Your version of ZeroCLI (${"0.7.5"}) is too old for Remote Control.
|
|
576649
576669
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
576650
576670
|
}
|
|
576651
576671
|
return null;
|
|
@@ -577120,7 +577140,7 @@ async function initBridgeCore(params) {
|
|
|
577120
577140
|
const rawApi = createBridgeApiClient({
|
|
577121
577141
|
baseUrl,
|
|
577122
577142
|
getAccessToken,
|
|
577123
|
-
runnerVersion: "0.7.
|
|
577143
|
+
runnerVersion: "0.7.5",
|
|
577124
577144
|
onDebug: logForDebugging2,
|
|
577125
577145
|
onAuth401,
|
|
577126
577146
|
getTrustedDeviceToken
|
|
@@ -583387,7 +583407,7 @@ __export(exports_update, {
|
|
|
583387
583407
|
});
|
|
583388
583408
|
async function update() {
|
|
583389
583409
|
logEvent("tengu_update_check", {});
|
|
583390
|
-
writeToStdout(`Current version: ${"0.7.
|
|
583410
|
+
writeToStdout(`Current version: ${"0.7.5"}
|
|
583391
583411
|
`);
|
|
583392
583412
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
583393
583413
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -583462,8 +583482,8 @@ async function update() {
|
|
|
583462
583482
|
writeToStdout(`Claude is managed by Homebrew.
|
|
583463
583483
|
`);
|
|
583464
583484
|
const latest = await getLatestVersion(channel);
|
|
583465
|
-
if (latest && !gte("0.7.
|
|
583466
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583485
|
+
if (latest && !gte("0.7.5", latest)) {
|
|
583486
|
+
writeToStdout(`Update available: ${"0.7.5"} → ${latest}
|
|
583467
583487
|
`);
|
|
583468
583488
|
writeToStdout(`
|
|
583469
583489
|
`);
|
|
@@ -583479,8 +583499,8 @@ async function update() {
|
|
|
583479
583499
|
writeToStdout(`Claude is managed by winget.
|
|
583480
583500
|
`);
|
|
583481
583501
|
const latest = await getLatestVersion(channel);
|
|
583482
|
-
if (latest && !gte("0.7.
|
|
583483
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583502
|
+
if (latest && !gte("0.7.5", latest)) {
|
|
583503
|
+
writeToStdout(`Update available: ${"0.7.5"} → ${latest}
|
|
583484
583504
|
`);
|
|
583485
583505
|
writeToStdout(`
|
|
583486
583506
|
`);
|
|
@@ -583496,8 +583516,8 @@ async function update() {
|
|
|
583496
583516
|
writeToStdout(`Claude is managed by apk.
|
|
583497
583517
|
`);
|
|
583498
583518
|
const latest = await getLatestVersion(channel);
|
|
583499
|
-
if (latest && !gte("0.7.
|
|
583500
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583519
|
+
if (latest && !gte("0.7.5", latest)) {
|
|
583520
|
+
writeToStdout(`Update available: ${"0.7.5"} → ${latest}
|
|
583501
583521
|
`);
|
|
583502
583522
|
writeToStdout(`
|
|
583503
583523
|
`);
|
|
@@ -583562,11 +583582,11 @@ async function update() {
|
|
|
583562
583582
|
`);
|
|
583563
583583
|
await gracefulShutdown(1);
|
|
583564
583584
|
}
|
|
583565
|
-
if (result.latestVersion === "0.7.
|
|
583566
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.
|
|
583585
|
+
if (result.latestVersion === "0.7.5") {
|
|
583586
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.5"})`) + `
|
|
583567
583587
|
`);
|
|
583568
583588
|
} else {
|
|
583569
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583589
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${result.latestVersion}`) + `
|
|
583570
583590
|
`);
|
|
583571
583591
|
await regenerateCompletionCache();
|
|
583572
583592
|
}
|
|
@@ -583626,12 +583646,12 @@ async function update() {
|
|
|
583626
583646
|
`);
|
|
583627
583647
|
await gracefulShutdown(1);
|
|
583628
583648
|
}
|
|
583629
|
-
if (latestVersion === "0.7.
|
|
583630
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.
|
|
583649
|
+
if (latestVersion === "0.7.5") {
|
|
583650
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.7.5"})`) + `
|
|
583631
583651
|
`);
|
|
583632
583652
|
await gracefulShutdown(0);
|
|
583633
583653
|
}
|
|
583634
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
583654
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.5"})
|
|
583635
583655
|
`);
|
|
583636
583656
|
writeToStdout(`Installing update...
|
|
583637
583657
|
`);
|
|
@@ -583676,7 +583696,7 @@ async function update() {
|
|
|
583676
583696
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
583677
583697
|
switch (status2) {
|
|
583678
583698
|
case "success":
|
|
583679
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583699
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${latestVersion}`) + `
|
|
583680
583700
|
`);
|
|
583681
583701
|
await regenerateCompletionCache();
|
|
583682
583702
|
break;
|
|
@@ -584927,7 +584947,7 @@ ${customInstructions}` : customInstructions;
|
|
|
584927
584947
|
}
|
|
584928
584948
|
}
|
|
584929
584949
|
logForDiagnosticsNoPII("info", "started", {
|
|
584930
|
-
version: "0.7.
|
|
584950
|
+
version: "0.7.5",
|
|
584931
584951
|
is_native_binary: isInBundledMode()
|
|
584932
584952
|
});
|
|
584933
584953
|
registerCleanup(async () => {
|
|
@@ -585726,7 +585746,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
585726
585746
|
pendingHookMessages
|
|
585727
585747
|
}, renderAndRun);
|
|
585728
585748
|
}
|
|
585729
|
-
}).version("0.7.
|
|
585749
|
+
}).version("0.7.5", "-v, --version", "Output the version number");
|
|
585730
585750
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
585731
585751
|
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
585752
|
if (canUserConfigureAdvisor()) {
|
|
@@ -586282,7 +586302,7 @@ if (false) {}
|
|
|
586282
586302
|
async function main2() {
|
|
586283
586303
|
const args = process.argv.slice(2);
|
|
586284
586304
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
586285
|
-
console.log(`${"0.7.
|
|
586305
|
+
console.log(`${"0.7.5"} (ZeroCLI)`);
|
|
586286
586306
|
return;
|
|
586287
586307
|
}
|
|
586288
586308
|
if (args.includes("--provider")) {
|
|
@@ -586424,4 +586444,4 @@ async function main2() {
|
|
|
586424
586444
|
}
|
|
586425
586445
|
main2();
|
|
586426
586446
|
|
|
586427
|
-
//# debugId=
|
|
586447
|
+
//# debugId=F2995299104A428664756E2164756E21
|