@duheso/zerocli 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -119193,7 +119193,7 @@ function buildProviderInfoLines() {
119193
119193
  const sLen = ` ● ${sL} ${sReady}`.length;
119194
119194
  out.push(boxRow(sRow, W2, sLen));
119195
119195
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
119196
- out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.8.1"}${RESET}`);
119196
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"0.8.3"}${RESET}`);
119197
119197
  return out;
119198
119198
  }
119199
119199
  function printStartupScreen() {}
@@ -151704,7 +151704,7 @@ function getAttributionHeader(fingerprint) {
151704
151704
  if (!isAttributionHeaderEnabled()) {
151705
151705
  return "";
151706
151706
  }
151707
- const version2 = `${"0.8.1"}.${fingerprint}`;
151707
+ const version2 = `${"0.8.3"}.${fingerprint}`;
151708
151708
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
151709
151709
  const cch = "";
151710
151710
  const workload = getWorkload();
@@ -194680,7 +194680,7 @@ var init_imageValidation = __esm(() => {
194680
194680
 
194681
194681
  // src/utils/userAgent.ts
194682
194682
  function getClaudeCodeUserAgent() {
194683
- return `claude-code/${"0.8.1"}`;
194683
+ return `claude-code/${"0.8.3"}`;
194684
194684
  }
194685
194685
 
194686
194686
  // src/utils/http.ts
@@ -194689,7 +194689,7 @@ function getUserAgent() {
194689
194689
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
194690
194690
  const workload = getWorkload();
194691
194691
  const workloadSuffix = workload ? `, workload/${workload}` : "";
194692
- return `claude-cli/${"0.8.1"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
194692
+ return `claude-cli/${"0.8.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
194693
194693
  }
194694
194694
  function getMCPUserAgent() {
194695
194695
  const parts = [];
@@ -194703,7 +194703,7 @@ function getMCPUserAgent() {
194703
194703
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
194704
194704
  }
194705
194705
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
194706
- return `claude-code/${"0.8.1"}${suffix}`;
194706
+ return `claude-code/${"0.8.3"}${suffix}`;
194707
194707
  }
194708
194708
  function getWebFetchUserAgent() {
194709
194709
  const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
@@ -249132,7 +249132,7 @@ function getTelemetryAttributes() {
249132
249132
  attributes["session.id"] = sessionId;
249133
249133
  }
249134
249134
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
249135
- attributes["app.version"] = "0.8.1";
249135
+ attributes["app.version"] = "0.8.3";
249136
249136
  }
249137
249137
  const oauthAccount = getOauthAccountInfo();
249138
249138
  if (oauthAccount) {
@@ -261371,7 +261371,7 @@ function computeFingerprint(messageText, version2) {
261371
261371
  }
261372
261372
  function computeFingerprintFromMessages(messages) {
261373
261373
  const firstMessageText = extractFirstMessageText(messages);
261374
- return computeFingerprint(firstMessageText, "0.8.1");
261374
+ return computeFingerprint(firstMessageText, "0.8.3");
261375
261375
  }
261376
261376
  var FINGERPRINT_SALT = "59cf53e54c78";
261377
261377
  var init_fingerprint = () => {};
@@ -261413,7 +261413,7 @@ async function sideQuery(opts) {
261413
261413
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
261414
261414
  }
261415
261415
  const messageText = extractFirstUserMessageText(messages);
261416
- const fingerprint = computeFingerprint(messageText, "0.8.1");
261416
+ const fingerprint = computeFingerprint(messageText, "0.8.3");
261417
261417
  const attributionHeader = getAttributionHeader(fingerprint);
261418
261418
  const systemBlocks = [
261419
261419
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -270315,7 +270315,7 @@ var init_user = __esm(() => {
270315
270315
  deviceId,
270316
270316
  sessionId: getSessionId(),
270317
270317
  email: getEmail(),
270318
- appVersion: "0.8.1",
270318
+ appVersion: "0.8.3",
270319
270319
  platform: getHostPlatformForAnalytics(),
270320
270320
  organizationUuid,
270321
270321
  accountUuid,
@@ -270709,7 +270709,7 @@ async function initializeBetaTracing(resource) {
270709
270709
  });
270710
270710
  logs.setGlobalLoggerProvider(loggerProvider);
270711
270711
  setLoggerProvider(loggerProvider);
270712
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.1");
270712
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.3");
270713
270713
  setEventLogger(eventLogger);
270714
270714
  process.on("beforeExit", async () => {
270715
270715
  await loggerProvider?.forceFlush();
@@ -270749,7 +270749,7 @@ async function initializeTelemetry() {
270749
270749
  const platform3 = getPlatform();
270750
270750
  const baseAttributes = {
270751
270751
  [ATTR_SERVICE_NAME3]: "claude-code",
270752
- [ATTR_SERVICE_VERSION3]: "0.8.1"
270752
+ [ATTR_SERVICE_VERSION3]: "0.8.3"
270753
270753
  };
270754
270754
  if (platform3 === "wsl") {
270755
270755
  const wslVersion = getWslVersion();
@@ -270794,7 +270794,7 @@ async function initializeTelemetry() {
270794
270794
  } catch {}
270795
270795
  };
270796
270796
  registerCleanup(shutdownTelemetry2);
270797
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.8.1");
270797
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.8.3");
270798
270798
  }
270799
270799
  const meterProvider = new MeterProvider3({
270800
270800
  resource,
@@ -270814,7 +270814,7 @@ async function initializeTelemetry() {
270814
270814
  });
270815
270815
  logs.setGlobalLoggerProvider(loggerProvider);
270816
270816
  setLoggerProvider(loggerProvider);
270817
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.1");
270817
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "0.8.3");
270818
270818
  setEventLogger(eventLogger);
270819
270819
  logForDebugging("[3P telemetry] Event logger set successfully");
270820
270820
  process.on("beforeExit", async () => {
@@ -270876,7 +270876,7 @@ Current timeout: ${timeoutMs}ms
270876
270876
  }
270877
270877
  };
270878
270878
  registerCleanup(shutdownTelemetry);
270879
- return meterProvider.getMeter("com.anthropic.claude_code", "0.8.1");
270879
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.8.3");
270880
270880
  }
270881
270881
  async function flushTelemetry() {
270882
270882
  const meterProvider = getMeterProvider();
@@ -272168,7 +272168,7 @@ function detectLinuxGlobPatternWarnings() {
272168
272168
  }
272169
272169
  async function getDoctorDiagnostic() {
272170
272170
  const installationType = await getCurrentInstallationType();
272171
- const version2 = typeof MACRO !== "undefined" ? "0.8.1" : "unknown";
272171
+ const version2 = typeof MACRO !== "undefined" ? "0.8.3" : "unknown";
272172
272172
  const installationPath = await getInstallationPath();
272173
272173
  const invokedBinary = getInvokedBinary();
272174
272174
  const multipleInstallations = await detectMultipleInstallations();
@@ -273653,7 +273653,7 @@ function getInstallationEnv() {
273653
273653
  return;
273654
273654
  }
273655
273655
  function getClaudeCodeVersion() {
273656
- return "0.8.1";
273656
+ return "0.8.3";
273657
273657
  }
273658
273658
  async function getInstalledVSCodeExtensionVersion(command) {
273659
273659
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -275020,8 +275020,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
275020
275020
  const maxVersion = await getMaxVersion();
275021
275021
  if (maxVersion && gt(version2, maxVersion)) {
275022
275022
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
275023
- if (gte("0.8.1", maxVersion)) {
275024
- logForDebugging(`Native installer: current version ${"0.8.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
275023
+ if (gte("0.8.3", maxVersion)) {
275024
+ logForDebugging(`Native installer: current version ${"0.8.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
275025
275025
  logEvent("tengu_native_update_skipped_max_version", {
275026
275026
  latency_ms: Date.now() - startTime,
275027
275027
  max_version: maxVersion,
@@ -275032,7 +275032,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
275032
275032
  version2 = maxVersion;
275033
275033
  }
275034
275034
  }
275035
- if (!forceReinstall && version2 === "0.8.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
275035
+ if (!forceReinstall && version2 === "0.8.3" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
275036
275036
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
275037
275037
  logEvent("tengu_native_update_complete", {
275038
275038
  latency_ms: Date.now() - startTime,
@@ -380238,7 +380238,7 @@ function getAnthropicEnvMetadata() {
380238
380238
  function getBuildAgeMinutes() {
380239
380239
  if (false)
380240
380240
  ;
380241
- const buildTime = new Date("2026-05-05T02:00:44.916Z").getTime();
380241
+ const buildTime = new Date("2026-05-05T02:53:04.280Z").getTime();
380242
380242
  if (isNaN(buildTime))
380243
380243
  return;
380244
380244
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -407655,7 +407655,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
407655
407655
  const client2 = new Client({
407656
407656
  name: "claude-code",
407657
407657
  title: "ZeroCLI",
407658
- version: "0.8.1",
407658
+ version: "0.8.3",
407659
407659
  description: "Anthropic's agentic coding tool",
407660
407660
  websiteUrl: PRODUCT_URL
407661
407661
  }, {
@@ -408007,7 +408007,7 @@ var init_client7 = __esm(() => {
408007
408007
  const client2 = new Client({
408008
408008
  name: "claude-code",
408009
408009
  title: "ZeroCLI",
408010
- version: "0.8.1",
408010
+ version: "0.8.3",
408011
408011
  description: "Anthropic's agentic coding tool",
408012
408012
  websiteUrl: PRODUCT_URL
408013
408013
  }, {
@@ -418670,7 +418670,7 @@ function Feedback({
418670
418670
  platform: env2.platform,
418671
418671
  gitRepo: envInfo.isGit,
418672
418672
  terminal: env2.terminal,
418673
- version: "0.8.1",
418673
+ version: "0.8.3",
418674
418674
  transcript: normalizeMessagesForAPI(messages),
418675
418675
  errors: sanitizedErrors,
418676
418676
  lastApiRequest: getLastAPIRequest(),
@@ -418863,7 +418863,7 @@ function Feedback({
418863
418863
  ", ",
418864
418864
  env2.terminal,
418865
418865
  ", v",
418866
- "0.8.1"
418866
+ "0.8.3"
418867
418867
  ]
418868
418868
  }, undefined, true, undefined, this)
418869
418869
  ]
@@ -418971,7 +418971,7 @@ ${sanitizedDescription}
418971
418971
  ` + `**Environment Info**
418972
418972
  ` + `- Platform: ${env2.platform}
418973
418973
  ` + `- Terminal: ${env2.terminal}
418974
- ` + `- Version: ${"0.8.1"}
418974
+ ` + `- Version: ${"0.8.3"}
418975
418975
  ` + feedbackIdLine + `
418976
418976
  **Errors**
418977
418977
  \`\`\`json
@@ -422126,7 +422126,7 @@ function buildPrimarySection() {
422126
422126
  }, undefined, false, undefined, this);
422127
422127
  return [{
422128
422128
  label: "Version",
422129
- value: "0.8.1"
422129
+ value: "0.8.3"
422130
422130
  }, {
422131
422131
  label: "Session name",
422132
422132
  value: nameValue
@@ -426896,7 +426896,7 @@ function Config({
426896
426896
  }
426897
426897
  }, undefined, false, undefined, this)
426898
426898
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime181.jsxDEV(ChannelDowngradeDialog, {
426899
- currentVersion: "0.8.1",
426899
+ currentVersion: "0.8.3",
426900
426900
  onChoice: (choice) => {
426901
426901
  setShowSubmenu(null);
426902
426902
  setTabsHidden(false);
@@ -426908,7 +426908,7 @@ function Config({
426908
426908
  autoUpdatesChannel: "stable"
426909
426909
  };
426910
426910
  if (choice === "stay") {
426911
- newSettings.minimumVersion = "0.8.1";
426911
+ newSettings.minimumVersion = "0.8.3";
426912
426912
  }
426913
426913
  updateSettingsForSource("userSettings", newSettings);
426914
426914
  setSettingsData((prev_27) => ({
@@ -435804,7 +435804,7 @@ function HelpV2(t0) {
435804
435804
  let t6;
435805
435805
  if ($2[31] !== tabs) {
435806
435806
  t6 = /* @__PURE__ */ jsx_dev_runtime210.jsxDEV(Tabs, {
435807
- title: `ZeroCLI v${"0.8.1"}`,
435807
+ title: `ZeroCLI v${"0.8.3"}`,
435808
435808
  color: "professionalBlue",
435809
435809
  defaultTab: "general",
435810
435810
  children: tabs
@@ -460648,7 +460648,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
460648
460648
  return [];
460649
460649
  }
460650
460650
  }
460651
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.8.1") {
460651
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.8.3") {
460652
460652
  if (process.env.USER_TYPE === "ant") {
460653
460653
  const changelog = MACRO.VERSION_CHANGELOG;
460654
460654
  if (changelog) {
@@ -489686,7 +489686,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
489686
489686
  smapsRollup,
489687
489687
  platform: process.platform,
489688
489688
  nodeVersion: process.version,
489689
- ccVersion: "0.8.1"
489689
+ ccVersion: "0.8.3"
489690
489690
  };
489691
489691
  }
489692
489692
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -490273,7 +490273,7 @@ var init_bridge_kick = __esm(() => {
490273
490273
  var call59 = async () => {
490274
490274
  return {
490275
490275
  type: "text",
490276
- value: `${"0.8.1"} (built ${"2026-05-05T02:00:44.916Z"})`
490276
+ value: `${"0.8.3"} (built ${"2026-05-05T02:53:04.280Z"})`
490277
490277
  };
490278
490278
  }, version2, version_default;
490279
490279
  var init_version = __esm(() => {
@@ -492092,7 +492092,6 @@ var init_setupPortable = __esm(() => {
492092
492092
  import { chmod as chmod10, mkdir as mkdir38, readFile as readFile46, writeFile as writeFile43 } from "fs/promises";
492093
492093
  import { homedir as homedir31 } from "os";
492094
492094
  import { join as join126 } from "path";
492095
- import { fileURLToPath as fileURLToPath6 } from "url";
492096
492095
  function shouldEnableClaudeInChrome(chromeFlag) {
492097
492096
  if (getIsNonInteractiveSession() && chromeFlag !== true) {
492098
492097
  return false;
@@ -492119,7 +492118,7 @@ function shouldAutoEnableClaudeInChrome() {
492119
492118
  if (shouldAutoEnable !== undefined) {
492120
492119
  return shouldAutoEnable;
492121
492120
  }
492122
- shouldAutoEnable = getIsInteractive() && isChromeExtensionInstalled_CACHED_MAY_BE_STALE() && (process.env.USER_TYPE === "ant" || getFeatureValue_CACHED_MAY_BE_STALE("tengu_chrome_auto_enable", false));
492121
+ shouldAutoEnable = getIsInteractive() && isChromeExtensionInstalled_CACHED_MAY_BE_STALE();
492123
492122
  return shouldAutoEnable;
492124
492123
  }
492125
492124
  function setupClaudeInChrome() {
@@ -492147,15 +492146,13 @@ function setupClaudeInChrome() {
492147
492146
  systemPrompt: getChromeSystemPrompt()
492148
492147
  };
492149
492148
  } else {
492150
- const __filename3 = fileURLToPath6(import.meta.url);
492151
- const __dirname3 = join126(__filename3, "..");
492152
- const cliPath = join126(__dirname3, "cli.js");
492149
+ const cliPath = process.argv[1];
492153
492150
  createWrapperScript(`"${process.execPath}" "${cliPath}" --chrome-native-host`).then((manifestBinaryPath) => installChromeNativeHostManifest(manifestBinaryPath)).catch((e2) => logForDebugging(`[Claude in Chrome] Failed to install native host: ${e2}`, { level: "error" }));
492154
492151
  const mcpConfig = {
492155
492152
  [CLAUDE_IN_CHROME_MCP_SERVER_NAME]: {
492156
492153
  type: "stdio",
492157
492154
  command: process.execPath,
492158
- args: [`${cliPath}`, "--claude-in-chrome-mcp"],
492155
+ args: [cliPath, "--claude-in-chrome-mcp"],
492159
492156
  scope: "dynamic",
492160
492157
  ...hasEnv && { env: env4 }
492161
492158
  }
@@ -492297,7 +492294,6 @@ var CHROME_EXTENSION_RECONNECT_URL = "https://clau.de/chrome/reconnect", ZEROCLI
492297
492294
  var init_setup2 = __esm(() => {
492298
492295
  init_zeroCLIMcpServer();
492299
492296
  init_state();
492300
- init_growthbook();
492301
492297
  init_config();
492302
492298
  init_debug();
492303
492299
  init_envUtils();
@@ -492495,7 +492491,7 @@ function ClaudeInChromeMenu(t0) {
492495
492491
  } else {
492496
492492
  options2 = $2[8];
492497
492493
  }
492498
- const isDisabled = isWSL || !isClaudeAISubscriber2;
492494
+ const isDisabled = isWSL;
492499
492495
  let t5;
492500
492496
  if ($2[18] !== onDone) {
492501
492497
  t5 = () => onDone();
@@ -492526,10 +492522,7 @@ function ClaudeInChromeMenu(t0) {
492526
492522
  }
492527
492523
  let t8;
492528
492524
  if ($2[23] !== isClaudeAISubscriber2) {
492529
- t8 = !isClaudeAISubscriber2 && /* @__PURE__ */ jsx_dev_runtime340.jsxDEV(ThemedText, {
492530
- color: "error",
492531
- children: "Claude in Chrome requires a claude.ai subscription."
492532
- }, undefined, false, undefined, this);
492525
+ t8 = false;
492533
492526
  $2[23] = isClaudeAISubscriber2;
492534
492527
  $2[24] = t8;
492535
492528
  } else {
@@ -492717,7 +492710,7 @@ var init_chrome2 = __esm(() => {
492717
492710
  command8 = {
492718
492711
  name: "chrome",
492719
492712
  description: t("cmd_chrome"),
492720
- availability: ["claude-ai"],
492713
+ availability: [],
492721
492714
  isEnabled: () => !getIsNonInteractiveSession(),
492722
492715
  type: "local-jsx",
492723
492716
  load: () => Promise.resolve().then(() => (init_chrome(), exports_chrome))
@@ -500435,7 +500428,7 @@ function generateHtmlReport(data, insights) {
500435
500428
  </html>`;
500436
500429
  }
500437
500430
  function buildExportData(data, insights, facets) {
500438
- const version3 = typeof MACRO !== "undefined" ? "0.8.1" : "unknown";
500431
+ const version3 = typeof MACRO !== "undefined" ? "0.8.3" : "unknown";
500439
500432
  const facets_summary = {
500440
500433
  total: facets.size,
500441
500434
  goal_categories: {},
@@ -504625,7 +504618,7 @@ var init_sessionStorage = __esm(() => {
504625
504618
  init_settings2();
504626
504619
  init_slowOperations();
504627
504620
  init_uuid();
504628
- VERSION7 = typeof MACRO !== "undefined" ? "0.8.1" : "unknown";
504621
+ VERSION7 = typeof MACRO !== "undefined" ? "0.8.3" : "unknown";
504629
504622
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
504630
504623
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
504631
504624
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -505935,7 +505928,7 @@ var init_filesystem = __esm(() => {
505935
505928
  });
505936
505929
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
505937
505930
  const nonce = randomBytes17(16).toString("hex");
505938
- return join136(getClaudeTempDir(), "bundled-skills", "0.8.1", nonce);
505931
+ return join136(getClaudeTempDir(), "bundled-skills", "0.8.3", nonce);
505939
505932
  });
505940
505933
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
505941
505934
  });
@@ -516954,7 +516947,7 @@ function buildSystemInitMessage(inputs) {
516954
516947
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
516955
516948
  apiKeySource: getAnthropicApiKeyWithSource().source,
516956
516949
  betas: getSdkBetas(),
516957
- claude_code_version: "0.8.1",
516950
+ claude_code_version: "0.8.3",
516958
516951
  output_style: outputStyle2,
516959
516952
  agents: inputs.agents.map((agent2) => agent2.agentType),
516960
516953
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -532269,7 +532262,7 @@ var init_useVoiceEnabled = __esm(() => {
532269
532262
  function getSemverPart(version3) {
532270
532263
  return `${import_semver10.major(version3, { loose: true })}.${import_semver10.minor(version3, { loose: true })}.${import_semver10.patch(version3, { loose: true })}`;
532271
532264
  }
532272
- function useUpdateNotification(updatedVersion, initialVersion = "0.8.1") {
532265
+ function useUpdateNotification(updatedVersion, initialVersion = "0.8.3") {
532273
532266
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react225.useState(() => getSemverPart(initialVersion));
532274
532267
  if (!updatedVersion) {
532275
532268
  return null;
@@ -532309,7 +532302,7 @@ function AutoUpdater({
532309
532302
  return;
532310
532303
  }
532311
532304
  if (false) {}
532312
- const currentVersion = "0.8.1";
532305
+ const currentVersion = "0.8.3";
532313
532306
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
532314
532307
  let latestVersion = await getLatestVersion(channel);
532315
532308
  const isDisabled = isAutoUpdaterDisabled();
@@ -532523,12 +532516,12 @@ function NativeAutoUpdater({
532523
532516
  logEvent("tengu_native_auto_updater_start", {});
532524
532517
  try {
532525
532518
  const maxVersion = await getMaxVersion();
532526
- if (maxVersion && gt("0.8.1", maxVersion)) {
532519
+ if (maxVersion && gt("0.8.3", maxVersion)) {
532527
532520
  const msg = await getMaxVersionMessage();
532528
532521
  setMaxVersionIssue(msg ?? "affects your version");
532529
532522
  }
532530
532523
  const result = await installLatest(channel);
532531
- const currentVersion = "0.8.1";
532524
+ const currentVersion = "0.8.3";
532532
532525
  const latencyMs = Date.now() - startTime;
532533
532526
  if (result.lockFailed) {
532534
532527
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -532662,17 +532655,17 @@ function PackageManagerAutoUpdater(t0) {
532662
532655
  const maxVersion = await getMaxVersion();
532663
532656
  if (maxVersion && latest && gt(latest, maxVersion)) {
532664
532657
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
532665
- if (gte("0.8.1", maxVersion)) {
532666
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.8.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
532658
+ if (gte("0.8.3", maxVersion)) {
532659
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.8.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
532667
532660
  setUpdateAvailable(false);
532668
532661
  return;
532669
532662
  }
532670
532663
  latest = maxVersion;
532671
532664
  }
532672
- const hasUpdate = latest && !gte("0.8.1", latest) && !shouldSkipVersion(latest);
532665
+ const hasUpdate = latest && !gte("0.8.3", latest) && !shouldSkipVersion(latest);
532673
532666
  setUpdateAvailable(!!hasUpdate);
532674
532667
  if (hasUpdate) {
532675
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.8.1"} -> ${latest}`);
532668
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.8.3"} -> ${latest}`);
532676
532669
  }
532677
532670
  };
532678
532671
  $2[0] = t1;
@@ -532706,7 +532699,7 @@ function PackageManagerAutoUpdater(t0) {
532706
532699
  wrap: "truncate",
532707
532700
  children: [
532708
532701
  "currentVersion: ",
532709
- "0.8.1"
532702
+ "0.8.3"
532710
532703
  ]
532711
532704
  }, undefined, true, undefined, this);
532712
532705
  $2[3] = verbose;
@@ -541736,7 +541729,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
541736
541729
  project_dir: getOriginalCwd(),
541737
541730
  added_dirs: addedDirs
541738
541731
  },
541739
- version: "0.8.1",
541732
+ version: "0.8.3",
541740
541733
  output_style: {
541741
541734
  name: outputStyleName
541742
541735
  },
@@ -554701,17 +554694,6 @@ async function _temp198() {
554701
554694
  if (!shouldEnableClaudeInChrome(chromeFlag)) {
554702
554695
  return null;
554703
554696
  }
554704
- if (!isClaudeAISubscriber()) {
554705
- return {
554706
- key: "chrome-requires-subscription",
554707
- jsx: /* @__PURE__ */ jsx_dev_runtime446.jsxDEV(ThemedText, {
554708
- color: "error",
554709
- children: "Claude in Chrome requires a claude.ai subscription"
554710
- }, undefined, false, undefined, this),
554711
- priority: "immediate",
554712
- timeoutMs: 5000
554713
- };
554714
- }
554715
554697
  const installed = await isChromeExtensionInstalled();
554716
554698
  if (!installed && !isRunningOnHomespace()) {
554717
554699
  return {
@@ -554736,7 +554718,6 @@ async function _temp198() {
554736
554718
  var jsx_dev_runtime446;
554737
554719
  var init_useChromeExtensionNotification = __esm(() => {
554738
554720
  init_ink2();
554739
- init_auth();
554740
554721
  init_setup2();
554741
554722
  init_envUtils();
554742
554723
  init_useStartupNotification();
@@ -566267,7 +566248,7 @@ function WelcomeV2() {
566267
566248
  dimColor: true,
566268
566249
  children: [
566269
566250
  "v",
566270
- "0.8.1",
566251
+ "0.8.3",
566271
566252
  " "
566272
566253
  ]
566273
566254
  }, undefined, true, undefined, this)
@@ -566501,7 +566482,7 @@ function WelcomeV2() {
566501
566482
  dimColor: true,
566502
566483
  children: [
566503
566484
  "v",
566504
- "0.8.1",
566485
+ "0.8.3",
566505
566486
  " "
566506
566487
  ]
566507
566488
  }, undefined, true, undefined, this)
@@ -566748,7 +566729,7 @@ function AppleTerminalWelcomeV2(t0) {
566748
566729
  dimColor: true,
566749
566730
  children: [
566750
566731
  "v",
566751
- "0.8.1",
566732
+ "0.8.3",
566752
566733
  " "
566753
566734
  ]
566754
566735
  }, undefined, true, undefined, this);
@@ -567021,7 +567002,7 @@ function AppleTerminalWelcomeV2(t0) {
567021
567002
  dimColor: true,
567022
567003
  children: [
567023
567004
  "v",
567024
- "0.8.1",
567005
+ "0.8.3",
567025
567006
  " "
567026
567007
  ]
567027
567008
  }, undefined, true, undefined, this);
@@ -568533,7 +568514,7 @@ function completeOnboarding() {
568533
568514
  saveGlobalConfig((current) => ({
568534
568515
  ...current,
568535
568516
  hasCompletedOnboarding: true,
568536
- lastOnboardingVersion: "0.8.1"
568517
+ lastOnboardingVersion: "0.8.3"
568537
568518
  }));
568538
568519
  }
568539
568520
  function showDialog(root2, renderer) {
@@ -572784,7 +572765,7 @@ function appendToLog(path24, message) {
572784
572765
  cwd: getFsImplementation().cwd(),
572785
572766
  userType: process.env.USER_TYPE,
572786
572767
  sessionId: getSessionId(),
572787
- version: "0.8.1"
572768
+ version: "0.8.3"
572788
572769
  };
572789
572770
  getLogWriter(path24).write(messageWithTimestamp);
572790
572771
  }
@@ -573390,7 +573371,7 @@ async function startMCPServer(cwd2, debug, verbose) {
573390
573371
  setCwd(cwd2);
573391
573372
  const server = new Server({
573392
573373
  name: "claude/tengu",
573393
- version: "0.8.1"
573374
+ version: "0.8.3"
573394
573375
  }, {
573395
573376
  capabilities: {
573396
573377
  tools: {}
@@ -578029,8 +578010,8 @@ async function getEnvLessBridgeConfig() {
578029
578010
  }
578030
578011
  async function checkEnvLessBridgeMinVersion() {
578031
578012
  const cfg = await getEnvLessBridgeConfig();
578032
- if (cfg.min_version && lt("0.8.1", cfg.min_version)) {
578033
- return `Your version of ZeroCLI (${"0.8.1"}) is too old for Remote Control.
578013
+ if (cfg.min_version && lt("0.8.3", cfg.min_version)) {
578014
+ return `Your version of ZeroCLI (${"0.8.3"}) is too old for Remote Control.
578034
578015
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
578035
578016
  }
578036
578017
  return null;
@@ -578505,7 +578486,7 @@ async function initBridgeCore(params) {
578505
578486
  const rawApi = createBridgeApiClient({
578506
578487
  baseUrl,
578507
578488
  getAccessToken,
578508
- runnerVersion: "0.8.1",
578489
+ runnerVersion: "0.8.3",
578509
578490
  onDebug: logForDebugging,
578510
578491
  onAuth401,
578511
578492
  getTrustedDeviceToken
@@ -584793,7 +584774,7 @@ __export(exports_update, {
584793
584774
  });
584794
584775
  async function update() {
584795
584776
  logEvent("tengu_update_check", {});
584796
- writeToStdout(`Current version: ${"0.8.1"}
584777
+ writeToStdout(`Current version: ${"0.8.3"}
584797
584778
  `);
584798
584779
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
584799
584780
  writeToStdout(`Checking for updates to ${channel} version...
@@ -584868,8 +584849,8 @@ async function update() {
584868
584849
  writeToStdout(`Claude is managed by Homebrew.
584869
584850
  `);
584870
584851
  const latest = await getLatestVersion(channel);
584871
- if (latest && !gte("0.8.1", latest)) {
584872
- writeToStdout(`Update available: ${"0.8.1"} → ${latest}
584852
+ if (latest && !gte("0.8.3", latest)) {
584853
+ writeToStdout(`Update available: ${"0.8.3"} → ${latest}
584873
584854
  `);
584874
584855
  writeToStdout(`
584875
584856
  `);
@@ -584885,8 +584866,8 @@ async function update() {
584885
584866
  writeToStdout(`Claude is managed by winget.
584886
584867
  `);
584887
584868
  const latest = await getLatestVersion(channel);
584888
- if (latest && !gte("0.8.1", latest)) {
584889
- writeToStdout(`Update available: ${"0.8.1"} → ${latest}
584869
+ if (latest && !gte("0.8.3", latest)) {
584870
+ writeToStdout(`Update available: ${"0.8.3"} → ${latest}
584890
584871
  `);
584891
584872
  writeToStdout(`
584892
584873
  `);
@@ -584902,8 +584883,8 @@ async function update() {
584902
584883
  writeToStdout(`Claude is managed by apk.
584903
584884
  `);
584904
584885
  const latest = await getLatestVersion(channel);
584905
- if (latest && !gte("0.8.1", latest)) {
584906
- writeToStdout(`Update available: ${"0.8.1"} → ${latest}
584886
+ if (latest && !gte("0.8.3", latest)) {
584887
+ writeToStdout(`Update available: ${"0.8.3"} → ${latest}
584907
584888
  `);
584908
584889
  writeToStdout(`
584909
584890
  `);
@@ -584968,11 +584949,11 @@ async function update() {
584968
584949
  `);
584969
584950
  await gracefulShutdown(1);
584970
584951
  }
584971
- if (result.latestVersion === "0.8.1") {
584972
- writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.1"})`) + `
584952
+ if (result.latestVersion === "0.8.3") {
584953
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.3"})`) + `
584973
584954
  `);
584974
584955
  } else {
584975
- writeToStdout(source_default.green(`Successfully updated from ${"0.8.1"} to version ${result.latestVersion}`) + `
584956
+ writeToStdout(source_default.green(`Successfully updated from ${"0.8.3"} to version ${result.latestVersion}`) + `
584976
584957
  `);
584977
584958
  await regenerateCompletionCache();
584978
584959
  }
@@ -585032,12 +585013,12 @@ async function update() {
585032
585013
  `);
585033
585014
  await gracefulShutdown(1);
585034
585015
  }
585035
- if (latestVersion === "0.8.1") {
585036
- writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.1"})`) + `
585016
+ if (latestVersion === "0.8.3") {
585017
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"0.8.3"})`) + `
585037
585018
  `);
585038
585019
  await gracefulShutdown(0);
585039
585020
  }
585040
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.1"})
585021
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.3"})
585041
585022
  `);
585042
585023
  writeToStdout(`Installing update...
585043
585024
  `);
@@ -585082,7 +585063,7 @@ async function update() {
585082
585063
  logForDebugging(`update: Installation status: ${status2}`);
585083
585064
  switch (status2) {
585084
585065
  case "success":
585085
- writeToStdout(source_default.green(`Successfully updated from ${"0.8.1"} to version ${latestVersion}`) + `
585066
+ writeToStdout(source_default.green(`Successfully updated from ${"0.8.3"} to version ${latestVersion}`) + `
585086
585067
  `);
585087
585068
  await regenerateCompletionCache();
585088
585069
  break;
@@ -585883,7 +585864,7 @@ ${formattedErrors}
585883
585864
  }
585884
585865
  const chromeOpts = options2;
585885
585866
  setChromeFlagOverride(chromeOpts.chrome);
585886
- const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) && (String("external") === "ant" || isClaudeAISubscriber());
585867
+ const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome);
585887
585868
  const autoEnableClaudeInChrome = !enableClaudeInChrome && shouldAutoEnableClaudeInChrome();
585888
585869
  if (enableClaudeInChrome) {
585889
585870
  const platform6 = getPlatform();
@@ -586382,7 +586363,7 @@ ${customInstructions}` : customInstructions;
586382
586363
  }
586383
586364
  }
586384
586365
  logForDiagnosticsNoPII("info", "started", {
586385
- version: "0.8.1",
586366
+ version: "0.8.3",
586386
586367
  is_native_binary: isInBundledMode()
586387
586368
  });
586388
586369
  registerCleanup(async () => {
@@ -587265,7 +587246,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
587265
587246
  pendingHookMessages
587266
587247
  }, renderAndRun);
587267
587248
  }
587268
- }).version("0.8.1", "-v, --version", "Output the version number");
587249
+ }).version("0.8.3", "-v, --version", "Output the version number");
587269
587250
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
587270
587251
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
587271
587252
  if (canUserConfigureAdvisor()) {
@@ -587930,7 +587911,7 @@ if (false) {}
587930
587911
  async function main2() {
587931
587912
  const args = process.argv.slice(2);
587932
587913
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
587933
- console.log(`${"0.8.1"} (ZeroCLI)`);
587914
+ console.log(`${"0.8.3"} (ZeroCLI)`);
587934
587915
  return;
587935
587916
  }
587936
587917
  if (args.includes("--provider")) {
@@ -588072,4 +588053,4 @@ async function main2() {
588072
588053
  }
588073
588054
  main2();
588074
588055
 
588075
- //# debugId=E6ACFE5970CAC60E64756E2164756E21
588056
+ //# debugId=0B805D04281FAA8D64756E2164756E21