@rayu-dev/rayu-cli 1.5.0 → 1.5.1

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/rayu.js +77 -77
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -149047,7 +149047,7 @@ var init_isEqual = __esm(() => {
149047
149047
 
149048
149048
  // src/utils/userAgent.ts
149049
149049
  function getRayuUserAgent() {
149050
- return `rayu/${"1.5.0"}`;
149050
+ return `rayu/${"1.5.1"}`;
149051
149051
  }
149052
149052
  var getClaudeCodeUserAgent;
149053
149053
  var init_userAgent = __esm(() => {
@@ -149073,7 +149073,7 @@ function getUserAgent() {
149073
149073
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
149074
149074
  const workload = getWorkload();
149075
149075
  const workloadSuffix = workload ? `, workload/${workload}` : "";
149076
- return `rayu/${"1.5.0"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149076
+ return `rayu/${"1.5.1"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149077
149077
  }
149078
149078
  function getMCPUserAgent() {
149079
149079
  const parts = [];
@@ -149087,7 +149087,7 @@ function getMCPUserAgent() {
149087
149087
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
149088
149088
  }
149089
149089
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
149090
- return `rayu/${"1.5.0"}${suffix}`;
149090
+ return `rayu/${"1.5.1"}${suffix}`;
149091
149091
  }
149092
149092
  function getWebFetchUserAgent() {
149093
149093
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -191835,7 +191835,7 @@ function getAttributionHeader(fingerprint) {
191835
191835
  if (!isAttributionHeaderEnabled()) {
191836
191836
  return "";
191837
191837
  }
191838
- const version2 = `${"1.5.0"}.${fingerprint}`;
191838
+ const version2 = `${"1.5.1"}.${fingerprint}`;
191839
191839
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
191840
191840
  const cch = "";
191841
191841
  const workload = getWorkload();
@@ -245806,7 +245806,7 @@ var init_metadata = __esm(() => {
245806
245806
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
245807
245807
  WHITESPACE_REGEX = /\s+/;
245808
245808
  getVersionBase = memoize_default(() => {
245809
- const match = "1.5.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
245809
+ const match = "1.5.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
245810
245810
  return match ? match[0] : undefined;
245811
245811
  });
245812
245812
  buildEnvContext = memoize_default(async () => {
@@ -245845,7 +245845,7 @@ var init_metadata = __esm(() => {
245845
245845
  },
245846
245846
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
245847
245847
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
245848
- version: "1.5.0",
245848
+ version: "1.5.1",
245849
245849
  versionBase: getVersionBase(),
245850
245850
  buildTime: "",
245851
245851
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
@@ -277961,7 +277961,7 @@ function getTelemetryAttributes() {
277961
277961
  attributes["session.id"] = sessionId;
277962
277962
  }
277963
277963
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
277964
- attributes["app.version"] = "1.5.0";
277964
+ attributes["app.version"] = "1.5.1";
277965
277965
  }
277966
277966
  const oauthAccount = getOauthAccountInfo();
277967
277967
  if (oauthAccount) {
@@ -388318,7 +388318,7 @@ function getInstallationEnv() {
388318
388318
  return;
388319
388319
  }
388320
388320
  function getClaudeCodeVersion() {
388321
- return "1.5.0";
388321
+ return "1.5.1";
388322
388322
  }
388323
388323
  async function getInstalledVSCodeExtensionVersion(command) {
388324
388324
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -393556,7 +393556,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
393556
393556
  const client = new Client({
393557
393557
  name: "claude-code",
393558
393558
  title: "RAYU",
393559
- version: "1.5.0",
393559
+ version: "1.5.1",
393560
393560
  description: "Anthropic's agentic coding tool",
393561
393561
  websiteUrl: PRODUCT_URL
393562
393562
  }, {
@@ -393873,7 +393873,7 @@ var init_client5 = __esm(() => {
393873
393873
  const client = new Client({
393874
393874
  name: "claude-code",
393875
393875
  title: "RAYU",
393876
- version: "1.5.0",
393876
+ version: "1.5.1",
393877
393877
  description: "Anthropic's agentic coding tool",
393878
393878
  websiteUrl: PRODUCT_URL
393879
393879
  }, {
@@ -408692,7 +408692,7 @@ function computeFingerprint(messageText, version2) {
408692
408692
  }
408693
408693
  function computeFingerprintFromMessages(messages) {
408694
408694
  const firstMessageText = extractFirstMessageText(messages);
408695
- return computeFingerprint(firstMessageText, "1.5.0");
408695
+ return computeFingerprint(firstMessageText, "1.5.1");
408696
408696
  }
408697
408697
  var FINGERPRINT_SALT = "59cf53e54c78";
408698
408698
  var init_fingerprint = () => {};
@@ -408734,7 +408734,7 @@ async function sideQuery(opts) {
408734
408734
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
408735
408735
  }
408736
408736
  const messageText = extractFirstUserMessageText(messages);
408737
- const fingerprint = computeFingerprint(messageText, "1.5.0");
408737
+ const fingerprint = computeFingerprint(messageText, "1.5.1");
408738
408738
  const attributionHeader = getAttributionHeader(fingerprint);
408739
408739
  const systemBlocks = [
408740
408740
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -508260,9 +508260,9 @@ async function assertMinVersion() {
508260
508260
  if (false) {}
508261
508261
  try {
508262
508262
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
508263
- if (versionConfig.minVersion && lt("1.5.0", versionConfig.minVersion)) {
508263
+ if (versionConfig.minVersion && lt("1.5.1", versionConfig.minVersion)) {
508264
508264
  console.error(`
508265
- It looks like your version of RAYU (${"1.5.0"}) needs an update.
508265
+ It looks like your version of RAYU (${"1.5.1"}) needs an update.
508266
508266
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
508267
508267
 
508268
508268
  To update, please run:
@@ -508488,7 +508488,7 @@ async function installGlobalPackage(specificVersion) {
508488
508488
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
508489
508489
  logEvent("tengu_auto_updater_lock_contention", {
508490
508490
  pid: process.pid,
508491
- currentVersion: "1.5.0"
508491
+ currentVersion: "1.5.1"
508492
508492
  });
508493
508493
  return "in_progress";
508494
508494
  }
@@ -508497,7 +508497,7 @@ async function installGlobalPackage(specificVersion) {
508497
508497
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
508498
508498
  logError2(new Error("Windows NPM detected in WSL environment"));
508499
508499
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
508500
- currentVersion: "1.5.0"
508500
+ currentVersion: "1.5.1"
508501
508501
  });
508502
508502
  console.error(`
508503
508503
  Error: Windows NPM detected in WSL
@@ -509029,7 +509029,7 @@ function detectLinuxGlobPatternWarnings() {
509029
509029
  }
509030
509030
  async function getDoctorDiagnostic() {
509031
509031
  const installationType = await getCurrentInstallationType();
509032
- const version2 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
509032
+ const version2 = typeof MACRO !== "undefined" ? "1.5.1" : "unknown";
509033
509033
  const installationPath = await getInstallationPath();
509034
509034
  const invokedBinary = getInvokedBinary();
509035
509035
  const multipleInstallations = await detectMultipleInstallations();
@@ -509824,8 +509824,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
509824
509824
  const maxVersion = await getMaxVersion();
509825
509825
  if (maxVersion && gt(version2, maxVersion)) {
509826
509826
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
509827
- if (gte("1.5.0", maxVersion)) {
509828
- logForDebugging(`Native installer: current version ${"1.5.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
509827
+ if (gte("1.5.1", maxVersion)) {
509828
+ logForDebugging(`Native installer: current version ${"1.5.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
509829
509829
  logEvent("tengu_native_update_skipped_max_version", {
509830
509830
  latency_ms: Date.now() - startTime2,
509831
509831
  max_version: maxVersion,
@@ -509836,7 +509836,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
509836
509836
  version2 = maxVersion;
509837
509837
  }
509838
509838
  }
509839
- if (!forceReinstall && version2 === "1.5.0" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
509839
+ if (!forceReinstall && version2 === "1.5.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
509840
509840
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
509841
509841
  logEvent("tengu_native_update_complete", {
509842
509842
  latency_ms: Date.now() - startTime2,
@@ -511044,7 +511044,7 @@ function buildPrimarySection() {
511044
511044
  });
511045
511045
  return [{
511046
511046
  label: "Version",
511047
- value: "1.5.0"
511047
+ value: "1.5.1"
511048
511048
  }, {
511049
511049
  label: "Session name",
511050
511050
  value: nameValue
@@ -514715,7 +514715,7 @@ function Config({
514715
514715
  }
514716
514716
  })
514717
514717
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
514718
- currentVersion: "1.5.0",
514718
+ currentVersion: "1.5.1",
514719
514719
  onChoice: (choice) => {
514720
514720
  setShowSubmenu(null);
514721
514721
  setTabsHidden(false);
@@ -514727,7 +514727,7 @@ function Config({
514727
514727
  autoUpdatesChannel: "stable"
514728
514728
  };
514729
514729
  if (choice === "stay") {
514730
- newSettings.minimumVersion = "1.5.0";
514730
+ newSettings.minimumVersion = "1.5.1";
514731
514731
  }
514732
514732
  updateSettingsForSource("userSettings", newSettings);
514733
514733
  setSettingsData((prev_27) => ({
@@ -522788,7 +522788,7 @@ function HelpV2(t0) {
522788
522788
  let t6;
522789
522789
  if ($3[31] !== tabs) {
522790
522790
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
522791
- title: `Rayu-CLI v${"1.5.0"}`,
522791
+ title: `Rayu-CLI v${"1.5.1"}`,
522792
522792
  color: "professionalBlue",
522793
522793
  defaultTab: "general",
522794
522794
  children: tabs
@@ -543828,7 +543828,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
543828
543828
  }
543829
543829
  return [];
543830
543830
  }
543831
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.0") {
543831
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.1") {
543832
543832
  if (false) {}
543833
543833
  const cachedChangelog = await getStoredChangelog();
543834
543834
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -543841,7 +543841,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.0") {
543841
543841
  releaseNotes
543842
543842
  };
543843
543843
  }
543844
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.0") {
543844
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.1") {
543845
543845
  if (false) {}
543846
543846
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
543847
543847
  return {
@@ -543969,7 +543969,7 @@ function getRecentActivitySync() {
543969
543969
  return cachedActivity;
543970
543970
  }
543971
543971
  function getLogoDisplayData() {
543972
- const version2 = process.env.DEMO_VERSION ?? "1.5.0";
543972
+ const version2 = process.env.DEMO_VERSION ?? "1.5.1";
543973
543973
  const serverUrl = getDirectConnectServerUrl();
543974
543974
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
543975
543975
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -545134,7 +545134,7 @@ function LogoV2() {
545134
545134
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
545135
545135
  t2 = () => {
545136
545136
  const currentConfig = getGlobalConfig();
545137
- if (currentConfig.lastReleaseNotesSeen === "1.5.0") {
545137
+ if (currentConfig.lastReleaseNotesSeen === "1.5.1") {
545138
545138
  return;
545139
545139
  }
545140
545140
  saveGlobalConfig(_temp327);
@@ -545613,7 +545613,7 @@ function LogoV2() {
545613
545613
  t24 = $3[61];
545614
545614
  }
545615
545615
  const _latestNpm = getCachedLatestNpmVersionSync();
545616
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.0") ? [createUpdateAvailableFeed("1.5.0", _latestNpm)] : [];
545616
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.1") ? [createUpdateAvailableFeed("1.5.1", _latestNpm)] : [];
545617
545617
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
545618
545618
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
545619
545619
  maxWidth: rightWidth
@@ -545813,12 +545813,12 @@ function LogoV2() {
545813
545813
  return t41;
545814
545814
  }
545815
545815
  function _temp327(current) {
545816
- if (current.lastReleaseNotesSeen === "1.5.0") {
545816
+ if (current.lastReleaseNotesSeen === "1.5.1") {
545817
545817
  return current;
545818
545818
  }
545819
545819
  return {
545820
545820
  ...current,
545821
- lastReleaseNotesSeen: "1.5.0"
545821
+ lastReleaseNotesSeen: "1.5.1"
545822
545822
  };
545823
545823
  }
545824
545824
  function _temp241(s_0) {
@@ -570817,7 +570817,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
570817
570817
  smapsRollup,
570818
570818
  platform: process.platform,
570819
570819
  nodeVersion: process.version,
570820
- ccVersion: "1.5.0"
570820
+ ccVersion: "1.5.1"
570821
570821
  };
570822
570822
  }
570823
570823
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -571339,7 +571339,7 @@ var init_bridge_kick = __esm(() => {
571339
571339
  var call50 = async () => {
571340
571340
  return {
571341
571341
  type: "text",
571342
- value: "1.5.0"
571342
+ value: "1.5.1"
571343
571343
  };
571344
571344
  }, version2, version_default;
571345
571345
  var init_version = __esm(() => {
@@ -581851,7 +581851,7 @@ function generateHtmlReport(data, insights) {
581851
581851
  </html>`;
581852
581852
  }
581853
581853
  function buildExportData(data, insights, facets, remoteStats) {
581854
- const version3 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
581854
+ const version3 = typeof MACRO !== "undefined" ? "1.5.1" : "unknown";
581855
581855
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
581856
581856
  const facets_summary = {
581857
581857
  total: facets.size,
@@ -585765,7 +585765,7 @@ var init_sessionStorage = __esm(() => {
585765
585765
  init_settings2();
585766
585766
  init_slowOperations();
585767
585767
  init_uuid();
585768
- VERSION5 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
585768
+ VERSION5 = typeof MACRO !== "undefined" ? "1.5.1" : "unknown";
585769
585769
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
585770
585770
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
585771
585771
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -586983,7 +586983,7 @@ var init_filesystem = __esm(() => {
586983
586983
  });
586984
586984
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
586985
586985
  const nonce = randomBytes20(16).toString("hex");
586986
- return join150(getClaudeTempDir(), "bundled-skills", "1.5.0", nonce);
586986
+ return join150(getClaudeTempDir(), "bundled-skills", "1.5.1", nonce);
586987
586987
  });
586988
586988
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
586989
586989
  });
@@ -592383,7 +592383,7 @@ __export(exports_update, {
592383
592383
  classifyUpdateOutcome: () => classifyUpdateOutcome
592384
592384
  });
592385
592385
  async function update() {
592386
- writeToStdout(`Current version: ${"1.5.0"}
592386
+ writeToStdout(`Current version: ${"1.5.1"}
592387
592387
  `);
592388
592388
  const isBundled = isInBundledMode();
592389
592389
  if (isBundled) {
@@ -592414,18 +592414,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
592414
592414
  process.exit(1);
592415
592415
  return;
592416
592416
  }
592417
- if (latestVersion === "1.5.0") {
592417
+ if (latestVersion === "1.5.1") {
592418
592418
  writeToStdout(source_default.green(`
592419
- Rayu CLI is up to date (${"1.5.0"})
592419
+ Rayu CLI is up to date (${"1.5.1"})
592420
592420
  `));
592421
592421
  process.exit(0);
592422
592422
  }
592423
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.0"})
592423
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.1"})
592424
592424
  `);
592425
592425
  writeToStdout(`Installing update...
592426
592426
 
592427
592427
  `);
592428
- const versionBeforeInstall = getInstalledVersion() ?? "1.5.0";
592428
+ const versionBeforeInstall = getInstalledVersion() ?? "1.5.1";
592429
592429
  const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
592430
592430
  try {
592431
592431
  execNpmSync(["install", "-g", installSpec, "--prefer-online"], {
@@ -592527,14 +592527,14 @@ async function updateNativeBinary() {
592527
592527
  } catch {
592528
592528
  latestVersion = "";
592529
592529
  }
592530
- if (latestVersion && latestVersion === "1.5.0") {
592530
+ if (latestVersion && latestVersion === "1.5.1") {
592531
592531
  writeToStdout(source_default.green(`
592532
- Rayu CLI is up to date (1.5.0)
592532
+ Rayu CLI is up to date (1.5.1)
592533
592533
  `));
592534
592534
  process.exit(0);
592535
592535
  }
592536
592536
  if (latestVersion) {
592537
- writeToStdout(`New version available: ${latestVersion} (current: 1.5.0)
592537
+ writeToStdout(`New version available: ${latestVersion} (current: 1.5.1)
592538
592538
  `);
592539
592539
  }
592540
592540
  writeToStdout(`Downloading and installing update...
@@ -592549,13 +592549,13 @@ Rayu CLI is up to date (1.5.0)
592549
592549
  return;
592550
592550
  }
592551
592551
  writeToStdout(source_default.green(`
592552
- Rayu CLI is up to date (1.5.0)
592552
+ Rayu CLI is up to date (1.5.1)
592553
592553
  `));
592554
592554
  process.exit(0);
592555
592555
  }
592556
592556
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
592557
592557
  writeToStdout(source_default.green(`
592558
- Successfully updated from 1.5.0 to ${updatedTo}
592558
+ Successfully updated from 1.5.1 to ${updatedTo}
592559
592559
  `));
592560
592560
  writeToStdout(`Restart your terminal to use the new version.
592561
592561
  `);
@@ -592620,7 +592620,7 @@ async function removeDataDir(dir) {
592620
592620
  async function uninstall(args = []) {
592621
592621
  const yes = args.includes("--yes") || args.includes("-y");
592622
592622
  const keepData = args.includes("--keep-data");
592623
- writeToStdout(`Uninstalling Rayu CLI (${"1.5.0"})...
592623
+ writeToStdout(`Uninstalling Rayu CLI (${"1.5.1"})...
592624
592624
  `);
592625
592625
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
592626
592626
 
@@ -592641,7 +592641,7 @@ Failed to uninstall ${"@rayu-dev/rayu-cli"}
592641
592641
  return;
592642
592642
  }
592643
592643
  writeToStdout(source_default.green(`
592644
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.0"}
592644
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.1"}
592645
592645
  `));
592646
592646
  const configDir = getRayuConfigHomeDir();
592647
592647
  const dataExists = existsSync29(configDir);
@@ -592724,7 +592724,7 @@ function showFirstRunWelcome() {
592724
592724
  `);
592725
592725
  try {
592726
592726
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
592727
- writeFileSync19(markerPath(), "1.5.0", "utf8");
592727
+ writeFileSync19(markerPath(), "1.5.1", "utf8");
592728
592728
  } catch {}
592729
592729
  }
592730
592730
  var init_firstRun = __esm(() => {
@@ -608910,7 +608910,7 @@ async function initializeBetaTracing(resource) {
608910
608910
  });
608911
608911
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
608912
608912
  setLoggerProvider(loggerProvider);
608913
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.0");
608913
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.1");
608914
608914
  setEventLogger(eventLogger);
608915
608915
  process.on("beforeExit", async () => {
608916
608916
  await loggerProvider?.forceFlush();
@@ -608950,7 +608950,7 @@ async function initializeTelemetry() {
608950
608950
  const platform4 = getPlatform();
608951
608951
  const baseAttributes = {
608952
608952
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
608953
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.0"
608953
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.1"
608954
608954
  };
608955
608955
  if (platform4 === "wsl") {
608956
608956
  const wslVersion = getWslVersion();
@@ -608995,7 +608995,7 @@ async function initializeTelemetry() {
608995
608995
  } catch {}
608996
608996
  };
608997
608997
  registerCleanup(shutdownTelemetry2);
608998
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.0");
608998
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.1");
608999
608999
  }
609000
609000
  const meterProvider = new import_sdk_metrics2.MeterProvider({
609001
609001
  resource,
@@ -609015,7 +609015,7 @@ async function initializeTelemetry() {
609015
609015
  });
609016
609016
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
609017
609017
  setLoggerProvider(loggerProvider);
609018
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.0");
609018
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.1");
609019
609019
  setEventLogger(eventLogger);
609020
609020
  logForDebugging("[3P telemetry] Event logger set successfully");
609021
609021
  process.on("beforeExit", async () => {
@@ -609077,7 +609077,7 @@ Current timeout: ${timeoutMs}ms
609077
609077
  }
609078
609078
  };
609079
609079
  registerCleanup(shutdownTelemetry);
609080
- return meterProvider.getMeter("com.anthropic.claude_code", "1.5.0");
609080
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.5.1");
609081
609081
  }
609082
609082
  async function flushTelemetry() {
609083
609083
  const meterProvider = getMeterProvider();
@@ -610579,7 +610579,7 @@ function buildSystemInitMessage(inputs) {
610579
610579
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
610580
610580
  apiKeySource: getAnthropicApiKeyWithSource().source,
610581
610581
  betas: getSdkBetas(),
610582
- claude_code_version: "1.5.0",
610582
+ claude_code_version: "1.5.1",
610583
610583
  output_style: outputStyle2,
610584
610584
  agents: inputs.agents.map((agent) => agent.agentType),
610585
610585
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -628277,7 +628277,7 @@ var init_useVoiceEnabled = __esm(() => {
628277
628277
  function getSemverPart(version3) {
628278
628278
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
628279
628279
  }
628280
- function useUpdateNotification(updatedVersion, initialVersion = "1.5.0") {
628280
+ function useUpdateNotification(updatedVersion, initialVersion = "1.5.1") {
628281
628281
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
628282
628282
  if (!updatedVersion) {
628283
628283
  return null;
@@ -628317,7 +628317,7 @@ function AutoUpdater({
628317
628317
  return;
628318
628318
  }
628319
628319
  if (false) {}
628320
- const currentVersion = "1.5.0";
628320
+ const currentVersion = "1.5.1";
628321
628321
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
628322
628322
  let latestVersion = await getLatestVersion(channel2);
628323
628323
  const isDisabled = isAutoUpdaterDisabled();
@@ -628530,12 +628530,12 @@ function NativeAutoUpdater({
628530
628530
  logEvent("tengu_native_auto_updater_start", {});
628531
628531
  try {
628532
628532
  const maxVersion = await getMaxVersion();
628533
- if (maxVersion && gt("1.5.0", maxVersion)) {
628533
+ if (maxVersion && gt("1.5.1", maxVersion)) {
628534
628534
  const msg = await getMaxVersionMessage();
628535
628535
  setMaxVersionIssue(msg ?? "affects your version");
628536
628536
  }
628537
628537
  const result = await installLatest(channel2);
628538
- const currentVersion = "1.5.0";
628538
+ const currentVersion = "1.5.1";
628539
628539
  const latencyMs = Date.now() - startTime2;
628540
628540
  if (result.lockFailed) {
628541
628541
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -628672,17 +628672,17 @@ function PackageManagerAutoUpdater(t0) {
628672
628672
  const maxVersion = await getMaxVersion();
628673
628673
  if (maxVersion && latest && gt(latest, maxVersion)) {
628674
628674
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
628675
- if (gte("1.5.0", maxVersion)) {
628676
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
628675
+ if (gte("1.5.1", maxVersion)) {
628676
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
628677
628677
  setUpdateAvailable(false);
628678
628678
  return;
628679
628679
  }
628680
628680
  latest = maxVersion;
628681
628681
  }
628682
- const hasUpdate = latest && !gte("1.5.0", latest) && !shouldSkipVersion(latest);
628682
+ const hasUpdate = latest && !gte("1.5.1", latest) && !shouldSkipVersion(latest);
628683
628683
  setUpdateAvailable(!!hasUpdate);
628684
628684
  if (hasUpdate) {
628685
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.0"} -> ${latest}`);
628685
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.1"} -> ${latest}`);
628686
628686
  }
628687
628687
  };
628688
628688
  $3[0] = t1;
@@ -628716,7 +628716,7 @@ function PackageManagerAutoUpdater(t0) {
628716
628716
  wrap: "truncate",
628717
628717
  children: [
628718
628718
  "currentVersion: ",
628719
- "1.5.0"
628719
+ "1.5.1"
628720
628720
  ]
628721
628721
  });
628722
628722
  $3[3] = verbose;
@@ -636880,7 +636880,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
636880
636880
  project_dir: getOriginalCwd(),
636881
636881
  added_dirs: addedDirs
636882
636882
  },
636883
- version: "1.5.0",
636883
+ version: "1.5.1",
636884
636884
  output_style: {
636885
636885
  name: outputStyleName
636886
636886
  },
@@ -639059,7 +639059,7 @@ var init_user = __esm(() => {
639059
639059
  deviceId,
639060
639060
  sessionId: getSessionId(),
639061
639061
  email: getEmail(),
639062
- appVersion: "1.5.0",
639062
+ appVersion: "1.5.1",
639063
639063
  platform: getHostPlatformForAnalytics(),
639064
639064
  organizationUuid,
639065
639065
  accountUuid,
@@ -648500,7 +648500,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
648500
648500
  } catch {}
648501
648501
  const data = {
648502
648502
  trigger,
648503
- version: "1.5.0",
648503
+ version: "1.5.1",
648504
648504
  platform: process.platform,
648505
648505
  transcript,
648506
648506
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -660469,7 +660469,7 @@ function WelcomeV2() {
660469
660469
  dimColor: true,
660470
660470
  children: [
660471
660471
  "v",
660472
- "1.5.0"
660472
+ "1.5.1"
660473
660473
  ]
660474
660474
  })
660475
660475
  ]
@@ -661476,7 +661476,7 @@ function completeOnboarding() {
661476
661476
  saveGlobalConfig((current) => ({
661477
661477
  ...current,
661478
661478
  hasCompletedOnboarding: true,
661479
- lastOnboardingVersion: "1.5.0"
661479
+ lastOnboardingVersion: "1.5.1"
661480
661480
  }));
661481
661481
  }
661482
661482
  function showDialog(root2, renderer) {
@@ -666474,7 +666474,7 @@ function appendToLog(path24, message) {
666474
666474
  cwd: getFsImplementation().cwd(),
666475
666475
  userType: "external",
666476
666476
  sessionId: getSessionId(),
666477
- version: "1.5.0"
666477
+ version: "1.5.1"
666478
666478
  };
666479
666479
  getLogWriter(path24).write(messageWithTimestamp);
666480
666480
  }
@@ -670579,8 +670579,8 @@ async function getEnvLessBridgeConfig() {
670579
670579
  }
670580
670580
  async function checkEnvLessBridgeMinVersion() {
670581
670581
  const cfg = await getEnvLessBridgeConfig();
670582
- if (cfg.min_version && lt("1.5.0", cfg.min_version)) {
670583
- return `Your version of RAYU (${"1.5.0"}) is too old for Remote Control.
670582
+ if (cfg.min_version && lt("1.5.1", cfg.min_version)) {
670583
+ return `Your version of RAYU (${"1.5.1"}) is too old for Remote Control.
670584
670584
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
670585
670585
  }
670586
670586
  return null;
@@ -671053,7 +671053,7 @@ async function initBridgeCore(params) {
671053
671053
  const rawApi = createBridgeApiClient({
671054
671054
  baseUrl,
671055
671055
  getAccessToken,
671056
- runnerVersion: "1.5.0",
671056
+ runnerVersion: "1.5.1",
671057
671057
  onDebug: logForDebugging,
671058
671058
  onAuth401,
671059
671059
  getTrustedDeviceToken
@@ -676408,7 +676408,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
676408
676408
  setCwd(cwd3);
676409
676409
  const server = new Server({
676410
676410
  name: "claude/tengu",
676411
- version: "1.5.0"
676411
+ version: "1.5.1"
676412
676412
  }, {
676413
676413
  capabilities: {
676414
676414
  tools: {}
@@ -678938,7 +678938,7 @@ ${customInstructions}` : customInstructions;
678938
678938
  }
678939
678939
  }
678940
678940
  logForDiagnosticsNoPII("info", "started", {
678941
- version: "1.5.0",
678941
+ version: "1.5.1",
678942
678942
  is_native_binary: isInBundledMode()
678943
678943
  });
678944
678944
  registerCleanup(async () => {
@@ -679657,7 +679657,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
679657
679657
  pendingHookMessages
679658
679658
  }, renderAndRun);
679659
679659
  }
679660
- }).version(`1.5.0 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
679660
+ }).version(`1.5.1 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
679661
679661
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
679662
679662
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
679663
679663
  if (canUserConfigureAdvisor()) {
@@ -680118,7 +680118,7 @@ if (false) {}
680118
680118
  async function main2() {
680119
680119
  const args = process.argv.slice(2);
680120
680120
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
680121
- console.log(`${"1.5.0"} (Rayu-CLI)`);
680121
+ console.log(`${"1.5.1"} (Rayu-CLI)`);
680122
680122
  return;
680123
680123
  }
680124
680124
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {