@ainative/cody-cli 0.7.35 → 0.7.37

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 +161 -92
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -173130,7 +173130,7 @@ var init_auth2 = __esm(() => {
173130
173130
 
173131
173131
  // src/utils/userAgent.ts
173132
173132
  function getCodyUserAgent() {
173133
- return `cody-cli/${"0.7.35"}`;
173133
+ return `cody-cli/${"0.7.37"}`;
173134
173134
  }
173135
173135
 
173136
173136
  // src/utils/workloadContext.ts
@@ -173152,7 +173152,7 @@ function getUserAgent() {
173152
173152
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
173153
173153
  const workload = getWorkload();
173154
173154
  const workloadSuffix = workload ? `, workload/${workload}` : "";
173155
- return `claude-cli/${"0.7.35"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173155
+ return `claude-cli/${"0.7.37"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173156
173156
  }
173157
173157
  function getMCPUserAgent() {
173158
173158
  const parts = [];
@@ -173166,7 +173166,7 @@ function getMCPUserAgent() {
173166
173166
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
173167
173167
  }
173168
173168
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
173169
- return `cody-cli/${"0.7.35"}${suffix}`;
173169
+ return `cody-cli/${"0.7.37"}${suffix}`;
173170
173170
  }
173171
173171
  function getWebFetchUserAgent() {
173172
173172
  return `Cody-User (${getCodyUserAgent()}; +https://ainative.studio)`;
@@ -173304,7 +173304,7 @@ var init_user = __esm(() => {
173304
173304
  deviceId,
173305
173305
  sessionId: getSessionId(),
173306
173306
  email: getEmail(),
173307
- appVersion: "0.7.35",
173307
+ appVersion: "0.7.37",
173308
173308
  platform: getHostPlatformForAnalytics(),
173309
173309
  organizationUuid,
173310
173310
  accountUuid,
@@ -180996,7 +180996,7 @@ var init_metadata = __esm(() => {
180996
180996
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
180997
180997
  WHITESPACE_REGEX = /\s+/;
180998
180998
  getVersionBase = memoize_default(() => {
180999
- const match = "0.7.35".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180999
+ const match = "0.7.37".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
181000
181000
  return match ? match[0] : undefined;
181001
181001
  });
181002
181002
  buildEnvContext = memoize_default(async () => {
@@ -181036,9 +181036,9 @@ var init_metadata = __esm(() => {
181036
181036
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
181037
181037
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
181038
181038
  isClaudeAiAuth: isClaudeAISubscriber(),
181039
- version: "0.7.35",
181039
+ version: "0.7.37",
181040
181040
  versionBase: getVersionBase(),
181041
- buildTime: "1777670343",
181041
+ buildTime: "1777689902",
181042
181042
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
181043
181043
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
181044
181044
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -181656,7 +181656,7 @@ function initialize1PEventLogging() {
181656
181656
  const platform3 = getPlatform();
181657
181657
  const attributes = {
181658
181658
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
181659
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.35"
181659
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.37"
181660
181660
  };
181661
181661
  if (platform3 === "wsl") {
181662
181662
  const wslVersion = getWslVersion();
@@ -181683,7 +181683,7 @@ function initialize1PEventLogging() {
181683
181683
  })
181684
181684
  ]
181685
181685
  });
181686
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.35");
181686
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.37");
181687
181687
  }
181688
181688
  async function reinitialize1PEventLoggingIfConfigChanged() {
181689
181689
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -183376,7 +183376,7 @@ function getAttributionHeader(fingerprint) {
183376
183376
  if (!isAttributionHeaderEnabled()) {
183377
183377
  return "";
183378
183378
  }
183379
- const version6 = `${"0.7.35"}.${fingerprint}`;
183379
+ const version6 = `${"0.7.37"}.${fingerprint}`;
183380
183380
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183381
183381
  const cch = "";
183382
183382
  const workload = getWorkload();
@@ -247521,7 +247521,7 @@ function getTelemetryAttributes() {
247521
247521
  attributes["session.id"] = sessionId;
247522
247522
  }
247523
247523
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247524
- attributes["app.version"] = "0.7.35";
247524
+ attributes["app.version"] = "0.7.37";
247525
247525
  }
247526
247526
  const oauthAccount = getOauthAccountInfo();
247527
247527
  if (oauthAccount) {
@@ -278677,11 +278677,16 @@ async function installIDEExtension(ideType) {
278677
278677
  if (isVSCodeIde(ideType)) {
278678
278678
  const command = await getVSCodeIDECommand(ideType);
278679
278679
  if (command) {
278680
+ const probe = await execFileNoThrow(command, ["--version"]);
278681
+ if (probe.code !== 0 || probe.error?.includes("ENOENT")) {
278682
+ const displayName = supportedIdeConfigs[ideType]?.displayName ?? ideType;
278683
+ throw new Error(`${displayName} CLI ("${command}") not found on PATH. ` + `Open ${displayName} and run the "Install '${command}' command in PATH" action, then try again.`);
278684
+ }
278680
278685
  if (false) {}
278681
278686
  let version6 = await getInstalledVSCodeExtensionVersion(command);
278682
278687
  if (!version6 || lt(version6, getClaudeCodeVersion())) {
278683
278688
  await sleep2(500);
278684
- const result = await execFileNoThrowWithCwd(command, ["--force", "--install-extension", "anthropic.claude-code"], {
278689
+ const result = await execFileNoThrowWithCwd(command, ["--force", "--install-extension", EXTENSION_ID], {
278685
278690
  env: getInstallationEnv()
278686
278691
  });
278687
278692
  if (result.code !== 0) {
@@ -278704,7 +278709,7 @@ function getInstallationEnv() {
278704
278709
  return;
278705
278710
  }
278706
278711
  function getClaudeCodeVersion() {
278707
- return "0.7.35";
278712
+ return "0.7.37";
278708
278713
  }
278709
278714
  async function getInstalledVSCodeExtensionVersion(command) {
278710
278715
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -278714,7 +278719,7 @@ async function getInstalledVSCodeExtensionVersion(command) {
278714
278719
  `) || [];
278715
278720
  for (const line of lines) {
278716
278721
  const [extensionId, version6] = line.split("@");
278717
- if (extensionId === "anthropic.claude-code" && version6) {
278722
+ if (extensionId === EXTENSION_ID && version6) {
278718
278723
  return version6;
278719
278724
  }
278720
278725
  }
@@ -278931,7 +278936,7 @@ async function initializeIdeIntegration(onIdeDetected, ideToInstallExtension, on
278931
278936
  }
278932
278937
  }
278933
278938
  }
278934
- var ideOnboardingDialog = () => (init_IdeOnboardingDialog(), __toCommonJS(exports_IdeOnboardingDialog)), supportedIdeConfigs, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getWindowsUserProfile, currentIDESearch = null, EXTENSION_ID = "anthropic.claude-code", cachedRunningIDEs = null, EDITOR_DISPLAY_NAMES, detectHostIP;
278939
+ var ideOnboardingDialog = () => (init_IdeOnboardingDialog(), __toCommonJS(exports_IdeOnboardingDialog)), supportedIdeConfigs, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getWindowsUserProfile, currentIDESearch = null, EXTENSION_ID = "ainative.cody", cachedRunningIDEs = null, EDITOR_DISPLAY_NAMES, detectHostIP;
278935
278940
  var init_ide = __esm(() => {
278936
278941
  init_execa();
278937
278942
  init_capitalize();
@@ -284238,7 +284243,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284238
284243
  const client4 = new Client({
284239
284244
  name: "claude-code",
284240
284245
  title: "Cody CLI",
284241
- version: "0.7.35",
284246
+ version: "0.7.37",
284242
284247
  description: "Anthropic's agentic coding tool",
284243
284248
  websiteUrl: PRODUCT_URL
284244
284249
  }, {
@@ -284592,7 +284597,7 @@ var init_client8 = __esm(() => {
284592
284597
  const client4 = new Client({
284593
284598
  name: "claude-code",
284594
284599
  title: "Cody CLI",
284595
- version: "0.7.35",
284600
+ version: "0.7.37",
284596
284601
  description: "Anthropic's agentic coding tool",
284597
284602
  websiteUrl: PRODUCT_URL
284598
284603
  }, {
@@ -332724,7 +332729,7 @@ async function initializeBetaTracing(resource) {
332724
332729
  });
332725
332730
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332726
332731
  setLoggerProvider(loggerProvider);
332727
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.35");
332732
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.37");
332728
332733
  setEventLogger(eventLogger);
332729
332734
  process.on("beforeExit", async () => {
332730
332735
  await loggerProvider?.forceFlush();
@@ -332764,7 +332769,7 @@ async function initializeTelemetry() {
332764
332769
  const platform5 = getPlatform();
332765
332770
  const baseAttributes = {
332766
332771
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332767
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.35"
332772
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.37"
332768
332773
  };
332769
332774
  if (platform5 === "wsl") {
332770
332775
  const wslVersion = getWslVersion();
@@ -332809,7 +332814,7 @@ async function initializeTelemetry() {
332809
332814
  } catch {}
332810
332815
  };
332811
332816
  registerCleanup(shutdownTelemetry2);
332812
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.35");
332817
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.37");
332813
332818
  }
332814
332819
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332815
332820
  resource,
@@ -332829,7 +332834,7 @@ async function initializeTelemetry() {
332829
332834
  });
332830
332835
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332831
332836
  setLoggerProvider(loggerProvider);
332832
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.35");
332837
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.37");
332833
332838
  setEventLogger(eventLogger);
332834
332839
  logForDebugging("[3P telemetry] Event logger set successfully");
332835
332840
  process.on("beforeExit", async () => {
@@ -332891,7 +332896,7 @@ Current timeout: ${timeoutMs}ms
332891
332896
  }
332892
332897
  };
332893
332898
  registerCleanup(shutdownTelemetry);
332894
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.35");
332899
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.37");
332895
332900
  }
332896
332901
  async function flushTelemetry() {
332897
332902
  const meterProvider = getMeterProvider();
@@ -333580,9 +333585,9 @@ async function assertMinVersion() {
333580
333585
  }
333581
333586
  try {
333582
333587
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333583
- if (versionConfig.minVersion && lt("0.7.35", versionConfig.minVersion)) {
333588
+ if (versionConfig.minVersion && lt("0.7.37", versionConfig.minVersion)) {
333584
333589
  console.error(`
333585
- It looks like your version of Cody CLI (${"0.7.35"}) needs an update.
333590
+ It looks like your version of Cody CLI (${"0.7.37"}) needs an update.
333586
333591
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333587
333592
 
333588
333593
  To update, please run:
@@ -333819,7 +333824,7 @@ async function installGlobalPackage(specificVersion) {
333819
333824
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333820
333825
  logEvent("tengu_auto_updater_lock_contention", {
333821
333826
  pid: process.pid,
333822
- currentVersion: "0.7.35"
333827
+ currentVersion: "0.7.37"
333823
333828
  });
333824
333829
  return "in_progress";
333825
333830
  }
@@ -333828,7 +333833,7 @@ async function installGlobalPackage(specificVersion) {
333828
333833
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333829
333834
  logError2(new Error("Windows NPM detected in WSL environment"));
333830
333835
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333831
- currentVersion: "0.7.35"
333836
+ currentVersion: "0.7.37"
333832
333837
  });
333833
333838
  console.error(`
333834
333839
  Error: Windows NPM detected in WSL
@@ -334363,7 +334368,7 @@ function detectLinuxGlobPatternWarnings() {
334363
334368
  }
334364
334369
  async function getDoctorDiagnostic() {
334365
334370
  const installationType = await getCurrentInstallationType();
334366
- const version6 = typeof MACRO !== "undefined" ? "0.7.35" : "unknown";
334371
+ const version6 = typeof MACRO !== "undefined" ? "0.7.37" : "unknown";
334367
334372
  const installationPath = await getInstallationPath();
334368
334373
  const invokedBinary = getInvokedBinary();
334369
334374
  const multipleInstallations = await detectMultipleInstallations();
@@ -335198,8 +335203,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335198
335203
  const maxVersion = await getMaxVersion();
335199
335204
  if (maxVersion && gt(version6, maxVersion)) {
335200
335205
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335201
- if (gte("0.7.35", maxVersion)) {
335202
- logForDebugging(`Native installer: current version ${"0.7.35"} is already at or above maxVersion ${maxVersion}, skipping update`);
335206
+ if (gte("0.7.37", maxVersion)) {
335207
+ logForDebugging(`Native installer: current version ${"0.7.37"} is already at or above maxVersion ${maxVersion}, skipping update`);
335203
335208
  logEvent("tengu_native_update_skipped_max_version", {
335204
335209
  latency_ms: Date.now() - startTime,
335205
335210
  max_version: maxVersion,
@@ -335210,7 +335215,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335210
335215
  version6 = maxVersion;
335211
335216
  }
335212
335217
  }
335213
- if (!forceReinstall && version6 === "0.7.35" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335218
+ if (!forceReinstall && version6 === "0.7.37" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335214
335219
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335215
335220
  logEvent("tengu_native_update_complete", {
335216
335221
  latency_ms: Date.now() - startTime,
@@ -345708,6 +345713,30 @@ var init_overageCreditGrant = __esm(() => {
345708
345713
  });
345709
345714
 
345710
345715
  // src/services/api/usage.ts
345716
+ async function fetchAINativeUtilization() {
345717
+ const authResult = getAuthHeaders2();
345718
+ if (authResult.error) {
345719
+ throw new Error(`Auth error: ${authResult.error}`);
345720
+ }
345721
+ const headers = {
345722
+ "Content-Type": "application/json",
345723
+ "User-Agent": getCodyUserAgent(),
345724
+ ...authResult.headers
345725
+ };
345726
+ const url3 = `${getOauthConfig().BASE_API_URL}/api/v1/public/credits/balance`;
345727
+ const response = await axios_default.get(url3, {
345728
+ headers,
345729
+ timeout: 5000
345730
+ });
345731
+ const data = response.data;
345732
+ const utilization = data.usage_percentage ?? null;
345733
+ return {
345734
+ seven_day: {
345735
+ utilization,
345736
+ resets_at: null
345737
+ }
345738
+ };
345739
+ }
345711
345740
  async function fetchUtilization() {
345712
345741
  if (!isActiveSubscriber() || !hasProfileScope()) {
345713
345742
  return {};
@@ -345716,6 +345745,9 @@ async function fetchUtilization() {
345716
345745
  if (tokens && isOAuthTokenExpired(tokens.expiresAt)) {
345717
345746
  return null;
345718
345747
  }
345748
+ if (isAINativeProvider()) {
345749
+ return fetchAINativeUtilization();
345750
+ }
345719
345751
  const authResult = getAuthHeaders2();
345720
345752
  if (authResult.error) {
345721
345753
  throw new Error(`Auth error: ${authResult.error}`);
@@ -345737,6 +345769,7 @@ var init_usage = __esm(() => {
345737
345769
  init_oauth();
345738
345770
  init_auth2();
345739
345771
  init_http2();
345772
+ init_model();
345740
345773
  init_client2();
345741
345774
  });
345742
345775
 
@@ -419031,7 +419064,7 @@ function getAnthropicEnvMetadata() {
419031
419064
  function getBuildAgeMinutes() {
419032
419065
  if (false)
419033
419066
  ;
419034
- const buildTime = new Date("1777670343").getTime();
419067
+ const buildTime = new Date("1777689902").getTime();
419035
419068
  if (isNaN(buildTime))
419036
419069
  return;
419037
419070
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442544,7 +442577,7 @@ function Feedback({
442544
442577
  platform: env4.platform,
442545
442578
  gitRepo: envInfo.isGit,
442546
442579
  terminal: env4.terminal,
442547
- version: "0.7.35",
442580
+ version: "0.7.37",
442548
442581
  transcript: normalizeMessagesForAPI(messages),
442549
442582
  errors: sanitizedErrors,
442550
442583
  lastApiRequest: getLastAPIRequest(),
@@ -442736,7 +442769,7 @@ function Feedback({
442736
442769
  ", ",
442737
442770
  env4.terminal,
442738
442771
  ", v",
442739
- "0.7.35"
442772
+ "0.7.37"
442740
442773
  ]
442741
442774
  }, undefined, true, undefined, this)
442742
442775
  ]
@@ -442842,7 +442875,7 @@ ${sanitizedDescription}
442842
442875
  ` + `**Environment Info**
442843
442876
  ` + `- Platform: ${env4.platform}
442844
442877
  ` + `- Terminal: ${env4.terminal}
442845
- ` + `- Version: ${"0.7.35"}
442878
+ ` + `- Version: ${"0.7.37"}
442846
442879
  ` + `- Feedback ID: ${feedbackId}
442847
442880
  ` + `
442848
442881
  **Errors**
@@ -445942,7 +445975,7 @@ function buildPrimarySection() {
445942
445975
  }, undefined, false, undefined, this);
445943
445976
  return [{
445944
445977
  label: "Version",
445945
- value: "0.7.35"
445978
+ value: "0.7.37"
445946
445979
  }, {
445947
445980
  label: "Session name",
445948
445981
  value: nameValue
@@ -449693,7 +449726,7 @@ function Config({
449693
449726
  }
449694
449727
  }, undefined, false, undefined, this)
449695
449728
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449696
- currentVersion: "0.7.35",
449729
+ currentVersion: "0.7.37",
449697
449730
  onChoice: (choice) => {
449698
449731
  setShowSubmenu(null);
449699
449732
  setTabsHidden(false);
@@ -449705,7 +449738,7 @@ function Config({
449705
449738
  autoUpdatesChannel: "stable"
449706
449739
  };
449707
449740
  if (choice === "stay") {
449708
- newSettings.minimumVersion = "0.7.35";
449741
+ newSettings.minimumVersion = "0.7.37";
449709
449742
  }
449710
449743
  updateSettingsForSource("userSettings", newSettings);
449711
449744
  setSettingsData((prev_27) => ({
@@ -457747,7 +457780,7 @@ function HelpV2(t0) {
457747
457780
  let t6;
457748
457781
  if ($3[31] !== tabs) {
457749
457782
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457750
- title: `Cody CLI v${"0.7.35"}`,
457783
+ title: `Cody CLI v${"0.7.37"}`,
457751
457784
  color: "professionalBlue",
457752
457785
  defaultTab: "general",
457753
457786
  children: tabs
@@ -481937,7 +481970,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481937
481970
  return [];
481938
481971
  }
481939
481972
  }
481940
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.35") {
481973
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.37") {
481941
481974
  if (false) {}
481942
481975
  const cachedChangelog = await getStoredChangelog();
481943
481976
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481950,7 +481983,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.35")
481950
481983
  releaseNotes
481951
481984
  };
481952
481985
  }
481953
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.35") {
481986
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.37") {
481954
481987
  if (false) {}
481955
481988
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481956
481989
  return {
@@ -483106,7 +483139,7 @@ function getRecentActivitySync() {
483106
483139
  return cachedActivity;
483107
483140
  }
483108
483141
  function getLogoDisplayData() {
483109
- const version6 = process.env.DEMO_VERSION ?? "0.7.35";
483142
+ const version6 = process.env.DEMO_VERSION ?? "0.7.37";
483110
483143
  const serverUrl = getDirectConnectServerUrl();
483111
483144
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
483112
483145
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484526,7 +484559,7 @@ function LogoV2() {
484526
484559
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484527
484560
  t2 = () => {
484528
484561
  const currentConfig = getGlobalConfig();
484529
- if (currentConfig.lastReleaseNotesSeen === "0.7.35") {
484562
+ if (currentConfig.lastReleaseNotesSeen === "0.7.37") {
484530
484563
  return;
484531
484564
  }
484532
484565
  saveGlobalConfig(_temp329);
@@ -485202,12 +485235,12 @@ function LogoV2() {
485202
485235
  return t41;
485203
485236
  }
485204
485237
  function _temp329(current) {
485205
- if (current.lastReleaseNotesSeen === "0.7.35") {
485238
+ if (current.lastReleaseNotesSeen === "0.7.37") {
485206
485239
  return current;
485207
485240
  }
485208
485241
  return {
485209
485242
  ...current,
485210
- lastReleaseNotesSeen: "0.7.35"
485243
+ lastReleaseNotesSeen: "0.7.37"
485211
485244
  };
485212
485245
  }
485213
485246
  function _temp245(s_0) {
@@ -508950,6 +508983,42 @@ IMPORTANT: The following identifiers already exist and must NOT be used: ${exist
508950
508983
  }
508951
508984
  parsed = jsonParse(jsonMatch[0]);
508952
508985
  }
508986
+ if (!parsed.identifier || !parsed.whenToUse || !parsed.systemPrompt) {
508987
+ const raw = parsed;
508988
+ if (!parsed.identifier) {
508989
+ const source = raw.name ?? raw.title ?? raw.role ?? "";
508990
+ parsed.identifier = source.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 50);
508991
+ }
508992
+ if (!parsed.whenToUse) {
508993
+ const mandate = raw.mandate;
508994
+ if (Array.isArray(mandate) && mandate.length > 0) {
508995
+ parsed.whenToUse = `Use this agent when you need to: ${mandate.join("; ")}`;
508996
+ } else {
508997
+ const source = raw.purpose ?? raw.description ?? raw.role ?? "";
508998
+ parsed.whenToUse = source ? `Use this agent when: ${source}` : "";
508999
+ }
509000
+ }
509001
+ if (!parsed.systemPrompt) {
509002
+ const parts = [];
509003
+ if (raw.name)
509004
+ parts.push(`You are a ${raw.name}.`);
509005
+ if (raw.role)
509006
+ parts.push(`Role: ${raw.role}.`);
509007
+ if (raw.style)
509008
+ parts.push(`Communication style: ${raw.style}.`);
509009
+ if (Array.isArray(raw.mandate) && raw.mandate.length > 0) {
509010
+ parts.push(`Your mandate:
509011
+ ${raw.mandate.map((m2) => `- ${m2}`).join(`
509012
+ `)}`);
509013
+ }
509014
+ if (Array.isArray(raw.skills) && raw.skills.length > 0) {
509015
+ parts.push(`Apply these skills: ${raw.skills.join(", ")}.`);
509016
+ }
509017
+ parsed.systemPrompt = parts.join(`
509018
+
509019
+ `);
509020
+ }
509021
+ }
508953
509022
  if (!parsed.identifier || !parsed.whenToUse || !parsed.systemPrompt) {
508954
509023
  throw new Error(`Invalid agent configuration generated. Missing fields: ${[
508955
509024
  !parsed.identifier && "identifier",
@@ -508999,11 +509068,11 @@ var init_generateAgent = __esm(() => {
508999
509068
  init_slowOperations();
509000
509069
  AGENT_CREATION_SYSTEM_PROMPT = `You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
509001
509070
 
509002
- **Important Context**: You may have access to project-specific instructions from CLAUDE.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
509071
+ **Important Context**: You may have access to project-specific instructions from CODY.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
509003
509072
 
509004
509073
  When a user describes what they want an agent to do, you will:
509005
509074
 
509006
- 1. **Extract Core Intent**: Identify the fundamental purpose, key responsibilities, and success criteria for the agent. Look for both explicit requirements and implicit needs. Consider any project-specific context from CLAUDE.md files. For agents that are meant to review code, you should assume that the user is asking to review recently written code and not the whole codebase, unless the user has explicitly instructed you otherwise.
509075
+ 1. **Extract Core Intent**: Identify the fundamental purpose, key responsibilities, and success criteria for the agent. Look for both explicit requirements and implicit needs. Consider any project-specific context from CODY.md files. For agents that are meant to review code, you should assume that the user is asking to review recently written code and not the whole codebase, unless the user has explicitly instructed you otherwise.
509007
509076
 
509008
509077
  2. **Design Expert Persona**: Create a compelling expert identity that embodies deep domain knowledge relevant to the task. The persona should inspire confidence and guide the agent's decision-making approach.
509009
509078
 
@@ -509013,7 +509082,7 @@ When a user describes what they want an agent to do, you will:
509013
509082
  - Anticipates edge cases and provides guidance for handling them
509014
509083
  - Incorporates any specific requirements or preferences mentioned by the user
509015
509084
  - Defines output format expectations when relevant
509016
- - Aligns with project-specific coding standards and patterns from CLAUDE.md
509085
+ - Aligns with project-specific coding standards and patterns from CODY.md
509017
509086
 
509018
509087
  4. **Optimize for Performance**: Include:
509019
509088
  - Decision-making frameworks appropriate to the domain
@@ -511500,7 +511569,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511500
511569
  smapsRollup,
511501
511570
  platform: process.platform,
511502
511571
  nodeVersion: process.version,
511503
- ccVersion: "0.7.35"
511572
+ ccVersion: "0.7.37"
511504
511573
  };
511505
511574
  }
511506
511575
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -512028,7 +512097,7 @@ var init_bridge_kick = __esm(() => {
512028
512097
  var call56 = async () => {
512029
512098
  return {
512030
512099
  type: "text",
512031
- value: `${"0.7.35"} (built ${"1777670343"})`
512100
+ value: `${"0.7.37"} (built ${"1777689902"})`
512032
512101
  };
512033
512102
  }, version6, version_default;
512034
512103
  var init_version = __esm(() => {
@@ -520975,7 +521044,7 @@ function generateHtmlReport(data, insights) {
520975
521044
  </html>`;
520976
521045
  }
520977
521046
  function buildExportData(data, insights, facets, remoteStats) {
520978
- const version7 = typeof MACRO !== "undefined" ? "0.7.35" : "unknown";
521047
+ const version7 = typeof MACRO !== "undefined" ? "0.7.37" : "unknown";
520979
521048
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520980
521049
  const facets_summary = {
520981
521050
  total: facets.size,
@@ -524921,7 +524990,7 @@ var init_sessionStorage = __esm(() => {
524921
524990
  init_settings2();
524922
524991
  init_slowOperations();
524923
524992
  init_uuid();
524924
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.35" : "unknown";
524993
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.37" : "unknown";
524925
524994
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524926
524995
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524927
524996
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -526126,7 +526195,7 @@ var init_filesystem = __esm(() => {
526126
526195
  });
526127
526196
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
526128
526197
  const nonce = randomBytes19(16).toString("hex");
526129
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.35", nonce);
526198
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.37", nonce);
526130
526199
  });
526131
526200
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
526132
526201
  });
@@ -532098,7 +532167,7 @@ function computeFingerprint(messageText, version7) {
532098
532167
  }
532099
532168
  function computeFingerprintFromMessages(messages) {
532100
532169
  const firstMessageText = extractFirstMessageText(messages);
532101
- return computeFingerprint(firstMessageText, "0.7.35");
532170
+ return computeFingerprint(firstMessageText, "0.7.37");
532102
532171
  }
532103
532172
  var FINGERPRINT_SALT = "59cf53e54c78";
532104
532173
  var init_fingerprint = () => {};
@@ -534160,7 +534229,7 @@ async function sideQuery(opts) {
534160
534229
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
534161
534230
  }
534162
534231
  const messageText = extractFirstUserMessageText(messages);
534163
- const fingerprint = computeFingerprint(messageText, "0.7.35");
534232
+ const fingerprint = computeFingerprint(messageText, "0.7.37");
534164
534233
  const attributionHeader = getAttributionHeader(fingerprint);
534165
534234
  const systemBlocks = [
534166
534235
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538742,7 +538811,7 @@ function buildSystemInitMessage(inputs) {
538742
538811
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538743
538812
  apiKeySource: getAnthropicApiKeyWithSource().source,
538744
538813
  betas: getSdkBetas(),
538745
- claude_code_version: "0.7.35",
538814
+ claude_code_version: "0.7.37",
538746
538815
  output_style: outputStyle2,
538747
538816
  agents: inputs.agents.map((agent) => agent.agentType),
538748
538817
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -553294,7 +553363,7 @@ var init_useVoiceEnabled = __esm(() => {
553294
553363
  function getSemverPart(version7) {
553295
553364
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
553296
553365
  }
553297
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.35") {
553366
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.37") {
553298
553367
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
553299
553368
  if (!updatedVersion) {
553300
553369
  return null;
@@ -553334,7 +553403,7 @@ function AutoUpdater({
553334
553403
  return;
553335
553404
  }
553336
553405
  if (false) {}
553337
- const currentVersion = "0.7.35";
553406
+ const currentVersion = "0.7.37";
553338
553407
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
553339
553408
  let latestVersion = await getLatestVersion(channel);
553340
553409
  const isDisabled = isAutoUpdaterDisabled();
@@ -553547,12 +553616,12 @@ function NativeAutoUpdater({
553547
553616
  logEvent("tengu_native_auto_updater_start", {});
553548
553617
  try {
553549
553618
  const maxVersion = await getMaxVersion();
553550
- if (maxVersion && gt("0.7.35", maxVersion)) {
553619
+ if (maxVersion && gt("0.7.37", maxVersion)) {
553551
553620
  const msg = await getMaxVersionMessage();
553552
553621
  setMaxVersionIssue(msg ?? "affects your version");
553553
553622
  }
553554
553623
  const result = await installLatest(channel);
553555
- const currentVersion = "0.7.35";
553624
+ const currentVersion = "0.7.37";
553556
553625
  const latencyMs = Date.now() - startTime;
553557
553626
  if (result.lockFailed) {
553558
553627
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553689,17 +553758,17 @@ function PackageManagerAutoUpdater(t0) {
553689
553758
  const maxVersion = await getMaxVersion();
553690
553759
  if (maxVersion && latest && gt(latest, maxVersion)) {
553691
553760
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553692
- if (gte("0.7.35", maxVersion)) {
553693
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.35"} is already at or above maxVersion ${maxVersion}, skipping update`);
553761
+ if (gte("0.7.37", maxVersion)) {
553762
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.37"} is already at or above maxVersion ${maxVersion}, skipping update`);
553694
553763
  setUpdateAvailable(false);
553695
553764
  return;
553696
553765
  }
553697
553766
  latest = maxVersion;
553698
553767
  }
553699
- const hasUpdate = latest && !gte("0.7.35", latest) && !shouldSkipVersion(latest);
553768
+ const hasUpdate = latest && !gte("0.7.37", latest) && !shouldSkipVersion(latest);
553700
553769
  setUpdateAvailable(!!hasUpdate);
553701
553770
  if (hasUpdate) {
553702
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.35"} -> ${latest}`);
553771
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.37"} -> ${latest}`);
553703
553772
  }
553704
553773
  };
553705
553774
  $3[0] = t1;
@@ -553733,7 +553802,7 @@ function PackageManagerAutoUpdater(t0) {
553733
553802
  wrap: "truncate",
553734
553803
  children: [
553735
553804
  "currentVersion: ",
553736
- "0.7.35"
553805
+ "0.7.37"
553737
553806
  ]
553738
553807
  }, undefined, true, undefined, this);
553739
553808
  $3[3] = verbose;
@@ -561843,7 +561912,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561843
561912
  project_dir: getOriginalCwd(),
561844
561913
  added_dirs: addedDirs
561845
561914
  },
561846
- version: "0.7.35",
561915
+ version: "0.7.37",
561847
561916
  output_style: {
561848
561917
  name: outputStyleName
561849
561918
  },
@@ -573231,7 +573300,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
573231
573300
  } catch {}
573232
573301
  const data = {
573233
573302
  trigger,
573234
- version: "0.7.35",
573303
+ version: "0.7.37",
573235
573304
  platform: process.platform,
573236
573305
  transcript,
573237
573306
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -585248,7 +585317,7 @@ function WelcomeV2() {
585248
585317
  dimColor: true,
585249
585318
  children: [
585250
585319
  "v",
585251
- "0.7.35",
585320
+ "0.7.37",
585252
585321
  " "
585253
585322
  ]
585254
585323
  }, undefined, true, undefined, this)
@@ -586549,7 +586618,7 @@ function completeOnboarding() {
586549
586618
  saveGlobalConfig((current) => ({
586550
586619
  ...current,
586551
586620
  hasCompletedOnboarding: true,
586552
- lastOnboardingVersion: "0.7.35"
586621
+ lastOnboardingVersion: "0.7.37"
586553
586622
  }));
586554
586623
  }
586555
586624
  function showDialog(root2, renderer) {
@@ -591027,7 +591096,7 @@ function appendToLog(path28, message) {
591027
591096
  cwd: getFsImplementation().cwd(),
591028
591097
  userType: "external",
591029
591098
  sessionId: getSessionId(),
591030
- version: "0.7.35"
591099
+ version: "0.7.37"
591031
591100
  };
591032
591101
  getLogWriter(path28).write(messageWithTimestamp);
591033
591102
  }
@@ -594986,8 +595055,8 @@ async function getEnvLessBridgeConfig() {
594986
595055
  }
594987
595056
  async function checkEnvLessBridgeMinVersion() {
594988
595057
  const cfg = await getEnvLessBridgeConfig();
594989
- if (cfg.min_version && lt("0.7.35", cfg.min_version)) {
594990
- return `Your version of Cody CLI (${"0.7.35"}) is too old for Remote Control.
595058
+ if (cfg.min_version && lt("0.7.37", cfg.min_version)) {
595059
+ return `Your version of Cody CLI (${"0.7.37"}) is too old for Remote Control.
594991
595060
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
594992
595061
  }
594993
595062
  return null;
@@ -595461,7 +595530,7 @@ async function initBridgeCore(params) {
595461
595530
  const rawApi = createBridgeApiClient({
595462
595531
  baseUrl,
595463
595532
  getAccessToken,
595464
- runnerVersion: "0.7.35",
595533
+ runnerVersion: "0.7.37",
595465
595534
  onDebug: logForDebugging,
595466
595535
  onAuth401,
595467
595536
  getTrustedDeviceToken
@@ -601098,7 +601167,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601098
601167
  setCwd(cwd3);
601099
601168
  const server = new Server({
601100
601169
  name: "claude/tengu",
601101
- version: "0.7.35"
601170
+ version: "0.7.37"
601102
601171
  }, {
601103
601172
  capabilities: {
601104
601173
  tools: {}
@@ -602709,7 +602778,7 @@ __export(exports_update, {
602709
602778
  });
602710
602779
  async function update() {
602711
602780
  logEvent("tengu_update_check", {});
602712
- writeToStdout(`Current version: ${"0.7.35"}
602781
+ writeToStdout(`Current version: ${"0.7.37"}
602713
602782
  `);
602714
602783
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
602715
602784
  writeToStdout(`Checking for updates to ${channel} version...
@@ -602784,8 +602853,8 @@ async function update() {
602784
602853
  writeToStdout(`Cody CLI is managed by Homebrew.
602785
602854
  `);
602786
602855
  const latest = await getLatestVersion(channel);
602787
- if (latest && !gte("0.7.35", latest)) {
602788
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602856
+ if (latest && !gte("0.7.37", latest)) {
602857
+ writeToStdout(`Update available: ${"0.7.37"} → ${latest}
602789
602858
  `);
602790
602859
  writeToStdout(`
602791
602860
  `);
@@ -602801,8 +602870,8 @@ async function update() {
602801
602870
  writeToStdout(`Cody CLI is managed by winget.
602802
602871
  `);
602803
602872
  const latest = await getLatestVersion(channel);
602804
- if (latest && !gte("0.7.35", latest)) {
602805
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602873
+ if (latest && !gte("0.7.37", latest)) {
602874
+ writeToStdout(`Update available: ${"0.7.37"} → ${latest}
602806
602875
  `);
602807
602876
  writeToStdout(`
602808
602877
  `);
@@ -602818,8 +602887,8 @@ async function update() {
602818
602887
  writeToStdout(`Cody CLI is managed by apk.
602819
602888
  `);
602820
602889
  const latest = await getLatestVersion(channel);
602821
- if (latest && !gte("0.7.35", latest)) {
602822
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602890
+ if (latest && !gte("0.7.37", latest)) {
602891
+ writeToStdout(`Update available: ${"0.7.37"} → ${latest}
602823
602892
  `);
602824
602893
  writeToStdout(`
602825
602894
  `);
@@ -602884,11 +602953,11 @@ async function update() {
602884
602953
  `);
602885
602954
  await gracefulShutdown(1);
602886
602955
  }
602887
- if (result.latestVersion === "0.7.35") {
602888
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.35"})`) + `
602956
+ if (result.latestVersion === "0.7.37") {
602957
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.37"})`) + `
602889
602958
  `);
602890
602959
  } else {
602891
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.35"} to version ${result.latestVersion}`) + `
602960
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.37"} to version ${result.latestVersion}`) + `
602892
602961
  `);
602893
602962
  await regenerateCompletionCache();
602894
602963
  }
@@ -602948,12 +603017,12 @@ async function update() {
602948
603017
  `);
602949
603018
  await gracefulShutdown(1);
602950
603019
  }
602951
- if (latestVersion === "0.7.35") {
602952
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.35"})`) + `
603020
+ if (latestVersion === "0.7.37") {
603021
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.37"})`) + `
602953
603022
  `);
602954
603023
  await gracefulShutdown(0);
602955
603024
  }
602956
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.35"})
603025
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.37"})
602957
603026
  `);
602958
603027
  writeToStdout(`Installing update...
602959
603028
  `);
@@ -602998,7 +603067,7 @@ async function update() {
602998
603067
  logForDebugging(`update: Installation status: ${status2}`);
602999
603068
  switch (status2) {
603000
603069
  case "success":
603001
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.35"} to version ${latestVersion}`) + `
603070
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.37"} to version ${latestVersion}`) + `
603002
603071
  `);
603003
603072
  await regenerateCompletionCache();
603004
603073
  break;
@@ -604243,7 +604312,7 @@ ${customInstructions}` : customInstructions;
604243
604312
  }
604244
604313
  }
604245
604314
  logForDiagnosticsNoPII("info", "started", {
604246
- version: "0.7.35",
604315
+ version: "0.7.37",
604247
604316
  is_native_binary: isInBundledMode()
604248
604317
  });
604249
604318
  registerCleanup(async () => {
@@ -605020,7 +605089,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605020
605089
  } else {
605021
605090
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605022
605091
  profileCheckpoint("action_after_hooks");
605023
- console.log(getWelcomeMessage("0.7.35"));
605092
+ console.log(getWelcomeMessage("0.7.37"));
605024
605093
  maybeActivateProactive(options);
605025
605094
  maybeActivateBrief(options);
605026
605095
  if (false) {}
@@ -605037,10 +605106,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605037
605106
  pendingHookMessages
605038
605107
  }, renderAndRun);
605039
605108
  }
605040
- }).version("0.7.35 (Cody CLI)", "-v, --version", "Output the version number");
605109
+ }).version("0.7.37 (Cody CLI)", "-v, --version", "Output the version number");
605041
605110
  program2.configureOutput({
605042
605111
  writeOut: (str2) => {
605043
- if (str2.includes("0.7.35")) {
605112
+ if (str2.includes("0.7.37")) {
605044
605113
  process.stdout.write(getCodyLogo() + `
605045
605114
  ` + str2);
605046
605115
  } else {
@@ -605597,7 +605666,7 @@ async function main2() {
605597
605666
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605598
605667
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605599
605668
  console.log(getCodyLogo2() + `
605600
- 0.7.35 (Cody CLI)`);
605669
+ 0.7.37 (Cody CLI)`);
605601
605670
  return;
605602
605671
  }
605603
605672
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.35",
3
+ "version": "0.7.37",
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",