@rayu-dev/rayu-cli 1.5.17 → 1.5.18

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 +101 -81
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -144934,7 +144934,7 @@ var init_isEqual = __esm(() => {
144934
144934
 
144935
144935
  // src/utils/userAgent.ts
144936
144936
  function getRayuUserAgent() {
144937
- return `rayu/${"1.5.17"}`;
144937
+ return `rayu/${"1.5.18"}`;
144938
144938
  }
144939
144939
  var getClaudeCodeUserAgent;
144940
144940
  var init_userAgent = __esm(() => {
@@ -144960,7 +144960,7 @@ function getUserAgent() {
144960
144960
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
144961
144961
  const workload = getWorkload();
144962
144962
  const workloadSuffix = workload ? `, workload/${workload}` : "";
144963
- return `rayu/${"1.5.17"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
144963
+ return `rayu/${"1.5.18"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
144964
144964
  }
144965
144965
  function getMCPUserAgent() {
144966
144966
  const parts = [];
@@ -144974,7 +144974,7 @@ function getMCPUserAgent() {
144974
144974
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
144975
144975
  }
144976
144976
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
144977
- return `rayu/${"1.5.17"}${suffix}`;
144977
+ return `rayu/${"1.5.18"}${suffix}`;
144978
144978
  }
144979
144979
  function getWebFetchUserAgent() {
144980
144980
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -193806,7 +193806,7 @@ function getAttributionHeader(fingerprint) {
193806
193806
  if (!isAttributionHeaderEnabled()) {
193807
193807
  return "";
193808
193808
  }
193809
- const version2 = `${"1.5.17"}.${fingerprint}`;
193809
+ const version2 = `${"1.5.18"}.${fingerprint}`;
193810
193810
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
193811
193811
  const cch = "";
193812
193812
  const workload = getWorkload();
@@ -247285,7 +247285,7 @@ var init_metadata = __esm(() => {
247285
247285
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
247286
247286
  WHITESPACE_REGEX = /\s+/;
247287
247287
  getVersionBase = memoize_default(() => {
247288
- const match = "1.5.17".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
247288
+ const match = "1.5.18".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
247289
247289
  return match ? match[0] : undefined;
247290
247290
  });
247291
247291
  buildEnvContext = memoize_default(async () => {
@@ -247324,7 +247324,7 @@ var init_metadata = __esm(() => {
247324
247324
  },
247325
247325
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
247326
247326
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
247327
- version: "1.5.17",
247327
+ version: "1.5.18",
247328
247328
  versionBase: getVersionBase(),
247329
247329
  buildTime: "",
247330
247330
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -279524,7 +279524,7 @@ function getTelemetryAttributes() {
279524
279524
  attributes["session.id"] = sessionId;
279525
279525
  }
279526
279526
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
279527
- attributes["app.version"] = "1.5.17";
279527
+ attributes["app.version"] = "1.5.18";
279528
279528
  }
279529
279529
  const oauthAccount = getOauthAccountInfo();
279530
279530
  if (oauthAccount) {
@@ -389959,7 +389959,7 @@ function getInstallationEnv() {
389959
389959
  return;
389960
389960
  }
389961
389961
  function getClaudeCodeVersion() {
389962
- return "1.5.17";
389962
+ return "1.5.18";
389963
389963
  }
389964
389964
  async function getInstalledVSCodeExtensionVersion(command) {
389965
389965
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -395197,7 +395197,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
395197
395197
  const client = new Client({
395198
395198
  name: "claude-code",
395199
395199
  title: "RAYU",
395200
- version: "1.5.17",
395200
+ version: "1.5.18",
395201
395201
  description: "Anthropic's agentic coding tool",
395202
395202
  websiteUrl: PRODUCT_URL
395203
395203
  }, {
@@ -395514,7 +395514,7 @@ var init_client6 = __esm(() => {
395514
395514
  const client = new Client({
395515
395515
  name: "claude-code",
395516
395516
  title: "RAYU",
395517
- version: "1.5.17",
395517
+ version: "1.5.18",
395518
395518
  description: "Anthropic's agentic coding tool",
395519
395519
  websiteUrl: PRODUCT_URL
395520
395520
  }, {
@@ -410457,7 +410457,7 @@ function computeFingerprint(messageText, version2) {
410457
410457
  }
410458
410458
  function computeFingerprintFromMessages(messages) {
410459
410459
  const firstMessageText = extractFirstMessageText(messages);
410460
- return computeFingerprint(firstMessageText, "1.5.17");
410460
+ return computeFingerprint(firstMessageText, "1.5.18");
410461
410461
  }
410462
410462
  var FINGERPRINT_SALT = "59cf53e54c78";
410463
410463
  var init_fingerprint = () => {};
@@ -410499,7 +410499,7 @@ async function sideQuery(opts) {
410499
410499
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
410500
410500
  }
410501
410501
  const messageText = extractFirstUserMessageText(messages);
410502
- const fingerprint = computeFingerprint(messageText, "1.5.17");
410502
+ const fingerprint = computeFingerprint(messageText, "1.5.18");
410503
410503
  const attributionHeader = getAttributionHeader(fingerprint);
410504
410504
  const systemBlocks = [
410505
410505
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -510750,9 +510750,9 @@ async function assertMinVersion() {
510750
510750
  if (false) {}
510751
510751
  try {
510752
510752
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
510753
- if (versionConfig.minVersion && lt("1.5.17", versionConfig.minVersion)) {
510753
+ if (versionConfig.minVersion && lt("1.5.18", versionConfig.minVersion)) {
510754
510754
  console.error(`
510755
- It looks like your version of RAYU (${"1.5.17"}) needs an update.
510755
+ It looks like your version of RAYU (${"1.5.18"}) needs an update.
510756
510756
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
510757
510757
 
510758
510758
  To update, please run:
@@ -510916,7 +510916,7 @@ async function installGlobalPackage(specificVersion) {
510916
510916
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
510917
510917
  logEvent("tengu_auto_updater_lock_contention", {
510918
510918
  pid: process.pid,
510919
- currentVersion: "1.5.17"
510919
+ currentVersion: "1.5.18"
510920
510920
  });
510921
510921
  return "in_progress";
510922
510922
  }
@@ -510925,7 +510925,7 @@ async function installGlobalPackage(specificVersion) {
510925
510925
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
510926
510926
  logError2(new Error("Windows NPM detected in WSL environment"));
510927
510927
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
510928
- currentVersion: "1.5.17"
510928
+ currentVersion: "1.5.18"
510929
510929
  });
510930
510930
  console.error(`
510931
510931
  Error: Windows NPM detected in WSL
@@ -511456,7 +511456,7 @@ function detectLinuxGlobPatternWarnings() {
511456
511456
  }
511457
511457
  async function getDoctorDiagnostic() {
511458
511458
  const installationType = await getCurrentInstallationType();
511459
- const version2 = typeof MACRO !== "undefined" ? "1.5.17" : "unknown";
511459
+ const version2 = typeof MACRO !== "undefined" ? "1.5.18" : "unknown";
511460
511460
  const installationPath = await getInstallationPath();
511461
511461
  const invokedBinary = getInvokedBinary();
511462
511462
  const multipleInstallations = await detectMultipleInstallations();
@@ -512251,8 +512251,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
512251
512251
  const maxVersion = await getMaxVersion();
512252
512252
  if (maxVersion && gt(version2, maxVersion)) {
512253
512253
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
512254
- if (gte("1.5.17", maxVersion)) {
512255
- logForDebugging(`Native installer: current version ${"1.5.17"} is already at or above maxVersion ${maxVersion}, skipping update`);
512254
+ if (gte("1.5.18", maxVersion)) {
512255
+ logForDebugging(`Native installer: current version ${"1.5.18"} is already at or above maxVersion ${maxVersion}, skipping update`);
512256
512256
  logEvent("tengu_native_update_skipped_max_version", {
512257
512257
  latency_ms: Date.now() - startTime2,
512258
512258
  max_version: maxVersion,
@@ -512263,7 +512263,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
512263
512263
  version2 = maxVersion;
512264
512264
  }
512265
512265
  }
512266
- if (!forceReinstall && version2 === "1.5.17" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
512266
+ if (!forceReinstall && version2 === "1.5.18" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
512267
512267
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
512268
512268
  logEvent("tengu_native_update_complete", {
512269
512269
  latency_ms: Date.now() - startTime2,
@@ -513471,7 +513471,7 @@ function buildPrimarySection() {
513471
513471
  });
513472
513472
  return [{
513473
513473
  label: "Version",
513474
- value: "1.5.17"
513474
+ value: "1.5.18"
513475
513475
  }, {
513476
513476
  label: "Session name",
513477
513477
  value: nameValue
@@ -517142,7 +517142,7 @@ function Config({
517142
517142
  }
517143
517143
  })
517144
517144
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
517145
- currentVersion: "1.5.17",
517145
+ currentVersion: "1.5.18",
517146
517146
  onChoice: (choice) => {
517147
517147
  setShowSubmenu(null);
517148
517148
  setTabsHidden(false);
@@ -517154,7 +517154,7 @@ function Config({
517154
517154
  autoUpdatesChannel: "stable"
517155
517155
  };
517156
517156
  if (choice === "stay") {
517157
- newSettings.minimumVersion = "1.5.17";
517157
+ newSettings.minimumVersion = "1.5.18";
517158
517158
  }
517159
517159
  updateSettingsForSource("userSettings", newSettings);
517160
517160
  setSettingsData((prev_27) => ({
@@ -525215,7 +525215,7 @@ function HelpV2(t0) {
525215
525215
  let t6;
525216
525216
  if ($3[31] !== tabs) {
525217
525217
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
525218
- title: `Rayu-CLI v${"1.5.17"}`,
525218
+ title: `Rayu-CLI v${"1.5.18"}`,
525219
525219
  color: "professionalBlue",
525220
525220
  defaultTab: "general",
525221
525221
  children: tabs
@@ -546255,7 +546255,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
546255
546255
  }
546256
546256
  return [];
546257
546257
  }
546258
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.17") {
546258
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.18") {
546259
546259
  if (false) {}
546260
546260
  const cachedChangelog = await getStoredChangelog();
546261
546261
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -546268,7 +546268,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.17")
546268
546268
  releaseNotes
546269
546269
  };
546270
546270
  }
546271
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.17") {
546271
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.18") {
546272
546272
  if (false) {}
546273
546273
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
546274
546274
  return {
@@ -546396,7 +546396,7 @@ function getRecentActivitySync() {
546396
546396
  return cachedActivity;
546397
546397
  }
546398
546398
  function getLogoDisplayData() {
546399
- const version2 = process.env.DEMO_VERSION ?? "1.5.17";
546399
+ const version2 = process.env.DEMO_VERSION ?? "1.5.18";
546400
546400
  const serverUrl = getDirectConnectServerUrl();
546401
546401
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
546402
546402
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -547608,7 +547608,7 @@ function LogoV2() {
547608
547608
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
547609
547609
  t2 = () => {
547610
547610
  const currentConfig = getGlobalConfig();
547611
- if (currentConfig.lastReleaseNotesSeen === "1.5.17") {
547611
+ if (currentConfig.lastReleaseNotesSeen === "1.5.18") {
547612
547612
  return;
547613
547613
  }
547614
547614
  saveGlobalConfig(_temp327);
@@ -548087,7 +548087,7 @@ function LogoV2() {
548087
548087
  t24 = $3[61];
548088
548088
  }
548089
548089
  const _latestNpm = getCachedLatestNpmVersionSync();
548090
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.17") ? [createUpdateAvailableFeed("1.5.17", _latestNpm)] : [];
548090
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.18") ? [createUpdateAvailableFeed("1.5.18", _latestNpm)] : [];
548091
548091
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
548092
548092
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
548093
548093
  maxWidth: rightWidth
@@ -548287,12 +548287,12 @@ function LogoV2() {
548287
548287
  return t41;
548288
548288
  }
548289
548289
  function _temp327(current) {
548290
- if (current.lastReleaseNotesSeen === "1.5.17") {
548290
+ if (current.lastReleaseNotesSeen === "1.5.18") {
548291
548291
  return current;
548292
548292
  }
548293
548293
  return {
548294
548294
  ...current,
548295
- lastReleaseNotesSeen: "1.5.17"
548295
+ lastReleaseNotesSeen: "1.5.18"
548296
548296
  };
548297
548297
  }
548298
548298
  function _temp241(s_0) {
@@ -574448,7 +574448,7 @@ function createRayuMcpServer(options) {
574448
574448
  commandsPromise ??= getCommands(options.cwd);
574449
574449
  return commandsPromise;
574450
574450
  };
574451
- const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.5.17" }, { capabilities: { tools: {}, prompts: {} } });
574451
+ const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.5.18" }, { capabilities: { tools: {}, prompts: {} } });
574452
574452
  server.setRequestHandler(ListToolsRequestSchema, async () => {
574453
574453
  const toolPermissionContext = getEmptyToolPermissionContext();
574454
574454
  const allTools = getTools(toolPermissionContext);
@@ -574548,7 +574548,7 @@ async function pingRayuMcpServer(cwd2) {
574548
574548
  const server = createRayuMcpServer2({ cwd: cwd2, debug: false, verbose: false });
574549
574549
  const [clientTransport, serverTransport] = createLinkedTransportPair();
574550
574550
  await server.connect(serverTransport);
574551
- client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.5.17" });
574551
+ client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.5.18" });
574552
574552
  await client.connect(clientTransport);
574553
574553
  const tools = await client.listTools();
574554
574554
  let promptCount = 0;
@@ -575251,7 +575251,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
575251
575251
  smapsRollup,
575252
575252
  platform: process.platform,
575253
575253
  nodeVersion: process.version,
575254
- ccVersion: "1.5.17"
575254
+ ccVersion: "1.5.18"
575255
575255
  };
575256
575256
  }
575257
575257
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -575773,7 +575773,7 @@ var init_bridge_kick = __esm(() => {
575773
575773
  var call51 = async () => {
575774
575774
  return {
575775
575775
  type: "text",
575776
- value: "1.5.17"
575776
+ value: "1.5.18"
575777
575777
  };
575778
575778
  }, version2, version_default;
575779
575779
  var init_version = __esm(() => {
@@ -583305,7 +583305,7 @@ var init_user = __esm(() => {
583305
583305
  deviceId,
583306
583306
  sessionId: getSessionId(),
583307
583307
  email: getEmail(),
583308
- appVersion: "1.5.17",
583308
+ appVersion: "1.5.18",
583309
583309
  platform: getHostPlatformForAnalytics(),
583310
583310
  organizationUuid,
583311
583311
  accountUuid,
@@ -589346,7 +589346,7 @@ function generateHtmlReport(data, insights) {
589346
589346
  </html>`;
589347
589347
  }
589348
589348
  function buildExportData(data, insights, facets, remoteStats) {
589349
- const version3 = typeof MACRO !== "undefined" ? "1.5.17" : "unknown";
589349
+ const version3 = typeof MACRO !== "undefined" ? "1.5.18" : "unknown";
589350
589350
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
589351
589351
  const facets_summary = {
589352
589352
  total: facets.size,
@@ -593264,7 +593264,7 @@ var init_sessionStorage = __esm(() => {
593264
593264
  init_settings2();
593265
593265
  init_slowOperations();
593266
593266
  init_uuid();
593267
- VERSION5 = typeof MACRO !== "undefined" ? "1.5.17" : "unknown";
593267
+ VERSION5 = typeof MACRO !== "undefined" ? "1.5.18" : "unknown";
593268
593268
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
593269
593269
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
593270
593270
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -594482,7 +594482,7 @@ var init_filesystem = __esm(() => {
594482
594482
  });
594483
594483
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
594484
594484
  const nonce = randomBytes21(16).toString("hex");
594485
- return join155(getClaudeTempDir(), "bundled-skills", "1.5.17", nonce);
594485
+ return join155(getClaudeTempDir(), "bundled-skills", "1.5.18", nonce);
594486
594486
  });
594487
594487
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
594488
594488
  });
@@ -599596,7 +599596,7 @@ __export(exports_update, {
599596
599596
  classifyUpdateOutcome: () => classifyUpdateOutcome
599597
599597
  });
599598
599598
  async function update() {
599599
- writeToStdout(`Current version: ${"1.5.17"}
599599
+ writeToStdout(`Current version: ${"1.5.18"}
599600
599600
  `);
599601
599601
  const isBundled = isInBundledMode();
599602
599602
  if (isBundled) {
@@ -599627,18 +599627,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
599627
599627
  process.exit(1);
599628
599628
  return;
599629
599629
  }
599630
- if (latestVersion === "1.5.17") {
599630
+ if (latestVersion === "1.5.18") {
599631
599631
  writeToStdout(source_default.green(`
599632
- Rayu CLI is up to date (${"1.5.17"})
599632
+ Rayu CLI is up to date (${"1.5.18"})
599633
599633
  `));
599634
599634
  process.exit(0);
599635
599635
  }
599636
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.17"})
599636
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.18"})
599637
599637
  `);
599638
599638
  writeToStdout(`Installing update...
599639
599639
 
599640
599640
  `);
599641
- const versionBeforeInstall = getInstalledVersion() ?? "1.5.17";
599641
+ const versionBeforeInstall = getInstalledVersion() ?? "1.5.18";
599642
599642
  const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
599643
599643
  if (!await acquireUpdateLock()) {
599644
599644
  process.stderr.write(source_default.yellow(`
@@ -599756,14 +599756,14 @@ async function updateNativeBinary() {
599756
599756
  } catch {
599757
599757
  latestVersion = "";
599758
599758
  }
599759
- if (latestVersion && latestVersion === "1.5.17") {
599759
+ if (latestVersion && latestVersion === "1.5.18") {
599760
599760
  writeToStdout(source_default.green(`
599761
- Rayu CLI is up to date (1.5.17)
599761
+ Rayu CLI is up to date (1.5.18)
599762
599762
  `));
599763
599763
  process.exit(0);
599764
599764
  }
599765
599765
  if (latestVersion) {
599766
- writeToStdout(`New version available: ${latestVersion} (current: 1.5.17)
599766
+ writeToStdout(`New version available: ${latestVersion} (current: 1.5.18)
599767
599767
  `);
599768
599768
  }
599769
599769
  writeToStdout(`Downloading and installing update...
@@ -599778,13 +599778,13 @@ Rayu CLI is up to date (1.5.17)
599778
599778
  return;
599779
599779
  }
599780
599780
  writeToStdout(source_default.green(`
599781
- Rayu CLI is up to date (1.5.17)
599781
+ Rayu CLI is up to date (1.5.18)
599782
599782
  `));
599783
599783
  process.exit(0);
599784
599784
  }
599785
599785
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
599786
599786
  writeToStdout(source_default.green(`
599787
- Successfully updated from 1.5.17 to ${updatedTo}
599787
+ Successfully updated from 1.5.18 to ${updatedTo}
599788
599788
  `));
599789
599789
  writeToStdout(`Restart your terminal to use the new version.
599790
599790
  `);
@@ -599850,7 +599850,7 @@ async function removeDataDir(dir) {
599850
599850
  async function uninstall(args = []) {
599851
599851
  const yes = args.includes("--yes") || args.includes("-y");
599852
599852
  const keepData = args.includes("--keep-data");
599853
- writeToStdout(`Uninstalling Rayu CLI (${"1.5.17"})...
599853
+ writeToStdout(`Uninstalling Rayu CLI (${"1.5.18"})...
599854
599854
  `);
599855
599855
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
599856
599856
 
@@ -599871,7 +599871,7 @@ Failed to uninstall ${"@rayu-dev/rayu-cli"}
599871
599871
  return;
599872
599872
  }
599873
599873
  writeToStdout(source_default.green(`
599874
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.17"}
599874
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.18"}
599875
599875
  `));
599876
599876
  const configDir = getRayuConfigHomeDir();
599877
599877
  const dataExists = existsSync32(configDir);
@@ -599954,7 +599954,7 @@ function showFirstRunWelcome() {
599954
599954
  `);
599955
599955
  try {
599956
599956
  mkdirSync17(getRayuConfigHomeDir(), { recursive: true });
599957
- writeFileSync20(markerPath(), "1.5.17", "utf8");
599957
+ writeFileSync20(markerPath(), "1.5.18", "utf8");
599958
599958
  } catch {}
599959
599959
  }
599960
599960
  var init_firstRun = __esm(() => {
@@ -615024,7 +615024,7 @@ async function initializeBetaTracing(resource) {
615024
615024
  });
615025
615025
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
615026
615026
  setLoggerProvider(loggerProvider);
615027
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.17");
615027
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.18");
615028
615028
  setEventLogger(eventLogger);
615029
615029
  process.on("beforeExit", async () => {
615030
615030
  await loggerProvider?.forceFlush();
@@ -615064,7 +615064,7 @@ async function initializeTelemetry() {
615064
615064
  const platform4 = getPlatform();
615065
615065
  const baseAttributes = {
615066
615066
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
615067
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.17"
615067
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.18"
615068
615068
  };
615069
615069
  if (platform4 === "wsl") {
615070
615070
  const wslVersion = getWslVersion();
@@ -615109,7 +615109,7 @@ async function initializeTelemetry() {
615109
615109
  } catch {}
615110
615110
  };
615111
615111
  registerCleanup(shutdownTelemetry2);
615112
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.17");
615112
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.18");
615113
615113
  }
615114
615114
  const meterProvider = new import_sdk_metrics2.MeterProvider({
615115
615115
  resource,
@@ -615129,7 +615129,7 @@ async function initializeTelemetry() {
615129
615129
  });
615130
615130
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
615131
615131
  setLoggerProvider(loggerProvider);
615132
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.17");
615132
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.18");
615133
615133
  setEventLogger(eventLogger);
615134
615134
  logForDebugging("[3P telemetry] Event logger set successfully");
615135
615135
  process.on("beforeExit", async () => {
@@ -615191,7 +615191,7 @@ Current timeout: ${timeoutMs}ms
615191
615191
  }
615192
615192
  };
615193
615193
  registerCleanup(shutdownTelemetry);
615194
- return meterProvider.getMeter("com.anthropic.claude_code", "1.5.17");
615194
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.5.18");
615195
615195
  }
615196
615196
  async function flushTelemetry() {
615197
615197
  const meterProvider = getMeterProvider();
@@ -616693,7 +616693,7 @@ function buildSystemInitMessage(inputs) {
616693
616693
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
616694
616694
  apiKeySource: getAnthropicApiKeyWithSource().source,
616695
616695
  betas: getSdkBetas(),
616696
- claude_code_version: "1.5.17",
616696
+ claude_code_version: "1.5.18",
616697
616697
  output_style: outputStyle2,
616698
616698
  agents: inputs.agents.map((agent) => agent.agentType),
616699
616699
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -634392,7 +634392,7 @@ var init_useVoiceEnabled = __esm(() => {
634392
634392
  function getSemverPart(version3) {
634393
634393
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
634394
634394
  }
634395
- function useUpdateNotification(updatedVersion, initialVersion = "1.5.17") {
634395
+ function useUpdateNotification(updatedVersion, initialVersion = "1.5.18") {
634396
634396
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react220.useState(() => getSemverPart(initialVersion));
634397
634397
  if (!updatedVersion) {
634398
634398
  return null;
@@ -634432,7 +634432,7 @@ function AutoUpdater({
634432
634432
  return;
634433
634433
  }
634434
634434
  if (false) {}
634435
- const currentVersion = "1.5.17";
634435
+ const currentVersion = "1.5.18";
634436
634436
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
634437
634437
  let latestVersion = await getLatestVersion(channel2);
634438
634438
  const isDisabled = isAutoUpdaterDisabled();
@@ -634645,12 +634645,12 @@ function NativeAutoUpdater({
634645
634645
  logEvent("tengu_native_auto_updater_start", {});
634646
634646
  try {
634647
634647
  const maxVersion = await getMaxVersion();
634648
- if (maxVersion && gt("1.5.17", maxVersion)) {
634648
+ if (maxVersion && gt("1.5.18", maxVersion)) {
634649
634649
  const msg = await getMaxVersionMessage();
634650
634650
  setMaxVersionIssue(msg ?? "affects your version");
634651
634651
  }
634652
634652
  const result = await installLatest(channel2);
634653
- const currentVersion = "1.5.17";
634653
+ const currentVersion = "1.5.18";
634654
634654
  const latencyMs = Date.now() - startTime2;
634655
634655
  if (result.lockFailed) {
634656
634656
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -634787,17 +634787,17 @@ function PackageManagerAutoUpdater(t0) {
634787
634787
  const maxVersion = await getMaxVersion();
634788
634788
  if (maxVersion && latest && gt(latest, maxVersion)) {
634789
634789
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
634790
- if (gte("1.5.17", maxVersion)) {
634791
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.17"} is already at or above maxVersion ${maxVersion}, skipping update`);
634790
+ if (gte("1.5.18", maxVersion)) {
634791
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.18"} is already at or above maxVersion ${maxVersion}, skipping update`);
634792
634792
  setUpdateAvailable(false);
634793
634793
  return;
634794
634794
  }
634795
634795
  latest = maxVersion;
634796
634796
  }
634797
- const hasUpdate = latest && !gte("1.5.17", latest) && !shouldSkipVersion(latest);
634797
+ const hasUpdate = latest && !gte("1.5.18", latest) && !shouldSkipVersion(latest);
634798
634798
  setUpdateAvailable(!!hasUpdate);
634799
634799
  if (hasUpdate) {
634800
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.17"} -> ${latest}`);
634800
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.18"} -> ${latest}`);
634801
634801
  }
634802
634802
  };
634803
634803
  $3[0] = t1;
@@ -634831,7 +634831,7 @@ function PackageManagerAutoUpdater(t0) {
634831
634831
  wrap: "truncate",
634832
634832
  children: [
634833
634833
  "currentVersion: ",
634834
- "1.5.17"
634834
+ "1.5.18"
634835
634835
  ]
634836
634836
  });
634837
634837
  $3[3] = verbose;
@@ -635234,7 +635234,7 @@ function readNoticeEnvironment() {
635234
635234
  function UpdateAvailableNotice({
635235
635235
  detectInstallationType = getCurrentInstallationType,
635236
635236
  fetchLatestVersion,
635237
- currentVersion = "1.5.17",
635237
+ currentVersion = "1.5.18",
635238
635238
  readEnvironment = readNoticeEnvironment
635239
635239
  } = {}) {
635240
635240
  const [latestVersion, setLatestVersion] = import_react227.useState(() => getCachedLatestNpmVersionSync());
@@ -643085,7 +643085,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
643085
643085
  project_dir: getOriginalCwd(),
643086
643086
  added_dirs: addedDirs
643087
643087
  },
643088
- version: "1.5.17",
643088
+ version: "1.5.18",
643089
643089
  output_style: {
643090
643090
  name: outputStyleName
643091
643091
  },
@@ -647059,7 +647059,15 @@ function PromptInput({
647059
647059
  color: swarmBanner.bgColor,
647060
647060
  children: swarmBanner.text ? /* @__PURE__ */ jsx_runtime424.jsxs(jsx_runtime424.Fragment, {
647061
647061
  children: [
647062
- "─".repeat(Math.max(0, columns - stringWidth(swarmBanner.text) - 4)),
647062
+ "─".repeat(Math.max(0, columns - stringWidth(swarmBanner.text) - stringWidth(getShortModelName(mainLoopModel)) - 7)),
647063
+ /* @__PURE__ */ jsx_runtime424.jsxs(ThemedText, {
647064
+ dimColor: true,
647065
+ children: [
647066
+ " ",
647067
+ getShortModelName(mainLoopModel),
647068
+ " "
647069
+ ]
647070
+ }),
647063
647071
  /* @__PURE__ */ jsx_runtime424.jsxs(ThemedText, {
647064
647072
  backgroundColor: swarmBanner.bgColor,
647065
647073
  color: "inverseText",
@@ -647071,7 +647079,19 @@ function PromptInput({
647071
647079
  }),
647072
647080
  "──"
647073
647081
  ]
647074
- }) : "─".repeat(columns)
647082
+ }) : /* @__PURE__ */ jsx_runtime424.jsxs(jsx_runtime424.Fragment, {
647083
+ children: [
647084
+ "─".repeat(Math.max(0, columns - stringWidth(getShortModelName(mainLoopModel)) - 3)),
647085
+ /* @__PURE__ */ jsx_runtime424.jsxs(ThemedText, {
647086
+ dimColor: true,
647087
+ children: [
647088
+ " ",
647089
+ getShortModelName(mainLoopModel),
647090
+ " "
647091
+ ]
647092
+ })
647093
+ ]
647094
+ })
647075
647095
  }),
647076
647096
  /* @__PURE__ */ jsx_runtime424.jsxs(ThemedBox_default, {
647077
647097
  flexDirection: "row",
@@ -654606,7 +654626,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
654606
654626
  } catch {}
654607
654627
  const data = {
654608
654628
  trigger,
654609
- version: "1.5.17",
654629
+ version: "1.5.18",
654610
654630
  platform: process.platform,
654611
654631
  transcript,
654612
654632
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -666514,7 +666534,7 @@ function WelcomeV2() {
666514
666534
  dimColor: true,
666515
666535
  children: [
666516
666536
  "v",
666517
- "1.5.17"
666537
+ "1.5.18"
666518
666538
  ]
666519
666539
  })
666520
666540
  ]
@@ -667521,7 +667541,7 @@ function completeOnboarding() {
667521
667541
  saveGlobalConfig((current) => ({
667522
667542
  ...current,
667523
667543
  hasCompletedOnboarding: true,
667524
- lastOnboardingVersion: "1.5.17"
667544
+ lastOnboardingVersion: "1.5.18"
667525
667545
  }));
667526
667546
  }
667527
667547
  function showDialog(root2, renderer) {
@@ -672521,7 +672541,7 @@ function appendToLog(path24, message) {
672521
672541
  cwd: getFsImplementation().cwd(),
672522
672542
  userType: "external",
672523
672543
  sessionId: getSessionId(),
672524
- version: "1.5.17"
672544
+ version: "1.5.18"
672525
672545
  };
672526
672546
  getLogWriter(path24).write(messageWithTimestamp);
672527
672547
  }
@@ -676507,8 +676527,8 @@ async function getEnvLessBridgeConfig() {
676507
676527
  }
676508
676528
  async function checkEnvLessBridgeMinVersion() {
676509
676529
  const cfg = await getEnvLessBridgeConfig();
676510
- if (cfg.min_version && lt("1.5.17", cfg.min_version)) {
676511
- return `Your version of RAYU (${"1.5.17"}) is too old for Remote Control.
676530
+ if (cfg.min_version && lt("1.5.18", cfg.min_version)) {
676531
+ return `Your version of RAYU (${"1.5.18"}) is too old for Remote Control.
676512
676532
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
676513
676533
  }
676514
676534
  return null;
@@ -676981,7 +677001,7 @@ async function initBridgeCore(params) {
676981
677001
  const rawApi = createBridgeApiClient({
676982
677002
  baseUrl,
676983
677003
  getAccessToken,
676984
- runnerVersion: "1.5.17",
677004
+ runnerVersion: "1.5.18",
676985
677005
  onDebug: logForDebugging,
676986
677006
  onAuth401,
676987
677007
  getTrustedDeviceToken
@@ -684262,7 +684282,7 @@ ${customInstructions}` : customInstructions;
684262
684282
  }
684263
684283
  }
684264
684284
  logForDiagnosticsNoPII("info", "started", {
684265
- version: "1.5.17",
684285
+ version: "1.5.18",
684266
684286
  is_native_binary: isInBundledMode()
684267
684287
  });
684268
684288
  registerCleanup(async () => {
@@ -684981,7 +685001,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
684981
685001
  pendingHookMessages
684982
685002
  }, renderAndRun);
684983
685003
  }
684984
- }).version(`1.5.17 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
685004
+ }).version(`1.5.18 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
684985
685005
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
684986
685006
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
684987
685007
  if (canUserConfigureAdvisor()) {
@@ -685442,7 +685462,7 @@ if (false) {}
685442
685462
  async function main2() {
685443
685463
  const args = process.argv.slice(2);
685444
685464
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
685445
- console.log(`${"1.5.17"} (Rayu-CLI)`);
685465
+ console.log(`${"1.5.18"} (Rayu-CLI)`);
685446
685466
  return;
685447
685467
  }
685448
685468
  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.17",
3
+ "version": "1.5.18",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {