@ainative/cody-cli 0.7.6 → 0.7.7

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