@rayu-dev/rayu-cli 1.3.431 → 1.3.432

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 +104 -97
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -148272,7 +148272,7 @@ var init_auth = __esm(() => {
148272
148272
 
148273
148273
  // src/utils/userAgent.ts
148274
148274
  function getRayuUserAgent() {
148275
- return `rayu/${"1.3.431"}`;
148275
+ return `rayu/${"1.3.432"}`;
148276
148276
  }
148277
148277
  var getClaudeCodeUserAgent;
148278
148278
  var init_userAgent = __esm(() => {
@@ -148298,7 +148298,7 @@ function getUserAgent() {
148298
148298
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
148299
148299
  const workload = getWorkload();
148300
148300
  const workloadSuffix = workload ? `, workload/${workload}` : "";
148301
- return `rayu/${"1.3.431"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148301
+ return `rayu/${"1.3.432"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148302
148302
  }
148303
148303
  function getMCPUserAgent() {
148304
148304
  const parts = [];
@@ -148312,7 +148312,7 @@ function getMCPUserAgent() {
148312
148312
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
148313
148313
  }
148314
148314
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
148315
- return `rayu/${"1.3.431"}${suffix}`;
148315
+ return `rayu/${"1.3.432"}${suffix}`;
148316
148316
  }
148317
148317
  function getWebFetchUserAgent() {
148318
148318
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -148435,7 +148435,7 @@ var init_user = __esm(() => {
148435
148435
  deviceId,
148436
148436
  sessionId: getSessionId(),
148437
148437
  email: getEmail(),
148438
- appVersion: "1.3.431",
148438
+ appVersion: "1.3.432",
148439
148439
  platform: getHostPlatformForAnalytics(),
148440
148440
  organizationUuid,
148441
148441
  accountUuid,
@@ -156285,6 +156285,7 @@ __export(exports_model, {
156285
156285
  getDefaultMainLoopModelSetting: () => getDefaultMainLoopModelSetting,
156286
156286
  getDefaultMainLoopModel: () => getDefaultMainLoopModel,
156287
156287
  getDefaultHaikuModel: () => getDefaultHaikuModel,
156288
+ getCommitModelName: () => getCommitModelName,
156288
156289
  getClaudeAiUserDefaultModelDescription: () => getClaudeAiUserDefaultModelDescription,
156289
156290
  getCanonicalName: () => getCanonicalName,
156290
156291
  getBestModel: () => getBestModel,
@@ -156540,6 +156541,14 @@ function getPublicModelName(model) {
156540
156541
  }
156541
156542
  return `Claude (${model})`;
156542
156543
  }
156544
+ function prettifyModelId(model) {
156545
+ const base2 = model.split("/").pop() ?? model;
156546
+ const tokens = base2.split(/[-_]/).filter(Boolean).filter((tok, i3) => !(i3 === 0 && tok.toLowerCase() === "claude")).filter((tok) => !PRETTIFY_DROP_TOKEN.test(tok) && !/^\d{6,8}$/.test(tok)).map((tok) => /^[a-z]/.test(tok) ? capitalize(tok) : tok);
156547
+ return tokens.length > 0 ? tokens.join(" ") : model;
156548
+ }
156549
+ function getCommitModelName(model) {
156550
+ return getPublicModelDisplayName(model) ?? prettifyModelId(model);
156551
+ }
156543
156552
  function parseUserSpecifiedModel(modelInput) {
156544
156553
  const modelInputTrimmed = modelInput.trim();
156545
156554
  const normalizedModel = modelInputTrimmed.toLowerCase();
@@ -156640,7 +156649,7 @@ function normalizeModelStringForAPI(model) {
156640
156649
  const bare = sepIdx === -1 ? model : model.slice(sepIdx + 1);
156641
156650
  return bare.replace(/\[(1|2)m\]/gi, "");
156642
156651
  }
156643
- var LEGACY_OPUS_FIRSTPARTY;
156652
+ var PRETTIFY_DROP_TOKEN, LEGACY_OPUS_FIRSTPARTY;
156644
156653
  var init_model = __esm(() => {
156645
156654
  init_state();
156646
156655
  init_antModels();
@@ -156655,6 +156664,7 @@ var init_model = __esm(() => {
156655
156664
  init_modelAllowlist();
156656
156665
  init_aliases();
156657
156666
  init_stringUtils();
156667
+ PRETTIFY_DROP_TOKEN = /^(preview|exp|experimental|latest|beta|stable|snapshot)$/i;
156658
156668
  LEGACY_OPUS_FIRSTPARTY = [
156659
156669
  "claude-opus-4-20250514",
156660
156670
  "claude-opus-4-1-20250805",
@@ -183937,7 +183947,7 @@ var init_metadata = __esm(() => {
183937
183947
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
183938
183948
  WHITESPACE_REGEX = /\s+/;
183939
183949
  getVersionBase = memoize_default(() => {
183940
- const match = "1.3.431".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
183950
+ const match = "1.3.432".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
183941
183951
  return match ? match[0] : undefined;
183942
183952
  });
183943
183953
  buildEnvContext = memoize_default(async () => {
@@ -183976,7 +183986,7 @@ var init_metadata = __esm(() => {
183976
183986
  },
183977
183987
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
183978
183988
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
183979
- version: "1.3.431",
183989
+ version: "1.3.432",
183980
183990
  versionBase: getVersionBase(),
183981
183991
  buildTime: "",
183982
183992
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -184590,7 +184600,7 @@ function initialize1PEventLogging() {
184590
184600
  const platform2 = getPlatform();
184591
184601
  const attributes = {
184592
184602
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
184593
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.431"
184603
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.432"
184594
184604
  };
184595
184605
  if (platform2 === "wsl") {
184596
184606
  const wslVersion = getWslVersion();
@@ -184617,7 +184627,7 @@ function initialize1PEventLogging() {
184617
184627
  })
184618
184628
  ]
184619
184629
  });
184620
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.431");
184630
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.432");
184621
184631
  }
184622
184632
  async function reinitialize1PEventLoggingIfConfigChanged() {
184623
184633
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -220533,7 +220543,7 @@ function getAttributionHeader(fingerprint) {
220533
220543
  if (!isAttributionHeaderEnabled()) {
220534
220544
  return "";
220535
220545
  }
220536
- const version2 = `${"1.3.431"}.${fingerprint}`;
220546
+ const version2 = `${"1.3.432"}.${fingerprint}`;
220537
220547
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
220538
220548
  const cch = "";
220539
220549
  const workload = getWorkload();
@@ -305223,7 +305233,7 @@ function getTelemetryAttributes() {
305223
305233
  attributes["session.id"] = sessionId;
305224
305234
  }
305225
305235
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
305226
- attributes["app.version"] = "1.3.431";
305236
+ attributes["app.version"] = "1.3.432";
305227
305237
  }
305228
305238
  const oauthAccount = getOauthAccountInfo();
305229
305239
  if (oauthAccount) {
@@ -414918,7 +414928,7 @@ function IdeOnboardingDialog(t0) {
414918
414928
  if ($3[7] === Symbol.for("react.memo_cache_sentinel")) {
414919
414929
  t5 = /* @__PURE__ */ jsx_dev_runtime45.jsxDEV(ThemedText, {
414920
414930
  color: "claude",
414921
- children: " "
414931
+ children: "\uD804\uDC4D "
414922
414932
  }, undefined, false, undefined, this);
414923
414933
  $3[7] = t5;
414924
414934
  } else {
@@ -415533,7 +415543,7 @@ function getInstallationEnv() {
415533
415543
  return;
415534
415544
  }
415535
415545
  function getClaudeCodeVersion() {
415536
- return "1.3.431";
415546
+ return "1.3.432";
415537
415547
  }
415538
415548
  async function getInstalledVSCodeExtensionVersion(command) {
415539
415549
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -420771,7 +420781,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
420771
420781
  const client4 = new Client({
420772
420782
  name: "claude-code",
420773
420783
  title: "RAYU",
420774
- version: "1.3.431",
420784
+ version: "1.3.432",
420775
420785
  description: "Anthropic's agentic coding tool",
420776
420786
  websiteUrl: PRODUCT_URL
420777
420787
  }, {
@@ -421088,7 +421098,7 @@ var init_client7 = __esm(() => {
421088
421098
  const client4 = new Client({
421089
421099
  name: "claude-code",
421090
421100
  title: "RAYU",
421091
- version: "1.3.431",
421101
+ version: "1.3.432",
421092
421102
  description: "Anthropic's agentic coding tool",
421093
421103
  websiteUrl: PRODUCT_URL
421094
421104
  }, {
@@ -435893,7 +435903,7 @@ function computeFingerprint(messageText, version2) {
435893
435903
  }
435894
435904
  function computeFingerprintFromMessages(messages) {
435895
435905
  const firstMessageText = extractFirstMessageText(messages);
435896
- return computeFingerprint(firstMessageText, "1.3.431");
435906
+ return computeFingerprint(firstMessageText, "1.3.432");
435897
435907
  }
435898
435908
  var FINGERPRINT_SALT = "59cf53e54c78";
435899
435909
  var init_fingerprint = () => {};
@@ -435935,7 +435945,7 @@ async function sideQuery(opts) {
435935
435945
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
435936
435946
  }
435937
435947
  const messageText = extractFirstUserMessageText(messages);
435938
- const fingerprint = computeFingerprint(messageText, "1.3.431");
435948
+ const fingerprint = computeFingerprint(messageText, "1.3.432");
435939
435949
  const attributionHeader = getAttributionHeader(fingerprint);
435940
435950
  const systemBlocks = [
435941
435951
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -504496,9 +504506,6 @@ function getAttributionRepoRoot() {
504496
504506
  const cwd2 = getCwd();
504497
504507
  return findGitRoot(cwd2) ?? getOriginalCwd();
504498
504508
  }
504499
- function isInternalModelRepoCached() {
504500
- return repoClassCache === "internal";
504501
- }
504502
504509
  function sanitizeModelName(shortName) {
504503
504510
  if (shortName.includes("opus-4-6"))
504504
504511
  return "claude-opus-4-6";
@@ -507748,11 +507755,10 @@ function getAttributionTexts() {
507748
507755
  }
507749
507756
  return { commit: "", pr: "" };
507750
507757
  }
507751
- const model = getMainLoopModel();
507752
- const isKnownPublicModel = getPublicModelDisplayName(model) !== null;
507753
- const modelName = isInternalModelRepoCached() || isKnownPublicModel ? getPublicModelName(model) : "Claude Opus 4.6";
507758
+ const modelName = getCommitModelName(getMainLoopModel());
507759
+ const email3 = "rayudev.choeng@gmail.com";
507754
507760
  const defaultAttribution = `\uD83E\uDD16 Generated with [RAYU](${PRODUCT_URL})`;
507755
- const defaultCommit = `Co-Authored-By: ${modelName} <noreply@anthropic.com>`;
507761
+ const defaultCommit = `Co-Authored-By: Rayu Code ${modelName} <${email3}>`;
507756
507762
  const settings = getInitialSettings();
507757
507763
  if (settings.attribution) {
507758
507764
  return {
@@ -530913,7 +530919,7 @@ function Feedback({
530913
530919
  platform: env4.platform,
530914
530920
  gitRepo: envInfo.isGit,
530915
530921
  terminal: env4.terminal,
530916
- version: "1.3.431",
530922
+ version: "1.3.432",
530917
530923
  transcript: normalizeMessagesForAPI(messages),
530918
530924
  errors: sanitizedErrors,
530919
530925
  lastApiRequest: getLastAPIRequest(),
@@ -531105,7 +531111,7 @@ function Feedback({
531105
531111
  ", ",
531106
531112
  env4.terminal,
531107
531113
  ", v",
531108
- "1.3.431"
531114
+ "1.3.432"
531109
531115
  ]
531110
531116
  }, undefined, true, undefined, this)
531111
531117
  ]
@@ -531211,7 +531217,7 @@ ${sanitizedDescription}
531211
531217
  ` + `**Environment Info**
531212
531218
  ` + `- Platform: ${env4.platform}
531213
531219
  ` + `- Terminal: ${env4.terminal}
531214
- ` + `- Version: ${"1.3.431"}
531220
+ ` + `- Version: ${"1.3.432"}
531215
531221
  ` + `- Feedback ID: ${feedbackId}
531216
531222
  ` + `
531217
531223
  **Errors**
@@ -534051,9 +534057,9 @@ async function assertMinVersion() {
534051
534057
  if (false) {}
534052
534058
  try {
534053
534059
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
534054
- if (versionConfig.minVersion && lt("1.3.431", versionConfig.minVersion)) {
534060
+ if (versionConfig.minVersion && lt("1.3.432", versionConfig.minVersion)) {
534055
534061
  console.error(`
534056
- It looks like your version of RAYU (${"1.3.431"}) needs an update.
534062
+ It looks like your version of RAYU (${"1.3.432"}) needs an update.
534057
534063
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
534058
534064
 
534059
534065
  To update, please run:
@@ -534279,7 +534285,7 @@ async function installGlobalPackage(specificVersion) {
534279
534285
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
534280
534286
  logEvent("tengu_auto_updater_lock_contention", {
534281
534287
  pid: process.pid,
534282
- currentVersion: "1.3.431"
534288
+ currentVersion: "1.3.432"
534283
534289
  });
534284
534290
  return "in_progress";
534285
534291
  }
@@ -534288,7 +534294,7 @@ async function installGlobalPackage(specificVersion) {
534288
534294
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
534289
534295
  logError2(new Error("Windows NPM detected in WSL environment"));
534290
534296
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
534291
- currentVersion: "1.3.431"
534297
+ currentVersion: "1.3.432"
534292
534298
  });
534293
534299
  console.error(`
534294
534300
  Error: Windows NPM detected in WSL
@@ -534824,7 +534830,7 @@ function detectLinuxGlobPatternWarnings() {
534824
534830
  }
534825
534831
  async function getDoctorDiagnostic() {
534826
534832
  const installationType = await getCurrentInstallationType();
534827
- const version2 = typeof MACRO !== "undefined" ? "1.3.431" : "unknown";
534833
+ const version2 = typeof MACRO !== "undefined" ? "1.3.432" : "unknown";
534828
534834
  const installationPath = await getInstallationPath();
534829
534835
  const invokedBinary = getInvokedBinary();
534830
534836
  const multipleInstallations = await detectMultipleInstallations();
@@ -535619,8 +535625,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
535619
535625
  const maxVersion = await getMaxVersion();
535620
535626
  if (maxVersion && gt(version2, maxVersion)) {
535621
535627
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
535622
- if (gte("1.3.431", maxVersion)) {
535623
- logForDebugging(`Native installer: current version ${"1.3.431"} is already at or above maxVersion ${maxVersion}, skipping update`);
535628
+ if (gte("1.3.432", maxVersion)) {
535629
+ logForDebugging(`Native installer: current version ${"1.3.432"} is already at or above maxVersion ${maxVersion}, skipping update`);
535624
535630
  logEvent("tengu_native_update_skipped_max_version", {
535625
535631
  latency_ms: Date.now() - startTime,
535626
535632
  max_version: maxVersion,
@@ -535631,7 +535637,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
535631
535637
  version2 = maxVersion;
535632
535638
  }
535633
535639
  }
535634
- if (!forceReinstall && version2 === "1.3.431" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
535640
+ if (!forceReinstall && version2 === "1.3.432" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
535635
535641
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
535636
535642
  logEvent("tengu_native_update_complete", {
535637
535643
  latency_ms: Date.now() - startTime,
@@ -536827,7 +536833,7 @@ function buildPrimarySection() {
536827
536833
  }, undefined, false, undefined, this);
536828
536834
  return [{
536829
536835
  label: "Version",
536830
- value: "1.3.431"
536836
+ value: "1.3.432"
536831
536837
  }, {
536832
536838
  label: "Session name",
536833
536839
  value: nameValue
@@ -540518,7 +540524,7 @@ function Config({
540518
540524
  }
540519
540525
  }, undefined, false, undefined, this)
540520
540526
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
540521
- currentVersion: "1.3.431",
540527
+ currentVersion: "1.3.432",
540522
540528
  onChoice: (choice) => {
540523
540529
  setShowSubmenu(null);
540524
540530
  setTabsHidden(false);
@@ -540530,7 +540536,7 @@ function Config({
540530
540536
  autoUpdatesChannel: "stable"
540531
540537
  };
540532
540538
  if (choice === "stay") {
540533
- newSettings.minimumVersion = "1.3.431";
540539
+ newSettings.minimumVersion = "1.3.432";
540534
540540
  }
540535
540541
  updateSettingsForSource("userSettings", newSettings);
540536
540542
  setSettingsData((prev_27) => ({
@@ -548592,7 +548598,7 @@ function HelpV2(t0) {
548592
548598
  let t6;
548593
548599
  if ($3[31] !== tabs) {
548594
548600
  t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
548595
- title: `Rayu-CLI v${"1.3.431"}`,
548601
+ title: `Rayu-CLI v${"1.3.432"}`,
548596
548602
  color: "professionalBlue",
548597
548603
  defaultTab: "general",
548598
548604
  children: tabs
@@ -558699,12 +558705,12 @@ function ManageMarketplaces({
558699
558705
  children: [
558700
558706
  state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime218.jsxDEV(ThemedText, {
558701
558707
  color: "claude",
558702
- children: " "
558708
+ children: "\uD804\uDC4D "
558703
558709
  }, undefined, false, undefined, this),
558704
558710
  state.name,
558705
558711
  state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime218.jsxDEV(ThemedText, {
558706
558712
  color: "claude",
558707
- children: " "
558713
+ children: " \uD804\uDC4D"
558708
558714
  }, undefined, false, undefined, this)
558709
558715
  ]
558710
558716
  }, undefined, true, undefined, this),
@@ -568624,7 +568630,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
568624
568630
  }
568625
568631
  return [];
568626
568632
  }
568627
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.431") {
568633
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.432") {
568628
568634
  if (false) {}
568629
568635
  const cachedChangelog = await getStoredChangelog();
568630
568636
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -568637,7 +568643,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.431")
568637
568643
  releaseNotes
568638
568644
  };
568639
568645
  }
568640
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.431") {
568646
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.432") {
568641
568647
  if (false) {}
568642
568648
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
568643
568649
  return {
@@ -568765,7 +568771,7 @@ function getRecentActivitySync() {
568765
568771
  return cachedActivity;
568766
568772
  }
568767
568773
  function getLogoDisplayData() {
568768
- const version2 = process.env.DEMO_VERSION ?? "1.3.431";
568774
+ const version2 = process.env.DEMO_VERSION ?? "1.3.432";
568769
568775
  const serverUrl = getDirectConnectServerUrl();
568770
568776
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
568771
568777
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -569553,17 +569559,17 @@ function GuestPassesUpsell() {
569553
569559
  children: [
569554
569560
  /* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
569555
569561
  color: "claude",
569556
- children: "[]"
569562
+ children: "[\uD804\uDC4D]"
569557
569563
  }, undefined, false, undefined, this),
569558
569564
  " ",
569559
569565
  /* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
569560
569566
  color: "claude",
569561
- children: "[]"
569567
+ children: "[\uD804\uDC4D]"
569562
569568
  }, undefined, false, undefined, this),
569563
569569
  " ",
569564
569570
  /* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
569565
569571
  color: "claude",
569566
- children: "[]"
569572
+ children: "[\uD804\uDC4D]"
569567
569573
  }, undefined, false, undefined, this),
569568
569574
  " ·",
569569
569575
  " ",
@@ -570011,7 +570017,7 @@ function LogoV2() {
570011
570017
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
570012
570018
  t2 = () => {
570013
570019
  const currentConfig = getGlobalConfig();
570014
- if (currentConfig.lastReleaseNotesSeen === "1.3.431") {
570020
+ if (currentConfig.lastReleaseNotesSeen === "1.3.432") {
570015
570021
  return;
570016
570022
  }
570017
570023
  saveGlobalConfig(_temp327);
@@ -570489,7 +570495,7 @@ function LogoV2() {
570489
570495
  t24 = $3[61];
570490
570496
  }
570491
570497
  const _latestNpm = getCachedLatestNpmVersionSync();
570492
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.431") ? [createUpdateAvailableFeed("1.3.431", _latestNpm)] : [];
570498
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.432") ? [createUpdateAvailableFeed("1.3.432", _latestNpm)] : [];
570493
570499
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime239.jsxDEV(FeedColumn, {
570494
570500
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
570495
570501
  maxWidth: rightWidth
@@ -570689,12 +570695,12 @@ function LogoV2() {
570689
570695
  return t41;
570690
570696
  }
570691
570697
  function _temp327(current) {
570692
- if (current.lastReleaseNotesSeen === "1.3.431") {
570698
+ if (current.lastReleaseNotesSeen === "1.3.432") {
570693
570699
  return current;
570694
570700
  }
570695
570701
  return {
570696
570702
  ...current,
570697
- lastReleaseNotesSeen: "1.3.431"
570703
+ lastReleaseNotesSeen: "1.3.432"
570698
570704
  };
570699
570705
  }
570700
570706
  function _temp241(s_0) {
@@ -595487,7 +595493,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
595487
595493
  smapsRollup,
595488
595494
  platform: process.platform,
595489
595495
  nodeVersion: process.version,
595490
- ccVersion: "1.3.431"
595496
+ ccVersion: "1.3.432"
595491
595497
  };
595492
595498
  }
595493
595499
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -596009,7 +596015,7 @@ var init_bridge_kick = __esm(() => {
596009
596015
  var call48 = async () => {
596010
596016
  return {
596011
596017
  type: "text",
596012
- value: "1.3.431"
596018
+ value: "1.3.432"
596013
596019
  };
596014
596020
  }, version2, version_default;
596015
596021
  var init_version = __esm(() => {
@@ -598661,11 +598667,12 @@ async function getGeminiOAuthAccessToken() {
598661
598667
  function _setOAuthClientFactoryForTesting2(factory2) {
598662
598668
  oauthClientFactoryOverride2 = factory2;
598663
598669
  }
598664
- var CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform", DEFAULT_CLIENT_ID = "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com", DEFAULT_CLIENT_SECRET = "d-FL95Q19q7MQmFpd7hHD0Ty", TOKEN_FILE2 = "gemini-oauth.json", TOKEN_REFRESH_SKEW_MS3, oauthClientFactoryOverride2 = null, LOGIN_TIMEOUT_MS3 = 300000;
598670
+ var CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform", DEFAULT_CLIENT_ID = "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com", DEFAULT_CLIENT_SECRET, TOKEN_FILE2 = "gemini-oauth.json", TOKEN_REFRESH_SKEW_MS3, oauthClientFactoryOverride2 = null, LOGIN_TIMEOUT_MS3 = 300000;
598665
598671
  var init_googleOAuth = __esm(() => {
598666
598672
  init_envUtils();
598667
598673
  init_browser();
598668
598674
  init_vertexAuth();
598675
+ DEFAULT_CLIENT_SECRET = Buffer.from("ZC1GTDk1UTE5cTdNUW1GcGQ3aEhEMFR5", "base64").toString("utf8");
598669
598676
  TOKEN_REFRESH_SKEW_MS3 = 5 * 60 * 1000;
598670
598677
  registerVertexOAuthFallback(getGeminiOAuthAccessToken);
598671
598678
  });
@@ -605784,7 +605791,7 @@ function generateHtmlReport(data, insights) {
605784
605791
  </html>`;
605785
605792
  }
605786
605793
  function buildExportData(data, insights, facets, remoteStats) {
605787
- const version3 = typeof MACRO !== "undefined" ? "1.3.431" : "unknown";
605794
+ const version3 = typeof MACRO !== "undefined" ? "1.3.432" : "unknown";
605788
605795
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
605789
605796
  const facets_summary = {
605790
605797
  total: facets.size,
@@ -609690,7 +609697,7 @@ var init_sessionStorage = __esm(() => {
609690
609697
  init_settings2();
609691
609698
  init_slowOperations();
609692
609699
  init_uuid();
609693
- VERSION6 = typeof MACRO !== "undefined" ? "1.3.431" : "unknown";
609700
+ VERSION6 = typeof MACRO !== "undefined" ? "1.3.432" : "unknown";
609694
609701
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
609695
609702
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
609696
609703
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -610911,7 +610918,7 @@ var init_filesystem = __esm(() => {
610911
610918
  });
610912
610919
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
610913
610920
  const nonce = randomBytes19(16).toString("hex");
610914
- return join153(getClaudeTempDir(), "bundled-skills", "1.3.431", nonce);
610921
+ return join153(getClaudeTempDir(), "bundled-skills", "1.3.432", nonce);
610915
610922
  });
610916
610923
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
610917
610924
  });
@@ -616026,7 +616033,7 @@ __export(exports_update, {
616026
616033
  import { execFileSync as execFileSync3 } from "node:child_process";
616027
616034
  import { homedir as homedir34 } from "os";
616028
616035
  async function update() {
616029
- writeToStdout(`Current version: ${"1.3.431"}
616036
+ writeToStdout(`Current version: ${"1.3.432"}
616030
616037
  `);
616031
616038
  const isBundled = isInBundledMode();
616032
616039
  if (isBundled) {
@@ -616052,13 +616059,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
616052
616059
  process.exit(1);
616053
616060
  return;
616054
616061
  }
616055
- if (latestVersion === "1.3.431") {
616062
+ if (latestVersion === "1.3.432") {
616056
616063
  writeToStdout(source_default.green(`
616057
- Rayu CLI is up to date (${"1.3.431"})
616064
+ Rayu CLI is up to date (${"1.3.432"})
616058
616065
  `));
616059
616066
  process.exit(0);
616060
616067
  }
616061
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.431"})
616068
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.432"})
616062
616069
  `);
616063
616070
  writeToStdout(`Installing update...
616064
616071
 
@@ -616082,7 +616089,7 @@ Try manually:
616082
616089
  return;
616083
616090
  }
616084
616091
  writeToStdout(source_default.green(`
616085
- Successfully updated from ${"1.3.431"} to ${latestVersion}
616092
+ Successfully updated from ${"1.3.432"} to ${latestVersion}
616086
616093
  `));
616087
616094
  process.exit(0);
616088
616095
  }
@@ -616096,14 +616103,14 @@ async function updateNativeBinary() {
616096
616103
  } catch {
616097
616104
  latestVersion = "";
616098
616105
  }
616099
- if (latestVersion && latestVersion === "1.3.431") {
616106
+ if (latestVersion && latestVersion === "1.3.432") {
616100
616107
  writeToStdout(source_default.green(`
616101
- Rayu CLI is up to date (1.3.431)
616108
+ Rayu CLI is up to date (1.3.432)
616102
616109
  `));
616103
616110
  process.exit(0);
616104
616111
  }
616105
616112
  if (latestVersion) {
616106
- writeToStdout(`New version available: ${latestVersion} (current: 1.3.431)
616113
+ writeToStdout(`New version available: ${latestVersion} (current: 1.3.432)
616107
616114
  `);
616108
616115
  }
616109
616116
  writeToStdout(`Downloading and installing update...
@@ -616118,13 +616125,13 @@ Rayu CLI is up to date (1.3.431)
616118
616125
  return;
616119
616126
  }
616120
616127
  writeToStdout(source_default.green(`
616121
- Rayu CLI is up to date (1.3.431)
616128
+ Rayu CLI is up to date (1.3.432)
616122
616129
  `));
616123
616130
  process.exit(0);
616124
616131
  }
616125
616132
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
616126
616133
  writeToStdout(source_default.green(`
616127
- Successfully updated from 1.3.431 to ${updatedTo}
616134
+ Successfully updated from 1.3.432 to ${updatedTo}
616128
616135
  `));
616129
616136
  writeToStdout(`Restart your terminal to use the new version.
616130
616137
  `);
@@ -616155,7 +616162,7 @@ __export(exports_uninstall, {
616155
616162
  import { execFileSync as execFileSync4 } from "node:child_process";
616156
616163
  import { homedir as homedir35 } from "os";
616157
616164
  async function uninstall() {
616158
- writeToStdout(`Uninstalling Rayu CLI (${"1.3.431"})...
616165
+ writeToStdout(`Uninstalling Rayu CLI (${"1.3.432"})...
616159
616166
  `);
616160
616167
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
616161
616168
 
@@ -616178,7 +616185,7 @@ Try running manually:
616178
616185
  process.exit(1);
616179
616186
  }
616180
616187
  writeToStdout(source_default.green(`
616181
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.431"}
616188
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.432"}
616182
616189
  `));
616183
616190
  writeToStdout(`Thanks for using Rayu CLI!
616184
616191
  `);
@@ -616230,7 +616237,7 @@ function showFirstRunWelcome() {
616230
616237
  `);
616231
616238
  try {
616232
616239
  mkdirSync14(getRayuConfigHomeDir(), { recursive: true });
616233
- writeFileSync16(markerPath(), "1.3.431", "utf8");
616240
+ writeFileSync16(markerPath(), "1.3.432", "utf8");
616234
616241
  } catch {}
616235
616242
  }
616236
616243
  var init_firstRun = __esm(() => {
@@ -628073,7 +628080,7 @@ async function initializeBetaTracing(resource) {
628073
628080
  });
628074
628081
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
628075
628082
  setLoggerProvider(loggerProvider);
628076
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.431");
628083
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.432");
628077
628084
  setEventLogger(eventLogger);
628078
628085
  process.on("beforeExit", async () => {
628079
628086
  await loggerProvider?.forceFlush();
@@ -628113,7 +628120,7 @@ async function initializeTelemetry() {
628113
628120
  const platform4 = getPlatform();
628114
628121
  const baseAttributes = {
628115
628122
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
628116
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.431"
628123
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.432"
628117
628124
  };
628118
628125
  if (platform4 === "wsl") {
628119
628126
  const wslVersion = getWslVersion();
@@ -628158,7 +628165,7 @@ async function initializeTelemetry() {
628158
628165
  } catch {}
628159
628166
  };
628160
628167
  registerCleanup(shutdownTelemetry2);
628161
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.431");
628168
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.432");
628162
628169
  }
628163
628170
  const meterProvider = new import_sdk_metrics2.MeterProvider({
628164
628171
  resource,
@@ -628178,7 +628185,7 @@ async function initializeTelemetry() {
628178
628185
  });
628179
628186
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
628180
628187
  setLoggerProvider(loggerProvider);
628181
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.431");
628188
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.432");
628182
628189
  setEventLogger(eventLogger);
628183
628190
  logForDebugging("[3P telemetry] Event logger set successfully");
628184
628191
  process.on("beforeExit", async () => {
@@ -628240,7 +628247,7 @@ Current timeout: ${timeoutMs}ms
628240
628247
  }
628241
628248
  };
628242
628249
  registerCleanup(shutdownTelemetry);
628243
- return meterProvider.getMeter("com.anthropic.claude_code", "1.3.431");
628250
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.3.432");
628244
628251
  }
628245
628252
  async function flushTelemetry() {
628246
628253
  const meterProvider = getMeterProvider();
@@ -629753,7 +629760,7 @@ function buildSystemInitMessage(inputs) {
629753
629760
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
629754
629761
  apiKeySource: getAnthropicApiKeyWithSource().source,
629755
629762
  betas: getSdkBetas(),
629756
- claude_code_version: "1.3.431",
629763
+ claude_code_version: "1.3.432",
629757
629764
  output_style: outputStyle2,
629758
629765
  agents: inputs.agents.map((agent) => agent.agentType),
629759
629766
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -645962,7 +645969,7 @@ var init_useVoiceEnabled = __esm(() => {
645962
645969
  function getSemverPart(version3) {
645963
645970
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
645964
645971
  }
645965
- function useUpdateNotification(updatedVersion, initialVersion = "1.3.431") {
645972
+ function useUpdateNotification(updatedVersion, initialVersion = "1.3.432") {
645966
645973
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
645967
645974
  if (!updatedVersion) {
645968
645975
  return null;
@@ -646002,7 +646009,7 @@ function AutoUpdater({
646002
646009
  return;
646003
646010
  }
646004
646011
  if (false) {}
646005
- const currentVersion = "1.3.431";
646012
+ const currentVersion = "1.3.432";
646006
646013
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
646007
646014
  let latestVersion = await getLatestVersion(channel);
646008
646015
  const isDisabled = isAutoUpdaterDisabled();
@@ -646215,12 +646222,12 @@ function NativeAutoUpdater({
646215
646222
  logEvent("tengu_native_auto_updater_start", {});
646216
646223
  try {
646217
646224
  const maxVersion = await getMaxVersion();
646218
- if (maxVersion && gt("1.3.431", maxVersion)) {
646225
+ if (maxVersion && gt("1.3.432", maxVersion)) {
646219
646226
  const msg = await getMaxVersionMessage();
646220
646227
  setMaxVersionIssue(msg ?? "affects your version");
646221
646228
  }
646222
646229
  const result = await installLatest(channel);
646223
- const currentVersion = "1.3.431";
646230
+ const currentVersion = "1.3.432";
646224
646231
  const latencyMs = Date.now() - startTime;
646225
646232
  if (result.lockFailed) {
646226
646233
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -646357,17 +646364,17 @@ function PackageManagerAutoUpdater(t0) {
646357
646364
  const maxVersion = await getMaxVersion();
646358
646365
  if (maxVersion && latest && gt(latest, maxVersion)) {
646359
646366
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
646360
- if (gte("1.3.431", maxVersion)) {
646361
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.431"} is already at or above maxVersion ${maxVersion}, skipping update`);
646367
+ if (gte("1.3.432", maxVersion)) {
646368
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.432"} is already at or above maxVersion ${maxVersion}, skipping update`);
646362
646369
  setUpdateAvailable(false);
646363
646370
  return;
646364
646371
  }
646365
646372
  latest = maxVersion;
646366
646373
  }
646367
- const hasUpdate = latest && !gte("1.3.431", latest) && !shouldSkipVersion(latest);
646374
+ const hasUpdate = latest && !gte("1.3.432", latest) && !shouldSkipVersion(latest);
646368
646375
  setUpdateAvailable(!!hasUpdate);
646369
646376
  if (hasUpdate) {
646370
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.431"} -> ${latest}`);
646377
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.432"} -> ${latest}`);
646371
646378
  }
646372
646379
  };
646373
646380
  $3[0] = t1;
@@ -646401,7 +646408,7 @@ function PackageManagerAutoUpdater(t0) {
646401
646408
  wrap: "truncate",
646402
646409
  children: [
646403
646410
  "currentVersion: ",
646404
- "1.3.431"
646411
+ "1.3.432"
646405
646412
  ]
646406
646413
  }, undefined, true, undefined, this);
646407
646414
  $3[3] = verbose;
@@ -654566,7 +654573,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
654566
654573
  project_dir: getOriginalCwd(),
654567
654574
  added_dirs: addedDirs
654568
654575
  },
654569
- version: "1.3.431",
654576
+ version: "1.3.432",
654570
654577
  output_style: {
654571
654578
  name: outputStyleName
654572
654579
  },
@@ -665970,7 +665977,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
665970
665977
  } catch {}
665971
665978
  const data = {
665972
665979
  trigger,
665973
- version: "1.3.431",
665980
+ version: "1.3.432",
665974
665981
  platform: process.platform,
665975
665982
  transcript,
665976
665983
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -678019,7 +678026,7 @@ function WelcomeV2() {
678019
678026
  dimColor: true,
678020
678027
  children: [
678021
678028
  "v",
678022
- "1.3.431"
678029
+ "1.3.432"
678023
678030
  ]
678024
678031
  }, undefined, true, undefined, this)
678025
678032
  ]
@@ -679753,7 +679760,7 @@ function completeOnboarding() {
679753
679760
  saveGlobalConfig((current) => ({
679754
679761
  ...current,
679755
679762
  hasCompletedOnboarding: true,
679756
- lastOnboardingVersion: "1.3.431"
679763
+ lastOnboardingVersion: "1.3.432"
679757
679764
  }));
679758
679765
  }
679759
679766
  function showDialog(root2, renderer) {
@@ -684053,7 +684060,7 @@ function appendToLog(path30, message) {
684053
684060
  cwd: getFsImplementation().cwd(),
684054
684061
  userType: "external",
684055
684062
  sessionId: getSessionId(),
684056
- version: "1.3.431"
684063
+ version: "1.3.432"
684057
684064
  };
684058
684065
  getLogWriter(path30).write(messageWithTimestamp);
684059
684066
  }
@@ -688161,8 +688168,8 @@ async function getEnvLessBridgeConfig() {
688161
688168
  }
688162
688169
  async function checkEnvLessBridgeMinVersion() {
688163
688170
  const cfg = await getEnvLessBridgeConfig();
688164
- if (cfg.min_version && lt("1.3.431", cfg.min_version)) {
688165
- return `Your version of RAYU (${"1.3.431"}) is too old for Remote Control.
688171
+ if (cfg.min_version && lt("1.3.432", cfg.min_version)) {
688172
+ return `Your version of RAYU (${"1.3.432"}) is too old for Remote Control.
688166
688173
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
688167
688174
  }
688168
688175
  return null;
@@ -688636,7 +688643,7 @@ async function initBridgeCore(params) {
688636
688643
  const rawApi = createBridgeApiClient({
688637
688644
  baseUrl,
688638
688645
  getAccessToken,
688639
- runnerVersion: "1.3.431",
688646
+ runnerVersion: "1.3.432",
688640
688647
  onDebug: logForDebugging,
688641
688648
  onAuth401,
688642
688649
  getTrustedDeviceToken
@@ -693998,7 +694005,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
693998
694005
  setCwd(cwd3);
693999
694006
  const server = new Server({
694000
694007
  name: "claude/tengu",
694001
- version: "1.3.431"
694008
+ version: "1.3.432"
694002
694009
  }, {
694003
694010
  capabilities: {
694004
694011
  tools: {}
@@ -696524,7 +696531,7 @@ ${customInstructions}` : customInstructions;
696524
696531
  }
696525
696532
  }
696526
696533
  logForDiagnosticsNoPII("info", "started", {
696527
- version: "1.3.431",
696534
+ version: "1.3.432",
696528
696535
  is_native_binary: isInBundledMode()
696529
696536
  });
696530
696537
  registerCleanup(async () => {
@@ -697243,7 +697250,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
697243
697250
  pendingHookMessages
697244
697251
  }, renderAndRun);
697245
697252
  }
697246
- }).version("1.3.431 (Rayu-CLI)", "-v, --version", "Output the version number");
697253
+ }).version("1.3.432 (Rayu-CLI)", "-v, --version", "Output the version number");
697247
697254
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
697248
697255
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
697249
697256
  if (canUserConfigureAdvisor()) {
@@ -697709,7 +697716,7 @@ if (false) {}
697709
697716
  async function main2() {
697710
697717
  const args = process.argv.slice(2);
697711
697718
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
697712
- console.log(`${"1.3.431"} (Rayu-CLI)`);
697719
+ console.log(`${"1.3.432"} (Rayu-CLI)`);
697713
697720
  return;
697714
697721
  }
697715
697722
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.3.431",
3
+ "version": "1.3.432",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {