@ainative/cody-cli 0.7.13 → 0.7.14

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 +109 -103
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -172697,7 +172697,8 @@ function getRateLimitTier() {
172697
172697
  function getSubscriptionName() {
172698
172698
  const baseUrl = process.env.ANTHROPIC_BASE_URL || "";
172699
172699
  if (baseUrl.includes("ainative.studio")) {
172700
- return "AINative API";
172700
+ const { getGlobalConfig: getGlobalConfig2 } = (init_config2(), __toCommonJS(exports_config));
172701
+ return getGlobalConfig2().ainativePlanCache || "AINative Pro";
172701
172702
  }
172702
172703
  const subscriptionType = getSubscriptionType();
172703
172704
  switch (subscriptionType) {
@@ -172779,18 +172780,13 @@ function getAccountInformation() {
172779
172780
  const baseUrl = process.env.ANTHROPIC_BASE_URL || "";
172780
172781
  const isAINative = baseUrl.includes("ainative.studio");
172781
172782
  if (isAINative) {
172783
+ const { getGlobalConfig: getGlobalConfig2 } = (init_config2(), __toCommonJS(exports_config));
172784
+ const config2 = getGlobalConfig2();
172785
+ const cachedUser = config2.ainativeUserCache;
172782
172786
  const accountInfo2 = {};
172783
- accountInfo2.subscription = getSubscriptionName();
172784
- accountInfo2.email = process.env.AINATIVE_USERNAME || process.env.USER_EMAIL || undefined;
172785
- accountInfo2.organization = "AINative Studio";
172786
- const oauthEmail = getOauthAccountInfo()?.emailAddress;
172787
- if (oauthEmail) {
172788
- accountInfo2.email = oauthEmail;
172789
- }
172790
- const orgName = getOauthAccountInfo()?.organizationName;
172791
- if (orgName) {
172792
- accountInfo2.organization = orgName;
172793
- }
172787
+ accountInfo2.subscription = config2.ainativePlanCache || getSubscriptionName();
172788
+ accountInfo2.email = cachedUser?.email || getOauthAccountInfo()?.emailAddress || process.env.AINATIVE_USERNAME || process.env.USER_EMAIL || undefined;
172789
+ accountInfo2.organization = cachedUser?.organization || getOauthAccountInfo()?.organizationName || undefined;
172794
172790
  return accountInfo2;
172795
172791
  }
172796
172792
  const apiProvider = getAPIProvider();
@@ -172993,7 +172989,7 @@ var init_auth2 = __esm(() => {
172993
172989
 
172994
172990
  // src/utils/userAgent.ts
172995
172991
  function getCodyUserAgent() {
172996
- return `cody-cli/${"0.7.13"}`;
172992
+ return `cody-cli/${"0.7.14"}`;
172997
172993
  }
172998
172994
 
172999
172995
  // src/utils/workloadContext.ts
@@ -173015,7 +173011,7 @@ function getUserAgent() {
173015
173011
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
173016
173012
  const workload = getWorkload();
173017
173013
  const workloadSuffix = workload ? `, workload/${workload}` : "";
173018
- return `claude-cli/${"0.7.13"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173014
+ return `claude-cli/${"0.7.14"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173019
173015
  }
173020
173016
  function getMCPUserAgent() {
173021
173017
  const parts = [];
@@ -173029,7 +173025,7 @@ function getMCPUserAgent() {
173029
173025
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
173030
173026
  }
173031
173027
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
173032
- return `claude-code/${"0.7.13"}${suffix}`;
173028
+ return `claude-code/${"0.7.14"}${suffix}`;
173033
173029
  }
173034
173030
  function getWebFetchUserAgent() {
173035
173031
  return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
@@ -173167,7 +173163,7 @@ var init_user = __esm(() => {
173167
173163
  deviceId,
173168
173164
  sessionId: getSessionId(),
173169
173165
  email: getEmail(),
173170
- appVersion: "0.7.13",
173166
+ appVersion: "0.7.14",
173171
173167
  platform: getHostPlatformForAnalytics(),
173172
173168
  organizationUuid,
173173
173169
  accountUuid,
@@ -180859,7 +180855,7 @@ var init_metadata = __esm(() => {
180859
180855
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
180860
180856
  WHITESPACE_REGEX = /\s+/;
180861
180857
  getVersionBase = memoize_default(() => {
180862
- const match = "0.7.13".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180858
+ const match = "0.7.14".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180863
180859
  return match ? match[0] : undefined;
180864
180860
  });
180865
180861
  buildEnvContext = memoize_default(async () => {
@@ -180899,9 +180895,9 @@ var init_metadata = __esm(() => {
180899
180895
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
180900
180896
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
180901
180897
  isClaudeAiAuth: isClaudeAISubscriber(),
180902
- version: "0.7.13",
180898
+ version: "0.7.14",
180903
180899
  versionBase: getVersionBase(),
180904
- buildTime: "1775373393",
180900
+ buildTime: "1775374003",
180905
180901
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
180906
180902
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
180907
180903
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -181519,7 +181515,7 @@ function initialize1PEventLogging() {
181519
181515
  const platform3 = getPlatform();
181520
181516
  const attributes = {
181521
181517
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
181522
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.13"
181518
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.14"
181523
181519
  };
181524
181520
  if (platform3 === "wsl") {
181525
181521
  const wslVersion = getWslVersion();
@@ -181546,7 +181542,7 @@ function initialize1PEventLogging() {
181546
181542
  })
181547
181543
  ]
181548
181544
  });
181549
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.13");
181545
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.14");
181550
181546
  }
181551
181547
  async function reinitialize1PEventLoggingIfConfigChanged() {
181552
181548
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -183371,7 +183367,7 @@ function getAttributionHeader(fingerprint) {
183371
183367
  if (!isAttributionHeaderEnabled()) {
183372
183368
  return "";
183373
183369
  }
183374
- const version6 = `${"0.7.13"}.${fingerprint}`;
183370
+ const version6 = `${"0.7.14"}.${fingerprint}`;
183375
183371
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183376
183372
  const cch = "";
183377
183373
  const workload = getWorkload();
@@ -247450,7 +247446,7 @@ function getTelemetryAttributes() {
247450
247446
  attributes["session.id"] = sessionId;
247451
247447
  }
247452
247448
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247453
- attributes["app.version"] = "0.7.13";
247449
+ attributes["app.version"] = "0.7.14";
247454
247450
  }
247455
247451
  const oauthAccount = getOauthAccountInfo();
247456
247452
  if (oauthAccount) {
@@ -278627,7 +278623,7 @@ function getInstallationEnv() {
278627
278623
  return;
278628
278624
  }
278629
278625
  function getClaudeCodeVersion() {
278630
- return "0.7.13";
278626
+ return "0.7.14";
278631
278627
  }
278632
278628
  async function getInstalledVSCodeExtensionVersion(command) {
278633
278629
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -284161,7 +284157,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284161
284157
  const client4 = new Client({
284162
284158
  name: "claude-code",
284163
284159
  title: "Claude Code",
284164
- version: "0.7.13",
284160
+ version: "0.7.14",
284165
284161
  description: "Anthropic's agentic coding tool",
284166
284162
  websiteUrl: PRODUCT_URL
284167
284163
  }, {
@@ -284515,7 +284511,7 @@ var init_client8 = __esm(() => {
284515
284511
  const client4 = new Client({
284516
284512
  name: "claude-code",
284517
284513
  title: "Claude Code",
284518
- version: "0.7.13",
284514
+ version: "0.7.14",
284519
284515
  description: "Anthropic's agentic coding tool",
284520
284516
  websiteUrl: PRODUCT_URL
284521
284517
  }, {
@@ -332647,7 +332643,7 @@ async function initializeBetaTracing(resource) {
332647
332643
  });
332648
332644
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332649
332645
  setLoggerProvider(loggerProvider);
332650
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.13");
332646
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.14");
332651
332647
  setEventLogger(eventLogger);
332652
332648
  process.on("beforeExit", async () => {
332653
332649
  await loggerProvider?.forceFlush();
@@ -332687,7 +332683,7 @@ async function initializeTelemetry() {
332687
332683
  const platform5 = getPlatform();
332688
332684
  const baseAttributes = {
332689
332685
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332690
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.13"
332686
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.14"
332691
332687
  };
332692
332688
  if (platform5 === "wsl") {
332693
332689
  const wslVersion = getWslVersion();
@@ -332732,7 +332728,7 @@ async function initializeTelemetry() {
332732
332728
  } catch {}
332733
332729
  };
332734
332730
  registerCleanup(shutdownTelemetry2);
332735
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.13");
332731
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.14");
332736
332732
  }
332737
332733
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332738
332734
  resource,
@@ -332752,7 +332748,7 @@ async function initializeTelemetry() {
332752
332748
  });
332753
332749
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332754
332750
  setLoggerProvider(loggerProvider);
332755
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.13");
332751
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.14");
332756
332752
  setEventLogger(eventLogger);
332757
332753
  logForDebugging("[3P telemetry] Event logger set successfully");
332758
332754
  process.on("beforeExit", async () => {
@@ -332814,7 +332810,7 @@ Current timeout: ${timeoutMs}ms
332814
332810
  }
332815
332811
  };
332816
332812
  registerCleanup(shutdownTelemetry);
332817
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.13");
332813
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.14");
332818
332814
  }
332819
332815
  async function flushTelemetry() {
332820
332816
  const meterProvider = getMeterProvider();
@@ -333503,9 +333499,9 @@ async function assertMinVersion() {
333503
333499
  }
333504
333500
  try {
333505
333501
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333506
- if (versionConfig.minVersion && lt("0.7.13", versionConfig.minVersion)) {
333502
+ if (versionConfig.minVersion && lt("0.7.14", versionConfig.minVersion)) {
333507
333503
  console.error(`
333508
- It looks like your version of Cody CLI (${"0.7.13"}) needs an update.
333504
+ It looks like your version of Cody CLI (${"0.7.14"}) needs an update.
333509
333505
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333510
333506
 
333511
333507
  To update, please run:
@@ -333742,7 +333738,7 @@ async function installGlobalPackage(specificVersion) {
333742
333738
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333743
333739
  logEvent("tengu_auto_updater_lock_contention", {
333744
333740
  pid: process.pid,
333745
- currentVersion: "0.7.13"
333741
+ currentVersion: "0.7.14"
333746
333742
  });
333747
333743
  return "in_progress";
333748
333744
  }
@@ -333751,7 +333747,7 @@ async function installGlobalPackage(specificVersion) {
333751
333747
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333752
333748
  logError2(new Error("Windows NPM detected in WSL environment"));
333753
333749
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333754
- currentVersion: "0.7.13"
333750
+ currentVersion: "0.7.14"
333755
333751
  });
333756
333752
  console.error(`
333757
333753
  Error: Windows NPM detected in WSL
@@ -334286,7 +334282,7 @@ function detectLinuxGlobPatternWarnings() {
334286
334282
  }
334287
334283
  async function getDoctorDiagnostic() {
334288
334284
  const installationType = await getCurrentInstallationType();
334289
- const version6 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
334285
+ const version6 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
334290
334286
  const installationPath = await getInstallationPath();
334291
334287
  const invokedBinary = getInvokedBinary();
334292
334288
  const multipleInstallations = await detectMultipleInstallations();
@@ -335121,8 +335117,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335121
335117
  const maxVersion = await getMaxVersion();
335122
335118
  if (maxVersion && gt(version6, maxVersion)) {
335123
335119
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335124
- if (gte("0.7.13", maxVersion)) {
335125
- logForDebugging(`Native installer: current version ${"0.7.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
335120
+ if (gte("0.7.14", maxVersion)) {
335121
+ logForDebugging(`Native installer: current version ${"0.7.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
335126
335122
  logEvent("tengu_native_update_skipped_max_version", {
335127
335123
  latency_ms: Date.now() - startTime,
335128
335124
  max_version: maxVersion,
@@ -335133,7 +335129,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335133
335129
  version6 = maxVersion;
335134
335130
  }
335135
335131
  }
335136
- if (!forceReinstall && version6 === "0.7.13" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335132
+ if (!forceReinstall && version6 === "0.7.14" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335137
335133
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335138
335134
  logEvent("tengu_native_update_complete", {
335139
335135
  latency_ms: Date.now() - startTime,
@@ -418723,7 +418719,7 @@ function getAnthropicEnvMetadata() {
418723
418719
  function getBuildAgeMinutes() {
418724
418720
  if (false)
418725
418721
  ;
418726
- const buildTime = new Date("1775373393").getTime();
418722
+ const buildTime = new Date("1775374003").getTime();
418727
418723
  if (isNaN(buildTime))
418728
418724
  return;
418729
418725
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442236,7 +442232,7 @@ function Feedback({
442236
442232
  platform: env4.platform,
442237
442233
  gitRepo: envInfo.isGit,
442238
442234
  terminal: env4.terminal,
442239
- version: "0.7.13",
442235
+ version: "0.7.14",
442240
442236
  transcript: normalizeMessagesForAPI(messages),
442241
442237
  errors: sanitizedErrors,
442242
442238
  lastApiRequest: getLastAPIRequest(),
@@ -442428,7 +442424,7 @@ function Feedback({
442428
442424
  ", ",
442429
442425
  env4.terminal,
442430
442426
  ", v",
442431
- "0.7.13"
442427
+ "0.7.14"
442432
442428
  ]
442433
442429
  }, undefined, true, undefined, this)
442434
442430
  ]
@@ -442534,7 +442530,7 @@ ${sanitizedDescription}
442534
442530
  ` + `**Environment Info**
442535
442531
  ` + `- Platform: ${env4.platform}
442536
442532
  ` + `- Terminal: ${env4.terminal}
442537
- ` + `- Version: ${"0.7.13"}
442533
+ ` + `- Version: ${"0.7.14"}
442538
442534
  ` + `- Feedback ID: ${feedbackId}
442539
442535
  ` + `
442540
442536
  **Errors**
@@ -445634,7 +445630,7 @@ function buildPrimarySection() {
445634
445630
  }, undefined, false, undefined, this);
445635
445631
  return [{
445636
445632
  label: "Version",
445637
- value: "0.7.13"
445633
+ value: "0.7.14"
445638
445634
  }, {
445639
445635
  label: "Session name",
445640
445636
  value: nameValue
@@ -449385,7 +449381,7 @@ function Config({
449385
449381
  }
449386
449382
  }, undefined, false, undefined, this)
449387
449383
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449388
- currentVersion: "0.7.13",
449384
+ currentVersion: "0.7.14",
449389
449385
  onChoice: (choice) => {
449390
449386
  setShowSubmenu(null);
449391
449387
  setTabsHidden(false);
@@ -449397,7 +449393,7 @@ function Config({
449397
449393
  autoUpdatesChannel: "stable"
449398
449394
  };
449399
449395
  if (choice === "stay") {
449400
- newSettings.minimumVersion = "0.7.13";
449396
+ newSettings.minimumVersion = "0.7.14";
449401
449397
  }
449402
449398
  updateSettingsForSource("userSettings", newSettings);
449403
449399
  setSettingsData((prev_27) => ({
@@ -457398,7 +457394,7 @@ function HelpV2(t0) {
457398
457394
  let t6;
457399
457395
  if ($3[31] !== tabs) {
457400
457396
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457401
- title: `Cody CLI v${"0.7.13"}`,
457397
+ title: `Cody CLI v${"0.7.14"}`,
457402
457398
  color: "professionalBlue",
457403
457399
  defaultTab: "general",
457404
457400
  children: tabs
@@ -481588,7 +481584,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481588
481584
  return [];
481589
481585
  }
481590
481586
  }
481591
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.13") {
481587
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.14") {
481592
481588
  if (false) {}
481593
481589
  const cachedChangelog = await getStoredChangelog();
481594
481590
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481601,7 +481597,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.13")
481601
481597
  releaseNotes
481602
481598
  };
481603
481599
  }
481604
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.13") {
481600
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.14") {
481605
481601
  if (false) {}
481606
481602
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481607
481603
  return {
@@ -482757,7 +482753,7 @@ function getRecentActivitySync() {
482757
482753
  return cachedActivity;
482758
482754
  }
482759
482755
  function getLogoDisplayData() {
482760
- const version6 = process.env.DEMO_VERSION ?? "0.7.13";
482756
+ const version6 = process.env.DEMO_VERSION ?? "0.7.14";
482761
482757
  const serverUrl = getDirectConnectServerUrl();
482762
482758
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
482763
482759
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484272,7 +484268,7 @@ function LogoV2() {
484272
484268
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484273
484269
  t2 = () => {
484274
484270
  const currentConfig = getGlobalConfig();
484275
- if (currentConfig.lastReleaseNotesSeen === "0.7.13") {
484271
+ if (currentConfig.lastReleaseNotesSeen === "0.7.14") {
484276
484272
  return;
484277
484273
  }
484278
484274
  saveGlobalConfig(_temp329);
@@ -484948,12 +484944,12 @@ function LogoV2() {
484948
484944
  return t41;
484949
484945
  }
484950
484946
  function _temp329(current) {
484951
- if (current.lastReleaseNotesSeen === "0.7.13") {
484947
+ if (current.lastReleaseNotesSeen === "0.7.14") {
484952
484948
  return current;
484953
484949
  }
484954
484950
  return {
484955
484951
  ...current,
484956
- lastReleaseNotesSeen: "0.7.13"
484952
+ lastReleaseNotesSeen: "0.7.14"
484957
484953
  };
484958
484954
  }
484959
484955
  function _temp245(s_0) {
@@ -511291,7 +511287,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511291
511287
  smapsRollup,
511292
511288
  platform: process.platform,
511293
511289
  nodeVersion: process.version,
511294
- ccVersion: "0.7.13"
511290
+ ccVersion: "0.7.14"
511295
511291
  };
511296
511292
  }
511297
511293
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -511819,7 +511815,7 @@ var init_bridge_kick = __esm(() => {
511819
511815
  var call56 = async () => {
511820
511816
  return {
511821
511817
  type: "text",
511822
- value: `${"0.7.13"} (built ${"1775373393"})`
511818
+ value: `${"0.7.14"} (built ${"1775374003"})`
511823
511819
  };
511824
511820
  }, version6, version_default;
511825
511821
  var init_version = __esm(() => {
@@ -520766,7 +520762,7 @@ function generateHtmlReport(data, insights) {
520766
520762
  </html>`;
520767
520763
  }
520768
520764
  function buildExportData(data, insights, facets, remoteStats) {
520769
- const version7 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
520765
+ const version7 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
520770
520766
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520771
520767
  const facets_summary = {
520772
520768
  total: facets.size,
@@ -524712,7 +524708,7 @@ var init_sessionStorage = __esm(() => {
524712
524708
  init_settings2();
524713
524709
  init_slowOperations();
524714
524710
  init_uuid();
524715
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
524711
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
524716
524712
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524717
524713
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524718
524714
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -525917,7 +525913,7 @@ var init_filesystem = __esm(() => {
525917
525913
  });
525918
525914
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
525919
525915
  const nonce = randomBytes19(16).toString("hex");
525920
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.13", nonce);
525916
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.14", nonce);
525921
525917
  });
525922
525918
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
525923
525919
  });
@@ -531889,7 +531885,7 @@ function computeFingerprint(messageText, version7) {
531889
531885
  }
531890
531886
  function computeFingerprintFromMessages(messages) {
531891
531887
  const firstMessageText = extractFirstMessageText(messages);
531892
- return computeFingerprint(firstMessageText, "0.7.13");
531888
+ return computeFingerprint(firstMessageText, "0.7.14");
531893
531889
  }
531894
531890
  var FINGERPRINT_SALT = "59cf53e54c78";
531895
531891
  var init_fingerprint = () => {};
@@ -533803,7 +533799,7 @@ async function sideQuery(opts) {
533803
533799
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
533804
533800
  }
533805
533801
  const messageText = extractFirstUserMessageText(messages);
533806
- const fingerprint = computeFingerprint(messageText, "0.7.13");
533802
+ const fingerprint = computeFingerprint(messageText, "0.7.14");
533807
533803
  const attributionHeader = getAttributionHeader(fingerprint);
533808
533804
  const systemBlocks = [
533809
533805
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538327,7 +538323,7 @@ function buildSystemInitMessage(inputs) {
538327
538323
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538328
538324
  apiKeySource: getAnthropicApiKeyWithSource().source,
538329
538325
  betas: getSdkBetas(),
538330
- claude_code_version: "0.7.13",
538326
+ claude_code_version: "0.7.14",
538331
538327
  output_style: outputStyle2,
538332
538328
  agents: inputs.agents.map((agent) => agent.agentType),
538333
538329
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -552879,7 +552875,7 @@ var init_useVoiceEnabled = __esm(() => {
552879
552875
  function getSemverPart(version7) {
552880
552876
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
552881
552877
  }
552882
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.13") {
552878
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.14") {
552883
552879
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
552884
552880
  if (!updatedVersion) {
552885
552881
  return null;
@@ -552919,7 +552915,7 @@ function AutoUpdater({
552919
552915
  return;
552920
552916
  }
552921
552917
  if (false) {}
552922
- const currentVersion = "0.7.13";
552918
+ const currentVersion = "0.7.14";
552923
552919
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
552924
552920
  let latestVersion = await getLatestVersion(channel);
552925
552921
  const isDisabled = isAutoUpdaterDisabled();
@@ -553132,12 +553128,12 @@ function NativeAutoUpdater({
553132
553128
  logEvent("tengu_native_auto_updater_start", {});
553133
553129
  try {
553134
553130
  const maxVersion = await getMaxVersion();
553135
- if (maxVersion && gt("0.7.13", maxVersion)) {
553131
+ if (maxVersion && gt("0.7.14", maxVersion)) {
553136
553132
  const msg = await getMaxVersionMessage();
553137
553133
  setMaxVersionIssue(msg ?? "affects your version");
553138
553134
  }
553139
553135
  const result = await installLatest(channel);
553140
- const currentVersion = "0.7.13";
553136
+ const currentVersion = "0.7.14";
553141
553137
  const latencyMs = Date.now() - startTime;
553142
553138
  if (result.lockFailed) {
553143
553139
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553274,17 +553270,17 @@ function PackageManagerAutoUpdater(t0) {
553274
553270
  const maxVersion = await getMaxVersion();
553275
553271
  if (maxVersion && latest && gt(latest, maxVersion)) {
553276
553272
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553277
- if (gte("0.7.13", maxVersion)) {
553278
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
553273
+ if (gte("0.7.14", maxVersion)) {
553274
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
553279
553275
  setUpdateAvailable(false);
553280
553276
  return;
553281
553277
  }
553282
553278
  latest = maxVersion;
553283
553279
  }
553284
- const hasUpdate = latest && !gte("0.7.13", latest) && !shouldSkipVersion(latest);
553280
+ const hasUpdate = latest && !gte("0.7.14", latest) && !shouldSkipVersion(latest);
553285
553281
  setUpdateAvailable(!!hasUpdate);
553286
553282
  if (hasUpdate) {
553287
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.13"} -> ${latest}`);
553283
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.14"} -> ${latest}`);
553288
553284
  }
553289
553285
  };
553290
553286
  $3[0] = t1;
@@ -553318,7 +553314,7 @@ function PackageManagerAutoUpdater(t0) {
553318
553314
  wrap: "truncate",
553319
553315
  children: [
553320
553316
  "currentVersion: ",
553321
- "0.7.13"
553317
+ "0.7.14"
553322
553318
  ]
553323
553319
  }, undefined, true, undefined, this);
553324
553320
  $3[3] = verbose;
@@ -561428,7 +561424,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561428
561424
  project_dir: getOriginalCwd(),
561429
561425
  added_dirs: addedDirs
561430
561426
  },
561431
- version: "0.7.13",
561427
+ version: "0.7.14",
561432
561428
  output_style: {
561433
561429
  name: outputStyleName
561434
561430
  },
@@ -572802,7 +572798,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
572802
572798
  } catch {}
572803
572799
  const data = {
572804
572800
  trigger,
572805
- version: "0.7.13",
572801
+ version: "0.7.14",
572806
572802
  platform: process.platform,
572807
572803
  transcript,
572808
572804
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -583743,8 +583739,9 @@ async function fetchBootstrapData() {
583743
583739
  const clientData = response.client_data ?? null;
583744
583740
  const additionalModelOptions = response.additional_model_options ?? [];
583745
583741
  const plan2 = response.plan ?? null;
583742
+ const userInfo4 = response.user ?? null;
583746
583743
  const config4 = getGlobalConfig();
583747
- if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions) && isEqual_default(config4.ainativePlanCache, plan2)) {
583744
+ if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions) && isEqual_default(config4.ainativePlanCache, plan2) && isEqual_default(config4.ainativeUserCache, userInfo4)) {
583748
583745
  logForDebugging("[Bootstrap] Cache unchanged, skipping write");
583749
583746
  return;
583750
583747
  }
@@ -583753,7 +583750,8 @@ async function fetchBootstrapData() {
583753
583750
  ...current,
583754
583751
  clientDataCache: clientData,
583755
583752
  additionalModelOptionsCache: additionalModelOptions,
583756
- ainativePlanCache: plan2
583753
+ ainativePlanCache: plan2,
583754
+ ainativeUserCache: userInfo4
583757
583755
  }));
583758
583756
  } catch (error43) {
583759
583757
  logError2(error43);
@@ -583774,6 +583772,14 @@ var init_bootstrap = __esm(() => {
583774
583772
  bootstrapResponseSchema = lazySchema(() => exports_external2.object({
583775
583773
  client_data: exports_external2.record(exports_external2.unknown()).nullish(),
583776
583774
  plan: exports_external2.string().nullish(),
583775
+ user_plan: exports_external2.string().nullish(),
583776
+ user: exports_external2.object({
583777
+ id: exports_external2.string(),
583778
+ email: exports_external2.string(),
583779
+ name: exports_external2.string().nullish(),
583780
+ organization: exports_external2.string().nullish(),
583781
+ organization_id: exports_external2.string().nullish()
583782
+ }).nullish(),
583777
583783
  additional_model_options: exports_external2.array(exports_external2.object({
583778
583784
  model: exports_external2.string(),
583779
583785
  name: exports_external2.string(),
@@ -584769,7 +584775,7 @@ function WelcomeV2() {
584769
584775
  dimColor: true,
584770
584776
  children: [
584771
584777
  "v",
584772
- "0.7.13",
584778
+ "0.7.14",
584773
584779
  " "
584774
584780
  ]
584775
584781
  }, undefined, true, undefined, this)
@@ -584969,7 +584975,7 @@ function WelcomeV2() {
584969
584975
  dimColor: true,
584970
584976
  children: [
584971
584977
  "v",
584972
- "0.7.13",
584978
+ "0.7.14",
584973
584979
  " "
584974
584980
  ]
584975
584981
  }, undefined, true, undefined, this)
@@ -585195,7 +585201,7 @@ function AppleTerminalWelcomeV2(t0) {
585195
585201
  dimColor: true,
585196
585202
  children: [
585197
585203
  "v",
585198
- "0.7.13",
585204
+ "0.7.14",
585199
585205
  " "
585200
585206
  ]
585201
585207
  }, undefined, true, undefined, this);
@@ -585449,7 +585455,7 @@ function AppleTerminalWelcomeV2(t0) {
585449
585455
  dimColor: true,
585450
585456
  children: [
585451
585457
  "v",
585452
- "0.7.13",
585458
+ "0.7.14",
585453
585459
  " "
585454
585460
  ]
585455
585461
  }, undefined, true, undefined, this);
@@ -586953,7 +586959,7 @@ function completeOnboarding() {
586953
586959
  saveGlobalConfig((current) => ({
586954
586960
  ...current,
586955
586961
  hasCompletedOnboarding: true,
586956
- lastOnboardingVersion: "0.7.13"
586962
+ lastOnboardingVersion: "0.7.14"
586957
586963
  }));
586958
586964
  }
586959
586965
  function showDialog(root2, renderer) {
@@ -591431,7 +591437,7 @@ function appendToLog(path28, message) {
591431
591437
  cwd: getFsImplementation().cwd(),
591432
591438
  userType: "external",
591433
591439
  sessionId: getSessionId(),
591434
- version: "0.7.13"
591440
+ version: "0.7.14"
591435
591441
  };
591436
591442
  getLogWriter(path28).write(messageWithTimestamp);
591437
591443
  }
@@ -595390,8 +595396,8 @@ async function getEnvLessBridgeConfig() {
595390
595396
  }
595391
595397
  async function checkEnvLessBridgeMinVersion() {
595392
595398
  const cfg = await getEnvLessBridgeConfig();
595393
- if (cfg.min_version && lt("0.7.13", cfg.min_version)) {
595394
- return `Your version of Cody CLI (${"0.7.13"}) is too old for Remote Control.
595399
+ if (cfg.min_version && lt("0.7.14", cfg.min_version)) {
595400
+ return `Your version of Cody CLI (${"0.7.14"}) is too old for Remote Control.
595395
595401
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
595396
595402
  }
595397
595403
  return null;
@@ -595865,7 +595871,7 @@ async function initBridgeCore(params) {
595865
595871
  const rawApi = createBridgeApiClient({
595866
595872
  baseUrl,
595867
595873
  getAccessToken,
595868
- runnerVersion: "0.7.13",
595874
+ runnerVersion: "0.7.14",
595869
595875
  onDebug: logForDebugging,
595870
595876
  onAuth401,
595871
595877
  getTrustedDeviceToken
@@ -601502,7 +601508,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601502
601508
  setCwd(cwd3);
601503
601509
  const server = new Server({
601504
601510
  name: "claude/tengu",
601505
- version: "0.7.13"
601511
+ version: "0.7.14"
601506
601512
  }, {
601507
601513
  capabilities: {
601508
601514
  tools: {}
@@ -603113,7 +603119,7 @@ __export(exports_update, {
603113
603119
  });
603114
603120
  async function update() {
603115
603121
  logEvent("tengu_update_check", {});
603116
- writeToStdout(`Current version: ${"0.7.13"}
603122
+ writeToStdout(`Current version: ${"0.7.14"}
603117
603123
  `);
603118
603124
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
603119
603125
  writeToStdout(`Checking for updates to ${channel} version...
@@ -603188,8 +603194,8 @@ async function update() {
603188
603194
  writeToStdout(`Cody CLI is managed by Homebrew.
603189
603195
  `);
603190
603196
  const latest = await getLatestVersion(channel);
603191
- if (latest && !gte("0.7.13", latest)) {
603192
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
603197
+ if (latest && !gte("0.7.14", latest)) {
603198
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
603193
603199
  `);
603194
603200
  writeToStdout(`
603195
603201
  `);
@@ -603205,8 +603211,8 @@ async function update() {
603205
603211
  writeToStdout(`Cody CLI is managed by winget.
603206
603212
  `);
603207
603213
  const latest = await getLatestVersion(channel);
603208
- if (latest && !gte("0.7.13", latest)) {
603209
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
603214
+ if (latest && !gte("0.7.14", latest)) {
603215
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
603210
603216
  `);
603211
603217
  writeToStdout(`
603212
603218
  `);
@@ -603222,8 +603228,8 @@ async function update() {
603222
603228
  writeToStdout(`Cody CLI is managed by apk.
603223
603229
  `);
603224
603230
  const latest = await getLatestVersion(channel);
603225
- if (latest && !gte("0.7.13", latest)) {
603226
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
603231
+ if (latest && !gte("0.7.14", latest)) {
603232
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
603227
603233
  `);
603228
603234
  writeToStdout(`
603229
603235
  `);
@@ -603288,11 +603294,11 @@ async function update() {
603288
603294
  `);
603289
603295
  await gracefulShutdown(1);
603290
603296
  }
603291
- if (result.latestVersion === "0.7.13") {
603292
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.13"})`) + `
603297
+ if (result.latestVersion === "0.7.14") {
603298
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.14"})`) + `
603293
603299
  `);
603294
603300
  } else {
603295
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${result.latestVersion}`) + `
603301
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${result.latestVersion}`) + `
603296
603302
  `);
603297
603303
  await regenerateCompletionCache();
603298
603304
  }
@@ -603352,12 +603358,12 @@ async function update() {
603352
603358
  `);
603353
603359
  await gracefulShutdown(1);
603354
603360
  }
603355
- if (latestVersion === "0.7.13") {
603356
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.13"})`) + `
603361
+ if (latestVersion === "0.7.14") {
603362
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.14"})`) + `
603357
603363
  `);
603358
603364
  await gracefulShutdown(0);
603359
603365
  }
603360
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.13"})
603366
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.14"})
603361
603367
  `);
603362
603368
  writeToStdout(`Installing update...
603363
603369
  `);
@@ -603402,7 +603408,7 @@ async function update() {
603402
603408
  logForDebugging(`update: Installation status: ${status2}`);
603403
603409
  switch (status2) {
603404
603410
  case "success":
603405
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${latestVersion}`) + `
603411
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${latestVersion}`) + `
603406
603412
  `);
603407
603413
  await regenerateCompletionCache();
603408
603414
  break;
@@ -604646,7 +604652,7 @@ ${customInstructions}` : customInstructions;
604646
604652
  }
604647
604653
  }
604648
604654
  logForDiagnosticsNoPII("info", "started", {
604649
- version: "0.7.13",
604655
+ version: "0.7.14",
604650
604656
  is_native_binary: isInBundledMode()
604651
604657
  });
604652
604658
  registerCleanup(async () => {
@@ -605414,7 +605420,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605414
605420
  } else {
605415
605421
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605416
605422
  profileCheckpoint("action_after_hooks");
605417
- console.log(getWelcomeMessage("0.7.13"));
605423
+ console.log(getWelcomeMessage("0.7.14"));
605418
605424
  maybeActivateProactive(options);
605419
605425
  maybeActivateBrief(options);
605420
605426
  if (false) {}
@@ -605431,10 +605437,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605431
605437
  pendingHookMessages
605432
605438
  }, renderAndRun);
605433
605439
  }
605434
- }).version("0.7.13 (Cody CLI)", "-v, --version", "Output the version number");
605440
+ }).version("0.7.14 (Cody CLI)", "-v, --version", "Output the version number");
605435
605441
  program2.configureOutput({
605436
605442
  writeOut: (str2) => {
605437
- if (str2.includes("0.7.13")) {
605443
+ if (str2.includes("0.7.14")) {
605438
605444
  process.stdout.write(getCodyLogo() + `
605439
605445
  ` + str2);
605440
605446
  } else {
@@ -605979,7 +605985,7 @@ async function main2() {
605979
605985
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605980
605986
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605981
605987
  console.log(getCodyLogo2() + `
605982
- 0.7.13 (Cody CLI)`);
605988
+ 0.7.14 (Cody CLI)`);
605983
605989
  return;
605984
605990
  }
605985
605991
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.13",
3
+ "version": "0.7.14",
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",