@rayu-dev/rayu-cli 1.5.15 → 1.5.17

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 +95 -87
  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.15"}`;
144937
+ return `rayu/${"1.5.17"}`;
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.15"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
144963
+ return `rayu/${"1.5.17"} (${"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.15"}${suffix}`;
144977
+ return `rayu/${"1.5.17"}${suffix}`;
144978
144978
  }
144979
144979
  function getWebFetchUserAgent() {
144980
144980
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -145213,7 +145213,7 @@ function isUseRayuOAuthEnabled() {
145213
145213
  return isEnvTruthy("true");
145214
145214
  }
145215
145215
  function getRayuApiBaseUrl() {
145216
- const base2 = process.env.RAYU_API_URL || "" || "http://localhost:4000/api";
145216
+ const base2 = process.env.RAYU_API_URL || "https://api.rayucode.com/api";
145217
145217
  return base2.replace(/\/$/, "");
145218
145218
  }
145219
145219
  function getRayuWebBaseUrl() {
@@ -145221,7 +145221,7 @@ function getRayuWebBaseUrl() {
145221
145221
  return base2.replace(/\/$/, "");
145222
145222
  }
145223
145223
  function getRayuGatewayBaseUrl() {
145224
- const base2 = process.env.RAYU_GATEWAY_URL || "" || "http://localhost:8080";
145224
+ const base2 = process.env.RAYU_GATEWAY_URL || "https://gateway.rayucode.com";
145225
145225
  return base2.replace(/\/$/, "");
145226
145226
  }
145227
145227
  function sessionPath() {
@@ -193806,7 +193806,7 @@ function getAttributionHeader(fingerprint) {
193806
193806
  if (!isAttributionHeaderEnabled()) {
193807
193807
  return "";
193808
193808
  }
193809
- const version2 = `${"1.5.15"}.${fingerprint}`;
193809
+ const version2 = `${"1.5.17"}.${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.15".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
247288
+ const match = "1.5.17".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.15",
247327
+ version: "1.5.17",
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.15";
279527
+ attributes["app.version"] = "1.5.17";
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.15";
389962
+ return "1.5.17";
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.15",
395200
+ version: "1.5.17",
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.15",
395517
+ version: "1.5.17",
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.15");
410460
+ return computeFingerprint(firstMessageText, "1.5.17");
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.15");
410502
+ const fingerprint = computeFingerprint(messageText, "1.5.17");
410503
410503
  const attributionHeader = getAttributionHeader(fingerprint);
410504
410504
  const systemBlocks = [
410505
410505
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -484451,7 +484451,7 @@ function getAttributionTexts() {
484451
484451
  return { commit: "", pr: "" };
484452
484452
  }
484453
484453
  const modelName = getCommitModelName(getMainLoopModel());
484454
- const email3 = "noreply@rayu.dev";
484454
+ const email3 = "rayudev.choeng@gmail.com";
484455
484455
  const defaultAttribution = `\uD83E\uDD16 Generated with [RAYU](${PRODUCT_URL})`;
484456
484456
  const defaultCommit = `Co-Authored-By: Rayu Code ${modelName} <${email3}>`;
484457
484457
  const settings = getInitialSettings();
@@ -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.15", versionConfig.minVersion)) {
510753
+ if (versionConfig.minVersion && lt("1.5.17", versionConfig.minVersion)) {
510754
510754
  console.error(`
510755
- It looks like your version of RAYU (${"1.5.15"}) needs an update.
510755
+ It looks like your version of RAYU (${"1.5.17"}) 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.15"
510919
+ currentVersion: "1.5.17"
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.15"
510928
+ currentVersion: "1.5.17"
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.15" : "unknown";
511459
+ const version2 = typeof MACRO !== "undefined" ? "1.5.17" : "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.15", maxVersion)) {
512255
- logForDebugging(`Native installer: current version ${"1.5.15"} is already at or above maxVersion ${maxVersion}, skipping update`);
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`);
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.15" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
512266
+ if (!forceReinstall && version2 === "1.5.17" && 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.15"
513474
+ value: "1.5.17"
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.15",
517145
+ currentVersion: "1.5.17",
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.15";
517157
+ newSettings.minimumVersion = "1.5.17";
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.15"}`,
525218
+ title: `Rayu-CLI v${"1.5.17"}`,
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.15") {
546258
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.17") {
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.15")
546268
546268
  releaseNotes
546269
546269
  };
546270
546270
  }
546271
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.15") {
546271
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.17") {
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.15";
546399
+ const version2 = process.env.DEMO_VERSION ?? "1.5.17";
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.15") {
547611
+ if (currentConfig.lastReleaseNotesSeen === "1.5.17") {
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.15") ? [createUpdateAvailableFeed("1.5.15", _latestNpm)] : [];
548090
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.17") ? [createUpdateAvailableFeed("1.5.17", _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.15") {
548290
+ if (current.lastReleaseNotesSeen === "1.5.17") {
548291
548291
  return current;
548292
548292
  }
548293
548293
  return {
548294
548294
  ...current,
548295
- lastReleaseNotesSeen: "1.5.15"
548295
+ lastReleaseNotesSeen: "1.5.17"
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.15" }, { capabilities: { tools: {}, prompts: {} } });
574451
+ const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.5.17" }, { 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.15" });
574551
+ client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.5.17" });
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.15"
575254
+ ccVersion: "1.5.17"
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.15"
575776
+ value: "1.5.17"
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.15",
583308
+ appVersion: "1.5.17",
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.15" : "unknown";
589349
+ const version3 = typeof MACRO !== "undefined" ? "1.5.17" : "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.15" : "unknown";
593267
+ VERSION5 = typeof MACRO !== "undefined" ? "1.5.17" : "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.15", nonce);
594485
+ return join155(getClaudeTempDir(), "bundled-skills", "1.5.17", 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.15"}
599599
+ writeToStdout(`Current version: ${"1.5.17"}
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.15") {
599630
+ if (latestVersion === "1.5.17") {
599631
599631
  writeToStdout(source_default.green(`
599632
- Rayu CLI is up to date (${"1.5.15"})
599632
+ Rayu CLI is up to date (${"1.5.17"})
599633
599633
  `));
599634
599634
  process.exit(0);
599635
599635
  }
599636
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.15"})
599636
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.17"})
599637
599637
  `);
599638
599638
  writeToStdout(`Installing update...
599639
599639
 
599640
599640
  `);
599641
- const versionBeforeInstall = getInstalledVersion() ?? "1.5.15";
599641
+ const versionBeforeInstall = getInstalledVersion() ?? "1.5.17";
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.15") {
599759
+ if (latestVersion && latestVersion === "1.5.17") {
599760
599760
  writeToStdout(source_default.green(`
599761
- Rayu CLI is up to date (1.5.15)
599761
+ Rayu CLI is up to date (1.5.17)
599762
599762
  `));
599763
599763
  process.exit(0);
599764
599764
  }
599765
599765
  if (latestVersion) {
599766
- writeToStdout(`New version available: ${latestVersion} (current: 1.5.15)
599766
+ writeToStdout(`New version available: ${latestVersion} (current: 1.5.17)
599767
599767
  `);
599768
599768
  }
599769
599769
  writeToStdout(`Downloading and installing update...
@@ -599778,13 +599778,13 @@ Rayu CLI is up to date (1.5.15)
599778
599778
  return;
599779
599779
  }
599780
599780
  writeToStdout(source_default.green(`
599781
- Rayu CLI is up to date (1.5.15)
599781
+ Rayu CLI is up to date (1.5.17)
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.15 to ${updatedTo}
599787
+ Successfully updated from 1.5.17 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.15"})...
599853
+ writeToStdout(`Uninstalling Rayu CLI (${"1.5.17"})...
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.15"}
599874
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.17"}
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.15", "utf8");
599957
+ writeFileSync20(markerPath(), "1.5.17", "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.15");
615027
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.17");
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.15"
615067
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.17"
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.15");
615112
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.17");
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.15");
615132
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.17");
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.15");
615194
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.5.17");
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.15",
616696
+ claude_code_version: "1.5.17",
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.15") {
634395
+ function useUpdateNotification(updatedVersion, initialVersion = "1.5.17") {
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.15";
634435
+ const currentVersion = "1.5.17";
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.15", maxVersion)) {
634648
+ if (maxVersion && gt("1.5.17", 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.15";
634653
+ const currentVersion = "1.5.17";
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.15", maxVersion)) {
634791
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.15"} is already at or above maxVersion ${maxVersion}, skipping update`);
634790
+ if (gte("1.5.17", maxVersion)) {
634791
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.17"} 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.15", latest) && !shouldSkipVersion(latest);
634797
+ const hasUpdate = latest && !gte("1.5.17", latest) && !shouldSkipVersion(latest);
634798
634798
  setUpdateAvailable(!!hasUpdate);
634799
634799
  if (hasUpdate) {
634800
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.15"} -> ${latest}`);
634800
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.17"} -> ${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.15"
634834
+ "1.5.17"
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.15",
635237
+ currentVersion = "1.5.17",
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.15",
643088
+ version: "1.5.17",
643089
643089
  output_style: {
643090
643090
  name: outputStyleName
643091
643091
  },
@@ -644870,6 +644870,12 @@ var init_PromptInputFooter = __esm(() => {
644870
644870
  PromptInputFooter_default = import_react249.memo(PromptInputFooter);
644871
644871
  });
644872
644872
 
644873
+ // src/components/PromptInput/PromptInputModelIndicator.tsx
644874
+ function getShortModelName(model) {
644875
+ const lastDot = model.lastIndexOf(".");
644876
+ return lastDot >= 0 ? model.slice(lastDot + 1) : model;
644877
+ }
644878
+
644873
644879
  // src/components/PromptInput/PromptInputModeIndicator.tsx
644874
644880
  function getTeammateThemeColor() {
644875
644881
  if (!isAgentSwarmsEnabled()) {
@@ -647100,7 +647106,7 @@ function PromptInput({
647100
647106
  borderRight: false,
647101
647107
  borderBottom: true,
647102
647108
  width: "100%",
647103
- borderText: buildBorderText(showFastIcon ?? false, showFastIconHint, fastModeCooldown),
647109
+ borderText: buildBorderText(showFastIcon ?? false, showFastIconHint, fastModeCooldown, getShortModelName(mainLoopModel)),
647104
647110
  children: [
647105
647111
  /* @__PURE__ */ jsx_runtime424.jsx(PromptInputModeIndicator, {
647106
647112
  mode,
@@ -647203,12 +647209,14 @@ function getInitialPasteId(messages) {
647203
647209
  }
647204
647210
  return maxId + 1;
647205
647211
  }
647206
- function buildBorderText(showFastIcon, showFastIconHint, fastModeCooldown) {
647207
- if (!showFastIcon)
647212
+ function buildBorderText(showFastIcon, showFastIconHint, fastModeCooldown, modelName) {
647213
+ const modelSeg = modelName ? source_default.dim(modelName) : "";
647214
+ if (!showFastIcon && !modelSeg)
647208
647215
  return;
647209
- const fastSeg = showFastIconHint ? `${getFastIconString(true, fastModeCooldown)} ${source_default.dim("/fast")}` : getFastIconString(true, fastModeCooldown);
647216
+ const fastSeg = showFastIcon ? showFastIconHint ? `${getFastIconString(true, fastModeCooldown)} ${source_default.dim("/fast")}` : getFastIconString(true, fastModeCooldown) : "";
647217
+ const content = [modelSeg, fastSeg].filter(Boolean).join(" ");
647210
647218
  return {
647211
- content: ` ${fastSeg} `,
647219
+ content: ` ${content} `,
647212
647220
  position: "top",
647213
647221
  align: "end",
647214
647222
  offset: 0
@@ -654598,7 +654606,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
654598
654606
  } catch {}
654599
654607
  const data = {
654600
654608
  trigger,
654601
- version: "1.5.15",
654609
+ version: "1.5.17",
654602
654610
  platform: process.platform,
654603
654611
  transcript,
654604
654612
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -666506,7 +666514,7 @@ function WelcomeV2() {
666506
666514
  dimColor: true,
666507
666515
  children: [
666508
666516
  "v",
666509
- "1.5.15"
666517
+ "1.5.17"
666510
666518
  ]
666511
666519
  })
666512
666520
  ]
@@ -667513,7 +667521,7 @@ function completeOnboarding() {
667513
667521
  saveGlobalConfig((current) => ({
667514
667522
  ...current,
667515
667523
  hasCompletedOnboarding: true,
667516
- lastOnboardingVersion: "1.5.15"
667524
+ lastOnboardingVersion: "1.5.17"
667517
667525
  }));
667518
667526
  }
667519
667527
  function showDialog(root2, renderer) {
@@ -672513,7 +672521,7 @@ function appendToLog(path24, message) {
672513
672521
  cwd: getFsImplementation().cwd(),
672514
672522
  userType: "external",
672515
672523
  sessionId: getSessionId(),
672516
- version: "1.5.15"
672524
+ version: "1.5.17"
672517
672525
  };
672518
672526
  getLogWriter(path24).write(messageWithTimestamp);
672519
672527
  }
@@ -676499,8 +676507,8 @@ async function getEnvLessBridgeConfig() {
676499
676507
  }
676500
676508
  async function checkEnvLessBridgeMinVersion() {
676501
676509
  const cfg = await getEnvLessBridgeConfig();
676502
- if (cfg.min_version && lt("1.5.15", cfg.min_version)) {
676503
- return `Your version of RAYU (${"1.5.15"}) is too old for Remote Control.
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.
676504
676512
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
676505
676513
  }
676506
676514
  return null;
@@ -676973,7 +676981,7 @@ async function initBridgeCore(params) {
676973
676981
  const rawApi = createBridgeApiClient({
676974
676982
  baseUrl,
676975
676983
  getAccessToken,
676976
- runnerVersion: "1.5.15",
676984
+ runnerVersion: "1.5.17",
676977
676985
  onDebug: logForDebugging,
676978
676986
  onAuth401,
676979
676987
  getTrustedDeviceToken
@@ -684254,7 +684262,7 @@ ${customInstructions}` : customInstructions;
684254
684262
  }
684255
684263
  }
684256
684264
  logForDiagnosticsNoPII("info", "started", {
684257
- version: "1.5.15",
684265
+ version: "1.5.17",
684258
684266
  is_native_binary: isInBundledMode()
684259
684267
  });
684260
684268
  registerCleanup(async () => {
@@ -684973,7 +684981,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
684973
684981
  pendingHookMessages
684974
684982
  }, renderAndRun);
684975
684983
  }
684976
- }).version(`1.5.15 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
684984
+ }).version(`1.5.17 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
684977
684985
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
684978
684986
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
684979
684987
  if (canUserConfigureAdvisor()) {
@@ -685434,7 +685442,7 @@ if (false) {}
685434
685442
  async function main2() {
685435
685443
  const args = process.argv.slice(2);
685436
685444
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
685437
- console.log(`${"1.5.15"} (Rayu-CLI)`);
685445
+ console.log(`${"1.5.17"} (Rayu-CLI)`);
685438
685446
  return;
685439
685447
  }
685440
685448
  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.15",
3
+ "version": "1.5.17",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {