@duheso/zerocli 1.1.1 → 1.1.3
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 +82 -80
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -119226,7 +119226,7 @@ function buildProviderInfoLines() {
|
|
|
119226
119226
|
const sLen = ` ● ${sL} ${sReady}`.length;
|
|
119227
119227
|
out.push(boxRow(sRow, W2, sLen));
|
|
119228
119228
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
119229
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.
|
|
119229
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.3"}${RESET}`);
|
|
119230
119230
|
return out;
|
|
119231
119231
|
}
|
|
119232
119232
|
function printStartupScreen() {}
|
|
@@ -147417,7 +147417,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
147417
147417
|
if (!isAttributionHeaderEnabled()) {
|
|
147418
147418
|
return "";
|
|
147419
147419
|
}
|
|
147420
|
-
const version2 = `${"1.1.
|
|
147420
|
+
const version2 = `${"1.1.3"}.${fingerprint}`;
|
|
147421
147421
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
147422
147422
|
const cch = "";
|
|
147423
147423
|
const workload = getWorkload();
|
|
@@ -190435,7 +190435,7 @@ var init_imageValidation = __esm(() => {
|
|
|
190435
190435
|
|
|
190436
190436
|
// src/utils/userAgent.ts
|
|
190437
190437
|
function getZeroCodeUserAgent() {
|
|
190438
|
-
return `claude-code/${"1.1.
|
|
190438
|
+
return `claude-code/${"1.1.3"}`;
|
|
190439
190439
|
}
|
|
190440
190440
|
|
|
190441
190441
|
// src/utils/http.ts
|
|
@@ -190444,7 +190444,7 @@ function getUserAgent() {
|
|
|
190444
190444
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
190445
190445
|
const workload = getWorkload();
|
|
190446
190446
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
190447
|
-
return `claude-cli/${"1.1.
|
|
190447
|
+
return `claude-cli/${"1.1.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
190448
190448
|
}
|
|
190449
190449
|
function getMCPUserAgent() {
|
|
190450
190450
|
const parts = [];
|
|
@@ -190458,7 +190458,7 @@ function getMCPUserAgent() {
|
|
|
190458
190458
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
190459
190459
|
}
|
|
190460
190460
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
190461
|
-
return `claude-code/${"1.1.
|
|
190461
|
+
return `claude-code/${"1.1.3"}${suffix}`;
|
|
190462
190462
|
}
|
|
190463
190463
|
function getWebFetchUserAgent() {
|
|
190464
190464
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
|
|
@@ -244944,7 +244944,7 @@ function getTelemetryAttributes() {
|
|
|
244944
244944
|
attributes["session.id"] = sessionId;
|
|
244945
244945
|
}
|
|
244946
244946
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
244947
|
-
attributes["app.version"] = "1.1.
|
|
244947
|
+
attributes["app.version"] = "1.1.3";
|
|
244948
244948
|
}
|
|
244949
244949
|
const oauthAccount = getOauthAccountInfo();
|
|
244950
244950
|
if (oauthAccount) {
|
|
@@ -257183,7 +257183,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
257183
257183
|
}
|
|
257184
257184
|
function computeFingerprintFromMessages(messages) {
|
|
257185
257185
|
const firstMessageText = extractFirstMessageText(messages);
|
|
257186
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
257186
|
+
return computeFingerprint(firstMessageText, "1.1.3");
|
|
257187
257187
|
}
|
|
257188
257188
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
257189
257189
|
var init_fingerprint = () => {};
|
|
@@ -257225,7 +257225,7 @@ async function sideQuery(opts) {
|
|
|
257225
257225
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
257226
257226
|
}
|
|
257227
257227
|
const messageText = extractFirstUserMessageText(messages);
|
|
257228
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
257228
|
+
const fingerprint = computeFingerprint(messageText, "1.1.3");
|
|
257229
257229
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
257230
257230
|
const systemBlocks = [
|
|
257231
257231
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -266127,7 +266127,7 @@ var init_user = __esm(() => {
|
|
|
266127
266127
|
deviceId,
|
|
266128
266128
|
sessionId: getSessionId(),
|
|
266129
266129
|
email: getEmail(),
|
|
266130
|
-
appVersion: "1.1.
|
|
266130
|
+
appVersion: "1.1.3",
|
|
266131
266131
|
platform: getHostPlatformForAnalytics(),
|
|
266132
266132
|
organizationUuid,
|
|
266133
266133
|
accountUuid,
|
|
@@ -266521,7 +266521,7 @@ async function initializeBetaTracing(resource) {
|
|
|
266521
266521
|
});
|
|
266522
266522
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266523
266523
|
setLoggerProvider(loggerProvider);
|
|
266524
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
266524
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.3");
|
|
266525
266525
|
setEventLogger(eventLogger);
|
|
266526
266526
|
process.on("beforeExit", async () => {
|
|
266527
266527
|
await loggerProvider?.forceFlush();
|
|
@@ -266561,7 +266561,7 @@ async function initializeTelemetry() {
|
|
|
266561
266561
|
const platform3 = getPlatform();
|
|
266562
266562
|
const baseAttributes = {
|
|
266563
266563
|
[ATTR_SERVICE_NAME3]: "claude-code",
|
|
266564
|
-
[ATTR_SERVICE_VERSION3]: "1.1.
|
|
266564
|
+
[ATTR_SERVICE_VERSION3]: "1.1.3"
|
|
266565
266565
|
};
|
|
266566
266566
|
if (platform3 === "wsl") {
|
|
266567
266567
|
const wslVersion = getWslVersion();
|
|
@@ -266606,7 +266606,7 @@ async function initializeTelemetry() {
|
|
|
266606
266606
|
} catch {}
|
|
266607
266607
|
};
|
|
266608
266608
|
registerCleanup(shutdownTelemetry2);
|
|
266609
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.
|
|
266609
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.3");
|
|
266610
266610
|
}
|
|
266611
266611
|
const meterProvider = new MeterProvider3({
|
|
266612
266612
|
resource,
|
|
@@ -266626,7 +266626,7 @@ async function initializeTelemetry() {
|
|
|
266626
266626
|
});
|
|
266627
266627
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266628
266628
|
setLoggerProvider(loggerProvider);
|
|
266629
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
266629
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.3");
|
|
266630
266630
|
setEventLogger(eventLogger);
|
|
266631
266631
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
266632
266632
|
process.on("beforeExit", async () => {
|
|
@@ -266688,7 +266688,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
266688
266688
|
}
|
|
266689
266689
|
};
|
|
266690
266690
|
registerCleanup(shutdownTelemetry);
|
|
266691
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.
|
|
266691
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.3");
|
|
266692
266692
|
}
|
|
266693
266693
|
async function flushTelemetry() {
|
|
266694
266694
|
const meterProvider = getMeterProvider();
|
|
@@ -267500,9 +267500,9 @@ async function assertMinVersion() {
|
|
|
267500
267500
|
}
|
|
267501
267501
|
try {
|
|
267502
267502
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
267503
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
267503
|
+
if (versionConfig.minVersion && lt("1.1.3", versionConfig.minVersion)) {
|
|
267504
267504
|
console.error(`
|
|
267505
|
-
It looks like your version of ZeroCLI (${"1.1.
|
|
267505
|
+
It looks like your version of ZeroCLI (${"1.1.3"}) needs an update.
|
|
267506
267506
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
267507
267507
|
|
|
267508
267508
|
To update, please run:
|
|
@@ -267718,7 +267718,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267718
267718
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
267719
267719
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
267720
267720
|
pid: process.pid,
|
|
267721
|
-
currentVersion: "1.1.
|
|
267721
|
+
currentVersion: "1.1.3"
|
|
267722
267722
|
});
|
|
267723
267723
|
return "in_progress";
|
|
267724
267724
|
}
|
|
@@ -267727,7 +267727,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267727
267727
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
267728
267728
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
267729
267729
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
267730
|
-
currentVersion: "1.1.
|
|
267730
|
+
currentVersion: "1.1.3"
|
|
267731
267731
|
});
|
|
267732
267732
|
console.error(`
|
|
267733
267733
|
Error: Windows NPM detected in WSL
|
|
@@ -268281,7 +268281,7 @@ async function getDoctorDiagnostic() {
|
|
|
268281
268281
|
const installationType = await getCurrentInstallationType();
|
|
268282
268282
|
let version2;
|
|
268283
268283
|
try {
|
|
268284
|
-
version2 = "1.1.
|
|
268284
|
+
version2 = "1.1.3";
|
|
268285
268285
|
} catch {
|
|
268286
268286
|
version2 = "unknown";
|
|
268287
268287
|
}
|
|
@@ -269775,7 +269775,7 @@ function getInstallationEnv() {
|
|
|
269775
269775
|
return;
|
|
269776
269776
|
}
|
|
269777
269777
|
function getZeroCodeVersion() {
|
|
269778
|
-
return "1.1.
|
|
269778
|
+
return "1.1.3";
|
|
269779
269779
|
}
|
|
269780
269780
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
269781
269781
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -271142,8 +271142,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271142
271142
|
const maxVersion = await getMaxVersion();
|
|
271143
271143
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
271144
271144
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
271145
|
-
if (gte("1.1.
|
|
271146
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
271145
|
+
if (gte("1.1.3", maxVersion)) {
|
|
271146
|
+
logForDebugging(`Native installer: current version ${"1.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
271147
271147
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
271148
271148
|
latency_ms: Date.now() - startTime2,
|
|
271149
271149
|
max_version: maxVersion,
|
|
@@ -271154,7 +271154,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271154
271154
|
version2 = maxVersion;
|
|
271155
271155
|
}
|
|
271156
271156
|
}
|
|
271157
|
-
if (!forceReinstall && version2 === "1.1.
|
|
271157
|
+
if (!forceReinstall && version2 === "1.1.3" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
|
|
271158
271158
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
271159
271159
|
logEvent("tengu_native_update_complete", {
|
|
271160
271160
|
latency_ms: Date.now() - startTime2,
|
|
@@ -389296,7 +389296,9 @@ var init_WindowsControlTool = __esm(() => {
|
|
|
389296
389296
|
name: TOOL_NAME,
|
|
389297
389297
|
description: TOOL_DESCRIPTION,
|
|
389298
389298
|
searchHint: SEARCH_HINT,
|
|
389299
|
-
prompt
|
|
389299
|
+
async prompt() {
|
|
389300
|
+
return WINDOWS_CONTROL_PROMPT;
|
|
389301
|
+
},
|
|
389300
389302
|
isConcurrencySafe: false,
|
|
389301
389303
|
inputSchema: inputSchema38,
|
|
389302
389304
|
async call(input) {
|
|
@@ -402274,7 +402276,7 @@ function getAnthropicEnvMetadata() {
|
|
|
402274
402276
|
function getBuildAgeMinutes() {
|
|
402275
402277
|
if (false)
|
|
402276
402278
|
;
|
|
402277
|
-
const buildTime = new Date("2026-05-23T19:
|
|
402279
|
+
const buildTime = new Date("2026-05-23T19:24:40.871Z").getTime();
|
|
402278
402280
|
if (isNaN(buildTime))
|
|
402279
402281
|
return;
|
|
402280
402282
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -429757,7 +429759,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
429757
429759
|
const client2 = new Client({
|
|
429758
429760
|
name: "claude-code",
|
|
429759
429761
|
title: "ZeroCLI",
|
|
429760
|
-
version: "1.1.
|
|
429762
|
+
version: "1.1.3",
|
|
429761
429763
|
description: "Anthropic's agentic coding tool",
|
|
429762
429764
|
websiteUrl: PRODUCT_URL
|
|
429763
429765
|
}, {
|
|
@@ -430109,7 +430111,7 @@ var init_client7 = __esm(() => {
|
|
|
430109
430111
|
const client2 = new Client({
|
|
430110
430112
|
name: "claude-code",
|
|
430111
430113
|
title: "ZeroCLI",
|
|
430112
|
-
version: "1.1.
|
|
430114
|
+
version: "1.1.3",
|
|
430113
430115
|
description: "Anthropic's agentic coding tool",
|
|
430114
430116
|
websiteUrl: PRODUCT_URL
|
|
430115
430117
|
}, {
|
|
@@ -440844,7 +440846,7 @@ function Feedback({
|
|
|
440844
440846
|
platform: env2.platform,
|
|
440845
440847
|
gitRepo: envInfo.isGit,
|
|
440846
440848
|
terminal: env2.terminal,
|
|
440847
|
-
version: "1.1.
|
|
440849
|
+
version: "1.1.3",
|
|
440848
440850
|
transcript: normalizeMessagesForAPI(messages),
|
|
440849
440851
|
errors: sanitizedErrors,
|
|
440850
440852
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -441037,7 +441039,7 @@ function Feedback({
|
|
|
441037
441039
|
", ",
|
|
441038
441040
|
env2.terminal,
|
|
441039
441041
|
", v",
|
|
441040
|
-
"1.1.
|
|
441042
|
+
"1.1.3"
|
|
441041
441043
|
]
|
|
441042
441044
|
})
|
|
441043
441045
|
]
|
|
@@ -441145,7 +441147,7 @@ ${sanitizedDescription}
|
|
|
441145
441147
|
` + `**Environment Info**
|
|
441146
441148
|
` + `- Platform: ${env2.platform}
|
|
441147
441149
|
` + `- Terminal: ${env2.terminal}
|
|
441148
|
-
` + `- Version: ${"1.1.
|
|
441150
|
+
` + `- Version: ${"1.1.3"}
|
|
441149
441151
|
` + feedbackIdLine + `
|
|
441150
441152
|
**Errors**
|
|
441151
441153
|
\`\`\`json
|
|
@@ -444298,7 +444300,7 @@ function buildPrimarySection() {
|
|
|
444298
444300
|
});
|
|
444299
444301
|
return [{
|
|
444300
444302
|
label: "Version",
|
|
444301
|
-
value: "1.1.
|
|
444303
|
+
value: "1.1.3"
|
|
444302
444304
|
}, {
|
|
444303
444305
|
label: "Session name",
|
|
444304
444306
|
value: nameValue
|
|
@@ -449068,7 +449070,7 @@ function Config({
|
|
|
449068
449070
|
}
|
|
449069
449071
|
})
|
|
449070
449072
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
|
|
449071
|
-
currentVersion: "1.1.
|
|
449073
|
+
currentVersion: "1.1.3",
|
|
449072
449074
|
onChoice: (choice) => {
|
|
449073
449075
|
setShowSubmenu(null);
|
|
449074
449076
|
setTabsHidden(false);
|
|
@@ -449080,7 +449082,7 @@ function Config({
|
|
|
449080
449082
|
autoUpdatesChannel: "stable"
|
|
449081
449083
|
};
|
|
449082
449084
|
if (choice === "stay") {
|
|
449083
|
-
newSettings.minimumVersion = "1.1.
|
|
449085
|
+
newSettings.minimumVersion = "1.1.3";
|
|
449084
449086
|
}
|
|
449085
449087
|
updateSettingsForSource("userSettings", newSettings);
|
|
449086
449088
|
setSettingsData((prev_27) => ({
|
|
@@ -456064,7 +456066,7 @@ function UpdateScreen({ onDone }) {
|
|
|
456064
456066
|
setState({ type: "dev-build" });
|
|
456065
456067
|
return;
|
|
456066
456068
|
}
|
|
456067
|
-
const currentVersion = "1.1.
|
|
456069
|
+
const currentVersion = "1.1.3";
|
|
456068
456070
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
456069
456071
|
const latestVersion = await getLatestVersion(channel2);
|
|
456070
456072
|
if (!latestVersion) {
|
|
@@ -458175,7 +458177,7 @@ function HelpV2(t0) {
|
|
|
458175
458177
|
let t6;
|
|
458176
458178
|
if ($2[31] !== tabs) {
|
|
458177
458179
|
t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
|
|
458178
|
-
title: `ZeroCLI v${"1.1.
|
|
458180
|
+
title: `ZeroCLI v${"1.1.3"}`,
|
|
458179
458181
|
color: "professionalBlue",
|
|
458180
458182
|
defaultTab: "general",
|
|
458181
458183
|
children: tabs
|
|
@@ -483019,7 +483021,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
483019
483021
|
return [];
|
|
483020
483022
|
}
|
|
483021
483023
|
}
|
|
483022
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
483024
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.3") {
|
|
483023
483025
|
if (process.env.USER_TYPE === "ant") {
|
|
483024
483026
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
483025
483027
|
if (changelog) {
|
|
@@ -512057,7 +512059,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
512057
512059
|
smapsRollup,
|
|
512058
512060
|
platform: process.platform,
|
|
512059
512061
|
nodeVersion: process.version,
|
|
512060
|
-
ccVersion: "1.1.
|
|
512062
|
+
ccVersion: "1.1.3"
|
|
512061
512063
|
};
|
|
512062
512064
|
}
|
|
512063
512065
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -512644,7 +512646,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
512644
512646
|
var call60 = async () => {
|
|
512645
512647
|
return {
|
|
512646
512648
|
type: "text",
|
|
512647
|
-
value: `${"1.1.
|
|
512649
|
+
value: `${"1.1.3"} (built ${"2026-05-23T19:24:40.871Z"})`
|
|
512648
512650
|
};
|
|
512649
512651
|
}, version2, version_default;
|
|
512650
512652
|
var init_version = __esm(() => {
|
|
@@ -522958,7 +522960,7 @@ function generateHtmlReport(data, insights) {
|
|
|
522958
522960
|
function buildExportData(data, insights, facets) {
|
|
522959
522961
|
let version3;
|
|
522960
522962
|
try {
|
|
522961
|
-
version3 = "1.1.
|
|
522963
|
+
version3 = "1.1.3";
|
|
522962
522964
|
} catch {
|
|
522963
522965
|
version3 = "unknown";
|
|
522964
522966
|
}
|
|
@@ -527158,7 +527160,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
527158
527160
|
init_slowOperations();
|
|
527159
527161
|
init_uuid();
|
|
527160
527162
|
try {
|
|
527161
|
-
VERSION7 = "1.1.
|
|
527163
|
+
VERSION7 = "1.1.3";
|
|
527162
527164
|
} catch {
|
|
527163
527165
|
VERSION7 = "unknown";
|
|
527164
527166
|
}
|
|
@@ -528479,7 +528481,7 @@ var init_filesystem = __esm(() => {
|
|
|
528479
528481
|
});
|
|
528480
528482
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
528481
528483
|
const nonce = randomBytes17(16).toString("hex");
|
|
528482
|
-
return join137(getZeroTempDir(), "bundled-skills", "1.1.
|
|
528484
|
+
return join137(getZeroTempDir(), "bundled-skills", "1.1.3", nonce);
|
|
528483
528485
|
});
|
|
528484
528486
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
528485
528487
|
});
|
|
@@ -539339,7 +539341,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
539339
539341
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
539340
539342
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
539341
539343
|
betas: getSdkBetas(),
|
|
539342
|
-
claude_code_version: "1.1.
|
|
539344
|
+
claude_code_version: "1.1.3",
|
|
539343
539345
|
output_style: outputStyle2,
|
|
539344
539346
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
539345
539347
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -554654,7 +554656,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
554654
554656
|
function getSemverPart(version3) {
|
|
554655
554657
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
554656
554658
|
}
|
|
554657
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
554659
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.3") {
|
|
554658
554660
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
554659
554661
|
if (!updatedVersion) {
|
|
554660
554662
|
return null;
|
|
@@ -554697,7 +554699,7 @@ function AutoUpdater({
|
|
|
554697
554699
|
return;
|
|
554698
554700
|
}
|
|
554699
554701
|
if (false) {}
|
|
554700
|
-
const currentVersion = "1.1.
|
|
554702
|
+
const currentVersion = "1.1.3";
|
|
554701
554703
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
554702
554704
|
let latestVersion = await getLatestVersion(channel2);
|
|
554703
554705
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -554918,12 +554920,12 @@ function NativeAutoUpdater({
|
|
|
554918
554920
|
logEvent("tengu_native_auto_updater_start", {});
|
|
554919
554921
|
try {
|
|
554920
554922
|
const maxVersion = await getMaxVersion();
|
|
554921
|
-
if (maxVersion && gt("1.1.
|
|
554923
|
+
if (maxVersion && gt("1.1.3", maxVersion)) {
|
|
554922
554924
|
const msg = await getMaxVersionMessage();
|
|
554923
554925
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
554924
554926
|
}
|
|
554925
554927
|
const result = await installLatest(channel2);
|
|
554926
|
-
const currentVersion = "1.1.
|
|
554928
|
+
const currentVersion = "1.1.3";
|
|
554927
554929
|
const latencyMs = Date.now() - startTime2;
|
|
554928
554930
|
if (result.lockFailed) {
|
|
554929
554931
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -555065,17 +555067,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
555065
555067
|
const maxVersion = await getMaxVersion();
|
|
555066
555068
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
555067
555069
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
555068
|
-
if (gte("1.1.
|
|
555069
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
555070
|
+
if (gte("1.1.3", maxVersion)) {
|
|
555071
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
555070
555072
|
setUpdateAvailable(false);
|
|
555071
555073
|
return;
|
|
555072
555074
|
}
|
|
555073
555075
|
latest = maxVersion;
|
|
555074
555076
|
}
|
|
555075
|
-
const hasUpdate = latest && !gte("1.1.
|
|
555077
|
+
const hasUpdate = latest && !gte("1.1.3", latest) && !shouldSkipVersion(latest);
|
|
555076
555078
|
setUpdateAvailable(!!hasUpdate);
|
|
555077
555079
|
if (hasUpdate) {
|
|
555078
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
555080
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.3"} -> ${latest}`);
|
|
555079
555081
|
}
|
|
555080
555082
|
};
|
|
555081
555083
|
$2[0] = t1;
|
|
@@ -555109,7 +555111,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
555109
555111
|
wrap: "truncate",
|
|
555110
555112
|
children: [
|
|
555111
555113
|
"currentVersion: ",
|
|
555112
|
-
"1.1.
|
|
555114
|
+
"1.1.3"
|
|
555113
555115
|
]
|
|
555114
555116
|
});
|
|
555115
555117
|
$2[3] = verbose;
|
|
@@ -564165,7 +564167,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
564165
564167
|
project_dir: getOriginalCwd(),
|
|
564166
564168
|
added_dirs: addedDirs
|
|
564167
564169
|
},
|
|
564168
|
-
version: "1.1.
|
|
564170
|
+
version: "1.1.3",
|
|
564169
564171
|
output_style: {
|
|
564170
564172
|
name: outputStyleName
|
|
564171
564173
|
},
|
|
@@ -588668,7 +588670,7 @@ function WelcomeV2() {
|
|
|
588668
588670
|
dimColor: true,
|
|
588669
588671
|
children: [
|
|
588670
588672
|
"v",
|
|
588671
|
-
"1.1.
|
|
588673
|
+
"1.1.3",
|
|
588672
588674
|
" "
|
|
588673
588675
|
]
|
|
588674
588676
|
})
|
|
@@ -588902,7 +588904,7 @@ function WelcomeV2() {
|
|
|
588902
588904
|
dimColor: true,
|
|
588903
588905
|
children: [
|
|
588904
588906
|
"v",
|
|
588905
|
-
"1.1.
|
|
588907
|
+
"1.1.3",
|
|
588906
588908
|
" "
|
|
588907
588909
|
]
|
|
588908
588910
|
})
|
|
@@ -589149,7 +589151,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
589149
589151
|
dimColor: true,
|
|
589150
589152
|
children: [
|
|
589151
589153
|
"v",
|
|
589152
|
-
"1.1.
|
|
589154
|
+
"1.1.3",
|
|
589153
589155
|
" "
|
|
589154
589156
|
]
|
|
589155
589157
|
});
|
|
@@ -589422,7 +589424,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
589422
589424
|
dimColor: true,
|
|
589423
589425
|
children: [
|
|
589424
589426
|
"v",
|
|
589425
|
-
"1.1.
|
|
589427
|
+
"1.1.3",
|
|
589426
589428
|
" "
|
|
589427
589429
|
]
|
|
589428
589430
|
});
|
|
@@ -590934,7 +590936,7 @@ function completeOnboarding() {
|
|
|
590934
590936
|
saveGlobalConfig((current) => ({
|
|
590935
590937
|
...current,
|
|
590936
590938
|
hasCompletedOnboarding: true,
|
|
590937
|
-
lastOnboardingVersion: "1.1.
|
|
590939
|
+
lastOnboardingVersion: "1.1.3"
|
|
590938
590940
|
}));
|
|
590939
590941
|
}
|
|
590940
590942
|
function showDialog(root2, renderer) {
|
|
@@ -595185,7 +595187,7 @@ function appendToLog(path24, message) {
|
|
|
595185
595187
|
cwd: getFsImplementation().cwd(),
|
|
595186
595188
|
userType: process.env.USER_TYPE,
|
|
595187
595189
|
sessionId: getSessionId(),
|
|
595188
|
-
version: "1.1.
|
|
595190
|
+
version: "1.1.3"
|
|
595189
595191
|
};
|
|
595190
595192
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
595191
595193
|
}
|
|
@@ -595791,7 +595793,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
595791
595793
|
setCwd(cwd2);
|
|
595792
595794
|
const server = new Server({
|
|
595793
595795
|
name: "claude/tengu",
|
|
595794
|
-
version: "1.1.
|
|
595796
|
+
version: "1.1.3"
|
|
595795
595797
|
}, {
|
|
595796
595798
|
capabilities: {
|
|
595797
595799
|
tools: {}
|
|
@@ -600430,8 +600432,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
600430
600432
|
}
|
|
600431
600433
|
async function checkEnvLessBridgeMinVersion() {
|
|
600432
600434
|
const cfg = await getEnvLessBridgeConfig();
|
|
600433
|
-
if (cfg.min_version && lt("1.1.
|
|
600434
|
-
return `Your version of ZeroCLI (${"1.1.
|
|
600435
|
+
if (cfg.min_version && lt("1.1.3", cfg.min_version)) {
|
|
600436
|
+
return `Your version of ZeroCLI (${"1.1.3"}) is too old for Remote Control.
|
|
600435
600437
|
Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
|
|
600436
600438
|
}
|
|
600437
600439
|
return null;
|
|
@@ -600906,7 +600908,7 @@ async function initBridgeCore(params) {
|
|
|
600906
600908
|
const rawApi = createBridgeApiClient({
|
|
600907
600909
|
baseUrl,
|
|
600908
600910
|
getAccessToken,
|
|
600909
|
-
runnerVersion: "1.1.
|
|
600911
|
+
runnerVersion: "1.1.3",
|
|
600910
600912
|
onDebug: logForDebugging,
|
|
600911
600913
|
onAuth401,
|
|
600912
600914
|
getTrustedDeviceToken
|
|
@@ -607194,7 +607196,7 @@ __export(exports_update2, {
|
|
|
607194
607196
|
});
|
|
607195
607197
|
async function update2() {
|
|
607196
607198
|
logEvent("tengu_update_check", {});
|
|
607197
|
-
writeToStdout(`Current version: ${"1.1.
|
|
607199
|
+
writeToStdout(`Current version: ${"1.1.3"}
|
|
607198
607200
|
`);
|
|
607199
607201
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
607200
607202
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -607269,8 +607271,8 @@ async function update2() {
|
|
|
607269
607271
|
writeToStdout(`Zero is managed by Homebrew.
|
|
607270
607272
|
`);
|
|
607271
607273
|
const latest = await getLatestVersion(channel2);
|
|
607272
|
-
if (latest && !gte("1.1.
|
|
607273
|
-
writeToStdout(`Update available: ${"1.1.
|
|
607274
|
+
if (latest && !gte("1.1.3", latest)) {
|
|
607275
|
+
writeToStdout(`Update available: ${"1.1.3"} → ${latest}
|
|
607274
607276
|
`);
|
|
607275
607277
|
writeToStdout(`
|
|
607276
607278
|
`);
|
|
@@ -607286,8 +607288,8 @@ async function update2() {
|
|
|
607286
607288
|
writeToStdout(`Zero is managed by winget.
|
|
607287
607289
|
`);
|
|
607288
607290
|
const latest = await getLatestVersion(channel2);
|
|
607289
|
-
if (latest && !gte("1.1.
|
|
607290
|
-
writeToStdout(`Update available: ${"1.1.
|
|
607291
|
+
if (latest && !gte("1.1.3", latest)) {
|
|
607292
|
+
writeToStdout(`Update available: ${"1.1.3"} → ${latest}
|
|
607291
607293
|
`);
|
|
607292
607294
|
writeToStdout(`
|
|
607293
607295
|
`);
|
|
@@ -607303,8 +607305,8 @@ async function update2() {
|
|
|
607303
607305
|
writeToStdout(`Zero is managed by apk.
|
|
607304
607306
|
`);
|
|
607305
607307
|
const latest = await getLatestVersion(channel2);
|
|
607306
|
-
if (latest && !gte("1.1.
|
|
607307
|
-
writeToStdout(`Update available: ${"1.1.
|
|
607308
|
+
if (latest && !gte("1.1.3", latest)) {
|
|
607309
|
+
writeToStdout(`Update available: ${"1.1.3"} → ${latest}
|
|
607308
607310
|
`);
|
|
607309
607311
|
writeToStdout(`
|
|
607310
607312
|
`);
|
|
@@ -607369,11 +607371,11 @@ async function update2() {
|
|
|
607369
607371
|
`);
|
|
607370
607372
|
await gracefulShutdown(1);
|
|
607371
607373
|
}
|
|
607372
|
-
if (result.latestVersion === "1.1.
|
|
607373
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.
|
|
607374
|
+
if (result.latestVersion === "1.1.3") {
|
|
607375
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.3"})`) + `
|
|
607374
607376
|
`);
|
|
607375
607377
|
} else {
|
|
607376
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
607378
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.3"} to version ${result.latestVersion}`) + `
|
|
607377
607379
|
`);
|
|
607378
607380
|
await regenerateCompletionCache();
|
|
607379
607381
|
}
|
|
@@ -607433,12 +607435,12 @@ async function update2() {
|
|
|
607433
607435
|
`);
|
|
607434
607436
|
await gracefulShutdown(1);
|
|
607435
607437
|
}
|
|
607436
|
-
if (latestVersion === "1.1.
|
|
607437
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.
|
|
607438
|
+
if (latestVersion === "1.1.3") {
|
|
607439
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.3"})`) + `
|
|
607438
607440
|
`);
|
|
607439
607441
|
await gracefulShutdown(0);
|
|
607440
607442
|
}
|
|
607441
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
607443
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.3"})
|
|
607442
607444
|
`);
|
|
607443
607445
|
writeToStdout(`Installing update...
|
|
607444
607446
|
`);
|
|
@@ -607483,7 +607485,7 @@ async function update2() {
|
|
|
607483
607485
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
607484
607486
|
switch (status2) {
|
|
607485
607487
|
case "success":
|
|
607486
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
607488
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.3"} to version ${latestVersion}`) + `
|
|
607487
607489
|
`);
|
|
607488
607490
|
await regenerateCompletionCache();
|
|
607489
607491
|
break;
|
|
@@ -608784,7 +608786,7 @@ ${customInstructions}` : customInstructions;
|
|
|
608784
608786
|
}
|
|
608785
608787
|
}
|
|
608786
608788
|
logForDiagnosticsNoPII("info", "started", {
|
|
608787
|
-
version: "1.1.
|
|
608789
|
+
version: "1.1.3",
|
|
608788
608790
|
is_native_binary: isInBundledMode()
|
|
608789
608791
|
});
|
|
608790
608792
|
registerCleanup(async () => {
|
|
@@ -609667,7 +609669,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
609667
609669
|
pendingHookMessages
|
|
609668
609670
|
}, renderAndRun);
|
|
609669
609671
|
}
|
|
609670
|
-
}).version("1.1.
|
|
609672
|
+
}).version("1.1.3", "-v, --version", "Output the version number");
|
|
609671
609673
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
609672
609674
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
609673
609675
|
if (canUserConfigureAdvisor()) {
|
|
@@ -610333,7 +610335,7 @@ if (false) {}
|
|
|
610333
610335
|
async function main2() {
|
|
610334
610336
|
const args = process.argv.slice(2);
|
|
610335
610337
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
610336
|
-
console.log(`${"1.1.
|
|
610338
|
+
console.log(`${"1.1.3"} (ZeroCLI)`);
|
|
610337
610339
|
return;
|
|
610338
610340
|
}
|
|
610339
610341
|
if (args.includes("--provider")) {
|
|
@@ -610475,4 +610477,4 @@ async function main2() {
|
|
|
610475
610477
|
}
|
|
610476
610478
|
main2();
|
|
610477
610479
|
|
|
610478
|
-
//# debugId=
|
|
610480
|
+
//# debugId=167C45783D090C3E64756E2164756E21
|