@ainative/cody-cli 0.7.35 → 0.7.36

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 +94 -89
  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.36"}`;
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.36"} (${"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.36"}${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.36",
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.36".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.36",
181040
181040
  versionBase: getVersionBase(),
181041
- buildTime: "1777670343",
181041
+ buildTime: "1777670728",
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.36"
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.36");
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.36"}.${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.36";
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.36";
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.36",
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.36",
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.36");
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.36"
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.36");
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.36");
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.36");
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.36", 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.36"}) 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.36"
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.36"
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.36" : "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.36", maxVersion)) {
335207
+ logForDebugging(`Native installer: current version ${"0.7.36"} 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.36" && 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,
@@ -419031,7 +419036,7 @@ function getAnthropicEnvMetadata() {
419031
419036
  function getBuildAgeMinutes() {
419032
419037
  if (false)
419033
419038
  ;
419034
- const buildTime = new Date("1777670343").getTime();
419039
+ const buildTime = new Date("1777670728").getTime();
419035
419040
  if (isNaN(buildTime))
419036
419041
  return;
419037
419042
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442544,7 +442549,7 @@ function Feedback({
442544
442549
  platform: env4.platform,
442545
442550
  gitRepo: envInfo.isGit,
442546
442551
  terminal: env4.terminal,
442547
- version: "0.7.35",
442552
+ version: "0.7.36",
442548
442553
  transcript: normalizeMessagesForAPI(messages),
442549
442554
  errors: sanitizedErrors,
442550
442555
  lastApiRequest: getLastAPIRequest(),
@@ -442736,7 +442741,7 @@ function Feedback({
442736
442741
  ", ",
442737
442742
  env4.terminal,
442738
442743
  ", v",
442739
- "0.7.35"
442744
+ "0.7.36"
442740
442745
  ]
442741
442746
  }, undefined, true, undefined, this)
442742
442747
  ]
@@ -442842,7 +442847,7 @@ ${sanitizedDescription}
442842
442847
  ` + `**Environment Info**
442843
442848
  ` + `- Platform: ${env4.platform}
442844
442849
  ` + `- Terminal: ${env4.terminal}
442845
- ` + `- Version: ${"0.7.35"}
442850
+ ` + `- Version: ${"0.7.36"}
442846
442851
  ` + `- Feedback ID: ${feedbackId}
442847
442852
  ` + `
442848
442853
  **Errors**
@@ -445942,7 +445947,7 @@ function buildPrimarySection() {
445942
445947
  }, undefined, false, undefined, this);
445943
445948
  return [{
445944
445949
  label: "Version",
445945
- value: "0.7.35"
445950
+ value: "0.7.36"
445946
445951
  }, {
445947
445952
  label: "Session name",
445948
445953
  value: nameValue
@@ -449693,7 +449698,7 @@ function Config({
449693
449698
  }
449694
449699
  }, undefined, false, undefined, this)
449695
449700
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449696
- currentVersion: "0.7.35",
449701
+ currentVersion: "0.7.36",
449697
449702
  onChoice: (choice) => {
449698
449703
  setShowSubmenu(null);
449699
449704
  setTabsHidden(false);
@@ -449705,7 +449710,7 @@ function Config({
449705
449710
  autoUpdatesChannel: "stable"
449706
449711
  };
449707
449712
  if (choice === "stay") {
449708
- newSettings.minimumVersion = "0.7.35";
449713
+ newSettings.minimumVersion = "0.7.36";
449709
449714
  }
449710
449715
  updateSettingsForSource("userSettings", newSettings);
449711
449716
  setSettingsData((prev_27) => ({
@@ -457747,7 +457752,7 @@ function HelpV2(t0) {
457747
457752
  let t6;
457748
457753
  if ($3[31] !== tabs) {
457749
457754
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457750
- title: `Cody CLI v${"0.7.35"}`,
457755
+ title: `Cody CLI v${"0.7.36"}`,
457751
457756
  color: "professionalBlue",
457752
457757
  defaultTab: "general",
457753
457758
  children: tabs
@@ -481937,7 +481942,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481937
481942
  return [];
481938
481943
  }
481939
481944
  }
481940
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.35") {
481945
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.36") {
481941
481946
  if (false) {}
481942
481947
  const cachedChangelog = await getStoredChangelog();
481943
481948
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481950,7 +481955,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.35")
481950
481955
  releaseNotes
481951
481956
  };
481952
481957
  }
481953
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.35") {
481958
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.36") {
481954
481959
  if (false) {}
481955
481960
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481956
481961
  return {
@@ -483106,7 +483111,7 @@ function getRecentActivitySync() {
483106
483111
  return cachedActivity;
483107
483112
  }
483108
483113
  function getLogoDisplayData() {
483109
- const version6 = process.env.DEMO_VERSION ?? "0.7.35";
483114
+ const version6 = process.env.DEMO_VERSION ?? "0.7.36";
483110
483115
  const serverUrl = getDirectConnectServerUrl();
483111
483116
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
483112
483117
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484526,7 +484531,7 @@ function LogoV2() {
484526
484531
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484527
484532
  t2 = () => {
484528
484533
  const currentConfig = getGlobalConfig();
484529
- if (currentConfig.lastReleaseNotesSeen === "0.7.35") {
484534
+ if (currentConfig.lastReleaseNotesSeen === "0.7.36") {
484530
484535
  return;
484531
484536
  }
484532
484537
  saveGlobalConfig(_temp329);
@@ -485202,12 +485207,12 @@ function LogoV2() {
485202
485207
  return t41;
485203
485208
  }
485204
485209
  function _temp329(current) {
485205
- if (current.lastReleaseNotesSeen === "0.7.35") {
485210
+ if (current.lastReleaseNotesSeen === "0.7.36") {
485206
485211
  return current;
485207
485212
  }
485208
485213
  return {
485209
485214
  ...current,
485210
- lastReleaseNotesSeen: "0.7.35"
485215
+ lastReleaseNotesSeen: "0.7.36"
485211
485216
  };
485212
485217
  }
485213
485218
  function _temp245(s_0) {
@@ -511500,7 +511505,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511500
511505
  smapsRollup,
511501
511506
  platform: process.platform,
511502
511507
  nodeVersion: process.version,
511503
- ccVersion: "0.7.35"
511508
+ ccVersion: "0.7.36"
511504
511509
  };
511505
511510
  }
511506
511511
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -512028,7 +512033,7 @@ var init_bridge_kick = __esm(() => {
512028
512033
  var call56 = async () => {
512029
512034
  return {
512030
512035
  type: "text",
512031
- value: `${"0.7.35"} (built ${"1777670343"})`
512036
+ value: `${"0.7.36"} (built ${"1777670728"})`
512032
512037
  };
512033
512038
  }, version6, version_default;
512034
512039
  var init_version = __esm(() => {
@@ -520975,7 +520980,7 @@ function generateHtmlReport(data, insights) {
520975
520980
  </html>`;
520976
520981
  }
520977
520982
  function buildExportData(data, insights, facets, remoteStats) {
520978
- const version7 = typeof MACRO !== "undefined" ? "0.7.35" : "unknown";
520983
+ const version7 = typeof MACRO !== "undefined" ? "0.7.36" : "unknown";
520979
520984
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520980
520985
  const facets_summary = {
520981
520986
  total: facets.size,
@@ -524921,7 +524926,7 @@ var init_sessionStorage = __esm(() => {
524921
524926
  init_settings2();
524922
524927
  init_slowOperations();
524923
524928
  init_uuid();
524924
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.35" : "unknown";
524929
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.36" : "unknown";
524925
524930
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524926
524931
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524927
524932
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -526126,7 +526131,7 @@ var init_filesystem = __esm(() => {
526126
526131
  });
526127
526132
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
526128
526133
  const nonce = randomBytes19(16).toString("hex");
526129
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.35", nonce);
526134
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.36", nonce);
526130
526135
  });
526131
526136
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
526132
526137
  });
@@ -532098,7 +532103,7 @@ function computeFingerprint(messageText, version7) {
532098
532103
  }
532099
532104
  function computeFingerprintFromMessages(messages) {
532100
532105
  const firstMessageText = extractFirstMessageText(messages);
532101
- return computeFingerprint(firstMessageText, "0.7.35");
532106
+ return computeFingerprint(firstMessageText, "0.7.36");
532102
532107
  }
532103
532108
  var FINGERPRINT_SALT = "59cf53e54c78";
532104
532109
  var init_fingerprint = () => {};
@@ -534160,7 +534165,7 @@ async function sideQuery(opts) {
534160
534165
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
534161
534166
  }
534162
534167
  const messageText = extractFirstUserMessageText(messages);
534163
- const fingerprint = computeFingerprint(messageText, "0.7.35");
534168
+ const fingerprint = computeFingerprint(messageText, "0.7.36");
534164
534169
  const attributionHeader = getAttributionHeader(fingerprint);
534165
534170
  const systemBlocks = [
534166
534171
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538742,7 +538747,7 @@ function buildSystemInitMessage(inputs) {
538742
538747
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538743
538748
  apiKeySource: getAnthropicApiKeyWithSource().source,
538744
538749
  betas: getSdkBetas(),
538745
- claude_code_version: "0.7.35",
538750
+ claude_code_version: "0.7.36",
538746
538751
  output_style: outputStyle2,
538747
538752
  agents: inputs.agents.map((agent) => agent.agentType),
538748
538753
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -553294,7 +553299,7 @@ var init_useVoiceEnabled = __esm(() => {
553294
553299
  function getSemverPart(version7) {
553295
553300
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
553296
553301
  }
553297
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.35") {
553302
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.36") {
553298
553303
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
553299
553304
  if (!updatedVersion) {
553300
553305
  return null;
@@ -553334,7 +553339,7 @@ function AutoUpdater({
553334
553339
  return;
553335
553340
  }
553336
553341
  if (false) {}
553337
- const currentVersion = "0.7.35";
553342
+ const currentVersion = "0.7.36";
553338
553343
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
553339
553344
  let latestVersion = await getLatestVersion(channel);
553340
553345
  const isDisabled = isAutoUpdaterDisabled();
@@ -553547,12 +553552,12 @@ function NativeAutoUpdater({
553547
553552
  logEvent("tengu_native_auto_updater_start", {});
553548
553553
  try {
553549
553554
  const maxVersion = await getMaxVersion();
553550
- if (maxVersion && gt("0.7.35", maxVersion)) {
553555
+ if (maxVersion && gt("0.7.36", maxVersion)) {
553551
553556
  const msg = await getMaxVersionMessage();
553552
553557
  setMaxVersionIssue(msg ?? "affects your version");
553553
553558
  }
553554
553559
  const result = await installLatest(channel);
553555
- const currentVersion = "0.7.35";
553560
+ const currentVersion = "0.7.36";
553556
553561
  const latencyMs = Date.now() - startTime;
553557
553562
  if (result.lockFailed) {
553558
553563
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553689,17 +553694,17 @@ function PackageManagerAutoUpdater(t0) {
553689
553694
  const maxVersion = await getMaxVersion();
553690
553695
  if (maxVersion && latest && gt(latest, maxVersion)) {
553691
553696
  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`);
553697
+ if (gte("0.7.36", maxVersion)) {
553698
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.36"} is already at or above maxVersion ${maxVersion}, skipping update`);
553694
553699
  setUpdateAvailable(false);
553695
553700
  return;
553696
553701
  }
553697
553702
  latest = maxVersion;
553698
553703
  }
553699
- const hasUpdate = latest && !gte("0.7.35", latest) && !shouldSkipVersion(latest);
553704
+ const hasUpdate = latest && !gte("0.7.36", latest) && !shouldSkipVersion(latest);
553700
553705
  setUpdateAvailable(!!hasUpdate);
553701
553706
  if (hasUpdate) {
553702
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.35"} -> ${latest}`);
553707
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.36"} -> ${latest}`);
553703
553708
  }
553704
553709
  };
553705
553710
  $3[0] = t1;
@@ -553733,7 +553738,7 @@ function PackageManagerAutoUpdater(t0) {
553733
553738
  wrap: "truncate",
553734
553739
  children: [
553735
553740
  "currentVersion: ",
553736
- "0.7.35"
553741
+ "0.7.36"
553737
553742
  ]
553738
553743
  }, undefined, true, undefined, this);
553739
553744
  $3[3] = verbose;
@@ -561843,7 +561848,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561843
561848
  project_dir: getOriginalCwd(),
561844
561849
  added_dirs: addedDirs
561845
561850
  },
561846
- version: "0.7.35",
561851
+ version: "0.7.36",
561847
561852
  output_style: {
561848
561853
  name: outputStyleName
561849
561854
  },
@@ -573231,7 +573236,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
573231
573236
  } catch {}
573232
573237
  const data = {
573233
573238
  trigger,
573234
- version: "0.7.35",
573239
+ version: "0.7.36",
573235
573240
  platform: process.platform,
573236
573241
  transcript,
573237
573242
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -585248,7 +585253,7 @@ function WelcomeV2() {
585248
585253
  dimColor: true,
585249
585254
  children: [
585250
585255
  "v",
585251
- "0.7.35",
585256
+ "0.7.36",
585252
585257
  " "
585253
585258
  ]
585254
585259
  }, undefined, true, undefined, this)
@@ -586549,7 +586554,7 @@ function completeOnboarding() {
586549
586554
  saveGlobalConfig((current) => ({
586550
586555
  ...current,
586551
586556
  hasCompletedOnboarding: true,
586552
- lastOnboardingVersion: "0.7.35"
586557
+ lastOnboardingVersion: "0.7.36"
586553
586558
  }));
586554
586559
  }
586555
586560
  function showDialog(root2, renderer) {
@@ -591027,7 +591032,7 @@ function appendToLog(path28, message) {
591027
591032
  cwd: getFsImplementation().cwd(),
591028
591033
  userType: "external",
591029
591034
  sessionId: getSessionId(),
591030
- version: "0.7.35"
591035
+ version: "0.7.36"
591031
591036
  };
591032
591037
  getLogWriter(path28).write(messageWithTimestamp);
591033
591038
  }
@@ -594986,8 +594991,8 @@ async function getEnvLessBridgeConfig() {
594986
594991
  }
594987
594992
  async function checkEnvLessBridgeMinVersion() {
594988
594993
  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.
594994
+ if (cfg.min_version && lt("0.7.36", cfg.min_version)) {
594995
+ return `Your version of Cody CLI (${"0.7.36"}) is too old for Remote Control.
594991
594996
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
594992
594997
  }
594993
594998
  return null;
@@ -595461,7 +595466,7 @@ async function initBridgeCore(params) {
595461
595466
  const rawApi = createBridgeApiClient({
595462
595467
  baseUrl,
595463
595468
  getAccessToken,
595464
- runnerVersion: "0.7.35",
595469
+ runnerVersion: "0.7.36",
595465
595470
  onDebug: logForDebugging,
595466
595471
  onAuth401,
595467
595472
  getTrustedDeviceToken
@@ -601098,7 +601103,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601098
601103
  setCwd(cwd3);
601099
601104
  const server = new Server({
601100
601105
  name: "claude/tengu",
601101
- version: "0.7.35"
601106
+ version: "0.7.36"
601102
601107
  }, {
601103
601108
  capabilities: {
601104
601109
  tools: {}
@@ -602709,7 +602714,7 @@ __export(exports_update, {
602709
602714
  });
602710
602715
  async function update() {
602711
602716
  logEvent("tengu_update_check", {});
602712
- writeToStdout(`Current version: ${"0.7.35"}
602717
+ writeToStdout(`Current version: ${"0.7.36"}
602713
602718
  `);
602714
602719
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
602715
602720
  writeToStdout(`Checking for updates to ${channel} version...
@@ -602784,8 +602789,8 @@ async function update() {
602784
602789
  writeToStdout(`Cody CLI is managed by Homebrew.
602785
602790
  `);
602786
602791
  const latest = await getLatestVersion(channel);
602787
- if (latest && !gte("0.7.35", latest)) {
602788
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602792
+ if (latest && !gte("0.7.36", latest)) {
602793
+ writeToStdout(`Update available: ${"0.7.36"} → ${latest}
602789
602794
  `);
602790
602795
  writeToStdout(`
602791
602796
  `);
@@ -602801,8 +602806,8 @@ async function update() {
602801
602806
  writeToStdout(`Cody CLI is managed by winget.
602802
602807
  `);
602803
602808
  const latest = await getLatestVersion(channel);
602804
- if (latest && !gte("0.7.35", latest)) {
602805
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602809
+ if (latest && !gte("0.7.36", latest)) {
602810
+ writeToStdout(`Update available: ${"0.7.36"} → ${latest}
602806
602811
  `);
602807
602812
  writeToStdout(`
602808
602813
  `);
@@ -602818,8 +602823,8 @@ async function update() {
602818
602823
  writeToStdout(`Cody CLI is managed by apk.
602819
602824
  `);
602820
602825
  const latest = await getLatestVersion(channel);
602821
- if (latest && !gte("0.7.35", latest)) {
602822
- writeToStdout(`Update available: ${"0.7.35"} → ${latest}
602826
+ if (latest && !gte("0.7.36", latest)) {
602827
+ writeToStdout(`Update available: ${"0.7.36"} → ${latest}
602823
602828
  `);
602824
602829
  writeToStdout(`
602825
602830
  `);
@@ -602884,11 +602889,11 @@ async function update() {
602884
602889
  `);
602885
602890
  await gracefulShutdown(1);
602886
602891
  }
602887
- if (result.latestVersion === "0.7.35") {
602888
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.35"})`) + `
602892
+ if (result.latestVersion === "0.7.36") {
602893
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.36"})`) + `
602889
602894
  `);
602890
602895
  } else {
602891
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.35"} to version ${result.latestVersion}`) + `
602896
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.36"} to version ${result.latestVersion}`) + `
602892
602897
  `);
602893
602898
  await regenerateCompletionCache();
602894
602899
  }
@@ -602948,12 +602953,12 @@ async function update() {
602948
602953
  `);
602949
602954
  await gracefulShutdown(1);
602950
602955
  }
602951
- if (latestVersion === "0.7.35") {
602952
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.35"})`) + `
602956
+ if (latestVersion === "0.7.36") {
602957
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.36"})`) + `
602953
602958
  `);
602954
602959
  await gracefulShutdown(0);
602955
602960
  }
602956
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.35"})
602961
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.36"})
602957
602962
  `);
602958
602963
  writeToStdout(`Installing update...
602959
602964
  `);
@@ -602998,7 +603003,7 @@ async function update() {
602998
603003
  logForDebugging(`update: Installation status: ${status2}`);
602999
603004
  switch (status2) {
603000
603005
  case "success":
603001
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.35"} to version ${latestVersion}`) + `
603006
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.36"} to version ${latestVersion}`) + `
603002
603007
  `);
603003
603008
  await regenerateCompletionCache();
603004
603009
  break;
@@ -604243,7 +604248,7 @@ ${customInstructions}` : customInstructions;
604243
604248
  }
604244
604249
  }
604245
604250
  logForDiagnosticsNoPII("info", "started", {
604246
- version: "0.7.35",
604251
+ version: "0.7.36",
604247
604252
  is_native_binary: isInBundledMode()
604248
604253
  });
604249
604254
  registerCleanup(async () => {
@@ -605020,7 +605025,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605020
605025
  } else {
605021
605026
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605022
605027
  profileCheckpoint("action_after_hooks");
605023
- console.log(getWelcomeMessage("0.7.35"));
605028
+ console.log(getWelcomeMessage("0.7.36"));
605024
605029
  maybeActivateProactive(options);
605025
605030
  maybeActivateBrief(options);
605026
605031
  if (false) {}
@@ -605037,10 +605042,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605037
605042
  pendingHookMessages
605038
605043
  }, renderAndRun);
605039
605044
  }
605040
- }).version("0.7.35 (Cody CLI)", "-v, --version", "Output the version number");
605045
+ }).version("0.7.36 (Cody CLI)", "-v, --version", "Output the version number");
605041
605046
  program2.configureOutput({
605042
605047
  writeOut: (str2) => {
605043
- if (str2.includes("0.7.35")) {
605048
+ if (str2.includes("0.7.36")) {
605044
605049
  process.stdout.write(getCodyLogo() + `
605045
605050
  ` + str2);
605046
605051
  } else {
@@ -605597,7 +605602,7 @@ async function main2() {
605597
605602
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605598
605603
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605599
605604
  console.log(getCodyLogo2() + `
605600
- 0.7.35 (Cody CLI)`);
605605
+ 0.7.36 (Cody CLI)`);
605601
605606
  return;
605602
605607
  }
605603
605608
  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.36",
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",