localclawd 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.mjs +94 -83
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -87646,7 +87646,7 @@ var init_isEqual = __esm(() => {
87646
87646
 
87647
87647
  // src/utils/userAgent.ts
87648
87648
  function getClaudeCodeUserAgent() {
87649
- return `claude-code/${"2.2.5"}`;
87649
+ return `claude-code/${"2.2.6"}`;
87650
87650
  }
87651
87651
 
87652
87652
  // src/utils/workloadContext.ts
@@ -87668,7 +87668,7 @@ function getUserAgent() {
87668
87668
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
87669
87669
  const workload = getWorkload();
87670
87670
  const workloadSuffix = workload ? `, workload/${workload}` : "";
87671
- return `claude-cli/${"2.2.5"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
87671
+ return `claude-cli/${"2.2.6"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
87672
87672
  }
87673
87673
  function getMCPUserAgent() {
87674
87674
  const parts = [];
@@ -87682,7 +87682,7 @@ function getMCPUserAgent() {
87682
87682
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
87683
87683
  }
87684
87684
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
87685
- return `claude-code/${"2.2.5"}${suffix}`;
87685
+ return `claude-code/${"2.2.6"}${suffix}`;
87686
87686
  }
87687
87687
  function getWebFetchUserAgent() {
87688
87688
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -130780,7 +130780,7 @@ function getAttributionHeader(fingerprint) {
130780
130780
  if (!isAttributionHeaderEnabled()) {
130781
130781
  return "";
130782
130782
  }
130783
- const version = `${"2.2.5"}.${fingerprint}`;
130783
+ const version = `${"2.2.6"}.${fingerprint}`;
130784
130784
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
130785
130785
  const cch = "";
130786
130786
  const workload = getWorkload();
@@ -146967,7 +146967,7 @@ var init_metadata = __esm(() => {
146967
146967
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
146968
146968
  WHITESPACE_REGEX = /\s+/;
146969
146969
  getVersionBase = memoize_default(() => {
146970
- const match = "2.2.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
146970
+ const match = "2.2.6".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
146971
146971
  return match ? match[0] : undefined;
146972
146972
  });
146973
146973
  buildEnvContext = memoize_default(async () => {
@@ -147007,9 +147007,9 @@ var init_metadata = __esm(() => {
147007
147007
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
147008
147008
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
147009
147009
  isClaudeAiAuth: isClaudeAISubscriber(),
147010
- version: "2.2.5",
147010
+ version: "2.2.6",
147011
147011
  versionBase: getVersionBase(),
147012
- buildTime: "2026-05-10T16:04:33.662Z",
147012
+ buildTime: "2026-05-10T16:10:13.840Z",
147013
147013
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
147014
147014
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
147015
147015
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -179551,7 +179551,7 @@ function getTelemetryAttributes() {
179551
179551
  attributes["session.id"] = sessionId;
179552
179552
  }
179553
179553
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
179554
- attributes["app.version"] = "2.2.5";
179554
+ attributes["app.version"] = "2.2.6";
179555
179555
  }
179556
179556
  const oauthAccount = getOauthAccountInfo();
179557
179557
  if (oauthAccount) {
@@ -241839,7 +241839,7 @@ function getInstallationEnv() {
241839
241839
  return;
241840
241840
  }
241841
241841
  function getClaudeCodeVersion() {
241842
- return "2.2.5";
241842
+ return "2.2.6";
241843
241843
  }
241844
241844
  async function getInstalledVSCodeExtensionVersion(command) {
241845
241845
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -247113,7 +247113,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
247113
247113
  const client4 = new Client({
247114
247114
  name: "localclawd",
247115
247115
  title: "localclawd",
247116
- version: "2.2.5",
247116
+ version: "2.2.6",
247117
247117
  description: "local-first AI coding tool",
247118
247118
  websiteUrl: PRODUCT_URL
247119
247119
  }, {
@@ -247455,7 +247455,7 @@ var init_client9 = __esm(() => {
247455
247455
  const client4 = new Client({
247456
247456
  name: "localclawd",
247457
247457
  title: "localclawd",
247458
- version: "2.2.5",
247458
+ version: "2.2.6",
247459
247459
  description: "local-first AI coding tool",
247460
247460
  websiteUrl: PRODUCT_URL
247461
247461
  }, {
@@ -261854,7 +261854,7 @@ function computeFingerprint(messageText, version) {
261854
261854
  }
261855
261855
  function computeFingerprintFromMessages(messages) {
261856
261856
  const firstMessageText = extractFirstMessageText(messages);
261857
- return computeFingerprint(firstMessageText, "2.2.5");
261857
+ return computeFingerprint(firstMessageText, "2.2.6");
261858
261858
  }
261859
261859
  var FINGERPRINT_SALT = "59cf53e54c78";
261860
261860
  var init_fingerprint = () => {};
@@ -261896,7 +261896,7 @@ async function sideQuery(opts) {
261896
261896
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
261897
261897
  }
261898
261898
  const messageText = extractFirstUserMessageText(messages);
261899
- const fingerprint = computeFingerprint(messageText, "2.2.5");
261899
+ const fingerprint = computeFingerprint(messageText, "2.2.6");
261900
261900
  const attributionHeader = getAttributionHeader(fingerprint);
261901
261901
  const systemBlocks = [
261902
261902
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -282648,7 +282648,7 @@ var init_user = __esm(() => {
282648
282648
  deviceId,
282649
282649
  sessionId: getSessionId(),
282650
282650
  email: getEmail(),
282651
- appVersion: "2.2.5",
282651
+ appVersion: "2.2.6",
282652
282652
  platform: getHostPlatformForAnalytics(),
282653
282653
  organizationUuid,
282654
282654
  accountUuid,
@@ -283713,7 +283713,7 @@ async function initializeBetaTracing(resource) {
283713
283713
  });
283714
283714
  logs.setGlobalLoggerProvider(loggerProvider);
283715
283715
  setLoggerProvider(loggerProvider);
283716
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.2.5");
283716
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.2.6");
283717
283717
  setEventLogger(eventLogger);
283718
283718
  process.on("beforeExit", async () => {
283719
283719
  await loggerProvider?.forceFlush();
@@ -283753,7 +283753,7 @@ async function initializeTelemetry() {
283753
283753
  const platform2 = getPlatform();
283754
283754
  const baseAttributes = {
283755
283755
  [ATTR_SERVICE_NAME4]: "claude-code",
283756
- [ATTR_SERVICE_VERSION4]: "2.2.5"
283756
+ [ATTR_SERVICE_VERSION4]: "2.2.6"
283757
283757
  };
283758
283758
  if (platform2 === "wsl") {
283759
283759
  const wslVersion = getWslVersion();
@@ -283798,7 +283798,7 @@ async function initializeTelemetry() {
283798
283798
  } catch {}
283799
283799
  };
283800
283800
  registerCleanup(shutdownTelemetry2);
283801
- return meterProvider2.getMeter("com.anthropic.claude_code", "2.2.5");
283801
+ return meterProvider2.getMeter("com.anthropic.claude_code", "2.2.6");
283802
283802
  }
283803
283803
  const meterProvider = new MeterProvider4({
283804
283804
  resource,
@@ -283818,7 +283818,7 @@ async function initializeTelemetry() {
283818
283818
  });
283819
283819
  logs.setGlobalLoggerProvider(loggerProvider);
283820
283820
  setLoggerProvider(loggerProvider);
283821
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.2.5");
283821
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.2.6");
283822
283822
  setEventLogger(eventLogger);
283823
283823
  logForDebugging("[3P telemetry] Event logger set successfully");
283824
283824
  process.on("beforeExit", async () => {
@@ -283880,7 +283880,7 @@ Current timeout: ${timeoutMs}ms
283880
283880
  }
283881
283881
  };
283882
283882
  registerCleanup(shutdownTelemetry);
283883
- return meterProvider.getMeter("com.anthropic.claude_code", "2.2.5");
283883
+ return meterProvider.getMeter("com.anthropic.claude_code", "2.2.6");
283884
283884
  }
283885
283885
  async function flushTelemetry() {
283886
283886
  const meterProvider = getMeterProvider();
@@ -285070,7 +285070,7 @@ function detectLinuxGlobPatternWarnings() {
285070
285070
  }
285071
285071
  async function getDoctorDiagnostic() {
285072
285072
  const installationType = await getCurrentInstallationType();
285073
- const version = typeof MACRO !== "undefined" ? "2.2.5" : "unknown";
285073
+ const version = typeof MACRO !== "undefined" ? "2.2.6" : "unknown";
285074
285074
  const installationPath = await getInstallationPath();
285075
285075
  const invokedBinary = getInvokedBinary();
285076
285076
  const multipleInstallations = await detectMultipleInstallations();
@@ -286011,8 +286011,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
286011
286011
  const maxVersion = await getMaxVersion();
286012
286012
  if (maxVersion && gt(version, maxVersion)) {
286013
286013
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
286014
- if (gte("2.2.5", maxVersion)) {
286015
- logForDebugging(`Native installer: current version ${"2.2.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
286014
+ if (gte("2.2.6", maxVersion)) {
286015
+ logForDebugging(`Native installer: current version ${"2.2.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
286016
286016
  logEvent("tengu_native_update_skipped_max_version", {
286017
286017
  latency_ms: Date.now() - startTime,
286018
286018
  max_version: maxVersion,
@@ -286023,7 +286023,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
286023
286023
  version = maxVersion;
286024
286024
  }
286025
286025
  }
286026
- if (!forceReinstall && version === "2.2.5" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
286026
+ if (!forceReinstall && version === "2.2.6" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
286027
286027
  logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
286028
286028
  logEvent("tengu_native_update_complete", {
286029
286029
  latency_ms: Date.now() - startTime,
@@ -332298,7 +332298,7 @@ function getAnthropicEnvMetadata() {
332298
332298
  function getBuildAgeMinutes() {
332299
332299
  if (false)
332300
332300
  ;
332301
- const buildTime = new Date("2026-05-10T16:04:33.662Z").getTime();
332301
+ const buildTime = new Date("2026-05-10T16:10:13.840Z").getTime();
332302
332302
  if (isNaN(buildTime))
332303
332303
  return;
332304
332304
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -360327,7 +360327,7 @@ function Feedback({
360327
360327
  platform: env3.platform,
360328
360328
  gitRepo: envInfo.isGit,
360329
360329
  terminal: env3.terminal,
360330
- version: "2.2.5",
360330
+ version: "2.2.6",
360331
360331
  transcript: normalizeMessagesForAPI(messages),
360332
360332
  errors: sanitizedErrors,
360333
360333
  lastApiRequest: getLastAPIRequest(),
@@ -360519,7 +360519,7 @@ function Feedback({
360519
360519
  ", ",
360520
360520
  env3.terminal,
360521
360521
  ", v",
360522
- "2.2.5"
360522
+ "2.2.6"
360523
360523
  ]
360524
360524
  }, undefined, true, undefined, this)
360525
360525
  ]
@@ -360625,7 +360625,7 @@ ${sanitizedDescription}
360625
360625
  ` + `**Environment Info**
360626
360626
  ` + `- Platform: ${env3.platform}
360627
360627
  ` + `- Terminal: ${env3.terminal}
360628
- ` + `- Version: ${"2.2.5"}
360628
+ ` + `- Version: ${"2.2.6"}
360629
360629
  ` + `- Feedback ID: ${feedbackId}
360630
360630
  ` + `
360631
360631
  **Errors**
@@ -363234,7 +363234,7 @@ function buildPrimarySection() {
363234
363234
  }, undefined, false, undefined, this);
363235
363235
  return [{
363236
363236
  label: "Version",
363237
- value: "2.2.5"
363237
+ value: "2.2.6"
363238
363238
  }, {
363239
363239
  label: "Session name",
363240
363240
  value: nameValue
@@ -367915,7 +367915,7 @@ function Config({
367915
367915
  }
367916
367916
  }, undefined, false, undefined, this)
367917
367917
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime176.jsxDEV(ChannelDowngradeDialog, {
367918
- currentVersion: "2.2.5",
367918
+ currentVersion: "2.2.6",
367919
367919
  onChoice: (choice) => {
367920
367920
  setShowSubmenu(null);
367921
367921
  setTabsHidden(false);
@@ -367927,7 +367927,7 @@ function Config({
367927
367927
  autoUpdatesChannel: "stable"
367928
367928
  };
367929
367929
  if (choice === "stay") {
367930
- newSettings.minimumVersion = "2.2.5";
367930
+ newSettings.minimumVersion = "2.2.6";
367931
367931
  }
367932
367932
  updateSettingsForSource("userSettings", newSettings);
367933
367933
  setSettingsData((prev_27) => ({
@@ -383601,11 +383601,22 @@ var call51 = async (onDone, context7, args) => {
383601
383601
  });
383602
383602
  setLocalProviderContextWindow(null);
383603
383603
  resetContextWindowDetection();
383604
- autoDetectProviderContextWindow();
383605
- onDone([
383606
- "Context window reset. Cleared saved size; re-detecting from provider...",
383607
- `Until detection completes this session uses ${fmtTokens(getContextWindowForModel(model))} tokens.`
383608
- ].join(`
383604
+ const hadEnv = process.env.LOCALCLAWD_MAX_CONTEXT_TOKENS || process.env.CLAUDE_CODE_MAX_CONTEXT_TOKENS;
383605
+ delete process.env.LOCALCLAWD_MAX_CONTEXT_TOKENS;
383606
+ delete process.env.CLAUDE_CODE_MAX_CONTEXT_TOKENS;
383607
+ await autoDetectProviderContextWindow();
383608
+ const detected = getLocalProviderContextWindow();
383609
+ const effective = getContextWindowForModel(model);
383610
+ const lines2 = [
383611
+ "Context window reset.",
383612
+ detected ? `Detected ${fmtTokens(detected)} tokens from provider.` : `Detection did not return a value — using ${fmtTokens(effective)} tokens (default). Set with /ctx <size>.`,
383613
+ `Effective window: ${fmtTokens(getEffectiveContextWindowSize(model))} (minus output reservation).`,
383614
+ `Auto-compact threshold: ${fmtTokens(getAutoCompactThreshold(model))}.`
383615
+ ];
383616
+ if (hadEnv) {
383617
+ lines2.push("", "Note: LOCALCLAWD_MAX_CONTEXT_TOKENS / CLAUDE_CODE_MAX_CONTEXT_TOKENS were set in this", "process and have been cleared for this session. Unset them in your shell to make it", "permanent.");
383618
+ }
383619
+ onDone(lines2.join(`
383609
383620
  `), { display: "system" });
383610
383621
  return null;
383611
383622
  }
@@ -385239,7 +385250,7 @@ function Help(t0) {
385239
385250
  let t6;
385240
385251
  if ($2[31] !== tabs) {
385241
385252
  t6 = /* @__PURE__ */ jsx_dev_runtime218.jsxDEV(Tabs, {
385242
- title: `localclawd v${"2.2.5"}`,
385253
+ title: `localclawd v${"2.2.6"}`,
385243
385254
  color: "professionalBlue",
385244
385255
  defaultTab: "general",
385245
385256
  children: tabs
@@ -402501,7 +402512,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
402501
402512
  }
402502
402513
  return [];
402503
402514
  }
402504
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.2.5") {
402515
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.2.6") {
402505
402516
  if (process.env.USER_TYPE === "ant") {
402506
402517
  const changelog = MACRO.VERSION_CHANGELOG;
402507
402518
  if (changelog) {
@@ -402528,7 +402539,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.2.5") {
402528
402539
  releaseNotes
402529
402540
  };
402530
402541
  }
402531
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.2.5") {
402542
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.2.6") {
402532
402543
  if (process.env.USER_TYPE === "ant") {
402533
402544
  const changelog = MACRO.VERSION_CHANGELOG;
402534
402545
  if (changelog) {
@@ -402685,7 +402696,7 @@ function getRecentActivitySync() {
402685
402696
  return cachedActivity;
402686
402697
  }
402687
402698
  function getLogoDisplayData() {
402688
- const version = process.env.DEMO_VERSION ?? "2.2.5";
402699
+ const version = process.env.DEMO_VERSION ?? "2.2.6";
402689
402700
  const serverUrl = getDirectConnectServerUrl();
402690
402701
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
402691
402702
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -403785,7 +403796,7 @@ function Logo() {
403785
403796
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
403786
403797
  t2 = () => {
403787
403798
  const currentConfig = getGlobalConfig();
403788
- if (currentConfig.lastReleaseNotesSeen === "2.2.5") {
403799
+ if (currentConfig.lastReleaseNotesSeen === "2.2.6") {
403789
403800
  return;
403790
403801
  }
403791
403802
  saveGlobalConfig(_temp325);
@@ -404444,12 +404455,12 @@ function Logo() {
404444
404455
  return t41;
404445
404456
  }
404446
404457
  function _temp325(current) {
404447
- if (current.lastReleaseNotesSeen === "2.2.5") {
404458
+ if (current.lastReleaseNotesSeen === "2.2.6") {
404448
404459
  return current;
404449
404460
  }
404450
404461
  return {
404451
404462
  ...current,
404452
- lastReleaseNotesSeen: "2.2.5"
404463
+ lastReleaseNotesSeen: "2.2.6"
404453
404464
  };
404454
404465
  }
404455
404466
  function _temp240(s_0) {
@@ -434908,7 +434919,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
434908
434919
  smapsRollup,
434909
434920
  platform: process.platform,
434910
434921
  nodeVersion: process.version,
434911
- ccVersion: "2.2.5"
434922
+ ccVersion: "2.2.6"
434912
434923
  };
434913
434924
  }
434914
434925
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -435493,7 +435504,7 @@ var init_bridge_kick = __esm(() => {
435493
435504
  var call86 = async () => {
435494
435505
  return {
435495
435506
  type: "text",
435496
- value: `${"2.2.5"} (built ${"2026-05-10T16:04:33.662Z"})`
435507
+ value: `${"2.2.6"} (built ${"2026-05-10T16:10:13.840Z"})`
435497
435508
  };
435498
435509
  }, version, version_default;
435499
435510
  var init_version = __esm(() => {
@@ -443437,7 +443448,7 @@ function generateHtmlReport(data, insights) {
443437
443448
  </html>`;
443438
443449
  }
443439
443450
  function buildExportData(data, insights, facets, remoteStats) {
443440
- const version2 = typeof MACRO !== "undefined" ? "2.2.5" : "unknown";
443451
+ const version2 = typeof MACRO !== "undefined" ? "2.2.6" : "unknown";
443441
443452
  const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
443442
443453
  const facets_summary = {
443443
443454
  total: facets.size,
@@ -447636,7 +447647,7 @@ var init_sessionStorage = __esm(() => {
447636
447647
  init_settings2();
447637
447648
  init_slowOperations();
447638
447649
  init_uuid();
447639
- VERSION6 = typeof MACRO !== "undefined" ? "2.2.5" : "unknown";
447650
+ VERSION6 = typeof MACRO !== "undefined" ? "2.2.6" : "unknown";
447640
447651
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
447641
447652
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
447642
447653
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -448767,7 +448778,7 @@ var init_filesystem = __esm(() => {
448767
448778
  });
448768
448779
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
448769
448780
  const nonce = randomBytes20(16).toString("hex");
448770
- return join153(getClaudeTempDir(), "bundled-skills", "2.2.5", nonce);
448781
+ return join153(getClaudeTempDir(), "bundled-skills", "2.2.6", nonce);
448771
448782
  });
448772
448783
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
448773
448784
  });
@@ -458004,7 +458015,7 @@ function buildSystemInitMessage(inputs) {
458004
458015
  slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
458005
458016
  apiKeySource: getAnthropicApiKeyWithSource().source,
458006
458017
  betas: getSdkBetas(),
458007
- claude_code_version: "2.2.5",
458018
+ claude_code_version: "2.2.6",
458008
458019
  output_style: outputStyle2,
458009
458020
  agents: inputs.agents.map((agent) => agent.agentType),
458010
458021
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -472161,7 +472172,7 @@ var init_useVoiceEnabled = __esm(() => {
472161
472172
  function getSemverPart(version2) {
472162
472173
  return `${import_semver10.major(version2, { loose: true })}.${import_semver10.minor(version2, { loose: true })}.${import_semver10.patch(version2, { loose: true })}`;
472163
472174
  }
472164
- function useUpdateNotification(updatedVersion, initialVersion = "2.2.5") {
472175
+ function useUpdateNotification(updatedVersion, initialVersion = "2.2.6") {
472165
472176
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react214.useState(() => getSemverPart(initialVersion));
472166
472177
  if (!updatedVersion) {
472167
472178
  return null;
@@ -472201,7 +472212,7 @@ function AutoUpdater({
472201
472212
  return;
472202
472213
  }
472203
472214
  if (false) {}
472204
- const currentVersion = "2.2.5";
472215
+ const currentVersion = "2.2.6";
472205
472216
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
472206
472217
  let latestVersion = await getLatestVersion(channel);
472207
472218
  const isDisabled = isAutoUpdaterDisabled();
@@ -472412,12 +472423,12 @@ function NativeAutoUpdater({
472412
472423
  logEvent("tengu_native_auto_updater_start", {});
472413
472424
  try {
472414
472425
  const maxVersion = await getMaxVersion();
472415
- if (maxVersion && gt("2.2.5", maxVersion)) {
472426
+ if (maxVersion && gt("2.2.6", maxVersion)) {
472416
472427
  const msg = await getMaxVersionMessage();
472417
472428
  setMaxVersionIssue(msg ?? "affects your version");
472418
472429
  }
472419
472430
  const result = await installLatest(channel);
472420
- const currentVersion = "2.2.5";
472431
+ const currentVersion = "2.2.6";
472421
472432
  const latencyMs = Date.now() - startTime;
472422
472433
  if (result.lockFailed) {
472423
472434
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -472552,17 +472563,17 @@ function PackageManagerAutoUpdater(t0) {
472552
472563
  const maxVersion = await getMaxVersion();
472553
472564
  if (maxVersion && latest && gt(latest, maxVersion)) {
472554
472565
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
472555
- if (gte("2.2.5", maxVersion)) {
472556
- logForDebugging(`PackageManagerAutoUpdater: current version ${"2.2.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
472566
+ if (gte("2.2.6", maxVersion)) {
472567
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"2.2.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
472557
472568
  setUpdateAvailable(false);
472558
472569
  return;
472559
472570
  }
472560
472571
  latest = maxVersion;
472561
472572
  }
472562
- const hasUpdate = latest && !gte("2.2.5", latest) && !shouldSkipVersion(latest);
472573
+ const hasUpdate = latest && !gte("2.2.6", latest) && !shouldSkipVersion(latest);
472563
472574
  setUpdateAvailable(!!hasUpdate);
472564
472575
  if (hasUpdate) {
472565
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.2.5"} -> ${latest}`);
472576
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.2.6"} -> ${latest}`);
472566
472577
  }
472567
472578
  };
472568
472579
  $2[0] = t1;
@@ -472596,7 +472607,7 @@ function PackageManagerAutoUpdater(t0) {
472596
472607
  wrap: "truncate",
472597
472608
  children: [
472598
472609
  "currentVersion: ",
472599
- "2.2.5"
472610
+ "2.2.6"
472600
472611
  ]
472601
472612
  }, undefined, true, undefined, this);
472602
472613
  $2[3] = verbose;
@@ -480156,7 +480167,7 @@ function buildStatusLineCommandInput(permissionMode, exceedsHalfContext, setting
480156
480167
  project_dir: getOriginalCwd(),
480157
480168
  added_dirs: addedDirs
480158
480169
  },
480159
- version: "2.2.5",
480170
+ version: "2.2.6",
480160
480171
  output_style: {
480161
480172
  name: outputStyleName
480162
480173
  },
@@ -491728,7 +491739,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
491728
491739
  } catch {}
491729
491740
  const data = {
491730
491741
  trigger,
491731
- version: "2.2.5",
491742
+ version: "2.2.6",
491732
491743
  platform: process.platform,
491733
491744
  transcript,
491734
491745
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -508701,7 +508712,7 @@ function appendToLog(path17, message) {
508701
508712
  cwd: getFsImplementation().cwd(),
508702
508713
  userType: process.env.USER_TYPE,
508703
508714
  sessionId: getSessionId(),
508704
- version: "2.2.5"
508715
+ version: "2.2.6"
508705
508716
  };
508706
508717
  getLogWriter(path17).write(messageWithTimestamp);
508707
508718
  }
@@ -512500,8 +512511,8 @@ async function getEnvLessBridgeConfig() {
512500
512511
  }
512501
512512
  async function checkEnvLessBridgeMinVersion() {
512502
512513
  const cfg = await getEnvLessBridgeConfig();
512503
- if (cfg.min_version && lt("2.2.5", cfg.min_version)) {
512504
- return `Your version of localclawd (${"2.2.5"}) is too old for Remote Control.
512514
+ if (cfg.min_version && lt("2.2.6", cfg.min_version)) {
512515
+ return `Your version of localclawd (${"2.2.6"}) is too old for Remote Control.
512505
512516
  Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
512506
512517
  }
512507
512518
  return null;
@@ -512973,7 +512984,7 @@ async function initBridgeCore(params) {
512973
512984
  const rawApi = createBridgeApiClient({
512974
512985
  baseUrl,
512975
512986
  getAccessToken,
512976
- runnerVersion: "2.2.5",
512987
+ runnerVersion: "2.2.6",
512977
512988
  onDebug: logForDebugging,
512978
512989
  onAuth401,
512979
512990
  getTrustedDeviceToken
@@ -518692,7 +518703,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
518692
518703
  setCwd(cwd3);
518693
518704
  const server = new Server({
518694
518705
  name: "claude/tengu",
518695
- version: "2.2.5"
518706
+ version: "2.2.6"
518696
518707
  }, {
518697
518708
  capabilities: {
518698
518709
  tools: {}
@@ -519773,7 +519784,7 @@ function WelcomeLogo() {
519773
519784
  dimColor: true,
519774
519785
  children: [
519775
519786
  "v",
519776
- "2.2.5"
519787
+ "2.2.6"
519777
519788
  ]
519778
519789
  }, undefined, true, undefined, this)
519779
519790
  ]
@@ -519964,7 +519975,7 @@ __export(exports_update, {
519964
519975
  });
519965
519976
  async function update() {
519966
519977
  logEvent("tengu_update_check", {});
519967
- writeToStdout(`Current version: ${"2.2.5"}
519978
+ writeToStdout(`Current version: ${"2.2.6"}
519968
519979
  `);
519969
519980
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
519970
519981
  writeToStdout(`Checking for updates to ${channel} version...
@@ -520039,8 +520050,8 @@ async function update() {
520039
520050
  writeToStdout(`localclawd is managed by Homebrew.
520040
520051
  `);
520041
520052
  const latest = await getLatestVersion(channel);
520042
- if (latest && !gte("2.2.5", latest)) {
520043
- writeToStdout(`Update available: ${"2.2.5"} → ${latest}
520053
+ if (latest && !gte("2.2.6", latest)) {
520054
+ writeToStdout(`Update available: ${"2.2.6"} → ${latest}
520044
520055
  `);
520045
520056
  writeToStdout(`
520046
520057
  `);
@@ -520056,8 +520067,8 @@ async function update() {
520056
520067
  writeToStdout(`localclawd is managed by winget.
520057
520068
  `);
520058
520069
  const latest = await getLatestVersion(channel);
520059
- if (latest && !gte("2.2.5", latest)) {
520060
- writeToStdout(`Update available: ${"2.2.5"} → ${latest}
520070
+ if (latest && !gte("2.2.6", latest)) {
520071
+ writeToStdout(`Update available: ${"2.2.6"} → ${latest}
520061
520072
  `);
520062
520073
  writeToStdout(`
520063
520074
  `);
@@ -520071,8 +520082,8 @@ async function update() {
520071
520082
  writeToStdout(`localclawd is managed by apk.
520072
520083
  `);
520073
520084
  const latest = await getLatestVersion(channel);
520074
- if (latest && !gte("2.2.5", latest)) {
520075
- writeToStdout(`Update available: ${"2.2.5"} → ${latest}
520085
+ if (latest && !gte("2.2.6", latest)) {
520086
+ writeToStdout(`Update available: ${"2.2.6"} → ${latest}
520076
520087
  `);
520077
520088
  writeToStdout(`
520078
520089
  `);
@@ -520137,11 +520148,11 @@ async function update() {
520137
520148
  `);
520138
520149
  await gracefulShutdown(1);
520139
520150
  }
520140
- if (result.latestVersion === "2.2.5") {
520141
- writeToStdout(source_default.green(`localclawd is up to date (${"2.2.5"})`) + `
520151
+ if (result.latestVersion === "2.2.6") {
520152
+ writeToStdout(source_default.green(`localclawd is up to date (${"2.2.6"})`) + `
520142
520153
  `);
520143
520154
  } else {
520144
- writeToStdout(source_default.green(`Successfully updated from ${"2.2.5"} to version ${result.latestVersion}`) + `
520155
+ writeToStdout(source_default.green(`Successfully updated from ${"2.2.6"} to version ${result.latestVersion}`) + `
520145
520156
  `);
520146
520157
  await regenerateCompletionCache();
520147
520158
  }
@@ -520201,12 +520212,12 @@ async function update() {
520201
520212
  `);
520202
520213
  await gracefulShutdown(1);
520203
520214
  }
520204
- if (latestVersion === "2.2.5") {
520205
- writeToStdout(source_default.green(`localclawd is up to date (${"2.2.5"})`) + `
520215
+ if (latestVersion === "2.2.6") {
520216
+ writeToStdout(source_default.green(`localclawd is up to date (${"2.2.6"})`) + `
520206
520217
  `);
520207
520218
  await gracefulShutdown(0);
520208
520219
  }
520209
- writeToStdout(`New version available: ${latestVersion} (current: ${"2.2.5"})
520220
+ writeToStdout(`New version available: ${latestVersion} (current: ${"2.2.6"})
520210
520221
  `);
520211
520222
  writeToStdout(`Installing update...
520212
520223
  `);
@@ -520251,7 +520262,7 @@ async function update() {
520251
520262
  logForDebugging(`update: Installation status: ${status2}`);
520252
520263
  switch (status2) {
520253
520264
  case "success":
520254
- writeToStdout(source_default.green(`Successfully updated from ${"2.2.5"} to version ${latestVersion}`) + `
520265
+ writeToStdout(source_default.green(`Successfully updated from ${"2.2.6"} to version ${latestVersion}`) + `
520255
520266
  `);
520256
520267
  await regenerateCompletionCache();
520257
520268
  break;
@@ -521493,7 +521504,7 @@ Run with --debug for more details.
521493
521504
  }
521494
521505
  }
521495
521506
  logForDiagnosticsNoPII("info", "started", {
521496
- version: "2.2.5",
521507
+ version: "2.2.6",
521497
521508
  is_native_binary: isInBundledMode()
521498
521509
  });
521499
521510
  registerCleanup(async () => {
@@ -522277,7 +522288,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
522277
522288
  pendingHookMessages
522278
522289
  }, renderAndRun);
522279
522290
  }
522280
- }).version("2.2.5 (localclawd)", "-v, --version", "Output the version number");
522291
+ }).version("2.2.6 (localclawd)", "-v, --version", "Output the version number");
522281
522292
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
522282
522293
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
522283
522294
  if (canUserConfigureAdvisor()) {
@@ -522791,7 +522802,7 @@ if (false) {}
522791
522802
  async function main2() {
522792
522803
  const args = process.argv.slice(2);
522793
522804
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
522794
- console.log(`${"2.2.5"} (localclawd)`);
522805
+ console.log(`${"2.2.6"} (localclawd)`);
522795
522806
  return;
522796
522807
  }
522797
522808
  const {
@@ -522882,4 +522893,4 @@ localclawd crashed: ${msg}
522882
522893
  process.exit(1);
522883
522894
  });
522884
522895
 
522885
- //# debugId=85DBA4B13764956564756E2164756E21
522896
+ //# debugId=710AB2E84FEB974A64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "localclawd",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "Local-first coding CLI for vLLM, Ollama, and OpenAI-compatible backends.",
5
5
  "private": false,
6
6
  "type": "module",