@rayu-dev/rayu-cli 1.4.468 → 1.4.469

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 +98 -83
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -40800,10 +40800,20 @@ function envMultiKeyProviderIds() {
40800
40800
  return [];
40801
40801
  return raw.split(/[\s,]+/).map((s2) => s2.trim()).filter(Boolean);
40802
40802
  }
40803
+ function providerKindForId(providerId) {
40804
+ const configured = loadRayuConfig().providers.find((p) => p.id === providerId);
40805
+ if (configured)
40806
+ return configured.kind;
40807
+ return PROVIDER_PRESETS.find((p) => p.id === providerId)?.kind;
40808
+ }
40803
40809
  function supportsMultiApiKey(providerId) {
40804
40810
  if (!providerId)
40805
40811
  return false;
40806
- return MULTI_KEY_PROVIDER_IDS.has(providerId) || envMultiKeyProviderIds().includes(providerId);
40812
+ const listed = MULTI_KEY_PROVIDER_IDS.has(providerId) || envMultiKeyProviderIds().includes(providerId);
40813
+ if (!listed)
40814
+ return false;
40815
+ const kind = providerKindForId(providerId);
40816
+ return kind !== undefined && MULTI_KEY_PROVIDER_KINDS.has(kind);
40807
40817
  }
40808
40818
  function migrateEnvKeysToConfig() {
40809
40819
  loadDotEnv();
@@ -40894,7 +40904,7 @@ function getActiveProviderDisplayName() {
40894
40904
  const p = getActiveProvider();
40895
40905
  return p ? providerDisplayName(p) : undefined;
40896
40906
  }
40897
- var DEFAULT_BEDROCK_REGION = "us-east-1", BEDROCK_REGIONS, GEMINI_VERTEX_PROVIDER_ID = "gemini-vertex", DEFAULT_VERTEX_REGION = "global", VERTEX_REGIONS, OLLAMA_DEFAULT_BASE_URL = "http://localhost:11434/v1", RAYU_HOSTED_PROVIDER_ID = "rayu-hosted", RAYU_HOSTED_PROVIDER_LABEL = "Rayu (hosted)", MULTI_KEY_PROVIDER_IDS, PROVIDER_PRESETS, PROVIDER_DISPLAY_NAMES;
40907
+ var DEFAULT_BEDROCK_REGION = "us-east-1", BEDROCK_REGIONS, GEMINI_VERTEX_PROVIDER_ID = "gemini-vertex", DEFAULT_VERTEX_REGION = "global", VERTEX_REGIONS, OLLAMA_DEFAULT_BASE_URL = "http://localhost:11434/v1", RAYU_HOSTED_PROVIDER_ID = "rayu-hosted", RAYU_HOSTED_PROVIDER_LABEL = "Rayu (hosted)", MULTI_KEY_PROVIDER_IDS, MULTI_KEY_PROVIDER_KINDS, PROVIDER_PRESETS, PROVIDER_DISPLAY_NAMES;
40898
40908
  var init_rayuProviders = __esm(() => {
40899
40909
  init_rayuConfig();
40900
40910
  init_envUtils();
@@ -40926,6 +40936,10 @@ var init_rayuProviders = __esm(() => {
40926
40936
  "openrouter",
40927
40937
  "ollama-cloud"
40928
40938
  ]);
40939
+ MULTI_KEY_PROVIDER_KINDS = new Set([
40940
+ "openai-compatible",
40941
+ "anthropic-compatible"
40942
+ ]);
40929
40943
  PROVIDER_PRESETS = [
40930
40944
  {
40931
40945
  id: "anthropic",
@@ -42046,6 +42060,7 @@ var init_rayuConfig = __esm(() => {
42046
42060
  [/kimi[-_.]?k2[-_.]?(thinking|\d{4}|[5-9])/i, 256000],
42047
42061
  [/kimi[-_.\s]?cod(e|ing)|kimi[-_.]?k?2[.\-_]?7/i, 256000],
42048
42062
  [/kimi|moonshot/i, 131072],
42063
+ [/qwen[-.]?3\.5/i, 256000],
42049
42064
  [/qwen[-.]?3[-.]?(coder|next)/i, 256000],
42050
42065
  [/jamba/i, 256000],
42051
42066
  [/step[-_.]?3\.7/i, 256000],
@@ -148964,7 +148979,7 @@ var init_isEqual = __esm(() => {
148964
148979
 
148965
148980
  // src/utils/userAgent.ts
148966
148981
  function getRayuUserAgent() {
148967
- return `rayu/${"1.4.468"}`;
148982
+ return `rayu/${"1.4.469"}`;
148968
148983
  }
148969
148984
  var getClaudeCodeUserAgent;
148970
148985
  var init_userAgent = __esm(() => {
@@ -148990,7 +149005,7 @@ function getUserAgent() {
148990
149005
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
148991
149006
  const workload = getWorkload();
148992
149007
  const workloadSuffix = workload ? `, workload/${workload}` : "";
148993
- return `rayu/${"1.4.468"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149008
+ return `rayu/${"1.4.469"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148994
149009
  }
148995
149010
  function getMCPUserAgent() {
148996
149011
  const parts = [];
@@ -149004,7 +149019,7 @@ function getMCPUserAgent() {
149004
149019
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
149005
149020
  }
149006
149021
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
149007
- return `rayu/${"1.4.468"}${suffix}`;
149022
+ return `rayu/${"1.4.469"}${suffix}`;
149008
149023
  }
149009
149024
  function getWebFetchUserAgent() {
149010
149025
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -205319,7 +205334,7 @@ function getAttributionHeader(fingerprint) {
205319
205334
  if (!isAttributionHeaderEnabled()) {
205320
205335
  return "";
205321
205336
  }
205322
- const version2 = `${"1.4.468"}.${fingerprint}`;
205337
+ const version2 = `${"1.4.469"}.${fingerprint}`;
205323
205338
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
205324
205339
  const cch = "";
205325
205340
  const workload = getWorkload();
@@ -259288,7 +259303,7 @@ var init_metadata = __esm(() => {
259288
259303
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
259289
259304
  WHITESPACE_REGEX = /\s+/;
259290
259305
  getVersionBase = memoize_default(() => {
259291
- const match = "1.4.468".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
259306
+ const match = "1.4.469".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
259292
259307
  return match ? match[0] : undefined;
259293
259308
  });
259294
259309
  buildEnvContext = memoize_default(async () => {
@@ -259327,7 +259342,7 @@ var init_metadata = __esm(() => {
259327
259342
  },
259328
259343
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
259329
259344
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
259330
- version: "1.4.468",
259345
+ version: "1.4.469",
259331
259346
  versionBase: getVersionBase(),
259332
259347
  buildTime: "",
259333
259348
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
@@ -291341,7 +291356,7 @@ function getTelemetryAttributes() {
291341
291356
  attributes["session.id"] = sessionId;
291342
291357
  }
291343
291358
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
291344
- attributes["app.version"] = "1.4.468";
291359
+ attributes["app.version"] = "1.4.469";
291345
291360
  }
291346
291361
  const oauthAccount = getOauthAccountInfo();
291347
291362
  if (oauthAccount) {
@@ -401698,7 +401713,7 @@ function getInstallationEnv() {
401698
401713
  return;
401699
401714
  }
401700
401715
  function getClaudeCodeVersion() {
401701
- return "1.4.468";
401716
+ return "1.4.469";
401702
401717
  }
401703
401718
  async function getInstalledVSCodeExtensionVersion(command) {
401704
401719
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -406936,7 +406951,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
406936
406951
  const client3 = new Client({
406937
406952
  name: "claude-code",
406938
406953
  title: "RAYU",
406939
- version: "1.4.468",
406954
+ version: "1.4.469",
406940
406955
  description: "Anthropic's agentic coding tool",
406941
406956
  websiteUrl: PRODUCT_URL
406942
406957
  }, {
@@ -407253,7 +407268,7 @@ var init_client7 = __esm(() => {
407253
407268
  const client3 = new Client({
407254
407269
  name: "claude-code",
407255
407270
  title: "RAYU",
407256
- version: "1.4.468",
407271
+ version: "1.4.469",
407257
407272
  description: "Anthropic's agentic coding tool",
407258
407273
  websiteUrl: PRODUCT_URL
407259
407274
  }, {
@@ -422072,7 +422087,7 @@ function computeFingerprint(messageText, version2) {
422072
422087
  }
422073
422088
  function computeFingerprintFromMessages(messages) {
422074
422089
  const firstMessageText = extractFirstMessageText(messages);
422075
- return computeFingerprint(firstMessageText, "1.4.468");
422090
+ return computeFingerprint(firstMessageText, "1.4.469");
422076
422091
  }
422077
422092
  var FINGERPRINT_SALT = "59cf53e54c78";
422078
422093
  var init_fingerprint = () => {};
@@ -422114,7 +422129,7 @@ async function sideQuery(opts) {
422114
422129
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
422115
422130
  }
422116
422131
  const messageText = extractFirstUserMessageText(messages);
422117
- const fingerprint = computeFingerprint(messageText, "1.4.468");
422132
+ const fingerprint = computeFingerprint(messageText, "1.4.469");
422118
422133
  const attributionHeader = getAttributionHeader(fingerprint);
422119
422134
  const systemBlocks = [
422120
422135
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -521450,9 +521465,9 @@ async function assertMinVersion() {
521450
521465
  if (false) {}
521451
521466
  try {
521452
521467
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
521453
- if (versionConfig.minVersion && lt("1.4.468", versionConfig.minVersion)) {
521468
+ if (versionConfig.minVersion && lt("1.4.469", versionConfig.minVersion)) {
521454
521469
  console.error(`
521455
- It looks like your version of RAYU (${"1.4.468"}) needs an update.
521470
+ It looks like your version of RAYU (${"1.4.469"}) needs an update.
521456
521471
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
521457
521472
 
521458
521473
  To update, please run:
@@ -521678,7 +521693,7 @@ async function installGlobalPackage(specificVersion) {
521678
521693
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
521679
521694
  logEvent("tengu_auto_updater_lock_contention", {
521680
521695
  pid: process.pid,
521681
- currentVersion: "1.4.468"
521696
+ currentVersion: "1.4.469"
521682
521697
  });
521683
521698
  return "in_progress";
521684
521699
  }
@@ -521687,7 +521702,7 @@ async function installGlobalPackage(specificVersion) {
521687
521702
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
521688
521703
  logError2(new Error("Windows NPM detected in WSL environment"));
521689
521704
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
521690
- currentVersion: "1.4.468"
521705
+ currentVersion: "1.4.469"
521691
521706
  });
521692
521707
  console.error(`
521693
521708
  Error: Windows NPM detected in WSL
@@ -522218,7 +522233,7 @@ function detectLinuxGlobPatternWarnings() {
522218
522233
  }
522219
522234
  async function getDoctorDiagnostic() {
522220
522235
  const installationType = await getCurrentInstallationType();
522221
- const version2 = typeof MACRO !== "undefined" ? "1.4.468" : "unknown";
522236
+ const version2 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
522222
522237
  const installationPath = await getInstallationPath();
522223
522238
  const invokedBinary = getInvokedBinary();
522224
522239
  const multipleInstallations = await detectMultipleInstallations();
@@ -523012,8 +523027,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523012
523027
  const maxVersion = await getMaxVersion();
523013
523028
  if (maxVersion && gt(version2, maxVersion)) {
523014
523029
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
523015
- if (gte("1.4.468", maxVersion)) {
523016
- logForDebugging(`Native installer: current version ${"1.4.468"} is already at or above maxVersion ${maxVersion}, skipping update`);
523030
+ if (gte("1.4.469", maxVersion)) {
523031
+ logForDebugging(`Native installer: current version ${"1.4.469"} is already at or above maxVersion ${maxVersion}, skipping update`);
523017
523032
  logEvent("tengu_native_update_skipped_max_version", {
523018
523033
  latency_ms: Date.now() - startTime2,
523019
523034
  max_version: maxVersion,
@@ -523024,7 +523039,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523024
523039
  version2 = maxVersion;
523025
523040
  }
523026
523041
  }
523027
- if (!forceReinstall && version2 === "1.4.468" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523042
+ if (!forceReinstall && version2 === "1.4.469" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523028
523043
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
523029
523044
  logEvent("tengu_native_update_complete", {
523030
523045
  latency_ms: Date.now() - startTime2,
@@ -524220,7 +524235,7 @@ function buildPrimarySection() {
524220
524235
  });
524221
524236
  return [{
524222
524237
  label: "Version",
524223
- value: "1.4.468"
524238
+ value: "1.4.469"
524224
524239
  }, {
524225
524240
  label: "Session name",
524226
524241
  value: nameValue
@@ -527891,7 +527906,7 @@ function Config({
527891
527906
  }
527892
527907
  })
527893
527908
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
527894
- currentVersion: "1.4.468",
527909
+ currentVersion: "1.4.469",
527895
527910
  onChoice: (choice) => {
527896
527911
  setShowSubmenu(null);
527897
527912
  setTabsHidden(false);
@@ -527903,7 +527918,7 @@ function Config({
527903
527918
  autoUpdatesChannel: "stable"
527904
527919
  };
527905
527920
  if (choice === "stay") {
527906
- newSettings.minimumVersion = "1.4.468";
527921
+ newSettings.minimumVersion = "1.4.469";
527907
527922
  }
527908
527923
  updateSettingsForSource("userSettings", newSettings);
527909
527924
  setSettingsData((prev_27) => ({
@@ -535963,7 +535978,7 @@ function HelpV2(t0) {
535963
535978
  let t6;
535964
535979
  if ($3[31] !== tabs) {
535965
535980
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
535966
- title: `Rayu-CLI v${"1.4.468"}`,
535981
+ title: `Rayu-CLI v${"1.4.469"}`,
535967
535982
  color: "professionalBlue",
535968
535983
  defaultTab: "general",
535969
535984
  children: tabs
@@ -556046,7 +556061,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
556046
556061
  }
556047
556062
  return [];
556048
556063
  }
556049
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.468") {
556064
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.469") {
556050
556065
  if (false) {}
556051
556066
  const cachedChangelog = await getStoredChangelog();
556052
556067
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -556059,7 +556074,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.468")
556059
556074
  releaseNotes
556060
556075
  };
556061
556076
  }
556062
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.468") {
556077
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.469") {
556063
556078
  if (false) {}
556064
556079
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
556065
556080
  return {
@@ -556187,7 +556202,7 @@ function getRecentActivitySync() {
556187
556202
  return cachedActivity;
556188
556203
  }
556189
556204
  function getLogoDisplayData() {
556190
- const version2 = process.env.DEMO_VERSION ?? "1.4.468";
556205
+ const version2 = process.env.DEMO_VERSION ?? "1.4.469";
556191
556206
  const serverUrl = getDirectConnectServerUrl();
556192
556207
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
556193
556208
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -556265,12 +556280,12 @@ var RAYU_BANNER_CLAWD, RAYU_BANNER_WELCOME, BANNERS, ACTIVE_BANNER_ID = "rayu";
556265
556280
  var init_bannerConfig = __esm(() => {
556266
556281
  RAYU_BANNER_CLAWD = {
556267
556282
  lines: [
556268
- ["██████╗ █████╗ ██╗ ██╗██╗ ██╗", "#7cffb2"],
556283
+ ["██████╗ █████╗ ██╗ ██╗██╗ ██╗", "#c109ef"],
556269
556284
  ["██╔══██╗██╔══██╗╚██╗ ██╔╝██║ ██║", "#5bf58d"],
556270
- ["██████╔╝███████║ ╚████╔╝ ██║ ██║", "#3de877"],
556271
- ["██╔══██╗██╔══██║ ╚██╔╝ ██║ ██║", "#22c96a"],
556272
- ["██║ ██║██║ ██║ ██║ ╚██████╔╝", "#149b52"],
556273
- ["╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ", "#0e7a40"]
556285
+ ["██████╔╝███████║ ╚████╔╝ ██║ ██║", "#e8df3d"],
556286
+ ["██╔══██╗██╔══██║ ╚██╔╝ ██║ ██║", "#2257c9"],
556287
+ ["██║ ██║██║ ██║ ██║ ╚██████╔╝", "#43149b"],
556288
+ ["╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ", "#db5e71"]
556274
556289
  ]
556275
556290
  };
556276
556291
  RAYU_BANNER_WELCOME = {
@@ -557351,7 +557366,7 @@ function LogoV2() {
557351
557366
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
557352
557367
  t2 = () => {
557353
557368
  const currentConfig = getGlobalConfig();
557354
- if (currentConfig.lastReleaseNotesSeen === "1.4.468") {
557369
+ if (currentConfig.lastReleaseNotesSeen === "1.4.469") {
557355
557370
  return;
557356
557371
  }
557357
557372
  saveGlobalConfig(_temp327);
@@ -557829,7 +557844,7 @@ function LogoV2() {
557829
557844
  t24 = $3[61];
557830
557845
  }
557831
557846
  const _latestNpm = getCachedLatestNpmVersionSync();
557832
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.468") ? [createUpdateAvailableFeed("1.4.468", _latestNpm)] : [];
557847
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.469") ? [createUpdateAvailableFeed("1.4.469", _latestNpm)] : [];
557833
557848
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
557834
557849
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
557835
557850
  maxWidth: rightWidth
@@ -558029,12 +558044,12 @@ function LogoV2() {
558029
558044
  return t41;
558030
558045
  }
558031
558046
  function _temp327(current) {
558032
- if (current.lastReleaseNotesSeen === "1.4.468") {
558047
+ if (current.lastReleaseNotesSeen === "1.4.469") {
558033
558048
  return current;
558034
558049
  }
558035
558050
  return {
558036
558051
  ...current,
558037
- lastReleaseNotesSeen: "1.4.468"
558052
+ lastReleaseNotesSeen: "1.4.469"
558038
558053
  };
558039
558054
  }
558040
558055
  function _temp241(s_0) {
@@ -583032,7 +583047,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
583032
583047
  smapsRollup,
583033
583048
  platform: process.platform,
583034
583049
  nodeVersion: process.version,
583035
- ccVersion: "1.4.468"
583050
+ ccVersion: "1.4.469"
583036
583051
  };
583037
583052
  }
583038
583053
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -583554,7 +583569,7 @@ var init_bridge_kick = __esm(() => {
583554
583569
  var call50 = async () => {
583555
583570
  return {
583556
583571
  type: "text",
583557
- value: "1.4.468"
583572
+ value: "1.4.469"
583558
583573
  };
583559
583574
  }, version2, version_default;
583560
583575
  var init_version = __esm(() => {
@@ -593812,7 +593827,7 @@ function generateHtmlReport(data, insights) {
593812
593827
  </html>`;
593813
593828
  }
593814
593829
  function buildExportData(data, insights, facets, remoteStats) {
593815
- const version3 = typeof MACRO !== "undefined" ? "1.4.468" : "unknown";
593830
+ const version3 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
593816
593831
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
593817
593832
  const facets_summary = {
593818
593833
  total: facets.size,
@@ -597722,7 +597737,7 @@ var init_sessionStorage = __esm(() => {
597722
597737
  init_settings2();
597723
597738
  init_slowOperations();
597724
597739
  init_uuid();
597725
- VERSION6 = typeof MACRO !== "undefined" ? "1.4.468" : "unknown";
597740
+ VERSION6 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
597726
597741
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
597727
597742
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
597728
597743
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -598940,7 +598955,7 @@ var init_filesystem = __esm(() => {
598940
598955
  });
598941
598956
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
598942
598957
  const nonce = randomBytes19(16).toString("hex");
598943
- return join153(getClaudeTempDir(), "bundled-skills", "1.4.468", nonce);
598958
+ return join153(getClaudeTempDir(), "bundled-skills", "1.4.469", nonce);
598944
598959
  });
598945
598960
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
598946
598961
  });
@@ -604110,7 +604125,7 @@ __export(exports_update, {
604110
604125
  update: () => update
604111
604126
  });
604112
604127
  async function update() {
604113
- writeToStdout(`Current version: ${"1.4.468"}
604128
+ writeToStdout(`Current version: ${"1.4.469"}
604114
604129
  `);
604115
604130
  const isBundled = isInBundledMode();
604116
604131
  if (isBundled) {
@@ -604141,13 +604156,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
604141
604156
  process.exit(1);
604142
604157
  return;
604143
604158
  }
604144
- if (latestVersion === "1.4.468") {
604159
+ if (latestVersion === "1.4.469") {
604145
604160
  writeToStdout(source_default.green(`
604146
- Rayu CLI is up to date (${"1.4.468"})
604161
+ Rayu CLI is up to date (${"1.4.469"})
604147
604162
  `));
604148
604163
  process.exit(0);
604149
604164
  }
604150
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.468"})
604165
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.469"})
604151
604166
  `);
604152
604167
  writeToStdout(`Installing update...
604153
604168
 
@@ -604214,14 +604229,14 @@ async function updateNativeBinary() {
604214
604229
  } catch {
604215
604230
  latestVersion = "";
604216
604231
  }
604217
- if (latestVersion && latestVersion === "1.4.468") {
604232
+ if (latestVersion && latestVersion === "1.4.469") {
604218
604233
  writeToStdout(source_default.green(`
604219
- Rayu CLI is up to date (1.4.468)
604234
+ Rayu CLI is up to date (1.4.469)
604220
604235
  `));
604221
604236
  process.exit(0);
604222
604237
  }
604223
604238
  if (latestVersion) {
604224
- writeToStdout(`New version available: ${latestVersion} (current: 1.4.468)
604239
+ writeToStdout(`New version available: ${latestVersion} (current: 1.4.469)
604225
604240
  `);
604226
604241
  }
604227
604242
  writeToStdout(`Downloading and installing update...
@@ -604236,13 +604251,13 @@ Rayu CLI is up to date (1.4.468)
604236
604251
  return;
604237
604252
  }
604238
604253
  writeToStdout(source_default.green(`
604239
- Rayu CLI is up to date (1.4.468)
604254
+ Rayu CLI is up to date (1.4.469)
604240
604255
  `));
604241
604256
  process.exit(0);
604242
604257
  }
604243
604258
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
604244
604259
  writeToStdout(source_default.green(`
604245
- Successfully updated from 1.4.468 to ${updatedTo}
604260
+ Successfully updated from 1.4.469 to ${updatedTo}
604246
604261
  `));
604247
604262
  writeToStdout(`Restart your terminal to use the new version.
604248
604263
  `);
@@ -604307,7 +604322,7 @@ async function removeDataDir(dir) {
604307
604322
  async function uninstall(args = []) {
604308
604323
  const yes = args.includes("--yes") || args.includes("-y");
604309
604324
  const keepData = args.includes("--keep-data");
604310
- writeToStdout(`Uninstalling Rayu CLI (${"1.4.468"})...
604325
+ writeToStdout(`Uninstalling Rayu CLI (${"1.4.469"})...
604311
604326
  `);
604312
604327
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
604313
604328
 
@@ -604341,7 +604356,7 @@ This looks like a permissions error on npm's global install
604341
604356
  return;
604342
604357
  }
604343
604358
  writeToStdout(source_default.green(`
604344
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.468"}
604359
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.469"}
604345
604360
  `));
604346
604361
  const configDir = getRayuConfigHomeDir();
604347
604362
  const dataExists = existsSync28(configDir);
@@ -604424,7 +604439,7 @@ function showFirstRunWelcome() {
604424
604439
  `);
604425
604440
  try {
604426
604441
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
604427
- writeFileSync18(markerPath(), "1.4.468", "utf8");
604442
+ writeFileSync18(markerPath(), "1.4.469", "utf8");
604428
604443
  } catch {}
604429
604444
  }
604430
604445
  var init_firstRun = __esm(() => {
@@ -620610,7 +620625,7 @@ async function initializeBetaTracing(resource) {
620610
620625
  });
620611
620626
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620612
620627
  setLoggerProvider(loggerProvider);
620613
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.468");
620628
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.469");
620614
620629
  setEventLogger(eventLogger);
620615
620630
  process.on("beforeExit", async () => {
620616
620631
  await loggerProvider?.forceFlush();
@@ -620650,7 +620665,7 @@ async function initializeTelemetry() {
620650
620665
  const platform4 = getPlatform();
620651
620666
  const baseAttributes = {
620652
620667
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
620653
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.468"
620668
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.469"
620654
620669
  };
620655
620670
  if (platform4 === "wsl") {
620656
620671
  const wslVersion = getWslVersion();
@@ -620695,7 +620710,7 @@ async function initializeTelemetry() {
620695
620710
  } catch {}
620696
620711
  };
620697
620712
  registerCleanup(shutdownTelemetry2);
620698
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.468");
620713
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.469");
620699
620714
  }
620700
620715
  const meterProvider = new import_sdk_metrics2.MeterProvider({
620701
620716
  resource,
@@ -620715,7 +620730,7 @@ async function initializeTelemetry() {
620715
620730
  });
620716
620731
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620717
620732
  setLoggerProvider(loggerProvider);
620718
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.468");
620733
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.469");
620719
620734
  setEventLogger(eventLogger);
620720
620735
  logForDebugging("[3P telemetry] Event logger set successfully");
620721
620736
  process.on("beforeExit", async () => {
@@ -620777,7 +620792,7 @@ Current timeout: ${timeoutMs}ms
620777
620792
  }
620778
620793
  };
620779
620794
  registerCleanup(shutdownTelemetry);
620780
- return meterProvider.getMeter("com.anthropic.claude_code", "1.4.468");
620795
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.4.469");
620781
620796
  }
620782
620797
  async function flushTelemetry() {
620783
620798
  const meterProvider = getMeterProvider();
@@ -622279,7 +622294,7 @@ function buildSystemInitMessage(inputs) {
622279
622294
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
622280
622295
  apiKeySource: getAnthropicApiKeyWithSource().source,
622281
622296
  betas: getSdkBetas(),
622282
- claude_code_version: "1.4.468",
622297
+ claude_code_version: "1.4.469",
622283
622298
  output_style: outputStyle2,
622284
622299
  agents: inputs.agents.map((agent) => agent.agentType),
622285
622300
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -638610,7 +638625,7 @@ var init_useVoiceEnabled = __esm(() => {
638610
638625
  function getSemverPart(version3) {
638611
638626
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
638612
638627
  }
638613
- function useUpdateNotification(updatedVersion, initialVersion = "1.4.468") {
638628
+ function useUpdateNotification(updatedVersion, initialVersion = "1.4.469") {
638614
638629
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
638615
638630
  if (!updatedVersion) {
638616
638631
  return null;
@@ -638650,7 +638665,7 @@ function AutoUpdater({
638650
638665
  return;
638651
638666
  }
638652
638667
  if (false) {}
638653
- const currentVersion = "1.4.468";
638668
+ const currentVersion = "1.4.469";
638654
638669
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
638655
638670
  let latestVersion = await getLatestVersion(channel2);
638656
638671
  const isDisabled = isAutoUpdaterDisabled();
@@ -638863,12 +638878,12 @@ function NativeAutoUpdater({
638863
638878
  logEvent("tengu_native_auto_updater_start", {});
638864
638879
  try {
638865
638880
  const maxVersion = await getMaxVersion();
638866
- if (maxVersion && gt("1.4.468", maxVersion)) {
638881
+ if (maxVersion && gt("1.4.469", maxVersion)) {
638867
638882
  const msg = await getMaxVersionMessage();
638868
638883
  setMaxVersionIssue(msg ?? "affects your version");
638869
638884
  }
638870
638885
  const result = await installLatest(channel2);
638871
- const currentVersion = "1.4.468";
638886
+ const currentVersion = "1.4.469";
638872
638887
  const latencyMs = Date.now() - startTime2;
638873
638888
  if (result.lockFailed) {
638874
638889
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -639005,17 +639020,17 @@ function PackageManagerAutoUpdater(t0) {
639005
639020
  const maxVersion = await getMaxVersion();
639006
639021
  if (maxVersion && latest && gt(latest, maxVersion)) {
639007
639022
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
639008
- if (gte("1.4.468", maxVersion)) {
639009
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.468"} is already at or above maxVersion ${maxVersion}, skipping update`);
639023
+ if (gte("1.4.469", maxVersion)) {
639024
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.469"} is already at or above maxVersion ${maxVersion}, skipping update`);
639010
639025
  setUpdateAvailable(false);
639011
639026
  return;
639012
639027
  }
639013
639028
  latest = maxVersion;
639014
639029
  }
639015
- const hasUpdate = latest && !gte("1.4.468", latest) && !shouldSkipVersion(latest);
639030
+ const hasUpdate = latest && !gte("1.4.469", latest) && !shouldSkipVersion(latest);
639016
639031
  setUpdateAvailable(!!hasUpdate);
639017
639032
  if (hasUpdate) {
639018
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.468"} -> ${latest}`);
639033
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.469"} -> ${latest}`);
639019
639034
  }
639020
639035
  };
639021
639036
  $3[0] = t1;
@@ -639049,7 +639064,7 @@ function PackageManagerAutoUpdater(t0) {
639049
639064
  wrap: "truncate",
639050
639065
  children: [
639051
639066
  "currentVersion: ",
639052
- "1.4.468"
639067
+ "1.4.469"
639053
639068
  ]
639054
639069
  });
639055
639070
  $3[3] = verbose;
@@ -647213,7 +647228,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
647213
647228
  project_dir: getOriginalCwd(),
647214
647229
  added_dirs: addedDirs
647215
647230
  },
647216
- version: "1.4.468",
647231
+ version: "1.4.469",
647217
647232
  output_style: {
647218
647233
  name: outputStyleName
647219
647234
  },
@@ -649392,7 +649407,7 @@ var init_user = __esm(() => {
649392
649407
  deviceId,
649393
649408
  sessionId: getSessionId(),
649394
649409
  email: getEmail(),
649395
- appVersion: "1.4.468",
649410
+ appVersion: "1.4.469",
649396
649411
  platform: getHostPlatformForAnalytics(),
649397
649412
  organizationUuid,
649398
649413
  accountUuid,
@@ -658831,7 +658846,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
658831
658846
  } catch {}
658832
658847
  const data = {
658833
658848
  trigger,
658834
- version: "1.4.468",
658849
+ version: "1.4.469",
658835
658850
  platform: process.platform,
658836
658851
  transcript,
658837
658852
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -670798,7 +670813,7 @@ function WelcomeV2() {
670798
670813
  dimColor: true,
670799
670814
  children: [
670800
670815
  "v",
670801
- "1.4.468"
670816
+ "1.4.469"
670802
670817
  ]
670803
670818
  })
670804
670819
  ]
@@ -671805,7 +671820,7 @@ function completeOnboarding() {
671805
671820
  saveGlobalConfig((current) => ({
671806
671821
  ...current,
671807
671822
  hasCompletedOnboarding: true,
671808
- lastOnboardingVersion: "1.4.468"
671823
+ lastOnboardingVersion: "1.4.469"
671809
671824
  }));
671810
671825
  }
671811
671826
  function showDialog(root2, renderer) {
@@ -676738,7 +676753,7 @@ function appendToLog(path29, message) {
676738
676753
  cwd: getFsImplementation().cwd(),
676739
676754
  userType: "external",
676740
676755
  sessionId: getSessionId(),
676741
- version: "1.4.468"
676756
+ version: "1.4.469"
676742
676757
  };
676743
676758
  getLogWriter(path29).write(messageWithTimestamp);
676744
676759
  }
@@ -680843,8 +680858,8 @@ async function getEnvLessBridgeConfig() {
680843
680858
  }
680844
680859
  async function checkEnvLessBridgeMinVersion() {
680845
680860
  const cfg = await getEnvLessBridgeConfig();
680846
- if (cfg.min_version && lt("1.4.468", cfg.min_version)) {
680847
- return `Your version of RAYU (${"1.4.468"}) is too old for Remote Control.
680861
+ if (cfg.min_version && lt("1.4.469", cfg.min_version)) {
680862
+ return `Your version of RAYU (${"1.4.469"}) is too old for Remote Control.
680848
680863
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
680849
680864
  }
680850
680865
  return null;
@@ -681317,7 +681332,7 @@ async function initBridgeCore(params) {
681317
681332
  const rawApi = createBridgeApiClient({
681318
681333
  baseUrl,
681319
681334
  getAccessToken,
681320
- runnerVersion: "1.4.468",
681335
+ runnerVersion: "1.4.469",
681321
681336
  onDebug: logForDebugging,
681322
681337
  onAuth401,
681323
681338
  getTrustedDeviceToken
@@ -686672,7 +686687,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
686672
686687
  setCwd(cwd3);
686673
686688
  const server = new Server({
686674
686689
  name: "claude/tengu",
686675
- version: "1.4.468"
686690
+ version: "1.4.469"
686676
686691
  }, {
686677
686692
  capabilities: {
686678
686693
  tools: {}
@@ -689198,7 +689213,7 @@ ${customInstructions}` : customInstructions;
689198
689213
  }
689199
689214
  }
689200
689215
  logForDiagnosticsNoPII("info", "started", {
689201
- version: "1.4.468",
689216
+ version: "1.4.469",
689202
689217
  is_native_binary: isInBundledMode()
689203
689218
  });
689204
689219
  registerCleanup(async () => {
@@ -689917,7 +689932,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
689917
689932
  pendingHookMessages
689918
689933
  }, renderAndRun);
689919
689934
  }
689920
- }).version(`1.4.468 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689935
+ }).version(`1.4.469 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689921
689936
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
689922
689937
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
689923
689938
  if (canUserConfigureAdvisor()) {
@@ -690377,7 +690392,7 @@ if (false) {}
690377
690392
  async function main2() {
690378
690393
  const args = process.argv.slice(2);
690379
690394
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
690380
- console.log(`${"1.4.468"} (Rayu-CLI)`);
690395
+ console.log(`${"1.4.469"} (Rayu-CLI)`);
690381
690396
  return;
690382
690397
  }
690383
690398
  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.4.468",
3
+ "version": "1.4.469",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {