@duheso/zerocli 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.mjs +79 -79
  2. 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.8"}${RESET}`);
119229
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.0.9"}${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.8"}.${fingerprint}`;
147420
+ const version2 = `${"1.0.9"}.${fingerprint}`;
147421
147421
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
147422
147422
  const cch = "";
147423
147423
  const workload = getWorkload();
@@ -190427,7 +190427,7 @@ var init_imageValidation = __esm(() => {
190427
190427
 
190428
190428
  // src/utils/userAgent.ts
190429
190429
  function getZeroCodeUserAgent() {
190430
- return `claude-code/${"1.0.8"}`;
190430
+ return `claude-code/${"1.0.9"}`;
190431
190431
  }
190432
190432
 
190433
190433
  // src/utils/http.ts
@@ -190436,7 +190436,7 @@ function getUserAgent() {
190436
190436
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
190437
190437
  const workload = getWorkload();
190438
190438
  const workloadSuffix = workload ? `, workload/${workload}` : "";
190439
- return `claude-cli/${"1.0.8"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190439
+ return `claude-cli/${"1.0.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190440
190440
  }
190441
190441
  function getMCPUserAgent() {
190442
190442
  const parts = [];
@@ -190450,7 +190450,7 @@ function getMCPUserAgent() {
190450
190450
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
190451
190451
  }
190452
190452
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
190453
- return `claude-code/${"1.0.8"}${suffix}`;
190453
+ return `claude-code/${"1.0.9"}${suffix}`;
190454
190454
  }
190455
190455
  function getWebFetchUserAgent() {
190456
190456
  const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
@@ -244936,7 +244936,7 @@ function getTelemetryAttributes() {
244936
244936
  attributes["session.id"] = sessionId;
244937
244937
  }
244938
244938
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
244939
- attributes["app.version"] = "1.0.8";
244939
+ attributes["app.version"] = "1.0.9";
244940
244940
  }
244941
244941
  const oauthAccount = getOauthAccountInfo();
244942
244942
  if (oauthAccount) {
@@ -257175,7 +257175,7 @@ function computeFingerprint(messageText, version2) {
257175
257175
  }
257176
257176
  function computeFingerprintFromMessages(messages) {
257177
257177
  const firstMessageText = extractFirstMessageText(messages);
257178
- return computeFingerprint(firstMessageText, "1.0.8");
257178
+ return computeFingerprint(firstMessageText, "1.0.9");
257179
257179
  }
257180
257180
  var FINGERPRINT_SALT = "59cf53e54c78";
257181
257181
  var init_fingerprint = () => {};
@@ -257217,7 +257217,7 @@ async function sideQuery(opts) {
257217
257217
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
257218
257218
  }
257219
257219
  const messageText = extractFirstUserMessageText(messages);
257220
- const fingerprint = computeFingerprint(messageText, "1.0.8");
257220
+ const fingerprint = computeFingerprint(messageText, "1.0.9");
257221
257221
  const attributionHeader = getAttributionHeader(fingerprint);
257222
257222
  const systemBlocks = [
257223
257223
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -266119,7 +266119,7 @@ var init_user = __esm(() => {
266119
266119
  deviceId,
266120
266120
  sessionId: getSessionId(),
266121
266121
  email: getEmail(),
266122
- appVersion: "1.0.8",
266122
+ appVersion: "1.0.9",
266123
266123
  platform: getHostPlatformForAnalytics(),
266124
266124
  organizationUuid,
266125
266125
  accountUuid,
@@ -266513,7 +266513,7 @@ async function initializeBetaTracing(resource) {
266513
266513
  });
266514
266514
  logs.setGlobalLoggerProvider(loggerProvider);
266515
266515
  setLoggerProvider(loggerProvider);
266516
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.8");
266516
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.9");
266517
266517
  setEventLogger(eventLogger);
266518
266518
  process.on("beforeExit", async () => {
266519
266519
  await loggerProvider?.forceFlush();
@@ -266553,7 +266553,7 @@ async function initializeTelemetry() {
266553
266553
  const platform3 = getPlatform();
266554
266554
  const baseAttributes = {
266555
266555
  [ATTR_SERVICE_NAME3]: "claude-code",
266556
- [ATTR_SERVICE_VERSION3]: "1.0.8"
266556
+ [ATTR_SERVICE_VERSION3]: "1.0.9"
266557
266557
  };
266558
266558
  if (platform3 === "wsl") {
266559
266559
  const wslVersion = getWslVersion();
@@ -266598,7 +266598,7 @@ async function initializeTelemetry() {
266598
266598
  } catch {}
266599
266599
  };
266600
266600
  registerCleanup(shutdownTelemetry2);
266601
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.8");
266601
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.9");
266602
266602
  }
266603
266603
  const meterProvider = new MeterProvider3({
266604
266604
  resource,
@@ -266618,7 +266618,7 @@ async function initializeTelemetry() {
266618
266618
  });
266619
266619
  logs.setGlobalLoggerProvider(loggerProvider);
266620
266620
  setLoggerProvider(loggerProvider);
266621
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.8");
266621
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.9");
266622
266622
  setEventLogger(eventLogger);
266623
266623
  logForDebugging("[3P telemetry] Event logger set successfully");
266624
266624
  process.on("beforeExit", async () => {
@@ -266680,7 +266680,7 @@ Current timeout: ${timeoutMs}ms
266680
266680
  }
266681
266681
  };
266682
266682
  registerCleanup(shutdownTelemetry);
266683
- return meterProvider.getMeter("com.anthropic.claude_code", "1.0.8");
266683
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.0.9");
266684
266684
  }
266685
266685
  async function flushTelemetry() {
266686
266686
  const meterProvider = getMeterProvider();
@@ -267492,9 +267492,9 @@ async function assertMinVersion() {
267492
267492
  }
267493
267493
  try {
267494
267494
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
267495
- if (versionConfig.minVersion && lt("1.0.8", versionConfig.minVersion)) {
267495
+ if (versionConfig.minVersion && lt("1.0.9", versionConfig.minVersion)) {
267496
267496
  console.error(`
267497
- It looks like your version of ZeroCLI (${"1.0.8"}) needs an update.
267497
+ It looks like your version of ZeroCLI (${"1.0.9"}) needs an update.
267498
267498
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
267499
267499
 
267500
267500
  To update, please run:
@@ -267710,7 +267710,7 @@ async function installGlobalPackage(specificVersion) {
267710
267710
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
267711
267711
  logEvent("tengu_auto_updater_lock_contention", {
267712
267712
  pid: process.pid,
267713
- currentVersion: "1.0.8"
267713
+ currentVersion: "1.0.9"
267714
267714
  });
267715
267715
  return "in_progress";
267716
267716
  }
@@ -267719,7 +267719,7 @@ async function installGlobalPackage(specificVersion) {
267719
267719
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
267720
267720
  logError2(new Error("Windows NPM detected in WSL environment"));
267721
267721
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
267722
- currentVersion: "1.0.8"
267722
+ currentVersion: "1.0.9"
267723
267723
  });
267724
267724
  console.error(`
267725
267725
  Error: Windows NPM detected in WSL
@@ -268273,7 +268273,7 @@ async function getDoctorDiagnostic() {
268273
268273
  const installationType = await getCurrentInstallationType();
268274
268274
  let version2;
268275
268275
  try {
268276
- version2 = "1.0.8";
268276
+ version2 = "1.0.9";
268277
268277
  } catch {
268278
268278
  version2 = "unknown";
268279
268279
  }
@@ -269767,7 +269767,7 @@ function getInstallationEnv() {
269767
269767
  return;
269768
269768
  }
269769
269769
  function getZeroCodeVersion() {
269770
- return "1.0.8";
269770
+ return "1.0.9";
269771
269771
  }
269772
269772
  async function getInstalledVSCodeExtensionVersion(command) {
269773
269773
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -271134,8 +271134,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271134
271134
  const maxVersion = await getMaxVersion();
271135
271135
  if (maxVersion && gt(version2, maxVersion)) {
271136
271136
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
271137
- if (gte("1.0.8", maxVersion)) {
271138
- logForDebugging(`Native installer: current version ${"1.0.8"} is already at or above maxVersion ${maxVersion}, skipping update`);
271137
+ if (gte("1.0.9", maxVersion)) {
271138
+ logForDebugging(`Native installer: current version ${"1.0.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
271139
271139
  logEvent("tengu_native_update_skipped_max_version", {
271140
271140
  latency_ms: Date.now() - startTime2,
271141
271141
  max_version: maxVersion,
@@ -271146,7 +271146,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271146
271146
  version2 = maxVersion;
271147
271147
  }
271148
271148
  }
271149
- if (!forceReinstall && version2 === "1.0.8" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271149
+ if (!forceReinstall && version2 === "1.0.9" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271150
271150
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
271151
271151
  logEvent("tengu_native_update_complete", {
271152
271152
  latency_ms: Date.now() - startTime2,
@@ -378508,7 +378508,7 @@ function getAnthropicEnvMetadata() {
378508
378508
  function getBuildAgeMinutes() {
378509
378509
  if (false)
378510
378510
  ;
378511
- const buildTime = new Date("2026-05-23T17:55:01.599Z").getTime();
378511
+ const buildTime = new Date("2026-05-23T18:46:56.268Z").getTime();
378512
378512
  if (isNaN(buildTime))
378513
378513
  return;
378514
378514
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -405991,7 +405991,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
405991
405991
  const client2 = new Client({
405992
405992
  name: "claude-code",
405993
405993
  title: "ZeroCLI",
405994
- version: "1.0.8",
405994
+ version: "1.0.9",
405995
405995
  description: "Anthropic's agentic coding tool",
405996
405996
  websiteUrl: PRODUCT_URL
405997
405997
  }, {
@@ -406343,7 +406343,7 @@ var init_client7 = __esm(() => {
406343
406343
  const client2 = new Client({
406344
406344
  name: "claude-code",
406345
406345
  title: "ZeroCLI",
406346
- version: "1.0.8",
406346
+ version: "1.0.9",
406347
406347
  description: "Anthropic's agentic coding tool",
406348
406348
  websiteUrl: PRODUCT_URL
406349
406349
  }, {
@@ -417078,7 +417078,7 @@ function Feedback({
417078
417078
  platform: env2.platform,
417079
417079
  gitRepo: envInfo.isGit,
417080
417080
  terminal: env2.terminal,
417081
- version: "1.0.8",
417081
+ version: "1.0.9",
417082
417082
  transcript: normalizeMessagesForAPI(messages),
417083
417083
  errors: sanitizedErrors,
417084
417084
  lastApiRequest: getLastAPIRequest(),
@@ -417271,7 +417271,7 @@ function Feedback({
417271
417271
  ", ",
417272
417272
  env2.terminal,
417273
417273
  ", v",
417274
- "1.0.8"
417274
+ "1.0.9"
417275
417275
  ]
417276
417276
  })
417277
417277
  ]
@@ -417379,7 +417379,7 @@ ${sanitizedDescription}
417379
417379
  ` + `**Environment Info**
417380
417380
  ` + `- Platform: ${env2.platform}
417381
417381
  ` + `- Terminal: ${env2.terminal}
417382
- ` + `- Version: ${"1.0.8"}
417382
+ ` + `- Version: ${"1.0.9"}
417383
417383
  ` + feedbackIdLine + `
417384
417384
  **Errors**
417385
417385
  \`\`\`json
@@ -420532,7 +420532,7 @@ function buildPrimarySection() {
420532
420532
  });
420533
420533
  return [{
420534
420534
  label: "Version",
420535
- value: "1.0.8"
420535
+ value: "1.0.9"
420536
420536
  }, {
420537
420537
  label: "Session name",
420538
420538
  value: nameValue
@@ -425302,7 +425302,7 @@ function Config({
425302
425302
  }
425303
425303
  })
425304
425304
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
425305
- currentVersion: "1.0.8",
425305
+ currentVersion: "1.0.9",
425306
425306
  onChoice: (choice) => {
425307
425307
  setShowSubmenu(null);
425308
425308
  setTabsHidden(false);
@@ -425314,7 +425314,7 @@ function Config({
425314
425314
  autoUpdatesChannel: "stable"
425315
425315
  };
425316
425316
  if (choice === "stay") {
425317
- newSettings.minimumVersion = "1.0.8";
425317
+ newSettings.minimumVersion = "1.0.9";
425318
425318
  }
425319
425319
  updateSettingsForSource("userSettings", newSettings);
425320
425320
  setSettingsData((prev_27) => ({
@@ -432298,7 +432298,7 @@ function UpdateScreen({ onDone }) {
432298
432298
  setState({ type: "dev-build" });
432299
432299
  return;
432300
432300
  }
432301
- const currentVersion = "1.0.8";
432301
+ const currentVersion = "1.0.9";
432302
432302
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
432303
432303
  const latestVersion = await getLatestVersion(channel2);
432304
432304
  if (!latestVersion) {
@@ -434409,7 +434409,7 @@ function HelpV2(t0) {
434409
434409
  let t6;
434410
434410
  if ($2[31] !== tabs) {
434411
434411
  t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
434412
- title: `ZeroCLI v${"1.0.8"}`,
434412
+ title: `ZeroCLI v${"1.0.9"}`,
434413
434413
  color: "professionalBlue",
434414
434414
  defaultTab: "general",
434415
434415
  children: tabs
@@ -459253,7 +459253,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
459253
459253
  return [];
459254
459254
  }
459255
459255
  }
459256
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.8") {
459256
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.9") {
459257
459257
  if (process.env.USER_TYPE === "ant") {
459258
459258
  const changelog = MACRO.VERSION_CHANGELOG;
459259
459259
  if (changelog) {
@@ -488291,7 +488291,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
488291
488291
  smapsRollup,
488292
488292
  platform: process.platform,
488293
488293
  nodeVersion: process.version,
488294
- ccVersion: "1.0.8"
488294
+ ccVersion: "1.0.9"
488295
488295
  };
488296
488296
  }
488297
488297
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -488878,7 +488878,7 @@ var init_bridge_kick = __esm(() => {
488878
488878
  var call60 = async () => {
488879
488879
  return {
488880
488880
  type: "text",
488881
- value: `${"1.0.8"} (built ${"2026-05-23T17:55:01.599Z"})`
488881
+ value: `${"1.0.9"} (built ${"2026-05-23T18:46:56.268Z"})`
488882
488882
  };
488883
488883
  }, version2, version_default;
488884
488884
  var init_version = __esm(() => {
@@ -499192,7 +499192,7 @@ function generateHtmlReport(data, insights) {
499192
499192
  function buildExportData(data, insights, facets) {
499193
499193
  let version3;
499194
499194
  try {
499195
- version3 = "1.0.8";
499195
+ version3 = "1.0.9";
499196
499196
  } catch {
499197
499197
  version3 = "unknown";
499198
499198
  }
@@ -503392,7 +503392,7 @@ var init_sessionStorage = __esm(() => {
503392
503392
  init_slowOperations();
503393
503393
  init_uuid();
503394
503394
  try {
503395
- VERSION7 = "1.0.8";
503395
+ VERSION7 = "1.0.9";
503396
503396
  } catch {
503397
503397
  VERSION7 = "unknown";
503398
503398
  }
@@ -504713,7 +504713,7 @@ var init_filesystem = __esm(() => {
504713
504713
  });
504714
504714
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
504715
504715
  const nonce = randomBytes17(16).toString("hex");
504716
- return join137(getZeroTempDir(), "bundled-skills", "1.0.8", nonce);
504716
+ return join137(getZeroTempDir(), "bundled-skills", "1.0.9", nonce);
504717
504717
  });
504718
504718
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
504719
504719
  });
@@ -515573,7 +515573,7 @@ function buildSystemInitMessage(inputs) {
515573
515573
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
515574
515574
  apiKeySource: getAnthropicApiKeyWithSource().source,
515575
515575
  betas: getSdkBetas(),
515576
- claude_code_version: "1.0.8",
515576
+ claude_code_version: "1.0.9",
515577
515577
  output_style: outputStyle2,
515578
515578
  agents: inputs.agents.map((agent2) => agent2.agentType),
515579
515579
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -530888,7 +530888,7 @@ var init_useVoiceEnabled = __esm(() => {
530888
530888
  function getSemverPart(version3) {
530889
530889
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
530890
530890
  }
530891
- function useUpdateNotification(updatedVersion, initialVersion = "1.0.8") {
530891
+ function useUpdateNotification(updatedVersion, initialVersion = "1.0.9") {
530892
530892
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
530893
530893
  if (!updatedVersion) {
530894
530894
  return null;
@@ -530931,7 +530931,7 @@ function AutoUpdater({
530931
530931
  return;
530932
530932
  }
530933
530933
  if (false) {}
530934
- const currentVersion = "1.0.8";
530934
+ const currentVersion = "1.0.9";
530935
530935
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
530936
530936
  let latestVersion = await getLatestVersion(channel2);
530937
530937
  const isDisabled = isAutoUpdaterDisabled();
@@ -531152,12 +531152,12 @@ function NativeAutoUpdater({
531152
531152
  logEvent("tengu_native_auto_updater_start", {});
531153
531153
  try {
531154
531154
  const maxVersion = await getMaxVersion();
531155
- if (maxVersion && gt("1.0.8", maxVersion)) {
531155
+ if (maxVersion && gt("1.0.9", maxVersion)) {
531156
531156
  const msg = await getMaxVersionMessage();
531157
531157
  setMaxVersionIssue(msg ?? "affects your version");
531158
531158
  }
531159
531159
  const result = await installLatest(channel2);
531160
- const currentVersion = "1.0.8";
531160
+ const currentVersion = "1.0.9";
531161
531161
  const latencyMs = Date.now() - startTime2;
531162
531162
  if (result.lockFailed) {
531163
531163
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -531299,17 +531299,17 @@ function PackageManagerAutoUpdater(t0) {
531299
531299
  const maxVersion = await getMaxVersion();
531300
531300
  if (maxVersion && latest && gt(latest, maxVersion)) {
531301
531301
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
531302
- if (gte("1.0.8", maxVersion)) {
531303
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.8"} is already at or above maxVersion ${maxVersion}, skipping update`);
531302
+ if (gte("1.0.9", maxVersion)) {
531303
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
531304
531304
  setUpdateAvailable(false);
531305
531305
  return;
531306
531306
  }
531307
531307
  latest = maxVersion;
531308
531308
  }
531309
- const hasUpdate = latest && !gte("1.0.8", latest) && !shouldSkipVersion(latest);
531309
+ const hasUpdate = latest && !gte("1.0.9", latest) && !shouldSkipVersion(latest);
531310
531310
  setUpdateAvailable(!!hasUpdate);
531311
531311
  if (hasUpdate) {
531312
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.8"} -> ${latest}`);
531312
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.9"} -> ${latest}`);
531313
531313
  }
531314
531314
  };
531315
531315
  $2[0] = t1;
@@ -531343,7 +531343,7 @@ function PackageManagerAutoUpdater(t0) {
531343
531343
  wrap: "truncate",
531344
531344
  children: [
531345
531345
  "currentVersion: ",
531346
- "1.0.8"
531346
+ "1.0.9"
531347
531347
  ]
531348
531348
  });
531349
531349
  $2[3] = verbose;
@@ -540399,7 +540399,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
540399
540399
  project_dir: getOriginalCwd(),
540400
540400
  added_dirs: addedDirs
540401
540401
  },
540402
- version: "1.0.8",
540402
+ version: "1.0.9",
540403
540403
  output_style: {
540404
540404
  name: outputStyleName
540405
540405
  },
@@ -564902,7 +564902,7 @@ function WelcomeV2() {
564902
564902
  dimColor: true,
564903
564903
  children: [
564904
564904
  "v",
564905
- "1.0.8",
564905
+ "1.0.9",
564906
564906
  " "
564907
564907
  ]
564908
564908
  })
@@ -565136,7 +565136,7 @@ function WelcomeV2() {
565136
565136
  dimColor: true,
565137
565137
  children: [
565138
565138
  "v",
565139
- "1.0.8",
565139
+ "1.0.9",
565140
565140
  " "
565141
565141
  ]
565142
565142
  })
@@ -565383,7 +565383,7 @@ function AppleTerminalWelcomeV2(t0) {
565383
565383
  dimColor: true,
565384
565384
  children: [
565385
565385
  "v",
565386
- "1.0.8",
565386
+ "1.0.9",
565387
565387
  " "
565388
565388
  ]
565389
565389
  });
@@ -565656,7 +565656,7 @@ function AppleTerminalWelcomeV2(t0) {
565656
565656
  dimColor: true,
565657
565657
  children: [
565658
565658
  "v",
565659
- "1.0.8",
565659
+ "1.0.9",
565660
565660
  " "
565661
565661
  ]
565662
565662
  });
@@ -567168,7 +567168,7 @@ function completeOnboarding() {
567168
567168
  saveGlobalConfig((current) => ({
567169
567169
  ...current,
567170
567170
  hasCompletedOnboarding: true,
567171
- lastOnboardingVersion: "1.0.8"
567171
+ lastOnboardingVersion: "1.0.9"
567172
567172
  }));
567173
567173
  }
567174
567174
  function showDialog(root2, renderer) {
@@ -571419,7 +571419,7 @@ function appendToLog(path24, message) {
571419
571419
  cwd: getFsImplementation().cwd(),
571420
571420
  userType: process.env.USER_TYPE,
571421
571421
  sessionId: getSessionId(),
571422
- version: "1.0.8"
571422
+ version: "1.0.9"
571423
571423
  };
571424
571424
  getLogWriter(path24).write(messageWithTimestamp);
571425
571425
  }
@@ -572025,7 +572025,7 @@ async function startMCPServer(cwd2, debug, verbose) {
572025
572025
  setCwd(cwd2);
572026
572026
  const server = new Server({
572027
572027
  name: "claude/tengu",
572028
- version: "1.0.8"
572028
+ version: "1.0.9"
572029
572029
  }, {
572030
572030
  capabilities: {
572031
572031
  tools: {}
@@ -576664,8 +576664,8 @@ async function getEnvLessBridgeConfig() {
576664
576664
  }
576665
576665
  async function checkEnvLessBridgeMinVersion() {
576666
576666
  const cfg = await getEnvLessBridgeConfig();
576667
- if (cfg.min_version && lt("1.0.8", cfg.min_version)) {
576668
- return `Your version of ZeroCLI (${"1.0.8"}) is too old for Remote Control.
576667
+ if (cfg.min_version && lt("1.0.9", cfg.min_version)) {
576668
+ return `Your version of ZeroCLI (${"1.0.9"}) is too old for Remote Control.
576669
576669
  Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
576670
576670
  }
576671
576671
  return null;
@@ -577140,7 +577140,7 @@ async function initBridgeCore(params) {
577140
577140
  const rawApi = createBridgeApiClient({
577141
577141
  baseUrl,
577142
577142
  getAccessToken,
577143
- runnerVersion: "1.0.8",
577143
+ runnerVersion: "1.0.9",
577144
577144
  onDebug: logForDebugging,
577145
577145
  onAuth401,
577146
577146
  getTrustedDeviceToken
@@ -583428,7 +583428,7 @@ __export(exports_update2, {
583428
583428
  });
583429
583429
  async function update2() {
583430
583430
  logEvent("tengu_update_check", {});
583431
- writeToStdout(`Current version: ${"1.0.8"}
583431
+ writeToStdout(`Current version: ${"1.0.9"}
583432
583432
  `);
583433
583433
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
583434
583434
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -583503,8 +583503,8 @@ async function update2() {
583503
583503
  writeToStdout(`Zero is managed by Homebrew.
583504
583504
  `);
583505
583505
  const latest = await getLatestVersion(channel2);
583506
- if (latest && !gte("1.0.8", latest)) {
583507
- writeToStdout(`Update available: ${"1.0.8"} → ${latest}
583506
+ if (latest && !gte("1.0.9", latest)) {
583507
+ writeToStdout(`Update available: ${"1.0.9"} → ${latest}
583508
583508
  `);
583509
583509
  writeToStdout(`
583510
583510
  `);
@@ -583520,8 +583520,8 @@ async function update2() {
583520
583520
  writeToStdout(`Zero is managed by winget.
583521
583521
  `);
583522
583522
  const latest = await getLatestVersion(channel2);
583523
- if (latest && !gte("1.0.8", latest)) {
583524
- writeToStdout(`Update available: ${"1.0.8"} → ${latest}
583523
+ if (latest && !gte("1.0.9", latest)) {
583524
+ writeToStdout(`Update available: ${"1.0.9"} → ${latest}
583525
583525
  `);
583526
583526
  writeToStdout(`
583527
583527
  `);
@@ -583537,8 +583537,8 @@ async function update2() {
583537
583537
  writeToStdout(`Zero is managed by apk.
583538
583538
  `);
583539
583539
  const latest = await getLatestVersion(channel2);
583540
- if (latest && !gte("1.0.8", latest)) {
583541
- writeToStdout(`Update available: ${"1.0.8"} → ${latest}
583540
+ if (latest && !gte("1.0.9", latest)) {
583541
+ writeToStdout(`Update available: ${"1.0.9"} → ${latest}
583542
583542
  `);
583543
583543
  writeToStdout(`
583544
583544
  `);
@@ -583603,11 +583603,11 @@ async function update2() {
583603
583603
  `);
583604
583604
  await gracefulShutdown(1);
583605
583605
  }
583606
- if (result.latestVersion === "1.0.8") {
583607
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.8"})`) + `
583606
+ if (result.latestVersion === "1.0.9") {
583607
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.9"})`) + `
583608
583608
  `);
583609
583609
  } else {
583610
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.8"} to version ${result.latestVersion}`) + `
583610
+ writeToStdout(source_default.green(`Successfully updated from ${"1.0.9"} to version ${result.latestVersion}`) + `
583611
583611
  `);
583612
583612
  await regenerateCompletionCache();
583613
583613
  }
@@ -583667,12 +583667,12 @@ async function update2() {
583667
583667
  `);
583668
583668
  await gracefulShutdown(1);
583669
583669
  }
583670
- if (latestVersion === "1.0.8") {
583671
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.8"})`) + `
583670
+ if (latestVersion === "1.0.9") {
583671
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.9"})`) + `
583672
583672
  `);
583673
583673
  await gracefulShutdown(0);
583674
583674
  }
583675
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.8"})
583675
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.9"})
583676
583676
  `);
583677
583677
  writeToStdout(`Installing update...
583678
583678
  `);
@@ -583717,7 +583717,7 @@ async function update2() {
583717
583717
  logForDebugging(`update: Installation status: ${status2}`);
583718
583718
  switch (status2) {
583719
583719
  case "success":
583720
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.8"} to version ${latestVersion}`) + `
583720
+ writeToStdout(source_default.green(`Successfully updated from ${"1.0.9"} to version ${latestVersion}`) + `
583721
583721
  `);
583722
583722
  await regenerateCompletionCache();
583723
583723
  break;
@@ -585018,7 +585018,7 @@ ${customInstructions}` : customInstructions;
585018
585018
  }
585019
585019
  }
585020
585020
  logForDiagnosticsNoPII("info", "started", {
585021
- version: "1.0.8",
585021
+ version: "1.0.9",
585022
585022
  is_native_binary: isInBundledMode()
585023
585023
  });
585024
585024
  registerCleanup(async () => {
@@ -585901,7 +585901,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
585901
585901
  pendingHookMessages
585902
585902
  }, renderAndRun);
585903
585903
  }
585904
- }).version("1.0.8", "-v, --version", "Output the version number");
585904
+ }).version("1.0.9", "-v, --version", "Output the version number");
585905
585905
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
585906
585906
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
585907
585907
  if (canUserConfigureAdvisor()) {
@@ -586567,7 +586567,7 @@ if (false) {}
586567
586567
  async function main2() {
586568
586568
  const args = process.argv.slice(2);
586569
586569
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
586570
- console.log(`${"1.0.8"} (ZeroCLI)`);
586570
+ console.log(`${"1.0.9"} (ZeroCLI)`);
586571
586571
  return;
586572
586572
  }
586573
586573
  if (args.includes("--provider")) {
@@ -586709,4 +586709,4 @@ async function main2() {
586709
586709
  }
586710
586710
  main2();
586711
586711
 
586712
- //# debugId=4946D697A798C1DA64756E2164756E21
586712
+ //# debugId=C847062032AE851E64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duheso/zerocli",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Zero CLI to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {