@duheso/zerocli 0.9.2 → 0.9.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +85 -84
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -114198,7 +114198,8 @@ function getPublicModelDisplayName(model) {
114198
114198
  "gemini-3.1-pro-preview": "Gemini 3.1 Pro Preview",
114199
114199
  "gemini-3-flash-preview": "Gemini 3 Flash",
114200
114200
  "gemini-2.5-pro": "Gemini 2.5 Pro",
114201
- "grok-code-fast-1": "Grok Code Fast 1"
114201
+ "grok-code-fast-1": "Grok Code Fast 1",
114202
+ "qwen3.6-27b": "Qwen 3.6 27B"
114202
114203
  };
114203
114204
  if (copilotModelNames[model]) {
114204
114205
  return copilotModelNames[model];
@@ -114276,9 +114277,9 @@ function renderModelName(model) {
114276
114277
  function getPublicModelName(model) {
114277
114278
  const publicName = getPublicModelDisplayName(model);
114278
114279
  if (publicName) {
114279
- return `Zero ${publicName}`;
114280
+ return `ZeroCLI - ${publicName}`;
114280
114281
  }
114281
- return `Zero (${model})`;
114282
+ return `ZeroCLI - ${model}`;
114282
114283
  }
114283
114284
  function parseUserSpecifiedModel(modelInput) {
114284
114285
  const modelInputTrimmed = normalizeModelSetting(modelInput);
@@ -119191,7 +119192,7 @@ function buildProviderInfoLines() {
119191
119192
  const sLen = ` ● ${sL} ${sReady}`.length;
119192
119193
  out.push(boxRow(sRow, W2, sLen));
119193
119194
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
119194
- out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.9.2"}${RESET}`);
119195
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.9.3"}${RESET}`);
119195
119196
  return out;
119196
119197
  }
119197
119198
  function printStartupScreen() {}
@@ -147382,7 +147383,7 @@ function getAttributionHeader(fingerprint) {
147382
147383
  if (!isAttributionHeaderEnabled()) {
147383
147384
  return "";
147384
147385
  }
147385
- const version2 = `${"0.9.2"}.${fingerprint}`;
147386
+ const version2 = `${"0.9.3"}.${fingerprint}`;
147386
147387
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
147387
147388
  const cch = "";
147388
147389
  const workload = getWorkload();
@@ -190392,7 +190393,7 @@ var init_imageValidation = __esm(() => {
190392
190393
 
190393
190394
  // src/utils/userAgent.ts
190394
190395
  function getZeroCodeUserAgent() {
190395
- return `claude-code/${"0.9.2"}`;
190396
+ return `claude-code/${"0.9.3"}`;
190396
190397
  }
190397
190398
 
190398
190399
  // src/utils/http.ts
@@ -190401,7 +190402,7 @@ function getUserAgent() {
190401
190402
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
190402
190403
  const workload = getWorkload();
190403
190404
  const workloadSuffix = workload ? `, workload/${workload}` : "";
190404
- return `claude-cli/${"0.9.2"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190405
+ return `claude-cli/${"0.9.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190405
190406
  }
190406
190407
  function getMCPUserAgent() {
190407
190408
  const parts = [];
@@ -190415,7 +190416,7 @@ function getMCPUserAgent() {
190415
190416
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
190416
190417
  }
190417
190418
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
190418
- return `claude-code/${"0.9.2"}${suffix}`;
190419
+ return `claude-code/${"0.9.3"}${suffix}`;
190419
190420
  }
190420
190421
  function getWebFetchUserAgent() {
190421
190422
  const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
@@ -193312,7 +193313,7 @@ class OpenAIShimMessages {
193312
193313
  } else if (maxCompletionTokensValue !== undefined) {
193313
193314
  body.max_completion_tokens = maxCompletionTokensValue;
193314
193315
  }
193315
- if (params.stream && !isLocalProviderUrl(request.baseUrl)) {
193316
+ if (params.stream) {
193316
193317
  body.stream_options = { include_usage: true };
193317
193318
  }
193318
193319
  const isGithub = isGithubModelsMode();
@@ -244849,7 +244850,7 @@ function getTelemetryAttributes() {
244849
244850
  attributes["session.id"] = sessionId;
244850
244851
  }
244851
244852
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
244852
- attributes["app.version"] = "0.9.2";
244853
+ attributes["app.version"] = "0.9.3";
244853
244854
  }
244854
244855
  const oauthAccount = getOauthAccountInfo();
244855
244856
  if (oauthAccount) {
@@ -257088,7 +257089,7 @@ function computeFingerprint(messageText, version2) {
257088
257089
  }
257089
257090
  function computeFingerprintFromMessages(messages) {
257090
257091
  const firstMessageText = extractFirstMessageText(messages);
257091
- return computeFingerprint(firstMessageText, "0.9.2");
257092
+ return computeFingerprint(firstMessageText, "0.9.3");
257092
257093
  }
257093
257094
  var FINGERPRINT_SALT = "59cf53e54c78";
257094
257095
  var init_fingerprint = () => {};
@@ -257130,7 +257131,7 @@ async function sideQuery(opts) {
257130
257131
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
257131
257132
  }
257132
257133
  const messageText = extractFirstUserMessageText(messages);
257133
- const fingerprint = computeFingerprint(messageText, "0.9.2");
257134
+ const fingerprint = computeFingerprint(messageText, "0.9.3");
257134
257135
  const attributionHeader = getAttributionHeader(fingerprint);
257135
257136
  const systemBlocks = [
257136
257137
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -266032,7 +266033,7 @@ var init_user = __esm(() => {
266032
266033
  deviceId,
266033
266034
  sessionId: getSessionId(),
266034
266035
  email: getEmail(),
266035
- appVersion: "0.9.2",
266036
+ appVersion: "0.9.3",
266036
266037
  platform: getHostPlatformForAnalytics(),
266037
266038
  organizationUuid,
266038
266039
  accountUuid,
@@ -266426,7 +266427,7 @@ async function initializeBetaTracing(resource) {
266426
266427
  });
266427
266428
  logs.setGlobalLoggerProvider(loggerProvider);
266428
266429
  setLoggerProvider(loggerProvider);
266429
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.9.2");
266430
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.9.3");
266430
266431
  setEventLogger(eventLogger);
266431
266432
  process.on("beforeExit", async () => {
266432
266433
  await loggerProvider?.forceFlush();
@@ -266466,7 +266467,7 @@ async function initializeTelemetry() {
266466
266467
  const platform3 = getPlatform();
266467
266468
  const baseAttributes = {
266468
266469
  [ATTR_SERVICE_NAME3]: "claude-code",
266469
- [ATTR_SERVICE_VERSION3]: "0.9.2"
266470
+ [ATTR_SERVICE_VERSION3]: "0.9.3"
266470
266471
  };
266471
266472
  if (platform3 === "wsl") {
266472
266473
  const wslVersion = getWslVersion();
@@ -266511,7 +266512,7 @@ async function initializeTelemetry() {
266511
266512
  } catch {}
266512
266513
  };
266513
266514
  registerCleanup(shutdownTelemetry2);
266514
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.9.2");
266515
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.9.3");
266515
266516
  }
266516
266517
  const meterProvider = new MeterProvider3({
266517
266518
  resource,
@@ -266531,7 +266532,7 @@ async function initializeTelemetry() {
266531
266532
  });
266532
266533
  logs.setGlobalLoggerProvider(loggerProvider);
266533
266534
  setLoggerProvider(loggerProvider);
266534
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.9.2");
266535
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.9.3");
266535
266536
  setEventLogger(eventLogger);
266536
266537
  logForDebugging("[3P telemetry] Event logger set successfully");
266537
266538
  process.on("beforeExit", async () => {
@@ -266593,7 +266594,7 @@ Current timeout: ${timeoutMs}ms
266593
266594
  }
266594
266595
  };
266595
266596
  registerCleanup(shutdownTelemetry);
266596
- return meterProvider.getMeter("com.anthropic.claude_code", "0.9.2");
266597
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.9.3");
266597
266598
  }
266598
266599
  async function flushTelemetry() {
266599
266600
  const meterProvider = getMeterProvider();
@@ -267405,9 +267406,9 @@ async function assertMinVersion() {
267405
267406
  }
267406
267407
  try {
267407
267408
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
267408
- if (versionConfig.minVersion && lt("0.9.2", versionConfig.minVersion)) {
267409
+ if (versionConfig.minVersion && lt("0.9.3", versionConfig.minVersion)) {
267409
267410
  console.error(`
267410
- It looks like your version of ZeroCLI (${"0.9.2"}) needs an update.
267411
+ It looks like your version of ZeroCLI (${"0.9.3"}) needs an update.
267411
267412
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
267412
267413
 
267413
267414
  To update, please run:
@@ -267623,7 +267624,7 @@ async function installGlobalPackage(specificVersion) {
267623
267624
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
267624
267625
  logEvent("tengu_auto_updater_lock_contention", {
267625
267626
  pid: process.pid,
267626
- currentVersion: "0.9.2"
267627
+ currentVersion: "0.9.3"
267627
267628
  });
267628
267629
  return "in_progress";
267629
267630
  }
@@ -267632,7 +267633,7 @@ async function installGlobalPackage(specificVersion) {
267632
267633
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
267633
267634
  logError2(new Error("Windows NPM detected in WSL environment"));
267634
267635
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
267635
- currentVersion: "0.9.2"
267636
+ currentVersion: "0.9.3"
267636
267637
  });
267637
267638
  console.error(`
267638
267639
  Error: Windows NPM detected in WSL
@@ -268186,7 +268187,7 @@ async function getDoctorDiagnostic() {
268186
268187
  const installationType = await getCurrentInstallationType();
268187
268188
  let version2;
268188
268189
  try {
268189
- version2 = "0.9.2";
268190
+ version2 = "0.9.3";
268190
268191
  } catch {
268191
268192
  version2 = "unknown";
268192
268193
  }
@@ -269680,7 +269681,7 @@ function getInstallationEnv() {
269680
269681
  return;
269681
269682
  }
269682
269683
  function getZeroCodeVersion() {
269683
- return "0.9.2";
269684
+ return "0.9.3";
269684
269685
  }
269685
269686
  async function getInstalledVSCodeExtensionVersion(command) {
269686
269687
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -271047,8 +271048,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271047
271048
  const maxVersion = await getMaxVersion();
271048
271049
  if (maxVersion && gt(version2, maxVersion)) {
271049
271050
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
271050
- if (gte("0.9.2", maxVersion)) {
271051
- logForDebugging(`Native installer: current version ${"0.9.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
271051
+ if (gte("0.9.3", maxVersion)) {
271052
+ logForDebugging(`Native installer: current version ${"0.9.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
271052
271053
  logEvent("tengu_native_update_skipped_max_version", {
271053
271054
  latency_ms: Date.now() - startTime2,
271054
271055
  max_version: maxVersion,
@@ -271059,7 +271060,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271059
271060
  version2 = maxVersion;
271060
271061
  }
271061
271062
  }
271062
- if (!forceReinstall && version2 === "0.9.2" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271063
+ if (!forceReinstall && version2 === "0.9.3" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271063
271064
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
271064
271065
  logEvent("tengu_native_update_complete", {
271065
271066
  latency_ms: Date.now() - startTime2,
@@ -368853,7 +368854,7 @@ function getAttributionTexts() {
368853
368854
  }
368854
368855
  const model = getMainLoopModel();
368855
368856
  const isKnownPublicModel = getPublicModelDisplayName(model) !== null;
368856
- const modelName = isInternalModelRepoCached() || isKnownPublicModel ? getPublicModelName(model) : "Claude Opus 4.6";
368857
+ const modelName = isInternalModelRepoCached() || isKnownPublicModel ? getPublicModelName(model) : "ZeroCLI";
368857
368858
  const defaultAttribution = "\uD83E\uDD16 Generated with [Zero CLI](https://github.com/Duheso/ZeroCLI)";
368858
368859
  const coAuthorDomain = getAPIProvider() === "firstParty" ? "anthropic.com" : "zerocli.dev";
368859
368860
  const defaultCommit = isEnvTruthy(process.env.ZERO_DISABLE_CO_AUTHORED_BY) ? "" : `Co-Authored-By: ${modelName} <noreply@${coAuthorDomain}>`;
@@ -376266,7 +376267,7 @@ function getAnthropicEnvMetadata() {
376266
376267
  function getBuildAgeMinutes() {
376267
376268
  if (false)
376268
376269
  ;
376269
- const buildTime = new Date("2026-05-07T02:18:15.501Z").getTime();
376270
+ const buildTime = new Date("2026-05-08T22:03:32.862Z").getTime();
376270
376271
  if (isNaN(buildTime))
376271
376272
  return;
376272
376273
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -403702,7 +403703,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
403702
403703
  const client2 = new Client({
403703
403704
  name: "claude-code",
403704
403705
  title: "ZeroCLI",
403705
- version: "0.9.2",
403706
+ version: "0.9.3",
403706
403707
  description: "Anthropic's agentic coding tool",
403707
403708
  websiteUrl: PRODUCT_URL
403708
403709
  }, {
@@ -404054,7 +404055,7 @@ var init_client7 = __esm(() => {
404054
404055
  const client2 = new Client({
404055
404056
  name: "claude-code",
404056
404057
  title: "ZeroCLI",
404057
- version: "0.9.2",
404058
+ version: "0.9.3",
404058
404059
  description: "Anthropic's agentic coding tool",
404059
404060
  websiteUrl: PRODUCT_URL
404060
404061
  }, {
@@ -414717,7 +414718,7 @@ function Feedback({
414717
414718
  platform: env2.platform,
414718
414719
  gitRepo: envInfo.isGit,
414719
414720
  terminal: env2.terminal,
414720
- version: "0.9.2",
414721
+ version: "0.9.3",
414721
414722
  transcript: normalizeMessagesForAPI(messages),
414722
414723
  errors: sanitizedErrors,
414723
414724
  lastApiRequest: getLastAPIRequest(),
@@ -414910,7 +414911,7 @@ function Feedback({
414910
414911
  ", ",
414911
414912
  env2.terminal,
414912
414913
  ", v",
414913
- "0.9.2"
414914
+ "0.9.3"
414914
414915
  ]
414915
414916
  })
414916
414917
  ]
@@ -415018,7 +415019,7 @@ ${sanitizedDescription}
415018
415019
  ` + `**Environment Info**
415019
415020
  ` + `- Platform: ${env2.platform}
415020
415021
  ` + `- Terminal: ${env2.terminal}
415021
- ` + `- Version: ${"0.9.2"}
415022
+ ` + `- Version: ${"0.9.3"}
415022
415023
  ` + feedbackIdLine + `
415023
415024
  **Errors**
415024
415025
  \`\`\`json
@@ -418171,7 +418172,7 @@ function buildPrimarySection() {
418171
418172
  });
418172
418173
  return [{
418173
418174
  label: "Version",
418174
- value: "0.9.2"
418175
+ value: "0.9.3"
418175
418176
  }, {
418176
418177
  label: "Session name",
418177
418178
  value: nameValue
@@ -422941,7 +422942,7 @@ function Config({
422941
422942
  }
422942
422943
  })
422943
422944
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime181.jsx(ChannelDowngradeDialog, {
422944
- currentVersion: "0.9.2",
422945
+ currentVersion: "0.9.3",
422945
422946
  onChoice: (choice) => {
422946
422947
  setShowSubmenu(null);
422947
422948
  setTabsHidden(false);
@@ -422953,7 +422954,7 @@ function Config({
422953
422954
  autoUpdatesChannel: "stable"
422954
422955
  };
422955
422956
  if (choice === "stay") {
422956
- newSettings.minimumVersion = "0.9.2";
422957
+ newSettings.minimumVersion = "0.9.3";
422957
422958
  }
422958
422959
  updateSettingsForSource("userSettings", newSettings);
422959
422960
  setSettingsData((prev_27) => ({
@@ -429894,7 +429895,7 @@ function UpdateScreen({ onDone }) {
429894
429895
  setState({ type: "dev-build" });
429895
429896
  return;
429896
429897
  }
429897
- const currentVersion = "0.9.2";
429898
+ const currentVersion = "0.9.3";
429898
429899
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
429899
429900
  const latestVersion = await getLatestVersion(channel2);
429900
429901
  if (!latestVersion) {
@@ -432005,7 +432006,7 @@ function HelpV2(t0) {
432005
432006
  let t6;
432006
432007
  if ($2[31] !== tabs) {
432007
432008
  t6 = /* @__PURE__ */ jsx_runtime211.jsx(Tabs, {
432008
- title: `ZeroCLI v${"0.9.2"}`,
432009
+ title: `ZeroCLI v${"0.9.3"}`,
432009
432010
  color: "professionalBlue",
432010
432011
  defaultTab: "general",
432011
432012
  children: tabs
@@ -456849,7 +456850,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
456849
456850
  return [];
456850
456851
  }
456851
456852
  }
456852
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.9.2") {
456853
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.9.3") {
456853
456854
  if (process.env.USER_TYPE === "ant") {
456854
456855
  const changelog = MACRO.VERSION_CHANGELOG;
456855
456856
  if (changelog) {
@@ -485887,7 +485888,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
485887
485888
  smapsRollup,
485888
485889
  platform: process.platform,
485889
485890
  nodeVersion: process.version,
485890
- ccVersion: "0.9.2"
485891
+ ccVersion: "0.9.3"
485891
485892
  };
485892
485893
  }
485893
485894
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -486474,7 +486475,7 @@ var init_bridge_kick = __esm(() => {
486474
486475
  var call60 = async () => {
486475
486476
  return {
486476
486477
  type: "text",
486477
- value: `${"0.9.2"} (built ${"2026-05-07T02:18:15.501Z"})`
486478
+ value: `${"0.9.3"} (built ${"2026-05-08T22:03:32.862Z"})`
486478
486479
  };
486479
486480
  }, version2, version_default;
486480
486481
  var init_version = __esm(() => {
@@ -496631,7 +496632,7 @@ function generateHtmlReport(data, insights) {
496631
496632
  function buildExportData(data, insights, facets) {
496632
496633
  let version3;
496633
496634
  try {
496634
- version3 = "0.9.2";
496635
+ version3 = "0.9.3";
496635
496636
  } catch {
496636
496637
  version3 = "unknown";
496637
496638
  }
@@ -500827,7 +500828,7 @@ var init_sessionStorage = __esm(() => {
500827
500828
  init_slowOperations();
500828
500829
  init_uuid();
500829
500830
  try {
500830
- VERSION7 = "0.9.2";
500831
+ VERSION7 = "0.9.3";
500831
500832
  } catch {
500832
500833
  VERSION7 = "unknown";
500833
500834
  }
@@ -502148,7 +502149,7 @@ var init_filesystem = __esm(() => {
502148
502149
  });
502149
502150
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
502150
502151
  const nonce = randomBytes17(16).toString("hex");
502151
- return join137(getZeroTempDir(), "bundled-skills", "0.9.2", nonce);
502152
+ return join137(getZeroTempDir(), "bundled-skills", "0.9.3", nonce);
502152
502153
  });
502153
502154
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
502154
502155
  });
@@ -513168,7 +513169,7 @@ function buildSystemInitMessage(inputs) {
513168
513169
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
513169
513170
  apiKeySource: getAnthropicApiKeyWithSource().source,
513170
513171
  betas: getSdkBetas(),
513171
- claude_code_version: "0.9.2",
513172
+ claude_code_version: "0.9.3",
513172
513173
  output_style: outputStyle2,
513173
513174
  agents: inputs.agents.map((agent2) => agent2.agentType),
513174
513175
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -528483,7 +528484,7 @@ var init_useVoiceEnabled = __esm(() => {
528483
528484
  function getSemverPart(version3) {
528484
528485
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
528485
528486
  }
528486
- function useUpdateNotification(updatedVersion, initialVersion = "0.9.2") {
528487
+ function useUpdateNotification(updatedVersion, initialVersion = "0.9.3") {
528487
528488
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
528488
528489
  if (!updatedVersion) {
528489
528490
  return null;
@@ -528526,7 +528527,7 @@ function AutoUpdater({
528526
528527
  return;
528527
528528
  }
528528
528529
  if (false) {}
528529
- const currentVersion = "0.9.2";
528530
+ const currentVersion = "0.9.3";
528530
528531
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
528531
528532
  let latestVersion = await getLatestVersion(channel2);
528532
528533
  const isDisabled = isAutoUpdaterDisabled();
@@ -528747,12 +528748,12 @@ function NativeAutoUpdater({
528747
528748
  logEvent("tengu_native_auto_updater_start", {});
528748
528749
  try {
528749
528750
  const maxVersion = await getMaxVersion();
528750
- if (maxVersion && gt("0.9.2", maxVersion)) {
528751
+ if (maxVersion && gt("0.9.3", maxVersion)) {
528751
528752
  const msg = await getMaxVersionMessage();
528752
528753
  setMaxVersionIssue(msg ?? "affects your version");
528753
528754
  }
528754
528755
  const result = await installLatest(channel2);
528755
- const currentVersion = "0.9.2";
528756
+ const currentVersion = "0.9.3";
528756
528757
  const latencyMs = Date.now() - startTime2;
528757
528758
  if (result.lockFailed) {
528758
528759
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -528894,17 +528895,17 @@ function PackageManagerAutoUpdater(t0) {
528894
528895
  const maxVersion = await getMaxVersion();
528895
528896
  if (maxVersion && latest && gt(latest, maxVersion)) {
528896
528897
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
528897
- if (gte("0.9.2", maxVersion)) {
528898
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.9.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
528898
+ if (gte("0.9.3", maxVersion)) {
528899
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.9.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
528899
528900
  setUpdateAvailable(false);
528900
528901
  return;
528901
528902
  }
528902
528903
  latest = maxVersion;
528903
528904
  }
528904
- const hasUpdate = latest && !gte("0.9.2", latest) && !shouldSkipVersion(latest);
528905
+ const hasUpdate = latest && !gte("0.9.3", latest) && !shouldSkipVersion(latest);
528905
528906
  setUpdateAvailable(!!hasUpdate);
528906
528907
  if (hasUpdate) {
528907
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.9.2"} -> ${latest}`);
528908
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.9.3"} -> ${latest}`);
528908
528909
  }
528909
528910
  };
528910
528911
  $2[0] = t1;
@@ -528938,7 +528939,7 @@ function PackageManagerAutoUpdater(t0) {
528938
528939
  wrap: "truncate",
528939
528940
  children: [
528940
528941
  "currentVersion: ",
528941
- "0.9.2"
528942
+ "0.9.3"
528942
528943
  ]
528943
528944
  });
528944
528945
  $2[3] = verbose;
@@ -537967,7 +537968,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
537967
537968
  project_dir: getOriginalCwd(),
537968
537969
  added_dirs: addedDirs
537969
537970
  },
537970
- version: "0.9.2",
537971
+ version: "0.9.3",
537971
537972
  output_style: {
537972
537973
  name: outputStyleName
537973
537974
  },
@@ -562469,7 +562470,7 @@ function WelcomeV2() {
562469
562470
  dimColor: true,
562470
562471
  children: [
562471
562472
  "v",
562472
- "0.9.2",
562473
+ "0.9.3",
562473
562474
  " "
562474
562475
  ]
562475
562476
  })
@@ -562703,7 +562704,7 @@ function WelcomeV2() {
562703
562704
  dimColor: true,
562704
562705
  children: [
562705
562706
  "v",
562706
- "0.9.2",
562707
+ "0.9.3",
562707
562708
  " "
562708
562709
  ]
562709
562710
  })
@@ -562950,7 +562951,7 @@ function AppleTerminalWelcomeV2(t0) {
562950
562951
  dimColor: true,
562951
562952
  children: [
562952
562953
  "v",
562953
- "0.9.2",
562954
+ "0.9.3",
562954
562955
  " "
562955
562956
  ]
562956
562957
  });
@@ -563223,7 +563224,7 @@ function AppleTerminalWelcomeV2(t0) {
563223
563224
  dimColor: true,
563224
563225
  children: [
563225
563226
  "v",
563226
- "0.9.2",
563227
+ "0.9.3",
563227
563228
  " "
563228
563229
  ]
563229
563230
  });
@@ -564735,7 +564736,7 @@ function completeOnboarding() {
564735
564736
  saveGlobalConfig((current) => ({
564736
564737
  ...current,
564737
564738
  hasCompletedOnboarding: true,
564738
- lastOnboardingVersion: "0.9.2"
564739
+ lastOnboardingVersion: "0.9.3"
564739
564740
  }));
564740
564741
  }
564741
564742
  function showDialog(root2, renderer) {
@@ -568986,7 +568987,7 @@ function appendToLog(path24, message) {
568986
568987
  cwd: getFsImplementation().cwd(),
568987
568988
  userType: process.env.USER_TYPE,
568988
568989
  sessionId: getSessionId(),
568989
- version: "0.9.2"
568990
+ version: "0.9.3"
568990
568991
  };
568991
568992
  getLogWriter(path24).write(messageWithTimestamp);
568992
568993
  }
@@ -569592,7 +569593,7 @@ async function startMCPServer(cwd2, debug, verbose) {
569592
569593
  setCwd(cwd2);
569593
569594
  const server = new Server({
569594
569595
  name: "claude/tengu",
569595
- version: "0.9.2"
569596
+ version: "0.9.3"
569596
569597
  }, {
569597
569598
  capabilities: {
569598
569599
  tools: {}
@@ -574231,8 +574232,8 @@ async function getEnvLessBridgeConfig() {
574231
574232
  }
574232
574233
  async function checkEnvLessBridgeMinVersion() {
574233
574234
  const cfg = await getEnvLessBridgeConfig();
574234
- if (cfg.min_version && lt("0.9.2", cfg.min_version)) {
574235
- return `Your version of ZeroCLI (${"0.9.2"}) is too old for Remote Control.
574235
+ if (cfg.min_version && lt("0.9.3", cfg.min_version)) {
574236
+ return `Your version of ZeroCLI (${"0.9.3"}) is too old for Remote Control.
574236
574237
  Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
574237
574238
  }
574238
574239
  return null;
@@ -574707,7 +574708,7 @@ async function initBridgeCore(params) {
574707
574708
  const rawApi = createBridgeApiClient({
574708
574709
  baseUrl,
574709
574710
  getAccessToken,
574710
- runnerVersion: "0.9.2",
574711
+ runnerVersion: "0.9.3",
574711
574712
  onDebug: logForDebugging,
574712
574713
  onAuth401,
574713
574714
  getTrustedDeviceToken
@@ -580995,7 +580996,7 @@ __export(exports_update2, {
580995
580996
  });
580996
580997
  async function update2() {
580997
580998
  logEvent("tengu_update_check", {});
580998
- writeToStdout(`Current version: ${"0.9.2"}
580999
+ writeToStdout(`Current version: ${"0.9.3"}
580999
581000
  `);
581000
581001
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
581001
581002
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -581070,8 +581071,8 @@ async function update2() {
581070
581071
  writeToStdout(`Zero is managed by Homebrew.
581071
581072
  `);
581072
581073
  const latest = await getLatestVersion(channel2);
581073
- if (latest && !gte("0.9.2", latest)) {
581074
- writeToStdout(`Update available: ${"0.9.2"} → ${latest}
581074
+ if (latest && !gte("0.9.3", latest)) {
581075
+ writeToStdout(`Update available: ${"0.9.3"} → ${latest}
581075
581076
  `);
581076
581077
  writeToStdout(`
581077
581078
  `);
@@ -581087,8 +581088,8 @@ async function update2() {
581087
581088
  writeToStdout(`Zero is managed by winget.
581088
581089
  `);
581089
581090
  const latest = await getLatestVersion(channel2);
581090
- if (latest && !gte("0.9.2", latest)) {
581091
- writeToStdout(`Update available: ${"0.9.2"} → ${latest}
581091
+ if (latest && !gte("0.9.3", latest)) {
581092
+ writeToStdout(`Update available: ${"0.9.3"} → ${latest}
581092
581093
  `);
581093
581094
  writeToStdout(`
581094
581095
  `);
@@ -581104,8 +581105,8 @@ async function update2() {
581104
581105
  writeToStdout(`Zero is managed by apk.
581105
581106
  `);
581106
581107
  const latest = await getLatestVersion(channel2);
581107
- if (latest && !gte("0.9.2", latest)) {
581108
- writeToStdout(`Update available: ${"0.9.2"} → ${latest}
581108
+ if (latest && !gte("0.9.3", latest)) {
581109
+ writeToStdout(`Update available: ${"0.9.3"} → ${latest}
581109
581110
  `);
581110
581111
  writeToStdout(`
581111
581112
  `);
@@ -581170,11 +581171,11 @@ async function update2() {
581170
581171
  `);
581171
581172
  await gracefulShutdown(1);
581172
581173
  }
581173
- if (result.latestVersion === "0.9.2") {
581174
- writeToStdout(source_default.green(`Zero CLI is up to date (${"0.9.2"})`) + `
581174
+ if (result.latestVersion === "0.9.3") {
581175
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"0.9.3"})`) + `
581175
581176
  `);
581176
581177
  } else {
581177
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.2"} to version ${result.latestVersion}`) + `
581178
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.3"} to version ${result.latestVersion}`) + `
581178
581179
  `);
581179
581180
  await regenerateCompletionCache();
581180
581181
  }
@@ -581234,12 +581235,12 @@ async function update2() {
581234
581235
  `);
581235
581236
  await gracefulShutdown(1);
581236
581237
  }
581237
- if (latestVersion === "0.9.2") {
581238
- writeToStdout(source_default.green(`Zero CLI is up to date (${"0.9.2"})`) + `
581238
+ if (latestVersion === "0.9.3") {
581239
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"0.9.3"})`) + `
581239
581240
  `);
581240
581241
  await gracefulShutdown(0);
581241
581242
  }
581242
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.2"})
581243
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.3"})
581243
581244
  `);
581244
581245
  writeToStdout(`Installing update...
581245
581246
  `);
@@ -581284,7 +581285,7 @@ async function update2() {
581284
581285
  logForDebugging(`update: Installation status: ${status2}`);
581285
581286
  switch (status2) {
581286
581287
  case "success":
581287
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.2"} to version ${latestVersion}`) + `
581288
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.3"} to version ${latestVersion}`) + `
581288
581289
  `);
581289
581290
  await regenerateCompletionCache();
581290
581291
  break;
@@ -582585,7 +582586,7 @@ ${customInstructions}` : customInstructions;
582585
582586
  }
582586
582587
  }
582587
582588
  logForDiagnosticsNoPII("info", "started", {
582588
- version: "0.9.2",
582589
+ version: "0.9.3",
582589
582590
  is_native_binary: isInBundledMode()
582590
582591
  });
582591
582592
  registerCleanup(async () => {
@@ -583468,7 +583469,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
583468
583469
  pendingHookMessages
583469
583470
  }, renderAndRun);
583470
583471
  }
583471
- }).version("0.9.2", "-v, --version", "Output the version number");
583472
+ }).version("0.9.3", "-v, --version", "Output the version number");
583472
583473
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
583473
583474
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
583474
583475
  if (canUserConfigureAdvisor()) {
@@ -584134,7 +584135,7 @@ if (false) {}
584134
584135
  async function main2() {
584135
584136
  const args = process.argv.slice(2);
584136
584137
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
584137
- console.log(`${"0.9.2"} (ZeroCLI)`);
584138
+ console.log(`${"0.9.3"} (ZeroCLI)`);
584138
584139
  return;
584139
584140
  }
584140
584141
  if (args.includes("--provider")) {
@@ -584276,4 +584277,4 @@ async function main2() {
584276
584277
  }
584277
584278
  main2();
584278
584279
 
584279
- //# debugId=A87034AB8C040E0A64756E2164756E21
584280
+ //# debugId=48C4FC63FCACF98F64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duheso/zerocli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Zero Cli to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {