@duheso/zerocli 1.0.1 → 1.0.2

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
@@ -119224,7 +119224,7 @@ function buildProviderInfoLines() {
119224
119224
  const sLen = ` ● ${sL} ${sReady}`.length;
119225
119225
  out.push(boxRow(sRow, W2, sLen));
119226
119226
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
119227
- out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.0.1"}${RESET}`);
119227
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.0.2"}${RESET}`);
119228
119228
  return out;
119229
119229
  }
119230
119230
  function printStartupScreen() {}
@@ -147415,7 +147415,7 @@ function getAttributionHeader(fingerprint) {
147415
147415
  if (!isAttributionHeaderEnabled()) {
147416
147416
  return "";
147417
147417
  }
147418
- const version2 = `${"1.0.0"}.${fingerprint}`;
147418
+ const version2 = `${"1.0.2"}.${fingerprint}`;
147419
147419
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
147420
147420
  const cch = "";
147421
147421
  const workload = getWorkload();
@@ -190425,7 +190425,7 @@ var init_imageValidation = __esm(() => {
190425
190425
 
190426
190426
  // src/utils/userAgent.ts
190427
190427
  function getZeroCodeUserAgent() {
190428
- return `claude-code/${"1.0.0"}`;
190428
+ return `claude-code/${"1.0.2"}`;
190429
190429
  }
190430
190430
 
190431
190431
  // src/utils/http.ts
@@ -190434,7 +190434,7 @@ function getUserAgent() {
190434
190434
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
190435
190435
  const workload = getWorkload();
190436
190436
  const workloadSuffix = workload ? `, workload/${workload}` : "";
190437
- return `claude-cli/${"1.0.0"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190437
+ return `claude-cli/${"1.0.2"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190438
190438
  }
190439
190439
  function getMCPUserAgent() {
190440
190440
  const parts = [];
@@ -190448,7 +190448,7 @@ function getMCPUserAgent() {
190448
190448
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
190449
190449
  }
190450
190450
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
190451
- return `claude-code/${"1.0.0"}${suffix}`;
190451
+ return `claude-code/${"1.0.2"}${suffix}`;
190452
190452
  }
190453
190453
  function getWebFetchUserAgent() {
190454
190454
  const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
@@ -244934,7 +244934,7 @@ function getTelemetryAttributes() {
244934
244934
  attributes["session.id"] = sessionId;
244935
244935
  }
244936
244936
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
244937
- attributes["app.version"] = "1.0.0";
244937
+ attributes["app.version"] = "1.0.2";
244938
244938
  }
244939
244939
  const oauthAccount = getOauthAccountInfo();
244940
244940
  if (oauthAccount) {
@@ -257173,7 +257173,7 @@ function computeFingerprint(messageText, version2) {
257173
257173
  }
257174
257174
  function computeFingerprintFromMessages(messages) {
257175
257175
  const firstMessageText = extractFirstMessageText(messages);
257176
- return computeFingerprint(firstMessageText, "1.0.0");
257176
+ return computeFingerprint(firstMessageText, "1.0.2");
257177
257177
  }
257178
257178
  var FINGERPRINT_SALT = "59cf53e54c78";
257179
257179
  var init_fingerprint = () => {};
@@ -257215,7 +257215,7 @@ async function sideQuery(opts) {
257215
257215
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
257216
257216
  }
257217
257217
  const messageText = extractFirstUserMessageText(messages);
257218
- const fingerprint = computeFingerprint(messageText, "1.0.0");
257218
+ const fingerprint = computeFingerprint(messageText, "1.0.2");
257219
257219
  const attributionHeader = getAttributionHeader(fingerprint);
257220
257220
  const systemBlocks = [
257221
257221
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -266117,7 +266117,7 @@ var init_user = __esm(() => {
266117
266117
  deviceId,
266118
266118
  sessionId: getSessionId(),
266119
266119
  email: getEmail(),
266120
- appVersion: "1.0.0",
266120
+ appVersion: "1.0.2",
266121
266121
  platform: getHostPlatformForAnalytics(),
266122
266122
  organizationUuid,
266123
266123
  accountUuid,
@@ -266511,7 +266511,7 @@ async function initializeBetaTracing(resource) {
266511
266511
  });
266512
266512
  logs.setGlobalLoggerProvider(loggerProvider);
266513
266513
  setLoggerProvider(loggerProvider);
266514
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.0");
266514
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.2");
266515
266515
  setEventLogger(eventLogger);
266516
266516
  process.on("beforeExit", async () => {
266517
266517
  await loggerProvider?.forceFlush();
@@ -266551,7 +266551,7 @@ async function initializeTelemetry() {
266551
266551
  const platform3 = getPlatform();
266552
266552
  const baseAttributes = {
266553
266553
  [ATTR_SERVICE_NAME3]: "claude-code",
266554
- [ATTR_SERVICE_VERSION3]: "1.0.0"
266554
+ [ATTR_SERVICE_VERSION3]: "1.0.2"
266555
266555
  };
266556
266556
  if (platform3 === "wsl") {
266557
266557
  const wslVersion = getWslVersion();
@@ -266596,7 +266596,7 @@ async function initializeTelemetry() {
266596
266596
  } catch {}
266597
266597
  };
266598
266598
  registerCleanup(shutdownTelemetry2);
266599
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.0");
266599
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.2");
266600
266600
  }
266601
266601
  const meterProvider = new MeterProvider3({
266602
266602
  resource,
@@ -266616,7 +266616,7 @@ async function initializeTelemetry() {
266616
266616
  });
266617
266617
  logs.setGlobalLoggerProvider(loggerProvider);
266618
266618
  setLoggerProvider(loggerProvider);
266619
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.0");
266619
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.2");
266620
266620
  setEventLogger(eventLogger);
266621
266621
  logForDebugging("[3P telemetry] Event logger set successfully");
266622
266622
  process.on("beforeExit", async () => {
@@ -266678,7 +266678,7 @@ Current timeout: ${timeoutMs}ms
266678
266678
  }
266679
266679
  };
266680
266680
  registerCleanup(shutdownTelemetry);
266681
- return meterProvider.getMeter("com.anthropic.claude_code", "1.0.0");
266681
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.0.2");
266682
266682
  }
266683
266683
  async function flushTelemetry() {
266684
266684
  const meterProvider = getMeterProvider();
@@ -267490,9 +267490,9 @@ async function assertMinVersion() {
267490
267490
  }
267491
267491
  try {
267492
267492
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
267493
- if (versionConfig.minVersion && lt("1.0.0", versionConfig.minVersion)) {
267493
+ if (versionConfig.minVersion && lt("1.0.2", versionConfig.minVersion)) {
267494
267494
  console.error(`
267495
- It looks like your version of ZeroCLI (${"1.0.0"}) needs an update.
267495
+ It looks like your version of ZeroCLI (${"1.0.2"}) needs an update.
267496
267496
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
267497
267497
 
267498
267498
  To update, please run:
@@ -267708,7 +267708,7 @@ async function installGlobalPackage(specificVersion) {
267708
267708
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
267709
267709
  logEvent("tengu_auto_updater_lock_contention", {
267710
267710
  pid: process.pid,
267711
- currentVersion: "1.0.0"
267711
+ currentVersion: "1.0.2"
267712
267712
  });
267713
267713
  return "in_progress";
267714
267714
  }
@@ -267717,7 +267717,7 @@ async function installGlobalPackage(specificVersion) {
267717
267717
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
267718
267718
  logError2(new Error("Windows NPM detected in WSL environment"));
267719
267719
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
267720
- currentVersion: "1.0.0"
267720
+ currentVersion: "1.0.2"
267721
267721
  });
267722
267722
  console.error(`
267723
267723
  Error: Windows NPM detected in WSL
@@ -268271,7 +268271,7 @@ async function getDoctorDiagnostic() {
268271
268271
  const installationType = await getCurrentInstallationType();
268272
268272
  let version2;
268273
268273
  try {
268274
- version2 = "1.0.0";
268274
+ version2 = "1.0.2";
268275
268275
  } catch {
268276
268276
  version2 = "unknown";
268277
268277
  }
@@ -269765,7 +269765,7 @@ function getInstallationEnv() {
269765
269765
  return;
269766
269766
  }
269767
269767
  function getZeroCodeVersion() {
269768
- return "1.0.0";
269768
+ return "1.0.2";
269769
269769
  }
269770
269770
  async function getInstalledVSCodeExtensionVersion(command) {
269771
269771
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -271132,8 +271132,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271132
271132
  const maxVersion = await getMaxVersion();
271133
271133
  if (maxVersion && gt(version2, maxVersion)) {
271134
271134
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
271135
- if (gte("1.0.0", maxVersion)) {
271136
- logForDebugging(`Native installer: current version ${"1.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
271135
+ if (gte("1.0.2", maxVersion)) {
271136
+ logForDebugging(`Native installer: current version ${"1.0.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
271137
271137
  logEvent("tengu_native_update_skipped_max_version", {
271138
271138
  latency_ms: Date.now() - startTime2,
271139
271139
  max_version: maxVersion,
@@ -271144,7 +271144,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271144
271144
  version2 = maxVersion;
271145
271145
  }
271146
271146
  }
271147
- if (!forceReinstall && version2 === "1.0.0" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271147
+ if (!forceReinstall && version2 === "1.0.2" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271148
271148
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
271149
271149
  logEvent("tengu_native_update_complete", {
271150
271150
  latency_ms: Date.now() - startTime2,
@@ -378044,7 +378044,7 @@ function getAnthropicEnvMetadata() {
378044
378044
  function getBuildAgeMinutes() {
378045
378045
  if (false)
378046
378046
  ;
378047
- const buildTime = new Date("2026-05-21T19:25:54.034Z").getTime();
378047
+ const buildTime = new Date("2026-05-21T19:37:05.476Z").getTime();
378048
378048
  if (isNaN(buildTime))
378049
378049
  return;
378050
378050
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -405527,7 +405527,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
405527
405527
  const client2 = new Client({
405528
405528
  name: "claude-code",
405529
405529
  title: "ZeroCLI",
405530
- version: "1.0.0",
405530
+ version: "1.0.2",
405531
405531
  description: "Anthropic's agentic coding tool",
405532
405532
  websiteUrl: PRODUCT_URL
405533
405533
  }, {
@@ -405879,7 +405879,7 @@ var init_client7 = __esm(() => {
405879
405879
  const client2 = new Client({
405880
405880
  name: "claude-code",
405881
405881
  title: "ZeroCLI",
405882
- version: "1.0.0",
405882
+ version: "1.0.2",
405883
405883
  description: "Anthropic's agentic coding tool",
405884
405884
  websiteUrl: PRODUCT_URL
405885
405885
  }, {
@@ -416614,7 +416614,7 @@ function Feedback({
416614
416614
  platform: env2.platform,
416615
416615
  gitRepo: envInfo.isGit,
416616
416616
  terminal: env2.terminal,
416617
- version: "1.0.0",
416617
+ version: "1.0.2",
416618
416618
  transcript: normalizeMessagesForAPI(messages),
416619
416619
  errors: sanitizedErrors,
416620
416620
  lastApiRequest: getLastAPIRequest(),
@@ -416807,7 +416807,7 @@ function Feedback({
416807
416807
  ", ",
416808
416808
  env2.terminal,
416809
416809
  ", v",
416810
- "1.0.0"
416810
+ "1.0.2"
416811
416811
  ]
416812
416812
  })
416813
416813
  ]
@@ -416915,7 +416915,7 @@ ${sanitizedDescription}
416915
416915
  ` + `**Environment Info**
416916
416916
  ` + `- Platform: ${env2.platform}
416917
416917
  ` + `- Terminal: ${env2.terminal}
416918
- ` + `- Version: ${"1.0.0"}
416918
+ ` + `- Version: ${"1.0.2"}
416919
416919
  ` + feedbackIdLine + `
416920
416920
  **Errors**
416921
416921
  \`\`\`json
@@ -420068,7 +420068,7 @@ function buildPrimarySection() {
420068
420068
  });
420069
420069
  return [{
420070
420070
  label: "Version",
420071
- value: "1.0.1"
420071
+ value: "1.0.2"
420072
420072
  }, {
420073
420073
  label: "Session name",
420074
420074
  value: nameValue
@@ -424838,7 +424838,7 @@ function Config({
424838
424838
  }
424839
424839
  })
424840
424840
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
424841
- currentVersion: "1.0.0",
424841
+ currentVersion: "1.0.2",
424842
424842
  onChoice: (choice) => {
424843
424843
  setShowSubmenu(null);
424844
424844
  setTabsHidden(false);
@@ -424850,7 +424850,7 @@ function Config({
424850
424850
  autoUpdatesChannel: "stable"
424851
424851
  };
424852
424852
  if (choice === "stay") {
424853
- newSettings.minimumVersion = "1.0.0";
424853
+ newSettings.minimumVersion = "1.0.2";
424854
424854
  }
424855
424855
  updateSettingsForSource("userSettings", newSettings);
424856
424856
  setSettingsData((prev_27) => ({
@@ -431791,7 +431791,7 @@ function UpdateScreen({ onDone }) {
431791
431791
  setState({ type: "dev-build" });
431792
431792
  return;
431793
431793
  }
431794
- const currentVersion = "1.0.0";
431794
+ const currentVersion = "1.0.2";
431795
431795
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
431796
431796
  const latestVersion = await getLatestVersion(channel2);
431797
431797
  if (!latestVersion) {
@@ -433902,7 +433902,7 @@ function HelpV2(t0) {
433902
433902
  let t6;
433903
433903
  if ($2[31] !== tabs) {
433904
433904
  t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
433905
- title: `ZeroCLI v${"1.0.0"}`,
433905
+ title: `ZeroCLI v${"1.0.2"}`,
433906
433906
  color: "professionalBlue",
433907
433907
  defaultTab: "general",
433908
433908
  children: tabs
@@ -458746,7 +458746,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
458746
458746
  return [];
458747
458747
  }
458748
458748
  }
458749
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0") {
458749
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.2") {
458750
458750
  if (process.env.USER_TYPE === "ant") {
458751
458751
  const changelog = MACRO.VERSION_CHANGELOG;
458752
458752
  if (changelog) {
@@ -487784,7 +487784,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
487784
487784
  smapsRollup,
487785
487785
  platform: process.platform,
487786
487786
  nodeVersion: process.version,
487787
- ccVersion: "1.0.0"
487787
+ ccVersion: "1.0.2"
487788
487788
  };
487789
487789
  }
487790
487790
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -488371,7 +488371,7 @@ var init_bridge_kick = __esm(() => {
488371
488371
  var call60 = async () => {
488372
488372
  return {
488373
488373
  type: "text",
488374
- value: `${"1.0.0"} (built ${"2026-05-21T19:25:54.034Z"})`
488374
+ value: `${"1.0.2"} (built ${"2026-05-21T19:37:05.476Z"})`
488375
488375
  };
488376
488376
  }, version2, version_default;
488377
488377
  var init_version = __esm(() => {
@@ -498528,7 +498528,7 @@ function generateHtmlReport(data, insights) {
498528
498528
  function buildExportData(data, insights, facets) {
498529
498529
  let version3;
498530
498530
  try {
498531
- version3 = "1.0.0";
498531
+ version3 = "1.0.2";
498532
498532
  } catch {
498533
498533
  version3 = "unknown";
498534
498534
  }
@@ -502724,7 +502724,7 @@ var init_sessionStorage = __esm(() => {
502724
502724
  init_slowOperations();
502725
502725
  init_uuid();
502726
502726
  try {
502727
- VERSION7 = "1.0.0";
502727
+ VERSION7 = "1.0.2";
502728
502728
  } catch {
502729
502729
  VERSION7 = "unknown";
502730
502730
  }
@@ -504045,7 +504045,7 @@ var init_filesystem = __esm(() => {
504045
504045
  });
504046
504046
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
504047
504047
  const nonce = randomBytes17(16).toString("hex");
504048
- return join137(getZeroTempDir(), "bundled-skills", "1.0.0", nonce);
504048
+ return join137(getZeroTempDir(), "bundled-skills", "1.0.2", nonce);
504049
504049
  });
504050
504050
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
504051
504051
  });
@@ -515065,7 +515065,7 @@ function buildSystemInitMessage(inputs) {
515065
515065
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
515066
515066
  apiKeySource: getAnthropicApiKeyWithSource().source,
515067
515067
  betas: getSdkBetas(),
515068
- claude_code_version: "1.0.0",
515068
+ claude_code_version: "1.0.2",
515069
515069
  output_style: outputStyle2,
515070
515070
  agents: inputs.agents.map((agent2) => agent2.agentType),
515071
515071
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -530380,7 +530380,7 @@ var init_useVoiceEnabled = __esm(() => {
530380
530380
  function getSemverPart(version3) {
530381
530381
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
530382
530382
  }
530383
- function useUpdateNotification(updatedVersion, initialVersion = "1.0.0") {
530383
+ function useUpdateNotification(updatedVersion, initialVersion = "1.0.2") {
530384
530384
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
530385
530385
  if (!updatedVersion) {
530386
530386
  return null;
@@ -530423,7 +530423,7 @@ function AutoUpdater({
530423
530423
  return;
530424
530424
  }
530425
530425
  if (false) {}
530426
- const currentVersion = "1.0.0";
530426
+ const currentVersion = "1.0.2";
530427
530427
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
530428
530428
  let latestVersion = await getLatestVersion(channel2);
530429
530429
  const isDisabled = isAutoUpdaterDisabled();
@@ -530644,12 +530644,12 @@ function NativeAutoUpdater({
530644
530644
  logEvent("tengu_native_auto_updater_start", {});
530645
530645
  try {
530646
530646
  const maxVersion = await getMaxVersion();
530647
- if (maxVersion && gt("1.0.0", maxVersion)) {
530647
+ if (maxVersion && gt("1.0.2", maxVersion)) {
530648
530648
  const msg = await getMaxVersionMessage();
530649
530649
  setMaxVersionIssue(msg ?? "affects your version");
530650
530650
  }
530651
530651
  const result = await installLatest(channel2);
530652
- const currentVersion = "1.0.0";
530652
+ const currentVersion = "1.0.2";
530653
530653
  const latencyMs = Date.now() - startTime2;
530654
530654
  if (result.lockFailed) {
530655
530655
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -530791,17 +530791,17 @@ function PackageManagerAutoUpdater(t0) {
530791
530791
  const maxVersion = await getMaxVersion();
530792
530792
  if (maxVersion && latest && gt(latest, maxVersion)) {
530793
530793
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
530794
- if (gte("1.0.0", maxVersion)) {
530795
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
530794
+ if (gte("1.0.2", maxVersion)) {
530795
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
530796
530796
  setUpdateAvailable(false);
530797
530797
  return;
530798
530798
  }
530799
530799
  latest = maxVersion;
530800
530800
  }
530801
- const hasUpdate = latest && !gte("1.0.0", latest) && !shouldSkipVersion(latest);
530801
+ const hasUpdate = latest && !gte("1.0.2", latest) && !shouldSkipVersion(latest);
530802
530802
  setUpdateAvailable(!!hasUpdate);
530803
530803
  if (hasUpdate) {
530804
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.0"} -> ${latest}`);
530804
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.2"} -> ${latest}`);
530805
530805
  }
530806
530806
  };
530807
530807
  $2[0] = t1;
@@ -530835,7 +530835,7 @@ function PackageManagerAutoUpdater(t0) {
530835
530835
  wrap: "truncate",
530836
530836
  children: [
530837
530837
  "currentVersion: ",
530838
- "1.0.0"
530838
+ "1.0.2"
530839
530839
  ]
530840
530840
  });
530841
530841
  $2[3] = verbose;
@@ -539891,7 +539891,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
539891
539891
  project_dir: getOriginalCwd(),
539892
539892
  added_dirs: addedDirs
539893
539893
  },
539894
- version: "1.0.0",
539894
+ version: "1.0.2",
539895
539895
  output_style: {
539896
539896
  name: outputStyleName
539897
539897
  },
@@ -564394,7 +564394,7 @@ function WelcomeV2() {
564394
564394
  dimColor: true,
564395
564395
  children: [
564396
564396
  "v",
564397
- "1.0.1",
564397
+ "1.0.2",
564398
564398
  " "
564399
564399
  ]
564400
564400
  })
@@ -564628,7 +564628,7 @@ function WelcomeV2() {
564628
564628
  dimColor: true,
564629
564629
  children: [
564630
564630
  "v",
564631
- "1.0.1",
564631
+ "1.0.2",
564632
564632
  " "
564633
564633
  ]
564634
564634
  })
@@ -564875,7 +564875,7 @@ function AppleTerminalWelcomeV2(t0) {
564875
564875
  dimColor: true,
564876
564876
  children: [
564877
564877
  "v",
564878
- "1.0.1",
564878
+ "1.0.2",
564879
564879
  " "
564880
564880
  ]
564881
564881
  });
@@ -565148,7 +565148,7 @@ function AppleTerminalWelcomeV2(t0) {
565148
565148
  dimColor: true,
565149
565149
  children: [
565150
565150
  "v",
565151
- "1.0.1",
565151
+ "1.0.2",
565152
565152
  " "
565153
565153
  ]
565154
565154
  });
@@ -566660,7 +566660,7 @@ function completeOnboarding() {
566660
566660
  saveGlobalConfig((current) => ({
566661
566661
  ...current,
566662
566662
  hasCompletedOnboarding: true,
566663
- lastOnboardingVersion: "1.0.0"
566663
+ lastOnboardingVersion: "1.0.2"
566664
566664
  }));
566665
566665
  }
566666
566666
  function showDialog(root2, renderer) {
@@ -570911,7 +570911,7 @@ function appendToLog(path24, message) {
570911
570911
  cwd: getFsImplementation().cwd(),
570912
570912
  userType: process.env.USER_TYPE,
570913
570913
  sessionId: getSessionId(),
570914
- version: "1.0.0"
570914
+ version: "1.0.2"
570915
570915
  };
570916
570916
  getLogWriter(path24).write(messageWithTimestamp);
570917
570917
  }
@@ -571517,7 +571517,7 @@ async function startMCPServer(cwd2, debug, verbose) {
571517
571517
  setCwd(cwd2);
571518
571518
  const server = new Server({
571519
571519
  name: "claude/tengu",
571520
- version: "1.0.0"
571520
+ version: "1.0.2"
571521
571521
  }, {
571522
571522
  capabilities: {
571523
571523
  tools: {}
@@ -576156,8 +576156,8 @@ async function getEnvLessBridgeConfig() {
576156
576156
  }
576157
576157
  async function checkEnvLessBridgeMinVersion() {
576158
576158
  const cfg = await getEnvLessBridgeConfig();
576159
- if (cfg.min_version && lt("1.0.0", cfg.min_version)) {
576160
- return `Your version of ZeroCLI (${"1.0.0"}) is too old for Remote Control.
576159
+ if (cfg.min_version && lt("1.0.2", cfg.min_version)) {
576160
+ return `Your version of ZeroCLI (${"1.0.2"}) is too old for Remote Control.
576161
576161
  Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
576162
576162
  }
576163
576163
  return null;
@@ -576632,7 +576632,7 @@ async function initBridgeCore(params) {
576632
576632
  const rawApi = createBridgeApiClient({
576633
576633
  baseUrl,
576634
576634
  getAccessToken,
576635
- runnerVersion: "1.0.0",
576635
+ runnerVersion: "1.0.2",
576636
576636
  onDebug: logForDebugging,
576637
576637
  onAuth401,
576638
576638
  getTrustedDeviceToken
@@ -582920,7 +582920,7 @@ __export(exports_update2, {
582920
582920
  });
582921
582921
  async function update2() {
582922
582922
  logEvent("tengu_update_check", {});
582923
- writeToStdout(`Current version: ${"1.0.0"}
582923
+ writeToStdout(`Current version: ${"1.0.2"}
582924
582924
  `);
582925
582925
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
582926
582926
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -582995,8 +582995,8 @@ async function update2() {
582995
582995
  writeToStdout(`Zero is managed by Homebrew.
582996
582996
  `);
582997
582997
  const latest = await getLatestVersion(channel2);
582998
- if (latest && !gte("1.0.0", latest)) {
582999
- writeToStdout(`Update available: ${"1.0.0"} → ${latest}
582998
+ if (latest && !gte("1.0.2", latest)) {
582999
+ writeToStdout(`Update available: ${"1.0.2"} → ${latest}
583000
583000
  `);
583001
583001
  writeToStdout(`
583002
583002
  `);
@@ -583012,8 +583012,8 @@ async function update2() {
583012
583012
  writeToStdout(`Zero is managed by winget.
583013
583013
  `);
583014
583014
  const latest = await getLatestVersion(channel2);
583015
- if (latest && !gte("1.0.0", latest)) {
583016
- writeToStdout(`Update available: ${"1.0.0"} → ${latest}
583015
+ if (latest && !gte("1.0.2", latest)) {
583016
+ writeToStdout(`Update available: ${"1.0.2"} → ${latest}
583017
583017
  `);
583018
583018
  writeToStdout(`
583019
583019
  `);
@@ -583029,8 +583029,8 @@ async function update2() {
583029
583029
  writeToStdout(`Zero is managed by apk.
583030
583030
  `);
583031
583031
  const latest = await getLatestVersion(channel2);
583032
- if (latest && !gte("1.0.0", latest)) {
583033
- writeToStdout(`Update available: ${"1.0.0"} → ${latest}
583032
+ if (latest && !gte("1.0.2", latest)) {
583033
+ writeToStdout(`Update available: ${"1.0.2"} → ${latest}
583034
583034
  `);
583035
583035
  writeToStdout(`
583036
583036
  `);
@@ -583095,11 +583095,11 @@ async function update2() {
583095
583095
  `);
583096
583096
  await gracefulShutdown(1);
583097
583097
  }
583098
- if (result.latestVersion === "1.0.0") {
583099
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.0"})`) + `
583098
+ if (result.latestVersion === "1.0.2") {
583099
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.2"})`) + `
583100
583100
  `);
583101
583101
  } else {
583102
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.0"} to version ${result.latestVersion}`) + `
583102
+ writeToStdout(source_default.green(`Successfully updated from ${"1.0.2"} to version ${result.latestVersion}`) + `
583103
583103
  `);
583104
583104
  await regenerateCompletionCache();
583105
583105
  }
@@ -583159,12 +583159,12 @@ async function update2() {
583159
583159
  `);
583160
583160
  await gracefulShutdown(1);
583161
583161
  }
583162
- if (latestVersion === "1.0.0") {
583163
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.0"})`) + `
583162
+ if (latestVersion === "1.0.2") {
583163
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.2"})`) + `
583164
583164
  `);
583165
583165
  await gracefulShutdown(0);
583166
583166
  }
583167
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.0"})
583167
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.2"})
583168
583168
  `);
583169
583169
  writeToStdout(`Installing update...
583170
583170
  `);
@@ -583209,7 +583209,7 @@ async function update2() {
583209
583209
  logForDebugging(`update: Installation status: ${status2}`);
583210
583210
  switch (status2) {
583211
583211
  case "success":
583212
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.0"} to version ${latestVersion}`) + `
583212
+ writeToStdout(source_default.green(`Successfully updated from ${"1.0.2"} to version ${latestVersion}`) + `
583213
583213
  `);
583214
583214
  await regenerateCompletionCache();
583215
583215
  break;
@@ -584510,7 +584510,7 @@ ${customInstructions}` : customInstructions;
584510
584510
  }
584511
584511
  }
584512
584512
  logForDiagnosticsNoPII("info", "started", {
584513
- version: "1.0.0",
584513
+ version: "1.0.2",
584514
584514
  is_native_binary: isInBundledMode()
584515
584515
  });
584516
584516
  registerCleanup(async () => {
@@ -585393,7 +585393,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
585393
585393
  pendingHookMessages
585394
585394
  }, renderAndRun);
585395
585395
  }
585396
- }).version("1.0.1", "-v, --version", "Output the version number");
585396
+ }).version("1.0.2", "-v, --version", "Output the version number");
585397
585397
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
585398
585398
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
585399
585399
  if (canUserConfigureAdvisor()) {
@@ -586059,7 +586059,7 @@ if (false) {}
586059
586059
  async function main2() {
586060
586060
  const args = process.argv.slice(2);
586061
586061
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
586062
- console.log(`${"1.0.1"} (ZeroCLI)`);
586062
+ console.log(`${"1.0.2"} (ZeroCLI)`);
586063
586063
  return;
586064
586064
  }
586065
586065
  if (args.includes("--provider")) {
@@ -586201,4 +586201,4 @@ async function main2() {
586201
586201
  }
586202
586202
  main2();
586203
586203
 
586204
- //# debugId=6DF6B4CA1B9C6B1264756E2164756E21
586204
+ //# debugId=F4C29765E017832B64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duheso/zerocli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Zero CLI to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {