@duheso/zerocli 1.0.10 → 1.1.0
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
|
@@ -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.0
|
|
119229
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.0"}${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.0
|
|
147420
|
+
const version2 = `${"1.1.0"}.${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.0
|
|
190438
|
+
return `claude-code/${"1.1.0"}`;
|
|
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.0
|
|
190447
|
+
return `claude-cli/${"1.1.0"} (${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.0
|
|
190461
|
+
return `claude-code/${"1.1.0"}${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.0
|
|
244947
|
+
attributes["app.version"] = "1.1.0";
|
|
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.0
|
|
257186
|
+
return computeFingerprint(firstMessageText, "1.1.0");
|
|
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.0
|
|
257228
|
+
const fingerprint = computeFingerprint(messageText, "1.1.0");
|
|
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.0
|
|
266130
|
+
appVersion: "1.1.0",
|
|
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.0
|
|
266524
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.0");
|
|
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.0
|
|
266564
|
+
[ATTR_SERVICE_VERSION3]: "1.1.0"
|
|
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.0
|
|
266609
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.0");
|
|
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.0
|
|
266629
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.0");
|
|
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.0
|
|
266691
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.0");
|
|
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.0
|
|
267503
|
+
if (versionConfig.minVersion && lt("1.1.0", versionConfig.minVersion)) {
|
|
267504
267504
|
console.error(`
|
|
267505
|
-
It looks like your version of ZeroCLI (${"1.0
|
|
267505
|
+
It looks like your version of ZeroCLI (${"1.1.0"}) 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.0
|
|
267721
|
+
currentVersion: "1.1.0"
|
|
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.0
|
|
267730
|
+
currentVersion: "1.1.0"
|
|
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.0
|
|
268284
|
+
version2 = "1.1.0";
|
|
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.0
|
|
269778
|
+
return "1.1.0";
|
|
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.0
|
|
271146
|
-
logForDebugging(`Native installer: current version ${"1.0
|
|
271145
|
+
if (gte("1.1.0", maxVersion)) {
|
|
271146
|
+
logForDebugging(`Native installer: current version ${"1.1.0"} 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.0
|
|
271157
|
+
if (!forceReinstall && version2 === "1.1.0" && 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,
|
|
@@ -402279,7 +402279,7 @@ function getAnthropicEnvMetadata() {
|
|
|
402279
402279
|
function getBuildAgeMinutes() {
|
|
402280
402280
|
if (false)
|
|
402281
402281
|
;
|
|
402282
|
-
const buildTime = new Date("2026-05-23T19:
|
|
402282
|
+
const buildTime = new Date("2026-05-23T19:08:41.809Z").getTime();
|
|
402283
402283
|
if (isNaN(buildTime))
|
|
402284
402284
|
return;
|
|
402285
402285
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -429762,7 +429762,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
429762
429762
|
const client2 = new Client({
|
|
429763
429763
|
name: "claude-code",
|
|
429764
429764
|
title: "ZeroCLI",
|
|
429765
|
-
version: "1.0
|
|
429765
|
+
version: "1.1.0",
|
|
429766
429766
|
description: "Anthropic's agentic coding tool",
|
|
429767
429767
|
websiteUrl: PRODUCT_URL
|
|
429768
429768
|
}, {
|
|
@@ -430114,7 +430114,7 @@ var init_client7 = __esm(() => {
|
|
|
430114
430114
|
const client2 = new Client({
|
|
430115
430115
|
name: "claude-code",
|
|
430116
430116
|
title: "ZeroCLI",
|
|
430117
|
-
version: "1.0
|
|
430117
|
+
version: "1.1.0",
|
|
430118
430118
|
description: "Anthropic's agentic coding tool",
|
|
430119
430119
|
websiteUrl: PRODUCT_URL
|
|
430120
430120
|
}, {
|
|
@@ -440849,7 +440849,7 @@ function Feedback({
|
|
|
440849
440849
|
platform: env2.platform,
|
|
440850
440850
|
gitRepo: envInfo.isGit,
|
|
440851
440851
|
terminal: env2.terminal,
|
|
440852
|
-
version: "1.0
|
|
440852
|
+
version: "1.1.0",
|
|
440853
440853
|
transcript: normalizeMessagesForAPI(messages),
|
|
440854
440854
|
errors: sanitizedErrors,
|
|
440855
440855
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -441042,7 +441042,7 @@ function Feedback({
|
|
|
441042
441042
|
", ",
|
|
441043
441043
|
env2.terminal,
|
|
441044
441044
|
", v",
|
|
441045
|
-
"1.0
|
|
441045
|
+
"1.1.0"
|
|
441046
441046
|
]
|
|
441047
441047
|
})
|
|
441048
441048
|
]
|
|
@@ -441150,7 +441150,7 @@ ${sanitizedDescription}
|
|
|
441150
441150
|
` + `**Environment Info**
|
|
441151
441151
|
` + `- Platform: ${env2.platform}
|
|
441152
441152
|
` + `- Terminal: ${env2.terminal}
|
|
441153
|
-
` + `- Version: ${"1.0
|
|
441153
|
+
` + `- Version: ${"1.1.0"}
|
|
441154
441154
|
` + feedbackIdLine + `
|
|
441155
441155
|
**Errors**
|
|
441156
441156
|
\`\`\`json
|
|
@@ -444303,7 +444303,7 @@ function buildPrimarySection() {
|
|
|
444303
444303
|
});
|
|
444304
444304
|
return [{
|
|
444305
444305
|
label: "Version",
|
|
444306
|
-
value: "1.0
|
|
444306
|
+
value: "1.1.0"
|
|
444307
444307
|
}, {
|
|
444308
444308
|
label: "Session name",
|
|
444309
444309
|
value: nameValue
|
|
@@ -449073,7 +449073,7 @@ function Config({
|
|
|
449073
449073
|
}
|
|
449074
449074
|
})
|
|
449075
449075
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
|
|
449076
|
-
currentVersion: "1.0
|
|
449076
|
+
currentVersion: "1.1.0",
|
|
449077
449077
|
onChoice: (choice) => {
|
|
449078
449078
|
setShowSubmenu(null);
|
|
449079
449079
|
setTabsHidden(false);
|
|
@@ -449085,7 +449085,7 @@ function Config({
|
|
|
449085
449085
|
autoUpdatesChannel: "stable"
|
|
449086
449086
|
};
|
|
449087
449087
|
if (choice === "stay") {
|
|
449088
|
-
newSettings.minimumVersion = "1.0
|
|
449088
|
+
newSettings.minimumVersion = "1.1.0";
|
|
449089
449089
|
}
|
|
449090
449090
|
updateSettingsForSource("userSettings", newSettings);
|
|
449091
449091
|
setSettingsData((prev_27) => ({
|
|
@@ -456069,7 +456069,7 @@ function UpdateScreen({ onDone }) {
|
|
|
456069
456069
|
setState({ type: "dev-build" });
|
|
456070
456070
|
return;
|
|
456071
456071
|
}
|
|
456072
|
-
const currentVersion = "1.0
|
|
456072
|
+
const currentVersion = "1.1.0";
|
|
456073
456073
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
456074
456074
|
const latestVersion = await getLatestVersion(channel2);
|
|
456075
456075
|
if (!latestVersion) {
|
|
@@ -458180,7 +458180,7 @@ function HelpV2(t0) {
|
|
|
458180
458180
|
let t6;
|
|
458181
458181
|
if ($2[31] !== tabs) {
|
|
458182
458182
|
t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
|
|
458183
|
-
title: `ZeroCLI v${"1.0
|
|
458183
|
+
title: `ZeroCLI v${"1.1.0"}`,
|
|
458184
458184
|
color: "professionalBlue",
|
|
458185
458185
|
defaultTab: "general",
|
|
458186
458186
|
children: tabs
|
|
@@ -483024,7 +483024,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
483024
483024
|
return [];
|
|
483025
483025
|
}
|
|
483026
483026
|
}
|
|
483027
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0
|
|
483027
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.0") {
|
|
483028
483028
|
if (process.env.USER_TYPE === "ant") {
|
|
483029
483029
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
483030
483030
|
if (changelog) {
|
|
@@ -512062,7 +512062,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
512062
512062
|
smapsRollup,
|
|
512063
512063
|
platform: process.platform,
|
|
512064
512064
|
nodeVersion: process.version,
|
|
512065
|
-
ccVersion: "1.0
|
|
512065
|
+
ccVersion: "1.1.0"
|
|
512066
512066
|
};
|
|
512067
512067
|
}
|
|
512068
512068
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -512649,7 +512649,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
512649
512649
|
var call60 = async () => {
|
|
512650
512650
|
return {
|
|
512651
512651
|
type: "text",
|
|
512652
|
-
value: `${"1.0
|
|
512652
|
+
value: `${"1.1.0"} (built ${"2026-05-23T19:08:41.809Z"})`
|
|
512653
512653
|
};
|
|
512654
512654
|
}, version2, version_default;
|
|
512655
512655
|
var init_version = __esm(() => {
|
|
@@ -522963,7 +522963,7 @@ function generateHtmlReport(data, insights) {
|
|
|
522963
522963
|
function buildExportData(data, insights, facets) {
|
|
522964
522964
|
let version3;
|
|
522965
522965
|
try {
|
|
522966
|
-
version3 = "1.0
|
|
522966
|
+
version3 = "1.1.0";
|
|
522967
522967
|
} catch {
|
|
522968
522968
|
version3 = "unknown";
|
|
522969
522969
|
}
|
|
@@ -527163,7 +527163,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
527163
527163
|
init_slowOperations();
|
|
527164
527164
|
init_uuid();
|
|
527165
527165
|
try {
|
|
527166
|
-
VERSION7 = "1.0
|
|
527166
|
+
VERSION7 = "1.1.0";
|
|
527167
527167
|
} catch {
|
|
527168
527168
|
VERSION7 = "unknown";
|
|
527169
527169
|
}
|
|
@@ -528484,7 +528484,7 @@ var init_filesystem = __esm(() => {
|
|
|
528484
528484
|
});
|
|
528485
528485
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
528486
528486
|
const nonce = randomBytes17(16).toString("hex");
|
|
528487
|
-
return join137(getZeroTempDir(), "bundled-skills", "1.0
|
|
528487
|
+
return join137(getZeroTempDir(), "bundled-skills", "1.1.0", nonce);
|
|
528488
528488
|
});
|
|
528489
528489
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
528490
528490
|
});
|
|
@@ -539344,7 +539344,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
539344
539344
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
539345
539345
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
539346
539346
|
betas: getSdkBetas(),
|
|
539347
|
-
claude_code_version: "1.0
|
|
539347
|
+
claude_code_version: "1.1.0",
|
|
539348
539348
|
output_style: outputStyle2,
|
|
539349
539349
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
539350
539350
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -554659,7 +554659,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
554659
554659
|
function getSemverPart(version3) {
|
|
554660
554660
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
554661
554661
|
}
|
|
554662
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.0
|
|
554662
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.0") {
|
|
554663
554663
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
554664
554664
|
if (!updatedVersion) {
|
|
554665
554665
|
return null;
|
|
@@ -554702,7 +554702,7 @@ function AutoUpdater({
|
|
|
554702
554702
|
return;
|
|
554703
554703
|
}
|
|
554704
554704
|
if (false) {}
|
|
554705
|
-
const currentVersion = "1.0
|
|
554705
|
+
const currentVersion = "1.1.0";
|
|
554706
554706
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
554707
554707
|
let latestVersion = await getLatestVersion(channel2);
|
|
554708
554708
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -554923,12 +554923,12 @@ function NativeAutoUpdater({
|
|
|
554923
554923
|
logEvent("tengu_native_auto_updater_start", {});
|
|
554924
554924
|
try {
|
|
554925
554925
|
const maxVersion = await getMaxVersion();
|
|
554926
|
-
if (maxVersion && gt("1.0
|
|
554926
|
+
if (maxVersion && gt("1.1.0", maxVersion)) {
|
|
554927
554927
|
const msg = await getMaxVersionMessage();
|
|
554928
554928
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
554929
554929
|
}
|
|
554930
554930
|
const result = await installLatest(channel2);
|
|
554931
|
-
const currentVersion = "1.0
|
|
554931
|
+
const currentVersion = "1.1.0";
|
|
554932
554932
|
const latencyMs = Date.now() - startTime2;
|
|
554933
554933
|
if (result.lockFailed) {
|
|
554934
554934
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -555070,17 +555070,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
555070
555070
|
const maxVersion = await getMaxVersion();
|
|
555071
555071
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
555072
555072
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
555073
|
-
if (gte("1.0
|
|
555074
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0
|
|
555073
|
+
if (gte("1.1.0", maxVersion)) {
|
|
555074
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
555075
555075
|
setUpdateAvailable(false);
|
|
555076
555076
|
return;
|
|
555077
555077
|
}
|
|
555078
555078
|
latest = maxVersion;
|
|
555079
555079
|
}
|
|
555080
|
-
const hasUpdate = latest && !gte("1.0
|
|
555080
|
+
const hasUpdate = latest && !gte("1.1.0", latest) && !shouldSkipVersion(latest);
|
|
555081
555081
|
setUpdateAvailable(!!hasUpdate);
|
|
555082
555082
|
if (hasUpdate) {
|
|
555083
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0
|
|
555083
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.0"} -> ${latest}`);
|
|
555084
555084
|
}
|
|
555085
555085
|
};
|
|
555086
555086
|
$2[0] = t1;
|
|
@@ -555114,7 +555114,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
555114
555114
|
wrap: "truncate",
|
|
555115
555115
|
children: [
|
|
555116
555116
|
"currentVersion: ",
|
|
555117
|
-
"1.0
|
|
555117
|
+
"1.1.0"
|
|
555118
555118
|
]
|
|
555119
555119
|
});
|
|
555120
555120
|
$2[3] = verbose;
|
|
@@ -564170,7 +564170,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
564170
564170
|
project_dir: getOriginalCwd(),
|
|
564171
564171
|
added_dirs: addedDirs
|
|
564172
564172
|
},
|
|
564173
|
-
version: "1.0
|
|
564173
|
+
version: "1.1.0",
|
|
564174
564174
|
output_style: {
|
|
564175
564175
|
name: outputStyleName
|
|
564176
564176
|
},
|
|
@@ -588673,7 +588673,7 @@ function WelcomeV2() {
|
|
|
588673
588673
|
dimColor: true,
|
|
588674
588674
|
children: [
|
|
588675
588675
|
"v",
|
|
588676
|
-
"1.0
|
|
588676
|
+
"1.1.0",
|
|
588677
588677
|
" "
|
|
588678
588678
|
]
|
|
588679
588679
|
})
|
|
@@ -588907,7 +588907,7 @@ function WelcomeV2() {
|
|
|
588907
588907
|
dimColor: true,
|
|
588908
588908
|
children: [
|
|
588909
588909
|
"v",
|
|
588910
|
-
"1.0
|
|
588910
|
+
"1.1.0",
|
|
588911
588911
|
" "
|
|
588912
588912
|
]
|
|
588913
588913
|
})
|
|
@@ -589154,7 +589154,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
589154
589154
|
dimColor: true,
|
|
589155
589155
|
children: [
|
|
589156
589156
|
"v",
|
|
589157
|
-
"1.0
|
|
589157
|
+
"1.1.0",
|
|
589158
589158
|
" "
|
|
589159
589159
|
]
|
|
589160
589160
|
});
|
|
@@ -589427,7 +589427,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
589427
589427
|
dimColor: true,
|
|
589428
589428
|
children: [
|
|
589429
589429
|
"v",
|
|
589430
|
-
"1.0
|
|
589430
|
+
"1.1.0",
|
|
589431
589431
|
" "
|
|
589432
589432
|
]
|
|
589433
589433
|
});
|
|
@@ -590939,7 +590939,7 @@ function completeOnboarding() {
|
|
|
590939
590939
|
saveGlobalConfig((current) => ({
|
|
590940
590940
|
...current,
|
|
590941
590941
|
hasCompletedOnboarding: true,
|
|
590942
|
-
lastOnboardingVersion: "1.0
|
|
590942
|
+
lastOnboardingVersion: "1.1.0"
|
|
590943
590943
|
}));
|
|
590944
590944
|
}
|
|
590945
590945
|
function showDialog(root2, renderer) {
|
|
@@ -595190,7 +595190,7 @@ function appendToLog(path24, message) {
|
|
|
595190
595190
|
cwd: getFsImplementation().cwd(),
|
|
595191
595191
|
userType: process.env.USER_TYPE,
|
|
595192
595192
|
sessionId: getSessionId(),
|
|
595193
|
-
version: "1.0
|
|
595193
|
+
version: "1.1.0"
|
|
595194
595194
|
};
|
|
595195
595195
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
595196
595196
|
}
|
|
@@ -595796,7 +595796,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
595796
595796
|
setCwd(cwd2);
|
|
595797
595797
|
const server = new Server({
|
|
595798
595798
|
name: "claude/tengu",
|
|
595799
|
-
version: "1.0
|
|
595799
|
+
version: "1.1.0"
|
|
595800
595800
|
}, {
|
|
595801
595801
|
capabilities: {
|
|
595802
595802
|
tools: {}
|
|
@@ -600435,8 +600435,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
600435
600435
|
}
|
|
600436
600436
|
async function checkEnvLessBridgeMinVersion() {
|
|
600437
600437
|
const cfg = await getEnvLessBridgeConfig();
|
|
600438
|
-
if (cfg.min_version && lt("1.0
|
|
600439
|
-
return `Your version of ZeroCLI (${"1.0
|
|
600438
|
+
if (cfg.min_version && lt("1.1.0", cfg.min_version)) {
|
|
600439
|
+
return `Your version of ZeroCLI (${"1.1.0"}) is too old for Remote Control.
|
|
600440
600440
|
Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
|
|
600441
600441
|
}
|
|
600442
600442
|
return null;
|
|
@@ -600911,7 +600911,7 @@ async function initBridgeCore(params) {
|
|
|
600911
600911
|
const rawApi = createBridgeApiClient({
|
|
600912
600912
|
baseUrl,
|
|
600913
600913
|
getAccessToken,
|
|
600914
|
-
runnerVersion: "1.0
|
|
600914
|
+
runnerVersion: "1.1.0",
|
|
600915
600915
|
onDebug: logForDebugging,
|
|
600916
600916
|
onAuth401,
|
|
600917
600917
|
getTrustedDeviceToken
|
|
@@ -607199,7 +607199,7 @@ __export(exports_update2, {
|
|
|
607199
607199
|
});
|
|
607200
607200
|
async function update2() {
|
|
607201
607201
|
logEvent("tengu_update_check", {});
|
|
607202
|
-
writeToStdout(`Current version: ${"1.0
|
|
607202
|
+
writeToStdout(`Current version: ${"1.1.0"}
|
|
607203
607203
|
`);
|
|
607204
607204
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
607205
607205
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -607274,8 +607274,8 @@ async function update2() {
|
|
|
607274
607274
|
writeToStdout(`Zero is managed by Homebrew.
|
|
607275
607275
|
`);
|
|
607276
607276
|
const latest = await getLatestVersion(channel2);
|
|
607277
|
-
if (latest && !gte("1.0
|
|
607278
|
-
writeToStdout(`Update available: ${"1.0
|
|
607277
|
+
if (latest && !gte("1.1.0", latest)) {
|
|
607278
|
+
writeToStdout(`Update available: ${"1.1.0"} → ${latest}
|
|
607279
607279
|
`);
|
|
607280
607280
|
writeToStdout(`
|
|
607281
607281
|
`);
|
|
@@ -607291,8 +607291,8 @@ async function update2() {
|
|
|
607291
607291
|
writeToStdout(`Zero is managed by winget.
|
|
607292
607292
|
`);
|
|
607293
607293
|
const latest = await getLatestVersion(channel2);
|
|
607294
|
-
if (latest && !gte("1.0
|
|
607295
|
-
writeToStdout(`Update available: ${"1.0
|
|
607294
|
+
if (latest && !gte("1.1.0", latest)) {
|
|
607295
|
+
writeToStdout(`Update available: ${"1.1.0"} → ${latest}
|
|
607296
607296
|
`);
|
|
607297
607297
|
writeToStdout(`
|
|
607298
607298
|
`);
|
|
@@ -607308,8 +607308,8 @@ async function update2() {
|
|
|
607308
607308
|
writeToStdout(`Zero is managed by apk.
|
|
607309
607309
|
`);
|
|
607310
607310
|
const latest = await getLatestVersion(channel2);
|
|
607311
|
-
if (latest && !gte("1.0
|
|
607312
|
-
writeToStdout(`Update available: ${"1.0
|
|
607311
|
+
if (latest && !gte("1.1.0", latest)) {
|
|
607312
|
+
writeToStdout(`Update available: ${"1.1.0"} → ${latest}
|
|
607313
607313
|
`);
|
|
607314
607314
|
writeToStdout(`
|
|
607315
607315
|
`);
|
|
@@ -607374,11 +607374,11 @@ async function update2() {
|
|
|
607374
607374
|
`);
|
|
607375
607375
|
await gracefulShutdown(1);
|
|
607376
607376
|
}
|
|
607377
|
-
if (result.latestVersion === "1.0
|
|
607378
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0
|
|
607377
|
+
if (result.latestVersion === "1.1.0") {
|
|
607378
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.0"})`) + `
|
|
607379
607379
|
`);
|
|
607380
607380
|
} else {
|
|
607381
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0
|
|
607381
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.0"} to version ${result.latestVersion}`) + `
|
|
607382
607382
|
`);
|
|
607383
607383
|
await regenerateCompletionCache();
|
|
607384
607384
|
}
|
|
@@ -607438,12 +607438,12 @@ async function update2() {
|
|
|
607438
607438
|
`);
|
|
607439
607439
|
await gracefulShutdown(1);
|
|
607440
607440
|
}
|
|
607441
|
-
if (latestVersion === "1.0
|
|
607442
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0
|
|
607441
|
+
if (latestVersion === "1.1.0") {
|
|
607442
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.0"})`) + `
|
|
607443
607443
|
`);
|
|
607444
607444
|
await gracefulShutdown(0);
|
|
607445
607445
|
}
|
|
607446
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0
|
|
607446
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.0"})
|
|
607447
607447
|
`);
|
|
607448
607448
|
writeToStdout(`Installing update...
|
|
607449
607449
|
`);
|
|
@@ -607488,7 +607488,7 @@ async function update2() {
|
|
|
607488
607488
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
607489
607489
|
switch (status2) {
|
|
607490
607490
|
case "success":
|
|
607491
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0
|
|
607491
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.0"} to version ${latestVersion}`) + `
|
|
607492
607492
|
`);
|
|
607493
607493
|
await regenerateCompletionCache();
|
|
607494
607494
|
break;
|
|
@@ -608789,7 +608789,7 @@ ${customInstructions}` : customInstructions;
|
|
|
608789
608789
|
}
|
|
608790
608790
|
}
|
|
608791
608791
|
logForDiagnosticsNoPII("info", "started", {
|
|
608792
|
-
version: "1.0
|
|
608792
|
+
version: "1.1.0",
|
|
608793
608793
|
is_native_binary: isInBundledMode()
|
|
608794
608794
|
});
|
|
608795
608795
|
registerCleanup(async () => {
|
|
@@ -609672,7 +609672,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
609672
609672
|
pendingHookMessages
|
|
609673
609673
|
}, renderAndRun);
|
|
609674
609674
|
}
|
|
609675
|
-
}).version("1.0
|
|
609675
|
+
}).version("1.1.0", "-v, --version", "Output the version number");
|
|
609676
609676
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
609677
609677
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
609678
609678
|
if (canUserConfigureAdvisor()) {
|
|
@@ -610338,7 +610338,7 @@ if (false) {}
|
|
|
610338
610338
|
async function main2() {
|
|
610339
610339
|
const args = process.argv.slice(2);
|
|
610340
610340
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
610341
|
-
console.log(`${"1.0
|
|
610341
|
+
console.log(`${"1.1.0"} (ZeroCLI)`);
|
|
610342
610342
|
return;
|
|
610343
610343
|
}
|
|
610344
610344
|
if (args.includes("--provider")) {
|
|
@@ -610480,4 +610480,4 @@ async function main2() {
|
|
|
610480
610480
|
}
|
|
610481
610481
|
main2();
|
|
610482
610482
|
|
|
610483
|
-
//# debugId=
|
|
610483
|
+
//# debugId=D2D180B6E13B56C764756E2164756E21
|