langcli-com 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +107 -91
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -130665,7 +130665,7 @@ var init_bedrock = __esm(() => {
130665
130665
  });
130666
130666
 
130667
130667
  // src/utils/model/configs.ts
130668
- var LANGROUTER_AUTO_CONFIG = "langrouter/auto", LANGROUTER_AUTO_FREE_CONFIG = "langrouter/auto-free", DEEPSEEK_V3_2_CONFIG = "deepseek-v3.2", DEEPSEEK_V3_2_THINK_CONFIG = "deepseek-v3.2-think", MOONSHOT_KIMI_K2_5_CONFIG = "kimi-k2.5", MINIMAX_M2_5_CONFIG = "minimax-m2.5", CLAUDE_OPUS_4_6_CONFIG = "claude-opus-4-6", GLM_5_1_CONFIG = "glm-5.1", ALL_MODEL_CONFIGS, CANONICAL_MODEL_IDS, CANONICAL_ID_TO_KEY;
130668
+ var LANGROUTER_AUTO_CONFIG = "langrouter/auto", LANGROUTER_AUTO_FREE_CONFIG = "langrouter/auto-free", DEEPSEEK_V3_2_CONFIG = "deepseek-v3.2", DEEPSEEK_V3_2_THINK_CONFIG = "deepseek-v3.2-think", MOONSHOT_KIMI_K2_5_CONFIG = "kimi-k2.5", MINIMAX_M2_5_CONFIG = "minimax-m2.5", CLAUDE_OPUS_4_6_CONFIG = "claude-opus-4-6", GLM_5_1_CONFIG = "glm-5.1", GPT_5_3_CODEX_CONFIG = "gpt-5.3-codex", ALL_MODEL_CONFIGS, CANONICAL_MODEL_IDS, CANONICAL_ID_TO_KEY;
130669
130669
  var init_configs = __esm(() => {
130670
130670
  ALL_MODEL_CONFIGS = {
130671
130671
  langrouterAuto: LANGROUTER_AUTO_CONFIG,
@@ -130675,7 +130675,8 @@ var init_configs = __esm(() => {
130675
130675
  moonshot: MOONSHOT_KIMI_K2_5_CONFIG,
130676
130676
  minimax: MINIMAX_M2_5_CONFIG,
130677
130677
  claudeOpus: CLAUDE_OPUS_4_6_CONFIG,
130678
- glm51: GLM_5_1_CONFIG
130678
+ glm51: GLM_5_1_CONFIG,
130679
+ gptCodex: GPT_5_3_CODEX_CONFIG
130679
130680
  };
130680
130681
  CANONICAL_MODEL_IDS = Object.values(ALL_MODEL_CONFIGS);
130681
130682
  CANONICAL_ID_TO_KEY = Object.fromEntries(Object.entries(ALL_MODEL_CONFIGS).map(([key, cfg]) => [cfg, key]));
@@ -134817,6 +134818,9 @@ function getPublicModelDisplayName(model) {
134817
134818
  if (model === "glm-5.1") {
134818
134819
  return "GLM 5.1";
134819
134820
  }
134821
+ if (model === "gpt-5.3-codex") {
134822
+ return "GPT 5.3 codex";
134823
+ }
134820
134824
  return null;
134821
134825
  }
134822
134826
  function renderModelName(model) {
@@ -134856,6 +134860,9 @@ function parseUserSpecifiedModel(modelInput) {
134856
134860
  if (modelInputTrimmed === "glm-5.1") {
134857
134861
  return GLM_5_1_CONFIG;
134858
134862
  }
134863
+ if (modelInputTrimmed === "gpt-5.3-codex") {
134864
+ return GPT_5_3_CODEX_CONFIG;
134865
+ }
134859
134866
  return modelInputTrimmed;
134860
134867
  }
134861
134868
  function modelDisplayString(model) {
@@ -189418,7 +189425,7 @@ var init_auth2 = __esm(() => {
189418
189425
 
189419
189426
  // src/utils/userAgent.ts
189420
189427
  function getClaudeCodeUserAgent() {
189421
- return `claude-code/${"2.1.888"}`;
189428
+ return `claude-code/${"0.1.3"}`;
189422
189429
  }
189423
189430
 
189424
189431
  // src/utils/workloadContext.ts
@@ -189440,7 +189447,7 @@ function getUserAgent() {
189440
189447
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
189441
189448
  const workload = getWorkload();
189442
189449
  const workloadSuffix = workload ? `, workload/${workload}` : "";
189443
- return `langcli/${"2.1.888"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
189450
+ return `langcli/${"0.1.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
189444
189451
  }
189445
189452
  function getMCPUserAgent() {
189446
189453
  const parts = [];
@@ -189454,7 +189461,7 @@ function getMCPUserAgent() {
189454
189461
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
189455
189462
  }
189456
189463
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
189457
- return `claude-code/${"2.1.888"}${suffix}`;
189464
+ return `claude-code/${"0.1.3"}${suffix}`;
189458
189465
  }
189459
189466
  function getWebFetchUserAgent() {
189460
189467
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -189592,7 +189599,7 @@ var init_user = __esm(() => {
189592
189599
  deviceId,
189593
189600
  sessionId: getSessionId(),
189594
189601
  email: getEmail(),
189595
- appVersion: "2.1.888",
189602
+ appVersion: "0.1.3",
189596
189603
  platform: getHostPlatformForAnalytics(),
189597
189604
  organizationUuid,
189598
189605
  accountUuid,
@@ -197286,7 +197293,7 @@ var init_metadata = __esm(() => {
197286
197293
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
197287
197294
  WHITESPACE_REGEX = /\s+/;
197288
197295
  getVersionBase = memoize_default(() => {
197289
- const match = "2.1.888".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
197296
+ const match = "0.1.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
197290
197297
  return match ? match[0] : undefined;
197291
197298
  });
197292
197299
  buildEnvContext = memoize_default(async () => {
@@ -197326,9 +197333,9 @@ var init_metadata = __esm(() => {
197326
197333
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
197327
197334
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
197328
197335
  isClaudeAiAuth: isClaudeAISubscriber(),
197329
- version: "2.1.888",
197336
+ version: "0.1.3",
197330
197337
  versionBase: getVersionBase(),
197331
- buildTime: "2026-04-10T05:06:20.121Z",
197338
+ buildTime: "2026-04-10T09:09:45.867Z",
197332
197339
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
197333
197340
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
197334
197341
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -197996,7 +198003,7 @@ function initialize1PEventLogging() {
197996
198003
  const platform4 = getPlatform();
197997
198004
  const attributes = {
197998
198005
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
197999
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "2.1.888"
198006
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.3"
198000
198007
  };
198001
198008
  if (platform4 === "wsl") {
198002
198009
  const wslVersion = getWslVersion();
@@ -198023,7 +198030,7 @@ function initialize1PEventLogging() {
198023
198030
  })
198024
198031
  ]
198025
198032
  });
198026
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "2.1.888");
198033
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.3");
198027
198034
  }
198028
198035
  async function reinitialize1PEventLoggingIfConfigChanged() {
198029
198036
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -199966,7 +199973,7 @@ function getAttributionHeader(fingerprint) {
199966
199973
  if (!isAttributionHeaderEnabled()) {
199967
199974
  return "";
199968
199975
  }
199969
- const version6 = `${"2.1.888"}.${fingerprint}`;
199976
+ const version6 = `${"0.1.3"}.${fingerprint}`;
199970
199977
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
199971
199978
  const cch = "";
199972
199979
  const workload = getWorkload();
@@ -383167,7 +383174,7 @@ function getTelemetryAttributes() {
383167
383174
  attributes["session.id"] = sessionId;
383168
383175
  }
383169
383176
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
383170
- attributes["app.version"] = "2.1.888";
383177
+ attributes["app.version"] = "0.1.3";
383171
383178
  }
383172
383179
  const oauthAccount = getOauthAccountInfo();
383173
383180
  if (oauthAccount) {
@@ -406665,7 +406672,7 @@ function getInstallationEnv() {
406665
406672
  return;
406666
406673
  }
406667
406674
  function getClaudeCodeVersion() {
406668
- return "2.1.888";
406675
+ return "0.1.3";
406669
406676
  }
406670
406677
  async function getInstalledVSCodeExtensionVersion(command) {
406671
406678
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -409388,7 +409395,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
409388
409395
  const client5 = new Client({
409389
409396
  name: "claude-code",
409390
409397
  title: "Claude Code",
409391
- version: "2.1.888",
409398
+ version: "0.1.3",
409392
409399
  description: "Anthropic's agentic coding tool",
409393
409400
  websiteUrl: PRODUCT_URL
409394
409401
  }, {
@@ -409743,7 +409750,7 @@ var init_client9 = __esm(() => {
409743
409750
  const client5 = new Client({
409744
409751
  name: "claude-code",
409745
409752
  title: "Claude Code",
409746
- version: "2.1.888",
409753
+ version: "0.1.3",
409747
409754
  description: "Anthropic's agentic coding tool",
409748
409755
  websiteUrl: PRODUCT_URL
409749
409756
  }, {
@@ -448203,7 +448210,7 @@ function initSentry() {
448203
448210
  }
448204
448211
  init3({
448205
448212
  dsn,
448206
- release: typeof MACRO !== "undefined" ? "2.1.888" : undefined,
448213
+ release: typeof MACRO !== "undefined" ? "0.1.3" : undefined,
448207
448214
  environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "development",
448208
448215
  maxBreadcrumbs: 20,
448209
448216
  sampleRate: 1,
@@ -487127,7 +487134,7 @@ async function initializeBetaTracing(resource) {
487127
487134
  });
487128
487135
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
487129
487136
  setLoggerProvider(loggerProvider);
487130
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.1.888");
487137
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
487131
487138
  setEventLogger(eventLogger);
487132
487139
  process.on("beforeExit", async () => {
487133
487140
  await loggerProvider?.forceFlush();
@@ -487167,7 +487174,7 @@ async function initializeTelemetry() {
487167
487174
  const platform7 = getPlatform();
487168
487175
  const baseAttributes = {
487169
487176
  [import_semantic_conventions11.ATTR_SERVICE_NAME]: "claude-code",
487170
- [import_semantic_conventions11.ATTR_SERVICE_VERSION]: "2.1.888"
487177
+ [import_semantic_conventions11.ATTR_SERVICE_VERSION]: "0.1.3"
487171
487178
  };
487172
487179
  if (platform7 === "wsl") {
487173
487180
  const wslVersion = getWslVersion();
@@ -487212,7 +487219,7 @@ async function initializeTelemetry() {
487212
487219
  } catch {}
487213
487220
  };
487214
487221
  registerCleanup(shutdownTelemetry2);
487215
- return meterProvider2.getMeter("com.anthropic.claude_code", "2.1.888");
487222
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.3");
487216
487223
  }
487217
487224
  const meterProvider = new import_sdk_metrics2.MeterProvider({
487218
487225
  resource,
@@ -487232,7 +487239,7 @@ async function initializeTelemetry() {
487232
487239
  });
487233
487240
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
487234
487241
  setLoggerProvider(loggerProvider);
487235
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.1.888");
487242
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
487236
487243
  setEventLogger(eventLogger);
487237
487244
  logForDebugging("[3P telemetry] Event logger set successfully");
487238
487245
  process.on("beforeExit", async () => {
@@ -487294,7 +487301,7 @@ Current timeout: ${timeoutMs}ms
487294
487301
  }
487295
487302
  };
487296
487303
  registerCleanup(shutdownTelemetry);
487297
- return meterProvider.getMeter("com.anthropic.claude_code", "2.1.888");
487304
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.1.3");
487298
487305
  }
487299
487306
  async function flushTelemetry() {
487300
487307
  const meterProvider = getMeterProvider();
@@ -487958,9 +487965,9 @@ async function assertMinVersion() {
487958
487965
  if (false) {}
487959
487966
  try {
487960
487967
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
487961
- if (versionConfig.minVersion && lt("2.1.888", versionConfig.minVersion)) {
487968
+ if (versionConfig.minVersion && lt("0.1.3", versionConfig.minVersion)) {
487962
487969
  console.error(`
487963
- It looks like your version of Claude Code (${"2.1.888"}) needs an update.
487970
+ It looks like your version of Claude Code (${"0.1.3"}) needs an update.
487964
487971
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
487965
487972
 
487966
487973
  To update, please run:
@@ -488176,7 +488183,7 @@ async function installGlobalPackage(specificVersion) {
488176
488183
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
488177
488184
  logEvent("tengu_auto_updater_lock_contention", {
488178
488185
  pid: process.pid,
488179
- currentVersion: "2.1.888"
488186
+ currentVersion: "0.1.3"
488180
488187
  });
488181
488188
  return "in_progress";
488182
488189
  }
@@ -488185,7 +488192,7 @@ async function installGlobalPackage(specificVersion) {
488185
488192
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
488186
488193
  logError2(new Error("Windows NPM detected in WSL environment"));
488187
488194
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
488188
- currentVersion: "2.1.888"
488195
+ currentVersion: "0.1.3"
488189
488196
  });
488190
488197
  console.error(`
488191
488198
  Error: Windows NPM detected in WSL
@@ -488718,7 +488725,7 @@ function detectLinuxGlobPatternWarnings() {
488718
488725
  }
488719
488726
  async function getDoctorDiagnostic() {
488720
488727
  const installationType = await getCurrentInstallationType();
488721
- const version6 = typeof MACRO !== "undefined" ? "2.1.888" : "unknown";
488728
+ const version6 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
488722
488729
  const installationPath = await getInstallationPath();
488723
488730
  const invokedBinary = getInvokedBinary();
488724
488731
  const multipleInstallations = await detectMultipleInstallations();
@@ -489651,8 +489658,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
489651
489658
  const maxVersion = await getMaxVersion();
489652
489659
  if (maxVersion && gt(version6, maxVersion)) {
489653
489660
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
489654
- if (gte("2.1.888", maxVersion)) {
489655
- logForDebugging(`Native installer: current version ${"2.1.888"} is already at or above maxVersion ${maxVersion}, skipping update`);
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`);
489656
489663
  logEvent("tengu_native_update_skipped_max_version", {
489657
489664
  latency_ms: Date.now() - startTime,
489658
489665
  max_version: maxVersion,
@@ -489663,7 +489670,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
489663
489670
  version6 = maxVersion;
489664
489671
  }
489665
489672
  }
489666
- if (!forceReinstall && version6 === "2.1.888" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
489673
+ if (!forceReinstall && version6 === "0.1.3" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
489667
489674
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
489668
489675
  logEvent("tengu_native_update_complete", {
489669
489676
  latency_ms: Date.now() - startTime,
@@ -565310,6 +565317,14 @@ function getGlm51Option() {
565310
565317
  descriptionForModel: "GLM 5.1 - Z.ai flagship model"
565311
565318
  };
565312
565319
  }
565320
+ function getGptCodexOption() {
565321
+ return {
565322
+ value: GPT_5_3_CODEX_CONFIG,
565323
+ label: "GPT 5.3 codex",
565324
+ description: "GPT 5.3 codex · openai flagship coding model",
565325
+ descriptionForModel: "GPT 5.3 codex · openai flagship coding model"
565326
+ };
565327
+ }
565313
565328
  function getModelOptionsBase() {
565314
565329
  return [
565315
565330
  getDefaultOptionForUser(),
@@ -565318,7 +565333,8 @@ function getModelOptionsBase() {
565318
565333
  getGlm51Option(),
565319
565334
  getDeepSeekOption(),
565320
565335
  getDeepSeekThinkOption(),
565321
- getClaudeOpusOption()
565336
+ getClaudeOpusOption(),
565337
+ getGptCodexOption()
565322
565338
  ];
565323
565339
  }
565324
565340
  function getModelOptions(_fastMode = false) {
@@ -579510,7 +579526,7 @@ function getAnthropicEnvMetadata() {
579510
579526
  function getBuildAgeMinutes() {
579511
579527
  if (false)
579512
579528
  ;
579513
- const buildTime = new Date("2026-04-10T05:06:20.121Z").getTime();
579529
+ const buildTime = new Date("2026-04-10T09:09:45.867Z").getTime();
579514
579530
  if (isNaN(buildTime))
579515
579531
  return;
579516
579532
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -602604,7 +602620,7 @@ function Feedback({
602604
602620
  platform: env4.platform,
602605
602621
  gitRepo: envInfo.isGit,
602606
602622
  terminal: env4.terminal,
602607
- version: "2.1.888",
602623
+ version: "0.1.3",
602608
602624
  transcript: normalizeMessagesForAPI(messages),
602609
602625
  errors: sanitizedErrors,
602610
602626
  lastApiRequest: getLastAPIRequest(),
@@ -602789,7 +602805,7 @@ function Feedback({
602789
602805
  ", ",
602790
602806
  env4.terminal,
602791
602807
  ", v",
602792
- "2.1.888"
602808
+ "0.1.3"
602793
602809
  ]
602794
602810
  }, undefined, true, undefined, this)
602795
602811
  ]
@@ -602895,7 +602911,7 @@ ${sanitizedDescription}
602895
602911
  ` + `**Environment Info**
602896
602912
  ` + `- Platform: ${env4.platform}
602897
602913
  ` + `- Terminal: ${env4.terminal}
602898
- ` + `- Version: ${"2.1.888"}
602914
+ ` + `- Version: ${"0.1.3"}
602899
602915
  ` + `- Feedback ID: ${feedbackId}
602900
602916
  ` + `
602901
602917
  **Errors**
@@ -605629,7 +605645,7 @@ function buildPrimarySection() {
605629
605645
  children: "/rename to add a name"
605630
605646
  }, undefined, false, undefined, this);
605631
605647
  return [
605632
- { label: "Version", value: "2.1.888" },
605648
+ { label: "Version", value: "0.1.3" },
605633
605649
  { label: "Session name", value: nameValue },
605634
605650
  { label: "Session ID", value: sessionId },
605635
605651
  { label: "cwd", value: getCwd() },
@@ -608387,7 +608403,7 @@ function Config({
608387
608403
  }
608388
608404
  }, undefined, false, undefined, this)
608389
608405
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime175.jsxDEV(ChannelDowngradeDialog, {
608390
- currentVersion: "2.1.888",
608406
+ currentVersion: "0.1.3",
608391
608407
  onChoice: (choice) => {
608392
608408
  setShowSubmenu(null);
608393
608409
  setTabsHidden(false);
@@ -608399,7 +608415,7 @@ function Config({
608399
608415
  autoUpdatesChannel: "stable"
608400
608416
  };
608401
608417
  if (choice === "stay") {
608402
- newSettings.minimumVersion = "2.1.888";
608418
+ newSettings.minimumVersion = "0.1.3";
608403
608419
  }
608404
608420
  updateSettingsForSource("userSettings", newSettings);
608405
608421
  setSettingsData((prev) => ({
@@ -613827,7 +613843,7 @@ function HelpV2({ onClose, commands }) {
613827
613843
  color: "professionalBlue",
613828
613844
  children: [
613829
613845
  /* @__PURE__ */ jsx_dev_runtime202.jsxDEV(Tabs, {
613830
- title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"2.1.888"}`,
613846
+ title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"0.1.3"}`,
613831
613847
  color: "professionalBlue",
613832
613848
  defaultTab: "general",
613833
613849
  children: tabs
@@ -633885,7 +633901,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
633885
633901
  return [];
633886
633902
  }
633887
633903
  }
633888
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.1.888") {
633904
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.3") {
633889
633905
  if (process.env.USER_TYPE === "ant") {
633890
633906
  const changelog = "";
633891
633907
  if (changelog) {
@@ -633912,7 +633928,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.1.888")
633912
633928
  releaseNotes
633913
633929
  };
633914
633930
  }
633915
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.1.888") {
633931
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.3") {
633916
633932
  if (process.env.USER_TYPE === "ant") {
633917
633933
  const changelog = "";
633918
633934
  if (changelog) {
@@ -636995,7 +637011,7 @@ function getRecentActivitySync() {
636995
637011
  return cachedActivity;
636996
637012
  }
636997
637013
  function getLogoDisplayData() {
636998
- const version6 = process.env.DEMO_VERSION ?? "2.1.888";
637014
+ const version6 = process.env.DEMO_VERSION ?? "0.1.3";
636999
637015
  const serverUrl = getDirectConnectServerUrl();
637000
637016
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
637001
637017
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -638003,13 +638019,13 @@ function LogoV2() {
638003
638019
  const { hasReleaseNotes } = checkForReleaseNotesSync(config7.lastReleaseNotesSeen);
638004
638020
  import_react161.useEffect(() => {
638005
638021
  const currentConfig = getGlobalConfig();
638006
- if (currentConfig.lastReleaseNotesSeen === "2.1.888") {
638022
+ if (currentConfig.lastReleaseNotesSeen === "0.1.3") {
638007
638023
  return;
638008
638024
  }
638009
638025
  saveGlobalConfig((current) => {
638010
- if (current.lastReleaseNotesSeen === "2.1.888")
638026
+ if (current.lastReleaseNotesSeen === "0.1.3")
638011
638027
  return current;
638012
- return { ...current, lastReleaseNotesSeen: "2.1.888" };
638028
+ return { ...current, lastReleaseNotesSeen: "0.1.3" };
638013
638029
  });
638014
638030
  if (showOnboarding) {
638015
638031
  incrementProjectOnboardingSeenCount();
@@ -655039,7 +655055,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
655039
655055
  smapsRollup,
655040
655056
  platform: process.platform,
655041
655057
  nodeVersion: process.version,
655042
- ccVersion: "2.1.888"
655058
+ ccVersion: "0.1.3"
655043
655059
  };
655044
655060
  }
655045
655061
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -655625,7 +655641,7 @@ var init_bridge_kick = __esm(() => {
655625
655641
  var call53 = async () => {
655626
655642
  return {
655627
655643
  type: "text",
655628
- value: `${"2.1.888"} (built ${"2026-04-10T05:06:20.121Z"})`
655644
+ value: `${"0.1.3"} (built ${"2026-04-10T09:09:45.867Z"})`
655629
655645
  };
655630
655646
  }, version6, version_default;
655631
655647
  var init_version2 = __esm(() => {
@@ -662973,7 +662989,7 @@ function generateHtmlReport(data, insights) {
662973
662989
  </html>`;
662974
662990
  }
662975
662991
  function buildExportData(data, insights, facets, remoteStats) {
662976
- const version7 = typeof MACRO !== "undefined" ? "2.1.888" : "unknown";
662992
+ const version7 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
662977
662993
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
662978
662994
  const facets_summary = {
662979
662995
  total: facets.size,
@@ -667076,7 +667092,7 @@ var init_sessionStorage = __esm(() => {
667076
667092
  init_settings2();
667077
667093
  init_slowOperations();
667078
667094
  init_uuid();
667079
- VERSION6 = typeof MACRO !== "undefined" ? "2.1.888" : "unknown";
667095
+ VERSION6 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
667080
667096
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
667081
667097
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
667082
667098
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -668282,7 +668298,7 @@ var init_filesystem = __esm(() => {
668282
668298
  });
668283
668299
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
668284
668300
  const nonce = randomBytes19(16).toString("hex");
668285
- return join142(getClaudeTempDir(), "bundled-skills", "2.1.888", nonce);
668301
+ return join142(getClaudeTempDir(), "bundled-skills", "0.1.3", nonce);
668286
668302
  });
668287
668303
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
668288
668304
  });
@@ -674312,7 +674328,7 @@ function computeFingerprint(messageText, version7) {
674312
674328
  }
674313
674329
  function computeFingerprintFromMessages(messages) {
674314
674330
  const firstMessageText = extractFirstMessageText(messages);
674315
- return computeFingerprint(firstMessageText, "2.1.888");
674331
+ return computeFingerprint(firstMessageText, "0.1.3");
674316
674332
  }
674317
674333
  var FINGERPRINT_SALT = "59cf53e54c78";
674318
674334
  var init_fingerprint = () => {};
@@ -683238,7 +683254,7 @@ async function sideQuery(opts) {
683238
683254
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
683239
683255
  }
683240
683256
  const messageText = extractFirstUserMessageText(messages);
683241
- const fingerprint = computeFingerprint(messageText, "2.1.888");
683257
+ const fingerprint = computeFingerprint(messageText, "0.1.3");
683242
683258
  const attributionHeader = getAttributionHeader(fingerprint);
683243
683259
  const systemBlocks = [
683244
683260
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -687811,7 +687827,7 @@ function buildSystemInitMessage(inputs) {
687811
687827
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
687812
687828
  apiKeySource: getAnthropicApiKeyWithSource().source,
687813
687829
  betas: getSdkBetas(),
687814
- claude_code_version: "2.1.888",
687830
+ claude_code_version: "0.1.3",
687815
687831
  output_style: outputStyle2,
687816
687832
  agents: inputs.agents.map((agent) => agent.agentType),
687817
687833
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -698979,7 +698995,7 @@ var init_useVoiceEnabled = __esm(() => {
698979
698995
  function getSemverPart(version7) {
698980
698996
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
698981
698997
  }
698982
- function useUpdateNotification(updatedVersion, initialVersion = "2.1.888") {
698998
+ function useUpdateNotification(updatedVersion, initialVersion = "0.1.3") {
698983
698999
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react250.useState(() => getSemverPart(initialVersion));
698984
699000
  if (!updatedVersion) {
698985
699001
  return null;
@@ -699019,7 +699035,7 @@ function AutoUpdater({
699019
699035
  return;
699020
699036
  }
699021
699037
  if (false) {}
699022
- const currentVersion = "2.1.888";
699038
+ const currentVersion = "0.1.3";
699023
699039
  const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
699024
699040
  let latestVersion = await getLatestVersion(channel3);
699025
699041
  const isDisabled = isAutoUpdaterDisabled();
@@ -699226,12 +699242,12 @@ function NativeAutoUpdater({
699226
699242
  logEvent("tengu_native_auto_updater_start", {});
699227
699243
  try {
699228
699244
  const maxVersion = await getMaxVersion();
699229
- if (maxVersion && gt("2.1.888", maxVersion)) {
699245
+ if (maxVersion && gt("0.1.3", maxVersion)) {
699230
699246
  const msg = await getMaxVersionMessage();
699231
699247
  setMaxVersionIssue(msg ?? "affects your version");
699232
699248
  }
699233
699249
  const result = await installLatest(channel3);
699234
- const currentVersion = "2.1.888";
699250
+ const currentVersion = "0.1.3";
699235
699251
  const latencyMs = Date.now() - startTime;
699236
699252
  if (result.lockFailed) {
699237
699253
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -699376,17 +699392,17 @@ function PackageManagerAutoUpdater({ verbose }) {
699376
699392
  const maxVersion = await getMaxVersion();
699377
699393
  if (maxVersion && latest && gt(latest, maxVersion)) {
699378
699394
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
699379
- if (gte("2.1.888", maxVersion)) {
699380
- logForDebugging(`PackageManagerAutoUpdater: current version ${"2.1.888"} is already at or above maxVersion ${maxVersion}, skipping update`);
699395
+ if (gte("0.1.3", maxVersion)) {
699396
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
699381
699397
  setUpdateAvailable(false);
699382
699398
  return;
699383
699399
  }
699384
699400
  latest = maxVersion;
699385
699401
  }
699386
- const hasUpdate = latest && !gte("2.1.888", latest) && !shouldSkipVersion(latest);
699402
+ const hasUpdate = latest && !gte("0.1.3", latest) && !shouldSkipVersion(latest);
699387
699403
  setUpdateAvailable(!!hasUpdate);
699388
699404
  if (hasUpdate) {
699389
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.1.888"} -> ${latest}`);
699405
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.3"} -> ${latest}`);
699390
699406
  }
699391
699407
  }, []);
699392
699408
  React152.useEffect(() => {
@@ -699404,7 +699420,7 @@ function PackageManagerAutoUpdater({ verbose }) {
699404
699420
  wrap: "truncate",
699405
699421
  children: [
699406
699422
  "currentVersion: ",
699407
- "2.1.888"
699423
+ "0.1.3"
699408
699424
  ]
699409
699425
  }, undefined, true, undefined, this),
699410
699426
  /* @__PURE__ */ jsx_dev_runtime405.jsxDEV(ThemedText, {
@@ -704765,7 +704781,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
704765
704781
  project_dir: getOriginalCwd(),
704766
704782
  added_dirs: addedDirs
704767
704783
  },
704768
- version: "2.1.888",
704784
+ version: "0.1.3",
704769
704785
  output_style: {
704770
704786
  name: outputStyleName
704771
704787
  },
@@ -723678,7 +723694,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
723678
723694
  } catch {}
723679
723695
  const data = {
723680
723696
  trigger,
723681
- version: "2.1.888",
723697
+ version: "0.1.3",
723682
723698
  platform: process.platform,
723683
723699
  transcript,
723684
723700
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -734200,7 +734216,7 @@ function WelcomeV2() {
734200
734216
  dimColor: true,
734201
734217
  children: [
734202
734218
  "v",
734203
- "2.1.888",
734219
+ "0.1.3",
734204
734220
  " "
734205
734221
  ]
734206
734222
  }, undefined, true, undefined, this)
@@ -734317,7 +734333,7 @@ function WelcomeV2() {
734317
734333
  dimColor: true,
734318
734334
  children: [
734319
734335
  "v",
734320
- "2.1.888",
734336
+ "0.1.3",
734321
734337
  " "
734322
734338
  ]
734323
734339
  }, undefined, true, undefined, this)
@@ -734453,7 +734469,7 @@ function AppleTerminalWelcomeV2({
734453
734469
  dimColor: true,
734454
734470
  children: [
734455
734471
  "v",
734456
- "2.1.888",
734472
+ "0.1.3",
734457
734473
  " "
734458
734474
  ]
734459
734475
  }, undefined, true, undefined, this)
@@ -734598,7 +734614,7 @@ function AppleTerminalWelcomeV2({
734598
734614
  dimColor: true,
734599
734615
  children: [
734600
734616
  "v",
734601
- "2.1.888",
734617
+ "0.1.3",
734602
734618
  " "
734603
734619
  ]
734604
734620
  }, undefined, true, undefined, this)
@@ -735570,7 +735586,7 @@ function completeOnboarding() {
735570
735586
  saveGlobalConfig((current) => ({
735571
735587
  ...current,
735572
735588
  hasCompletedOnboarding: true,
735573
- lastOnboardingVersion: "2.1.888"
735589
+ lastOnboardingVersion: "0.1.3"
735574
735590
  }));
735575
735591
  }
735576
735592
  function showDialog(root2, renderer) {
@@ -739848,7 +739864,7 @@ function appendToLog(path29, message) {
739848
739864
  cwd: getFsImplementation().cwd(),
739849
739865
  userType: process.env.USER_TYPE,
739850
739866
  sessionId: getSessionId(),
739851
- version: "2.1.888"
739867
+ version: "0.1.3"
739852
739868
  };
739853
739869
  getLogWriter(path29).write(messageWithTimestamp);
739854
739870
  }
@@ -744294,8 +744310,8 @@ async function getEnvLessBridgeConfig() {
744294
744310
  }
744295
744311
  async function checkEnvLessBridgeMinVersion() {
744296
744312
  const cfg = await getEnvLessBridgeConfig();
744297
- if (cfg.min_version && lt("2.1.888", cfg.min_version)) {
744298
- return `Your version of Claude Code (${"2.1.888"}) is too old for Remote Control.
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.
744299
744315
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
744300
744316
  }
744301
744317
  return null;
@@ -744769,7 +744785,7 @@ async function initBridgeCore(params) {
744769
744785
  const rawApi = createBridgeApiClient({
744770
744786
  baseUrl,
744771
744787
  getAccessToken,
744772
- runnerVersion: "2.1.888",
744788
+ runnerVersion: "0.1.3",
744773
744789
  onDebug: logForDebugging,
744774
744790
  onAuth401,
744775
744791
  getTrustedDeviceToken
@@ -749858,7 +749874,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
749858
749874
  setCwd(cwd3);
749859
749875
  const server = new Server({
749860
749876
  name: "claude/tengu",
749861
- version: "2.1.888"
749877
+ version: "0.1.3"
749862
749878
  }, {
749863
749879
  capabilities: {
749864
749880
  tools: {}
@@ -751379,7 +751395,7 @@ __export(exports_update, {
751379
751395
  });
751380
751396
  async function update() {
751381
751397
  logEvent("tengu_update_check", {});
751382
- writeToStdout(`Current version: ${"2.1.888"}
751398
+ writeToStdout(`Current version: ${"0.1.3"}
751383
751399
  `);
751384
751400
  const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
751385
751401
  writeToStdout(`Checking for updates to ${channel3} version...
@@ -751454,8 +751470,8 @@ async function update() {
751454
751470
  writeToStdout(`Claude is managed by Homebrew.
751455
751471
  `);
751456
751472
  const latest = await getLatestVersion(channel3);
751457
- if (latest && !gte("2.1.888", latest)) {
751458
- writeToStdout(`Update available: ${"2.1.888"} → ${latest}
751473
+ if (latest && !gte("0.1.3", latest)) {
751474
+ writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751459
751475
  `);
751460
751476
  writeToStdout(`
751461
751477
  `);
@@ -751471,8 +751487,8 @@ async function update() {
751471
751487
  writeToStdout(`Claude is managed by winget.
751472
751488
  `);
751473
751489
  const latest = await getLatestVersion(channel3);
751474
- if (latest && !gte("2.1.888", latest)) {
751475
- writeToStdout(`Update available: ${"2.1.888"} → ${latest}
751490
+ if (latest && !gte("0.1.3", latest)) {
751491
+ writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751476
751492
  `);
751477
751493
  writeToStdout(`
751478
751494
  `);
@@ -751488,8 +751504,8 @@ async function update() {
751488
751504
  writeToStdout(`Claude is managed by apk.
751489
751505
  `);
751490
751506
  const latest = await getLatestVersion(channel3);
751491
- if (latest && !gte("2.1.888", latest)) {
751492
- writeToStdout(`Update available: ${"2.1.888"} → ${latest}
751507
+ if (latest && !gte("0.1.3", latest)) {
751508
+ writeToStdout(`Update available: ${"0.1.3"} → ${latest}
751493
751509
  `);
751494
751510
  writeToStdout(`
751495
751511
  `);
@@ -751554,11 +751570,11 @@ async function update() {
751554
751570
  `);
751555
751571
  await gracefulShutdown(1);
751556
751572
  }
751557
- if (result.latestVersion === "2.1.888") {
751558
- writeToStdout(source_default.green(`Claude Code is up to date (${"2.1.888"})`) + `
751573
+ if (result.latestVersion === "0.1.3") {
751574
+ writeToStdout(source_default.green(`Claude Code is up to date (${"0.1.3"})`) + `
751559
751575
  `);
751560
751576
  } else {
751561
- writeToStdout(source_default.green(`Successfully updated from ${"2.1.888"} to version ${result.latestVersion}`) + `
751577
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${result.latestVersion}`) + `
751562
751578
  `);
751563
751579
  await regenerateCompletionCache();
751564
751580
  }
@@ -751615,12 +751631,12 @@ async function update() {
751615
751631
  `);
751616
751632
  await gracefulShutdown(1);
751617
751633
  }
751618
- if (latestVersion === "2.1.888") {
751619
- writeToStdout(source_default.green(`Claude Code is up to date (${"2.1.888"})`) + `
751634
+ if (latestVersion === "0.1.3") {
751635
+ writeToStdout(source_default.green(`Claude Code is up to date (${"0.1.3"})`) + `
751620
751636
  `);
751621
751637
  await gracefulShutdown(0);
751622
751638
  }
751623
- writeToStdout(`New version available: ${latestVersion} (current: ${"2.1.888"})
751639
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.3"})
751624
751640
  `);
751625
751641
  writeToStdout(`Installing update...
751626
751642
  `);
@@ -751665,7 +751681,7 @@ async function update() {
751665
751681
  logForDebugging(`update: Installation status: ${status2}`);
751666
751682
  switch (status2) {
751667
751683
  case "success":
751668
- writeToStdout(source_default.green(`Successfully updated from ${"2.1.888"} to version ${latestVersion}`) + `
751684
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${latestVersion}`) + `
751669
751685
  `);
751670
751686
  await regenerateCompletionCache();
751671
751687
  break;
@@ -752890,7 +752906,7 @@ ${customInstructions}` : customInstructions;
752890
752906
  }
752891
752907
  }
752892
752908
  logForDiagnosticsNoPII("info", "started", {
752893
- version: "2.1.888",
752909
+ version: "0.1.3",
752894
752910
  is_native_binary: isInBundledMode()
752895
752911
  });
752896
752912
  registerCleanup(async () => {
@@ -753692,7 +753708,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
753692
753708
  pendingHookMessages
753693
753709
  }, renderAndRun);
753694
753710
  }
753695
- }).version("2.1.888 (Claude Code)", "-v, --version", "Output the version number");
753711
+ }).version("0.1.3 (Claude Code)", "-v, --version", "Output the version number");
753696
753712
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
753697
753713
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
753698
753714
  if (canUserConfigureAdvisor()) {
@@ -754221,7 +754237,7 @@ if (false) {}
754221
754237
  async function main2() {
754222
754238
  const args = process.argv.slice(2);
754223
754239
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
754224
- console.log(`${"2.1.888"} (Claude Code)`);
754240
+ console.log(`${"0.1.3"} (Claude Code)`);
754225
754241
  return;
754226
754242
  }
754227
754243
  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.1",
3
+ "version": "0.1.3",
4
4
  "description": "Langcli - interactive AI coding assistant in the terminal",
5
5
  "type": "module",
6
6
  "author": "langcli <team@langcli.com>",