@ainative/cody-cli 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +92 -89
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -130492,6 +130492,9 @@ function getRuntimeMainLoopModel(params) {
130492
130492
  return mainLoopModel;
130493
130493
  }
130494
130494
  function getDefaultMainLoopModelSetting() {
130495
+ if (isAINativeProvider()) {
130496
+ return getDefaultSonnetModel();
130497
+ }
130495
130498
  if (false) {}
130496
130499
  if (isMaxSubscriber()) {
130497
130500
  return getDefaultOpusModel() + (isOpus1mMergeEnabled() ? "[1m]" : "");
@@ -172970,7 +172973,7 @@ var init_auth2 = __esm(() => {
172970
172973
 
172971
172974
  // src/utils/userAgent.ts
172972
172975
  function getCodyUserAgent() {
172973
- return `cody-cli/${"0.7.4"}`;
172976
+ return `cody-cli/${"0.7.5"}`;
172974
172977
  }
172975
172978
 
172976
172979
  // src/utils/workloadContext.ts
@@ -172992,7 +172995,7 @@ function getUserAgent() {
172992
172995
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
172993
172996
  const workload = getWorkload();
172994
172997
  const workloadSuffix = workload ? `, workload/${workload}` : "";
172995
- return `claude-cli/${"0.7.4"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
172998
+ return `claude-cli/${"0.7.5"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
172996
172999
  }
172997
173000
  function getMCPUserAgent() {
172998
173001
  const parts = [];
@@ -173006,7 +173009,7 @@ function getMCPUserAgent() {
173006
173009
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
173007
173010
  }
173008
173011
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
173009
- return `claude-code/${"0.7.4"}${suffix}`;
173012
+ return `claude-code/${"0.7.5"}${suffix}`;
173010
173013
  }
173011
173014
  function getWebFetchUserAgent() {
173012
173015
  return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
@@ -173144,7 +173147,7 @@ var init_user = __esm(() => {
173144
173147
  deviceId,
173145
173148
  sessionId: getSessionId(),
173146
173149
  email: getEmail(),
173147
- appVersion: "0.7.4",
173150
+ appVersion: "0.7.5",
173148
173151
  platform: getHostPlatformForAnalytics(),
173149
173152
  organizationUuid,
173150
173153
  accountUuid,
@@ -180836,7 +180839,7 @@ var init_metadata = __esm(() => {
180836
180839
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
180837
180840
  WHITESPACE_REGEX = /\s+/;
180838
180841
  getVersionBase = memoize_default(() => {
180839
- const match = "0.7.4".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180842
+ const match = "0.7.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180840
180843
  return match ? match[0] : undefined;
180841
180844
  });
180842
180845
  buildEnvContext = memoize_default(async () => {
@@ -180876,9 +180879,9 @@ var init_metadata = __esm(() => {
180876
180879
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
180877
180880
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
180878
180881
  isClaudeAiAuth: isClaudeAISubscriber(),
180879
- version: "0.7.4",
180882
+ version: "0.7.5",
180880
180883
  versionBase: getVersionBase(),
180881
- buildTime: "1775370899",
180884
+ buildTime: "1775371064",
180882
180885
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
180883
180886
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
180884
180887
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -181496,7 +181499,7 @@ function initialize1PEventLogging() {
181496
181499
  const platform3 = getPlatform();
181497
181500
  const attributes = {
181498
181501
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
181499
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.4"
181502
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.5"
181500
181503
  };
181501
181504
  if (platform3 === "wsl") {
181502
181505
  const wslVersion = getWslVersion();
@@ -181523,7 +181526,7 @@ function initialize1PEventLogging() {
181523
181526
  })
181524
181527
  ]
181525
181528
  });
181526
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.4");
181529
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.5");
181527
181530
  }
181528
181531
  async function reinitialize1PEventLoggingIfConfigChanged() {
181529
181532
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -183348,7 +183351,7 @@ function getAttributionHeader(fingerprint) {
183348
183351
  if (!isAttributionHeaderEnabled()) {
183349
183352
  return "";
183350
183353
  }
183351
- const version6 = `${"0.7.4"}.${fingerprint}`;
183354
+ const version6 = `${"0.7.5"}.${fingerprint}`;
183352
183355
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183353
183356
  const cch = "";
183354
183357
  const workload = getWorkload();
@@ -247423,7 +247426,7 @@ function getTelemetryAttributes() {
247423
247426
  attributes["session.id"] = sessionId;
247424
247427
  }
247425
247428
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247426
- attributes["app.version"] = "0.7.4";
247429
+ attributes["app.version"] = "0.7.5";
247427
247430
  }
247428
247431
  const oauthAccount = getOauthAccountInfo();
247429
247432
  if (oauthAccount) {
@@ -278600,7 +278603,7 @@ function getInstallationEnv() {
278600
278603
  return;
278601
278604
  }
278602
278605
  function getClaudeCodeVersion() {
278603
- return "0.7.4";
278606
+ return "0.7.5";
278604
278607
  }
278605
278608
  async function getInstalledVSCodeExtensionVersion(command) {
278606
278609
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -284134,7 +284137,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284134
284137
  const client4 = new Client({
284135
284138
  name: "claude-code",
284136
284139
  title: "Claude Code",
284137
- version: "0.7.4",
284140
+ version: "0.7.5",
284138
284141
  description: "Anthropic's agentic coding tool",
284139
284142
  websiteUrl: PRODUCT_URL
284140
284143
  }, {
@@ -284488,7 +284491,7 @@ var init_client8 = __esm(() => {
284488
284491
  const client4 = new Client({
284489
284492
  name: "claude-code",
284490
284493
  title: "Claude Code",
284491
- version: "0.7.4",
284494
+ version: "0.7.5",
284492
284495
  description: "Anthropic's agentic coding tool",
284493
284496
  websiteUrl: PRODUCT_URL
284494
284497
  }, {
@@ -332620,7 +332623,7 @@ async function initializeBetaTracing(resource) {
332620
332623
  });
332621
332624
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332622
332625
  setLoggerProvider(loggerProvider);
332623
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.4");
332626
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.5");
332624
332627
  setEventLogger(eventLogger);
332625
332628
  process.on("beforeExit", async () => {
332626
332629
  await loggerProvider?.forceFlush();
@@ -332660,7 +332663,7 @@ async function initializeTelemetry() {
332660
332663
  const platform5 = getPlatform();
332661
332664
  const baseAttributes = {
332662
332665
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332663
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.4"
332666
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.5"
332664
332667
  };
332665
332668
  if (platform5 === "wsl") {
332666
332669
  const wslVersion = getWslVersion();
@@ -332705,7 +332708,7 @@ async function initializeTelemetry() {
332705
332708
  } catch {}
332706
332709
  };
332707
332710
  registerCleanup(shutdownTelemetry2);
332708
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.4");
332711
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.5");
332709
332712
  }
332710
332713
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332711
332714
  resource,
@@ -332725,7 +332728,7 @@ async function initializeTelemetry() {
332725
332728
  });
332726
332729
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332727
332730
  setLoggerProvider(loggerProvider);
332728
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.4");
332731
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.5");
332729
332732
  setEventLogger(eventLogger);
332730
332733
  logForDebugging("[3P telemetry] Event logger set successfully");
332731
332734
  process.on("beforeExit", async () => {
@@ -332787,7 +332790,7 @@ Current timeout: ${timeoutMs}ms
332787
332790
  }
332788
332791
  };
332789
332792
  registerCleanup(shutdownTelemetry);
332790
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.4");
332793
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.5");
332791
332794
  }
332792
332795
  async function flushTelemetry() {
332793
332796
  const meterProvider = getMeterProvider();
@@ -333476,9 +333479,9 @@ async function assertMinVersion() {
333476
333479
  }
333477
333480
  try {
333478
333481
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333479
- if (versionConfig.minVersion && lt("0.7.4", versionConfig.minVersion)) {
333482
+ if (versionConfig.minVersion && lt("0.7.5", versionConfig.minVersion)) {
333480
333483
  console.error(`
333481
- It looks like your version of Cody CLI (${"0.7.4"}) needs an update.
333484
+ It looks like your version of Cody CLI (${"0.7.5"}) needs an update.
333482
333485
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333483
333486
 
333484
333487
  To update, please run:
@@ -333715,7 +333718,7 @@ async function installGlobalPackage(specificVersion) {
333715
333718
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333716
333719
  logEvent("tengu_auto_updater_lock_contention", {
333717
333720
  pid: process.pid,
333718
- currentVersion: "0.7.4"
333721
+ currentVersion: "0.7.5"
333719
333722
  });
333720
333723
  return "in_progress";
333721
333724
  }
@@ -333724,7 +333727,7 @@ async function installGlobalPackage(specificVersion) {
333724
333727
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333725
333728
  logError2(new Error("Windows NPM detected in WSL environment"));
333726
333729
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333727
- currentVersion: "0.7.4"
333730
+ currentVersion: "0.7.5"
333728
333731
  });
333729
333732
  console.error(`
333730
333733
  Error: Windows NPM detected in WSL
@@ -334259,7 +334262,7 @@ function detectLinuxGlobPatternWarnings() {
334259
334262
  }
334260
334263
  async function getDoctorDiagnostic() {
334261
334264
  const installationType = await getCurrentInstallationType();
334262
- const version6 = typeof MACRO !== "undefined" ? "0.7.4" : "unknown";
334265
+ const version6 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
334263
334266
  const installationPath = await getInstallationPath();
334264
334267
  const invokedBinary = getInvokedBinary();
334265
334268
  const multipleInstallations = await detectMultipleInstallations();
@@ -335094,8 +335097,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335094
335097
  const maxVersion = await getMaxVersion();
335095
335098
  if (maxVersion && gt(version6, maxVersion)) {
335096
335099
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335097
- if (gte("0.7.4", maxVersion)) {
335098
- logForDebugging(`Native installer: current version ${"0.7.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
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`);
335099
335102
  logEvent("tengu_native_update_skipped_max_version", {
335100
335103
  latency_ms: Date.now() - startTime,
335101
335104
  max_version: maxVersion,
@@ -335106,7 +335109,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335106
335109
  version6 = maxVersion;
335107
335110
  }
335108
335111
  }
335109
- if (!forceReinstall && version6 === "0.7.4" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335112
+ if (!forceReinstall && version6 === "0.7.5" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335110
335113
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335111
335114
  logEvent("tengu_native_update_complete", {
335112
335115
  latency_ms: Date.now() - startTime,
@@ -418695,7 +418698,7 @@ function getAnthropicEnvMetadata() {
418695
418698
  function getBuildAgeMinutes() {
418696
418699
  if (false)
418697
418700
  ;
418698
- const buildTime = new Date("1775370899").getTime();
418701
+ const buildTime = new Date("1775371064").getTime();
418699
418702
  if (isNaN(buildTime))
418700
418703
  return;
418701
418704
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442207,7 +442210,7 @@ function Feedback({
442207
442210
  platform: env4.platform,
442208
442211
  gitRepo: envInfo.isGit,
442209
442212
  terminal: env4.terminal,
442210
- version: "0.7.4",
442213
+ version: "0.7.5",
442211
442214
  transcript: normalizeMessagesForAPI(messages),
442212
442215
  errors: sanitizedErrors,
442213
442216
  lastApiRequest: getLastAPIRequest(),
@@ -442399,7 +442402,7 @@ function Feedback({
442399
442402
  ", ",
442400
442403
  env4.terminal,
442401
442404
  ", v",
442402
- "0.7.4"
442405
+ "0.7.5"
442403
442406
  ]
442404
442407
  }, undefined, true, undefined, this)
442405
442408
  ]
@@ -442505,7 +442508,7 @@ ${sanitizedDescription}
442505
442508
  ` + `**Environment Info**
442506
442509
  ` + `- Platform: ${env4.platform}
442507
442510
  ` + `- Terminal: ${env4.terminal}
442508
- ` + `- Version: ${"0.7.4"}
442511
+ ` + `- Version: ${"0.7.5"}
442509
442512
  ` + `- Feedback ID: ${feedbackId}
442510
442513
  ` + `
442511
442514
  **Errors**
@@ -445605,7 +445608,7 @@ function buildPrimarySection() {
445605
445608
  }, undefined, false, undefined, this);
445606
445609
  return [{
445607
445610
  label: "Version",
445608
- value: "0.7.4"
445611
+ value: "0.7.5"
445609
445612
  }, {
445610
445613
  label: "Session name",
445611
445614
  value: nameValue
@@ -449356,7 +449359,7 @@ function Config({
449356
449359
  }
449357
449360
  }, undefined, false, undefined, this)
449358
449361
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449359
- currentVersion: "0.7.4",
449362
+ currentVersion: "0.7.5",
449360
449363
  onChoice: (choice) => {
449361
449364
  setShowSubmenu(null);
449362
449365
  setTabsHidden(false);
@@ -449368,7 +449371,7 @@ function Config({
449368
449371
  autoUpdatesChannel: "stable"
449369
449372
  };
449370
449373
  if (choice === "stay") {
449371
- newSettings.minimumVersion = "0.7.4";
449374
+ newSettings.minimumVersion = "0.7.5";
449372
449375
  }
449373
449376
  updateSettingsForSource("userSettings", newSettings);
449374
449377
  setSettingsData((prev_27) => ({
@@ -457369,7 +457372,7 @@ function HelpV2(t0) {
457369
457372
  let t6;
457370
457373
  if ($3[31] !== tabs) {
457371
457374
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457372
- title: `Claude Code v${"0.7.4"}`,
457375
+ title: `Claude Code v${"0.7.5"}`,
457373
457376
  color: "professionalBlue",
457374
457377
  defaultTab: "general",
457375
457378
  children: tabs
@@ -481559,7 +481562,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481559
481562
  return [];
481560
481563
  }
481561
481564
  }
481562
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.4") {
481565
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.5") {
481563
481566
  if (false) {}
481564
481567
  const cachedChangelog = await getStoredChangelog();
481565
481568
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481572,7 +481575,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.4") {
481572
481575
  releaseNotes
481573
481576
  };
481574
481577
  }
481575
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.4") {
481578
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.5") {
481576
481579
  if (false) {}
481577
481580
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481578
481581
  return {
@@ -482728,7 +482731,7 @@ function getRecentActivitySync() {
482728
482731
  return cachedActivity;
482729
482732
  }
482730
482733
  function getLogoDisplayData() {
482731
- const version6 = process.env.DEMO_VERSION ?? "0.7.4";
482734
+ const version6 = process.env.DEMO_VERSION ?? "0.7.5";
482732
482735
  const serverUrl = getDirectConnectServerUrl();
482733
482736
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
482734
482737
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484236,7 +484239,7 @@ function LogoV2() {
484236
484239
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484237
484240
  t2 = () => {
484238
484241
  const currentConfig = getGlobalConfig();
484239
- if (currentConfig.lastReleaseNotesSeen === "0.7.4") {
484242
+ if (currentConfig.lastReleaseNotesSeen === "0.7.5") {
484240
484243
  return;
484241
484244
  }
484242
484245
  saveGlobalConfig(_temp329);
@@ -484912,12 +484915,12 @@ function LogoV2() {
484912
484915
  return t41;
484913
484916
  }
484914
484917
  function _temp329(current) {
484915
- if (current.lastReleaseNotesSeen === "0.7.4") {
484918
+ if (current.lastReleaseNotesSeen === "0.7.5") {
484916
484919
  return current;
484917
484920
  }
484918
484921
  return {
484919
484922
  ...current,
484920
- lastReleaseNotesSeen: "0.7.4"
484923
+ lastReleaseNotesSeen: "0.7.5"
484921
484924
  };
484922
484925
  }
484923
484926
  function _temp245(s_0) {
@@ -511255,7 +511258,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511255
511258
  smapsRollup,
511256
511259
  platform: process.platform,
511257
511260
  nodeVersion: process.version,
511258
- ccVersion: "0.7.4"
511261
+ ccVersion: "0.7.5"
511259
511262
  };
511260
511263
  }
511261
511264
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -511783,7 +511786,7 @@ var init_bridge_kick = __esm(() => {
511783
511786
  var call56 = async () => {
511784
511787
  return {
511785
511788
  type: "text",
511786
- value: `${"0.7.4"} (built ${"1775370899"})`
511789
+ value: `${"0.7.5"} (built ${"1775371064"})`
511787
511790
  };
511788
511791
  }, version6, version_default;
511789
511792
  var init_version = __esm(() => {
@@ -520730,7 +520733,7 @@ function generateHtmlReport(data, insights) {
520730
520733
  </html>`;
520731
520734
  }
520732
520735
  function buildExportData(data, insights, facets, remoteStats) {
520733
- const version7 = typeof MACRO !== "undefined" ? "0.7.4" : "unknown";
520736
+ const version7 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
520734
520737
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520735
520738
  const facets_summary = {
520736
520739
  total: facets.size,
@@ -524676,7 +524679,7 @@ var init_sessionStorage = __esm(() => {
524676
524679
  init_settings2();
524677
524680
  init_slowOperations();
524678
524681
  init_uuid();
524679
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.4" : "unknown";
524682
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.5" : "unknown";
524680
524683
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524681
524684
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524682
524685
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -525881,7 +525884,7 @@ var init_filesystem = __esm(() => {
525881
525884
  });
525882
525885
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
525883
525886
  const nonce = randomBytes19(16).toString("hex");
525884
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.4", nonce);
525887
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.5", nonce);
525885
525888
  });
525886
525889
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
525887
525890
  });
@@ -531853,7 +531856,7 @@ function computeFingerprint(messageText, version7) {
531853
531856
  }
531854
531857
  function computeFingerprintFromMessages(messages) {
531855
531858
  const firstMessageText = extractFirstMessageText(messages);
531856
- return computeFingerprint(firstMessageText, "0.7.4");
531859
+ return computeFingerprint(firstMessageText, "0.7.5");
531857
531860
  }
531858
531861
  var FINGERPRINT_SALT = "59cf53e54c78";
531859
531862
  var init_fingerprint = () => {};
@@ -533767,7 +533770,7 @@ async function sideQuery(opts) {
533767
533770
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
533768
533771
  }
533769
533772
  const messageText = extractFirstUserMessageText(messages);
533770
- const fingerprint = computeFingerprint(messageText, "0.7.4");
533773
+ const fingerprint = computeFingerprint(messageText, "0.7.5");
533771
533774
  const attributionHeader = getAttributionHeader(fingerprint);
533772
533775
  const systemBlocks = [
533773
533776
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538291,7 +538294,7 @@ function buildSystemInitMessage(inputs) {
538291
538294
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538292
538295
  apiKeySource: getAnthropicApiKeyWithSource().source,
538293
538296
  betas: getSdkBetas(),
538294
- claude_code_version: "0.7.4",
538297
+ claude_code_version: "0.7.5",
538295
538298
  output_style: outputStyle2,
538296
538299
  agents: inputs.agents.map((agent) => agent.agentType),
538297
538300
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -552843,7 +552846,7 @@ var init_useVoiceEnabled = __esm(() => {
552843
552846
  function getSemverPart(version7) {
552844
552847
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
552845
552848
  }
552846
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.4") {
552849
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.5") {
552847
552850
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
552848
552851
  if (!updatedVersion) {
552849
552852
  return null;
@@ -552883,7 +552886,7 @@ function AutoUpdater({
552883
552886
  return;
552884
552887
  }
552885
552888
  if (false) {}
552886
- const currentVersion = "0.7.4";
552889
+ const currentVersion = "0.7.5";
552887
552890
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
552888
552891
  let latestVersion = await getLatestVersion(channel);
552889
552892
  const isDisabled = isAutoUpdaterDisabled();
@@ -553096,12 +553099,12 @@ function NativeAutoUpdater({
553096
553099
  logEvent("tengu_native_auto_updater_start", {});
553097
553100
  try {
553098
553101
  const maxVersion = await getMaxVersion();
553099
- if (maxVersion && gt("0.7.4", maxVersion)) {
553102
+ if (maxVersion && gt("0.7.5", maxVersion)) {
553100
553103
  const msg = await getMaxVersionMessage();
553101
553104
  setMaxVersionIssue(msg ?? "affects your version");
553102
553105
  }
553103
553106
  const result = await installLatest(channel);
553104
- const currentVersion = "0.7.4";
553107
+ const currentVersion = "0.7.5";
553105
553108
  const latencyMs = Date.now() - startTime;
553106
553109
  if (result.lockFailed) {
553107
553110
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553238,17 +553241,17 @@ function PackageManagerAutoUpdater(t0) {
553238
553241
  const maxVersion = await getMaxVersion();
553239
553242
  if (maxVersion && latest && gt(latest, maxVersion)) {
553240
553243
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553241
- if (gte("0.7.4", maxVersion)) {
553242
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
553244
+ if (gte("0.7.5", maxVersion)) {
553245
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
553243
553246
  setUpdateAvailable(false);
553244
553247
  return;
553245
553248
  }
553246
553249
  latest = maxVersion;
553247
553250
  }
553248
- const hasUpdate = latest && !gte("0.7.4", latest) && !shouldSkipVersion(latest);
553251
+ const hasUpdate = latest && !gte("0.7.5", latest) && !shouldSkipVersion(latest);
553249
553252
  setUpdateAvailable(!!hasUpdate);
553250
553253
  if (hasUpdate) {
553251
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.4"} -> ${latest}`);
553254
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.5"} -> ${latest}`);
553252
553255
  }
553253
553256
  };
553254
553257
  $3[0] = t1;
@@ -553282,7 +553285,7 @@ function PackageManagerAutoUpdater(t0) {
553282
553285
  wrap: "truncate",
553283
553286
  children: [
553284
553287
  "currentVersion: ",
553285
- "0.7.4"
553288
+ "0.7.5"
553286
553289
  ]
553287
553290
  }, undefined, true, undefined, this);
553288
553291
  $3[3] = verbose;
@@ -561392,7 +561395,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561392
561395
  project_dir: getOriginalCwd(),
561393
561396
  added_dirs: addedDirs
561394
561397
  },
561395
- version: "0.7.4",
561398
+ version: "0.7.5",
561396
561399
  output_style: {
561397
561400
  name: outputStyleName
561398
561401
  },
@@ -572766,7 +572769,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
572766
572769
  } catch {}
572767
572770
  const data = {
572768
572771
  trigger,
572769
- version: "0.7.4",
572772
+ version: "0.7.5",
572770
572773
  platform: process.platform,
572771
572774
  transcript,
572772
572775
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -584730,7 +584733,7 @@ function WelcomeV2() {
584730
584733
  dimColor: true,
584731
584734
  children: [
584732
584735
  "v",
584733
- "0.7.4",
584736
+ "0.7.5",
584734
584737
  " "
584735
584738
  ]
584736
584739
  }, undefined, true, undefined, this)
@@ -584930,7 +584933,7 @@ function WelcomeV2() {
584930
584933
  dimColor: true,
584931
584934
  children: [
584932
584935
  "v",
584933
- "0.7.4",
584936
+ "0.7.5",
584934
584937
  " "
584935
584938
  ]
584936
584939
  }, undefined, true, undefined, this)
@@ -585156,7 +585159,7 @@ function AppleTerminalWelcomeV2(t0) {
585156
585159
  dimColor: true,
585157
585160
  children: [
585158
585161
  "v",
585159
- "0.7.4",
585162
+ "0.7.5",
585160
585163
  " "
585161
585164
  ]
585162
585165
  }, undefined, true, undefined, this);
@@ -585410,7 +585413,7 @@ function AppleTerminalWelcomeV2(t0) {
585410
585413
  dimColor: true,
585411
585414
  children: [
585412
585415
  "v",
585413
- "0.7.4",
585416
+ "0.7.5",
585414
585417
  " "
585415
585418
  ]
585416
585419
  }, undefined, true, undefined, this);
@@ -586914,7 +586917,7 @@ function completeOnboarding() {
586914
586917
  saveGlobalConfig((current) => ({
586915
586918
  ...current,
586916
586919
  hasCompletedOnboarding: true,
586917
- lastOnboardingVersion: "0.7.4"
586920
+ lastOnboardingVersion: "0.7.5"
586918
586921
  }));
586919
586922
  }
586920
586923
  function showDialog(root2, renderer) {
@@ -591392,7 +591395,7 @@ function appendToLog(path28, message) {
591392
591395
  cwd: getFsImplementation().cwd(),
591393
591396
  userType: "external",
591394
591397
  sessionId: getSessionId(),
591395
- version: "0.7.4"
591398
+ version: "0.7.5"
591396
591399
  };
591397
591400
  getLogWriter(path28).write(messageWithTimestamp);
591398
591401
  }
@@ -595351,8 +595354,8 @@ async function getEnvLessBridgeConfig() {
595351
595354
  }
595352
595355
  async function checkEnvLessBridgeMinVersion() {
595353
595356
  const cfg = await getEnvLessBridgeConfig();
595354
- if (cfg.min_version && lt("0.7.4", cfg.min_version)) {
595355
- return `Your version of Cody CLI (${"0.7.4"}) is too old for Remote Control.
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.
595356
595359
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
595357
595360
  }
595358
595361
  return null;
@@ -595826,7 +595829,7 @@ async function initBridgeCore(params) {
595826
595829
  const rawApi = createBridgeApiClient({
595827
595830
  baseUrl,
595828
595831
  getAccessToken,
595829
- runnerVersion: "0.7.4",
595832
+ runnerVersion: "0.7.5",
595830
595833
  onDebug: logForDebugging,
595831
595834
  onAuth401,
595832
595835
  getTrustedDeviceToken
@@ -601463,7 +601466,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601463
601466
  setCwd(cwd3);
601464
601467
  const server = new Server({
601465
601468
  name: "claude/tengu",
601466
- version: "0.7.4"
601469
+ version: "0.7.5"
601467
601470
  }, {
601468
601471
  capabilities: {
601469
601472
  tools: {}
@@ -603074,7 +603077,7 @@ __export(exports_update, {
603074
603077
  });
603075
603078
  async function update() {
603076
603079
  logEvent("tengu_update_check", {});
603077
- writeToStdout(`Current version: ${"0.7.4"}
603080
+ writeToStdout(`Current version: ${"0.7.5"}
603078
603081
  `);
603079
603082
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
603080
603083
  writeToStdout(`Checking for updates to ${channel} version...
@@ -603149,8 +603152,8 @@ async function update() {
603149
603152
  writeToStdout(`Cody CLI is managed by Homebrew.
603150
603153
  `);
603151
603154
  const latest = await getLatestVersion(channel);
603152
- if (latest && !gte("0.7.4", latest)) {
603153
- writeToStdout(`Update available: ${"0.7.4"} → ${latest}
603155
+ if (latest && !gte("0.7.5", latest)) {
603156
+ writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603154
603157
  `);
603155
603158
  writeToStdout(`
603156
603159
  `);
@@ -603166,8 +603169,8 @@ async function update() {
603166
603169
  writeToStdout(`Cody CLI is managed by winget.
603167
603170
  `);
603168
603171
  const latest = await getLatestVersion(channel);
603169
- if (latest && !gte("0.7.4", latest)) {
603170
- writeToStdout(`Update available: ${"0.7.4"} → ${latest}
603172
+ if (latest && !gte("0.7.5", latest)) {
603173
+ writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603171
603174
  `);
603172
603175
  writeToStdout(`
603173
603176
  `);
@@ -603183,8 +603186,8 @@ async function update() {
603183
603186
  writeToStdout(`Cody CLI is managed by apk.
603184
603187
  `);
603185
603188
  const latest = await getLatestVersion(channel);
603186
- if (latest && !gte("0.7.4", latest)) {
603187
- writeToStdout(`Update available: ${"0.7.4"} → ${latest}
603189
+ if (latest && !gte("0.7.5", latest)) {
603190
+ writeToStdout(`Update available: ${"0.7.5"} → ${latest}
603188
603191
  `);
603189
603192
  writeToStdout(`
603190
603193
  `);
@@ -603249,11 +603252,11 @@ async function update() {
603249
603252
  `);
603250
603253
  await gracefulShutdown(1);
603251
603254
  }
603252
- if (result.latestVersion === "0.7.4") {
603253
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.4"})`) + `
603255
+ if (result.latestVersion === "0.7.5") {
603256
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.5"})`) + `
603254
603257
  `);
603255
603258
  } else {
603256
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.4"} to version ${result.latestVersion}`) + `
603259
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${result.latestVersion}`) + `
603257
603260
  `);
603258
603261
  await regenerateCompletionCache();
603259
603262
  }
@@ -603313,12 +603316,12 @@ async function update() {
603313
603316
  `);
603314
603317
  await gracefulShutdown(1);
603315
603318
  }
603316
- if (latestVersion === "0.7.4") {
603317
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.4"})`) + `
603319
+ if (latestVersion === "0.7.5") {
603320
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.5"})`) + `
603318
603321
  `);
603319
603322
  await gracefulShutdown(0);
603320
603323
  }
603321
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.4"})
603324
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.5"})
603322
603325
  `);
603323
603326
  writeToStdout(`Installing update...
603324
603327
  `);
@@ -603363,7 +603366,7 @@ async function update() {
603363
603366
  logForDebugging(`update: Installation status: ${status2}`);
603364
603367
  switch (status2) {
603365
603368
  case "success":
603366
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.4"} to version ${latestVersion}`) + `
603369
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${latestVersion}`) + `
603367
603370
  `);
603368
603371
  await regenerateCompletionCache();
603369
603372
  break;
@@ -604607,7 +604610,7 @@ ${customInstructions}` : customInstructions;
604607
604610
  }
604608
604611
  }
604609
604612
  logForDiagnosticsNoPII("info", "started", {
604610
- version: "0.7.4",
604613
+ version: "0.7.5",
604611
604614
  is_native_binary: isInBundledMode()
604612
604615
  });
604613
604616
  registerCleanup(async () => {
@@ -605375,7 +605378,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605375
605378
  } else {
605376
605379
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605377
605380
  profileCheckpoint("action_after_hooks");
605378
- console.log(getWelcomeMessage("0.7.4"));
605381
+ console.log(getWelcomeMessage("0.7.5"));
605379
605382
  maybeActivateProactive(options);
605380
605383
  maybeActivateBrief(options);
605381
605384
  if (false) {}
@@ -605392,10 +605395,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605392
605395
  pendingHookMessages
605393
605396
  }, renderAndRun);
605394
605397
  }
605395
- }).version("0.7.4 (Cody CLI)", "-v, --version", "Output the version number");
605398
+ }).version("0.7.5 (Cody CLI)", "-v, --version", "Output the version number");
605396
605399
  program2.configureOutput({
605397
605400
  writeOut: (str2) => {
605398
- if (str2.includes("0.7.4")) {
605401
+ if (str2.includes("0.7.5")) {
605399
605402
  process.stdout.write(getCodyLogo() + `
605400
605403
  ` + str2);
605401
605404
  } else {
@@ -605934,7 +605937,7 @@ async function main2() {
605934
605937
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605935
605938
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605936
605939
  console.log(getCodyLogo2() + `
605937
- 0.7.4 (Cody CLI)`);
605940
+ 0.7.5 (Cody CLI)`);
605938
605941
  return;
605939
605942
  }
605940
605943
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
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",