@duheso/zerocli 0.7.5 → 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 +146 -121
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -120158,7 +120158,7 @@ function buildProviderInfoLines() {
|
|
|
120158
120158
|
const sLen = ` ● ${sL} ${sReady}`.length;
|
|
120159
120159
|
out.push(boxRow(sRow, W2, sLen));
|
|
120160
120160
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
120161
|
-
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}`);
|
|
120162
120162
|
return out;
|
|
120163
120163
|
}
|
|
120164
120164
|
function printStartupScreen() {}
|
|
@@ -152658,7 +152658,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
152658
152658
|
if (!isAttributionHeaderEnabled()) {
|
|
152659
152659
|
return "";
|
|
152660
152660
|
}
|
|
152661
|
-
const version2 = `${"0.7.
|
|
152661
|
+
const version2 = `${"0.7.6"}.${fingerprint}`;
|
|
152662
152662
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
152663
152663
|
const cch = "";
|
|
152664
152664
|
const workload = getWorkload();
|
|
@@ -195463,7 +195463,7 @@ var init_imageValidation = __esm(() => {
|
|
|
195463
195463
|
|
|
195464
195464
|
// src/utils/userAgent.ts
|
|
195465
195465
|
function getClaudeCodeUserAgent() {
|
|
195466
|
-
return `claude-code/${"0.7.
|
|
195466
|
+
return `claude-code/${"0.7.6"}`;
|
|
195467
195467
|
}
|
|
195468
195468
|
|
|
195469
195469
|
// src/utils/http.ts
|
|
@@ -195472,7 +195472,7 @@ function getUserAgent() {
|
|
|
195472
195472
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
195473
195473
|
const workload = getWorkload();
|
|
195474
195474
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
195475
|
-
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})`;
|
|
195476
195476
|
}
|
|
195477
195477
|
function getMCPUserAgent() {
|
|
195478
195478
|
const parts = [];
|
|
@@ -195486,7 +195486,7 @@ function getMCPUserAgent() {
|
|
|
195486
195486
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
195487
195487
|
}
|
|
195488
195488
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
195489
|
-
return `claude-code/${"0.7.
|
|
195489
|
+
return `claude-code/${"0.7.6"}${suffix}`;
|
|
195490
195490
|
}
|
|
195491
195491
|
function getWebFetchUserAgent() {
|
|
195492
195492
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
|
|
@@ -249262,7 +249262,7 @@ function getTelemetryAttributes() {
|
|
|
249262
249262
|
attributes["session.id"] = sessionId;
|
|
249263
249263
|
}
|
|
249264
249264
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
249265
|
-
attributes["app.version"] = "0.7.
|
|
249265
|
+
attributes["app.version"] = "0.7.6";
|
|
249266
249266
|
}
|
|
249267
249267
|
const oauthAccount = getOauthAccountInfo();
|
|
249268
249268
|
if (oauthAccount) {
|
|
@@ -261495,7 +261495,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
261495
261495
|
}
|
|
261496
261496
|
function computeFingerprintFromMessages(messages) {
|
|
261497
261497
|
const firstMessageText = extractFirstMessageText(messages);
|
|
261498
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
261498
|
+
return computeFingerprint(firstMessageText, "0.7.6");
|
|
261499
261499
|
}
|
|
261500
261500
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
261501
261501
|
var init_fingerprint = () => {};
|
|
@@ -261537,7 +261537,7 @@ async function sideQuery(opts) {
|
|
|
261537
261537
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
261538
261538
|
}
|
|
261539
261539
|
const messageText = extractFirstUserMessageText(messages);
|
|
261540
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
261540
|
+
const fingerprint = computeFingerprint(messageText, "0.7.6");
|
|
261541
261541
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
261542
261542
|
const systemBlocks = [
|
|
261543
261543
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -270439,7 +270439,7 @@ var init_user = __esm(() => {
|
|
|
270439
270439
|
deviceId,
|
|
270440
270440
|
sessionId: getSessionId(),
|
|
270441
270441
|
email: getEmail(),
|
|
270442
|
-
appVersion: "0.7.
|
|
270442
|
+
appVersion: "0.7.6",
|
|
270443
270443
|
platform: getHostPlatformForAnalytics(),
|
|
270444
270444
|
organizationUuid,
|
|
270445
270445
|
accountUuid,
|
|
@@ -270833,7 +270833,7 @@ async function initializeBetaTracing(resource) {
|
|
|
270833
270833
|
});
|
|
270834
270834
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
270835
270835
|
setLoggerProvider(loggerProvider);
|
|
270836
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
270836
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
|
|
270837
270837
|
setEventLogger(eventLogger);
|
|
270838
270838
|
process.on("beforeExit", async () => {
|
|
270839
270839
|
await loggerProvider?.forceFlush();
|
|
@@ -270873,7 +270873,7 @@ async function initializeTelemetry() {
|
|
|
270873
270873
|
const platform3 = getPlatform();
|
|
270874
270874
|
const baseAttributes = {
|
|
270875
270875
|
[ATTR_SERVICE_NAME3]: "claude-code",
|
|
270876
|
-
[ATTR_SERVICE_VERSION3]: "0.7.
|
|
270876
|
+
[ATTR_SERVICE_VERSION3]: "0.7.6"
|
|
270877
270877
|
};
|
|
270878
270878
|
if (platform3 === "wsl") {
|
|
270879
270879
|
const wslVersion = getWslVersion();
|
|
@@ -270918,7 +270918,7 @@ async function initializeTelemetry() {
|
|
|
270918
270918
|
} catch {}
|
|
270919
270919
|
};
|
|
270920
270920
|
registerCleanup(shutdownTelemetry2);
|
|
270921
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
270921
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.6");
|
|
270922
270922
|
}
|
|
270923
270923
|
const meterProvider = new MeterProvider3({
|
|
270924
270924
|
resource,
|
|
@@ -270938,7 +270938,7 @@ async function initializeTelemetry() {
|
|
|
270938
270938
|
});
|
|
270939
270939
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
270940
270940
|
setLoggerProvider(loggerProvider);
|
|
270941
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
270941
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
|
|
270942
270942
|
setEventLogger(eventLogger);
|
|
270943
270943
|
logForDebugging2("[3P telemetry] Event logger set successfully");
|
|
270944
270944
|
process.on("beforeExit", async () => {
|
|
@@ -271000,7 +271000,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
271000
271000
|
}
|
|
271001
271001
|
};
|
|
271002
271002
|
registerCleanup(shutdownTelemetry);
|
|
271003
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
271003
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.6");
|
|
271004
271004
|
}
|
|
271005
271005
|
async function flushTelemetry() {
|
|
271006
271006
|
const meterProvider = getMeterProvider();
|
|
@@ -272292,7 +272292,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
272292
272292
|
}
|
|
272293
272293
|
async function getDoctorDiagnostic() {
|
|
272294
272294
|
const installationType = await getCurrentInstallationType();
|
|
272295
|
-
const version2 = typeof MACRO !== "undefined" ? "0.7.
|
|
272295
|
+
const version2 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
272296
272296
|
const installationPath = await getInstallationPath();
|
|
272297
272297
|
const invokedBinary = getInvokedBinary();
|
|
272298
272298
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -273777,7 +273777,7 @@ function getInstallationEnv() {
|
|
|
273777
273777
|
return;
|
|
273778
273778
|
}
|
|
273779
273779
|
function getClaudeCodeVersion() {
|
|
273780
|
-
return "0.7.
|
|
273780
|
+
return "0.7.6";
|
|
273781
273781
|
}
|
|
273782
273782
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
273783
273783
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -275144,8 +275144,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275144
275144
|
const maxVersion = await getMaxVersion();
|
|
275145
275145
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
275146
275146
|
logForDebugging2(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
275147
|
-
if (gte("0.7.
|
|
275148
|
-
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`);
|
|
275149
275149
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
275150
275150
|
latency_ms: Date.now() - startTime,
|
|
275151
275151
|
max_version: maxVersion,
|
|
@@ -275156,7 +275156,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275156
275156
|
version2 = maxVersion;
|
|
275157
275157
|
}
|
|
275158
275158
|
}
|
|
275159
|
-
if (!forceReinstall && version2 === "0.7.
|
|
275159
|
+
if (!forceReinstall && version2 === "0.7.6" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
275160
275160
|
logForDebugging2(`Found ${version2} at ${executablePath}, skipping install`);
|
|
275161
275161
|
logEvent("tengu_native_update_complete", {
|
|
275162
275162
|
latency_ms: Date.now() - startTime,
|
|
@@ -380328,7 +380328,7 @@ function getAnthropicEnvMetadata() {
|
|
|
380328
380328
|
function getBuildAgeMinutes() {
|
|
380329
380329
|
if (false)
|
|
380330
380330
|
;
|
|
380331
|
-
const buildTime = new Date("2026-04-
|
|
380331
|
+
const buildTime = new Date("2026-04-30T13:52:54.445Z").getTime();
|
|
380332
380332
|
if (isNaN(buildTime))
|
|
380333
380333
|
return;
|
|
380334
380334
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -406419,7 +406419,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
406419
406419
|
const client2 = new Client({
|
|
406420
406420
|
name: "claude-code",
|
|
406421
406421
|
title: "ZeroCLI",
|
|
406422
|
-
version: "0.7.
|
|
406422
|
+
version: "0.7.6",
|
|
406423
406423
|
description: "Anthropic's agentic coding tool",
|
|
406424
406424
|
websiteUrl: PRODUCT_URL
|
|
406425
406425
|
}, {
|
|
@@ -406773,7 +406773,7 @@ var init_client7 = __esm(() => {
|
|
|
406773
406773
|
const client2 = new Client({
|
|
406774
406774
|
name: "claude-code",
|
|
406775
406775
|
title: "ZeroCLI",
|
|
406776
|
-
version: "0.7.
|
|
406776
|
+
version: "0.7.6",
|
|
406777
406777
|
description: "Anthropic's agentic coding tool",
|
|
406778
406778
|
websiteUrl: PRODUCT_URL
|
|
406779
406779
|
}, {
|
|
@@ -417433,7 +417433,7 @@ function Feedback({
|
|
|
417433
417433
|
platform: env2.platform,
|
|
417434
417434
|
gitRepo: envInfo.isGit,
|
|
417435
417435
|
terminal: env2.terminal,
|
|
417436
|
-
version: "0.7.
|
|
417436
|
+
version: "0.7.6",
|
|
417437
417437
|
transcript: normalizeMessagesForAPI(messages),
|
|
417438
417438
|
errors: sanitizedErrors,
|
|
417439
417439
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -417626,7 +417626,7 @@ function Feedback({
|
|
|
417626
417626
|
", ",
|
|
417627
417627
|
env2.terminal,
|
|
417628
417628
|
", v",
|
|
417629
|
-
"0.7.
|
|
417629
|
+
"0.7.6"
|
|
417630
417630
|
]
|
|
417631
417631
|
}, undefined, true, undefined, this)
|
|
417632
417632
|
]
|
|
@@ -417734,7 +417734,7 @@ ${sanitizedDescription}
|
|
|
417734
417734
|
` + `**Environment Info**
|
|
417735
417735
|
` + `- Platform: ${env2.platform}
|
|
417736
417736
|
` + `- Terminal: ${env2.terminal}
|
|
417737
|
-
` + `- Version: ${"0.7.
|
|
417737
|
+
` + `- Version: ${"0.7.6"}
|
|
417738
417738
|
` + feedbackIdLine + `
|
|
417739
417739
|
**Errors**
|
|
417740
417740
|
\`\`\`json
|
|
@@ -420889,7 +420889,7 @@ function buildPrimarySection() {
|
|
|
420889
420889
|
}, undefined, false, undefined, this);
|
|
420890
420890
|
return [{
|
|
420891
420891
|
label: "Version",
|
|
420892
|
-
value: "0.7.
|
|
420892
|
+
value: "0.7.6"
|
|
420893
420893
|
}, {
|
|
420894
420894
|
label: "Session name",
|
|
420895
420895
|
value: nameValue
|
|
@@ -425636,7 +425636,7 @@ function Config({
|
|
|
425636
425636
|
}
|
|
425637
425637
|
}, undefined, false, undefined, this)
|
|
425638
425638
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime181.jsxDEV(ChannelDowngradeDialog, {
|
|
425639
|
-
currentVersion: "0.7.
|
|
425639
|
+
currentVersion: "0.7.6",
|
|
425640
425640
|
onChoice: (choice) => {
|
|
425641
425641
|
setShowSubmenu(null);
|
|
425642
425642
|
setTabsHidden(false);
|
|
@@ -425648,7 +425648,7 @@ function Config({
|
|
|
425648
425648
|
autoUpdatesChannel: "stable"
|
|
425649
425649
|
};
|
|
425650
425650
|
if (choice === "stay") {
|
|
425651
|
-
newSettings.minimumVersion = "0.7.
|
|
425651
|
+
newSettings.minimumVersion = "0.7.6";
|
|
425652
425652
|
}
|
|
425653
425653
|
updateSettingsForSource("userSettings", newSettings);
|
|
425654
425654
|
setSettingsData((prev_27) => ({
|
|
@@ -434541,7 +434541,7 @@ function HelpV2(t0) {
|
|
|
434541
434541
|
let t6;
|
|
434542
434542
|
if ($2[31] !== tabs) {
|
|
434543
434543
|
t6 = /* @__PURE__ */ jsx_dev_runtime210.jsxDEV(Tabs, {
|
|
434544
|
-
title: `ZeroCLI v${"0.7.
|
|
434544
|
+
title: `ZeroCLI v${"0.7.6"}`,
|
|
434545
434545
|
color: "professionalBlue",
|
|
434546
434546
|
defaultTab: "general",
|
|
434547
434547
|
children: tabs
|
|
@@ -459348,7 +459348,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
459348
459348
|
return [];
|
|
459349
459349
|
}
|
|
459350
459350
|
}
|
|
459351
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
459351
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.6") {
|
|
459352
459352
|
if (process.env.USER_TYPE === "ant") {
|
|
459353
459353
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
459354
459354
|
if (changelog) {
|
|
@@ -488382,7 +488382,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
488382
488382
|
smapsRollup,
|
|
488383
488383
|
platform: process.platform,
|
|
488384
488384
|
nodeVersion: process.version,
|
|
488385
|
-
ccVersion: "0.7.
|
|
488385
|
+
ccVersion: "0.7.6"
|
|
488386
488386
|
};
|
|
488387
488387
|
}
|
|
488388
488388
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -488969,7 +488969,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
488969
488969
|
var call59 = async () => {
|
|
488970
488970
|
return {
|
|
488971
488971
|
type: "text",
|
|
488972
|
-
value: `${"0.7.
|
|
488972
|
+
value: `${"0.7.6"} (built ${"2026-04-30T13:52:54.445Z"})`
|
|
488973
488973
|
};
|
|
488974
488974
|
}, version2, version_default;
|
|
488975
488975
|
var init_version = __esm(() => {
|
|
@@ -499138,7 +499138,7 @@ function generateHtmlReport(data, insights) {
|
|
|
499138
499138
|
</html>`;
|
|
499139
499139
|
}
|
|
499140
499140
|
function buildExportData(data, insights, facets) {
|
|
499141
|
-
const version3 = typeof MACRO !== "undefined" ? "0.7.
|
|
499141
|
+
const version3 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
499142
499142
|
const facets_summary = {
|
|
499143
499143
|
total: facets.size,
|
|
499144
499144
|
goal_categories: {},
|
|
@@ -503328,7 +503328,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
503328
503328
|
init_settings2();
|
|
503329
503329
|
init_slowOperations();
|
|
503330
503330
|
init_uuid();
|
|
503331
|
-
VERSION7 = typeof MACRO !== "undefined" ? "0.7.
|
|
503331
|
+
VERSION7 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
|
|
503332
503332
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
503333
503333
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
503334
503334
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -504638,7 +504638,7 @@ var init_filesystem = __esm(() => {
|
|
|
504638
504638
|
});
|
|
504639
504639
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
504640
504640
|
const nonce = randomBytes17(16).toString("hex");
|
|
504641
|
-
return join136(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
504641
|
+
return join136(getClaudeTempDir(), "bundled-skills", "0.7.6", nonce);
|
|
504642
504642
|
});
|
|
504643
504643
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
504644
504644
|
});
|
|
@@ -515640,7 +515640,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
515640
515640
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
515641
515641
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
515642
515642
|
betas: getSdkBetas(),
|
|
515643
|
-
claude_code_version: "0.7.
|
|
515643
|
+
claude_code_version: "0.7.6",
|
|
515644
515644
|
output_style: outputStyle2,
|
|
515645
515645
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
515646
515646
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -530959,7 +530959,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
530959
530959
|
function getSemverPart(version3) {
|
|
530960
530960
|
return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
|
|
530961
530961
|
}
|
|
530962
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
530962
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.6") {
|
|
530963
530963
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
530964
530964
|
if (!updatedVersion) {
|
|
530965
530965
|
return null;
|
|
@@ -530999,7 +530999,7 @@ function AutoUpdater({
|
|
|
530999
530999
|
return;
|
|
531000
531000
|
}
|
|
531001
531001
|
if (false) {}
|
|
531002
|
-
const currentVersion = "0.7.
|
|
531002
|
+
const currentVersion = "0.7.6";
|
|
531003
531003
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
531004
531004
|
let latestVersion = await getLatestVersion(channel);
|
|
531005
531005
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -531210,12 +531210,12 @@ function NativeAutoUpdater({
|
|
|
531210
531210
|
logEvent("tengu_native_auto_updater_start", {});
|
|
531211
531211
|
try {
|
|
531212
531212
|
const maxVersion = await getMaxVersion();
|
|
531213
|
-
if (maxVersion && gt("0.7.
|
|
531213
|
+
if (maxVersion && gt("0.7.6", maxVersion)) {
|
|
531214
531214
|
const msg = await getMaxVersionMessage();
|
|
531215
531215
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
531216
531216
|
}
|
|
531217
531217
|
const result = await installLatest(channel);
|
|
531218
|
-
const currentVersion = "0.7.
|
|
531218
|
+
const currentVersion = "0.7.6";
|
|
531219
531219
|
const latencyMs = Date.now() - startTime;
|
|
531220
531220
|
if (result.lockFailed) {
|
|
531221
531221
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -531348,17 +531348,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
531348
531348
|
const maxVersion = await getMaxVersion();
|
|
531349
531349
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
531350
531350
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
531351
|
-
if (gte("0.7.
|
|
531352
|
-
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`);
|
|
531353
531353
|
setUpdateAvailable(false);
|
|
531354
531354
|
return;
|
|
531355
531355
|
}
|
|
531356
531356
|
latest = maxVersion;
|
|
531357
531357
|
}
|
|
531358
|
-
const hasUpdate = latest && !gte("0.7.
|
|
531358
|
+
const hasUpdate = latest && !gte("0.7.6", latest) && !shouldSkipVersion(latest);
|
|
531359
531359
|
setUpdateAvailable(!!hasUpdate);
|
|
531360
531360
|
if (hasUpdate) {
|
|
531361
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
531361
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.6"} -> ${latest}`);
|
|
531362
531362
|
}
|
|
531363
531363
|
};
|
|
531364
531364
|
$2[0] = t1;
|
|
@@ -531392,7 +531392,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
531392
531392
|
wrap: "truncate",
|
|
531393
531393
|
children: [
|
|
531394
531394
|
"currentVersion: ",
|
|
531395
|
-
"0.7.
|
|
531395
|
+
"0.7.6"
|
|
531396
531396
|
]
|
|
531397
531397
|
}, undefined, true, undefined, this);
|
|
531398
531398
|
$2[3] = verbose;
|
|
@@ -540144,7 +540144,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
540144
540144
|
project_dir: getOriginalCwd(),
|
|
540145
540145
|
added_dirs: addedDirs
|
|
540146
540146
|
},
|
|
540147
|
-
version: "0.7.
|
|
540147
|
+
version: "0.7.6",
|
|
540148
540148
|
output_style: {
|
|
540149
540149
|
name: outputStyleName
|
|
540150
540150
|
},
|
|
@@ -564253,12 +564253,13 @@ async function checkEndpoints() {
|
|
|
564253
564253
|
}
|
|
564254
564254
|
}
|
|
564255
564255
|
function PreflightStep(t0) {
|
|
564256
|
-
const $2 = import_react_compiler_runtime356.c(
|
|
564256
|
+
const $2 = import_react_compiler_runtime356.c(15);
|
|
564257
564257
|
const {
|
|
564258
564258
|
onSuccess
|
|
564259
564259
|
} = t0;
|
|
564260
564260
|
const [result, setResult] = import_react318.useState(null);
|
|
564261
564261
|
const [isChecking, setIsChecking] = import_react318.useState(true);
|
|
564262
|
+
const [bypassAllowed, setBypassAllowed] = import_react318.useState(false);
|
|
564262
564263
|
const showSpinner = useTimeout(1000) && isChecking;
|
|
564263
564264
|
let t1;
|
|
564264
564265
|
let t2;
|
|
@@ -564281,30 +564282,45 @@ function PreflightStep(t0) {
|
|
|
564281
564282
|
import_react318.useEffect(t1, t2);
|
|
564282
564283
|
let t3;
|
|
564283
564284
|
let t4;
|
|
564284
|
-
if ($2[2] !==
|
|
564285
|
+
if ($2[2] !== result) {
|
|
564285
564286
|
t3 = () => {
|
|
564286
564287
|
if (result?.success) {
|
|
564287
564288
|
onSuccess();
|
|
564288
|
-
} else {
|
|
564289
|
-
|
|
564290
|
-
|
|
564291
|
-
|
|
564292
|
-
}
|
|
564289
|
+
} else if (result && !result.success) {
|
|
564290
|
+
setBypassAllowed(false);
|
|
564291
|
+
const timer = setTimeout(() => setBypassAllowed(true), BYPASS_TIMEOUT_MS);
|
|
564292
|
+
return () => clearTimeout(timer);
|
|
564293
564293
|
}
|
|
564294
564294
|
};
|
|
564295
|
-
t4 = [result
|
|
564296
|
-
$2[2] =
|
|
564297
|
-
$2[3] =
|
|
564298
|
-
$2[4] =
|
|
564299
|
-
$2[5] = t4;
|
|
564295
|
+
t4 = [result];
|
|
564296
|
+
$2[2] = result;
|
|
564297
|
+
$2[3] = t3;
|
|
564298
|
+
$2[4] = t4;
|
|
564300
564299
|
} else {
|
|
564301
|
-
t3 = $2[
|
|
564302
|
-
t4 = $2[
|
|
564300
|
+
t3 = $2[3];
|
|
564301
|
+
t4 = $2[4];
|
|
564303
564302
|
}
|
|
564304
564303
|
import_react318.useEffect(t3, t4);
|
|
564305
564304
|
let t5;
|
|
564306
|
-
|
|
564307
|
-
|
|
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, {
|
|
564308
564324
|
paddingLeft: 1,
|
|
564309
564325
|
children: [
|
|
564310
564326
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
@@ -564317,8 +564333,8 @@ function PreflightStep(t0) {
|
|
|
564317
564333
|
gap: 1,
|
|
564318
564334
|
children: [
|
|
564319
564335
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564320
|
-
color: "
|
|
564321
|
-
children: "Unable to connect to Anthropic services"
|
|
564336
|
+
color: "warning",
|
|
564337
|
+
children: "⚠️ Unable to connect to Anthropic services"
|
|
564322
564338
|
}, undefined, false, undefined, this),
|
|
564323
564339
|
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
564324
564340
|
color: "error",
|
|
@@ -564354,35 +564370,44 @@ function PreflightStep(t0) {
|
|
|
564354
564370
|
]
|
|
564355
564371
|
}, undefined, true, undefined, this)
|
|
564356
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
|
+
]
|
|
564357
564384
|
}, undefined, true, undefined, this)
|
|
564358
564385
|
]
|
|
564359
564386
|
}, undefined, true, undefined, this);
|
|
564360
|
-
$2[
|
|
564361
|
-
$2[
|
|
564362
|
-
$2[
|
|
564363
|
-
$2[
|
|
564387
|
+
$2[8] = isChecking;
|
|
564388
|
+
$2[9] = result;
|
|
564389
|
+
$2[10] = showSpinner;
|
|
564390
|
+
$2[11] = bypassAllowed;
|
|
564391
|
+
$2[12] = t7;
|
|
564364
564392
|
} else {
|
|
564365
|
-
|
|
564393
|
+
t7 = $2[12];
|
|
564366
564394
|
}
|
|
564367
|
-
let
|
|
564368
|
-
if ($2[
|
|
564369
|
-
|
|
564395
|
+
let t8;
|
|
564396
|
+
if ($2[13] !== t7) {
|
|
564397
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
564370
564398
|
flexDirection: "column",
|
|
564371
564399
|
gap: 1,
|
|
564372
564400
|
paddingLeft: 1,
|
|
564373
|
-
children:
|
|
564401
|
+
children: t7
|
|
564374
564402
|
}, undefined, false, undefined, this);
|
|
564375
|
-
$2[
|
|
564376
|
-
$2[
|
|
564403
|
+
$2[13] = t7;
|
|
564404
|
+
$2[14] = t8;
|
|
564377
564405
|
} else {
|
|
564378
|
-
|
|
564406
|
+
t8 = $2[14];
|
|
564379
564407
|
}
|
|
564380
|
-
return
|
|
564381
|
-
}
|
|
564382
|
-
function _temp300() {
|
|
564383
|
-
return process.exit(1);
|
|
564408
|
+
return t8;
|
|
564384
564409
|
}
|
|
564385
|
-
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;
|
|
564386
564411
|
var init_preflightChecks = __esm(() => {
|
|
564387
564412
|
init_axios2();
|
|
564388
564413
|
init_Spinner2();
|
|
@@ -564606,7 +564631,7 @@ function WelcomeV2() {
|
|
|
564606
564631
|
dimColor: true,
|
|
564607
564632
|
children: [
|
|
564608
564633
|
"v",
|
|
564609
|
-
"0.7.
|
|
564634
|
+
"0.7.6",
|
|
564610
564635
|
" "
|
|
564611
564636
|
]
|
|
564612
564637
|
}, undefined, true, undefined, this)
|
|
@@ -564806,7 +564831,7 @@ function WelcomeV2() {
|
|
|
564806
564831
|
dimColor: true,
|
|
564807
564832
|
children: [
|
|
564808
564833
|
"v",
|
|
564809
|
-
"0.7.
|
|
564834
|
+
"0.7.6",
|
|
564810
564835
|
" "
|
|
564811
564836
|
]
|
|
564812
564837
|
}, undefined, true, undefined, this)
|
|
@@ -565032,7 +565057,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565032
565057
|
dimColor: true,
|
|
565033
565058
|
children: [
|
|
565034
565059
|
"v",
|
|
565035
|
-
"0.7.
|
|
565060
|
+
"0.7.6",
|
|
565036
565061
|
" "
|
|
565037
565062
|
]
|
|
565038
565063
|
}, undefined, true, undefined, this);
|
|
@@ -565286,7 +565311,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565286
565311
|
dimColor: true,
|
|
565287
565312
|
children: [
|
|
565288
565313
|
"v",
|
|
565289
|
-
"0.7.
|
|
565314
|
+
"0.7.6",
|
|
565290
565315
|
" "
|
|
565291
565316
|
]
|
|
565292
565317
|
}, undefined, true, undefined, this);
|
|
@@ -566459,9 +566484,9 @@ function _temp360(tool_0) {
|
|
|
566459
566484
|
return tool_0 === BASH_TOOL_NAME || tool_0.startsWith(BASH_TOOL_NAME + "(");
|
|
566460
566485
|
}
|
|
566461
566486
|
function _temp298(command9) {
|
|
566462
|
-
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);
|
|
566463
566488
|
}
|
|
566464
|
-
function
|
|
566489
|
+
function _temp300(tool) {
|
|
566465
566490
|
return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
|
|
566466
566491
|
}
|
|
566467
566492
|
var import_react_compiler_runtime362, import_react322, jsx_dev_runtime477;
|
|
@@ -566500,7 +566525,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
566500
566525
|
} else {
|
|
566501
566526
|
t1 = $2[0];
|
|
566502
566527
|
}
|
|
566503
|
-
import_react323.default.useEffect(
|
|
566528
|
+
import_react323.default.useEffect(_temp301, t1);
|
|
566504
566529
|
let t2;
|
|
566505
566530
|
if ($2[1] !== onAccept) {
|
|
566506
566531
|
t2 = function onChange2(value) {
|
|
@@ -566588,7 +566613,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
566588
566613
|
function _temp2100() {
|
|
566589
566614
|
gracefulShutdownSync(0);
|
|
566590
566615
|
}
|
|
566591
|
-
function
|
|
566616
|
+
function _temp301() {
|
|
566592
566617
|
logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
|
|
566593
566618
|
}
|
|
566594
566619
|
var import_react_compiler_runtime363, import_react323, jsx_dev_runtime478;
|
|
@@ -566620,7 +566645,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
566620
566645
|
t1 = () => {
|
|
566621
566646
|
logEvent("tengu_claude_in_chrome_onboarding_shown", {});
|
|
566622
566647
|
isChromeExtensionInstalled().then(setIsExtensionInstalled);
|
|
566623
|
-
saveGlobalConfig(
|
|
566648
|
+
saveGlobalConfig(_temp302);
|
|
566624
566649
|
};
|
|
566625
566650
|
t2 = [];
|
|
566626
566651
|
$2[0] = t1;
|
|
@@ -566769,7 +566794,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
566769
566794
|
}
|
|
566770
566795
|
return t11;
|
|
566771
566796
|
}
|
|
566772
|
-
function
|
|
566797
|
+
function _temp302(current) {
|
|
566773
566798
|
return {
|
|
566774
566799
|
...current,
|
|
566775
566800
|
hasCompletedClaudeInChromeOnboarding: true
|
|
@@ -566792,7 +566817,7 @@ function completeOnboarding() {
|
|
|
566792
566817
|
saveGlobalConfig((current) => ({
|
|
566793
566818
|
...current,
|
|
566794
566819
|
hasCompletedOnboarding: true,
|
|
566795
|
-
lastOnboardingVersion: "0.7.
|
|
566820
|
+
lastOnboardingVersion: "0.7.6"
|
|
566796
566821
|
}));
|
|
566797
566822
|
}
|
|
566798
566823
|
function showDialog(root2, renderer) {
|
|
@@ -567855,7 +567880,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
567855
567880
|
} else {
|
|
567856
567881
|
t32 = $2[7];
|
|
567857
567882
|
}
|
|
567858
|
-
t2 = [...availablePaths.map(
|
|
567883
|
+
t2 = [...availablePaths.map(_temp303), t32];
|
|
567859
567884
|
$2[5] = availablePaths;
|
|
567860
567885
|
$2[6] = t2;
|
|
567861
567886
|
} else {
|
|
@@ -567941,7 +567966,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
567941
567966
|
}
|
|
567942
567967
|
return t4;
|
|
567943
567968
|
}
|
|
567944
|
-
function
|
|
567969
|
+
function _temp303(path24) {
|
|
567945
567970
|
return {
|
|
567946
567971
|
label: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
567947
567972
|
children: [
|
|
@@ -568291,7 +568316,7 @@ function NoConversationsMessage() {
|
|
|
568291
568316
|
} else {
|
|
568292
568317
|
t0 = $2[0];
|
|
568293
568318
|
}
|
|
568294
|
-
useKeybinding("app:interrupt",
|
|
568319
|
+
useKeybinding("app:interrupt", _temp304, t0);
|
|
568295
568320
|
let t1;
|
|
568296
568321
|
if ($2[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
568297
568322
|
t1 = /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(ThemedBox_default, {
|
|
@@ -568312,7 +568337,7 @@ function NoConversationsMessage() {
|
|
|
568312
568337
|
}
|
|
568313
568338
|
return t1;
|
|
568314
568339
|
}
|
|
568315
|
-
function
|
|
568340
|
+
function _temp304() {
|
|
568316
568341
|
process.exit(1);
|
|
568317
568342
|
}
|
|
568318
568343
|
function CrossProjectMessage(t0) {
|
|
@@ -571043,7 +571068,7 @@ function appendToLog(path24, message) {
|
|
|
571043
571068
|
cwd: getFsImplementation().cwd(),
|
|
571044
571069
|
userType: process.env.USER_TYPE,
|
|
571045
571070
|
sessionId: getSessionId(),
|
|
571046
|
-
version: "0.7.
|
|
571071
|
+
version: "0.7.6"
|
|
571047
571072
|
};
|
|
571048
571073
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
571049
571074
|
}
|
|
@@ -572071,7 +572096,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
572071
572096
|
setCwd(cwd2);
|
|
572072
572097
|
const server = new Server({
|
|
572073
572098
|
name: "claude/tengu",
|
|
572074
|
-
version: "0.7.
|
|
572099
|
+
version: "0.7.6"
|
|
572075
572100
|
}, {
|
|
572076
572101
|
capabilities: {
|
|
572077
572102
|
tools: {}
|
|
@@ -576664,8 +576689,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
576664
576689
|
}
|
|
576665
576690
|
async function checkEnvLessBridgeMinVersion() {
|
|
576666
576691
|
const cfg = await getEnvLessBridgeConfig();
|
|
576667
|
-
if (cfg.min_version && lt("0.7.
|
|
576668
|
-
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.
|
|
576669
576694
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
576670
576695
|
}
|
|
576671
576696
|
return null;
|
|
@@ -577140,7 +577165,7 @@ async function initBridgeCore(params) {
|
|
|
577140
577165
|
const rawApi = createBridgeApiClient({
|
|
577141
577166
|
baseUrl,
|
|
577142
577167
|
getAccessToken,
|
|
577143
|
-
runnerVersion: "0.7.
|
|
577168
|
+
runnerVersion: "0.7.6",
|
|
577144
577169
|
onDebug: logForDebugging2,
|
|
577145
577170
|
onAuth401,
|
|
577146
577171
|
getTrustedDeviceToken
|
|
@@ -582781,7 +582806,7 @@ function SetupNotes(t0) {
|
|
|
582781
582806
|
}
|
|
582782
582807
|
let t2;
|
|
582783
582808
|
if ($2[1] !== messages) {
|
|
582784
|
-
t2 = messages.map(
|
|
582809
|
+
t2 = messages.map(_temp305);
|
|
582785
582810
|
$2[1] = messages;
|
|
582786
582811
|
$2[2] = t2;
|
|
582787
582812
|
} else {
|
|
@@ -582805,7 +582830,7 @@ function SetupNotes(t0) {
|
|
|
582805
582830
|
}
|
|
582806
582831
|
return t3;
|
|
582807
582832
|
}
|
|
582808
|
-
function
|
|
582833
|
+
function _temp305(message, index) {
|
|
582809
582834
|
return /* @__PURE__ */ jsx_dev_runtime490.jsxDEV(ThemedBox_default, {
|
|
582810
582835
|
marginLeft: 2,
|
|
582811
582836
|
children: /* @__PURE__ */ jsx_dev_runtime490.jsxDEV(ThemedText, {
|
|
@@ -583407,7 +583432,7 @@ __export(exports_update, {
|
|
|
583407
583432
|
});
|
|
583408
583433
|
async function update() {
|
|
583409
583434
|
logEvent("tengu_update_check", {});
|
|
583410
|
-
writeToStdout(`Current version: ${"0.7.
|
|
583435
|
+
writeToStdout(`Current version: ${"0.7.6"}
|
|
583411
583436
|
`);
|
|
583412
583437
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
583413
583438
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -583482,8 +583507,8 @@ async function update() {
|
|
|
583482
583507
|
writeToStdout(`Claude is managed by Homebrew.
|
|
583483
583508
|
`);
|
|
583484
583509
|
const latest = await getLatestVersion(channel);
|
|
583485
|
-
if (latest && !gte("0.7.
|
|
583486
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583510
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583511
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583487
583512
|
`);
|
|
583488
583513
|
writeToStdout(`
|
|
583489
583514
|
`);
|
|
@@ -583499,8 +583524,8 @@ async function update() {
|
|
|
583499
583524
|
writeToStdout(`Claude is managed by winget.
|
|
583500
583525
|
`);
|
|
583501
583526
|
const latest = await getLatestVersion(channel);
|
|
583502
|
-
if (latest && !gte("0.7.
|
|
583503
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583527
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583528
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583504
583529
|
`);
|
|
583505
583530
|
writeToStdout(`
|
|
583506
583531
|
`);
|
|
@@ -583516,8 +583541,8 @@ async function update() {
|
|
|
583516
583541
|
writeToStdout(`Claude is managed by apk.
|
|
583517
583542
|
`);
|
|
583518
583543
|
const latest = await getLatestVersion(channel);
|
|
583519
|
-
if (latest && !gte("0.7.
|
|
583520
|
-
writeToStdout(`Update available: ${"0.7.
|
|
583544
|
+
if (latest && !gte("0.7.6", latest)) {
|
|
583545
|
+
writeToStdout(`Update available: ${"0.7.6"} → ${latest}
|
|
583521
583546
|
`);
|
|
583522
583547
|
writeToStdout(`
|
|
583523
583548
|
`);
|
|
@@ -583582,11 +583607,11 @@ async function update() {
|
|
|
583582
583607
|
`);
|
|
583583
583608
|
await gracefulShutdown(1);
|
|
583584
583609
|
}
|
|
583585
|
-
if (result.latestVersion === "0.7.
|
|
583586
|
-
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"})`) + `
|
|
583587
583612
|
`);
|
|
583588
583613
|
} else {
|
|
583589
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583614
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${result.latestVersion}`) + `
|
|
583590
583615
|
`);
|
|
583591
583616
|
await regenerateCompletionCache();
|
|
583592
583617
|
}
|
|
@@ -583646,12 +583671,12 @@ async function update() {
|
|
|
583646
583671
|
`);
|
|
583647
583672
|
await gracefulShutdown(1);
|
|
583648
583673
|
}
|
|
583649
|
-
if (latestVersion === "0.7.
|
|
583650
|
-
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"})`) + `
|
|
583651
583676
|
`);
|
|
583652
583677
|
await gracefulShutdown(0);
|
|
583653
583678
|
}
|
|
583654
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
583679
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.6"})
|
|
583655
583680
|
`);
|
|
583656
583681
|
writeToStdout(`Installing update...
|
|
583657
583682
|
`);
|
|
@@ -583696,7 +583721,7 @@ async function update() {
|
|
|
583696
583721
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
583697
583722
|
switch (status2) {
|
|
583698
583723
|
case "success":
|
|
583699
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
583724
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${latestVersion}`) + `
|
|
583700
583725
|
`);
|
|
583701
583726
|
await regenerateCompletionCache();
|
|
583702
583727
|
break;
|
|
@@ -584947,7 +584972,7 @@ ${customInstructions}` : customInstructions;
|
|
|
584947
584972
|
}
|
|
584948
584973
|
}
|
|
584949
584974
|
logForDiagnosticsNoPII("info", "started", {
|
|
584950
|
-
version: "0.7.
|
|
584975
|
+
version: "0.7.6",
|
|
584951
584976
|
is_native_binary: isInBundledMode()
|
|
584952
584977
|
});
|
|
584953
584978
|
registerCleanup(async () => {
|
|
@@ -585746,7 +585771,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
585746
585771
|
pendingHookMessages
|
|
585747
585772
|
}, renderAndRun);
|
|
585748
585773
|
}
|
|
585749
|
-
}).version("0.7.
|
|
585774
|
+
}).version("0.7.6", "-v, --version", "Output the version number");
|
|
585750
585775
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
585751
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.");
|
|
585752
585777
|
if (canUserConfigureAdvisor()) {
|
|
@@ -586302,7 +586327,7 @@ if (false) {}
|
|
|
586302
586327
|
async function main2() {
|
|
586303
586328
|
const args = process.argv.slice(2);
|
|
586304
586329
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
586305
|
-
console.log(`${"0.7.
|
|
586330
|
+
console.log(`${"0.7.6"} (ZeroCLI)`);
|
|
586306
586331
|
return;
|
|
586307
586332
|
}
|
|
586308
586333
|
if (args.includes("--provider")) {
|
|
@@ -586444,4 +586469,4 @@ async function main2() {
|
|
|
586444
586469
|
}
|
|
586445
586470
|
main2();
|
|
586446
586471
|
|
|
586447
|
-
//# debugId=
|
|
586472
|
+
//# debugId=54DA91A88BFB824364756E2164756E21
|