@rayu-dev/rayu-cli 1.5.0 → 1.5.11

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 +103 -82
  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.11"}`;
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.11"} (${"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.11"}${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.11"}.${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.11".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.11",
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.11";
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.11";
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.11",
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.11",
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.11");
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.11");
408738
408738
  const attributionHeader = getAttributionHeader(fingerprint);
408739
408739
  const systemBlocks = [
408740
408740
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -503038,24 +503038,45 @@ var init_Cursor = __esm(() => {
503038
503038
  });
503039
503039
 
503040
503040
  // src/utils/modifiers.ts
503041
+ function loadNativeModifiers() {
503042
+ if (nativeModule !== undefined) {
503043
+ return nativeModule;
503044
+ }
503045
+ try {
503046
+ nativeModule = __require("modifiers-napi");
503047
+ } catch {
503048
+ nativeModule = null;
503049
+ }
503050
+ return nativeModule;
503051
+ }
503041
503052
  function prewarmModifiers() {
503042
503053
  if (prewarmed || process.platform !== "darwin") {
503043
503054
  return;
503044
503055
  }
503045
503056
  prewarmed = true;
503057
+ const native = loadNativeModifiers();
503058
+ if (typeof native?.prewarm !== "function") {
503059
+ return;
503060
+ }
503046
503061
  try {
503047
- const { prewarm } = __require("modifiers-napi");
503048
- prewarm();
503062
+ native.prewarm();
503049
503063
  } catch {}
503050
503064
  }
503051
503065
  function isModifierPressed(modifier) {
503052
503066
  if (process.platform !== "darwin") {
503053
503067
  return false;
503054
503068
  }
503055
- const { isModifierPressed: nativeIsModifierPressed } = __require("modifiers-napi");
503056
- return nativeIsModifierPressed(modifier);
503069
+ const native = loadNativeModifiers();
503070
+ if (typeof native?.isModifierPressed !== "function") {
503071
+ return false;
503072
+ }
503073
+ try {
503074
+ return native.isModifierPressed(modifier) === true;
503075
+ } catch {
503076
+ return false;
503077
+ }
503057
503078
  }
503058
- var prewarmed = false;
503079
+ var nativeModule, prewarmed = false;
503059
503080
 
503060
503081
  // src/hooks/useTextInput.ts
503061
503082
  function mapInput(input_map) {
@@ -508260,9 +508281,9 @@ async function assertMinVersion() {
508260
508281
  if (false) {}
508261
508282
  try {
508262
508283
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
508263
- if (versionConfig.minVersion && lt("1.5.0", versionConfig.minVersion)) {
508284
+ if (versionConfig.minVersion && lt("1.5.11", versionConfig.minVersion)) {
508264
508285
  console.error(`
508265
- It looks like your version of RAYU (${"1.5.0"}) needs an update.
508286
+ It looks like your version of RAYU (${"1.5.11"}) needs an update.
508266
508287
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
508267
508288
 
508268
508289
  To update, please run:
@@ -508488,7 +508509,7 @@ async function installGlobalPackage(specificVersion) {
508488
508509
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
508489
508510
  logEvent("tengu_auto_updater_lock_contention", {
508490
508511
  pid: process.pid,
508491
- currentVersion: "1.5.0"
508512
+ currentVersion: "1.5.11"
508492
508513
  });
508493
508514
  return "in_progress";
508494
508515
  }
@@ -508497,7 +508518,7 @@ async function installGlobalPackage(specificVersion) {
508497
508518
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
508498
508519
  logError2(new Error("Windows NPM detected in WSL environment"));
508499
508520
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
508500
- currentVersion: "1.5.0"
508521
+ currentVersion: "1.5.11"
508501
508522
  });
508502
508523
  console.error(`
508503
508524
  Error: Windows NPM detected in WSL
@@ -509029,7 +509050,7 @@ function detectLinuxGlobPatternWarnings() {
509029
509050
  }
509030
509051
  async function getDoctorDiagnostic() {
509031
509052
  const installationType = await getCurrentInstallationType();
509032
- const version2 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
509053
+ const version2 = typeof MACRO !== "undefined" ? "1.5.11" : "unknown";
509033
509054
  const installationPath = await getInstallationPath();
509034
509055
  const invokedBinary = getInvokedBinary();
509035
509056
  const multipleInstallations = await detectMultipleInstallations();
@@ -509824,8 +509845,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
509824
509845
  const maxVersion = await getMaxVersion();
509825
509846
  if (maxVersion && gt(version2, maxVersion)) {
509826
509847
  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`);
509848
+ if (gte("1.5.11", maxVersion)) {
509849
+ logForDebugging(`Native installer: current version ${"1.5.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
509829
509850
  logEvent("tengu_native_update_skipped_max_version", {
509830
509851
  latency_ms: Date.now() - startTime2,
509831
509852
  max_version: maxVersion,
@@ -509836,7 +509857,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
509836
509857
  version2 = maxVersion;
509837
509858
  }
509838
509859
  }
509839
- if (!forceReinstall && version2 === "1.5.0" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
509860
+ if (!forceReinstall && version2 === "1.5.11" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
509840
509861
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
509841
509862
  logEvent("tengu_native_update_complete", {
509842
509863
  latency_ms: Date.now() - startTime2,
@@ -511044,7 +511065,7 @@ function buildPrimarySection() {
511044
511065
  });
511045
511066
  return [{
511046
511067
  label: "Version",
511047
- value: "1.5.0"
511068
+ value: "1.5.11"
511048
511069
  }, {
511049
511070
  label: "Session name",
511050
511071
  value: nameValue
@@ -514715,7 +514736,7 @@ function Config({
514715
514736
  }
514716
514737
  })
514717
514738
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
514718
- currentVersion: "1.5.0",
514739
+ currentVersion: "1.5.11",
514719
514740
  onChoice: (choice) => {
514720
514741
  setShowSubmenu(null);
514721
514742
  setTabsHidden(false);
@@ -514727,7 +514748,7 @@ function Config({
514727
514748
  autoUpdatesChannel: "stable"
514728
514749
  };
514729
514750
  if (choice === "stay") {
514730
- newSettings.minimumVersion = "1.5.0";
514751
+ newSettings.minimumVersion = "1.5.11";
514731
514752
  }
514732
514753
  updateSettingsForSource("userSettings", newSettings);
514733
514754
  setSettingsData((prev_27) => ({
@@ -522788,7 +522809,7 @@ function HelpV2(t0) {
522788
522809
  let t6;
522789
522810
  if ($3[31] !== tabs) {
522790
522811
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
522791
- title: `Rayu-CLI v${"1.5.0"}`,
522812
+ title: `Rayu-CLI v${"1.5.11"}`,
522792
522813
  color: "professionalBlue",
522793
522814
  defaultTab: "general",
522794
522815
  children: tabs
@@ -543828,7 +543849,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
543828
543849
  }
543829
543850
  return [];
543830
543851
  }
543831
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.0") {
543852
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.11") {
543832
543853
  if (false) {}
543833
543854
  const cachedChangelog = await getStoredChangelog();
543834
543855
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -543841,7 +543862,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.0") {
543841
543862
  releaseNotes
543842
543863
  };
543843
543864
  }
543844
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.0") {
543865
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.11") {
543845
543866
  if (false) {}
543846
543867
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
543847
543868
  return {
@@ -543969,7 +543990,7 @@ function getRecentActivitySync() {
543969
543990
  return cachedActivity;
543970
543991
  }
543971
543992
  function getLogoDisplayData() {
543972
- const version2 = process.env.DEMO_VERSION ?? "1.5.0";
543993
+ const version2 = process.env.DEMO_VERSION ?? "1.5.11";
543973
543994
  const serverUrl = getDirectConnectServerUrl();
543974
543995
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
543975
543996
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -545134,7 +545155,7 @@ function LogoV2() {
545134
545155
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
545135
545156
  t2 = () => {
545136
545157
  const currentConfig = getGlobalConfig();
545137
- if (currentConfig.lastReleaseNotesSeen === "1.5.0") {
545158
+ if (currentConfig.lastReleaseNotesSeen === "1.5.11") {
545138
545159
  return;
545139
545160
  }
545140
545161
  saveGlobalConfig(_temp327);
@@ -545613,7 +545634,7 @@ function LogoV2() {
545613
545634
  t24 = $3[61];
545614
545635
  }
545615
545636
  const _latestNpm = getCachedLatestNpmVersionSync();
545616
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.0") ? [createUpdateAvailableFeed("1.5.0", _latestNpm)] : [];
545637
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.11") ? [createUpdateAvailableFeed("1.5.11", _latestNpm)] : [];
545617
545638
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
545618
545639
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
545619
545640
  maxWidth: rightWidth
@@ -545813,12 +545834,12 @@ function LogoV2() {
545813
545834
  return t41;
545814
545835
  }
545815
545836
  function _temp327(current) {
545816
- if (current.lastReleaseNotesSeen === "1.5.0") {
545837
+ if (current.lastReleaseNotesSeen === "1.5.11") {
545817
545838
  return current;
545818
545839
  }
545819
545840
  return {
545820
545841
  ...current,
545821
- lastReleaseNotesSeen: "1.5.0"
545842
+ lastReleaseNotesSeen: "1.5.11"
545822
545843
  };
545823
545844
  }
545824
545845
  function _temp241(s_0) {
@@ -570817,7 +570838,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
570817
570838
  smapsRollup,
570818
570839
  platform: process.platform,
570819
570840
  nodeVersion: process.version,
570820
- ccVersion: "1.5.0"
570841
+ ccVersion: "1.5.11"
570821
570842
  };
570822
570843
  }
570823
570844
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -571339,7 +571360,7 @@ var init_bridge_kick = __esm(() => {
571339
571360
  var call50 = async () => {
571340
571361
  return {
571341
571362
  type: "text",
571342
- value: "1.5.0"
571363
+ value: "1.5.11"
571343
571364
  };
571344
571365
  }, version2, version_default;
571345
571366
  var init_version = __esm(() => {
@@ -581851,7 +581872,7 @@ function generateHtmlReport(data, insights) {
581851
581872
  </html>`;
581852
581873
  }
581853
581874
  function buildExportData(data, insights, facets, remoteStats) {
581854
- const version3 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
581875
+ const version3 = typeof MACRO !== "undefined" ? "1.5.11" : "unknown";
581855
581876
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
581856
581877
  const facets_summary = {
581857
581878
  total: facets.size,
@@ -585765,7 +585786,7 @@ var init_sessionStorage = __esm(() => {
585765
585786
  init_settings2();
585766
585787
  init_slowOperations();
585767
585788
  init_uuid();
585768
- VERSION5 = typeof MACRO !== "undefined" ? "1.5.0" : "unknown";
585789
+ VERSION5 = typeof MACRO !== "undefined" ? "1.5.11" : "unknown";
585769
585790
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
585770
585791
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
585771
585792
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -586983,7 +587004,7 @@ var init_filesystem = __esm(() => {
586983
587004
  });
586984
587005
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
586985
587006
  const nonce = randomBytes20(16).toString("hex");
586986
- return join150(getClaudeTempDir(), "bundled-skills", "1.5.0", nonce);
587007
+ return join150(getClaudeTempDir(), "bundled-skills", "1.5.11", nonce);
586987
587008
  });
586988
587009
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
586989
587010
  });
@@ -592383,7 +592404,7 @@ __export(exports_update, {
592383
592404
  classifyUpdateOutcome: () => classifyUpdateOutcome
592384
592405
  });
592385
592406
  async function update() {
592386
- writeToStdout(`Current version: ${"1.5.0"}
592407
+ writeToStdout(`Current version: ${"1.5.11"}
592387
592408
  `);
592388
592409
  const isBundled = isInBundledMode();
592389
592410
  if (isBundled) {
@@ -592414,18 +592435,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
592414
592435
  process.exit(1);
592415
592436
  return;
592416
592437
  }
592417
- if (latestVersion === "1.5.0") {
592438
+ if (latestVersion === "1.5.11") {
592418
592439
  writeToStdout(source_default.green(`
592419
- Rayu CLI is up to date (${"1.5.0"})
592440
+ Rayu CLI is up to date (${"1.5.11"})
592420
592441
  `));
592421
592442
  process.exit(0);
592422
592443
  }
592423
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.0"})
592444
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.11"})
592424
592445
  `);
592425
592446
  writeToStdout(`Installing update...
592426
592447
 
592427
592448
  `);
592428
- const versionBeforeInstall = getInstalledVersion() ?? "1.5.0";
592449
+ const versionBeforeInstall = getInstalledVersion() ?? "1.5.11";
592429
592450
  const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
592430
592451
  try {
592431
592452
  execNpmSync(["install", "-g", installSpec, "--prefer-online"], {
@@ -592527,14 +592548,14 @@ async function updateNativeBinary() {
592527
592548
  } catch {
592528
592549
  latestVersion = "";
592529
592550
  }
592530
- if (latestVersion && latestVersion === "1.5.0") {
592551
+ if (latestVersion && latestVersion === "1.5.11") {
592531
592552
  writeToStdout(source_default.green(`
592532
- Rayu CLI is up to date (1.5.0)
592553
+ Rayu CLI is up to date (1.5.11)
592533
592554
  `));
592534
592555
  process.exit(0);
592535
592556
  }
592536
592557
  if (latestVersion) {
592537
- writeToStdout(`New version available: ${latestVersion} (current: 1.5.0)
592558
+ writeToStdout(`New version available: ${latestVersion} (current: 1.5.11)
592538
592559
  `);
592539
592560
  }
592540
592561
  writeToStdout(`Downloading and installing update...
@@ -592549,13 +592570,13 @@ Rayu CLI is up to date (1.5.0)
592549
592570
  return;
592550
592571
  }
592551
592572
  writeToStdout(source_default.green(`
592552
- Rayu CLI is up to date (1.5.0)
592573
+ Rayu CLI is up to date (1.5.11)
592553
592574
  `));
592554
592575
  process.exit(0);
592555
592576
  }
592556
592577
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
592557
592578
  writeToStdout(source_default.green(`
592558
- Successfully updated from 1.5.0 to ${updatedTo}
592579
+ Successfully updated from 1.5.11 to ${updatedTo}
592559
592580
  `));
592560
592581
  writeToStdout(`Restart your terminal to use the new version.
592561
592582
  `);
@@ -592620,7 +592641,7 @@ async function removeDataDir(dir) {
592620
592641
  async function uninstall(args = []) {
592621
592642
  const yes = args.includes("--yes") || args.includes("-y");
592622
592643
  const keepData = args.includes("--keep-data");
592623
- writeToStdout(`Uninstalling Rayu CLI (${"1.5.0"})...
592644
+ writeToStdout(`Uninstalling Rayu CLI (${"1.5.11"})...
592624
592645
  `);
592625
592646
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
592626
592647
 
@@ -592641,7 +592662,7 @@ Failed to uninstall ${"@rayu-dev/rayu-cli"}
592641
592662
  return;
592642
592663
  }
592643
592664
  writeToStdout(source_default.green(`
592644
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.0"}
592665
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.11"}
592645
592666
  `));
592646
592667
  const configDir = getRayuConfigHomeDir();
592647
592668
  const dataExists = existsSync29(configDir);
@@ -592724,7 +592745,7 @@ function showFirstRunWelcome() {
592724
592745
  `);
592725
592746
  try {
592726
592747
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
592727
- writeFileSync19(markerPath(), "1.5.0", "utf8");
592748
+ writeFileSync19(markerPath(), "1.5.11", "utf8");
592728
592749
  } catch {}
592729
592750
  }
592730
592751
  var init_firstRun = __esm(() => {
@@ -608910,7 +608931,7 @@ async function initializeBetaTracing(resource) {
608910
608931
  });
608911
608932
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
608912
608933
  setLoggerProvider(loggerProvider);
608913
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.0");
608934
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.11");
608914
608935
  setEventLogger(eventLogger);
608915
608936
  process.on("beforeExit", async () => {
608916
608937
  await loggerProvider?.forceFlush();
@@ -608950,7 +608971,7 @@ async function initializeTelemetry() {
608950
608971
  const platform4 = getPlatform();
608951
608972
  const baseAttributes = {
608952
608973
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
608953
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.0"
608974
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.11"
608954
608975
  };
608955
608976
  if (platform4 === "wsl") {
608956
608977
  const wslVersion = getWslVersion();
@@ -608995,7 +609016,7 @@ async function initializeTelemetry() {
608995
609016
  } catch {}
608996
609017
  };
608997
609018
  registerCleanup(shutdownTelemetry2);
608998
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.0");
609019
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.11");
608999
609020
  }
609000
609021
  const meterProvider = new import_sdk_metrics2.MeterProvider({
609001
609022
  resource,
@@ -609015,7 +609036,7 @@ async function initializeTelemetry() {
609015
609036
  });
609016
609037
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
609017
609038
  setLoggerProvider(loggerProvider);
609018
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.0");
609039
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.11");
609019
609040
  setEventLogger(eventLogger);
609020
609041
  logForDebugging("[3P telemetry] Event logger set successfully");
609021
609042
  process.on("beforeExit", async () => {
@@ -609077,7 +609098,7 @@ Current timeout: ${timeoutMs}ms
609077
609098
  }
609078
609099
  };
609079
609100
  registerCleanup(shutdownTelemetry);
609080
- return meterProvider.getMeter("com.anthropic.claude_code", "1.5.0");
609101
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.5.11");
609081
609102
  }
609082
609103
  async function flushTelemetry() {
609083
609104
  const meterProvider = getMeterProvider();
@@ -610579,7 +610600,7 @@ function buildSystemInitMessage(inputs) {
610579
610600
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
610580
610601
  apiKeySource: getAnthropicApiKeyWithSource().source,
610581
610602
  betas: getSdkBetas(),
610582
- claude_code_version: "1.5.0",
610603
+ claude_code_version: "1.5.11",
610583
610604
  output_style: outputStyle2,
610584
610605
  agents: inputs.agents.map((agent) => agent.agentType),
610585
610606
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -628277,7 +628298,7 @@ var init_useVoiceEnabled = __esm(() => {
628277
628298
  function getSemverPart(version3) {
628278
628299
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
628279
628300
  }
628280
- function useUpdateNotification(updatedVersion, initialVersion = "1.5.0") {
628301
+ function useUpdateNotification(updatedVersion, initialVersion = "1.5.11") {
628281
628302
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
628282
628303
  if (!updatedVersion) {
628283
628304
  return null;
@@ -628317,7 +628338,7 @@ function AutoUpdater({
628317
628338
  return;
628318
628339
  }
628319
628340
  if (false) {}
628320
- const currentVersion = "1.5.0";
628341
+ const currentVersion = "1.5.11";
628321
628342
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
628322
628343
  let latestVersion = await getLatestVersion(channel2);
628323
628344
  const isDisabled = isAutoUpdaterDisabled();
@@ -628530,12 +628551,12 @@ function NativeAutoUpdater({
628530
628551
  logEvent("tengu_native_auto_updater_start", {});
628531
628552
  try {
628532
628553
  const maxVersion = await getMaxVersion();
628533
- if (maxVersion && gt("1.5.0", maxVersion)) {
628554
+ if (maxVersion && gt("1.5.11", maxVersion)) {
628534
628555
  const msg = await getMaxVersionMessage();
628535
628556
  setMaxVersionIssue(msg ?? "affects your version");
628536
628557
  }
628537
628558
  const result = await installLatest(channel2);
628538
- const currentVersion = "1.5.0";
628559
+ const currentVersion = "1.5.11";
628539
628560
  const latencyMs = Date.now() - startTime2;
628540
628561
  if (result.lockFailed) {
628541
628562
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -628672,17 +628693,17 @@ function PackageManagerAutoUpdater(t0) {
628672
628693
  const maxVersion = await getMaxVersion();
628673
628694
  if (maxVersion && latest && gt(latest, maxVersion)) {
628674
628695
  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`);
628696
+ if (gte("1.5.11", maxVersion)) {
628697
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
628677
628698
  setUpdateAvailable(false);
628678
628699
  return;
628679
628700
  }
628680
628701
  latest = maxVersion;
628681
628702
  }
628682
- const hasUpdate = latest && !gte("1.5.0", latest) && !shouldSkipVersion(latest);
628703
+ const hasUpdate = latest && !gte("1.5.11", latest) && !shouldSkipVersion(latest);
628683
628704
  setUpdateAvailable(!!hasUpdate);
628684
628705
  if (hasUpdate) {
628685
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.0"} -> ${latest}`);
628706
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.11"} -> ${latest}`);
628686
628707
  }
628687
628708
  };
628688
628709
  $3[0] = t1;
@@ -628716,7 +628737,7 @@ function PackageManagerAutoUpdater(t0) {
628716
628737
  wrap: "truncate",
628717
628738
  children: [
628718
628739
  "currentVersion: ",
628719
- "1.5.0"
628740
+ "1.5.11"
628720
628741
  ]
628721
628742
  });
628722
628743
  $3[3] = verbose;
@@ -636880,7 +636901,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
636880
636901
  project_dir: getOriginalCwd(),
636881
636902
  added_dirs: addedDirs
636882
636903
  },
636883
- version: "1.5.0",
636904
+ version: "1.5.11",
636884
636905
  output_style: {
636885
636906
  name: outputStyleName
636886
636907
  },
@@ -639059,7 +639080,7 @@ var init_user = __esm(() => {
639059
639080
  deviceId,
639060
639081
  sessionId: getSessionId(),
639061
639082
  email: getEmail(),
639062
- appVersion: "1.5.0",
639083
+ appVersion: "1.5.11",
639063
639084
  platform: getHostPlatformForAnalytics(),
639064
639085
  organizationUuid,
639065
639086
  accountUuid,
@@ -648500,7 +648521,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
648500
648521
  } catch {}
648501
648522
  const data = {
648502
648523
  trigger,
648503
- version: "1.5.0",
648524
+ version: "1.5.11",
648504
648525
  platform: process.platform,
648505
648526
  transcript,
648506
648527
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -660469,7 +660490,7 @@ function WelcomeV2() {
660469
660490
  dimColor: true,
660470
660491
  children: [
660471
660492
  "v",
660472
- "1.5.0"
660493
+ "1.5.11"
660473
660494
  ]
660474
660495
  })
660475
660496
  ]
@@ -661476,7 +661497,7 @@ function completeOnboarding() {
661476
661497
  saveGlobalConfig((current) => ({
661477
661498
  ...current,
661478
661499
  hasCompletedOnboarding: true,
661479
- lastOnboardingVersion: "1.5.0"
661500
+ lastOnboardingVersion: "1.5.11"
661480
661501
  }));
661481
661502
  }
661482
661503
  function showDialog(root2, renderer) {
@@ -666474,7 +666495,7 @@ function appendToLog(path24, message) {
666474
666495
  cwd: getFsImplementation().cwd(),
666475
666496
  userType: "external",
666476
666497
  sessionId: getSessionId(),
666477
- version: "1.5.0"
666498
+ version: "1.5.11"
666478
666499
  };
666479
666500
  getLogWriter(path24).write(messageWithTimestamp);
666480
666501
  }
@@ -670579,8 +670600,8 @@ async function getEnvLessBridgeConfig() {
670579
670600
  }
670580
670601
  async function checkEnvLessBridgeMinVersion() {
670581
670602
  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.
670603
+ if (cfg.min_version && lt("1.5.11", cfg.min_version)) {
670604
+ return `Your version of RAYU (${"1.5.11"}) is too old for Remote Control.
670584
670605
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
670585
670606
  }
670586
670607
  return null;
@@ -671053,7 +671074,7 @@ async function initBridgeCore(params) {
671053
671074
  const rawApi = createBridgeApiClient({
671054
671075
  baseUrl,
671055
671076
  getAccessToken,
671056
- runnerVersion: "1.5.0",
671077
+ runnerVersion: "1.5.11",
671057
671078
  onDebug: logForDebugging,
671058
671079
  onAuth401,
671059
671080
  getTrustedDeviceToken
@@ -676408,7 +676429,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
676408
676429
  setCwd(cwd3);
676409
676430
  const server = new Server({
676410
676431
  name: "claude/tengu",
676411
- version: "1.5.0"
676432
+ version: "1.5.11"
676412
676433
  }, {
676413
676434
  capabilities: {
676414
676435
  tools: {}
@@ -678938,7 +678959,7 @@ ${customInstructions}` : customInstructions;
678938
678959
  }
678939
678960
  }
678940
678961
  logForDiagnosticsNoPII("info", "started", {
678941
- version: "1.5.0",
678962
+ version: "1.5.11",
678942
678963
  is_native_binary: isInBundledMode()
678943
678964
  });
678944
678965
  registerCleanup(async () => {
@@ -679657,7 +679678,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
679657
679678
  pendingHookMessages
679658
679679
  }, renderAndRun);
679659
679680
  }
679660
- }).version(`1.5.0 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
679681
+ }).version(`1.5.11 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
679661
679682
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
679662
679683
  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
679684
  if (canUserConfigureAdvisor()) {
@@ -680118,7 +680139,7 @@ if (false) {}
680118
680139
  async function main2() {
680119
680140
  const args = process.argv.slice(2);
680120
680141
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
680121
- console.log(`${"1.5.0"} (Rayu-CLI)`);
680142
+ console.log(`${"1.5.11"} (Rayu-CLI)`);
680122
680143
  return;
680123
680144
  }
680124
680145
  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.11",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {