@ainative/cody-cli 0.7.5 → 0.7.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.js +92 -89
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -130433,6 +130433,9 @@ function getUserSpecifiedModelSetting() {
130433
130433
  if (specifiedModel && !isModelAllowed(specifiedModel)) {
130434
130434
  return;
130435
130435
  }
130436
+ if (isAINativeProvider() && specifiedModel && /\[1m\]$/.test(specifiedModel)) {
130437
+ return;
130438
+ }
130436
130439
  return specifiedModel;
130437
130440
  }
130438
130441
  function getMainLoopModel() {
@@ -172973,7 +172976,7 @@ var init_auth2 = __esm(() => {
172973
172976
 
172974
172977
  // src/utils/userAgent.ts
172975
172978
  function getCodyUserAgent() {
172976
- return `cody-cli/${"0.7.5"}`;
172979
+ return `cody-cli/${"0.7.6"}`;
172977
172980
  }
172978
172981
 
172979
172982
  // src/utils/workloadContext.ts
@@ -172995,7 +172998,7 @@ function getUserAgent() {
172995
172998
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
172996
172999
  const workload = getWorkload();
172997
173000
  const workloadSuffix = workload ? `, workload/${workload}` : "";
172998
- return `claude-cli/${"0.7.5"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173001
+ return `claude-cli/${"0.7.6"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
172999
173002
  }
173000
173003
  function getMCPUserAgent() {
173001
173004
  const parts = [];
@@ -173009,7 +173012,7 @@ function getMCPUserAgent() {
173009
173012
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
173010
173013
  }
173011
173014
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
173012
- return `claude-code/${"0.7.5"}${suffix}`;
173015
+ return `claude-code/${"0.7.6"}${suffix}`;
173013
173016
  }
173014
173017
  function getWebFetchUserAgent() {
173015
173018
  return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
@@ -173147,7 +173150,7 @@ var init_user = __esm(() => {
173147
173150
  deviceId,
173148
173151
  sessionId: getSessionId(),
173149
173152
  email: getEmail(),
173150
- appVersion: "0.7.5",
173153
+ appVersion: "0.7.6",
173151
173154
  platform: getHostPlatformForAnalytics(),
173152
173155
  organizationUuid,
173153
173156
  accountUuid,
@@ -180839,7 +180842,7 @@ var init_metadata = __esm(() => {
180839
180842
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
180840
180843
  WHITESPACE_REGEX = /\s+/;
180841
180844
  getVersionBase = memoize_default(() => {
180842
- const match = "0.7.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180845
+ const match = "0.7.6".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180843
180846
  return match ? match[0] : undefined;
180844
180847
  });
180845
180848
  buildEnvContext = memoize_default(async () => {
@@ -180879,9 +180882,9 @@ var init_metadata = __esm(() => {
180879
180882
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
180880
180883
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
180881
180884
  isClaudeAiAuth: isClaudeAISubscriber(),
180882
- version: "0.7.5",
180885
+ version: "0.7.6",
180883
180886
  versionBase: getVersionBase(),
180884
- buildTime: "1775371064",
180887
+ buildTime: "1775371392",
180885
180888
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
180886
180889
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
180887
180890
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -181499,7 +181502,7 @@ function initialize1PEventLogging() {
181499
181502
  const platform3 = getPlatform();
181500
181503
  const attributes = {
181501
181504
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
181502
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.5"
181505
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.6"
181503
181506
  };
181504
181507
  if (platform3 === "wsl") {
181505
181508
  const wslVersion = getWslVersion();
@@ -181526,7 +181529,7 @@ function initialize1PEventLogging() {
181526
181529
  })
181527
181530
  ]
181528
181531
  });
181529
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.5");
181532
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.6");
181530
181533
  }
181531
181534
  async function reinitialize1PEventLoggingIfConfigChanged() {
181532
181535
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -183351,7 +183354,7 @@ function getAttributionHeader(fingerprint) {
183351
183354
  if (!isAttributionHeaderEnabled()) {
183352
183355
  return "";
183353
183356
  }
183354
- const version6 = `${"0.7.5"}.${fingerprint}`;
183357
+ const version6 = `${"0.7.6"}.${fingerprint}`;
183355
183358
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183356
183359
  const cch = "";
183357
183360
  const workload = getWorkload();
@@ -247426,7 +247429,7 @@ function getTelemetryAttributes() {
247426
247429
  attributes["session.id"] = sessionId;
247427
247430
  }
247428
247431
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247429
- attributes["app.version"] = "0.7.5";
247432
+ attributes["app.version"] = "0.7.6";
247430
247433
  }
247431
247434
  const oauthAccount = getOauthAccountInfo();
247432
247435
  if (oauthAccount) {
@@ -278603,7 +278606,7 @@ function getInstallationEnv() {
278603
278606
  return;
278604
278607
  }
278605
278608
  function getClaudeCodeVersion() {
278606
- return "0.7.5";
278609
+ return "0.7.6";
278607
278610
  }
278608
278611
  async function getInstalledVSCodeExtensionVersion(command) {
278609
278612
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -284137,7 +284140,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284137
284140
  const client4 = new Client({
284138
284141
  name: "claude-code",
284139
284142
  title: "Claude Code",
284140
- version: "0.7.5",
284143
+ version: "0.7.6",
284141
284144
  description: "Anthropic's agentic coding tool",
284142
284145
  websiteUrl: PRODUCT_URL
284143
284146
  }, {
@@ -284491,7 +284494,7 @@ var init_client8 = __esm(() => {
284491
284494
  const client4 = new Client({
284492
284495
  name: "claude-code",
284493
284496
  title: "Claude Code",
284494
- version: "0.7.5",
284497
+ version: "0.7.6",
284495
284498
  description: "Anthropic's agentic coding tool",
284496
284499
  websiteUrl: PRODUCT_URL
284497
284500
  }, {
@@ -332623,7 +332626,7 @@ async function initializeBetaTracing(resource) {
332623
332626
  });
332624
332627
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332625
332628
  setLoggerProvider(loggerProvider);
332626
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.5");
332629
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
332627
332630
  setEventLogger(eventLogger);
332628
332631
  process.on("beforeExit", async () => {
332629
332632
  await loggerProvider?.forceFlush();
@@ -332663,7 +332666,7 @@ async function initializeTelemetry() {
332663
332666
  const platform5 = getPlatform();
332664
332667
  const baseAttributes = {
332665
332668
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332666
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.5"
332669
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.6"
332667
332670
  };
332668
332671
  if (platform5 === "wsl") {
332669
332672
  const wslVersion = getWslVersion();
@@ -332708,7 +332711,7 @@ async function initializeTelemetry() {
332708
332711
  } catch {}
332709
332712
  };
332710
332713
  registerCleanup(shutdownTelemetry2);
332711
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.5");
332714
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.6");
332712
332715
  }
332713
332716
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332714
332717
  resource,
@@ -332728,7 +332731,7 @@ async function initializeTelemetry() {
332728
332731
  });
332729
332732
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332730
332733
  setLoggerProvider(loggerProvider);
332731
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.5");
332734
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.6");
332732
332735
  setEventLogger(eventLogger);
332733
332736
  logForDebugging("[3P telemetry] Event logger set successfully");
332734
332737
  process.on("beforeExit", async () => {
@@ -332790,7 +332793,7 @@ Current timeout: ${timeoutMs}ms
332790
332793
  }
332791
332794
  };
332792
332795
  registerCleanup(shutdownTelemetry);
332793
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.5");
332796
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.6");
332794
332797
  }
332795
332798
  async function flushTelemetry() {
332796
332799
  const meterProvider = getMeterProvider();
@@ -333479,9 +333482,9 @@ async function assertMinVersion() {
333479
333482
  }
333480
333483
  try {
333481
333484
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333482
- if (versionConfig.minVersion && lt("0.7.5", versionConfig.minVersion)) {
333485
+ if (versionConfig.minVersion && lt("0.7.6", versionConfig.minVersion)) {
333483
333486
  console.error(`
333484
- It looks like your version of Cody CLI (${"0.7.5"}) needs an update.
333487
+ It looks like your version of Cody CLI (${"0.7.6"}) needs an update.
333485
333488
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333486
333489
 
333487
333490
  To update, please run:
@@ -333718,7 +333721,7 @@ async function installGlobalPackage(specificVersion) {
333718
333721
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333719
333722
  logEvent("tengu_auto_updater_lock_contention", {
333720
333723
  pid: process.pid,
333721
- currentVersion: "0.7.5"
333724
+ currentVersion: "0.7.6"
333722
333725
  });
333723
333726
  return "in_progress";
333724
333727
  }
@@ -333727,7 +333730,7 @@ async function installGlobalPackage(specificVersion) {
333727
333730
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333728
333731
  logError2(new Error("Windows NPM detected in WSL environment"));
333729
333732
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333730
- currentVersion: "0.7.5"
333733
+ currentVersion: "0.7.6"
333731
333734
  });
333732
333735
  console.error(`
333733
333736
  Error: Windows NPM detected in WSL
@@ -334262,7 +334265,7 @@ function detectLinuxGlobPatternWarnings() {
334262
334265
  }
334263
334266
  async function getDoctorDiagnostic() {
334264
334267
  const installationType = await getCurrentInstallationType();
334265
- const version6 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
334268
+ const version6 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
334266
334269
  const installationPath = await getInstallationPath();
334267
334270
  const invokedBinary = getInvokedBinary();
334268
334271
  const multipleInstallations = await detectMultipleInstallations();
@@ -335097,8 +335100,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335097
335100
  const maxVersion = await getMaxVersion();
335098
335101
  if (maxVersion && gt(version6, maxVersion)) {
335099
335102
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335100
- if (gte("0.7.5", maxVersion)) {
335101
- logForDebugging(`Native installer: current version ${"0.7.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
335103
+ if (gte("0.7.6", maxVersion)) {
335104
+ logForDebugging(`Native installer: current version ${"0.7.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
335102
335105
  logEvent("tengu_native_update_skipped_max_version", {
335103
335106
  latency_ms: Date.now() - startTime,
335104
335107
  max_version: maxVersion,
@@ -335109,7 +335112,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335109
335112
  version6 = maxVersion;
335110
335113
  }
335111
335114
  }
335112
- if (!forceReinstall && version6 === "0.7.5" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335115
+ if (!forceReinstall && version6 === "0.7.6" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335113
335116
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335114
335117
  logEvent("tengu_native_update_complete", {
335115
335118
  latency_ms: Date.now() - startTime,
@@ -418698,7 +418701,7 @@ function getAnthropicEnvMetadata() {
418698
418701
  function getBuildAgeMinutes() {
418699
418702
  if (false)
418700
418703
  ;
418701
- const buildTime = new Date("1775371064").getTime();
418704
+ const buildTime = new Date("1775371392").getTime();
418702
418705
  if (isNaN(buildTime))
418703
418706
  return;
418704
418707
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442210,7 +442213,7 @@ function Feedback({
442210
442213
  platform: env4.platform,
442211
442214
  gitRepo: envInfo.isGit,
442212
442215
  terminal: env4.terminal,
442213
- version: "0.7.5",
442216
+ version: "0.7.6",
442214
442217
  transcript: normalizeMessagesForAPI(messages),
442215
442218
  errors: sanitizedErrors,
442216
442219
  lastApiRequest: getLastAPIRequest(),
@@ -442402,7 +442405,7 @@ function Feedback({
442402
442405
  ", ",
442403
442406
  env4.terminal,
442404
442407
  ", v",
442405
- "0.7.5"
442408
+ "0.7.6"
442406
442409
  ]
442407
442410
  }, undefined, true, undefined, this)
442408
442411
  ]
@@ -442508,7 +442511,7 @@ ${sanitizedDescription}
442508
442511
  ` + `**Environment Info**
442509
442512
  ` + `- Platform: ${env4.platform}
442510
442513
  ` + `- Terminal: ${env4.terminal}
442511
- ` + `- Version: ${"0.7.5"}
442514
+ ` + `- Version: ${"0.7.6"}
442512
442515
  ` + `- Feedback ID: ${feedbackId}
442513
442516
  ` + `
442514
442517
  **Errors**
@@ -445608,7 +445611,7 @@ function buildPrimarySection() {
445608
445611
  }, undefined, false, undefined, this);
445609
445612
  return [{
445610
445613
  label: "Version",
445611
- value: "0.7.5"
445614
+ value: "0.7.6"
445612
445615
  }, {
445613
445616
  label: "Session name",
445614
445617
  value: nameValue
@@ -449359,7 +449362,7 @@ function Config({
449359
449362
  }
449360
449363
  }, undefined, false, undefined, this)
449361
449364
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449362
- currentVersion: "0.7.5",
449365
+ currentVersion: "0.7.6",
449363
449366
  onChoice: (choice) => {
449364
449367
  setShowSubmenu(null);
449365
449368
  setTabsHidden(false);
@@ -449371,7 +449374,7 @@ function Config({
449371
449374
  autoUpdatesChannel: "stable"
449372
449375
  };
449373
449376
  if (choice === "stay") {
449374
- newSettings.minimumVersion = "0.7.5";
449377
+ newSettings.minimumVersion = "0.7.6";
449375
449378
  }
449376
449379
  updateSettingsForSource("userSettings", newSettings);
449377
449380
  setSettingsData((prev_27) => ({
@@ -457372,7 +457375,7 @@ function HelpV2(t0) {
457372
457375
  let t6;
457373
457376
  if ($3[31] !== tabs) {
457374
457377
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457375
- title: `Claude Code v${"0.7.5"}`,
457378
+ title: `Claude Code v${"0.7.6"}`,
457376
457379
  color: "professionalBlue",
457377
457380
  defaultTab: "general",
457378
457381
  children: tabs
@@ -481562,7 +481565,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481562
481565
  return [];
481563
481566
  }
481564
481567
  }
481565
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.5") {
481568
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.6") {
481566
481569
  if (false) {}
481567
481570
  const cachedChangelog = await getStoredChangelog();
481568
481571
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481575,7 +481578,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.5") {
481575
481578
  releaseNotes
481576
481579
  };
481577
481580
  }
481578
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.5") {
481581
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.6") {
481579
481582
  if (false) {}
481580
481583
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481581
481584
  return {
@@ -482731,7 +482734,7 @@ function getRecentActivitySync() {
482731
482734
  return cachedActivity;
482732
482735
  }
482733
482736
  function getLogoDisplayData() {
482734
- const version6 = process.env.DEMO_VERSION ?? "0.7.5";
482737
+ const version6 = process.env.DEMO_VERSION ?? "0.7.6";
482735
482738
  const serverUrl = getDirectConnectServerUrl();
482736
482739
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
482737
482740
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484239,7 +484242,7 @@ function LogoV2() {
484239
484242
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484240
484243
  t2 = () => {
484241
484244
  const currentConfig = getGlobalConfig();
484242
- if (currentConfig.lastReleaseNotesSeen === "0.7.5") {
484245
+ if (currentConfig.lastReleaseNotesSeen === "0.7.6") {
484243
484246
  return;
484244
484247
  }
484245
484248
  saveGlobalConfig(_temp329);
@@ -484915,12 +484918,12 @@ function LogoV2() {
484915
484918
  return t41;
484916
484919
  }
484917
484920
  function _temp329(current) {
484918
- if (current.lastReleaseNotesSeen === "0.7.5") {
484921
+ if (current.lastReleaseNotesSeen === "0.7.6") {
484919
484922
  return current;
484920
484923
  }
484921
484924
  return {
484922
484925
  ...current,
484923
- lastReleaseNotesSeen: "0.7.5"
484926
+ lastReleaseNotesSeen: "0.7.6"
484924
484927
  };
484925
484928
  }
484926
484929
  function _temp245(s_0) {
@@ -511258,7 +511261,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511258
511261
  smapsRollup,
511259
511262
  platform: process.platform,
511260
511263
  nodeVersion: process.version,
511261
- ccVersion: "0.7.5"
511264
+ ccVersion: "0.7.6"
511262
511265
  };
511263
511266
  }
511264
511267
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -511786,7 +511789,7 @@ var init_bridge_kick = __esm(() => {
511786
511789
  var call56 = async () => {
511787
511790
  return {
511788
511791
  type: "text",
511789
- value: `${"0.7.5"} (built ${"1775371064"})`
511792
+ value: `${"0.7.6"} (built ${"1775371392"})`
511790
511793
  };
511791
511794
  }, version6, version_default;
511792
511795
  var init_version = __esm(() => {
@@ -520733,7 +520736,7 @@ function generateHtmlReport(data, insights) {
520733
520736
  </html>`;
520734
520737
  }
520735
520738
  function buildExportData(data, insights, facets, remoteStats) {
520736
- const version7 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
520739
+ const version7 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
520737
520740
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520738
520741
  const facets_summary = {
520739
520742
  total: facets.size,
@@ -524679,7 +524682,7 @@ var init_sessionStorage = __esm(() => {
524679
524682
  init_settings2();
524680
524683
  init_slowOperations();
524681
524684
  init_uuid();
524682
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
524685
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.6" : "unknown";
524683
524686
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524684
524687
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524685
524688
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -525884,7 +525887,7 @@ var init_filesystem = __esm(() => {
525884
525887
  });
525885
525888
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
525886
525889
  const nonce = randomBytes19(16).toString("hex");
525887
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.5", nonce);
525890
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.6", nonce);
525888
525891
  });
525889
525892
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
525890
525893
  });
@@ -531856,7 +531859,7 @@ function computeFingerprint(messageText, version7) {
531856
531859
  }
531857
531860
  function computeFingerprintFromMessages(messages) {
531858
531861
  const firstMessageText = extractFirstMessageText(messages);
531859
- return computeFingerprint(firstMessageText, "0.7.5");
531862
+ return computeFingerprint(firstMessageText, "0.7.6");
531860
531863
  }
531861
531864
  var FINGERPRINT_SALT = "59cf53e54c78";
531862
531865
  var init_fingerprint = () => {};
@@ -533770,7 +533773,7 @@ async function sideQuery(opts) {
533770
533773
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
533771
533774
  }
533772
533775
  const messageText = extractFirstUserMessageText(messages);
533773
- const fingerprint = computeFingerprint(messageText, "0.7.5");
533776
+ const fingerprint = computeFingerprint(messageText, "0.7.6");
533774
533777
  const attributionHeader = getAttributionHeader(fingerprint);
533775
533778
  const systemBlocks = [
533776
533779
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538294,7 +538297,7 @@ function buildSystemInitMessage(inputs) {
538294
538297
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538295
538298
  apiKeySource: getAnthropicApiKeyWithSource().source,
538296
538299
  betas: getSdkBetas(),
538297
- claude_code_version: "0.7.5",
538300
+ claude_code_version: "0.7.6",
538298
538301
  output_style: outputStyle2,
538299
538302
  agents: inputs.agents.map((agent) => agent.agentType),
538300
538303
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -552846,7 +552849,7 @@ var init_useVoiceEnabled = __esm(() => {
552846
552849
  function getSemverPart(version7) {
552847
552850
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
552848
552851
  }
552849
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.5") {
552852
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.6") {
552850
552853
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
552851
552854
  if (!updatedVersion) {
552852
552855
  return null;
@@ -552886,7 +552889,7 @@ function AutoUpdater({
552886
552889
  return;
552887
552890
  }
552888
552891
  if (false) {}
552889
- const currentVersion = "0.7.5";
552892
+ const currentVersion = "0.7.6";
552890
552893
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
552891
552894
  let latestVersion = await getLatestVersion(channel);
552892
552895
  const isDisabled = isAutoUpdaterDisabled();
@@ -553099,12 +553102,12 @@ function NativeAutoUpdater({
553099
553102
  logEvent("tengu_native_auto_updater_start", {});
553100
553103
  try {
553101
553104
  const maxVersion = await getMaxVersion();
553102
- if (maxVersion && gt("0.7.5", maxVersion)) {
553105
+ if (maxVersion && gt("0.7.6", maxVersion)) {
553103
553106
  const msg = await getMaxVersionMessage();
553104
553107
  setMaxVersionIssue(msg ?? "affects your version");
553105
553108
  }
553106
553109
  const result = await installLatest(channel);
553107
- const currentVersion = "0.7.5";
553110
+ const currentVersion = "0.7.6";
553108
553111
  const latencyMs = Date.now() - startTime;
553109
553112
  if (result.lockFailed) {
553110
553113
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553241,17 +553244,17 @@ function PackageManagerAutoUpdater(t0) {
553241
553244
  const maxVersion = await getMaxVersion();
553242
553245
  if (maxVersion && latest && gt(latest, maxVersion)) {
553243
553246
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553244
- if (gte("0.7.5", maxVersion)) {
553245
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
553247
+ if (gte("0.7.6", maxVersion)) {
553248
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
553246
553249
  setUpdateAvailable(false);
553247
553250
  return;
553248
553251
  }
553249
553252
  latest = maxVersion;
553250
553253
  }
553251
- const hasUpdate = latest && !gte("0.7.5", latest) && !shouldSkipVersion(latest);
553254
+ const hasUpdate = latest && !gte("0.7.6", latest) && !shouldSkipVersion(latest);
553252
553255
  setUpdateAvailable(!!hasUpdate);
553253
553256
  if (hasUpdate) {
553254
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.5"} -> ${latest}`);
553257
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.6"} -> ${latest}`);
553255
553258
  }
553256
553259
  };
553257
553260
  $3[0] = t1;
@@ -553285,7 +553288,7 @@ function PackageManagerAutoUpdater(t0) {
553285
553288
  wrap: "truncate",
553286
553289
  children: [
553287
553290
  "currentVersion: ",
553288
- "0.7.5"
553291
+ "0.7.6"
553289
553292
  ]
553290
553293
  }, undefined, true, undefined, this);
553291
553294
  $3[3] = verbose;
@@ -561395,7 +561398,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561395
561398
  project_dir: getOriginalCwd(),
561396
561399
  added_dirs: addedDirs
561397
561400
  },
561398
- version: "0.7.5",
561401
+ version: "0.7.6",
561399
561402
  output_style: {
561400
561403
  name: outputStyleName
561401
561404
  },
@@ -572769,7 +572772,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
572769
572772
  } catch {}
572770
572773
  const data = {
572771
572774
  trigger,
572772
- version: "0.7.5",
572775
+ version: "0.7.6",
572773
572776
  platform: process.platform,
572774
572777
  transcript,
572775
572778
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -584733,7 +584736,7 @@ function WelcomeV2() {
584733
584736
  dimColor: true,
584734
584737
  children: [
584735
584738
  "v",
584736
- "0.7.5",
584739
+ "0.7.6",
584737
584740
  " "
584738
584741
  ]
584739
584742
  }, undefined, true, undefined, this)
@@ -584933,7 +584936,7 @@ function WelcomeV2() {
584933
584936
  dimColor: true,
584934
584937
  children: [
584935
584938
  "v",
584936
- "0.7.5",
584939
+ "0.7.6",
584937
584940
  " "
584938
584941
  ]
584939
584942
  }, undefined, true, undefined, this)
@@ -585159,7 +585162,7 @@ function AppleTerminalWelcomeV2(t0) {
585159
585162
  dimColor: true,
585160
585163
  children: [
585161
585164
  "v",
585162
- "0.7.5",
585165
+ "0.7.6",
585163
585166
  " "
585164
585167
  ]
585165
585168
  }, undefined, true, undefined, this);
@@ -585413,7 +585416,7 @@ function AppleTerminalWelcomeV2(t0) {
585413
585416
  dimColor: true,
585414
585417
  children: [
585415
585418
  "v",
585416
- "0.7.5",
585419
+ "0.7.6",
585417
585420
  " "
585418
585421
  ]
585419
585422
  }, undefined, true, undefined, this);
@@ -586917,7 +586920,7 @@ function completeOnboarding() {
586917
586920
  saveGlobalConfig((current) => ({
586918
586921
  ...current,
586919
586922
  hasCompletedOnboarding: true,
586920
- lastOnboardingVersion: "0.7.5"
586923
+ lastOnboardingVersion: "0.7.6"
586921
586924
  }));
586922
586925
  }
586923
586926
  function showDialog(root2, renderer) {
@@ -591395,7 +591398,7 @@ function appendToLog(path28, message) {
591395
591398
  cwd: getFsImplementation().cwd(),
591396
591399
  userType: "external",
591397
591400
  sessionId: getSessionId(),
591398
- version: "0.7.5"
591401
+ version: "0.7.6"
591399
591402
  };
591400
591403
  getLogWriter(path28).write(messageWithTimestamp);
591401
591404
  }
@@ -595354,8 +595357,8 @@ async function getEnvLessBridgeConfig() {
595354
595357
  }
595355
595358
  async function checkEnvLessBridgeMinVersion() {
595356
595359
  const cfg = await getEnvLessBridgeConfig();
595357
- if (cfg.min_version && lt("0.7.5", cfg.min_version)) {
595358
- return `Your version of Cody CLI (${"0.7.5"}) is too old for Remote Control.
595360
+ if (cfg.min_version && lt("0.7.6", cfg.min_version)) {
595361
+ return `Your version of Cody CLI (${"0.7.6"}) is too old for Remote Control.
595359
595362
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
595360
595363
  }
595361
595364
  return null;
@@ -595829,7 +595832,7 @@ async function initBridgeCore(params) {
595829
595832
  const rawApi = createBridgeApiClient({
595830
595833
  baseUrl,
595831
595834
  getAccessToken,
595832
- runnerVersion: "0.7.5",
595835
+ runnerVersion: "0.7.6",
595833
595836
  onDebug: logForDebugging,
595834
595837
  onAuth401,
595835
595838
  getTrustedDeviceToken
@@ -601466,7 +601469,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601466
601469
  setCwd(cwd3);
601467
601470
  const server = new Server({
601468
601471
  name: "claude/tengu",
601469
- version: "0.7.5"
601472
+ version: "0.7.6"
601470
601473
  }, {
601471
601474
  capabilities: {
601472
601475
  tools: {}
@@ -603077,7 +603080,7 @@ __export(exports_update, {
603077
603080
  });
603078
603081
  async function update() {
603079
603082
  logEvent("tengu_update_check", {});
603080
- writeToStdout(`Current version: ${"0.7.5"}
603083
+ writeToStdout(`Current version: ${"0.7.6"}
603081
603084
  `);
603082
603085
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
603083
603086
  writeToStdout(`Checking for updates to ${channel} version...
@@ -603152,8 +603155,8 @@ async function update() {
603152
603155
  writeToStdout(`Cody CLI is managed by Homebrew.
603153
603156
  `);
603154
603157
  const latest = await getLatestVersion(channel);
603155
- if (latest && !gte("0.7.5", latest)) {
603156
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603158
+ if (latest && !gte("0.7.6", latest)) {
603159
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
603157
603160
  `);
603158
603161
  writeToStdout(`
603159
603162
  `);
@@ -603169,8 +603172,8 @@ async function update() {
603169
603172
  writeToStdout(`Cody CLI is managed by winget.
603170
603173
  `);
603171
603174
  const latest = await getLatestVersion(channel);
603172
- if (latest && !gte("0.7.5", latest)) {
603173
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603175
+ if (latest && !gte("0.7.6", latest)) {
603176
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
603174
603177
  `);
603175
603178
  writeToStdout(`
603176
603179
  `);
@@ -603186,8 +603189,8 @@ async function update() {
603186
603189
  writeToStdout(`Cody CLI is managed by apk.
603187
603190
  `);
603188
603191
  const latest = await getLatestVersion(channel);
603189
- if (latest && !gte("0.7.5", latest)) {
603190
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603192
+ if (latest && !gte("0.7.6", latest)) {
603193
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
603191
603194
  `);
603192
603195
  writeToStdout(`
603193
603196
  `);
@@ -603252,11 +603255,11 @@ async function update() {
603252
603255
  `);
603253
603256
  await gracefulShutdown(1);
603254
603257
  }
603255
- if (result.latestVersion === "0.7.5") {
603256
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.5"})`) + `
603258
+ if (result.latestVersion === "0.7.6") {
603259
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.6"})`) + `
603257
603260
  `);
603258
603261
  } else {
603259
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${result.latestVersion}`) + `
603262
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${result.latestVersion}`) + `
603260
603263
  `);
603261
603264
  await regenerateCompletionCache();
603262
603265
  }
@@ -603316,12 +603319,12 @@ async function update() {
603316
603319
  `);
603317
603320
  await gracefulShutdown(1);
603318
603321
  }
603319
- if (latestVersion === "0.7.5") {
603320
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.5"})`) + `
603322
+ if (latestVersion === "0.7.6") {
603323
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.6"})`) + `
603321
603324
  `);
603322
603325
  await gracefulShutdown(0);
603323
603326
  }
603324
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.5"})
603327
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.6"})
603325
603328
  `);
603326
603329
  writeToStdout(`Installing update...
603327
603330
  `);
@@ -603366,7 +603369,7 @@ async function update() {
603366
603369
  logForDebugging(`update: Installation status: ${status2}`);
603367
603370
  switch (status2) {
603368
603371
  case "success":
603369
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${latestVersion}`) + `
603372
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${latestVersion}`) + `
603370
603373
  `);
603371
603374
  await regenerateCompletionCache();
603372
603375
  break;
@@ -604610,7 +604613,7 @@ ${customInstructions}` : customInstructions;
604610
604613
  }
604611
604614
  }
604612
604615
  logForDiagnosticsNoPII("info", "started", {
604613
- version: "0.7.5",
604616
+ version: "0.7.6",
604614
604617
  is_native_binary: isInBundledMode()
604615
604618
  });
604616
604619
  registerCleanup(async () => {
@@ -605378,7 +605381,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605378
605381
  } else {
605379
605382
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605380
605383
  profileCheckpoint("action_after_hooks");
605381
- console.log(getWelcomeMessage("0.7.5"));
605384
+ console.log(getWelcomeMessage("0.7.6"));
605382
605385
  maybeActivateProactive(options);
605383
605386
  maybeActivateBrief(options);
605384
605387
  if (false) {}
@@ -605395,10 +605398,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605395
605398
  pendingHookMessages
605396
605399
  }, renderAndRun);
605397
605400
  }
605398
- }).version("0.7.5 (Cody CLI)", "-v, --version", "Output the version number");
605401
+ }).version("0.7.6 (Cody CLI)", "-v, --version", "Output the version number");
605399
605402
  program2.configureOutput({
605400
605403
  writeOut: (str2) => {
605401
- if (str2.includes("0.7.5")) {
605404
+ if (str2.includes("0.7.6")) {
605402
605405
  process.stdout.write(getCodyLogo() + `
605403
605406
  ` + str2);
605404
605407
  } else {
@@ -605937,7 +605940,7 @@ async function main2() {
605937
605940
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605938
605941
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605939
605942
  console.log(getCodyLogo2() + `
605940
- 0.7.5 (Cody CLI)`);
605943
+ 0.7.6 (Cody CLI)`);
605941
605944
  return;
605942
605945
  }
605943
605946
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "type": "module",
5
5
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
6
6
  "main": "dist/cli.js",