@rayu-dev/rayu-cli 1.4.471 → 1.4.472

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 -76
  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.471"}`;
148982
+ return `rayu/${"1.4.472"}`;
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.471"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
149008
+ return `rayu/${"1.4.472"} (${"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.471"}${suffix}`;
149022
+ return `rayu/${"1.4.472"}${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.471"}.${fingerprint}`;
205337
+ const version2 = `${"1.4.472"}.${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.471".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
259306
+ const match = "1.4.472".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.471",
259345
+ version: "1.4.472",
259346
259346
  versionBase: getVersionBase(),
259347
259347
  buildTime: "",
259348
259348
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
@@ -281717,6 +281717,13 @@ function isToolSearchEnabledOptimistic() {
281717
281717
  }
281718
281718
  return false;
281719
281719
  }
281720
+ if (!process.env.ENABLE_TOOL_SEARCH && (isRayuAnthropicCompatibleActive() || isOpenAICompatibleActive())) {
281721
+ if (!loggedOptimistic) {
281722
+ loggedOptimistic = true;
281723
+ logForDebugging(`[ToolSearch:optimistic] disabled: the active Rayu provider is a third-party (anthropic-compatible / openai-compatible) endpoint that does not accept tool_reference/defer_loading. All tool schemas are sent inline. Set ENABLE_TOOL_SEARCH=true only if your endpoint forwards the beta.`);
281724
+ }
281725
+ return false;
281726
+ }
281720
281727
  if (!process.env.ENABLE_TOOL_SEARCH && getAPIProvider() === "anthropic" && !isFirstPartyAnthropicBaseUrl()) {
281721
281728
  if (!loggedOptimistic) {
281722
281729
  loggedOptimistic = true;
@@ -291358,7 +291365,7 @@ function getTelemetryAttributes() {
291358
291365
  attributes["session.id"] = sessionId;
291359
291366
  }
291360
291367
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
291361
- attributes["app.version"] = "1.4.471";
291368
+ attributes["app.version"] = "1.4.472";
291362
291369
  }
291363
291370
  const oauthAccount = getOauthAccountInfo();
291364
291371
  if (oauthAccount) {
@@ -401715,7 +401722,7 @@ function getInstallationEnv() {
401715
401722
  return;
401716
401723
  }
401717
401724
  function getClaudeCodeVersion() {
401718
- return "1.4.471";
401725
+ return "1.4.472";
401719
401726
  }
401720
401727
  async function getInstalledVSCodeExtensionVersion(command) {
401721
401728
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -406953,7 +406960,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
406953
406960
  const client3 = new Client({
406954
406961
  name: "claude-code",
406955
406962
  title: "RAYU",
406956
- version: "1.4.471",
406963
+ version: "1.4.472",
406957
406964
  description: "Anthropic's agentic coding tool",
406958
406965
  websiteUrl: PRODUCT_URL
406959
406966
  }, {
@@ -407270,7 +407277,7 @@ var init_client7 = __esm(() => {
407270
407277
  const client3 = new Client({
407271
407278
  name: "claude-code",
407272
407279
  title: "RAYU",
407273
- version: "1.4.471",
407280
+ version: "1.4.472",
407274
407281
  description: "Anthropic's agentic coding tool",
407275
407282
  websiteUrl: PRODUCT_URL
407276
407283
  }, {
@@ -422089,7 +422096,7 @@ function computeFingerprint(messageText, version2) {
422089
422096
  }
422090
422097
  function computeFingerprintFromMessages(messages) {
422091
422098
  const firstMessageText = extractFirstMessageText(messages);
422092
- return computeFingerprint(firstMessageText, "1.4.471");
422099
+ return computeFingerprint(firstMessageText, "1.4.472");
422093
422100
  }
422094
422101
  var FINGERPRINT_SALT = "59cf53e54c78";
422095
422102
  var init_fingerprint = () => {};
@@ -422131,7 +422138,7 @@ async function sideQuery(opts) {
422131
422138
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
422132
422139
  }
422133
422140
  const messageText = extractFirstUserMessageText(messages);
422134
- const fingerprint = computeFingerprint(messageText, "1.4.471");
422141
+ const fingerprint = computeFingerprint(messageText, "1.4.472");
422135
422142
  const attributionHeader = getAttributionHeader(fingerprint);
422136
422143
  const systemBlocks = [
422137
422144
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -521471,9 +521478,9 @@ async function assertMinVersion() {
521471
521478
  if (false) {}
521472
521479
  try {
521473
521480
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
521474
- if (versionConfig.minVersion && lt("1.4.471", versionConfig.minVersion)) {
521481
+ if (versionConfig.minVersion && lt("1.4.472", versionConfig.minVersion)) {
521475
521482
  console.error(`
521476
- It looks like your version of RAYU (${"1.4.471"}) needs an update.
521483
+ It looks like your version of RAYU (${"1.4.472"}) needs an update.
521477
521484
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
521478
521485
 
521479
521486
  To update, please run:
@@ -521699,7 +521706,7 @@ async function installGlobalPackage(specificVersion) {
521699
521706
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
521700
521707
  logEvent("tengu_auto_updater_lock_contention", {
521701
521708
  pid: process.pid,
521702
- currentVersion: "1.4.471"
521709
+ currentVersion: "1.4.472"
521703
521710
  });
521704
521711
  return "in_progress";
521705
521712
  }
@@ -521708,7 +521715,7 @@ async function installGlobalPackage(specificVersion) {
521708
521715
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
521709
521716
  logError2(new Error("Windows NPM detected in WSL environment"));
521710
521717
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
521711
- currentVersion: "1.4.471"
521718
+ currentVersion: "1.4.472"
521712
521719
  });
521713
521720
  console.error(`
521714
521721
  Error: Windows NPM detected in WSL
@@ -522236,7 +522243,7 @@ function detectLinuxGlobPatternWarnings() {
522236
522243
  }
522237
522244
  async function getDoctorDiagnostic() {
522238
522245
  const installationType = await getCurrentInstallationType();
522239
- const version2 = typeof MACRO !== "undefined" ? "1.4.471" : "unknown";
522246
+ const version2 = typeof MACRO !== "undefined" ? "1.4.472" : "unknown";
522240
522247
  const installationPath = await getInstallationPath();
522241
522248
  const invokedBinary = getInvokedBinary();
522242
522249
  const multipleInstallations = await detectMultipleInstallations();
@@ -523027,8 +523034,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523027
523034
  const maxVersion = await getMaxVersion();
523028
523035
  if (maxVersion && gt(version2, maxVersion)) {
523029
523036
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
523030
- if (gte("1.4.471", maxVersion)) {
523031
- logForDebugging(`Native installer: current version ${"1.4.471"} is already at or above maxVersion ${maxVersion}, skipping update`);
523037
+ if (gte("1.4.472", maxVersion)) {
523038
+ logForDebugging(`Native installer: current version ${"1.4.472"} is already at or above maxVersion ${maxVersion}, skipping update`);
523032
523039
  logEvent("tengu_native_update_skipped_max_version", {
523033
523040
  latency_ms: Date.now() - startTime2,
523034
523041
  max_version: maxVersion,
@@ -523039,7 +523046,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
523039
523046
  version2 = maxVersion;
523040
523047
  }
523041
523048
  }
523042
- if (!forceReinstall && version2 === "1.4.471" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523049
+ if (!forceReinstall && version2 === "1.4.472" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
523043
523050
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
523044
523051
  logEvent("tengu_native_update_complete", {
523045
523052
  latency_ms: Date.now() - startTime2,
@@ -524247,7 +524254,7 @@ function buildPrimarySection() {
524247
524254
  });
524248
524255
  return [{
524249
524256
  label: "Version",
524250
- value: "1.4.471"
524257
+ value: "1.4.472"
524251
524258
  }, {
524252
524259
  label: "Session name",
524253
524260
  value: nameValue
@@ -527918,7 +527925,7 @@ function Config({
527918
527925
  }
527919
527926
  })
527920
527927
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
527921
- currentVersion: "1.4.471",
527928
+ currentVersion: "1.4.472",
527922
527929
  onChoice: (choice) => {
527923
527930
  setShowSubmenu(null);
527924
527931
  setTabsHidden(false);
@@ -527930,7 +527937,7 @@ function Config({
527930
527937
  autoUpdatesChannel: "stable"
527931
527938
  };
527932
527939
  if (choice === "stay") {
527933
- newSettings.minimumVersion = "1.4.471";
527940
+ newSettings.minimumVersion = "1.4.472";
527934
527941
  }
527935
527942
  updateSettingsForSource("userSettings", newSettings);
527936
527943
  setSettingsData((prev_27) => ({
@@ -535991,7 +535998,7 @@ function HelpV2(t0) {
535991
535998
  let t6;
535992
535999
  if ($3[31] !== tabs) {
535993
536000
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
535994
- title: `Rayu-CLI v${"1.4.471"}`,
536001
+ title: `Rayu-CLI v${"1.4.472"}`,
535995
536002
  color: "professionalBlue",
535996
536003
  defaultTab: "general",
535997
536004
  children: tabs
@@ -556074,7 +556081,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
556074
556081
  }
556075
556082
  return [];
556076
556083
  }
556077
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.471") {
556084
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.472") {
556078
556085
  if (false) {}
556079
556086
  const cachedChangelog = await getStoredChangelog();
556080
556087
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -556087,7 +556094,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.471")
556087
556094
  releaseNotes
556088
556095
  };
556089
556096
  }
556090
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.471") {
556097
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.472") {
556091
556098
  if (false) {}
556092
556099
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
556093
556100
  return {
@@ -556215,7 +556222,7 @@ function getRecentActivitySync() {
556215
556222
  return cachedActivity;
556216
556223
  }
556217
556224
  function getLogoDisplayData() {
556218
- const version2 = process.env.DEMO_VERSION ?? "1.4.471";
556225
+ const version2 = process.env.DEMO_VERSION ?? "1.4.472";
556219
556226
  const serverUrl = getDirectConnectServerUrl();
556220
556227
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
556221
556228
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -557380,7 +557387,7 @@ function LogoV2() {
557380
557387
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
557381
557388
  t2 = () => {
557382
557389
  const currentConfig = getGlobalConfig();
557383
- if (currentConfig.lastReleaseNotesSeen === "1.4.471") {
557390
+ if (currentConfig.lastReleaseNotesSeen === "1.4.472") {
557384
557391
  return;
557385
557392
  }
557386
557393
  saveGlobalConfig(_temp327);
@@ -557859,7 +557866,7 @@ function LogoV2() {
557859
557866
  t24 = $3[61];
557860
557867
  }
557861
557868
  const _latestNpm = getCachedLatestNpmVersionSync();
557862
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.471") ? [createUpdateAvailableFeed("1.4.471", _latestNpm)] : [];
557869
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.472") ? [createUpdateAvailableFeed("1.4.472", _latestNpm)] : [];
557863
557870
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
557864
557871
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
557865
557872
  maxWidth: rightWidth
@@ -558059,12 +558066,12 @@ function LogoV2() {
558059
558066
  return t41;
558060
558067
  }
558061
558068
  function _temp327(current) {
558062
- if (current.lastReleaseNotesSeen === "1.4.471") {
558069
+ if (current.lastReleaseNotesSeen === "1.4.472") {
558063
558070
  return current;
558064
558071
  }
558065
558072
  return {
558066
558073
  ...current,
558067
- lastReleaseNotesSeen: "1.4.471"
558074
+ lastReleaseNotesSeen: "1.4.472"
558068
558075
  };
558069
558076
  }
558070
558077
  function _temp241(s_0) {
@@ -583063,7 +583070,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
583063
583070
  smapsRollup,
583064
583071
  platform: process.platform,
583065
583072
  nodeVersion: process.version,
583066
- ccVersion: "1.4.471"
583073
+ ccVersion: "1.4.472"
583067
583074
  };
583068
583075
  }
583069
583076
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -583585,7 +583592,7 @@ var init_bridge_kick = __esm(() => {
583585
583592
  var call50 = async () => {
583586
583593
  return {
583587
583594
  type: "text",
583588
- value: "1.4.471"
583595
+ value: "1.4.472"
583589
583596
  };
583590
583597
  }, version2, version_default;
583591
583598
  var init_version = __esm(() => {
@@ -593866,7 +593873,7 @@ function generateHtmlReport(data, insights) {
593866
593873
  </html>`;
593867
593874
  }
593868
593875
  function buildExportData(data, insights, facets, remoteStats) {
593869
- const version3 = typeof MACRO !== "undefined" ? "1.4.471" : "unknown";
593876
+ const version3 = typeof MACRO !== "undefined" ? "1.4.472" : "unknown";
593870
593877
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
593871
593878
  const facets_summary = {
593872
593879
  total: facets.size,
@@ -597776,7 +597783,7 @@ var init_sessionStorage = __esm(() => {
597776
597783
  init_settings2();
597777
597784
  init_slowOperations();
597778
597785
  init_uuid();
597779
- VERSION6 = typeof MACRO !== "undefined" ? "1.4.471" : "unknown";
597786
+ VERSION6 = typeof MACRO !== "undefined" ? "1.4.472" : "unknown";
597780
597787
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
597781
597788
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
597782
597789
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -598994,7 +599001,7 @@ var init_filesystem = __esm(() => {
598994
599001
  });
598995
599002
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
598996
599003
  const nonce = randomBytes19(16).toString("hex");
598997
- return join153(getClaudeTempDir(), "bundled-skills", "1.4.471", nonce);
599004
+ return join153(getClaudeTempDir(), "bundled-skills", "1.4.472", nonce);
598998
599005
  });
598999
599006
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
599000
599007
  });
@@ -604164,7 +604171,7 @@ __export(exports_update, {
604164
604171
  update: () => update
604165
604172
  });
604166
604173
  async function update() {
604167
- writeToStdout(`Current version: ${"1.4.471"}
604174
+ writeToStdout(`Current version: ${"1.4.472"}
604168
604175
  `);
604169
604176
  const isBundled = isInBundledMode();
604170
604177
  if (isBundled) {
@@ -604195,13 +604202,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
604195
604202
  process.exit(1);
604196
604203
  return;
604197
604204
  }
604198
- if (latestVersion === "1.4.471") {
604205
+ if (latestVersion === "1.4.472") {
604199
604206
  writeToStdout(source_default.green(`
604200
- Rayu CLI is up to date (${"1.4.471"})
604207
+ Rayu CLI is up to date (${"1.4.472"})
604201
604208
  `));
604202
604209
  process.exit(0);
604203
604210
  }
604204
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.471"})
604211
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.472"})
604205
604212
  `);
604206
604213
  writeToStdout(`Installing update...
604207
604214
 
@@ -604268,14 +604275,14 @@ async function updateNativeBinary() {
604268
604275
  } catch {
604269
604276
  latestVersion = "";
604270
604277
  }
604271
- if (latestVersion && latestVersion === "1.4.471") {
604278
+ if (latestVersion && latestVersion === "1.4.472") {
604272
604279
  writeToStdout(source_default.green(`
604273
- Rayu CLI is up to date (1.4.471)
604280
+ Rayu CLI is up to date (1.4.472)
604274
604281
  `));
604275
604282
  process.exit(0);
604276
604283
  }
604277
604284
  if (latestVersion) {
604278
- writeToStdout(`New version available: ${latestVersion} (current: 1.4.471)
604285
+ writeToStdout(`New version available: ${latestVersion} (current: 1.4.472)
604279
604286
  `);
604280
604287
  }
604281
604288
  writeToStdout(`Downloading and installing update...
@@ -604290,13 +604297,13 @@ Rayu CLI is up to date (1.4.471)
604290
604297
  return;
604291
604298
  }
604292
604299
  writeToStdout(source_default.green(`
604293
- Rayu CLI is up to date (1.4.471)
604300
+ Rayu CLI is up to date (1.4.472)
604294
604301
  `));
604295
604302
  process.exit(0);
604296
604303
  }
604297
604304
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
604298
604305
  writeToStdout(source_default.green(`
604299
- Successfully updated from 1.4.471 to ${updatedTo}
604306
+ Successfully updated from 1.4.472 to ${updatedTo}
604300
604307
  `));
604301
604308
  writeToStdout(`Restart your terminal to use the new version.
604302
604309
  `);
@@ -604361,7 +604368,7 @@ async function removeDataDir(dir) {
604361
604368
  async function uninstall(args = []) {
604362
604369
  const yes = args.includes("--yes") || args.includes("-y");
604363
604370
  const keepData = args.includes("--keep-data");
604364
- writeToStdout(`Uninstalling Rayu CLI (${"1.4.471"})...
604371
+ writeToStdout(`Uninstalling Rayu CLI (${"1.4.472"})...
604365
604372
  `);
604366
604373
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
604367
604374
 
@@ -604395,7 +604402,7 @@ This looks like a permissions error on npm's global install
604395
604402
  return;
604396
604403
  }
604397
604404
  writeToStdout(source_default.green(`
604398
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.471"}
604405
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.472"}
604399
604406
  `));
604400
604407
  const configDir = getRayuConfigHomeDir();
604401
604408
  const dataExists = existsSync28(configDir);
@@ -604478,7 +604485,7 @@ function showFirstRunWelcome() {
604478
604485
  `);
604479
604486
  try {
604480
604487
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
604481
- writeFileSync18(markerPath(), "1.4.471", "utf8");
604488
+ writeFileSync18(markerPath(), "1.4.472", "utf8");
604482
604489
  } catch {}
604483
604490
  }
604484
604491
  var init_firstRun = __esm(() => {
@@ -620664,7 +620671,7 @@ async function initializeBetaTracing(resource) {
620664
620671
  });
620665
620672
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620666
620673
  setLoggerProvider(loggerProvider);
620667
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.471");
620674
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.472");
620668
620675
  setEventLogger(eventLogger);
620669
620676
  process.on("beforeExit", async () => {
620670
620677
  await loggerProvider?.forceFlush();
@@ -620704,7 +620711,7 @@ async function initializeTelemetry() {
620704
620711
  const platform4 = getPlatform();
620705
620712
  const baseAttributes = {
620706
620713
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
620707
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.471"
620714
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.472"
620708
620715
  };
620709
620716
  if (platform4 === "wsl") {
620710
620717
  const wslVersion = getWslVersion();
@@ -620749,7 +620756,7 @@ async function initializeTelemetry() {
620749
620756
  } catch {}
620750
620757
  };
620751
620758
  registerCleanup(shutdownTelemetry2);
620752
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.471");
620759
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.472");
620753
620760
  }
620754
620761
  const meterProvider = new import_sdk_metrics2.MeterProvider({
620755
620762
  resource,
@@ -620769,7 +620776,7 @@ async function initializeTelemetry() {
620769
620776
  });
620770
620777
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
620771
620778
  setLoggerProvider(loggerProvider);
620772
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.471");
620779
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.472");
620773
620780
  setEventLogger(eventLogger);
620774
620781
  logForDebugging("[3P telemetry] Event logger set successfully");
620775
620782
  process.on("beforeExit", async () => {
@@ -620831,7 +620838,7 @@ Current timeout: ${timeoutMs}ms
620831
620838
  }
620832
620839
  };
620833
620840
  registerCleanup(shutdownTelemetry);
620834
- return meterProvider.getMeter("com.anthropic.claude_code", "1.4.471");
620841
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.4.472");
620835
620842
  }
620836
620843
  async function flushTelemetry() {
620837
620844
  const meterProvider = getMeterProvider();
@@ -622333,7 +622340,7 @@ function buildSystemInitMessage(inputs) {
622333
622340
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
622334
622341
  apiKeySource: getAnthropicApiKeyWithSource().source,
622335
622342
  betas: getSdkBetas(),
622336
- claude_code_version: "1.4.471",
622343
+ claude_code_version: "1.4.472",
622337
622344
  output_style: outputStyle2,
622338
622345
  agents: inputs.agents.map((agent) => agent.agentType),
622339
622346
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -638664,7 +638671,7 @@ var init_useVoiceEnabled = __esm(() => {
638664
638671
  function getSemverPart(version3) {
638665
638672
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
638666
638673
  }
638667
- function useUpdateNotification(updatedVersion, initialVersion = "1.4.471") {
638674
+ function useUpdateNotification(updatedVersion, initialVersion = "1.4.472") {
638668
638675
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
638669
638676
  if (!updatedVersion) {
638670
638677
  return null;
@@ -638704,7 +638711,7 @@ function AutoUpdater({
638704
638711
  return;
638705
638712
  }
638706
638713
  if (false) {}
638707
- const currentVersion = "1.4.471";
638714
+ const currentVersion = "1.4.472";
638708
638715
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
638709
638716
  let latestVersion = await getLatestVersion(channel2);
638710
638717
  const isDisabled = isAutoUpdaterDisabled();
@@ -638917,12 +638924,12 @@ function NativeAutoUpdater({
638917
638924
  logEvent("tengu_native_auto_updater_start", {});
638918
638925
  try {
638919
638926
  const maxVersion = await getMaxVersion();
638920
- if (maxVersion && gt("1.4.471", maxVersion)) {
638927
+ if (maxVersion && gt("1.4.472", maxVersion)) {
638921
638928
  const msg = await getMaxVersionMessage();
638922
638929
  setMaxVersionIssue(msg ?? "affects your version");
638923
638930
  }
638924
638931
  const result = await installLatest(channel2);
638925
- const currentVersion = "1.4.471";
638932
+ const currentVersion = "1.4.472";
638926
638933
  const latencyMs = Date.now() - startTime2;
638927
638934
  if (result.lockFailed) {
638928
638935
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -639059,17 +639066,17 @@ function PackageManagerAutoUpdater(t0) {
639059
639066
  const maxVersion = await getMaxVersion();
639060
639067
  if (maxVersion && latest && gt(latest, maxVersion)) {
639061
639068
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
639062
- if (gte("1.4.471", maxVersion)) {
639063
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.471"} is already at or above maxVersion ${maxVersion}, skipping update`);
639069
+ if (gte("1.4.472", maxVersion)) {
639070
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.472"} is already at or above maxVersion ${maxVersion}, skipping update`);
639064
639071
  setUpdateAvailable(false);
639065
639072
  return;
639066
639073
  }
639067
639074
  latest = maxVersion;
639068
639075
  }
639069
- const hasUpdate = latest && !gte("1.4.471", latest) && !shouldSkipVersion(latest);
639076
+ const hasUpdate = latest && !gte("1.4.472", latest) && !shouldSkipVersion(latest);
639070
639077
  setUpdateAvailable(!!hasUpdate);
639071
639078
  if (hasUpdate) {
639072
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.471"} -> ${latest}`);
639079
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.472"} -> ${latest}`);
639073
639080
  }
639074
639081
  };
639075
639082
  $3[0] = t1;
@@ -639103,7 +639110,7 @@ function PackageManagerAutoUpdater(t0) {
639103
639110
  wrap: "truncate",
639104
639111
  children: [
639105
639112
  "currentVersion: ",
639106
- "1.4.471"
639113
+ "1.4.472"
639107
639114
  ]
639108
639115
  });
639109
639116
  $3[3] = verbose;
@@ -647267,7 +647274,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
647267
647274
  project_dir: getOriginalCwd(),
647268
647275
  added_dirs: addedDirs
647269
647276
  },
647270
- version: "1.4.471",
647277
+ version: "1.4.472",
647271
647278
  output_style: {
647272
647279
  name: outputStyleName
647273
647280
  },
@@ -649446,7 +649453,7 @@ var init_user = __esm(() => {
649446
649453
  deviceId,
649447
649454
  sessionId: getSessionId(),
649448
649455
  email: getEmail(),
649449
- appVersion: "1.4.471",
649456
+ appVersion: "1.4.472",
649450
649457
  platform: getHostPlatformForAnalytics(),
649451
649458
  organizationUuid,
649452
649459
  accountUuid,
@@ -658885,7 +658892,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
658885
658892
  } catch {}
658886
658893
  const data = {
658887
658894
  trigger,
658888
- version: "1.4.471",
658895
+ version: "1.4.472",
658889
658896
  platform: process.platform,
658890
658897
  transcript,
658891
658898
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -670853,7 +670860,7 @@ function WelcomeV2() {
670853
670860
  dimColor: true,
670854
670861
  children: [
670855
670862
  "v",
670856
- "1.4.471"
670863
+ "1.4.472"
670857
670864
  ]
670858
670865
  })
670859
670866
  ]
@@ -671860,7 +671867,7 @@ function completeOnboarding() {
671860
671867
  saveGlobalConfig((current) => ({
671861
671868
  ...current,
671862
671869
  hasCompletedOnboarding: true,
671863
- lastOnboardingVersion: "1.4.471"
671870
+ lastOnboardingVersion: "1.4.472"
671864
671871
  }));
671865
671872
  }
671866
671873
  function showDialog(root2, renderer) {
@@ -676793,7 +676800,7 @@ function appendToLog(path29, message) {
676793
676800
  cwd: getFsImplementation().cwd(),
676794
676801
  userType: "external",
676795
676802
  sessionId: getSessionId(),
676796
- version: "1.4.471"
676803
+ version: "1.4.472"
676797
676804
  };
676798
676805
  getLogWriter(path29).write(messageWithTimestamp);
676799
676806
  }
@@ -680898,8 +680905,8 @@ async function getEnvLessBridgeConfig() {
680898
680905
  }
680899
680906
  async function checkEnvLessBridgeMinVersion() {
680900
680907
  const cfg = await getEnvLessBridgeConfig();
680901
- if (cfg.min_version && lt("1.4.471", cfg.min_version)) {
680902
- return `Your version of RAYU (${"1.4.471"}) is too old for Remote Control.
680908
+ if (cfg.min_version && lt("1.4.472", cfg.min_version)) {
680909
+ return `Your version of RAYU (${"1.4.472"}) is too old for Remote Control.
680903
680910
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
680904
680911
  }
680905
680912
  return null;
@@ -681372,7 +681379,7 @@ async function initBridgeCore(params) {
681372
681379
  const rawApi = createBridgeApiClient({
681373
681380
  baseUrl,
681374
681381
  getAccessToken,
681375
- runnerVersion: "1.4.471",
681382
+ runnerVersion: "1.4.472",
681376
681383
  onDebug: logForDebugging,
681377
681384
  onAuth401,
681378
681385
  getTrustedDeviceToken
@@ -686727,7 +686734,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
686727
686734
  setCwd(cwd3);
686728
686735
  const server = new Server({
686729
686736
  name: "claude/tengu",
686730
- version: "1.4.471"
686737
+ version: "1.4.472"
686731
686738
  }, {
686732
686739
  capabilities: {
686733
686740
  tools: {}
@@ -689256,7 +689263,7 @@ ${customInstructions}` : customInstructions;
689256
689263
  }
689257
689264
  }
689258
689265
  logForDiagnosticsNoPII("info", "started", {
689259
- version: "1.4.471",
689266
+ version: "1.4.472",
689260
689267
  is_native_binary: isInBundledMode()
689261
689268
  });
689262
689269
  registerCleanup(async () => {
@@ -689975,7 +689982,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
689975
689982
  pendingHookMessages
689976
689983
  }, renderAndRun);
689977
689984
  }
689978
- }).version(`1.4.471 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689985
+ }).version(`1.4.472 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
689979
689986
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
689980
689987
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
689981
689988
  if (canUserConfigureAdvisor()) {
@@ -690435,7 +690442,7 @@ if (false) {}
690435
690442
  async function main2() {
690436
690443
  const args = process.argv.slice(2);
690437
690444
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
690438
- console.log(`${"1.4.471"} (Rayu-CLI)`);
690445
+ console.log(`${"1.4.472"} (Rayu-CLI)`);
690439
690446
  return;
690440
690447
  }
690441
690448
  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.471",
3
+ "version": "1.4.472",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {