@rayu-dev/rayu-cli 1.3.450 → 1.3.461

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 +89 -85
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -19321,6 +19321,7 @@ function listKiroModels() {
19321
19321
  var KIRO_THINKING_SUFFIX = "[1m]", KIRO_DEFAULT_CONTEXT_WINDOW = 200000, KIRO_THINKING_CONTEXT_WINDOW = 1e6, KIRO_DEFAULT_MODEL = "claude-sonnet-4.6", KIRO_DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-6", MODEL_MAP_ORDERED;
19322
19322
  var init_kiroModels = __esm(() => {
19323
19323
  MODEL_MAP_ORDERED = [
19324
+ { anthropic: "claude-sonnet-5", kiro: "claude-sonnet-5", contextWindowSize: KIRO_THINKING_CONTEXT_WINDOW },
19324
19325
  { anthropic: "claude-opus-4-8[1m]", kiro: "claude-opus-4.8", kiro1m: "claude-opus-4.8" },
19325
19326
  { anthropic: "claude-opus-4-8", kiro: "claude-opus-4.8", kiro1m: "claude-opus-4.8" },
19326
19327
  { anthropic: "claude-opus-4-7[1m]", kiro: "claude-opus-4.7", kiro1m: "claude-opus-4.7" },
@@ -148367,7 +148368,7 @@ var init_auth = __esm(() => {
148367
148368
 
148368
148369
  // src/utils/userAgent.ts
148369
148370
  function getRayuUserAgent() {
148370
- return `rayu/${"1.3.450"}`;
148371
+ return `rayu/${"1.3.461"}`;
148371
148372
  }
148372
148373
  var getClaudeCodeUserAgent;
148373
148374
  var init_userAgent = __esm(() => {
@@ -148393,7 +148394,7 @@ function getUserAgent() {
148393
148394
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
148394
148395
  const workload = getWorkload();
148395
148396
  const workloadSuffix = workload ? `, workload/${workload}` : "";
148396
- return `rayu/${"1.3.450"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148397
+ return `rayu/${"1.3.461"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148397
148398
  }
148398
148399
  function getMCPUserAgent() {
148399
148400
  const parts = [];
@@ -148407,7 +148408,7 @@ function getMCPUserAgent() {
148407
148408
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
148408
148409
  }
148409
148410
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
148410
- return `rayu/${"1.3.450"}${suffix}`;
148411
+ return `rayu/${"1.3.461"}${suffix}`;
148411
148412
  }
148412
148413
  function getWebFetchUserAgent() {
148413
148414
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -148530,7 +148531,7 @@ var init_user = __esm(() => {
148530
148531
  deviceId,
148531
148532
  sessionId: getSessionId(),
148532
148533
  email: getEmail(),
148533
- appVersion: "1.3.450",
148534
+ appVersion: "1.3.461",
148534
148535
  platform: getHostPlatformForAnalytics(),
148535
148536
  organizationUuid,
148536
148537
  accountUuid,
@@ -156716,6 +156717,9 @@ function getMarketingNameForModel(modelId) {
156716
156717
  if (canonical.includes("claude-opus-4")) {
156717
156718
  return "Opus 4";
156718
156719
  }
156720
+ if (canonical.includes("claude-sonnet-5")) {
156721
+ return "Sonnet 5";
156722
+ }
156719
156723
  if (canonical.includes("claude-sonnet-4-6")) {
156720
156724
  return has1m ? "Sonnet 4.6 (with 1M context)" : "Sonnet 4.6";
156721
156725
  }
@@ -165503,15 +165507,15 @@ function isUseRayuOAuthEnabled() {
165503
165507
  return isEnvTruthy("true");
165504
165508
  }
165505
165509
  function getRayuApiBaseUrl() {
165506
- const base2 = process.env.RAYU_API_URL || "http://localhost:4000/api";
165510
+ const base2 = process.env.RAYU_API_URL || "https://api.rayucode.com/api";
165507
165511
  return base2.replace(/\/$/, "");
165508
165512
  }
165509
165513
  function getRayuWebBaseUrl() {
165510
- const base2 = process.env.RAYU_WEB_URL || "http://localhost:3000";
165514
+ const base2 = process.env.RAYU_WEB_URL || "https://rayucode.com";
165511
165515
  return base2.replace(/\/$/, "");
165512
165516
  }
165513
165517
  function getRayuGatewayBaseUrl() {
165514
- const base2 = process.env.RAYU_GATEWAY_URL || "http://localhost:8080";
165518
+ const base2 = process.env.RAYU_GATEWAY_URL || "https://gateway.rayucode.com";
165515
165519
  return base2.replace(/\/$/, "");
165516
165520
  }
165517
165521
  function sessionPath() {
@@ -184625,7 +184629,7 @@ var init_metadata = __esm(() => {
184625
184629
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
184626
184630
  WHITESPACE_REGEX = /\s+/;
184627
184631
  getVersionBase = memoize_default(() => {
184628
- const match = "1.3.450".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184632
+ const match = "1.3.461".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184629
184633
  return match ? match[0] : undefined;
184630
184634
  });
184631
184635
  buildEnvContext = memoize_default(async () => {
@@ -184664,7 +184668,7 @@ var init_metadata = __esm(() => {
184664
184668
  },
184665
184669
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
184666
184670
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
184667
- version: "1.3.450",
184671
+ version: "1.3.461",
184668
184672
  versionBase: getVersionBase(),
184669
184673
  buildTime: "",
184670
184674
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -185276,7 +185280,7 @@ function initialize1PEventLogging() {
185276
185280
  const platform2 = getPlatform();
185277
185281
  const attributes = {
185278
185282
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
185279
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.450"
185283
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.461"
185280
185284
  };
185281
185285
  if (platform2 === "wsl") {
185282
185286
  const wslVersion = getWslVersion();
@@ -185303,7 +185307,7 @@ function initialize1PEventLogging() {
185303
185307
  })
185304
185308
  ]
185305
185309
  });
185306
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.450");
185310
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.461");
185307
185311
  }
185308
185312
  async function reinitialize1PEventLoggingIfConfigChanged() {
185309
185313
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -216974,7 +216978,7 @@ function getAttributionHeader(fingerprint) {
216974
216978
  if (!isAttributionHeaderEnabled()) {
216975
216979
  return "";
216976
216980
  }
216977
- const version2 = `${"1.3.450"}.${fingerprint}`;
216981
+ const version2 = `${"1.3.461"}.${fingerprint}`;
216978
216982
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
216979
216983
  const cch = "";
216980
216984
  const workload = getWorkload();
@@ -301958,7 +301962,7 @@ function getTelemetryAttributes() {
301958
301962
  attributes["session.id"] = sessionId;
301959
301963
  }
301960
301964
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
301961
- attributes["app.version"] = "1.3.450";
301965
+ attributes["app.version"] = "1.3.461";
301962
301966
  }
301963
301967
  const oauthAccount = getOauthAccountInfo();
301964
301968
  if (oauthAccount) {
@@ -412321,7 +412325,7 @@ function getInstallationEnv() {
412321
412325
  return;
412322
412326
  }
412323
412327
  function getClaudeCodeVersion() {
412324
- return "1.3.450";
412328
+ return "1.3.461";
412325
412329
  }
412326
412330
  async function getInstalledVSCodeExtensionVersion(command) {
412327
412331
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -417559,7 +417563,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
417559
417563
  const client4 = new Client({
417560
417564
  name: "claude-code",
417561
417565
  title: "RAYU",
417562
- version: "1.3.450",
417566
+ version: "1.3.461",
417563
417567
  description: "Anthropic's agentic coding tool",
417564
417568
  websiteUrl: PRODUCT_URL
417565
417569
  }, {
@@ -417876,7 +417880,7 @@ var init_client7 = __esm(() => {
417876
417880
  const client4 = new Client({
417877
417881
  name: "claude-code",
417878
417882
  title: "RAYU",
417879
- version: "1.3.450",
417883
+ version: "1.3.461",
417880
417884
  description: "Anthropic's agentic coding tool",
417881
417885
  websiteUrl: PRODUCT_URL
417882
417886
  }, {
@@ -432681,7 +432685,7 @@ function computeFingerprint(messageText, version2) {
432681
432685
  }
432682
432686
  function computeFingerprintFromMessages(messages) {
432683
432687
  const firstMessageText = extractFirstMessageText(messages);
432684
- return computeFingerprint(firstMessageText, "1.3.450");
432688
+ return computeFingerprint(firstMessageText, "1.3.461");
432685
432689
  }
432686
432690
  var FINGERPRINT_SALT = "59cf53e54c78";
432687
432691
  var init_fingerprint = () => {};
@@ -432723,7 +432727,7 @@ async function sideQuery(opts) {
432723
432727
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
432724
432728
  }
432725
432729
  const messageText = extractFirstUserMessageText(messages);
432726
- const fingerprint = computeFingerprint(messageText, "1.3.450");
432730
+ const fingerprint = computeFingerprint(messageText, "1.3.461");
432727
432731
  const attributionHeader = getAttributionHeader(fingerprint);
432728
432732
  const systemBlocks = [
432729
432733
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -528055,7 +528059,7 @@ function Feedback({
528055
528059
  platform: env4.platform,
528056
528060
  gitRepo: envInfo.isGit,
528057
528061
  terminal: env4.terminal,
528058
- version: "1.3.450",
528062
+ version: "1.3.461",
528059
528063
  transcript: normalizeMessagesForAPI(messages),
528060
528064
  errors: sanitizedErrors,
528061
528065
  lastApiRequest: getLastAPIRequest(),
@@ -528247,7 +528251,7 @@ function Feedback({
528247
528251
  ", ",
528248
528252
  env4.terminal,
528249
528253
  ", v",
528250
- "1.3.450"
528254
+ "1.3.461"
528251
528255
  ]
528252
528256
  })
528253
528257
  ]
@@ -528353,7 +528357,7 @@ ${sanitizedDescription}
528353
528357
  ` + `**Environment Info**
528354
528358
  ` + `- Platform: ${env4.platform}
528355
528359
  ` + `- Terminal: ${env4.terminal}
528356
- ` + `- Version: ${"1.3.450"}
528360
+ ` + `- Version: ${"1.3.461"}
528357
528361
  ` + `- Feedback ID: ${feedbackId}
528358
528362
  ` + `
528359
528363
  **Errors**
@@ -531193,9 +531197,9 @@ async function assertMinVersion() {
531193
531197
  if (false) {}
531194
531198
  try {
531195
531199
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
531196
- if (versionConfig.minVersion && lt("1.3.450", versionConfig.minVersion)) {
531200
+ if (versionConfig.minVersion && lt("1.3.461", versionConfig.minVersion)) {
531197
531201
  console.error(`
531198
- It looks like your version of RAYU (${"1.3.450"}) needs an update.
531202
+ It looks like your version of RAYU (${"1.3.461"}) needs an update.
531199
531203
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
531200
531204
 
531201
531205
  To update, please run:
@@ -531421,7 +531425,7 @@ async function installGlobalPackage(specificVersion) {
531421
531425
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
531422
531426
  logEvent("tengu_auto_updater_lock_contention", {
531423
531427
  pid: process.pid,
531424
- currentVersion: "1.3.450"
531428
+ currentVersion: "1.3.461"
531425
531429
  });
531426
531430
  return "in_progress";
531427
531431
  }
@@ -531430,7 +531434,7 @@ async function installGlobalPackage(specificVersion) {
531430
531434
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
531431
531435
  logError2(new Error("Windows NPM detected in WSL environment"));
531432
531436
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
531433
- currentVersion: "1.3.450"
531437
+ currentVersion: "1.3.461"
531434
531438
  });
531435
531439
  console.error(`
531436
531440
  Error: Windows NPM detected in WSL
@@ -531962,7 +531966,7 @@ function detectLinuxGlobPatternWarnings() {
531962
531966
  }
531963
531967
  async function getDoctorDiagnostic() {
531964
531968
  const installationType = await getCurrentInstallationType();
531965
- const version2 = typeof MACRO !== "undefined" ? "1.3.450" : "unknown";
531969
+ const version2 = typeof MACRO !== "undefined" ? "1.3.461" : "unknown";
531966
531970
  const installationPath = await getInstallationPath();
531967
531971
  const invokedBinary = getInvokedBinary();
531968
531972
  const multipleInstallations = await detectMultipleInstallations();
@@ -532757,8 +532761,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
532757
532761
  const maxVersion = await getMaxVersion();
532758
532762
  if (maxVersion && gt(version2, maxVersion)) {
532759
532763
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
532760
- if (gte("1.3.450", maxVersion)) {
532761
- logForDebugging(`Native installer: current version ${"1.3.450"} is already at or above maxVersion ${maxVersion}, skipping update`);
532764
+ if (gte("1.3.461", maxVersion)) {
532765
+ logForDebugging(`Native installer: current version ${"1.3.461"} is already at or above maxVersion ${maxVersion}, skipping update`);
532762
532766
  logEvent("tengu_native_update_skipped_max_version", {
532763
532767
  latency_ms: Date.now() - startTime2,
532764
532768
  max_version: maxVersion,
@@ -532769,7 +532773,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
532769
532773
  version2 = maxVersion;
532770
532774
  }
532771
532775
  }
532772
- if (!forceReinstall && version2 === "1.3.450" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
532776
+ if (!forceReinstall && version2 === "1.3.461" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
532773
532777
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
532774
532778
  logEvent("tengu_native_update_complete", {
532775
532779
  latency_ms: Date.now() - startTime2,
@@ -533965,7 +533969,7 @@ function buildPrimarySection() {
533965
533969
  });
533966
533970
  return [{
533967
533971
  label: "Version",
533968
- value: "1.3.450"
533972
+ value: "1.3.461"
533969
533973
  }, {
533970
533974
  label: "Session name",
533971
533975
  value: nameValue
@@ -537656,7 +537660,7 @@ function Config({
537656
537660
  }
537657
537661
  })
537658
537662
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime170.jsx(ChannelDowngradeDialog, {
537659
- currentVersion: "1.3.450",
537663
+ currentVersion: "1.3.461",
537660
537664
  onChoice: (choice) => {
537661
537665
  setShowSubmenu(null);
537662
537666
  setTabsHidden(false);
@@ -537668,7 +537672,7 @@ function Config({
537668
537672
  autoUpdatesChannel: "stable"
537669
537673
  };
537670
537674
  if (choice === "stay") {
537671
- newSettings.minimumVersion = "1.3.450";
537675
+ newSettings.minimumVersion = "1.3.461";
537672
537676
  }
537673
537677
  updateSettingsForSource("userSettings", newSettings);
537674
537678
  setSettingsData((prev_27) => ({
@@ -545730,7 +545734,7 @@ function HelpV2(t0) {
545730
545734
  let t6;
545731
545735
  if ($3[31] !== tabs) {
545732
545736
  t6 = /* @__PURE__ */ jsx_runtime197.jsx(Tabs, {
545733
- title: `Rayu-CLI v${"1.3.450"}`,
545737
+ title: `Rayu-CLI v${"1.3.461"}`,
545734
545738
  color: "professionalBlue",
545735
545739
  defaultTab: "general",
545736
545740
  children: tabs
@@ -565817,7 +565821,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
565817
565821
  }
565818
565822
  return [];
565819
565823
  }
565820
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.450") {
565824
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.461") {
565821
565825
  if (false) {}
565822
565826
  const cachedChangelog = await getStoredChangelog();
565823
565827
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -565830,7 +565834,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.450")
565830
565834
  releaseNotes
565831
565835
  };
565832
565836
  }
565833
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.450") {
565837
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.461") {
565834
565838
  if (false) {}
565835
565839
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
565836
565840
  return {
@@ -565958,7 +565962,7 @@ function getRecentActivitySync() {
565958
565962
  return cachedActivity;
565959
565963
  }
565960
565964
  function getLogoDisplayData() {
565961
- const version2 = process.env.DEMO_VERSION ?? "1.3.450";
565965
+ const version2 = process.env.DEMO_VERSION ?? "1.3.461";
565962
565966
  const serverUrl = getDirectConnectServerUrl();
565963
565967
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
565964
565968
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -567205,7 +567209,7 @@ function LogoV2() {
567205
567209
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
567206
567210
  t2 = () => {
567207
567211
  const currentConfig = getGlobalConfig();
567208
- if (currentConfig.lastReleaseNotesSeen === "1.3.450") {
567212
+ if (currentConfig.lastReleaseNotesSeen === "1.3.461") {
567209
567213
  return;
567210
567214
  }
567211
567215
  saveGlobalConfig(_temp327);
@@ -567683,7 +567687,7 @@ function LogoV2() {
567683
567687
  t24 = $3[61];
567684
567688
  }
567685
567689
  const _latestNpm = getCachedLatestNpmVersionSync();
567686
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.450") ? [createUpdateAvailableFeed("1.3.450", _latestNpm)] : [];
567690
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.461") ? [createUpdateAvailableFeed("1.3.461", _latestNpm)] : [];
567687
567691
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime239.jsx(FeedColumn, {
567688
567692
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
567689
567693
  maxWidth: rightWidth
@@ -567883,12 +567887,12 @@ function LogoV2() {
567883
567887
  return t41;
567884
567888
  }
567885
567889
  function _temp327(current) {
567886
- if (current.lastReleaseNotesSeen === "1.3.450") {
567890
+ if (current.lastReleaseNotesSeen === "1.3.461") {
567887
567891
  return current;
567888
567892
  }
567889
567893
  return {
567890
567894
  ...current,
567891
- lastReleaseNotesSeen: "1.3.450"
567895
+ lastReleaseNotesSeen: "1.3.461"
567892
567896
  };
567893
567897
  }
567894
567898
  function _temp241(s_0) {
@@ -592797,7 +592801,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
592797
592801
  smapsRollup,
592798
592802
  platform: process.platform,
592799
592803
  nodeVersion: process.version,
592800
- ccVersion: "1.3.450"
592804
+ ccVersion: "1.3.461"
592801
592805
  };
592802
592806
  }
592803
592807
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -593319,7 +593323,7 @@ var init_bridge_kick = __esm(() => {
593319
593323
  var call49 = async () => {
593320
593324
  return {
593321
593325
  type: "text",
593322
- value: "1.3.450"
593326
+ value: "1.3.461"
593323
593327
  };
593324
593328
  }, version2, version_default;
593325
593329
  var init_version = __esm(() => {
@@ -603272,7 +603276,7 @@ function generateHtmlReport(data, insights) {
603272
603276
  </html>`;
603273
603277
  }
603274
603278
  function buildExportData(data, insights, facets, remoteStats) {
603275
- const version3 = typeof MACRO !== "undefined" ? "1.3.450" : "unknown";
603279
+ const version3 = typeof MACRO !== "undefined" ? "1.3.461" : "unknown";
603276
603280
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
603277
603281
  const facets_summary = {
603278
603282
  total: facets.size,
@@ -607182,7 +607186,7 @@ var init_sessionStorage = __esm(() => {
607182
607186
  init_settings2();
607183
607187
  init_slowOperations();
607184
607188
  init_uuid();
607185
- VERSION6 = typeof MACRO !== "undefined" ? "1.3.450" : "unknown";
607189
+ VERSION6 = typeof MACRO !== "undefined" ? "1.3.461" : "unknown";
607186
607190
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
607187
607191
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
607188
607192
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -608402,7 +608406,7 @@ var init_filesystem = __esm(() => {
608402
608406
  });
608403
608407
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
608404
608408
  const nonce = randomBytes19(16).toString("hex");
608405
- return join154(getClaudeTempDir(), "bundled-skills", "1.3.450", nonce);
608409
+ return join154(getClaudeTempDir(), "bundled-skills", "1.3.461", nonce);
608406
608410
  });
608407
608411
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
608408
608412
  });
@@ -613517,7 +613521,7 @@ __export(exports_update, {
613517
613521
  import { execFileSync as execFileSync3 } from "node:child_process";
613518
613522
  import { homedir as homedir35 } from "os";
613519
613523
  async function update() {
613520
- writeToStdout(`Current version: ${"1.3.450"}
613524
+ writeToStdout(`Current version: ${"1.3.461"}
613521
613525
  `);
613522
613526
  const isBundled = isInBundledMode();
613523
613527
  if (isBundled) {
@@ -613543,13 +613547,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
613543
613547
  process.exit(1);
613544
613548
  return;
613545
613549
  }
613546
- if (latestVersion === "1.3.450") {
613550
+ if (latestVersion === "1.3.461") {
613547
613551
  writeToStdout(source_default.green(`
613548
- Rayu CLI is up to date (${"1.3.450"})
613552
+ Rayu CLI is up to date (${"1.3.461"})
613549
613553
  `));
613550
613554
  process.exit(0);
613551
613555
  }
613552
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.450"})
613556
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.461"})
613553
613557
  `);
613554
613558
  writeToStdout(`Installing update...
613555
613559
 
@@ -613573,7 +613577,7 @@ Try manually:
613573
613577
  return;
613574
613578
  }
613575
613579
  writeToStdout(source_default.green(`
613576
- Successfully updated from ${"1.3.450"} to ${latestVersion}
613580
+ Successfully updated from ${"1.3.461"} to ${latestVersion}
613577
613581
  `));
613578
613582
  process.exit(0);
613579
613583
  }
@@ -613587,14 +613591,14 @@ async function updateNativeBinary() {
613587
613591
  } catch {
613588
613592
  latestVersion = "";
613589
613593
  }
613590
- if (latestVersion && latestVersion === "1.3.450") {
613594
+ if (latestVersion && latestVersion === "1.3.461") {
613591
613595
  writeToStdout(source_default.green(`
613592
- Rayu CLI is up to date (1.3.450)
613596
+ Rayu CLI is up to date (1.3.461)
613593
613597
  `));
613594
613598
  process.exit(0);
613595
613599
  }
613596
613600
  if (latestVersion) {
613597
- writeToStdout(`New version available: ${latestVersion} (current: 1.3.450)
613601
+ writeToStdout(`New version available: ${latestVersion} (current: 1.3.461)
613598
613602
  `);
613599
613603
  }
613600
613604
  writeToStdout(`Downloading and installing update...
@@ -613609,13 +613613,13 @@ Rayu CLI is up to date (1.3.450)
613609
613613
  return;
613610
613614
  }
613611
613615
  writeToStdout(source_default.green(`
613612
- Rayu CLI is up to date (1.3.450)
613616
+ Rayu CLI is up to date (1.3.461)
613613
613617
  `));
613614
613618
  process.exit(0);
613615
613619
  }
613616
613620
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
613617
613621
  writeToStdout(source_default.green(`
613618
- Successfully updated from 1.3.450 to ${updatedTo}
613622
+ Successfully updated from 1.3.461 to ${updatedTo}
613619
613623
  `));
613620
613624
  writeToStdout(`Restart your terminal to use the new version.
613621
613625
  `);
@@ -613646,7 +613650,7 @@ __export(exports_uninstall, {
613646
613650
  import { execFileSync as execFileSync4 } from "node:child_process";
613647
613651
  import { homedir as homedir36 } from "os";
613648
613652
  async function uninstall() {
613649
- writeToStdout(`Uninstalling Rayu CLI (${"1.3.450"})...
613653
+ writeToStdout(`Uninstalling Rayu CLI (${"1.3.461"})...
613650
613654
  `);
613651
613655
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
613652
613656
 
@@ -613669,7 +613673,7 @@ Try running manually:
613669
613673
  process.exit(1);
613670
613674
  }
613671
613675
  writeToStdout(source_default.green(`
613672
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.450"}
613676
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.461"}
613673
613677
  `));
613674
613678
  writeToStdout(`Thanks for using Rayu CLI!
613675
613679
  `);
@@ -613721,7 +613725,7 @@ function showFirstRunWelcome() {
613721
613725
  `);
613722
613726
  try {
613723
613727
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
613724
- writeFileSync18(markerPath(), "1.3.450", "utf8");
613728
+ writeFileSync18(markerPath(), "1.3.461", "utf8");
613725
613729
  } catch {}
613726
613730
  }
613727
613731
  var init_firstRun = __esm(() => {
@@ -625564,7 +625568,7 @@ async function initializeBetaTracing(resource) {
625564
625568
  });
625565
625569
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
625566
625570
  setLoggerProvider(loggerProvider);
625567
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.450");
625571
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.461");
625568
625572
  setEventLogger(eventLogger);
625569
625573
  process.on("beforeExit", async () => {
625570
625574
  await loggerProvider?.forceFlush();
@@ -625604,7 +625608,7 @@ async function initializeTelemetry() {
625604
625608
  const platform4 = getPlatform();
625605
625609
  const baseAttributes = {
625606
625610
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
625607
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.450"
625611
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.461"
625608
625612
  };
625609
625613
  if (platform4 === "wsl") {
625610
625614
  const wslVersion = getWslVersion();
@@ -625649,7 +625653,7 @@ async function initializeTelemetry() {
625649
625653
  } catch {}
625650
625654
  };
625651
625655
  registerCleanup(shutdownTelemetry2);
625652
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.450");
625656
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.461");
625653
625657
  }
625654
625658
  const meterProvider = new import_sdk_metrics2.MeterProvider({
625655
625659
  resource,
@@ -625669,7 +625673,7 @@ async function initializeTelemetry() {
625669
625673
  });
625670
625674
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
625671
625675
  setLoggerProvider(loggerProvider);
625672
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.450");
625676
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.461");
625673
625677
  setEventLogger(eventLogger);
625674
625678
  logForDebugging("[3P telemetry] Event logger set successfully");
625675
625679
  process.on("beforeExit", async () => {
@@ -625731,7 +625735,7 @@ Current timeout: ${timeoutMs}ms
625731
625735
  }
625732
625736
  };
625733
625737
  registerCleanup(shutdownTelemetry);
625734
- return meterProvider.getMeter("com.anthropic.claude_code", "1.3.450");
625738
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.3.461");
625735
625739
  }
625736
625740
  async function flushTelemetry() {
625737
625741
  const meterProvider = getMeterProvider();
@@ -627244,7 +627248,7 @@ function buildSystemInitMessage(inputs) {
627244
627248
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
627245
627249
  apiKeySource: getAnthropicApiKeyWithSource().source,
627246
627250
  betas: getSdkBetas(),
627247
- claude_code_version: "1.3.450",
627251
+ claude_code_version: "1.3.461",
627248
627252
  output_style: outputStyle2,
627249
627253
  agents: inputs.agents.map((agent) => agent.agentType),
627250
627254
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -643578,7 +643582,7 @@ var init_useVoiceEnabled = __esm(() => {
643578
643582
  function getSemverPart(version3) {
643579
643583
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
643580
643584
  }
643581
- function useUpdateNotification(updatedVersion, initialVersion = "1.3.450") {
643585
+ function useUpdateNotification(updatedVersion, initialVersion = "1.3.461") {
643582
643586
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
643583
643587
  if (!updatedVersion) {
643584
643588
  return null;
@@ -643618,7 +643622,7 @@ function AutoUpdater({
643618
643622
  return;
643619
643623
  }
643620
643624
  if (false) {}
643621
- const currentVersion = "1.3.450";
643625
+ const currentVersion = "1.3.461";
643622
643626
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
643623
643627
  let latestVersion = await getLatestVersion(channel2);
643624
643628
  const isDisabled = isAutoUpdaterDisabled();
@@ -643831,12 +643835,12 @@ function NativeAutoUpdater({
643831
643835
  logEvent("tengu_native_auto_updater_start", {});
643832
643836
  try {
643833
643837
  const maxVersion = await getMaxVersion();
643834
- if (maxVersion && gt("1.3.450", maxVersion)) {
643838
+ if (maxVersion && gt("1.3.461", maxVersion)) {
643835
643839
  const msg = await getMaxVersionMessage();
643836
643840
  setMaxVersionIssue(msg ?? "affects your version");
643837
643841
  }
643838
643842
  const result = await installLatest(channel2);
643839
- const currentVersion = "1.3.450";
643843
+ const currentVersion = "1.3.461";
643840
643844
  const latencyMs = Date.now() - startTime2;
643841
643845
  if (result.lockFailed) {
643842
643846
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -643973,17 +643977,17 @@ function PackageManagerAutoUpdater(t0) {
643973
643977
  const maxVersion = await getMaxVersion();
643974
643978
  if (maxVersion && latest && gt(latest, maxVersion)) {
643975
643979
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
643976
- if (gte("1.3.450", maxVersion)) {
643977
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.450"} is already at or above maxVersion ${maxVersion}, skipping update`);
643980
+ if (gte("1.3.461", maxVersion)) {
643981
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.461"} is already at or above maxVersion ${maxVersion}, skipping update`);
643978
643982
  setUpdateAvailable(false);
643979
643983
  return;
643980
643984
  }
643981
643985
  latest = maxVersion;
643982
643986
  }
643983
- const hasUpdate = latest && !gte("1.3.450", latest) && !shouldSkipVersion(latest);
643987
+ const hasUpdate = latest && !gte("1.3.461", latest) && !shouldSkipVersion(latest);
643984
643988
  setUpdateAvailable(!!hasUpdate);
643985
643989
  if (hasUpdate) {
643986
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.450"} -> ${latest}`);
643990
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.461"} -> ${latest}`);
643987
643991
  }
643988
643992
  };
643989
643993
  $3[0] = t1;
@@ -644017,7 +644021,7 @@ function PackageManagerAutoUpdater(t0) {
644017
644021
  wrap: "truncate",
644018
644022
  children: [
644019
644023
  "currentVersion: ",
644020
- "1.3.450"
644024
+ "1.3.461"
644021
644025
  ]
644022
644026
  });
644023
644027
  $3[3] = verbose;
@@ -652182,7 +652186,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
652182
652186
  project_dir: getOriginalCwd(),
652183
652187
  added_dirs: addedDirs
652184
652188
  },
652185
- version: "1.3.450",
652189
+ version: "1.3.461",
652186
652190
  output_style: {
652187
652191
  name: outputStyleName
652188
652192
  },
@@ -663680,7 +663684,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
663680
663684
  } catch {}
663681
663685
  const data = {
663682
663686
  trigger,
663683
- version: "1.3.450",
663687
+ version: "1.3.461",
663684
663688
  platform: process.platform,
663685
663689
  transcript,
663686
663690
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -675867,7 +675871,7 @@ function WelcomeV2() {
675867
675871
  dimColor: true,
675868
675872
  children: [
675869
675873
  "v",
675870
- "1.3.450"
675874
+ "1.3.461"
675871
675875
  ]
675872
675876
  })
675873
675877
  ]
@@ -677601,7 +677605,7 @@ function completeOnboarding() {
677601
677605
  saveGlobalConfig((current) => ({
677602
677606
  ...current,
677603
677607
  hasCompletedOnboarding: true,
677604
- lastOnboardingVersion: "1.3.450"
677608
+ lastOnboardingVersion: "1.3.461"
677605
677609
  }));
677606
677610
  }
677607
677611
  function showDialog(root2, renderer) {
@@ -682551,7 +682555,7 @@ function appendToLog(path30, message) {
682551
682555
  cwd: getFsImplementation().cwd(),
682552
682556
  userType: "external",
682553
682557
  sessionId: getSessionId(),
682554
- version: "1.3.450"
682558
+ version: "1.3.461"
682555
682559
  };
682556
682560
  getLogWriter(path30).write(messageWithTimestamp);
682557
682561
  }
@@ -686659,8 +686663,8 @@ async function getEnvLessBridgeConfig() {
686659
686663
  }
686660
686664
  async function checkEnvLessBridgeMinVersion() {
686661
686665
  const cfg = await getEnvLessBridgeConfig();
686662
- if (cfg.min_version && lt("1.3.450", cfg.min_version)) {
686663
- return `Your version of RAYU (${"1.3.450"}) is too old for Remote Control.
686666
+ if (cfg.min_version && lt("1.3.461", cfg.min_version)) {
686667
+ return `Your version of RAYU (${"1.3.461"}) is too old for Remote Control.
686664
686668
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
686665
686669
  }
686666
686670
  return null;
@@ -687134,7 +687138,7 @@ async function initBridgeCore(params) {
687134
687138
  const rawApi = createBridgeApiClient({
687135
687139
  baseUrl,
687136
687140
  getAccessToken,
687137
- runnerVersion: "1.3.450",
687141
+ runnerVersion: "1.3.461",
687138
687142
  onDebug: logForDebugging,
687139
687143
  onAuth401,
687140
687144
  getTrustedDeviceToken
@@ -692496,7 +692500,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
692496
692500
  setCwd(cwd3);
692497
692501
  const server = new Server({
692498
692502
  name: "claude/tengu",
692499
- version: "1.3.450"
692503
+ version: "1.3.461"
692500
692504
  }, {
692501
692505
  capabilities: {
692502
692506
  tools: {}
@@ -695022,7 +695026,7 @@ ${customInstructions}` : customInstructions;
695022
695026
  }
695023
695027
  }
695024
695028
  logForDiagnosticsNoPII("info", "started", {
695025
- version: "1.3.450",
695029
+ version: "1.3.461",
695026
695030
  is_native_binary: isInBundledMode()
695027
695031
  });
695028
695032
  registerCleanup(async () => {
@@ -695741,7 +695745,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
695741
695745
  pendingHookMessages
695742
695746
  }, renderAndRun);
695743
695747
  }
695744
- }).version("1.3.450 (Rayu-CLI)", "-v, --version", "Output the version number");
695748
+ }).version("1.3.461 (Rayu-CLI)", "-v, --version", "Output the version number");
695745
695749
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
695746
695750
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
695747
695751
  if (canUserConfigureAdvisor()) {
@@ -696203,7 +696207,7 @@ if (false) {}
696203
696207
  async function main2() {
696204
696208
  const args = process.argv.slice(2);
696205
696209
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
696206
- console.log(`${"1.3.450"} (Rayu-CLI)`);
696210
+ console.log(`${"1.3.461"} (Rayu-CLI)`);
696207
696211
  return;
696208
696212
  }
696209
696213
  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.3.450",
3
+ "version": "1.3.461",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {