@duheso/zerocli 0.8.8 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +79 -79
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -119191,7 +119191,7 @@ function buildProviderInfoLines() {
|
|
|
119191
119191
|
const sLen = ` ● ${sL} ${sReady}`.length;
|
|
119192
119192
|
out.push(boxRow(sRow, W2, sLen));
|
|
119193
119193
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
119194
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.8.
|
|
119194
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.8.9"}${RESET}`);
|
|
119195
119195
|
return out;
|
|
119196
119196
|
}
|
|
119197
119197
|
function printStartupScreen() {}
|
|
@@ -147382,7 +147382,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
147382
147382
|
if (!isAttributionHeaderEnabled()) {
|
|
147383
147383
|
return "";
|
|
147384
147384
|
}
|
|
147385
|
-
const version2 = `${"0.8.
|
|
147385
|
+
const version2 = `${"0.8.9"}.${fingerprint}`;
|
|
147386
147386
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
147387
147387
|
const cch = "";
|
|
147388
147388
|
const workload = getWorkload();
|
|
@@ -190386,7 +190386,7 @@ var init_imageValidation = __esm(() => {
|
|
|
190386
190386
|
|
|
190387
190387
|
// src/utils/userAgent.ts
|
|
190388
190388
|
function getZeroCodeUserAgent() {
|
|
190389
|
-
return `claude-code/${"0.8.
|
|
190389
|
+
return `claude-code/${"0.8.9"}`;
|
|
190390
190390
|
}
|
|
190391
190391
|
|
|
190392
190392
|
// src/utils/http.ts
|
|
@@ -190395,7 +190395,7 @@ function getUserAgent() {
|
|
|
190395
190395
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
190396
190396
|
const workload = getWorkload();
|
|
190397
190397
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
190398
|
-
return `claude-cli/${"0.8.
|
|
190398
|
+
return `claude-cli/${"0.8.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
190399
190399
|
}
|
|
190400
190400
|
function getMCPUserAgent() {
|
|
190401
190401
|
const parts = [];
|
|
@@ -190409,7 +190409,7 @@ function getMCPUserAgent() {
|
|
|
190409
190409
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
190410
190410
|
}
|
|
190411
190411
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
190412
|
-
return `claude-code/${"0.8.
|
|
190412
|
+
return `claude-code/${"0.8.9"}${suffix}`;
|
|
190413
190413
|
}
|
|
190414
190414
|
function getWebFetchUserAgent() {
|
|
190415
190415
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
|
|
@@ -244838,7 +244838,7 @@ function getTelemetryAttributes() {
|
|
|
244838
244838
|
attributes["session.id"] = sessionId;
|
|
244839
244839
|
}
|
|
244840
244840
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
244841
|
-
attributes["app.version"] = "0.8.
|
|
244841
|
+
attributes["app.version"] = "0.8.9";
|
|
244842
244842
|
}
|
|
244843
244843
|
const oauthAccount = getOauthAccountInfo();
|
|
244844
244844
|
if (oauthAccount) {
|
|
@@ -257077,7 +257077,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
257077
257077
|
}
|
|
257078
257078
|
function computeFingerprintFromMessages(messages) {
|
|
257079
257079
|
const firstMessageText = extractFirstMessageText(messages);
|
|
257080
|
-
return computeFingerprint(firstMessageText, "0.8.
|
|
257080
|
+
return computeFingerprint(firstMessageText, "0.8.9");
|
|
257081
257081
|
}
|
|
257082
257082
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
257083
257083
|
var init_fingerprint = () => {};
|
|
@@ -257119,7 +257119,7 @@ async function sideQuery(opts) {
|
|
|
257119
257119
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
257120
257120
|
}
|
|
257121
257121
|
const messageText = extractFirstUserMessageText(messages);
|
|
257122
|
-
const fingerprint = computeFingerprint(messageText, "0.8.
|
|
257122
|
+
const fingerprint = computeFingerprint(messageText, "0.8.9");
|
|
257123
257123
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
257124
257124
|
const systemBlocks = [
|
|
257125
257125
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -266021,7 +266021,7 @@ var init_user = __esm(() => {
|
|
|
266021
266021
|
deviceId,
|
|
266022
266022
|
sessionId: getSessionId(),
|
|
266023
266023
|
email: getEmail(),
|
|
266024
|
-
appVersion: "0.8.
|
|
266024
|
+
appVersion: "0.8.9",
|
|
266025
266025
|
platform: getHostPlatformForAnalytics(),
|
|
266026
266026
|
organizationUuid,
|
|
266027
266027
|
accountUuid,
|
|
@@ -266415,7 +266415,7 @@ async function initializeBetaTracing(resource) {
|
|
|
266415
266415
|
});
|
|
266416
266416
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266417
266417
|
setLoggerProvider(loggerProvider);
|
|
266418
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.
|
|
266418
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.9");
|
|
266419
266419
|
setEventLogger(eventLogger);
|
|
266420
266420
|
process.on("beforeExit", async () => {
|
|
266421
266421
|
await loggerProvider?.forceFlush();
|
|
@@ -266455,7 +266455,7 @@ async function initializeTelemetry() {
|
|
|
266455
266455
|
const platform3 = getPlatform();
|
|
266456
266456
|
const baseAttributes = {
|
|
266457
266457
|
[ATTR_SERVICE_NAME3]: "claude-code",
|
|
266458
|
-
[ATTR_SERVICE_VERSION3]: "0.8.
|
|
266458
|
+
[ATTR_SERVICE_VERSION3]: "0.8.9"
|
|
266459
266459
|
};
|
|
266460
266460
|
if (platform3 === "wsl") {
|
|
266461
266461
|
const wslVersion = getWslVersion();
|
|
@@ -266500,7 +266500,7 @@ async function initializeTelemetry() {
|
|
|
266500
266500
|
} catch {}
|
|
266501
266501
|
};
|
|
266502
266502
|
registerCleanup(shutdownTelemetry2);
|
|
266503
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.8.
|
|
266503
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.8.9");
|
|
266504
266504
|
}
|
|
266505
266505
|
const meterProvider = new MeterProvider3({
|
|
266506
266506
|
resource,
|
|
@@ -266520,7 +266520,7 @@ async function initializeTelemetry() {
|
|
|
266520
266520
|
});
|
|
266521
266521
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266522
266522
|
setLoggerProvider(loggerProvider);
|
|
266523
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.
|
|
266523
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.9");
|
|
266524
266524
|
setEventLogger(eventLogger);
|
|
266525
266525
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
266526
266526
|
process.on("beforeExit", async () => {
|
|
@@ -266582,7 +266582,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
266582
266582
|
}
|
|
266583
266583
|
};
|
|
266584
266584
|
registerCleanup(shutdownTelemetry);
|
|
266585
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.8.
|
|
266585
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.8.9");
|
|
266586
266586
|
}
|
|
266587
266587
|
async function flushTelemetry() {
|
|
266588
266588
|
const meterProvider = getMeterProvider();
|
|
@@ -267394,9 +267394,9 @@ async function assertMinVersion() {
|
|
|
267394
267394
|
}
|
|
267395
267395
|
try {
|
|
267396
267396
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
267397
|
-
if (versionConfig.minVersion && lt("0.8.
|
|
267397
|
+
if (versionConfig.minVersion && lt("0.8.9", versionConfig.minVersion)) {
|
|
267398
267398
|
console.error(`
|
|
267399
|
-
It looks like your version of ZeroCLI (${"0.8.
|
|
267399
|
+
It looks like your version of ZeroCLI (${"0.8.9"}) needs an update.
|
|
267400
267400
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
267401
267401
|
|
|
267402
267402
|
To update, please run:
|
|
@@ -267612,7 +267612,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267612
267612
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
267613
267613
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
267614
267614
|
pid: process.pid,
|
|
267615
|
-
currentVersion: "0.8.
|
|
267615
|
+
currentVersion: "0.8.9"
|
|
267616
267616
|
});
|
|
267617
267617
|
return "in_progress";
|
|
267618
267618
|
}
|
|
@@ -267621,7 +267621,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267621
267621
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
267622
267622
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
267623
267623
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
267624
|
-
currentVersion: "0.8.
|
|
267624
|
+
currentVersion: "0.8.9"
|
|
267625
267625
|
});
|
|
267626
267626
|
console.error(`
|
|
267627
267627
|
Error: Windows NPM detected in WSL
|
|
@@ -268161,7 +268161,7 @@ async function getDoctorDiagnostic() {
|
|
|
268161
268161
|
const installationType = await getCurrentInstallationType();
|
|
268162
268162
|
let version2;
|
|
268163
268163
|
try {
|
|
268164
|
-
version2 = "0.8.
|
|
268164
|
+
version2 = "0.8.9";
|
|
268165
268165
|
} catch {
|
|
268166
268166
|
version2 = "unknown";
|
|
268167
268167
|
}
|
|
@@ -269650,7 +269650,7 @@ function getInstallationEnv() {
|
|
|
269650
269650
|
return;
|
|
269651
269651
|
}
|
|
269652
269652
|
function getZeroCodeVersion() {
|
|
269653
|
-
return "0.8.
|
|
269653
|
+
return "0.8.9";
|
|
269654
269654
|
}
|
|
269655
269655
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
269656
269656
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -271017,8 +271017,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271017
271017
|
const maxVersion = await getMaxVersion();
|
|
271018
271018
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
271019
271019
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
271020
|
-
if (gte("0.8.
|
|
271021
|
-
logForDebugging(`Native installer: current version ${"0.8.
|
|
271020
|
+
if (gte("0.8.9", maxVersion)) {
|
|
271021
|
+
logForDebugging(`Native installer: current version ${"0.8.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
271022
271022
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
271023
271023
|
latency_ms: Date.now() - startTime2,
|
|
271024
271024
|
max_version: maxVersion,
|
|
@@ -271029,7 +271029,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271029
271029
|
version2 = maxVersion;
|
|
271030
271030
|
}
|
|
271031
271031
|
}
|
|
271032
|
-
if (!forceReinstall && version2 === "0.8.
|
|
271032
|
+
if (!forceReinstall && version2 === "0.8.9" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
|
|
271033
271033
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
271034
271034
|
logEvent("tengu_native_update_complete", {
|
|
271035
271035
|
latency_ms: Date.now() - startTime2,
|
|
@@ -376236,7 +376236,7 @@ function getAnthropicEnvMetadata() {
|
|
|
376236
376236
|
function getBuildAgeMinutes() {
|
|
376237
376237
|
if (false)
|
|
376238
376238
|
;
|
|
376239
|
-
const buildTime = new Date("2026-05-
|
|
376239
|
+
const buildTime = new Date("2026-05-05T23:44:52.073Z").getTime();
|
|
376240
376240
|
if (isNaN(buildTime))
|
|
376241
376241
|
return;
|
|
376242
376242
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -403670,7 +403670,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
403670
403670
|
const client2 = new Client({
|
|
403671
403671
|
name: "claude-code",
|
|
403672
403672
|
title: "ZeroCLI",
|
|
403673
|
-
version: "0.8.
|
|
403673
|
+
version: "0.8.9",
|
|
403674
403674
|
description: "Anthropic's agentic coding tool",
|
|
403675
403675
|
websiteUrl: PRODUCT_URL
|
|
403676
403676
|
}, {
|
|
@@ -404022,7 +404022,7 @@ var init_client7 = __esm(() => {
|
|
|
404022
404022
|
const client2 = new Client({
|
|
404023
404023
|
name: "claude-code",
|
|
404024
404024
|
title: "ZeroCLI",
|
|
404025
|
-
version: "0.8.
|
|
404025
|
+
version: "0.8.9",
|
|
404026
404026
|
description: "Anthropic's agentic coding tool",
|
|
404027
404027
|
websiteUrl: PRODUCT_URL
|
|
404028
404028
|
}, {
|
|
@@ -414685,7 +414685,7 @@ function Feedback({
|
|
|
414685
414685
|
platform: env2.platform,
|
|
414686
414686
|
gitRepo: envInfo.isGit,
|
|
414687
414687
|
terminal: env2.terminal,
|
|
414688
|
-
version: "0.8.
|
|
414688
|
+
version: "0.8.9",
|
|
414689
414689
|
transcript: normalizeMessagesForAPI(messages),
|
|
414690
414690
|
errors: sanitizedErrors,
|
|
414691
414691
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -414878,7 +414878,7 @@ function Feedback({
|
|
|
414878
414878
|
", ",
|
|
414879
414879
|
env2.terminal,
|
|
414880
414880
|
", v",
|
|
414881
|
-
"0.8.
|
|
414881
|
+
"0.8.9"
|
|
414882
414882
|
]
|
|
414883
414883
|
})
|
|
414884
414884
|
]
|
|
@@ -414986,7 +414986,7 @@ ${sanitizedDescription}
|
|
|
414986
414986
|
` + `**Environment Info**
|
|
414987
414987
|
` + `- Platform: ${env2.platform}
|
|
414988
414988
|
` + `- Terminal: ${env2.terminal}
|
|
414989
|
-
` + `- Version: ${"0.8.
|
|
414989
|
+
` + `- Version: ${"0.8.9"}
|
|
414990
414990
|
` + feedbackIdLine + `
|
|
414991
414991
|
**Errors**
|
|
414992
414992
|
\`\`\`json
|
|
@@ -418139,7 +418139,7 @@ function buildPrimarySection() {
|
|
|
418139
418139
|
});
|
|
418140
418140
|
return [{
|
|
418141
418141
|
label: "Version",
|
|
418142
|
-
value: "0.8.
|
|
418142
|
+
value: "0.8.9"
|
|
418143
418143
|
}, {
|
|
418144
418144
|
label: "Session name",
|
|
418145
418145
|
value: nameValue
|
|
@@ -422909,7 +422909,7 @@ function Config({
|
|
|
422909
422909
|
}
|
|
422910
422910
|
})
|
|
422911
422911
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime181.jsx(ChannelDowngradeDialog, {
|
|
422912
|
-
currentVersion: "0.8.
|
|
422912
|
+
currentVersion: "0.8.9",
|
|
422913
422913
|
onChoice: (choice) => {
|
|
422914
422914
|
setShowSubmenu(null);
|
|
422915
422915
|
setTabsHidden(false);
|
|
@@ -422921,7 +422921,7 @@ function Config({
|
|
|
422921
422921
|
autoUpdatesChannel: "stable"
|
|
422922
422922
|
};
|
|
422923
422923
|
if (choice === "stay") {
|
|
422924
|
-
newSettings.minimumVersion = "0.8.
|
|
422924
|
+
newSettings.minimumVersion = "0.8.9";
|
|
422925
422925
|
}
|
|
422926
422926
|
updateSettingsForSource("userSettings", newSettings);
|
|
422927
422927
|
setSettingsData((prev_27) => ({
|
|
@@ -429862,7 +429862,7 @@ function UpdateScreen({ onDone }) {
|
|
|
429862
429862
|
setState({ type: "dev-build" });
|
|
429863
429863
|
return;
|
|
429864
429864
|
}
|
|
429865
|
-
const currentVersion = "0.8.
|
|
429865
|
+
const currentVersion = "0.8.9";
|
|
429866
429866
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
429867
429867
|
const latestVersion = await getLatestVersion(channel2);
|
|
429868
429868
|
if (!latestVersion) {
|
|
@@ -431973,7 +431973,7 @@ function HelpV2(t0) {
|
|
|
431973
431973
|
let t6;
|
|
431974
431974
|
if ($2[31] !== tabs) {
|
|
431975
431975
|
t6 = /* @__PURE__ */ jsx_runtime211.jsx(Tabs, {
|
|
431976
|
-
title: `ZeroCLI v${"0.8.
|
|
431976
|
+
title: `ZeroCLI v${"0.8.9"}`,
|
|
431977
431977
|
color: "professionalBlue",
|
|
431978
431978
|
defaultTab: "general",
|
|
431979
431979
|
children: tabs
|
|
@@ -456817,7 +456817,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
456817
456817
|
return [];
|
|
456818
456818
|
}
|
|
456819
456819
|
}
|
|
456820
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.8.
|
|
456820
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.8.9") {
|
|
456821
456821
|
if (process.env.USER_TYPE === "ant") {
|
|
456822
456822
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
456823
456823
|
if (changelog) {
|
|
@@ -485855,7 +485855,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
485855
485855
|
smapsRollup,
|
|
485856
485856
|
platform: process.platform,
|
|
485857
485857
|
nodeVersion: process.version,
|
|
485858
|
-
ccVersion: "0.8.
|
|
485858
|
+
ccVersion: "0.8.9"
|
|
485859
485859
|
};
|
|
485860
485860
|
}
|
|
485861
485861
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -486442,7 +486442,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
486442
486442
|
var call60 = async () => {
|
|
486443
486443
|
return {
|
|
486444
486444
|
type: "text",
|
|
486445
|
-
value: `${"0.8.
|
|
486445
|
+
value: `${"0.8.9"} (built ${"2026-05-05T23:44:52.073Z"})`
|
|
486446
486446
|
};
|
|
486447
486447
|
}, version2, version_default;
|
|
486448
486448
|
var init_version = __esm(() => {
|
|
@@ -496599,7 +496599,7 @@ function generateHtmlReport(data, insights) {
|
|
|
496599
496599
|
function buildExportData(data, insights, facets) {
|
|
496600
496600
|
let version3;
|
|
496601
496601
|
try {
|
|
496602
|
-
version3 = "0.8.
|
|
496602
|
+
version3 = "0.8.9";
|
|
496603
496603
|
} catch {
|
|
496604
496604
|
version3 = "unknown";
|
|
496605
496605
|
}
|
|
@@ -500795,7 +500795,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
500795
500795
|
init_slowOperations();
|
|
500796
500796
|
init_uuid();
|
|
500797
500797
|
try {
|
|
500798
|
-
VERSION7 = "0.8.
|
|
500798
|
+
VERSION7 = "0.8.9";
|
|
500799
500799
|
} catch {
|
|
500800
500800
|
VERSION7 = "unknown";
|
|
500801
500801
|
}
|
|
@@ -502116,7 +502116,7 @@ var init_filesystem = __esm(() => {
|
|
|
502116
502116
|
});
|
|
502117
502117
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
502118
502118
|
const nonce = randomBytes17(16).toString("hex");
|
|
502119
|
-
return join137(getZeroTempDir(), "bundled-skills", "0.8.
|
|
502119
|
+
return join137(getZeroTempDir(), "bundled-skills", "0.8.9", nonce);
|
|
502120
502120
|
});
|
|
502121
502121
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
502122
502122
|
});
|
|
@@ -513136,7 +513136,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
513136
513136
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
513137
513137
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
513138
513138
|
betas: getSdkBetas(),
|
|
513139
|
-
claude_code_version: "0.8.
|
|
513139
|
+
claude_code_version: "0.8.9",
|
|
513140
513140
|
output_style: outputStyle2,
|
|
513141
513141
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
513142
513142
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -528451,7 +528451,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
528451
528451
|
function getSemverPart(version3) {
|
|
528452
528452
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
528453
528453
|
}
|
|
528454
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.8.
|
|
528454
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.8.9") {
|
|
528455
528455
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
528456
528456
|
if (!updatedVersion) {
|
|
528457
528457
|
return null;
|
|
@@ -528491,7 +528491,7 @@ function AutoUpdater({
|
|
|
528491
528491
|
return;
|
|
528492
528492
|
}
|
|
528493
528493
|
if (false) {}
|
|
528494
|
-
const currentVersion = "0.8.
|
|
528494
|
+
const currentVersion = "0.8.9";
|
|
528495
528495
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
528496
528496
|
let latestVersion = await getLatestVersion(channel2);
|
|
528497
528497
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -528703,12 +528703,12 @@ function NativeAutoUpdater({
|
|
|
528703
528703
|
logEvent("tengu_native_auto_updater_start", {});
|
|
528704
528704
|
try {
|
|
528705
528705
|
const maxVersion = await getMaxVersion();
|
|
528706
|
-
if (maxVersion && gt("0.8.
|
|
528706
|
+
if (maxVersion && gt("0.8.9", maxVersion)) {
|
|
528707
528707
|
const msg = await getMaxVersionMessage();
|
|
528708
528708
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
528709
528709
|
}
|
|
528710
528710
|
const result = await installLatest(channel2);
|
|
528711
|
-
const currentVersion = "0.8.
|
|
528711
|
+
const currentVersion = "0.8.9";
|
|
528712
528712
|
const latencyMs = Date.now() - startTime2;
|
|
528713
528713
|
if (result.lockFailed) {
|
|
528714
528714
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -528843,17 +528843,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528843
528843
|
const maxVersion = await getMaxVersion();
|
|
528844
528844
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
528845
528845
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
528846
|
-
if (gte("0.8.
|
|
528847
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.8.
|
|
528846
|
+
if (gte("0.8.9", maxVersion)) {
|
|
528847
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.8.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
528848
528848
|
setUpdateAvailable(false);
|
|
528849
528849
|
return;
|
|
528850
528850
|
}
|
|
528851
528851
|
latest = maxVersion;
|
|
528852
528852
|
}
|
|
528853
|
-
const hasUpdate = latest && !gte("0.8.
|
|
528853
|
+
const hasUpdate = latest && !gte("0.8.9", latest) && !shouldSkipVersion(latest);
|
|
528854
528854
|
setUpdateAvailable(!!hasUpdate);
|
|
528855
528855
|
if (hasUpdate) {
|
|
528856
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.8.
|
|
528856
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.8.9"} -> ${latest}`);
|
|
528857
528857
|
}
|
|
528858
528858
|
};
|
|
528859
528859
|
$2[0] = t1;
|
|
@@ -528887,7 +528887,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528887
528887
|
wrap: "truncate",
|
|
528888
528888
|
children: [
|
|
528889
528889
|
"currentVersion: ",
|
|
528890
|
-
"0.8.
|
|
528890
|
+
"0.8.9"
|
|
528891
528891
|
]
|
|
528892
528892
|
});
|
|
528893
528893
|
$2[3] = verbose;
|
|
@@ -537918,7 +537918,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
537918
537918
|
project_dir: getOriginalCwd(),
|
|
537919
537919
|
added_dirs: addedDirs
|
|
537920
537920
|
},
|
|
537921
|
-
version: "0.8.
|
|
537921
|
+
version: "0.8.9",
|
|
537922
537922
|
output_style: {
|
|
537923
537923
|
name: outputStyleName
|
|
537924
537924
|
},
|
|
@@ -562454,7 +562454,7 @@ function WelcomeV2() {
|
|
|
562454
562454
|
dimColor: true,
|
|
562455
562455
|
children: [
|
|
562456
562456
|
"v",
|
|
562457
|
-
"0.8.
|
|
562457
|
+
"0.8.9",
|
|
562458
562458
|
" "
|
|
562459
562459
|
]
|
|
562460
562460
|
})
|
|
@@ -562688,7 +562688,7 @@ function WelcomeV2() {
|
|
|
562688
562688
|
dimColor: true,
|
|
562689
562689
|
children: [
|
|
562690
562690
|
"v",
|
|
562691
|
-
"0.8.
|
|
562691
|
+
"0.8.9",
|
|
562692
562692
|
" "
|
|
562693
562693
|
]
|
|
562694
562694
|
})
|
|
@@ -562935,7 +562935,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
562935
562935
|
dimColor: true,
|
|
562936
562936
|
children: [
|
|
562937
562937
|
"v",
|
|
562938
|
-
"0.8.
|
|
562938
|
+
"0.8.9",
|
|
562939
562939
|
" "
|
|
562940
562940
|
]
|
|
562941
562941
|
});
|
|
@@ -563208,7 +563208,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
563208
563208
|
dimColor: true,
|
|
563209
563209
|
children: [
|
|
563210
563210
|
"v",
|
|
563211
|
-
"0.8.
|
|
563211
|
+
"0.8.9",
|
|
563212
563212
|
" "
|
|
563213
563213
|
]
|
|
563214
563214
|
});
|
|
@@ -564720,7 +564720,7 @@ function completeOnboarding() {
|
|
|
564720
564720
|
saveGlobalConfig((current) => ({
|
|
564721
564721
|
...current,
|
|
564722
564722
|
hasCompletedOnboarding: true,
|
|
564723
|
-
lastOnboardingVersion: "0.8.
|
|
564723
|
+
lastOnboardingVersion: "0.8.9"
|
|
564724
564724
|
}));
|
|
564725
564725
|
}
|
|
564726
564726
|
function showDialog(root2, renderer) {
|
|
@@ -568971,7 +568971,7 @@ function appendToLog(path24, message) {
|
|
|
568971
568971
|
cwd: getFsImplementation().cwd(),
|
|
568972
568972
|
userType: process.env.USER_TYPE,
|
|
568973
568973
|
sessionId: getSessionId(),
|
|
568974
|
-
version: "0.8.
|
|
568974
|
+
version: "0.8.9"
|
|
568975
568975
|
};
|
|
568976
568976
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
568977
568977
|
}
|
|
@@ -569577,7 +569577,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
569577
569577
|
setCwd(cwd2);
|
|
569578
569578
|
const server = new Server({
|
|
569579
569579
|
name: "claude/tengu",
|
|
569580
|
-
version: "0.8.
|
|
569580
|
+
version: "0.8.9"
|
|
569581
569581
|
}, {
|
|
569582
569582
|
capabilities: {
|
|
569583
569583
|
tools: {}
|
|
@@ -574216,8 +574216,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
574216
574216
|
}
|
|
574217
574217
|
async function checkEnvLessBridgeMinVersion() {
|
|
574218
574218
|
const cfg = await getEnvLessBridgeConfig();
|
|
574219
|
-
if (cfg.min_version && lt("0.8.
|
|
574220
|
-
return `Your version of ZeroCLI (${"0.8.
|
|
574219
|
+
if (cfg.min_version && lt("0.8.9", cfg.min_version)) {
|
|
574220
|
+
return `Your version of ZeroCLI (${"0.8.9"}) is too old for Remote Control.
|
|
574221
574221
|
Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
|
|
574222
574222
|
}
|
|
574223
574223
|
return null;
|
|
@@ -574692,7 +574692,7 @@ async function initBridgeCore(params) {
|
|
|
574692
574692
|
const rawApi = createBridgeApiClient({
|
|
574693
574693
|
baseUrl,
|
|
574694
574694
|
getAccessToken,
|
|
574695
|
-
runnerVersion: "0.8.
|
|
574695
|
+
runnerVersion: "0.8.9",
|
|
574696
574696
|
onDebug: logForDebugging,
|
|
574697
574697
|
onAuth401,
|
|
574698
574698
|
getTrustedDeviceToken
|
|
@@ -580980,7 +580980,7 @@ __export(exports_update2, {
|
|
|
580980
580980
|
});
|
|
580981
580981
|
async function update2() {
|
|
580982
580982
|
logEvent("tengu_update_check", {});
|
|
580983
|
-
writeToStdout(`Current version: ${"0.8.
|
|
580983
|
+
writeToStdout(`Current version: ${"0.8.9"}
|
|
580984
580984
|
`);
|
|
580985
580985
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
580986
580986
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -581055,8 +581055,8 @@ async function update2() {
|
|
|
581055
581055
|
writeToStdout(`Zero is managed by Homebrew.
|
|
581056
581056
|
`);
|
|
581057
581057
|
const latest = await getLatestVersion(channel2);
|
|
581058
|
-
if (latest && !gte("0.8.
|
|
581059
|
-
writeToStdout(`Update available: ${"0.8.
|
|
581058
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
581059
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
581060
581060
|
`);
|
|
581061
581061
|
writeToStdout(`
|
|
581062
581062
|
`);
|
|
@@ -581072,8 +581072,8 @@ async function update2() {
|
|
|
581072
581072
|
writeToStdout(`Zero is managed by winget.
|
|
581073
581073
|
`);
|
|
581074
581074
|
const latest = await getLatestVersion(channel2);
|
|
581075
|
-
if (latest && !gte("0.8.
|
|
581076
|
-
writeToStdout(`Update available: ${"0.8.
|
|
581075
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
581076
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
581077
581077
|
`);
|
|
581078
581078
|
writeToStdout(`
|
|
581079
581079
|
`);
|
|
@@ -581089,8 +581089,8 @@ async function update2() {
|
|
|
581089
581089
|
writeToStdout(`Zero is managed by apk.
|
|
581090
581090
|
`);
|
|
581091
581091
|
const latest = await getLatestVersion(channel2);
|
|
581092
|
-
if (latest && !gte("0.8.
|
|
581093
|
-
writeToStdout(`Update available: ${"0.8.
|
|
581092
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
581093
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
581094
581094
|
`);
|
|
581095
581095
|
writeToStdout(`
|
|
581096
581096
|
`);
|
|
@@ -581155,11 +581155,11 @@ async function update2() {
|
|
|
581155
581155
|
`);
|
|
581156
581156
|
await gracefulShutdown(1);
|
|
581157
581157
|
}
|
|
581158
|
-
if (result.latestVersion === "0.8.
|
|
581159
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.
|
|
581158
|
+
if (result.latestVersion === "0.8.9") {
|
|
581159
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.9"})`) + `
|
|
581160
581160
|
`);
|
|
581161
581161
|
} else {
|
|
581162
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
581162
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.9"} to version ${result.latestVersion}`) + `
|
|
581163
581163
|
`);
|
|
581164
581164
|
await regenerateCompletionCache();
|
|
581165
581165
|
}
|
|
@@ -581219,12 +581219,12 @@ async function update2() {
|
|
|
581219
581219
|
`);
|
|
581220
581220
|
await gracefulShutdown(1);
|
|
581221
581221
|
}
|
|
581222
|
-
if (latestVersion === "0.8.
|
|
581223
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.
|
|
581222
|
+
if (latestVersion === "0.8.9") {
|
|
581223
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.9"})`) + `
|
|
581224
581224
|
`);
|
|
581225
581225
|
await gracefulShutdown(0);
|
|
581226
581226
|
}
|
|
581227
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.
|
|
581227
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.9"})
|
|
581228
581228
|
`);
|
|
581229
581229
|
writeToStdout(`Installing update...
|
|
581230
581230
|
`);
|
|
@@ -581269,7 +581269,7 @@ async function update2() {
|
|
|
581269
581269
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
581270
581270
|
switch (status2) {
|
|
581271
581271
|
case "success":
|
|
581272
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
581272
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.9"} to version ${latestVersion}`) + `
|
|
581273
581273
|
`);
|
|
581274
581274
|
await regenerateCompletionCache();
|
|
581275
581275
|
break;
|
|
@@ -582570,7 +582570,7 @@ ${customInstructions}` : customInstructions;
|
|
|
582570
582570
|
}
|
|
582571
582571
|
}
|
|
582572
582572
|
logForDiagnosticsNoPII("info", "started", {
|
|
582573
|
-
version: "0.8.
|
|
582573
|
+
version: "0.8.9",
|
|
582574
582574
|
is_native_binary: isInBundledMode()
|
|
582575
582575
|
});
|
|
582576
582576
|
registerCleanup(async () => {
|
|
@@ -583453,7 +583453,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
583453
583453
|
pendingHookMessages
|
|
583454
583454
|
}, renderAndRun);
|
|
583455
583455
|
}
|
|
583456
|
-
}).version("0.8.
|
|
583456
|
+
}).version("0.8.9", "-v, --version", "Output the version number");
|
|
583457
583457
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
583458
583458
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
583459
583459
|
if (canUserConfigureAdvisor()) {
|
|
@@ -584119,7 +584119,7 @@ if (false) {}
|
|
|
584119
584119
|
async function main2() {
|
|
584120
584120
|
const args = process.argv.slice(2);
|
|
584121
584121
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
584122
|
-
console.log(`${"0.8.
|
|
584122
|
+
console.log(`${"0.8.9"} (ZeroCLI)`);
|
|
584123
584123
|
return;
|
|
584124
584124
|
}
|
|
584125
584125
|
if (args.includes("--provider")) {
|
|
@@ -584261,4 +584261,4 @@ async function main2() {
|
|
|
584261
584261
|
}
|
|
584262
584262
|
main2();
|
|
584263
584263
|
|
|
584264
|
-
//# debugId=
|
|
584264
|
+
//# debugId=EB1D949DACD2556964756E2164756E21
|