@rayu-dev/rayu-cli 1.3.465 → 1.3.466

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 +83 -82
  2. package/package.json +3 -1
package/dist/rayu.js CHANGED
@@ -36923,6 +36923,7 @@ var init_rayuConfig = __esm(() => {
36923
36923
  [/gemini[-.]?(1\.5|2|2\.5|3)/i, 1048576],
36924
36924
  [/gemini/i, 1048576],
36925
36925
  [/deepseek[-/]?v4[-/]?(flash|pro)/i, 1e6],
36926
+ [/longcat/i, 1e6],
36926
36927
  [/minimax[-_.]?m3/i, 1e6],
36927
36928
  [/glm-5\.2/i, 1e6],
36928
36929
  [/fugu/i, 1e6],
@@ -148430,7 +148431,7 @@ var init_auth = __esm(() => {
148430
148431
 
148431
148432
  // src/utils/userAgent.ts
148432
148433
  function getRayuUserAgent() {
148433
- return `rayu/${"1.3.465"}`;
148434
+ return `rayu/${"1.3.466"}`;
148434
148435
  }
148435
148436
  var getClaudeCodeUserAgent;
148436
148437
  var init_userAgent = __esm(() => {
@@ -148456,7 +148457,7 @@ function getUserAgent() {
148456
148457
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
148457
148458
  const workload = getWorkload();
148458
148459
  const workloadSuffix = workload ? `, workload/${workload}` : "";
148459
- return `rayu/${"1.3.465"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148460
+ return `rayu/${"1.3.466"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148460
148461
  }
148461
148462
  function getMCPUserAgent() {
148462
148463
  const parts = [];
@@ -148470,7 +148471,7 @@ function getMCPUserAgent() {
148470
148471
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
148471
148472
  }
148472
148473
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
148473
- return `rayu/${"1.3.465"}${suffix}`;
148474
+ return `rayu/${"1.3.466"}${suffix}`;
148474
148475
  }
148475
148476
  function getWebFetchUserAgent() {
148476
148477
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -148593,7 +148594,7 @@ var init_user = __esm(() => {
148593
148594
  deviceId,
148594
148595
  sessionId: getSessionId(),
148595
148596
  email: getEmail(),
148596
- appVersion: "1.3.465",
148597
+ appVersion: "1.3.466",
148597
148598
  platform: getHostPlatformForAnalytics(),
148598
148599
  organizationUuid,
148599
148600
  accountUuid,
@@ -184827,7 +184828,7 @@ var init_metadata = __esm(() => {
184827
184828
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
184828
184829
  WHITESPACE_REGEX = /\s+/;
184829
184830
  getVersionBase = memoize_default(() => {
184830
- const match = "1.3.465".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184831
+ const match = "1.3.466".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184831
184832
  return match ? match[0] : undefined;
184832
184833
  });
184833
184834
  buildEnvContext = memoize_default(async () => {
@@ -184866,7 +184867,7 @@ var init_metadata = __esm(() => {
184866
184867
  },
184867
184868
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
184868
184869
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
184869
- version: "1.3.465",
184870
+ version: "1.3.466",
184870
184871
  versionBase: getVersionBase(),
184871
184872
  buildTime: "",
184872
184873
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -185478,7 +185479,7 @@ function initialize1PEventLogging() {
185478
185479
  const platform2 = getPlatform();
185479
185480
  const attributes = {
185480
185481
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
185481
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.465"
185482
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.466"
185482
185483
  };
185483
185484
  if (platform2 === "wsl") {
185484
185485
  const wslVersion = getWslVersion();
@@ -185505,7 +185506,7 @@ function initialize1PEventLogging() {
185505
185506
  })
185506
185507
  ]
185507
185508
  });
185508
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.465");
185509
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.466");
185509
185510
  }
185510
185511
  async function reinitialize1PEventLoggingIfConfigChanged() {
185511
185512
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -217176,7 +217177,7 @@ function getAttributionHeader(fingerprint) {
217176
217177
  if (!isAttributionHeaderEnabled()) {
217177
217178
  return "";
217178
217179
  }
217179
- const version2 = `${"1.3.465"}.${fingerprint}`;
217180
+ const version2 = `${"1.3.466"}.${fingerprint}`;
217180
217181
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
217181
217182
  const cch = "";
217182
217183
  const workload = getWorkload();
@@ -302219,7 +302220,7 @@ function getTelemetryAttributes() {
302219
302220
  attributes["session.id"] = sessionId;
302220
302221
  }
302221
302222
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
302222
- attributes["app.version"] = "1.3.465";
302223
+ attributes["app.version"] = "1.3.466";
302223
302224
  }
302224
302225
  const oauthAccount = getOauthAccountInfo();
302225
302226
  if (oauthAccount) {
@@ -412582,7 +412583,7 @@ function getInstallationEnv() {
412582
412583
  return;
412583
412584
  }
412584
412585
  function getClaudeCodeVersion() {
412585
- return "1.3.465";
412586
+ return "1.3.466";
412586
412587
  }
412587
412588
  async function getInstalledVSCodeExtensionVersion(command) {
412588
412589
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -417820,7 +417821,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
417820
417821
  const client4 = new Client({
417821
417822
  name: "claude-code",
417822
417823
  title: "RAYU",
417823
- version: "1.3.465",
417824
+ version: "1.3.466",
417824
417825
  description: "Anthropic's agentic coding tool",
417825
417826
  websiteUrl: PRODUCT_URL
417826
417827
  }, {
@@ -418137,7 +418138,7 @@ var init_client7 = __esm(() => {
418137
418138
  const client4 = new Client({
418138
418139
  name: "claude-code",
418139
418140
  title: "RAYU",
418140
- version: "1.3.465",
418141
+ version: "1.3.466",
418141
418142
  description: "Anthropic's agentic coding tool",
418142
418143
  websiteUrl: PRODUCT_URL
418143
418144
  }, {
@@ -432958,7 +432959,7 @@ function computeFingerprint(messageText, version2) {
432958
432959
  }
432959
432960
  function computeFingerprintFromMessages(messages) {
432960
432961
  const firstMessageText = extractFirstMessageText(messages);
432961
- return computeFingerprint(firstMessageText, "1.3.465");
432962
+ return computeFingerprint(firstMessageText, "1.3.466");
432962
432963
  }
432963
432964
  var FINGERPRINT_SALT = "59cf53e54c78";
432964
432965
  var init_fingerprint = () => {};
@@ -433000,7 +433001,7 @@ async function sideQuery(opts) {
433000
433001
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
433001
433002
  }
433002
433003
  const messageText = extractFirstUserMessageText(messages);
433003
- const fingerprint = computeFingerprint(messageText, "1.3.465");
433004
+ const fingerprint = computeFingerprint(messageText, "1.3.466");
433004
433005
  const attributionHeader = getAttributionHeader(fingerprint);
433005
433006
  const systemBlocks = [
433006
433007
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -528350,7 +528351,7 @@ function Feedback({
528350
528351
  platform: env4.platform,
528351
528352
  gitRepo: envInfo.isGit,
528352
528353
  terminal: env4.terminal,
528353
- version: "1.3.465",
528354
+ version: "1.3.466",
528354
528355
  transcript: normalizeMessagesForAPI(messages),
528355
528356
  errors: sanitizedErrors,
528356
528357
  lastApiRequest: getLastAPIRequest(),
@@ -528542,7 +528543,7 @@ function Feedback({
528542
528543
  ", ",
528543
528544
  env4.terminal,
528544
528545
  ", v",
528545
- "1.3.465"
528546
+ "1.3.466"
528546
528547
  ]
528547
528548
  })
528548
528549
  ]
@@ -528648,7 +528649,7 @@ ${sanitizedDescription}
528648
528649
  ` + `**Environment Info**
528649
528650
  ` + `- Platform: ${env4.platform}
528650
528651
  ` + `- Terminal: ${env4.terminal}
528651
- ` + `- Version: ${"1.3.465"}
528652
+ ` + `- Version: ${"1.3.466"}
528652
528653
  ` + `- Feedback ID: ${feedbackId}
528653
528654
  ` + `
528654
528655
  **Errors**
@@ -531488,9 +531489,9 @@ async function assertMinVersion() {
531488
531489
  if (false) {}
531489
531490
  try {
531490
531491
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
531491
- if (versionConfig.minVersion && lt("1.3.465", versionConfig.minVersion)) {
531492
+ if (versionConfig.minVersion && lt("1.3.466", versionConfig.minVersion)) {
531492
531493
  console.error(`
531493
- It looks like your version of RAYU (${"1.3.465"}) needs an update.
531494
+ It looks like your version of RAYU (${"1.3.466"}) needs an update.
531494
531495
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
531495
531496
 
531496
531497
  To update, please run:
@@ -531716,7 +531717,7 @@ async function installGlobalPackage(specificVersion) {
531716
531717
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
531717
531718
  logEvent("tengu_auto_updater_lock_contention", {
531718
531719
  pid: process.pid,
531719
- currentVersion: "1.3.465"
531720
+ currentVersion: "1.3.466"
531720
531721
  });
531721
531722
  return "in_progress";
531722
531723
  }
@@ -531725,7 +531726,7 @@ async function installGlobalPackage(specificVersion) {
531725
531726
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
531726
531727
  logError2(new Error("Windows NPM detected in WSL environment"));
531727
531728
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
531728
- currentVersion: "1.3.465"
531729
+ currentVersion: "1.3.466"
531729
531730
  });
531730
531731
  console.error(`
531731
531732
  Error: Windows NPM detected in WSL
@@ -532257,7 +532258,7 @@ function detectLinuxGlobPatternWarnings() {
532257
532258
  }
532258
532259
  async function getDoctorDiagnostic() {
532259
532260
  const installationType = await getCurrentInstallationType();
532260
- const version2 = typeof MACRO !== "undefined" ? "1.3.465" : "unknown";
532261
+ const version2 = typeof MACRO !== "undefined" ? "1.3.466" : "unknown";
532261
532262
  const installationPath = await getInstallationPath();
532262
532263
  const invokedBinary = getInvokedBinary();
532263
532264
  const multipleInstallations = await detectMultipleInstallations();
@@ -533052,8 +533053,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
533052
533053
  const maxVersion = await getMaxVersion();
533053
533054
  if (maxVersion && gt(version2, maxVersion)) {
533054
533055
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
533055
- if (gte("1.3.465", maxVersion)) {
533056
- logForDebugging(`Native installer: current version ${"1.3.465"} is already at or above maxVersion ${maxVersion}, skipping update`);
533056
+ if (gte("1.3.466", maxVersion)) {
533057
+ logForDebugging(`Native installer: current version ${"1.3.466"} is already at or above maxVersion ${maxVersion}, skipping update`);
533057
533058
  logEvent("tengu_native_update_skipped_max_version", {
533058
533059
  latency_ms: Date.now() - startTime2,
533059
533060
  max_version: maxVersion,
@@ -533064,7 +533065,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
533064
533065
  version2 = maxVersion;
533065
533066
  }
533066
533067
  }
533067
- if (!forceReinstall && version2 === "1.3.465" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
533068
+ if (!forceReinstall && version2 === "1.3.466" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
533068
533069
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
533069
533070
  logEvent("tengu_native_update_complete", {
533070
533071
  latency_ms: Date.now() - startTime2,
@@ -534260,7 +534261,7 @@ function buildPrimarySection() {
534260
534261
  });
534261
534262
  return [{
534262
534263
  label: "Version",
534263
- value: "1.3.465"
534264
+ value: "1.3.466"
534264
534265
  }, {
534265
534266
  label: "Session name",
534266
534267
  value: nameValue
@@ -537951,7 +537952,7 @@ function Config({
537951
537952
  }
537952
537953
  })
537953
537954
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime170.jsx(ChannelDowngradeDialog, {
537954
- currentVersion: "1.3.465",
537955
+ currentVersion: "1.3.466",
537955
537956
  onChoice: (choice) => {
537956
537957
  setShowSubmenu(null);
537957
537958
  setTabsHidden(false);
@@ -537963,7 +537964,7 @@ function Config({
537963
537964
  autoUpdatesChannel: "stable"
537964
537965
  };
537965
537966
  if (choice === "stay") {
537966
- newSettings.minimumVersion = "1.3.465";
537967
+ newSettings.minimumVersion = "1.3.466";
537967
537968
  }
537968
537969
  updateSettingsForSource("userSettings", newSettings);
537969
537970
  setSettingsData((prev_27) => ({
@@ -546025,7 +546026,7 @@ function HelpV2(t0) {
546025
546026
  let t6;
546026
546027
  if ($3[31] !== tabs) {
546027
546028
  t6 = /* @__PURE__ */ jsx_runtime197.jsx(Tabs, {
546028
- title: `Rayu-CLI v${"1.3.465"}`,
546029
+ title: `Rayu-CLI v${"1.3.466"}`,
546029
546030
  color: "professionalBlue",
546030
546031
  defaultTab: "general",
546031
546032
  children: tabs
@@ -566110,7 +566111,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
566110
566111
  }
566111
566112
  return [];
566112
566113
  }
566113
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.465") {
566114
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.466") {
566114
566115
  if (false) {}
566115
566116
  const cachedChangelog = await getStoredChangelog();
566116
566117
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -566123,7 +566124,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.465")
566123
566124
  releaseNotes
566124
566125
  };
566125
566126
  }
566126
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.465") {
566127
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.466") {
566127
566128
  if (false) {}
566128
566129
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
566129
566130
  return {
@@ -566251,7 +566252,7 @@ function getRecentActivitySync() {
566251
566252
  return cachedActivity;
566252
566253
  }
566253
566254
  function getLogoDisplayData() {
566254
- const version2 = process.env.DEMO_VERSION ?? "1.3.465";
566255
+ const version2 = process.env.DEMO_VERSION ?? "1.3.466";
566255
566256
  const serverUrl = getDirectConnectServerUrl();
566256
566257
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
566257
566258
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -567498,7 +567499,7 @@ function LogoV2() {
567498
567499
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
567499
567500
  t2 = () => {
567500
567501
  const currentConfig = getGlobalConfig();
567501
- if (currentConfig.lastReleaseNotesSeen === "1.3.465") {
567502
+ if (currentConfig.lastReleaseNotesSeen === "1.3.466") {
567502
567503
  return;
567503
567504
  }
567504
567505
  saveGlobalConfig(_temp327);
@@ -567976,7 +567977,7 @@ function LogoV2() {
567976
567977
  t24 = $3[61];
567977
567978
  }
567978
567979
  const _latestNpm = getCachedLatestNpmVersionSync();
567979
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.465") ? [createUpdateAvailableFeed("1.3.465", _latestNpm)] : [];
567980
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.466") ? [createUpdateAvailableFeed("1.3.466", _latestNpm)] : [];
567980
567981
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime239.jsx(FeedColumn, {
567981
567982
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
567982
567983
  maxWidth: rightWidth
@@ -568176,12 +568177,12 @@ function LogoV2() {
568176
568177
  return t41;
568177
568178
  }
568178
568179
  function _temp327(current) {
568179
- if (current.lastReleaseNotesSeen === "1.3.465") {
568180
+ if (current.lastReleaseNotesSeen === "1.3.466") {
568180
568181
  return current;
568181
568182
  }
568182
568183
  return {
568183
568184
  ...current,
568184
- lastReleaseNotesSeen: "1.3.465"
568185
+ lastReleaseNotesSeen: "1.3.466"
568185
568186
  };
568186
568187
  }
568187
568188
  function _temp241(s_0) {
@@ -593090,7 +593091,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
593090
593091
  smapsRollup,
593091
593092
  platform: process.platform,
593092
593093
  nodeVersion: process.version,
593093
- ccVersion: "1.3.465"
593094
+ ccVersion: "1.3.466"
593094
593095
  };
593095
593096
  }
593096
593097
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -593612,7 +593613,7 @@ var init_bridge_kick = __esm(() => {
593612
593613
  var call49 = async () => {
593613
593614
  return {
593614
593615
  type: "text",
593615
- value: "1.3.465"
593616
+ value: "1.3.466"
593616
593617
  };
593617
593618
  }, version2, version_default;
593618
593619
  var init_version = __esm(() => {
@@ -603806,7 +603807,7 @@ function generateHtmlReport(data, insights) {
603806
603807
  </html>`;
603807
603808
  }
603808
603809
  function buildExportData(data, insights, facets, remoteStats) {
603809
- const version3 = typeof MACRO !== "undefined" ? "1.3.465" : "unknown";
603810
+ const version3 = typeof MACRO !== "undefined" ? "1.3.466" : "unknown";
603810
603811
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
603811
603812
  const facets_summary = {
603812
603813
  total: facets.size,
@@ -607716,7 +607717,7 @@ var init_sessionStorage = __esm(() => {
607716
607717
  init_settings2();
607717
607718
  init_slowOperations();
607718
607719
  init_uuid();
607719
- VERSION6 = typeof MACRO !== "undefined" ? "1.3.465" : "unknown";
607720
+ VERSION6 = typeof MACRO !== "undefined" ? "1.3.466" : "unknown";
607720
607721
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
607721
607722
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
607722
607723
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -608936,7 +608937,7 @@ var init_filesystem = __esm(() => {
608936
608937
  });
608937
608938
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
608938
608939
  const nonce = randomBytes19(16).toString("hex");
608939
- return join154(getClaudeTempDir(), "bundled-skills", "1.3.465", nonce);
608940
+ return join154(getClaudeTempDir(), "bundled-skills", "1.3.466", nonce);
608940
608941
  });
608941
608942
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
608942
608943
  });
@@ -614069,7 +614070,7 @@ function execNpmSync(npmArgs, options) {
614069
614070
  });
614070
614071
  }
614071
614072
  async function update() {
614072
- writeToStdout(`Current version: ${"1.3.465"}
614073
+ writeToStdout(`Current version: ${"1.3.466"}
614073
614074
  `);
614074
614075
  const isBundled = isInBundledMode();
614075
614076
  if (isBundled) {
@@ -614095,13 +614096,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
614095
614096
  process.exit(1);
614096
614097
  return;
614097
614098
  }
614098
- if (latestVersion === "1.3.465") {
614099
+ if (latestVersion === "1.3.466") {
614099
614100
  writeToStdout(source_default.green(`
614100
- Rayu CLI is up to date (${"1.3.465"})
614101
+ Rayu CLI is up to date (${"1.3.466"})
614101
614102
  `));
614102
614103
  process.exit(0);
614103
614104
  }
614104
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.465"})
614105
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.466"})
614105
614106
  `);
614106
614107
  writeToStdout(`Installing update...
614107
614108
 
@@ -614125,7 +614126,7 @@ Try manually:
614125
614126
  return;
614126
614127
  }
614127
614128
  writeToStdout(source_default.green(`
614128
- Successfully updated from ${"1.3.465"} to ${latestVersion}
614129
+ Successfully updated from ${"1.3.466"} to ${latestVersion}
614129
614130
  `));
614130
614131
  process.exit(0);
614131
614132
  }
@@ -614139,14 +614140,14 @@ async function updateNativeBinary() {
614139
614140
  } catch {
614140
614141
  latestVersion = "";
614141
614142
  }
614142
- if (latestVersion && latestVersion === "1.3.465") {
614143
+ if (latestVersion && latestVersion === "1.3.466") {
614143
614144
  writeToStdout(source_default.green(`
614144
- Rayu CLI is up to date (1.3.465)
614145
+ Rayu CLI is up to date (1.3.466)
614145
614146
  `));
614146
614147
  process.exit(0);
614147
614148
  }
614148
614149
  if (latestVersion) {
614149
- writeToStdout(`New version available: ${latestVersion} (current: 1.3.465)
614150
+ writeToStdout(`New version available: ${latestVersion} (current: 1.3.466)
614150
614151
  `);
614151
614152
  }
614152
614153
  writeToStdout(`Downloading and installing update...
@@ -614161,13 +614162,13 @@ Rayu CLI is up to date (1.3.465)
614161
614162
  return;
614162
614163
  }
614163
614164
  writeToStdout(source_default.green(`
614164
- Rayu CLI is up to date (1.3.465)
614165
+ Rayu CLI is up to date (1.3.466)
614165
614166
  `));
614166
614167
  process.exit(0);
614167
614168
  }
614168
614169
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
614169
614170
  writeToStdout(source_default.green(`
614170
- Successfully updated from 1.3.465 to ${updatedTo}
614171
+ Successfully updated from 1.3.466 to ${updatedTo}
614171
614172
  `));
614172
614173
  writeToStdout(`Restart your terminal to use the new version.
614173
614174
  `);
@@ -614248,7 +614249,7 @@ async function removeDataDir(dir) {
614248
614249
  async function uninstall(args = []) {
614249
614250
  const yes = args.includes("--yes") || args.includes("-y");
614250
614251
  const keepData = args.includes("--keep-data");
614251
- writeToStdout(`Uninstalling Rayu CLI (${"1.3.465"})...
614252
+ writeToStdout(`Uninstalling Rayu CLI (${"1.3.466"})...
614252
614253
  `);
614253
614254
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
614254
614255
 
@@ -614272,7 +614273,7 @@ Try running manually:
614272
614273
  return;
614273
614274
  }
614274
614275
  writeToStdout(source_default.green(`
614275
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.465"}
614276
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.466"}
614276
614277
  `));
614277
614278
  const configDir = getRayuConfigHomeDir();
614278
614279
  const dataExists = existsSync28(configDir);
@@ -614356,7 +614357,7 @@ function showFirstRunWelcome() {
614356
614357
  `);
614357
614358
  try {
614358
614359
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
614359
- writeFileSync18(markerPath(), "1.3.465", "utf8");
614360
+ writeFileSync18(markerPath(), "1.3.466", "utf8");
614360
614361
  } catch {}
614361
614362
  }
614362
614363
  var init_firstRun = __esm(() => {
@@ -626199,7 +626200,7 @@ async function initializeBetaTracing(resource) {
626199
626200
  });
626200
626201
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
626201
626202
  setLoggerProvider(loggerProvider);
626202
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.465");
626203
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.466");
626203
626204
  setEventLogger(eventLogger);
626204
626205
  process.on("beforeExit", async () => {
626205
626206
  await loggerProvider?.forceFlush();
@@ -626239,7 +626240,7 @@ async function initializeTelemetry() {
626239
626240
  const platform4 = getPlatform();
626240
626241
  const baseAttributes = {
626241
626242
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
626242
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.465"
626243
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.466"
626243
626244
  };
626244
626245
  if (platform4 === "wsl") {
626245
626246
  const wslVersion = getWslVersion();
@@ -626284,7 +626285,7 @@ async function initializeTelemetry() {
626284
626285
  } catch {}
626285
626286
  };
626286
626287
  registerCleanup(shutdownTelemetry2);
626287
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.465");
626288
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.466");
626288
626289
  }
626289
626290
  const meterProvider = new import_sdk_metrics2.MeterProvider({
626290
626291
  resource,
@@ -626304,7 +626305,7 @@ async function initializeTelemetry() {
626304
626305
  });
626305
626306
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
626306
626307
  setLoggerProvider(loggerProvider);
626307
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.465");
626308
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.466");
626308
626309
  setEventLogger(eventLogger);
626309
626310
  logForDebugging("[3P telemetry] Event logger set successfully");
626310
626311
  process.on("beforeExit", async () => {
@@ -626366,7 +626367,7 @@ Current timeout: ${timeoutMs}ms
626366
626367
  }
626367
626368
  };
626368
626369
  registerCleanup(shutdownTelemetry);
626369
- return meterProvider.getMeter("com.anthropic.claude_code", "1.3.465");
626370
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.3.466");
626370
626371
  }
626371
626372
  async function flushTelemetry() {
626372
626373
  const meterProvider = getMeterProvider();
@@ -627879,7 +627880,7 @@ function buildSystemInitMessage(inputs) {
627879
627880
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
627880
627881
  apiKeySource: getAnthropicApiKeyWithSource().source,
627881
627882
  betas: getSdkBetas(),
627882
- claude_code_version: "1.3.465",
627883
+ claude_code_version: "1.3.466",
627883
627884
  output_style: outputStyle2,
627884
627885
  agents: inputs.agents.map((agent) => agent.agentType),
627885
627886
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -644213,7 +644214,7 @@ var init_useVoiceEnabled = __esm(() => {
644213
644214
  function getSemverPart(version3) {
644214
644215
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
644215
644216
  }
644216
- function useUpdateNotification(updatedVersion, initialVersion = "1.3.465") {
644217
+ function useUpdateNotification(updatedVersion, initialVersion = "1.3.466") {
644217
644218
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react218.useState(() => getSemverPart(initialVersion));
644218
644219
  if (!updatedVersion) {
644219
644220
  return null;
@@ -644253,7 +644254,7 @@ function AutoUpdater({
644253
644254
  return;
644254
644255
  }
644255
644256
  if (false) {}
644256
- const currentVersion = "1.3.465";
644257
+ const currentVersion = "1.3.466";
644257
644258
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
644258
644259
  let latestVersion = await getLatestVersion(channel2);
644259
644260
  const isDisabled = isAutoUpdaterDisabled();
@@ -644466,12 +644467,12 @@ function NativeAutoUpdater({
644466
644467
  logEvent("tengu_native_auto_updater_start", {});
644467
644468
  try {
644468
644469
  const maxVersion = await getMaxVersion();
644469
- if (maxVersion && gt("1.3.465", maxVersion)) {
644470
+ if (maxVersion && gt("1.3.466", maxVersion)) {
644470
644471
  const msg = await getMaxVersionMessage();
644471
644472
  setMaxVersionIssue(msg ?? "affects your version");
644472
644473
  }
644473
644474
  const result = await installLatest(channel2);
644474
- const currentVersion = "1.3.465";
644475
+ const currentVersion = "1.3.466";
644475
644476
  const latencyMs = Date.now() - startTime2;
644476
644477
  if (result.lockFailed) {
644477
644478
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -644608,17 +644609,17 @@ function PackageManagerAutoUpdater(t0) {
644608
644609
  const maxVersion = await getMaxVersion();
644609
644610
  if (maxVersion && latest && gt(latest, maxVersion)) {
644610
644611
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
644611
- if (gte("1.3.465", maxVersion)) {
644612
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.465"} is already at or above maxVersion ${maxVersion}, skipping update`);
644612
+ if (gte("1.3.466", maxVersion)) {
644613
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.466"} is already at or above maxVersion ${maxVersion}, skipping update`);
644613
644614
  setUpdateAvailable(false);
644614
644615
  return;
644615
644616
  }
644616
644617
  latest = maxVersion;
644617
644618
  }
644618
- const hasUpdate = latest && !gte("1.3.465", latest) && !shouldSkipVersion(latest);
644619
+ const hasUpdate = latest && !gte("1.3.466", latest) && !shouldSkipVersion(latest);
644619
644620
  setUpdateAvailable(!!hasUpdate);
644620
644621
  if (hasUpdate) {
644621
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.465"} -> ${latest}`);
644622
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.466"} -> ${latest}`);
644622
644623
  }
644623
644624
  };
644624
644625
  $3[0] = t1;
@@ -644652,7 +644653,7 @@ function PackageManagerAutoUpdater(t0) {
644652
644653
  wrap: "truncate",
644653
644654
  children: [
644654
644655
  "currentVersion: ",
644655
- "1.3.465"
644656
+ "1.3.466"
644656
644657
  ]
644657
644658
  });
644658
644659
  $3[3] = verbose;
@@ -652817,7 +652818,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
652817
652818
  project_dir: getOriginalCwd(),
652818
652819
  added_dirs: addedDirs
652819
652820
  },
652820
- version: "1.3.465",
652821
+ version: "1.3.466",
652821
652822
  output_style: {
652822
652823
  name: outputStyleName
652823
652824
  },
@@ -664315,7 +664316,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
664315
664316
  } catch {}
664316
664317
  const data = {
664317
664318
  trigger,
664318
- version: "1.3.465",
664319
+ version: "1.3.466",
664319
664320
  platform: process.platform,
664320
664321
  transcript,
664321
664322
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -676502,7 +676503,7 @@ function WelcomeV2() {
676502
676503
  dimColor: true,
676503
676504
  children: [
676504
676505
  "v",
676505
- "1.3.465"
676506
+ "1.3.466"
676506
676507
  ]
676507
676508
  })
676508
676509
  ]
@@ -678236,7 +678237,7 @@ function completeOnboarding() {
678236
678237
  saveGlobalConfig((current) => ({
678237
678238
  ...current,
678238
678239
  hasCompletedOnboarding: true,
678239
- lastOnboardingVersion: "1.3.465"
678240
+ lastOnboardingVersion: "1.3.466"
678240
678241
  }));
678241
678242
  }
678242
678243
  function showDialog(root2, renderer) {
@@ -683186,7 +683187,7 @@ function appendToLog(path30, message) {
683186
683187
  cwd: getFsImplementation().cwd(),
683187
683188
  userType: "external",
683188
683189
  sessionId: getSessionId(),
683189
- version: "1.3.465"
683190
+ version: "1.3.466"
683190
683191
  };
683191
683192
  getLogWriter(path30).write(messageWithTimestamp);
683192
683193
  }
@@ -687294,8 +687295,8 @@ async function getEnvLessBridgeConfig() {
687294
687295
  }
687295
687296
  async function checkEnvLessBridgeMinVersion() {
687296
687297
  const cfg = await getEnvLessBridgeConfig();
687297
- if (cfg.min_version && lt("1.3.465", cfg.min_version)) {
687298
- return `Your version of RAYU (${"1.3.465"}) is too old for Remote Control.
687298
+ if (cfg.min_version && lt("1.3.466", cfg.min_version)) {
687299
+ return `Your version of RAYU (${"1.3.466"}) is too old for Remote Control.
687299
687300
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
687300
687301
  }
687301
687302
  return null;
@@ -687769,7 +687770,7 @@ async function initBridgeCore(params) {
687769
687770
  const rawApi = createBridgeApiClient({
687770
687771
  baseUrl,
687771
687772
  getAccessToken,
687772
- runnerVersion: "1.3.465",
687773
+ runnerVersion: "1.3.466",
687773
687774
  onDebug: logForDebugging,
687774
687775
  onAuth401,
687775
687776
  getTrustedDeviceToken
@@ -693131,7 +693132,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
693131
693132
  setCwd(cwd3);
693132
693133
  const server = new Server({
693133
693134
  name: "claude/tengu",
693134
- version: "1.3.465"
693135
+ version: "1.3.466"
693135
693136
  }, {
693136
693137
  capabilities: {
693137
693138
  tools: {}
@@ -695657,7 +695658,7 @@ ${customInstructions}` : customInstructions;
695657
695658
  }
695658
695659
  }
695659
695660
  logForDiagnosticsNoPII("info", "started", {
695660
- version: "1.3.465",
695661
+ version: "1.3.466",
695661
695662
  is_native_binary: isInBundledMode()
695662
695663
  });
695663
695664
  registerCleanup(async () => {
@@ -696376,7 +696377,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
696376
696377
  pendingHookMessages
696377
696378
  }, renderAndRun);
696378
696379
  }
696379
- }).version("1.3.465 (Rayu-CLI)", "-v, --version", "Output the version number");
696380
+ }).version("1.3.466 (Rayu-CLI)", "-v, --version", "Output the version number");
696380
696381
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
696381
696382
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
696382
696383
  if (canUserConfigureAdvisor()) {
@@ -696838,7 +696839,7 @@ if (false) {}
696838
696839
  async function main2() {
696839
696840
  const args = process.argv.slice(2);
696840
696841
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
696841
- console.log(`${"1.3.465"} (Rayu-CLI)`);
696842
+ console.log(`${"1.3.466"} (Rayu-CLI)`);
696842
696843
  return;
696843
696844
  }
696844
696845
  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.465",
3
+ "version": "1.3.466",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,9 @@
17
17
  "preinstall": "node scripts/preinstall.cjs",
18
18
  "postinstall": "node scripts/postinstall.cjs",
19
19
  "dev": "bun run src/entrypoints/cli.tsx",
20
+ "dev:local": "RAYU_API_URL=http://localhost:4000/api RAYU_WEB_URL=http://localhost:3000 RAYU_GATEWAY_URL=http://localhost:8080 bun run src/entrypoints/cli.tsx",
20
21
  "build": "bun run scripts/build.ts",
22
+ "start:local": "RAYU_API_URL=http://localhost:4000/api RAYU_WEB_URL=http://localhost:3000 RAYU_GATEWAY_URL=http://localhost:8080 node dist/rayu.js",
21
23
  "build:binaries": "bun run scripts/build-binaries.ts",
22
24
  "build-native": "bun run scripts/build-native.ts",
23
25
  "build:packages": "bun run scripts/build-packages.ts",