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