@duheso/zerocli 0.9.9 → 1.0.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
|
@@ -119224,7 +119224,7 @@ function buildProviderInfoLines() {
|
|
|
119224
119224
|
const sLen = ` ● ${sL} ${sReady}`.length;
|
|
119225
119225
|
out.push(boxRow(sRow, W2, sLen));
|
|
119226
119226
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
119227
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.
|
|
119227
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.0.0"}${RESET}`);
|
|
119228
119228
|
return out;
|
|
119229
119229
|
}
|
|
119230
119230
|
function printStartupScreen() {}
|
|
@@ -147415,7 +147415,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
147415
147415
|
if (!isAttributionHeaderEnabled()) {
|
|
147416
147416
|
return "";
|
|
147417
147417
|
}
|
|
147418
|
-
const version2 = `${"0.
|
|
147418
|
+
const version2 = `${"1.0.0"}.${fingerprint}`;
|
|
147419
147419
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
147420
147420
|
const cch = "";
|
|
147421
147421
|
const workload = getWorkload();
|
|
@@ -190425,7 +190425,7 @@ var init_imageValidation = __esm(() => {
|
|
|
190425
190425
|
|
|
190426
190426
|
// src/utils/userAgent.ts
|
|
190427
190427
|
function getZeroCodeUserAgent() {
|
|
190428
|
-
return `claude-code/${"0.
|
|
190428
|
+
return `claude-code/${"1.0.0"}`;
|
|
190429
190429
|
}
|
|
190430
190430
|
|
|
190431
190431
|
// src/utils/http.ts
|
|
@@ -190434,7 +190434,7 @@ function getUserAgent() {
|
|
|
190434
190434
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
190435
190435
|
const workload = getWorkload();
|
|
190436
190436
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
190437
|
-
return `claude-cli/${"0.
|
|
190437
|
+
return `claude-cli/${"1.0.0"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
190438
190438
|
}
|
|
190439
190439
|
function getMCPUserAgent() {
|
|
190440
190440
|
const parts = [];
|
|
@@ -190448,7 +190448,7 @@ function getMCPUserAgent() {
|
|
|
190448
190448
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
190449
190449
|
}
|
|
190450
190450
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
190451
|
-
return `claude-code/${"0.
|
|
190451
|
+
return `claude-code/${"1.0.0"}${suffix}`;
|
|
190452
190452
|
}
|
|
190453
190453
|
function getWebFetchUserAgent() {
|
|
190454
190454
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
|
|
@@ -244934,7 +244934,7 @@ function getTelemetryAttributes() {
|
|
|
244934
244934
|
attributes["session.id"] = sessionId;
|
|
244935
244935
|
}
|
|
244936
244936
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
244937
|
-
attributes["app.version"] = "0.
|
|
244937
|
+
attributes["app.version"] = "1.0.0";
|
|
244938
244938
|
}
|
|
244939
244939
|
const oauthAccount = getOauthAccountInfo();
|
|
244940
244940
|
if (oauthAccount) {
|
|
@@ -257173,7 +257173,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
257173
257173
|
}
|
|
257174
257174
|
function computeFingerprintFromMessages(messages) {
|
|
257175
257175
|
const firstMessageText = extractFirstMessageText(messages);
|
|
257176
|
-
return computeFingerprint(firstMessageText, "0.
|
|
257176
|
+
return computeFingerprint(firstMessageText, "1.0.0");
|
|
257177
257177
|
}
|
|
257178
257178
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
257179
257179
|
var init_fingerprint = () => {};
|
|
@@ -257215,7 +257215,7 @@ async function sideQuery(opts) {
|
|
|
257215
257215
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
257216
257216
|
}
|
|
257217
257217
|
const messageText = extractFirstUserMessageText(messages);
|
|
257218
|
-
const fingerprint = computeFingerprint(messageText, "0.
|
|
257218
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0");
|
|
257219
257219
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
257220
257220
|
const systemBlocks = [
|
|
257221
257221
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -266117,7 +266117,7 @@ var init_user = __esm(() => {
|
|
|
266117
266117
|
deviceId,
|
|
266118
266118
|
sessionId: getSessionId(),
|
|
266119
266119
|
email: getEmail(),
|
|
266120
|
-
appVersion: "0.
|
|
266120
|
+
appVersion: "1.0.0",
|
|
266121
266121
|
platform: getHostPlatformForAnalytics(),
|
|
266122
266122
|
organizationUuid,
|
|
266123
266123
|
accountUuid,
|
|
@@ -266511,7 +266511,7 @@ async function initializeBetaTracing(resource) {
|
|
|
266511
266511
|
});
|
|
266512
266512
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266513
266513
|
setLoggerProvider(loggerProvider);
|
|
266514
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.
|
|
266514
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.0");
|
|
266515
266515
|
setEventLogger(eventLogger);
|
|
266516
266516
|
process.on("beforeExit", async () => {
|
|
266517
266517
|
await loggerProvider?.forceFlush();
|
|
@@ -266551,7 +266551,7 @@ async function initializeTelemetry() {
|
|
|
266551
266551
|
const platform3 = getPlatform();
|
|
266552
266552
|
const baseAttributes = {
|
|
266553
266553
|
[ATTR_SERVICE_NAME3]: "claude-code",
|
|
266554
|
-
[ATTR_SERVICE_VERSION3]: "0.
|
|
266554
|
+
[ATTR_SERVICE_VERSION3]: "1.0.0"
|
|
266555
266555
|
};
|
|
266556
266556
|
if (platform3 === "wsl") {
|
|
266557
266557
|
const wslVersion = getWslVersion();
|
|
@@ -266596,7 +266596,7 @@ async function initializeTelemetry() {
|
|
|
266596
266596
|
} catch {}
|
|
266597
266597
|
};
|
|
266598
266598
|
registerCleanup(shutdownTelemetry2);
|
|
266599
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.
|
|
266599
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.0");
|
|
266600
266600
|
}
|
|
266601
266601
|
const meterProvider = new MeterProvider3({
|
|
266602
266602
|
resource,
|
|
@@ -266616,7 +266616,7 @@ async function initializeTelemetry() {
|
|
|
266616
266616
|
});
|
|
266617
266617
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
266618
266618
|
setLoggerProvider(loggerProvider);
|
|
266619
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.
|
|
266619
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.0");
|
|
266620
266620
|
setEventLogger(eventLogger);
|
|
266621
266621
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
266622
266622
|
process.on("beforeExit", async () => {
|
|
@@ -266678,7 +266678,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
266678
266678
|
}
|
|
266679
266679
|
};
|
|
266680
266680
|
registerCleanup(shutdownTelemetry);
|
|
266681
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.
|
|
266681
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.0.0");
|
|
266682
266682
|
}
|
|
266683
266683
|
async function flushTelemetry() {
|
|
266684
266684
|
const meterProvider = getMeterProvider();
|
|
@@ -267490,9 +267490,9 @@ async function assertMinVersion() {
|
|
|
267490
267490
|
}
|
|
267491
267491
|
try {
|
|
267492
267492
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
267493
|
-
if (versionConfig.minVersion && lt("0.
|
|
267493
|
+
if (versionConfig.minVersion && lt("1.0.0", versionConfig.minVersion)) {
|
|
267494
267494
|
console.error(`
|
|
267495
|
-
It looks like your version of ZeroCLI (${"0.
|
|
267495
|
+
It looks like your version of ZeroCLI (${"1.0.0"}) needs an update.
|
|
267496
267496
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
267497
267497
|
|
|
267498
267498
|
To update, please run:
|
|
@@ -267708,7 +267708,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267708
267708
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
267709
267709
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
267710
267710
|
pid: process.pid,
|
|
267711
|
-
currentVersion: "0.
|
|
267711
|
+
currentVersion: "1.0.0"
|
|
267712
267712
|
});
|
|
267713
267713
|
return "in_progress";
|
|
267714
267714
|
}
|
|
@@ -267717,7 +267717,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
267717
267717
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
267718
267718
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
267719
267719
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
267720
|
-
currentVersion: "0.
|
|
267720
|
+
currentVersion: "1.0.0"
|
|
267721
267721
|
});
|
|
267722
267722
|
console.error(`
|
|
267723
267723
|
Error: Windows NPM detected in WSL
|
|
@@ -268271,7 +268271,7 @@ async function getDoctorDiagnostic() {
|
|
|
268271
268271
|
const installationType = await getCurrentInstallationType();
|
|
268272
268272
|
let version2;
|
|
268273
268273
|
try {
|
|
268274
|
-
version2 = "0.
|
|
268274
|
+
version2 = "1.0.0";
|
|
268275
268275
|
} catch {
|
|
268276
268276
|
version2 = "unknown";
|
|
268277
268277
|
}
|
|
@@ -269765,7 +269765,7 @@ function getInstallationEnv() {
|
|
|
269765
269765
|
return;
|
|
269766
269766
|
}
|
|
269767
269767
|
function getZeroCodeVersion() {
|
|
269768
|
-
return "0.
|
|
269768
|
+
return "1.0.0";
|
|
269769
269769
|
}
|
|
269770
269770
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
269771
269771
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -271132,8 +271132,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271132
271132
|
const maxVersion = await getMaxVersion();
|
|
271133
271133
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
271134
271134
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
271135
|
-
if (gte("0.
|
|
271136
|
-
logForDebugging(`Native installer: current version ${"0.
|
|
271135
|
+
if (gte("1.0.0", maxVersion)) {
|
|
271136
|
+
logForDebugging(`Native installer: current version ${"1.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
271137
271137
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
271138
271138
|
latency_ms: Date.now() - startTime2,
|
|
271139
271139
|
max_version: maxVersion,
|
|
@@ -271144,7 +271144,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
271144
271144
|
version2 = maxVersion;
|
|
271145
271145
|
}
|
|
271146
271146
|
}
|
|
271147
|
-
if (!forceReinstall && version2 === "0.
|
|
271147
|
+
if (!forceReinstall && version2 === "1.0.0" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
|
|
271148
271148
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
271149
271149
|
logEvent("tengu_native_update_complete", {
|
|
271150
271150
|
latency_ms: Date.now() - startTime2,
|
|
@@ -378070,7 +378070,7 @@ function getAnthropicEnvMetadata() {
|
|
|
378070
378070
|
function getBuildAgeMinutes() {
|
|
378071
378071
|
if (false)
|
|
378072
378072
|
;
|
|
378073
|
-
const buildTime = new Date("2026-05-21T19:
|
|
378073
|
+
const buildTime = new Date("2026-05-21T19:13:29.465Z").getTime();
|
|
378074
378074
|
if (isNaN(buildTime))
|
|
378075
378075
|
return;
|
|
378076
378076
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -405553,7 +405553,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
405553
405553
|
const client2 = new Client({
|
|
405554
405554
|
name: "claude-code",
|
|
405555
405555
|
title: "ZeroCLI",
|
|
405556
|
-
version: "0.
|
|
405556
|
+
version: "1.0.0",
|
|
405557
405557
|
description: "Anthropic's agentic coding tool",
|
|
405558
405558
|
websiteUrl: PRODUCT_URL
|
|
405559
405559
|
}, {
|
|
@@ -405905,7 +405905,7 @@ var init_client7 = __esm(() => {
|
|
|
405905
405905
|
const client2 = new Client({
|
|
405906
405906
|
name: "claude-code",
|
|
405907
405907
|
title: "ZeroCLI",
|
|
405908
|
-
version: "0.
|
|
405908
|
+
version: "1.0.0",
|
|
405909
405909
|
description: "Anthropic's agentic coding tool",
|
|
405910
405910
|
websiteUrl: PRODUCT_URL
|
|
405911
405911
|
}, {
|
|
@@ -416640,7 +416640,7 @@ function Feedback({
|
|
|
416640
416640
|
platform: env2.platform,
|
|
416641
416641
|
gitRepo: envInfo.isGit,
|
|
416642
416642
|
terminal: env2.terminal,
|
|
416643
|
-
version: "0.
|
|
416643
|
+
version: "1.0.0",
|
|
416644
416644
|
transcript: normalizeMessagesForAPI(messages),
|
|
416645
416645
|
errors: sanitizedErrors,
|
|
416646
416646
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -416833,7 +416833,7 @@ function Feedback({
|
|
|
416833
416833
|
", ",
|
|
416834
416834
|
env2.terminal,
|
|
416835
416835
|
", v",
|
|
416836
|
-
"0.
|
|
416836
|
+
"1.0.0"
|
|
416837
416837
|
]
|
|
416838
416838
|
})
|
|
416839
416839
|
]
|
|
@@ -416941,7 +416941,7 @@ ${sanitizedDescription}
|
|
|
416941
416941
|
` + `**Environment Info**
|
|
416942
416942
|
` + `- Platform: ${env2.platform}
|
|
416943
416943
|
` + `- Terminal: ${env2.terminal}
|
|
416944
|
-
` + `- Version: ${"0.
|
|
416944
|
+
` + `- Version: ${"1.0.0"}
|
|
416945
416945
|
` + feedbackIdLine + `
|
|
416946
416946
|
**Errors**
|
|
416947
416947
|
\`\`\`json
|
|
@@ -420094,7 +420094,7 @@ function buildPrimarySection() {
|
|
|
420094
420094
|
});
|
|
420095
420095
|
return [{
|
|
420096
420096
|
label: "Version",
|
|
420097
|
-
value: "0.
|
|
420097
|
+
value: "1.0.0"
|
|
420098
420098
|
}, {
|
|
420099
420099
|
label: "Session name",
|
|
420100
420100
|
value: nameValue
|
|
@@ -424864,7 +424864,7 @@ function Config({
|
|
|
424864
424864
|
}
|
|
424865
424865
|
})
|
|
424866
424866
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
|
|
424867
|
-
currentVersion: "0.
|
|
424867
|
+
currentVersion: "1.0.0",
|
|
424868
424868
|
onChoice: (choice) => {
|
|
424869
424869
|
setShowSubmenu(null);
|
|
424870
424870
|
setTabsHidden(false);
|
|
@@ -424876,7 +424876,7 @@ function Config({
|
|
|
424876
424876
|
autoUpdatesChannel: "stable"
|
|
424877
424877
|
};
|
|
424878
424878
|
if (choice === "stay") {
|
|
424879
|
-
newSettings.minimumVersion = "0.
|
|
424879
|
+
newSettings.minimumVersion = "1.0.0";
|
|
424880
424880
|
}
|
|
424881
424881
|
updateSettingsForSource("userSettings", newSettings);
|
|
424882
424882
|
setSettingsData((prev_27) => ({
|
|
@@ -431817,7 +431817,7 @@ function UpdateScreen({ onDone }) {
|
|
|
431817
431817
|
setState({ type: "dev-build" });
|
|
431818
431818
|
return;
|
|
431819
431819
|
}
|
|
431820
|
-
const currentVersion = "0.
|
|
431820
|
+
const currentVersion = "1.0.0";
|
|
431821
431821
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
431822
431822
|
const latestVersion = await getLatestVersion(channel2);
|
|
431823
431823
|
if (!latestVersion) {
|
|
@@ -433928,7 +433928,7 @@ function HelpV2(t0) {
|
|
|
433928
433928
|
let t6;
|
|
433929
433929
|
if ($2[31] !== tabs) {
|
|
433930
433930
|
t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
|
|
433931
|
-
title: `ZeroCLI v${"0.
|
|
433931
|
+
title: `ZeroCLI v${"1.0.0"}`,
|
|
433932
433932
|
color: "professionalBlue",
|
|
433933
433933
|
defaultTab: "general",
|
|
433934
433934
|
children: tabs
|
|
@@ -458772,7 +458772,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
458772
458772
|
return [];
|
|
458773
458773
|
}
|
|
458774
458774
|
}
|
|
458775
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.
|
|
458775
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0") {
|
|
458776
458776
|
if (process.env.USER_TYPE === "ant") {
|
|
458777
458777
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
458778
458778
|
if (changelog) {
|
|
@@ -487810,7 +487810,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
487810
487810
|
smapsRollup,
|
|
487811
487811
|
platform: process.platform,
|
|
487812
487812
|
nodeVersion: process.version,
|
|
487813
|
-
ccVersion: "0.
|
|
487813
|
+
ccVersion: "1.0.0"
|
|
487814
487814
|
};
|
|
487815
487815
|
}
|
|
487816
487816
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -488397,7 +488397,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
488397
488397
|
var call60 = async () => {
|
|
488398
488398
|
return {
|
|
488399
488399
|
type: "text",
|
|
488400
|
-
value: `${"0.
|
|
488400
|
+
value: `${"1.0.0"} (built ${"2026-05-21T19:13:29.465Z"})`
|
|
488401
488401
|
};
|
|
488402
488402
|
}, version2, version_default;
|
|
488403
488403
|
var init_version = __esm(() => {
|
|
@@ -498554,7 +498554,7 @@ function generateHtmlReport(data, insights) {
|
|
|
498554
498554
|
function buildExportData(data, insights, facets) {
|
|
498555
498555
|
let version3;
|
|
498556
498556
|
try {
|
|
498557
|
-
version3 = "0.
|
|
498557
|
+
version3 = "1.0.0";
|
|
498558
498558
|
} catch {
|
|
498559
498559
|
version3 = "unknown";
|
|
498560
498560
|
}
|
|
@@ -502750,7 +502750,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
502750
502750
|
init_slowOperations();
|
|
502751
502751
|
init_uuid();
|
|
502752
502752
|
try {
|
|
502753
|
-
VERSION7 = "0.
|
|
502753
|
+
VERSION7 = "1.0.0";
|
|
502754
502754
|
} catch {
|
|
502755
502755
|
VERSION7 = "unknown";
|
|
502756
502756
|
}
|
|
@@ -504071,7 +504071,7 @@ var init_filesystem = __esm(() => {
|
|
|
504071
504071
|
});
|
|
504072
504072
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
504073
504073
|
const nonce = randomBytes17(16).toString("hex");
|
|
504074
|
-
return join137(getZeroTempDir(), "bundled-skills", "0.
|
|
504074
|
+
return join137(getZeroTempDir(), "bundled-skills", "1.0.0", nonce);
|
|
504075
504075
|
});
|
|
504076
504076
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
504077
504077
|
});
|
|
@@ -515091,7 +515091,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
515091
515091
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
515092
515092
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
515093
515093
|
betas: getSdkBetas(),
|
|
515094
|
-
claude_code_version: "0.
|
|
515094
|
+
claude_code_version: "1.0.0",
|
|
515095
515095
|
output_style: outputStyle2,
|
|
515096
515096
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
515097
515097
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -530406,7 +530406,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
530406
530406
|
function getSemverPart(version3) {
|
|
530407
530407
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
530408
530408
|
}
|
|
530409
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.
|
|
530409
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.0.0") {
|
|
530410
530410
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
530411
530411
|
if (!updatedVersion) {
|
|
530412
530412
|
return null;
|
|
@@ -530449,7 +530449,7 @@ function AutoUpdater({
|
|
|
530449
530449
|
return;
|
|
530450
530450
|
}
|
|
530451
530451
|
if (false) {}
|
|
530452
|
-
const currentVersion = "0.
|
|
530452
|
+
const currentVersion = "1.0.0";
|
|
530453
530453
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
530454
530454
|
let latestVersion = await getLatestVersion(channel2);
|
|
530455
530455
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -530670,12 +530670,12 @@ function NativeAutoUpdater({
|
|
|
530670
530670
|
logEvent("tengu_native_auto_updater_start", {});
|
|
530671
530671
|
try {
|
|
530672
530672
|
const maxVersion = await getMaxVersion();
|
|
530673
|
-
if (maxVersion && gt("0.
|
|
530673
|
+
if (maxVersion && gt("1.0.0", maxVersion)) {
|
|
530674
530674
|
const msg = await getMaxVersionMessage();
|
|
530675
530675
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
530676
530676
|
}
|
|
530677
530677
|
const result = await installLatest(channel2);
|
|
530678
|
-
const currentVersion = "0.
|
|
530678
|
+
const currentVersion = "1.0.0";
|
|
530679
530679
|
const latencyMs = Date.now() - startTime2;
|
|
530680
530680
|
if (result.lockFailed) {
|
|
530681
530681
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -530817,17 +530817,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
530817
530817
|
const maxVersion = await getMaxVersion();
|
|
530818
530818
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
530819
530819
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
530820
|
-
if (gte("0.
|
|
530821
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.
|
|
530820
|
+
if (gte("1.0.0", maxVersion)) {
|
|
530821
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
530822
530822
|
setUpdateAvailable(false);
|
|
530823
530823
|
return;
|
|
530824
530824
|
}
|
|
530825
530825
|
latest = maxVersion;
|
|
530826
530826
|
}
|
|
530827
|
-
const hasUpdate = latest && !gte("0.
|
|
530827
|
+
const hasUpdate = latest && !gte("1.0.0", latest) && !shouldSkipVersion(latest);
|
|
530828
530828
|
setUpdateAvailable(!!hasUpdate);
|
|
530829
530829
|
if (hasUpdate) {
|
|
530830
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.
|
|
530830
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.0"} -> ${latest}`);
|
|
530831
530831
|
}
|
|
530832
530832
|
};
|
|
530833
530833
|
$2[0] = t1;
|
|
@@ -530861,7 +530861,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
530861
530861
|
wrap: "truncate",
|
|
530862
530862
|
children: [
|
|
530863
530863
|
"currentVersion: ",
|
|
530864
|
-
"0.
|
|
530864
|
+
"1.0.0"
|
|
530865
530865
|
]
|
|
530866
530866
|
});
|
|
530867
530867
|
$2[3] = verbose;
|
|
@@ -539917,7 +539917,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
539917
539917
|
project_dir: getOriginalCwd(),
|
|
539918
539918
|
added_dirs: addedDirs
|
|
539919
539919
|
},
|
|
539920
|
-
version: "0.
|
|
539920
|
+
version: "1.0.0",
|
|
539921
539921
|
output_style: {
|
|
539922
539922
|
name: outputStyleName
|
|
539923
539923
|
},
|
|
@@ -564420,7 +564420,7 @@ function WelcomeV2() {
|
|
|
564420
564420
|
dimColor: true,
|
|
564421
564421
|
children: [
|
|
564422
564422
|
"v",
|
|
564423
|
-
"0.
|
|
564423
|
+
"1.0.0",
|
|
564424
564424
|
" "
|
|
564425
564425
|
]
|
|
564426
564426
|
})
|
|
@@ -564654,7 +564654,7 @@ function WelcomeV2() {
|
|
|
564654
564654
|
dimColor: true,
|
|
564655
564655
|
children: [
|
|
564656
564656
|
"v",
|
|
564657
|
-
"0.
|
|
564657
|
+
"1.0.0",
|
|
564658
564658
|
" "
|
|
564659
564659
|
]
|
|
564660
564660
|
})
|
|
@@ -564901,7 +564901,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
564901
564901
|
dimColor: true,
|
|
564902
564902
|
children: [
|
|
564903
564903
|
"v",
|
|
564904
|
-
"0.
|
|
564904
|
+
"1.0.0",
|
|
564905
564905
|
" "
|
|
564906
564906
|
]
|
|
564907
564907
|
});
|
|
@@ -565174,7 +565174,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
565174
565174
|
dimColor: true,
|
|
565175
565175
|
children: [
|
|
565176
565176
|
"v",
|
|
565177
|
-
"0.
|
|
565177
|
+
"1.0.0",
|
|
565178
565178
|
" "
|
|
565179
565179
|
]
|
|
565180
565180
|
});
|
|
@@ -566686,7 +566686,7 @@ function completeOnboarding() {
|
|
|
566686
566686
|
saveGlobalConfig((current) => ({
|
|
566687
566687
|
...current,
|
|
566688
566688
|
hasCompletedOnboarding: true,
|
|
566689
|
-
lastOnboardingVersion: "0.
|
|
566689
|
+
lastOnboardingVersion: "1.0.0"
|
|
566690
566690
|
}));
|
|
566691
566691
|
}
|
|
566692
566692
|
function showDialog(root2, renderer) {
|
|
@@ -570937,7 +570937,7 @@ function appendToLog(path24, message) {
|
|
|
570937
570937
|
cwd: getFsImplementation().cwd(),
|
|
570938
570938
|
userType: process.env.USER_TYPE,
|
|
570939
570939
|
sessionId: getSessionId(),
|
|
570940
|
-
version: "0.
|
|
570940
|
+
version: "1.0.0"
|
|
570941
570941
|
};
|
|
570942
570942
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
570943
570943
|
}
|
|
@@ -571543,7 +571543,7 @@ async function startMCPServer(cwd2, debug, verbose) {
|
|
|
571543
571543
|
setCwd(cwd2);
|
|
571544
571544
|
const server = new Server({
|
|
571545
571545
|
name: "claude/tengu",
|
|
571546
|
-
version: "0.
|
|
571546
|
+
version: "1.0.0"
|
|
571547
571547
|
}, {
|
|
571548
571548
|
capabilities: {
|
|
571549
571549
|
tools: {}
|
|
@@ -576182,8 +576182,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
576182
576182
|
}
|
|
576183
576183
|
async function checkEnvLessBridgeMinVersion() {
|
|
576184
576184
|
const cfg = await getEnvLessBridgeConfig();
|
|
576185
|
-
if (cfg.min_version && lt("0.
|
|
576186
|
-
return `Your version of ZeroCLI (${"0.
|
|
576185
|
+
if (cfg.min_version && lt("1.0.0", cfg.min_version)) {
|
|
576186
|
+
return `Your version of ZeroCLI (${"1.0.0"}) is too old for Remote Control.
|
|
576187
576187
|
Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
|
|
576188
576188
|
}
|
|
576189
576189
|
return null;
|
|
@@ -576658,7 +576658,7 @@ async function initBridgeCore(params) {
|
|
|
576658
576658
|
const rawApi = createBridgeApiClient({
|
|
576659
576659
|
baseUrl,
|
|
576660
576660
|
getAccessToken,
|
|
576661
|
-
runnerVersion: "0.
|
|
576661
|
+
runnerVersion: "1.0.0",
|
|
576662
576662
|
onDebug: logForDebugging,
|
|
576663
576663
|
onAuth401,
|
|
576664
576664
|
getTrustedDeviceToken
|
|
@@ -582946,7 +582946,7 @@ __export(exports_update2, {
|
|
|
582946
582946
|
});
|
|
582947
582947
|
async function update2() {
|
|
582948
582948
|
logEvent("tengu_update_check", {});
|
|
582949
|
-
writeToStdout(`Current version: ${"0.
|
|
582949
|
+
writeToStdout(`Current version: ${"1.0.0"}
|
|
582950
582950
|
`);
|
|
582951
582951
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
582952
582952
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -583021,8 +583021,8 @@ async function update2() {
|
|
|
583021
583021
|
writeToStdout(`Zero is managed by Homebrew.
|
|
583022
583022
|
`);
|
|
583023
583023
|
const latest = await getLatestVersion(channel2);
|
|
583024
|
-
if (latest && !gte("0.
|
|
583025
|
-
writeToStdout(`Update available: ${"0.
|
|
583024
|
+
if (latest && !gte("1.0.0", latest)) {
|
|
583025
|
+
writeToStdout(`Update available: ${"1.0.0"} → ${latest}
|
|
583026
583026
|
`);
|
|
583027
583027
|
writeToStdout(`
|
|
583028
583028
|
`);
|
|
@@ -583038,8 +583038,8 @@ async function update2() {
|
|
|
583038
583038
|
writeToStdout(`Zero is managed by winget.
|
|
583039
583039
|
`);
|
|
583040
583040
|
const latest = await getLatestVersion(channel2);
|
|
583041
|
-
if (latest && !gte("0.
|
|
583042
|
-
writeToStdout(`Update available: ${"0.
|
|
583041
|
+
if (latest && !gte("1.0.0", latest)) {
|
|
583042
|
+
writeToStdout(`Update available: ${"1.0.0"} → ${latest}
|
|
583043
583043
|
`);
|
|
583044
583044
|
writeToStdout(`
|
|
583045
583045
|
`);
|
|
@@ -583055,8 +583055,8 @@ async function update2() {
|
|
|
583055
583055
|
writeToStdout(`Zero is managed by apk.
|
|
583056
583056
|
`);
|
|
583057
583057
|
const latest = await getLatestVersion(channel2);
|
|
583058
|
-
if (latest && !gte("0.
|
|
583059
|
-
writeToStdout(`Update available: ${"0.
|
|
583058
|
+
if (latest && !gte("1.0.0", latest)) {
|
|
583059
|
+
writeToStdout(`Update available: ${"1.0.0"} → ${latest}
|
|
583060
583060
|
`);
|
|
583061
583061
|
writeToStdout(`
|
|
583062
583062
|
`);
|
|
@@ -583121,11 +583121,11 @@ async function update2() {
|
|
|
583121
583121
|
`);
|
|
583122
583122
|
await gracefulShutdown(1);
|
|
583123
583123
|
}
|
|
583124
|
-
if (result.latestVersion === "0.
|
|
583125
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.
|
|
583124
|
+
if (result.latestVersion === "1.0.0") {
|
|
583125
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.0"})`) + `
|
|
583126
583126
|
`);
|
|
583127
583127
|
} else {
|
|
583128
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.
|
|
583128
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.0"} to version ${result.latestVersion}`) + `
|
|
583129
583129
|
`);
|
|
583130
583130
|
await regenerateCompletionCache();
|
|
583131
583131
|
}
|
|
@@ -583185,12 +583185,12 @@ async function update2() {
|
|
|
583185
583185
|
`);
|
|
583186
583186
|
await gracefulShutdown(1);
|
|
583187
583187
|
}
|
|
583188
|
-
if (latestVersion === "0.
|
|
583189
|
-
writeToStdout(source_default.green(`Zero CLI is up to date (${"0.
|
|
583188
|
+
if (latestVersion === "1.0.0") {
|
|
583189
|
+
writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.0"})`) + `
|
|
583190
583190
|
`);
|
|
583191
583191
|
await gracefulShutdown(0);
|
|
583192
583192
|
}
|
|
583193
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.
|
|
583193
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.0"})
|
|
583194
583194
|
`);
|
|
583195
583195
|
writeToStdout(`Installing update...
|
|
583196
583196
|
`);
|
|
@@ -583235,7 +583235,7 @@ async function update2() {
|
|
|
583235
583235
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
583236
583236
|
switch (status2) {
|
|
583237
583237
|
case "success":
|
|
583238
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.
|
|
583238
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.0"} to version ${latestVersion}`) + `
|
|
583239
583239
|
`);
|
|
583240
583240
|
await regenerateCompletionCache();
|
|
583241
583241
|
break;
|
|
@@ -584536,7 +584536,7 @@ ${customInstructions}` : customInstructions;
|
|
|
584536
584536
|
}
|
|
584537
584537
|
}
|
|
584538
584538
|
logForDiagnosticsNoPII("info", "started", {
|
|
584539
|
-
version: "0.
|
|
584539
|
+
version: "1.0.0",
|
|
584540
584540
|
is_native_binary: isInBundledMode()
|
|
584541
584541
|
});
|
|
584542
584542
|
registerCleanup(async () => {
|
|
@@ -585419,7 +585419,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
585419
585419
|
pendingHookMessages
|
|
585420
585420
|
}, renderAndRun);
|
|
585421
585421
|
}
|
|
585422
|
-
}).version("0.
|
|
585422
|
+
}).version("1.0.0", "-v, --version", "Output the version number");
|
|
585423
585423
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
585424
585424
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
585425
585425
|
if (canUserConfigureAdvisor()) {
|
|
@@ -586085,7 +586085,7 @@ if (false) {}
|
|
|
586085
586085
|
async function main2() {
|
|
586086
586086
|
const args = process.argv.slice(2);
|
|
586087
586087
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
586088
|
-
console.log(`${"0.
|
|
586088
|
+
console.log(`${"1.0.0"} (ZeroCLI)`);
|
|
586089
586089
|
return;
|
|
586090
586090
|
}
|
|
586091
586091
|
if (args.includes("--provider")) {
|
|
@@ -586227,4 +586227,4 @@ async function main2() {
|
|
|
586227
586227
|
}
|
|
586228
586228
|
main2();
|
|
586229
586229
|
|
|
586230
|
-
//# debugId=
|
|
586230
|
+
//# debugId=031117298F15084964756E2164756E21
|