langcli-com 0.1.3 → 0.1.5

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.js +151 -156
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -189425,7 +189425,7 @@ var init_auth2 = __esm(() => {
189425
189425
 
189426
189426
  // src/utils/userAgent.ts
189427
189427
  function getClaudeCodeUserAgent() {
189428
- return `claude-code/${"0.1.3"}`;
189428
+ return `claude-code/${"0.1.5"}`;
189429
189429
  }
189430
189430
 
189431
189431
  // src/utils/workloadContext.ts
@@ -189447,7 +189447,7 @@ function getUserAgent() {
189447
189447
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
189448
189448
  const workload = getWorkload();
189449
189449
  const workloadSuffix = workload ? `, workload/${workload}` : "";
189450
- return `langcli/${"0.1.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
189450
+ return `langcli/${"0.1.5"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
189451
189451
  }
189452
189452
  function getMCPUserAgent() {
189453
189453
  const parts = [];
@@ -189461,7 +189461,7 @@ function getMCPUserAgent() {
189461
189461
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
189462
189462
  }
189463
189463
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
189464
- return `claude-code/${"0.1.3"}${suffix}`;
189464
+ return `claude-code/${"0.1.5"}${suffix}`;
189465
189465
  }
189466
189466
  function getWebFetchUserAgent() {
189467
189467
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -189599,7 +189599,7 @@ var init_user = __esm(() => {
189599
189599
  deviceId,
189600
189600
  sessionId: getSessionId(),
189601
189601
  email: getEmail(),
189602
- appVersion: "0.1.3",
189602
+ appVersion: "0.1.5",
189603
189603
  platform: getHostPlatformForAnalytics(),
189604
189604
  organizationUuid,
189605
189605
  accountUuid,
@@ -197293,7 +197293,7 @@ var init_metadata = __esm(() => {
197293
197293
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
197294
197294
  WHITESPACE_REGEX = /\s+/;
197295
197295
  getVersionBase = memoize_default(() => {
197296
- const match = "0.1.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
197296
+ const match = "0.1.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
197297
197297
  return match ? match[0] : undefined;
197298
197298
  });
197299
197299
  buildEnvContext = memoize_default(async () => {
@@ -197333,9 +197333,9 @@ var init_metadata = __esm(() => {
197333
197333
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
197334
197334
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
197335
197335
  isClaudeAiAuth: isClaudeAISubscriber(),
197336
- version: "0.1.3",
197336
+ version: "0.1.5",
197337
197337
  versionBase: getVersionBase(),
197338
- buildTime: "2026-04-10T09:09:45.867Z",
197338
+ buildTime: "2026-04-12T04:26:02.773Z",
197339
197339
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
197340
197340
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
197341
197341
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -198003,7 +198003,7 @@ function initialize1PEventLogging() {
198003
198003
  const platform4 = getPlatform();
198004
198004
  const attributes = {
198005
198005
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
198006
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.3"
198006
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.5"
198007
198007
  };
198008
198008
  if (platform4 === "wsl") {
198009
198009
  const wslVersion = getWslVersion();
@@ -198030,7 +198030,7 @@ function initialize1PEventLogging() {
198030
198030
  })
198031
198031
  ]
198032
198032
  });
198033
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.3");
198033
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.5");
198034
198034
  }
198035
198035
  async function reinitialize1PEventLoggingIfConfigChanged() {
198036
198036
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -199449,9 +199449,6 @@ function getAutoUpdaterDisabledReason() {
199449
199449
  if (true) {
199450
199450
  return { type: "development" };
199451
199451
  }
199452
- if (!isEnvTruthy(process.env.ENABLE_AUTOUPDATER)) {
199453
- return { type: "config" };
199454
- }
199455
199452
  if (isEnvTruthy(process.env.DISABLE_AUTOUPDATER)) {
199456
199453
  return { type: "env", envVar: "DISABLE_AUTOUPDATER" };
199457
199454
  }
@@ -199973,7 +199970,7 @@ function getAttributionHeader(fingerprint) {
199973
199970
  if (!isAttributionHeaderEnabled()) {
199974
199971
  return "";
199975
199972
  }
199976
- const version6 = `${"0.1.3"}.${fingerprint}`;
199973
+ const version6 = `${"0.1.5"}.${fingerprint}`;
199977
199974
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
199978
199975
  const cch = "";
199979
199976
  const workload = getWorkload();
@@ -383174,7 +383171,7 @@ function getTelemetryAttributes() {
383174
383171
  attributes["session.id"] = sessionId;
383175
383172
  }
383176
383173
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
383177
- attributes["app.version"] = "0.1.3";
383174
+ attributes["app.version"] = "0.1.5";
383178
383175
  }
383179
383176
  const oauthAccount = getOauthAccountInfo();
383180
383177
  if (oauthAccount) {
@@ -406672,7 +406669,7 @@ function getInstallationEnv() {
406672
406669
  return;
406673
406670
  }
406674
406671
  function getClaudeCodeVersion() {
406675
- return "0.1.3";
406672
+ return "0.1.5";
406676
406673
  }
406677
406674
  async function getInstalledVSCodeExtensionVersion(command) {
406678
406675
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -409395,7 +409392,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
409395
409392
  const client5 = new Client({
409396
409393
  name: "claude-code",
409397
409394
  title: "Claude Code",
409398
- version: "0.1.3",
409395
+ version: "0.1.5",
409399
409396
  description: "Anthropic's agentic coding tool",
409400
409397
  websiteUrl: PRODUCT_URL
409401
409398
  }, {
@@ -409750,7 +409747,7 @@ var init_client9 = __esm(() => {
409750
409747
  const client5 = new Client({
409751
409748
  name: "claude-code",
409752
409749
  title: "Claude Code",
409753
- version: "0.1.3",
409750
+ version: "0.1.5",
409754
409751
  description: "Anthropic's agentic coding tool",
409755
409752
  websiteUrl: PRODUCT_URL
409756
409753
  }, {
@@ -448210,7 +448207,7 @@ function initSentry() {
448210
448207
  }
448211
448208
  init3({
448212
448209
  dsn,
448213
- release: typeof MACRO !== "undefined" ? "0.1.3" : undefined,
448210
+ release: typeof MACRO !== "undefined" ? "0.1.5" : undefined,
448214
448211
  environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "development",
448215
448212
  maxBreadcrumbs: 20,
448216
448213
  sampleRate: 1,
@@ -487134,7 +487131,7 @@ async function initializeBetaTracing(resource) {
487134
487131
  });
487135
487132
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
487136
487133
  setLoggerProvider(loggerProvider);
487137
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
487134
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.5");
487138
487135
  setEventLogger(eventLogger);
487139
487136
  process.on("beforeExit", async () => {
487140
487137
  await loggerProvider?.forceFlush();
@@ -487174,7 +487171,7 @@ async function initializeTelemetry() {
487174
487171
  const platform7 = getPlatform();
487175
487172
  const baseAttributes = {
487176
487173
  [import_semantic_conventions11.ATTR_SERVICE_NAME]: "claude-code",
487177
- [import_semantic_conventions11.ATTR_SERVICE_VERSION]: "0.1.3"
487174
+ [import_semantic_conventions11.ATTR_SERVICE_VERSION]: "0.1.5"
487178
487175
  };
487179
487176
  if (platform7 === "wsl") {
487180
487177
  const wslVersion = getWslVersion();
@@ -487219,7 +487216,7 @@ async function initializeTelemetry() {
487219
487216
  } catch {}
487220
487217
  };
487221
487218
  registerCleanup(shutdownTelemetry2);
487222
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.3");
487219
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.5");
487223
487220
  }
487224
487221
  const meterProvider = new import_sdk_metrics2.MeterProvider({
487225
487222
  resource,
@@ -487239,7 +487236,7 @@ async function initializeTelemetry() {
487239
487236
  });
487240
487237
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
487241
487238
  setLoggerProvider(loggerProvider);
487242
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
487239
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.5");
487243
487240
  setEventLogger(eventLogger);
487244
487241
  logForDebugging("[3P telemetry] Event logger set successfully");
487245
487242
  process.on("beforeExit", async () => {
@@ -487301,7 +487298,7 @@ Current timeout: ${timeoutMs}ms
487301
487298
  }
487302
487299
  };
487303
487300
  registerCleanup(shutdownTelemetry);
487304
- return meterProvider.getMeter("com.anthropic.claude_code", "0.1.3");
487301
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.1.5");
487305
487302
  }
487306
487303
  async function flushTelemetry() {
487307
487304
  const meterProvider = getMeterProvider();
@@ -487780,11 +487777,11 @@ function getLocalInstallDir() {
487780
487777
  return join65(getClaudeConfigHomeDir(), "local");
487781
487778
  }
487782
487779
  function getLocalClaudePath() {
487783
- return join65(getLocalInstallDir(), "claude");
487780
+ return join65(getLocalInstallDir(), "langcli");
487784
487781
  }
487785
487782
  function isRunningFromLocalInstallation() {
487786
487783
  const execPath2 = process.argv[1] || "";
487787
- return execPath2.includes("/.claude/local/node_modules/");
487784
+ return execPath2.includes("/.langcli/local/node_modules/");
487788
487785
  }
487789
487786
  async function writeIfMissing(path17, content, mode) {
487790
487787
  try {
@@ -487800,10 +487797,10 @@ async function ensureLocalPackageEnvironment() {
487800
487797
  try {
487801
487798
  const localInstallDir = getLocalInstallDir();
487802
487799
  await getFsImplementation().mkdir(localInstallDir);
487803
- await writeIfMissing(join65(localInstallDir, "package.json"), jsonStringify({ name: "claude-local", version: "0.0.1", private: true }, null, 2));
487804
- const wrapperPath = join65(localInstallDir, "claude");
487800
+ await writeIfMissing(join65(localInstallDir, "package.json"), jsonStringify({ name: "langcli-local", version: "0.0.1", private: true }, null, 2));
487801
+ const wrapperPath = join65(localInstallDir, "langcli");
487805
487802
  const created = await writeIfMissing(wrapperPath, `#!/bin/sh
487806
- exec "${localInstallDir}/node_modules/.bin/claude" "$@"`, 493);
487803
+ exec "${localInstallDir}/node_modules/.bin/langcli" "$@"`, 493);
487807
487804
  if (created) {
487808
487805
  await chmod3(wrapperPath, 493);
487809
487806
  }
@@ -487819,9 +487816,9 @@ async function installOrUpdateClaudePackage(channel3, specificVersion) {
487819
487816
  return "install_failed";
487820
487817
  }
487821
487818
  const versionSpec = specificVersion ? specificVersion : channel3 === "stable" ? "stable" : "latest";
487822
- const result = await execFileNoThrowWithCwd("npm", ["install", `${""}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
487819
+ const result = await execFileNoThrowWithCwd("npm", ["install", `${"langcli-com"}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
487823
487820
  if (result.code !== 0) {
487824
- const error53 = new Error(`Failed to install Claude CLI package: ${result.stderr}`);
487821
+ const error53 = new Error(`Failed to install langcli package: ${result.stderr}`);
487825
487822
  logError2(error53);
487826
487823
  return result.code === 190 ? "in_progress" : "install_failed";
487827
487824
  }
@@ -487837,7 +487834,7 @@ async function installOrUpdateClaudePackage(channel3, specificVersion) {
487837
487834
  }
487838
487835
  async function localInstallationExists() {
487839
487836
  try {
487840
- await access(join65(getLocalInstallDir(), "node_modules", ".bin", "claude"));
487837
+ await access(join65(getLocalInstallDir(), "node_modules", ".bin", "langcli"));
487841
487838
  return true;
487842
487839
  } catch {
487843
487840
  return false;
@@ -487881,9 +487878,9 @@ function filterClaudeAliases(lines2) {
487881
487878
  let hadAlias = false;
487882
487879
  const filtered = lines2.filter((line) => {
487883
487880
  if (CLAUDE_ALIAS_REGEX.test(line)) {
487884
- let match = line.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);
487881
+ let match = line.match(/alias\s+langcli\s*=\s*["']([^"']+)["']/);
487885
487882
  if (!match) {
487886
- match = line.match(/alias\s+claude\s*=\s*([^#\n]+)/);
487883
+ match = line.match(/alias\s+langcli\s*=\s*([^#\n]+)/);
487887
487884
  }
487888
487885
  if (match && match[1]) {
487889
487886
  const target = match[1].trim();
@@ -487926,7 +487923,7 @@ async function findClaudeAlias(options) {
487926
487923
  continue;
487927
487924
  for (const line of lines2) {
487928
487925
  if (CLAUDE_ALIAS_REGEX.test(line)) {
487929
- const match = line.match(/alias\s+claude=["']?([^"'\s]+)/);
487926
+ const match = line.match(/alias\s+langcli=["']?([^"'\s]+)/);
487930
487927
  if (match && match[1]) {
487931
487928
  return match[1];
487932
487929
  }
@@ -487953,7 +487950,7 @@ var CLAUDE_ALIAS_REGEX;
487953
487950
  var init_shellConfig = __esm(() => {
487954
487951
  init_errors();
487955
487952
  init_localInstaller();
487956
- CLAUDE_ALIAS_REGEX = /^\s*alias\s+claude\s*=/;
487953
+ CLAUDE_ALIAS_REGEX = /^\s*alias\s+langcli\s*=/;
487957
487954
  });
487958
487955
 
487959
487956
  // src/utils/autoUpdater.ts
@@ -487965,13 +487962,13 @@ async function assertMinVersion() {
487965
487962
  if (false) {}
487966
487963
  try {
487967
487964
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
487968
- if (versionConfig.minVersion && lt("0.1.3", versionConfig.minVersion)) {
487965
+ if (versionConfig.minVersion && lt("0.1.5", versionConfig.minVersion)) {
487969
487966
  console.error(`
487970
- It looks like your version of Claude Code (${"0.1.3"}) needs an update.
487967
+ It looks like your version of langcli(${"0.1.5"}) needs an update.
487971
487968
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
487972
487969
 
487973
487970
  To update, please run:
487974
- claude update
487971
+ langcli update
487975
487972
 
487976
487973
  This will ensure you have access to the latest features and improvements.
487977
487974
  `);
@@ -488127,7 +488124,7 @@ async function checkGlobalInstallPermissions() {
488127
488124
  }
488128
488125
  async function getLatestVersion(channel3) {
488129
488126
  const npmTag = channel3 === "stable" ? "stable" : "latest";
488130
- const result = await execFileNoThrowWithCwd("npm", ["view", `${""}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir20() });
488127
+ const result = await execFileNoThrowWithCwd("npm", ["view", `${"langcli-com"}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir20() });
488131
488128
  if (result.code !== 0) {
488132
488129
  logForDebugging(`npm view failed with code ${result.code}`);
488133
488130
  if (result.stderr) {
@@ -488143,7 +488140,7 @@ async function getLatestVersion(channel3) {
488143
488140
  return result.stdout.trim();
488144
488141
  }
488145
488142
  async function getNpmDistTags() {
488146
- const result = await execFileNoThrowWithCwd("npm", ["view", "", "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir20() });
488143
+ const result = await execFileNoThrowWithCwd("npm", ["view", "langcli-com", "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir20() });
488147
488144
  if (result.code !== 0) {
488148
488145
  logForDebugging(`npm view dist-tags failed with code ${result.code}`);
488149
488146
  return { latest: null, stable: null };
@@ -488183,7 +488180,7 @@ async function installGlobalPackage(specificVersion) {
488183
488180
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
488184
488181
  logEvent("tengu_auto_updater_lock_contention", {
488185
488182
  pid: process.pid,
488186
- currentVersion: "0.1.3"
488183
+ currentVersion: "0.1.5"
488187
488184
  });
488188
488185
  return "in_progress";
488189
488186
  }
@@ -488192,18 +488189,18 @@ async function installGlobalPackage(specificVersion) {
488192
488189
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
488193
488190
  logError2(new Error("Windows NPM detected in WSL environment"));
488194
488191
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
488195
- currentVersion: "0.1.3"
488192
+ currentVersion: "0.1.5"
488196
488193
  });
488197
488194
  console.error(`
488198
488195
  Error: Windows NPM detected in WSL
488199
488196
 
488200
- You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
488197
+ You're running langcli in WSL but using the Windows NPM installation from /mnt/c/.
488201
488198
  This configuration is not supported for updates.
488202
488199
 
488203
488200
  To fix this issue:
488204
488201
  1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
488205
488202
  2. Make sure Linux NPM is in your PATH before the Windows version
488206
- 3. Try updating again with 'claude update'
488203
+ 3. Try updating again with 'langcli update'
488207
488204
  `);
488208
488205
  return "install_failed";
488209
488206
  }
@@ -488211,11 +488208,11 @@ To fix this issue:
488211
488208
  if (!hasPermissions) {
488212
488209
  return "no_permissions";
488213
488210
  }
488214
- const packageSpec = specificVersion ? `${""}@${specificVersion}` : "";
488211
+ const packageSpec = specificVersion ? `${"langcli-com"}@${specificVersion}` : "langcli-com";
488215
488212
  const packageManager = env4.isRunningWithBun() ? "bun" : "npm";
488216
488213
  const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir20() });
488217
488214
  if (installResult.code !== 0) {
488218
- const error53 = new AutoUpdaterError(`Failed to install new version of claude: ${installResult.stdout} ${installResult.stderr}`);
488215
+ const error53 = new AutoUpdaterError(`Failed to install new version of langcli: ${installResult.stdout} ${installResult.stderr}`);
488219
488216
  logError2(error53);
488220
488217
  return "install_failed";
488221
488218
  }
@@ -488238,7 +488235,7 @@ async function removeClaudeAliasesFromShellConfigs() {
488238
488235
  const { filtered, hadAlias } = filterClaudeAliases(lines2);
488239
488236
  if (hadAlias) {
488240
488237
  await writeFileLines(configFile, filtered);
488241
- logForDebugging(`Removed claude alias from ${configFile}`);
488238
+ logForDebugging(`Removed langcli alias from ${configFile}`);
488242
488239
  }
488243
488240
  } catch (error53) {
488244
488241
  logForDebugging(`Failed to remove alias from ${configFile}: ${error53}`, {
@@ -488508,14 +488505,14 @@ async function getInstallationPath() {
488508
488505
  return await realpath6(process.execPath);
488509
488506
  } catch {}
488510
488507
  try {
488511
- const path17 = await which("claude");
488508
+ const path17 = await which("langcli");
488512
488509
  if (path17) {
488513
488510
  return path17;
488514
488511
  }
488515
488512
  } catch {}
488516
488513
  try {
488517
- await getFsImplementation().stat(join68(homedir21(), ".local/bin/claude"));
488518
- return join68(homedir21(), ".local/bin/claude");
488514
+ await getFsImplementation().stat(join68(homedir21(), ".local/bin/langcli"));
488515
+ return join68(homedir21(), ".local/bin/langcli");
488519
488516
  } catch {}
488520
488517
  return "native";
488521
488518
  }
@@ -488538,12 +488535,12 @@ function getInvokedBinary() {
488538
488535
  async function detectMultipleInstallations() {
488539
488536
  const fs15 = getFsImplementation();
488540
488537
  const installations = [];
488541
- const localPath = join68(homedir21(), ".claude", "local");
488538
+ const localPath = join68(homedir21(), ".langcli", "local");
488542
488539
  if (await localInstallationExists()) {
488543
488540
  installations.push({ type: "npm-local", path: localPath });
488544
488541
  }
488545
- const packagesToCheck = ["@anthropic-ai/claude-code"];
488546
- if ("") {}
488542
+ const packagesToCheck = ["langcli-com"];
488543
+ if (false) {}
488547
488544
  const npmResult = await execFileNoThrow("npm", [
488548
488545
  "-g",
488549
488546
  "config",
@@ -488553,7 +488550,7 @@ async function detectMultipleInstallations() {
488553
488550
  if (npmResult.code === 0 && npmResult.stdout) {
488554
488551
  const npmPrefix = npmResult.stdout.trim();
488555
488552
  const isWindows3 = getPlatform() === "windows";
488556
- const globalBinPath = isWindows3 ? join68(npmPrefix, "claude") : join68(npmPrefix, "bin", "claude");
488553
+ const globalBinPath = isWindows3 ? join68(npmPrefix, "langcli") : join68(npmPrefix, "bin", "langcli");
488557
488554
  let globalBinExists = false;
488558
488555
  try {
488559
488556
  await fs15.stat(globalBinPath);
@@ -488583,14 +488580,14 @@ async function detectMultipleInstallations() {
488583
488580
  }
488584
488581
  }
488585
488582
  }
488586
- const nativeBinPath = join68(homedir21(), ".local", "bin", "claude");
488583
+ const nativeBinPath = join68(homedir21(), ".local", "bin", "langcli");
488587
488584
  try {
488588
488585
  await fs15.stat(nativeBinPath);
488589
488586
  installations.push({ type: "native", path: nativeBinPath });
488590
488587
  } catch {}
488591
488588
  const config6 = getGlobalConfig();
488592
488589
  if (config6.installMethod === "native") {
488593
- const nativeDataPath = join68(homedir21(), ".local", "share", "claude");
488590
+ const nativeDataPath = join68(homedir21(), ".local", "share", "langcli");
488594
488591
  try {
488595
488592
  await fs15.stat(nativeDataPath);
488596
488593
  if (!installations.some((i4) => i4.type === "native")) {
@@ -488669,37 +488666,37 @@ async function detectConfigurationIssues(type) {
488669
488666
  if (type === "npm-local" && config6.installMethod !== "local") {
488670
488667
  warnings.push({
488671
488668
  issue: `Running from local installation but config install method is '${config6.installMethod}'`,
488672
- fix: "Consider using native installation: claude install"
488669
+ fix: "Consider using native installation: langcli install"
488673
488670
  });
488674
488671
  }
488675
488672
  if (type === "native" && config6.installMethod !== "native") {
488676
488673
  warnings.push({
488677
488674
  issue: `Running native installation but config install method is '${config6.installMethod}'`,
488678
- fix: "Run claude install to update configuration"
488675
+ fix: "Run langcli install to update configuration"
488679
488676
  });
488680
488677
  }
488681
488678
  }
488682
488679
  if (type === "npm-global" && await localInstallationExists()) {
488683
488680
  warnings.push({
488684
488681
  issue: "Local installation exists but not being used",
488685
- fix: "Consider using native installation: claude install"
488682
+ fix: "Consider using native installation: langcli install"
488686
488683
  });
488687
488684
  }
488688
488685
  const existingAlias = await findClaudeAlias();
488689
488686
  const validAlias = await findValidClaudeAlias();
488690
488687
  if (type === "npm-local") {
488691
- const whichResult = await which("claude");
488688
+ const whichResult = await which("langcli");
488692
488689
  const claudeInPath = !!whichResult;
488693
488690
  if (!claudeInPath && !validAlias) {
488694
488691
  if (existingAlias) {
488695
488692
  warnings.push({
488696
488693
  issue: "Local installation not accessible",
488697
- fix: `Alias exists but points to invalid target: ${existingAlias}. Update alias: alias claude="~/.claude/local/claude"`
488694
+ fix: `Alias exists but points to invalid target: ${existingAlias}. Update alias: alias langcli="~/.langcli/local/langcli"`
488698
488695
  });
488699
488696
  } else {
488700
488697
  warnings.push({
488701
488698
  issue: "Local installation not accessible",
488702
- fix: 'Create alias: alias claude="~/.claude/local/claude"'
488699
+ fix: 'Create alias: alias langcli="~/.langcli/local/langcli"'
488703
488700
  });
488704
488701
  }
488705
488702
  }
@@ -488725,7 +488722,7 @@ function detectLinuxGlobPatternWarnings() {
488725
488722
  }
488726
488723
  async function getDoctorDiagnostic() {
488727
488724
  const installationType = await getCurrentInstallationType();
488728
- const version6 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
488725
+ const version6 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
488729
488726
  const installationPath = await getInstallationPath();
488730
488727
  const invokedBinary = getInvokedBinary();
488731
488728
  const multipleInstallations = await detectMultipleInstallations();
@@ -488736,8 +488733,8 @@ async function getDoctorDiagnostic() {
488736
488733
  const isWindows3 = getPlatform() === "windows";
488737
488734
  for (const install of npmInstalls) {
488738
488735
  if (install.type === "npm-global") {
488739
- let uninstallCmd = "npm -g uninstall @anthropic-ai/claude-code";
488740
- if ("") {}
488736
+ let uninstallCmd = "npm -g uninstall langcli-com";
488737
+ if (false) {}
488741
488738
  warnings.push({
488742
488739
  issue: `Leftover npm global installation at ${install.path}`,
488743
488740
  fix: `Run: ${uninstallCmd}`
@@ -488764,7 +488761,7 @@ async function getDoctorDiagnostic() {
488764
488761
  if (!hasUpdatePermissions && !getAutoUpdaterDisabledReason()) {
488765
488762
  warnings.push({
488766
488763
  issue: "Insufficient permissions for auto-updates",
488767
- fix: "Do one of: (1) Re-install node without sudo, or (2) Use `claude install` for native installation"
488764
+ fix: "Do one of: (1) Re-install node without sudo, or (2) Use `langcli install` for native installation"
488768
488765
  });
488769
488766
  }
488770
488767
  }
@@ -489658,8 +489655,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
489658
489655
  const maxVersion = await getMaxVersion();
489659
489656
  if (maxVersion && gt(version6, maxVersion)) {
489660
489657
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
489661
- if (gte("0.1.3", maxVersion)) {
489662
- logForDebugging(`Native installer: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
489658
+ if (gte("0.1.5", maxVersion)) {
489659
+ logForDebugging(`Native installer: current version ${"0.1.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
489663
489660
  logEvent("tengu_native_update_skipped_max_version", {
489664
489661
  latency_ms: Date.now() - startTime,
489665
489662
  max_version: maxVersion,
@@ -489670,7 +489667,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
489670
489667
  version6 = maxVersion;
489671
489668
  }
489672
489669
  }
489673
- if (!forceReinstall && version6 === "0.1.3" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
489670
+ if (!forceReinstall && version6 === "0.1.5" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
489674
489671
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
489675
489672
  logEvent("tengu_native_update_complete", {
489676
489673
  latency_ms: Date.now() - startTime,
@@ -490403,7 +490400,7 @@ async function cleanupNpmInstallations() {
490403
490400
  const errors5 = [];
490404
490401
  const warnings = [];
490405
490402
  let removed = 0;
490406
- const codePackageResult = await attemptNpmUninstall("@anthropic-ai/claude-code");
490403
+ const codePackageResult = await attemptNpmUninstall("langcli-com");
490407
490404
  if (codePackageResult.success) {
490408
490405
  removed++;
490409
490406
  if (codePackageResult.warning) {
@@ -490412,7 +490409,7 @@ async function cleanupNpmInstallations() {
490412
490409
  } else if (codePackageResult.error) {
490413
490410
  errors5.push(codePackageResult.error);
490414
490411
  }
490415
- if ("") {}
490412
+ if (false) {}
490416
490413
  const localInstallDir = join72(homedir22(), ".claude", "local");
490417
490414
  try {
490418
490415
  await rm5(localInstallDir, { recursive: true });
@@ -579526,7 +579523,7 @@ function getAnthropicEnvMetadata() {
579526
579523
  function getBuildAgeMinutes() {
579527
579524
  if (false)
579528
579525
  ;
579529
- const buildTime = new Date("2026-04-10T09:09:45.867Z").getTime();
579526
+ const buildTime = new Date("2026-04-12T04:26:02.773Z").getTime();
579530
579527
  if (isNaN(buildTime))
579531
579528
  return;
579532
579529
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -602620,7 +602617,7 @@ function Feedback({
602620
602617
  platform: env4.platform,
602621
602618
  gitRepo: envInfo.isGit,
602622
602619
  terminal: env4.terminal,
602623
- version: "0.1.3",
602620
+ version: "0.1.5",
602624
602621
  transcript: normalizeMessagesForAPI(messages),
602625
602622
  errors: sanitizedErrors,
602626
602623
  lastApiRequest: getLastAPIRequest(),
@@ -602805,7 +602802,7 @@ function Feedback({
602805
602802
  ", ",
602806
602803
  env4.terminal,
602807
602804
  ", v",
602808
- "0.1.3"
602805
+ "0.1.5"
602809
602806
  ]
602810
602807
  }, undefined, true, undefined, this)
602811
602808
  ]
@@ -602911,7 +602908,7 @@ ${sanitizedDescription}
602911
602908
  ` + `**Environment Info**
602912
602909
  ` + `- Platform: ${env4.platform}
602913
602910
  ` + `- Terminal: ${env4.terminal}
602914
- ` + `- Version: ${"0.1.3"}
602911
+ ` + `- Version: ${"0.1.5"}
602915
602912
  ` + `- Feedback ID: ${feedbackId}
602916
602913
  ` + `
602917
602914
  **Errors**
@@ -605645,7 +605642,7 @@ function buildPrimarySection() {
605645
605642
  children: "/rename to add a name"
605646
605643
  }, undefined, false, undefined, this);
605647
605644
  return [
605648
- { label: "Version", value: "0.1.3" },
605645
+ { label: "Version", value: "0.1.5" },
605649
605646
  { label: "Session name", value: nameValue },
605650
605647
  { label: "Session ID", value: sessionId },
605651
605648
  { label: "cwd", value: getCwd() },
@@ -608403,7 +608400,7 @@ function Config({
608403
608400
  }
608404
608401
  }, undefined, false, undefined, this)
608405
608402
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime175.jsxDEV(ChannelDowngradeDialog, {
608406
- currentVersion: "0.1.3",
608403
+ currentVersion: "0.1.5",
608407
608404
  onChoice: (choice) => {
608408
608405
  setShowSubmenu(null);
608409
608406
  setTabsHidden(false);
@@ -608415,7 +608412,7 @@ function Config({
608415
608412
  autoUpdatesChannel: "stable"
608416
608413
  };
608417
608414
  if (choice === "stay") {
608418
- newSettings.minimumVersion = "0.1.3";
608415
+ newSettings.minimumVersion = "0.1.5";
608419
608416
  }
608420
608417
  updateSettingsForSource("userSettings", newSettings);
608421
608418
  setSettingsData((prev) => ({
@@ -613843,7 +613840,7 @@ function HelpV2({ onClose, commands }) {
613843
613840
  color: "professionalBlue",
613844
613841
  children: [
613845
613842
  /* @__PURE__ */ jsx_dev_runtime202.jsxDEV(Tabs, {
613846
- title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"0.1.3"}`,
613843
+ title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"0.1.5"}`,
613847
613844
  color: "professionalBlue",
613848
613845
  defaultTab: "general",
613849
613846
  children: tabs
@@ -633901,7 +633898,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
633901
633898
  return [];
633902
633899
  }
633903
633900
  }
633904
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.3") {
633901
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.5") {
633905
633902
  if (process.env.USER_TYPE === "ant") {
633906
633903
  const changelog = "";
633907
633904
  if (changelog) {
@@ -633928,7 +633925,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.3") {
633928
633925
  releaseNotes
633929
633926
  };
633930
633927
  }
633931
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.3") {
633928
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.5") {
633932
633929
  if (process.env.USER_TYPE === "ant") {
633933
633930
  const changelog = "";
633934
633931
  if (changelog) {
@@ -637011,7 +637008,7 @@ function getRecentActivitySync() {
637011
637008
  return cachedActivity;
637012
637009
  }
637013
637010
  function getLogoDisplayData() {
637014
- const version6 = process.env.DEMO_VERSION ?? "0.1.3";
637011
+ const version6 = process.env.DEMO_VERSION ?? "0.1.5";
637015
637012
  const serverUrl = getDirectConnectServerUrl();
637016
637013
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
637017
637014
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -638019,13 +638016,13 @@ function LogoV2() {
638019
638016
  const { hasReleaseNotes } = checkForReleaseNotesSync(config7.lastReleaseNotesSeen);
638020
638017
  import_react161.useEffect(() => {
638021
638018
  const currentConfig = getGlobalConfig();
638022
- if (currentConfig.lastReleaseNotesSeen === "0.1.3") {
638019
+ if (currentConfig.lastReleaseNotesSeen === "0.1.5") {
638023
638020
  return;
638024
638021
  }
638025
638022
  saveGlobalConfig((current) => {
638026
- if (current.lastReleaseNotesSeen === "0.1.3")
638023
+ if (current.lastReleaseNotesSeen === "0.1.5")
638027
638024
  return current;
638028
- return { ...current, lastReleaseNotesSeen: "0.1.3" };
638025
+ return { ...current, lastReleaseNotesSeen: "0.1.5" };
638029
638026
  });
638030
638027
  if (showOnboarding) {
638031
638028
  incrementProjectOnboardingSeenCount();
@@ -655055,7 +655052,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
655055
655052
  smapsRollup,
655056
655053
  platform: process.platform,
655057
655054
  nodeVersion: process.version,
655058
- ccVersion: "0.1.3"
655055
+ ccVersion: "0.1.5"
655059
655056
  };
655060
655057
  }
655061
655058
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -655641,7 +655638,7 @@ var init_bridge_kick = __esm(() => {
655641
655638
  var call53 = async () => {
655642
655639
  return {
655643
655640
  type: "text",
655644
- value: `${"0.1.3"} (built ${"2026-04-10T09:09:45.867Z"})`
655641
+ value: `${"0.1.5"} (built ${"2026-04-12T04:26:02.773Z"})`
655645
655642
  };
655646
655643
  }, version6, version_default;
655647
655644
  var init_version2 = __esm(() => {
@@ -662989,7 +662986,7 @@ function generateHtmlReport(data, insights) {
662989
662986
  </html>`;
662990
662987
  }
662991
662988
  function buildExportData(data, insights, facets, remoteStats) {
662992
- const version7 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
662989
+ const version7 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
662993
662990
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
662994
662991
  const facets_summary = {
662995
662992
  total: facets.size,
@@ -667092,7 +667089,7 @@ var init_sessionStorage = __esm(() => {
667092
667089
  init_settings2();
667093
667090
  init_slowOperations();
667094
667091
  init_uuid();
667095
- VERSION6 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
667092
+ VERSION6 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
667096
667093
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
667097
667094
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
667098
667095
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -668298,7 +668295,7 @@ var init_filesystem = __esm(() => {
668298
668295
  });
668299
668296
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
668300
668297
  const nonce = randomBytes19(16).toString("hex");
668301
- return join142(getClaudeTempDir(), "bundled-skills", "0.1.3", nonce);
668298
+ return join142(getClaudeTempDir(), "bundled-skills", "0.1.5", nonce);
668302
668299
  });
668303
668300
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
668304
668301
  });
@@ -674328,7 +674325,7 @@ function computeFingerprint(messageText, version7) {
674328
674325
  }
674329
674326
  function computeFingerprintFromMessages(messages) {
674330
674327
  const firstMessageText = extractFirstMessageText(messages);
674331
- return computeFingerprint(firstMessageText, "0.1.3");
674328
+ return computeFingerprint(firstMessageText, "0.1.5");
674332
674329
  }
674333
674330
  var FINGERPRINT_SALT = "59cf53e54c78";
674334
674331
  var init_fingerprint = () => {};
@@ -683254,7 +683251,7 @@ async function sideQuery(opts) {
683254
683251
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
683255
683252
  }
683256
683253
  const messageText = extractFirstUserMessageText(messages);
683257
- const fingerprint = computeFingerprint(messageText, "0.1.3");
683254
+ const fingerprint = computeFingerprint(messageText, "0.1.5");
683258
683255
  const attributionHeader = getAttributionHeader(fingerprint);
683259
683256
  const systemBlocks = [
683260
683257
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -687827,7 +687824,7 @@ function buildSystemInitMessage(inputs) {
687827
687824
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
687828
687825
  apiKeySource: getAnthropicApiKeyWithSource().source,
687829
687826
  betas: getSdkBetas(),
687830
- claude_code_version: "0.1.3",
687827
+ claude_code_version: "0.1.5",
687831
687828
  output_style: outputStyle2,
687832
687829
  agents: inputs.agents.map((agent) => agent.agentType),
687833
687830
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -698995,7 +698992,7 @@ var init_useVoiceEnabled = __esm(() => {
698995
698992
  function getSemverPart(version7) {
698996
698993
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
698997
698994
  }
698998
- function useUpdateNotification(updatedVersion, initialVersion = "0.1.3") {
698995
+ function useUpdateNotification(updatedVersion, initialVersion = "0.1.5") {
698999
698996
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react250.useState(() => getSemverPart(initialVersion));
699000
698997
  if (!updatedVersion) {
699001
698998
  return null;
@@ -699035,7 +699032,7 @@ function AutoUpdater({
699035
699032
  return;
699036
699033
  }
699037
699034
  if (false) {}
699038
- const currentVersion = "0.1.3";
699035
+ const currentVersion = "0.1.5";
699039
699036
  const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
699040
699037
  let latestVersion = await getLatestVersion(channel3);
699041
699038
  const isDisabled = isAutoUpdaterDisabled();
@@ -699159,13 +699156,13 @@ function AutoUpdater({
699159
699156
  "✗ Auto-update failed · Try ",
699160
699157
  /* @__PURE__ */ jsx_dev_runtime403.jsxDEV(ThemedText, {
699161
699158
  bold: true,
699162
- children: "claude doctor"
699159
+ children: "langcli doctor"
699163
699160
  }, undefined, false, undefined, this),
699164
699161
  " or",
699165
699162
  " ",
699166
699163
  /* @__PURE__ */ jsx_dev_runtime403.jsxDEV(ThemedText, {
699167
699164
  bold: true,
699168
- children: hasLocalInstall ? `cd ~/.claude/local && npm update ${""}` : `npm i -g ${""}`
699165
+ children: hasLocalInstall ? `cd ~/.langcli/local && npm update ${"langcli-com"}` : `npm i -g ${"langcli-com"}`
699169
699166
  }, undefined, false, undefined, this)
699170
699167
  ]
699171
699168
  }, undefined, true, undefined, this)
@@ -699242,12 +699239,12 @@ function NativeAutoUpdater({
699242
699239
  logEvent("tengu_native_auto_updater_start", {});
699243
699240
  try {
699244
699241
  const maxVersion = await getMaxVersion();
699245
- if (maxVersion && gt("0.1.3", maxVersion)) {
699242
+ if (maxVersion && gt("0.1.5", maxVersion)) {
699246
699243
  const msg = await getMaxVersionMessage();
699247
699244
  setMaxVersionIssue(msg ?? "affects your version");
699248
699245
  }
699249
699246
  const result = await installLatest(channel3);
699250
- const currentVersion = "0.1.3";
699247
+ const currentVersion = "0.1.5";
699251
699248
  const latencyMs = Date.now() - startTime;
699252
699249
  if (result.lockFailed) {
699253
699250
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -699392,17 +699389,17 @@ function PackageManagerAutoUpdater({ verbose }) {
699392
699389
  const maxVersion = await getMaxVersion();
699393
699390
  if (maxVersion && latest && gt(latest, maxVersion)) {
699394
699391
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
699395
- if (gte("0.1.3", maxVersion)) {
699396
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
699392
+ if (gte("0.1.5", maxVersion)) {
699393
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
699397
699394
  setUpdateAvailable(false);
699398
699395
  return;
699399
699396
  }
699400
699397
  latest = maxVersion;
699401
699398
  }
699402
- const hasUpdate = latest && !gte("0.1.3", latest) && !shouldSkipVersion(latest);
699399
+ const hasUpdate = latest && !gte("0.1.5", latest) && !shouldSkipVersion(latest);
699403
699400
  setUpdateAvailable(!!hasUpdate);
699404
699401
  if (hasUpdate) {
699405
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.3"} -> ${latest}`);
699402
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.5"} -> ${latest}`);
699406
699403
  }
699407
699404
  }, []);
699408
699405
  React152.useEffect(() => {
@@ -699420,7 +699417,7 @@ function PackageManagerAutoUpdater({ verbose }) {
699420
699417
  wrap: "truncate",
699421
699418
  children: [
699422
699419
  "currentVersion: ",
699423
- "0.1.3"
699420
+ "0.1.5"
699424
699421
  ]
699425
699422
  }, undefined, true, undefined, this),
699426
699423
  /* @__PURE__ */ jsx_dev_runtime405.jsxDEV(ThemedText, {
@@ -704781,7 +704778,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
704781
704778
  project_dir: getOriginalCwd(),
704782
704779
  added_dirs: addedDirs
704783
704780
  },
704784
- version: "0.1.3",
704781
+ version: "0.1.5",
704785
704782
  output_style: {
704786
704783
  name: outputStyleName
704787
704784
  },
@@ -723694,7 +723691,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
723694
723691
  } catch {}
723695
723692
  const data = {
723696
723693
  trigger,
723697
- version: "0.1.3",
723694
+ version: "0.1.5",
723698
723695
  platform: process.platform,
723699
723696
  transcript,
723700
723697
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -734216,7 +734213,7 @@ function WelcomeV2() {
734216
734213
  dimColor: true,
734217
734214
  children: [
734218
734215
  "v",
734219
- "0.1.3",
734216
+ "0.1.5",
734220
734217
  " "
734221
734218
  ]
734222
734219
  }, undefined, true, undefined, this)
@@ -734333,7 +734330,7 @@ function WelcomeV2() {
734333
734330
  dimColor: true,
734334
734331
  children: [
734335
734332
  "v",
734336
- "0.1.3",
734333
+ "0.1.5",
734337
734334
  " "
734338
734335
  ]
734339
734336
  }, undefined, true, undefined, this)
@@ -734469,7 +734466,7 @@ function AppleTerminalWelcomeV2({
734469
734466
  dimColor: true,
734470
734467
  children: [
734471
734468
  "v",
734472
- "0.1.3",
734469
+ "0.1.5",
734473
734470
  " "
734474
734471
  ]
734475
734472
  }, undefined, true, undefined, this)
@@ -734614,7 +734611,7 @@ function AppleTerminalWelcomeV2({
734614
734611
  dimColor: true,
734615
734612
  children: [
734616
734613
  "v",
734617
- "0.1.3",
734614
+ "0.1.5",
734618
734615
  " "
734619
734616
  ]
734620
734617
  }, undefined, true, undefined, this)
@@ -735586,7 +735583,7 @@ function completeOnboarding() {
735586
735583
  saveGlobalConfig((current) => ({
735587
735584
  ...current,
735588
735585
  hasCompletedOnboarding: true,
735589
- lastOnboardingVersion: "0.1.3"
735586
+ lastOnboardingVersion: "0.1.5"
735590
735587
  }));
735591
735588
  }
735592
735589
  function showDialog(root2, renderer) {
@@ -739864,7 +739861,7 @@ function appendToLog(path29, message) {
739864
739861
  cwd: getFsImplementation().cwd(),
739865
739862
  userType: process.env.USER_TYPE,
739866
739863
  sessionId: getSessionId(),
739867
- version: "0.1.3"
739864
+ version: "0.1.5"
739868
739865
  };
739869
739866
  getLogWriter(path29).write(messageWithTimestamp);
739870
739867
  }
@@ -744310,8 +744307,8 @@ async function getEnvLessBridgeConfig() {
744310
744307
  }
744311
744308
  async function checkEnvLessBridgeMinVersion() {
744312
744309
  const cfg = await getEnvLessBridgeConfig();
744313
- if (cfg.min_version && lt("0.1.3", cfg.min_version)) {
744314
- return `Your version of Claude Code (${"0.1.3"}) is too old for Remote Control.
744310
+ if (cfg.min_version && lt("0.1.5", cfg.min_version)) {
744311
+ return `Your version of Claude Code (${"0.1.5"}) is too old for Remote Control.
744315
744312
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
744316
744313
  }
744317
744314
  return null;
@@ -744785,7 +744782,7 @@ async function initBridgeCore(params) {
744785
744782
  const rawApi = createBridgeApiClient({
744786
744783
  baseUrl,
744787
744784
  getAccessToken,
744788
- runnerVersion: "0.1.3",
744785
+ runnerVersion: "0.1.5",
744789
744786
  onDebug: logForDebugging,
744790
744787
  onAuth401,
744791
744788
  getTrustedDeviceToken
@@ -749874,7 +749871,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
749874
749871
  setCwd(cwd3);
749875
749872
  const server = new Server({
749876
749873
  name: "claude/tengu",
749877
- version: "0.1.3"
749874
+ version: "0.1.5"
749878
749875
  }, {
749879
749876
  capabilities: {
749880
749877
  tools: {}
@@ -751395,7 +751392,7 @@ __export(exports_update, {
751395
751392
  });
751396
751393
  async function update() {
751397
751394
  logEvent("tengu_update_check", {});
751398
- writeToStdout(`Current version: ${"0.1.3"}
751395
+ writeToStdout(`Current version: ${"0.1.5"}
751399
751396
  `);
751400
751397
  const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
751401
751398
  writeToStdout(`Checking for updates to ${channel3} version...
@@ -751467,58 +751464,58 @@ async function update() {
751467
751464
  writeToStdout(`
751468
751465
  `);
751469
751466
  if (packageManager === "homebrew") {
751470
- writeToStdout(`Claude is managed by Homebrew.
751467
+ writeToStdout(`langcli is managed by Homebrew.
751471
751468
  `);
751472
751469
  const latest = await getLatestVersion(channel3);
751473
- if (latest && !gte("0.1.3", latest)) {
751474
- writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751470
+ if (latest && !gte("0.1.5", latest)) {
751471
+ writeToStdout(`Update available: ${"0.1.5"} → ${latest}
751475
751472
  `);
751476
751473
  writeToStdout(`
751477
751474
  `);
751478
751475
  writeToStdout(`To update, run:
751479
751476
  `);
751480
- writeToStdout(source_default.bold(" brew upgrade claude-code") + `
751477
+ writeToStdout(source_default.bold(" brew upgrade langcli") + `
751481
751478
  `);
751482
751479
  } else {
751483
- writeToStdout(`Claude is up to date!
751480
+ writeToStdout(`langcli is up to date!
751484
751481
  `);
751485
751482
  }
751486
751483
  } else if (packageManager === "winget") {
751487
- writeToStdout(`Claude is managed by winget.
751484
+ writeToStdout(`langcli is managed by winget.
751488
751485
  `);
751489
751486
  const latest = await getLatestVersion(channel3);
751490
- if (latest && !gte("0.1.3", latest)) {
751491
- writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751487
+ if (latest && !gte("0.1.5", latest)) {
751488
+ writeToStdout(`Update available: ${"0.1.5"} → ${latest}
751492
751489
  `);
751493
751490
  writeToStdout(`
751494
751491
  `);
751495
751492
  writeToStdout(`To update, run:
751496
751493
  `);
751497
- writeToStdout(source_default.bold(" winget upgrade Anthropic.ClaudeCode") + `
751494
+ writeToStdout(source_default.bold(" winget upgrade langcli") + `
751498
751495
  `);
751499
751496
  } else {
751500
- writeToStdout(`Claude is up to date!
751497
+ writeToStdout(`langcli is up to date!
751501
751498
  `);
751502
751499
  }
751503
751500
  } else if (packageManager === "apk") {
751504
- writeToStdout(`Claude is managed by apk.
751501
+ writeToStdout(`langcli is managed by apk.
751505
751502
  `);
751506
751503
  const latest = await getLatestVersion(channel3);
751507
- if (latest && !gte("0.1.3", latest)) {
751508
- writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751504
+ if (latest && !gte("0.1.5", latest)) {
751505
+ writeToStdout(`Update available: ${"0.1.5"} → ${latest}
751509
751506
  `);
751510
751507
  writeToStdout(`
751511
751508
  `);
751512
751509
  writeToStdout(`To update, run:
751513
751510
  `);
751514
- writeToStdout(source_default.bold(" apk upgrade claude-code") + `
751511
+ writeToStdout(source_default.bold(" apk upgrade langcli") + `
751515
751512
  `);
751516
751513
  } else {
751517
- writeToStdout(`Claude is up to date!
751514
+ writeToStdout(`langcli is up to date!
751518
751515
  `);
751519
751516
  }
751520
751517
  } else {
751521
- writeToStdout(`Claude is managed by a package manager.
751518
+ writeToStdout(`langcli is managed by a package manager.
751522
751519
  `);
751523
751520
  writeToStdout(`Please use your package manager to update.
751524
751521
  `);
@@ -751561,7 +751558,7 @@ async function update() {
751561
751558
  const result = await installLatest(channel3, true);
751562
751559
  if (result.lockFailed) {
751563
751560
  const pidInfo = result.lockHolderPid ? ` (PID ${result.lockHolderPid})` : "";
751564
- writeToStdout(source_default.yellow(`Another Claude process${pidInfo} is currently running. Please try again in a moment.`) + `
751561
+ writeToStdout(source_default.yellow(`Another langcli process${pidInfo} is currently running. Please try again in a moment.`) + `
751565
751562
  `);
751566
751563
  await gracefulShutdown(0);
751567
751564
  }
@@ -751570,11 +751567,11 @@ async function update() {
751570
751567
  `);
751571
751568
  await gracefulShutdown(1);
751572
751569
  }
751573
- if (result.latestVersion === "0.1.3") {
751574
- writeToStdout(source_default.green(`Claude Code is up to date (${"0.1.3"})`) + `
751570
+ if (result.latestVersion === "0.1.5") {
751571
+ writeToStdout(source_default.green(`langcli is up to date (${"0.1.5"})`) + `
751575
751572
  `);
751576
751573
  } else {
751577
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${result.latestVersion}`) + `
751574
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.5"} to version ${result.latestVersion}`) + `
751578
751575
  `);
751579
751576
  await regenerateCompletionCache();
751580
751577
  }
@@ -751584,7 +751581,7 @@ async function update() {
751584
751581
  `);
751585
751582
  process.stderr.write(String(error54) + `
751586
751583
  `);
751587
- process.stderr.write(`Try running "claude doctor" for diagnostics
751584
+ process.stderr.write(`Try running "langcli doctor" for diagnostics
751588
751585
  `);
751589
751586
  await gracefulShutdown(1);
751590
751587
  }
@@ -751593,9 +751590,9 @@ async function update() {
751593
751590
  await removeInstalledSymlink();
751594
751591
  }
751595
751592
  logForDebugging("update: Checking npm registry for latest version");
751596
- logForDebugging(`update: Package URL: ${""}`);
751593
+ logForDebugging(`update: Package URL: ${"langcli-com"}`);
751597
751594
  const npmTag = channel3 === "stable" ? "stable" : "latest";
751598
- const npmCommand = `npm view ${""}@${npmTag} version`;
751595
+ const npmCommand = `npm view ${"langcli-com"}@${npmTag} version`;
751599
751596
  logForDebugging(`update: Running: ${npmCommand}`);
751600
751597
  const latestVersion = await getLatestVersion(channel3);
751601
751598
  logForDebugging(`update: Latest version from npm: ${latestVersion || "FAILED"}`);
@@ -751615,7 +751612,10 @@ async function update() {
751615
751612
  `);
751616
751613
  process.stderr.write(` • Corporate proxy/firewall blocking npm
751617
751614
  `);
751618
- if ("") {}
751615
+ if (!"langcli-com".startsWith("@anthropic")) {
751616
+ process.stderr.write(` • Internal/development build not published to npm
751617
+ `);
751618
+ }
751619
751619
  process.stderr.write(`
751620
751620
  `);
751621
751621
  process.stderr.write(`Try:
@@ -751624,19 +751624,19 @@ async function update() {
751624
751624
  `);
751625
751625
  process.stderr.write(` • Run with --debug flag for more details
751626
751626
  `);
751627
- const packageName = process.env.USER_TYPE === "ant" ? "@anthropic-ai/claude-cli" : "@anthropic-ai/claude-code";
751627
+ const packageName = "langcli-com";
751628
751628
  process.stderr.write(` • Manually check: npm view ${packageName} version
751629
751629
  `);
751630
751630
  process.stderr.write(` • Check if you need to login: npm whoami
751631
751631
  `);
751632
751632
  await gracefulShutdown(1);
751633
751633
  }
751634
- if (latestVersion === "0.1.3") {
751635
- writeToStdout(source_default.green(`Claude Code is up to date (${"0.1.3"})`) + `
751634
+ if (latestVersion === "0.1.5") {
751635
+ writeToStdout(source_default.green(`langcli is up to date (${"0.1.5"})`) + `
751636
751636
  `);
751637
751637
  await gracefulShutdown(0);
751638
751638
  }
751639
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.3"})
751639
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.5"})
751640
751640
  `);
751641
751641
  writeToStdout(`Installing update...
751642
751642
  `);
@@ -751681,7 +751681,7 @@ async function update() {
751681
751681
  logForDebugging(`update: Installation status: ${status2}`);
751682
751682
  switch (status2) {
751683
751683
  case "success":
751684
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${latestVersion}`) + `
751684
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.5"} to version ${latestVersion}`) + `
751685
751685
  `);
751686
751686
  await regenerateCompletionCache();
751687
751687
  break;
@@ -751691,12 +751691,10 @@ async function update() {
751691
751691
  if (useLocalUpdate) {
751692
751692
  process.stderr.write(`Try manually updating with:
751693
751693
  `);
751694
- process.stderr.write(` cd ~/.claude/local && npm update ${""}
751694
+ process.stderr.write(` cd ~/.langcli/local && npm update ${"langcli-com"}
751695
751695
  `);
751696
751696
  } else {
751697
751697
  process.stderr.write(`Try running with sudo or fix npm permissions
751698
- `);
751699
- process.stderr.write(`Or consider using native installation with: claude install
751700
751698
  `);
751701
751699
  }
751702
751700
  await gracefulShutdown(1);
@@ -751707,10 +751705,7 @@ async function update() {
751707
751705
  if (useLocalUpdate) {
751708
751706
  process.stderr.write(`Try manually updating with:
751709
751707
  `);
751710
- process.stderr.write(` cd ~/.claude/local && npm update ${""}
751711
- `);
751712
- } else {
751713
- process.stderr.write(`Or consider using native installation with: claude install
751708
+ process.stderr.write(` cd ~/.langcli/local && npm update ${"langcli-com"}
751714
751709
  `);
751715
751710
  }
751716
751711
  await gracefulShutdown(1);
@@ -752906,7 +752901,7 @@ ${customInstructions}` : customInstructions;
752906
752901
  }
752907
752902
  }
752908
752903
  logForDiagnosticsNoPII("info", "started", {
752909
- version: "0.1.3",
752904
+ version: "0.1.5",
752910
752905
  is_native_binary: isInBundledMode()
752911
752906
  });
752912
752907
  registerCleanup(async () => {
@@ -753708,7 +753703,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
753708
753703
  pendingHookMessages
753709
753704
  }, renderAndRun);
753710
753705
  }
753711
- }).version("0.1.3 (Claude Code)", "-v, --version", "Output the version number");
753706
+ }).version("0.1.5 (Claude Code)", "-v, --version", "Output the version number");
753712
753707
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
753713
753708
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
753714
753709
  if (canUserConfigureAdvisor()) {
@@ -754237,7 +754232,7 @@ if (false) {}
754237
754232
  async function main2() {
754238
754233
  const args = process.argv.slice(2);
754239
754234
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
754240
- console.log(`${"0.1.3"} (Claude Code)`);
754235
+ console.log(`${"0.1.5"} (langcli)`);
754241
754236
  return;
754242
754237
  }
754243
754238
  const { profileCheckpoint: profileCheckpoint2 } = await Promise.resolve().then(() => (init_startupProfiler(), exports_startupProfiler));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langcli-com",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Langcli - interactive AI coding assistant in the terminal",
5
5
  "type": "module",
6
6
  "author": "langcli <team@langcli.com>",