@rayu-dev/rayu-cli 1.4.469 → 1.4.470

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 +90 -88
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -148979,7 +148979,7 @@ var init_isEqual = __esm(() => {
148979
148979
 
148980
148980
  // src/utils/userAgent.ts
148981
148981
  function getRayuUserAgent() {
148982
- return `rayu/${"1.4.469"}`;
148982
+ return `rayu/${"1.4.470"}`;
148983
148983
  }
148984
148984
  var getClaudeCodeUserAgent;
148985
148985
  var init_userAgent = __esm(() => {
@@ -149005,7 +149005,7 @@ function getUserAgent() {
149005
149005
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
149006
149006
  const workload = getWorkload();
149007
149007
  const workloadSuffix = workload ? `, workload/${workload}` : "";
149008
- return `rayu/${"1.4.469"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149008
+ return `rayu/${"1.4.470"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149009
149009
  }
149010
149010
  function getMCPUserAgent() {
149011
149011
  const parts = [];
@@ -149019,7 +149019,7 @@ function getMCPUserAgent() {
149019
149019
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
149020
149020
  }
149021
149021
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
149022
- return `rayu/${"1.4.469"}${suffix}`;
149022
+ return `rayu/${"1.4.470"}${suffix}`;
149023
149023
  }
149024
149024
  function getWebFetchUserAgent() {
149025
149025
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -205334,7 +205334,7 @@ function getAttributionHeader(fingerprint) {
205334
205334
  if (!isAttributionHeaderEnabled()) {
205335
205335
  return "";
205336
205336
  }
205337
- const version2 = `${"1.4.469"}.${fingerprint}`;
205337
+ const version2 = `${"1.4.470"}.${fingerprint}`;
205338
205338
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
205339
205339
  const cch = "";
205340
205340
  const workload = getWorkload();
@@ -259303,7 +259303,7 @@ var init_metadata = __esm(() => {
259303
259303
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
259304
259304
  WHITESPACE_REGEX = /\s+/;
259305
259305
  getVersionBase = memoize_default(() => {
259306
- const match = "1.4.469".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
259306
+ const match = "1.4.470".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
259307
259307
  return match ? match[0] : undefined;
259308
259308
  });
259309
259309
  buildEnvContext = memoize_default(async () => {
@@ -259342,7 +259342,7 @@ var init_metadata = __esm(() => {
259342
259342
  },
259343
259343
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
259344
259344
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
259345
- version: "1.4.469",
259345
+ version: "1.4.470",
259346
259346
  versionBase: getVersionBase(),
259347
259347
  buildTime: "",
259348
259348
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
@@ -291356,7 +291356,7 @@ function getTelemetryAttributes() {
291356
291356
  attributes["session.id"] = sessionId;
291357
291357
  }
291358
291358
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
291359
- attributes["app.version"] = "1.4.469";
291359
+ attributes["app.version"] = "1.4.470";
291360
291360
  }
291361
291361
  const oauthAccount = getOauthAccountInfo();
291362
291362
  if (oauthAccount) {
@@ -401713,7 +401713,7 @@ function getInstallationEnv() {
401713
401713
  return;
401714
401714
  }
401715
401715
  function getClaudeCodeVersion() {
401716
- return "1.4.469";
401716
+ return "1.4.470";
401717
401717
  }
401718
401718
  async function getInstalledVSCodeExtensionVersion(command) {
401719
401719
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -406951,7 +406951,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
406951
406951
  const client3 = new Client({
406952
406952
  name: "claude-code",
406953
406953
  title: "RAYU",
406954
- version: "1.4.469",
406954
+ version: "1.4.470",
406955
406955
  description: "Anthropic's agentic coding tool",
406956
406956
  websiteUrl: PRODUCT_URL
406957
406957
  }, {
@@ -407268,7 +407268,7 @@ var init_client7 = __esm(() => {
407268
407268
  const client3 = new Client({
407269
407269
  name: "claude-code",
407270
407270
  title: "RAYU",
407271
- version: "1.4.469",
407271
+ version: "1.4.470",
407272
407272
  description: "Anthropic's agentic coding tool",
407273
407273
  websiteUrl: PRODUCT_URL
407274
407274
  }, {
@@ -422087,7 +422087,7 @@ function computeFingerprint(messageText, version2) {
422087
422087
  }
422088
422088
  function computeFingerprintFromMessages(messages) {
422089
422089
  const firstMessageText = extractFirstMessageText(messages);
422090
- return computeFingerprint(firstMessageText, "1.4.469");
422090
+ return computeFingerprint(firstMessageText, "1.4.470");
422091
422091
  }
422092
422092
  var FINGERPRINT_SALT = "59cf53e54c78";
422093
422093
  var init_fingerprint = () => {};
@@ -422129,7 +422129,7 @@ async function sideQuery(opts) {
422129
422129
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
422130
422130
  }
422131
422131
  const messageText = extractFirstUserMessageText(messages);
422132
- const fingerprint = computeFingerprint(messageText, "1.4.469");
422132
+ const fingerprint = computeFingerprint(messageText, "1.4.470");
422133
422133
  const attributionHeader = getAttributionHeader(fingerprint);
422134
422134
  const systemBlocks = [
422135
422135
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -521465,9 +521465,9 @@ async function assertMinVersion() {
521465
521465
  if (false) {}
521466
521466
  try {
521467
521467
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
521468
- if (versionConfig.minVersion && lt("1.4.469", versionConfig.minVersion)) {
521468
+ if (versionConfig.minVersion && lt("1.4.470", versionConfig.minVersion)) {
521469
521469
  console.error(`
521470
- It looks like your version of RAYU (${"1.4.469"}) needs an update.
521470
+ It looks like your version of RAYU (${"1.4.470"}) needs an update.
521471
521471
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
521472
521472
 
521473
521473
  To update, please run:
@@ -521693,7 +521693,7 @@ async function installGlobalPackage(specificVersion) {
521693
521693
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
521694
521694
  logEvent("tengu_auto_updater_lock_contention", {
521695
521695
  pid: process.pid,
521696
- currentVersion: "1.4.469"
521696
+ currentVersion: "1.4.470"
521697
521697
  });
521698
521698
  return "in_progress";
521699
521699
  }
@@ -521702,7 +521702,7 @@ async function installGlobalPackage(specificVersion) {
521702
521702
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
521703
521703
  logError2(new Error("Windows NPM detected in WSL environment"));
521704
521704
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
521705
- currentVersion: "1.4.469"
521705
+ currentVersion: "1.4.470"
521706
521706
  });
521707
521707
  console.error(`
521708
521708
  Error: Windows NPM detected in WSL
@@ -522233,7 +522233,7 @@ function detectLinuxGlobPatternWarnings() {
522233
522233
  }
522234
522234
  async function getDoctorDiagnostic() {
522235
522235
  const installationType = await getCurrentInstallationType();
522236
- const version2 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
522236
+ const version2 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
522237
522237
  const installationPath = await getInstallationPath();
522238
522238
  const invokedBinary = getInvokedBinary();
522239
522239
  const multipleInstallations = await detectMultipleInstallations();
@@ -523027,8 +523027,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523027
523027
  const maxVersion = await getMaxVersion();
523028
523028
  if (maxVersion && gt(version2, maxVersion)) {
523029
523029
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
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`);
523030
+ if (gte("1.4.470", maxVersion)) {
523031
+ logForDebugging(`Native installer: current version ${"1.4.470"} is already at or above maxVersion ${maxVersion}, skipping update`);
523032
523032
  logEvent("tengu_native_update_skipped_max_version", {
523033
523033
  latency_ms: Date.now() - startTime2,
523034
523034
  max_version: maxVersion,
@@ -523039,7 +523039,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523039
523039
  version2 = maxVersion;
523040
523040
  }
523041
523041
  }
523042
- if (!forceReinstall && version2 === "1.4.469" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523042
+ if (!forceReinstall && version2 === "1.4.470" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523043
523043
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
523044
523044
  logEvent("tengu_native_update_complete", {
523045
523045
  latency_ms: Date.now() - startTime2,
@@ -524235,7 +524235,7 @@ function buildPrimarySection() {
524235
524235
  });
524236
524236
  return [{
524237
524237
  label: "Version",
524238
- value: "1.4.469"
524238
+ value: "1.4.470"
524239
524239
  }, {
524240
524240
  label: "Session name",
524241
524241
  value: nameValue
@@ -527906,7 +527906,7 @@ function Config({
527906
527906
  }
527907
527907
  })
527908
527908
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
527909
- currentVersion: "1.4.469",
527909
+ currentVersion: "1.4.470",
527910
527910
  onChoice: (choice) => {
527911
527911
  setShowSubmenu(null);
527912
527912
  setTabsHidden(false);
@@ -527918,7 +527918,7 @@ function Config({
527918
527918
  autoUpdatesChannel: "stable"
527919
527919
  };
527920
527920
  if (choice === "stay") {
527921
- newSettings.minimumVersion = "1.4.469";
527921
+ newSettings.minimumVersion = "1.4.470";
527922
527922
  }
527923
527923
  updateSettingsForSource("userSettings", newSettings);
527924
527924
  setSettingsData((prev_27) => ({
@@ -535978,7 +535978,7 @@ function HelpV2(t0) {
535978
535978
  let t6;
535979
535979
  if ($3[31] !== tabs) {
535980
535980
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
535981
- title: `Rayu-CLI v${"1.4.469"}`,
535981
+ title: `Rayu-CLI v${"1.4.470"}`,
535982
535982
  color: "professionalBlue",
535983
535983
  defaultTab: "general",
535984
535984
  children: tabs
@@ -556061,7 +556061,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
556061
556061
  }
556062
556062
  return [];
556063
556063
  }
556064
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.469") {
556064
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.470") {
556065
556065
  if (false) {}
556066
556066
  const cachedChangelog = await getStoredChangelog();
556067
556067
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -556074,7 +556074,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.469")
556074
556074
  releaseNotes
556075
556075
  };
556076
556076
  }
556077
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.469") {
556077
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.470") {
556078
556078
  if (false) {}
556079
556079
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
556080
556080
  return {
@@ -556118,8 +556118,8 @@ function calculateLayoutDimensions(columns, layoutMode, optimalLeftWidth) {
556118
556118
  totalWidth
556119
556119
  };
556120
556120
  }
556121
- function calculateOptimalLeftWidth(welcomeMessage, truncatedCwd, modelLine) {
556122
- const contentWidth = Math.max(stringWidth(welcomeMessage), stringWidth(truncatedCwd), stringWidth(modelLine), 20);
556121
+ function calculateOptimalLeftWidth(welcomeMessage, truncatedCwd, modelLine, bannerWidth) {
556122
+ const contentWidth = Math.max(stringWidth(welcomeMessage), stringWidth(truncatedCwd), stringWidth(modelLine), bannerWidth);
556123
556123
  return Math.min(contentWidth + 4, MAX_LEFT_WIDTH);
556124
556124
  }
556125
556125
  function formatWelcomeMessage(username) {
@@ -556202,7 +556202,7 @@ function getRecentActivitySync() {
556202
556202
  return cachedActivity;
556203
556203
  }
556204
556204
  function getLogoDisplayData() {
556205
- const version2 = process.env.DEMO_VERSION ?? "1.4.469";
556205
+ const version2 = process.env.DEMO_VERSION ?? "1.4.470";
556206
556206
  const serverUrl = getDirectConnectServerUrl();
556207
556207
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
556208
556208
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -557366,7 +557366,7 @@ function LogoV2() {
557366
557366
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
557367
557367
  t2 = () => {
557368
557368
  const currentConfig = getGlobalConfig();
557369
- if (currentConfig.lastReleaseNotesSeen === "1.4.469") {
557369
+ if (currentConfig.lastReleaseNotesSeen === "1.4.470") {
557370
557370
  return;
557371
557371
  }
557372
557372
  saveGlobalConfig(_temp327);
@@ -557682,7 +557682,7 @@ function LogoV2() {
557682
557682
  children: /* @__PURE__ */ jsx_runtime236.jsxs(ThemedBox_default, {
557683
557683
  flexDirection: "column",
557684
557684
  borderStyle: "round",
557685
- borderColor: "brand",
557685
+ borderColor: "#5bf58d",
557686
557686
  borderText: t112,
557687
557687
  paddingX: 1,
557688
557688
  paddingY: 1,
@@ -557716,11 +557716,12 @@ function LogoV2() {
557716
557716
  });
557717
557717
  }
557718
557718
  const welcomeMessage_0 = formatWelcomeMessage(username);
557719
+ const bannerWidth = Math.max(...getActiveClawdBanner().lines.map(([line]) => stringWidth(line)));
557719
557720
  const modelLine = !process.env.IS_DEMO && config5.oauthAccount?.organizationName ? `${modelDisplayName} · ${billingType} · ${config5.oauthAccount.organizationName}` : `${modelDisplayName} · ${billingType}`;
557720
557721
  const cwdAvailableWidth_0 = agentName ? LEFT_PANEL_MAX_WIDTH - 1 - stringWidth(agentName) - 3 : LEFT_PANEL_MAX_WIDTH;
557721
557722
  const truncatedCwd_0 = truncatePath(cwd2, Math.max(cwdAvailableWidth_0, 10));
557722
557723
  const cwdLine = agentName ? `@${agentName} · ${truncatedCwd_0}` : truncatedCwd_0;
557723
- const optimalLeftWidth = calculateOptimalLeftWidth(welcomeMessage_0, cwdLine, modelLine);
557724
+ const optimalLeftWidth = calculateOptimalLeftWidth(welcomeMessage_0, cwdLine, modelLine, bannerWidth);
557724
557725
  const {
557725
557726
  leftWidth,
557726
557727
  rightWidth
@@ -557729,7 +557730,7 @@ function LogoV2() {
557729
557730
  const T1 = ThemedBox_default;
557730
557731
  const t11 = "column";
557731
557732
  const t12 = "round";
557732
- const t13 = "claude";
557733
+ const t13 = "#5bf58d";
557733
557734
  let t14;
557734
557735
  if ($3[44] !== borderTitle) {
557735
557736
  t14 = {
@@ -557832,7 +557833,7 @@ function LogoV2() {
557832
557833
  t24 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(ThemedBox_default, {
557833
557834
  height: "100%",
557834
557835
  borderStyle: "single",
557835
- borderColor: "brand",
557836
+ borderColor: "#5bf58d",
557836
557837
  borderDimColor: true,
557837
557838
  borderTop: false,
557838
557839
  borderBottom: false,
@@ -557844,7 +557845,7 @@ function LogoV2() {
557844
557845
  t24 = $3[61];
557845
557846
  }
557846
557847
  const _latestNpm = getCachedLatestNpmVersionSync();
557847
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.469") ? [createUpdateAvailableFeed("1.4.469", _latestNpm)] : [];
557848
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.470") ? [createUpdateAvailableFeed("1.4.470", _latestNpm)] : [];
557848
557849
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
557849
557850
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
557850
557851
  maxWidth: rightWidth
@@ -558044,12 +558045,12 @@ function LogoV2() {
558044
558045
  return t41;
558045
558046
  }
558046
558047
  function _temp327(current) {
558047
- if (current.lastReleaseNotesSeen === "1.4.469") {
558048
+ if (current.lastReleaseNotesSeen === "1.4.470") {
558048
558049
  return current;
558049
558050
  }
558050
558051
  return {
558051
558052
  ...current,
558052
- lastReleaseNotesSeen: "1.4.469"
558053
+ lastReleaseNotesSeen: "1.4.470"
558053
558054
  };
558054
558055
  }
558055
558056
  function _temp241(s_0) {
@@ -558067,6 +558068,7 @@ var init_LogoV2 = __esm(() => {
558067
558068
  init_format();
558068
558069
  init_file2();
558069
558070
  init_Clawd();
558071
+ init_bannerConfig();
558070
558072
  init_FeedColumn();
558071
558073
  init_feedConfigs();
558072
558074
  init_autoUpdater();
@@ -574858,14 +574860,14 @@ Other exit codes - show stderr to user only`,
574858
574860
  UserPromptSubmit: {
574859
574861
  summary: "When the user submits a prompt",
574860
574862
  description: `Input to command is JSON with original user prompt text.
574861
- Exit code 0 - stdout shown to Claude
574863
+ Exit code 0 - stdout shown to Rayu
574862
574864
  Exit code 2 - block processing, erase original prompt, and show stderr to user only
574863
574865
  Other exit codes - show stderr to user only`
574864
574866
  },
574865
574867
  SessionStart: {
574866
574868
  summary: "When a new session is started",
574867
574869
  description: `Input to command is JSON with session start source.
574868
- Exit code 0 - stdout shown to Claude
574870
+ Exit code 0 - stdout shown to Rayu
574869
574871
  Blocking errors are ignored
574870
574872
  Other exit codes - show stderr to user only`,
574871
574873
  matcherMetadata: {
@@ -574874,7 +574876,7 @@ Other exit codes - show stderr to user only`,
574874
574876
  }
574875
574877
  },
574876
574878
  Stop: {
574877
- summary: "Right before Claude concludes its response",
574879
+ summary: "Right before Rayu concludes its response",
574878
574880
  description: `Exit code 0 - stdout/stderr not shown
574879
574881
  Exit code 2 - show stderr to model and continue conversation
574880
574882
  Other exit codes - show stderr to user only`
@@ -574962,7 +574964,7 @@ Other exit codes - show stderr to user only`,
574962
574964
  Setup: {
574963
574965
  summary: "Repo setup hooks for init and maintenance",
574964
574966
  description: `Input to command is JSON with trigger (init or maintenance).
574965
- Exit code 0 - stdout shown to Claude
574967
+ Exit code 0 - stdout shown to Rayu
574966
574968
  Blocking errors are ignored
574967
574969
  Other exit codes - show stderr to user only`,
574968
574970
  matcherMetadata: {
@@ -575034,7 +575036,7 @@ Other exit codes - show stderr to user only`,
575034
575036
  },
575035
575037
  InstructionsLoaded: {
575036
575038
  summary: "When an instruction file (RAYU.md or rule) is loaded",
575037
- description: `Input to command is JSON with file_path, memory_type (User, Project, Local, Managed), load_reason (session_start, nested_traversal, path_glob_match, include, compact), globs (optional — the paths: frontmatter patterns that matched), trigger_file_path (optional — the file Claude touched that caused the load), and parent_file_path (optional — the file that @-included this one).
575039
+ description: `Input to command is JSON with file_path, memory_type (User, Project, Local, Managed), load_reason (session_start, nested_traversal, path_glob_match, include, compact), globs (optional — the paths: frontmatter patterns that matched), trigger_file_path (optional — the file Rayu touched that caused the load), and parent_file_path (optional — the file that @-included this one).
575038
575040
  Exit code 0 - command completes successfully
575039
575041
  Other exit codes - show stderr to user only
575040
575042
  This hook is observability-only and does not support blocking.`,
@@ -575137,7 +575139,7 @@ function SelectEventMode(t0) {
575137
575139
  " This menu is read-only. To add or modify hooks, edit settings.json directly or ask Rayu.",
575138
575140
  " ",
575139
575141
  /* @__PURE__ */ jsx_runtime280.jsx(Link, {
575140
- url: "https://rayu-web.vercel.app/docs",
575142
+ url: "https://rayucode.com/docs",
575141
575143
  children: "Learn more"
575142
575144
  })
575143
575145
  ]
@@ -583047,7 +583049,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
583047
583049
  smapsRollup,
583048
583050
  platform: process.platform,
583049
583051
  nodeVersion: process.version,
583050
- ccVersion: "1.4.469"
583052
+ ccVersion: "1.4.470"
583051
583053
  };
583052
583054
  }
583053
583055
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -583569,7 +583571,7 @@ var init_bridge_kick = __esm(() => {
583569
583571
  var call50 = async () => {
583570
583572
  return {
583571
583573
  type: "text",
583572
- value: "1.4.469"
583574
+ value: "1.4.470"
583573
583575
  };
583574
583576
  }, version2, version_default;
583575
583577
  var init_version = __esm(() => {
@@ -593827,7 +593829,7 @@ function generateHtmlReport(data, insights) {
593827
593829
  </html>`;
593828
593830
  }
593829
593831
  function buildExportData(data, insights, facets, remoteStats) {
593830
- const version3 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
593832
+ const version3 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
593831
593833
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
593832
593834
  const facets_summary = {
593833
593835
  total: facets.size,
@@ -597737,7 +597739,7 @@ var init_sessionStorage = __esm(() => {
597737
597739
  init_settings2();
597738
597740
  init_slowOperations();
597739
597741
  init_uuid();
597740
- VERSION6 = typeof MACRO !== "undefined" ? "1.4.469" : "unknown";
597742
+ VERSION6 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
597741
597743
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
597742
597744
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
597743
597745
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -598955,7 +598957,7 @@ var init_filesystem = __esm(() => {
598955
598957
  });
598956
598958
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
598957
598959
  const nonce = randomBytes19(16).toString("hex");
598958
- return join153(getClaudeTempDir(), "bundled-skills", "1.4.469", nonce);
598960
+ return join153(getClaudeTempDir(), "bundled-skills", "1.4.470", nonce);
598959
598961
  });
598960
598962
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
598961
598963
  });
@@ -604125,7 +604127,7 @@ __export(exports_update, {
604125
604127
  update: () => update
604126
604128
  });
604127
604129
  async function update() {
604128
- writeToStdout(`Current version: ${"1.4.469"}
604130
+ writeToStdout(`Current version: ${"1.4.470"}
604129
604131
  `);
604130
604132
  const isBundled = isInBundledMode();
604131
604133
  if (isBundled) {
@@ -604156,13 +604158,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
604156
604158
  process.exit(1);
604157
604159
  return;
604158
604160
  }
604159
- if (latestVersion === "1.4.469") {
604161
+ if (latestVersion === "1.4.470") {
604160
604162
  writeToStdout(source_default.green(`
604161
- Rayu CLI is up to date (${"1.4.469"})
604163
+ Rayu CLI is up to date (${"1.4.470"})
604162
604164
  `));
604163
604165
  process.exit(0);
604164
604166
  }
604165
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.469"})
604167
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.470"})
604166
604168
  `);
604167
604169
  writeToStdout(`Installing update...
604168
604170
 
@@ -604229,14 +604231,14 @@ async function updateNativeBinary() {
604229
604231
  } catch {
604230
604232
  latestVersion = "";
604231
604233
  }
604232
- if (latestVersion && latestVersion === "1.4.469") {
604234
+ if (latestVersion && latestVersion === "1.4.470") {
604233
604235
  writeToStdout(source_default.green(`
604234
- Rayu CLI is up to date (1.4.469)
604236
+ Rayu CLI is up to date (1.4.470)
604235
604237
  `));
604236
604238
  process.exit(0);
604237
604239
  }
604238
604240
  if (latestVersion) {
604239
- writeToStdout(`New version available: ${latestVersion} (current: 1.4.469)
604241
+ writeToStdout(`New version available: ${latestVersion} (current: 1.4.470)
604240
604242
  `);
604241
604243
  }
604242
604244
  writeToStdout(`Downloading and installing update...
@@ -604251,13 +604253,13 @@ Rayu CLI is up to date (1.4.469)
604251
604253
  return;
604252
604254
  }
604253
604255
  writeToStdout(source_default.green(`
604254
- Rayu CLI is up to date (1.4.469)
604256
+ Rayu CLI is up to date (1.4.470)
604255
604257
  `));
604256
604258
  process.exit(0);
604257
604259
  }
604258
604260
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
604259
604261
  writeToStdout(source_default.green(`
604260
- Successfully updated from 1.4.469 to ${updatedTo}
604262
+ Successfully updated from 1.4.470 to ${updatedTo}
604261
604263
  `));
604262
604264
  writeToStdout(`Restart your terminal to use the new version.
604263
604265
  `);
@@ -604322,7 +604324,7 @@ async function removeDataDir(dir) {
604322
604324
  async function uninstall(args = []) {
604323
604325
  const yes = args.includes("--yes") || args.includes("-y");
604324
604326
  const keepData = args.includes("--keep-data");
604325
- writeToStdout(`Uninstalling Rayu CLI (${"1.4.469"})...
604327
+ writeToStdout(`Uninstalling Rayu CLI (${"1.4.470"})...
604326
604328
  `);
604327
604329
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
604328
604330
 
@@ -604356,7 +604358,7 @@ This looks like a permissions error on npm's global install
604356
604358
  return;
604357
604359
  }
604358
604360
  writeToStdout(source_default.green(`
604359
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.469"}
604361
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.470"}
604360
604362
  `));
604361
604363
  const configDir = getRayuConfigHomeDir();
604362
604364
  const dataExists = existsSync28(configDir);
@@ -604439,7 +604441,7 @@ function showFirstRunWelcome() {
604439
604441
  `);
604440
604442
  try {
604441
604443
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
604442
- writeFileSync18(markerPath(), "1.4.469", "utf8");
604444
+ writeFileSync18(markerPath(), "1.4.470", "utf8");
604443
604445
  } catch {}
604444
604446
  }
604445
604447
  var init_firstRun = __esm(() => {
@@ -620625,7 +620627,7 @@ async function initializeBetaTracing(resource) {
620625
620627
  });
620626
620628
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620627
620629
  setLoggerProvider(loggerProvider);
620628
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.469");
620630
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.470");
620629
620631
  setEventLogger(eventLogger);
620630
620632
  process.on("beforeExit", async () => {
620631
620633
  await loggerProvider?.forceFlush();
@@ -620665,7 +620667,7 @@ async function initializeTelemetry() {
620665
620667
  const platform4 = getPlatform();
620666
620668
  const baseAttributes = {
620667
620669
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
620668
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.469"
620670
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.470"
620669
620671
  };
620670
620672
  if (platform4 === "wsl") {
620671
620673
  const wslVersion = getWslVersion();
@@ -620710,7 +620712,7 @@ async function initializeTelemetry() {
620710
620712
  } catch {}
620711
620713
  };
620712
620714
  registerCleanup(shutdownTelemetry2);
620713
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.469");
620715
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.470");
620714
620716
  }
620715
620717
  const meterProvider = new import_sdk_metrics2.MeterProvider({
620716
620718
  resource,
@@ -620730,7 +620732,7 @@ async function initializeTelemetry() {
620730
620732
  });
620731
620733
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620732
620734
  setLoggerProvider(loggerProvider);
620733
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.469");
620735
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.470");
620734
620736
  setEventLogger(eventLogger);
620735
620737
  logForDebugging("[3P telemetry] Event logger set successfully");
620736
620738
  process.on("beforeExit", async () => {
@@ -620792,7 +620794,7 @@ Current timeout: ${timeoutMs}ms
620792
620794
  }
620793
620795
  };
620794
620796
  registerCleanup(shutdownTelemetry);
620795
- return meterProvider.getMeter("com.anthropic.claude_code", "1.4.469");
620797
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.4.470");
620796
620798
  }
620797
620799
  async function flushTelemetry() {
620798
620800
  const meterProvider = getMeterProvider();
@@ -622294,7 +622296,7 @@ function buildSystemInitMessage(inputs) {
622294
622296
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
622295
622297
  apiKeySource: getAnthropicApiKeyWithSource().source,
622296
622298
  betas: getSdkBetas(),
622297
- claude_code_version: "1.4.469",
622299
+ claude_code_version: "1.4.470",
622298
622300
  output_style: outputStyle2,
622299
622301
  agents: inputs.agents.map((agent) => agent.agentType),
622300
622302
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -638625,7 +638627,7 @@ var init_useVoiceEnabled = __esm(() => {
638625
638627
  function getSemverPart(version3) {
638626
638628
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
638627
638629
  }
638628
- function useUpdateNotification(updatedVersion, initialVersion = "1.4.469") {
638630
+ function useUpdateNotification(updatedVersion, initialVersion = "1.4.470") {
638629
638631
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
638630
638632
  if (!updatedVersion) {
638631
638633
  return null;
@@ -638665,7 +638667,7 @@ function AutoUpdater({
638665
638667
  return;
638666
638668
  }
638667
638669
  if (false) {}
638668
- const currentVersion = "1.4.469";
638670
+ const currentVersion = "1.4.470";
638669
638671
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
638670
638672
  let latestVersion = await getLatestVersion(channel2);
638671
638673
  const isDisabled = isAutoUpdaterDisabled();
@@ -638878,12 +638880,12 @@ function NativeAutoUpdater({
638878
638880
  logEvent("tengu_native_auto_updater_start", {});
638879
638881
  try {
638880
638882
  const maxVersion = await getMaxVersion();
638881
- if (maxVersion && gt("1.4.469", maxVersion)) {
638883
+ if (maxVersion && gt("1.4.470", maxVersion)) {
638882
638884
  const msg = await getMaxVersionMessage();
638883
638885
  setMaxVersionIssue(msg ?? "affects your version");
638884
638886
  }
638885
638887
  const result = await installLatest(channel2);
638886
- const currentVersion = "1.4.469";
638888
+ const currentVersion = "1.4.470";
638887
638889
  const latencyMs = Date.now() - startTime2;
638888
638890
  if (result.lockFailed) {
638889
638891
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -639020,17 +639022,17 @@ function PackageManagerAutoUpdater(t0) {
639020
639022
  const maxVersion = await getMaxVersion();
639021
639023
  if (maxVersion && latest && gt(latest, maxVersion)) {
639022
639024
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
639023
- if (gte("1.4.469", maxVersion)) {
639024
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.469"} is already at or above maxVersion ${maxVersion}, skipping update`);
639025
+ if (gte("1.4.470", maxVersion)) {
639026
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.470"} is already at or above maxVersion ${maxVersion}, skipping update`);
639025
639027
  setUpdateAvailable(false);
639026
639028
  return;
639027
639029
  }
639028
639030
  latest = maxVersion;
639029
639031
  }
639030
- const hasUpdate = latest && !gte("1.4.469", latest) && !shouldSkipVersion(latest);
639032
+ const hasUpdate = latest && !gte("1.4.470", latest) && !shouldSkipVersion(latest);
639031
639033
  setUpdateAvailable(!!hasUpdate);
639032
639034
  if (hasUpdate) {
639033
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.469"} -> ${latest}`);
639035
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.470"} -> ${latest}`);
639034
639036
  }
639035
639037
  };
639036
639038
  $3[0] = t1;
@@ -639064,7 +639066,7 @@ function PackageManagerAutoUpdater(t0) {
639064
639066
  wrap: "truncate",
639065
639067
  children: [
639066
639068
  "currentVersion: ",
639067
- "1.4.469"
639069
+ "1.4.470"
639068
639070
  ]
639069
639071
  });
639070
639072
  $3[3] = verbose;
@@ -647228,7 +647230,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
647228
647230
  project_dir: getOriginalCwd(),
647229
647231
  added_dirs: addedDirs
647230
647232
  },
647231
- version: "1.4.469",
647233
+ version: "1.4.470",
647232
647234
  output_style: {
647233
647235
  name: outputStyleName
647234
647236
  },
@@ -649407,7 +649409,7 @@ var init_user = __esm(() => {
649407
649409
  deviceId,
649408
649410
  sessionId: getSessionId(),
649409
649411
  email: getEmail(),
649410
- appVersion: "1.4.469",
649412
+ appVersion: "1.4.470",
649411
649413
  platform: getHostPlatformForAnalytics(),
649412
649414
  organizationUuid,
649413
649415
  accountUuid,
@@ -658846,7 +658848,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
658846
658848
  } catch {}
658847
658849
  const data = {
658848
658850
  trigger,
658849
- version: "1.4.469",
658851
+ version: "1.4.470",
658850
658852
  platform: process.platform,
658851
658853
  transcript,
658852
658854
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -670813,7 +670815,7 @@ function WelcomeV2() {
670813
670815
  dimColor: true,
670814
670816
  children: [
670815
670817
  "v",
670816
- "1.4.469"
670818
+ "1.4.470"
670817
670819
  ]
670818
670820
  })
670819
670821
  ]
@@ -671820,7 +671822,7 @@ function completeOnboarding() {
671820
671822
  saveGlobalConfig((current) => ({
671821
671823
  ...current,
671822
671824
  hasCompletedOnboarding: true,
671823
- lastOnboardingVersion: "1.4.469"
671825
+ lastOnboardingVersion: "1.4.470"
671824
671826
  }));
671825
671827
  }
671826
671828
  function showDialog(root2, renderer) {
@@ -676753,7 +676755,7 @@ function appendToLog(path29, message) {
676753
676755
  cwd: getFsImplementation().cwd(),
676754
676756
  userType: "external",
676755
676757
  sessionId: getSessionId(),
676756
- version: "1.4.469"
676758
+ version: "1.4.470"
676757
676759
  };
676758
676760
  getLogWriter(path29).write(messageWithTimestamp);
676759
676761
  }
@@ -680858,8 +680860,8 @@ async function getEnvLessBridgeConfig() {
680858
680860
  }
680859
680861
  async function checkEnvLessBridgeMinVersion() {
680860
680862
  const cfg = await getEnvLessBridgeConfig();
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.
680863
+ if (cfg.min_version && lt("1.4.470", cfg.min_version)) {
680864
+ return `Your version of RAYU (${"1.4.470"}) is too old for Remote Control.
680863
680865
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
680864
680866
  }
680865
680867
  return null;
@@ -681332,7 +681334,7 @@ async function initBridgeCore(params) {
681332
681334
  const rawApi = createBridgeApiClient({
681333
681335
  baseUrl,
681334
681336
  getAccessToken,
681335
- runnerVersion: "1.4.469",
681337
+ runnerVersion: "1.4.470",
681336
681338
  onDebug: logForDebugging,
681337
681339
  onAuth401,
681338
681340
  getTrustedDeviceToken
@@ -686687,7 +686689,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
686687
686689
  setCwd(cwd3);
686688
686690
  const server = new Server({
686689
686691
  name: "claude/tengu",
686690
- version: "1.4.469"
686692
+ version: "1.4.470"
686691
686693
  }, {
686692
686694
  capabilities: {
686693
686695
  tools: {}
@@ -689213,7 +689215,7 @@ ${customInstructions}` : customInstructions;
689213
689215
  }
689214
689216
  }
689215
689217
  logForDiagnosticsNoPII("info", "started", {
689216
- version: "1.4.469",
689218
+ version: "1.4.470",
689217
689219
  is_native_binary: isInBundledMode()
689218
689220
  });
689219
689221
  registerCleanup(async () => {
@@ -689932,7 +689934,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
689932
689934
  pendingHookMessages
689933
689935
  }, renderAndRun);
689934
689936
  }
689935
- }).version(`1.4.469 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689937
+ }).version(`1.4.470 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689936
689938
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
689937
689939
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
689938
689940
  if (canUserConfigureAdvisor()) {
@@ -690392,7 +690394,7 @@ if (false) {}
690392
690394
  async function main2() {
690393
690395
  const args = process.argv.slice(2);
690394
690396
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
690395
- console.log(`${"1.4.469"} (Rayu-CLI)`);
690397
+ console.log(`${"1.4.470"} (Rayu-CLI)`);
690396
690398
  return;
690397
690399
  }
690398
690400
  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.469",
3
+ "version": "1.4.470",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {