@rayu-dev/rayu-cli 1.3.441 → 1.3.442

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 +100 -82
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -148559,7 +148559,7 @@ var init_auth = __esm(() => {
148559
148559
 
148560
148560
  // src/utils/userAgent.ts
148561
148561
  function getRayuUserAgent() {
148562
- return `rayu/${"1.3.441"}`;
148562
+ return `rayu/${"1.3.442"}`;
148563
148563
  }
148564
148564
  var getClaudeCodeUserAgent;
148565
148565
  var init_userAgent = __esm(() => {
@@ -148585,7 +148585,7 @@ function getUserAgent() {
148585
148585
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
148586
148586
  const workload = getWorkload();
148587
148587
  const workloadSuffix = workload ? `, workload/${workload}` : "";
148588
- return `rayu/${"1.3.441"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148588
+ return `rayu/${"1.3.442"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148589
148589
  }
148590
148590
  function getMCPUserAgent() {
148591
148591
  const parts = [];
@@ -148599,7 +148599,7 @@ function getMCPUserAgent() {
148599
148599
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
148600
148600
  }
148601
148601
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
148602
- return `rayu/${"1.3.441"}${suffix}`;
148602
+ return `rayu/${"1.3.442"}${suffix}`;
148603
148603
  }
148604
148604
  function getWebFetchUserAgent() {
148605
148605
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -148722,7 +148722,7 @@ var init_user = __esm(() => {
148722
148722
  deviceId,
148723
148723
  sessionId: getSessionId(),
148724
148724
  email: getEmail(),
148725
- appVersion: "1.3.441",
148725
+ appVersion: "1.3.442",
148726
148726
  platform: getHostPlatformForAnalytics(),
148727
148727
  organizationUuid,
148728
148728
  accountUuid,
@@ -184609,7 +184609,7 @@ var init_metadata = __esm(() => {
184609
184609
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
184610
184610
  WHITESPACE_REGEX = /\s+/;
184611
184611
  getVersionBase = memoize_default(() => {
184612
- const match = "1.3.441".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184612
+ const match = "1.3.442".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
184613
184613
  return match ? match[0] : undefined;
184614
184614
  });
184615
184615
  buildEnvContext = memoize_default(async () => {
@@ -184648,7 +184648,7 @@ var init_metadata = __esm(() => {
184648
184648
  },
184649
184649
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
184650
184650
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
184651
- version: "1.3.441",
184651
+ version: "1.3.442",
184652
184652
  versionBase: getVersionBase(),
184653
184653
  buildTime: "",
184654
184654
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -185262,7 +185262,7 @@ function initialize1PEventLogging() {
185262
185262
  const platform2 = getPlatform();
185263
185263
  const attributes = {
185264
185264
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
185265
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.441"
185265
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.442"
185266
185266
  };
185267
185267
  if (platform2 === "wsl") {
185268
185268
  const wslVersion = getWslVersion();
@@ -185289,7 +185289,7 @@ function initialize1PEventLogging() {
185289
185289
  })
185290
185290
  ]
185291
185291
  });
185292
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.441");
185292
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.442");
185293
185293
  }
185294
185294
  async function reinitialize1PEventLoggingIfConfigChanged() {
185295
185295
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -207591,6 +207591,19 @@ function diffRowAdded(nextCells, next, ci, y, startX, endX, nextCell, cb) {
207591
207591
  }
207592
207592
  return false;
207593
207593
  }
207594
+ function diffRowTrailingRemoved(prevCells, nextCells, prev, ci, y, startX, endX, prevCell, cb) {
207595
+ for (let x2 = startX;x2 < endX; x2++, ci += 2) {
207596
+ if (prevCells[ci] === 0 && prevCells[ci | 1] === 0 && nextCells[ci] === 0 && nextCells[ci | 1] === 0) {
207597
+ continue;
207598
+ }
207599
+ if ((prevCells[ci] !== 0 || prevCells[ci | 1] !== 0) && nextCells[ci] === 0 && nextCells[ci | 1] === 0) {
207600
+ cellAtCI(prev, ci, prevCell);
207601
+ if (cb(x2, y, prevCell, undefined))
207602
+ return true;
207603
+ }
207604
+ }
207605
+ return false;
207606
+ }
207594
207607
  function diffSameWidth(prev, next, startX, endX, startY, endY, cb) {
207595
207608
  const prevCells = prev.cells;
207596
207609
  const nextCells = next.cells;
@@ -207618,6 +207631,11 @@ function diffSameWidth(prev, next, startX, endX, startY, endY, cb) {
207618
207631
  if (prevIn && nextIn) {
207619
207632
  if (diffRowBoth(prevCells, nextCells, prev, next, rowCI, y, startX, rowEndX, prevCell, nextCell, cb))
207620
207633
  return true;
207634
+ if (rowEndX < width) {
207635
+ const tailCI = y * width + rowEndX << 1;
207636
+ if (diffRowTrailingRemoved(prevCells, nextCells, prev, tailCI, y, rowEndX, width, prevCell, cb))
207637
+ return true;
207638
+ }
207621
207639
  } else if (prevIn) {
207622
207640
  if (diffRowRemoved(prev, rowCI, y, startX, rowEndX, prevCell, cb))
207623
207641
  return true;
@@ -221205,7 +221223,7 @@ function getAttributionHeader(fingerprint) {
221205
221223
  if (!isAttributionHeaderEnabled()) {
221206
221224
  return "";
221207
221225
  }
221208
- const version2 = `${"1.3.441"}.${fingerprint}`;
221226
+ const version2 = `${"1.3.442"}.${fingerprint}`;
221209
221227
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
221210
221228
  const cch = "";
221211
221229
  const workload = getWorkload();
@@ -306125,7 +306143,7 @@ function getTelemetryAttributes() {
306125
306143
  attributes["session.id"] = sessionId;
306126
306144
  }
306127
306145
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
306128
- attributes["app.version"] = "1.3.441";
306146
+ attributes["app.version"] = "1.3.442";
306129
306147
  }
306130
306148
  const oauthAccount = getOauthAccountInfo();
306131
306149
  if (oauthAccount) {
@@ -416480,7 +416498,7 @@ function getInstallationEnv() {
416480
416498
  return;
416481
416499
  }
416482
416500
  function getClaudeCodeVersion() {
416483
- return "1.3.441";
416501
+ return "1.3.442";
416484
416502
  }
416485
416503
  async function getInstalledVSCodeExtensionVersion(command) {
416486
416504
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -421718,7 +421736,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
421718
421736
  const client4 = new Client({
421719
421737
  name: "claude-code",
421720
421738
  title: "RAYU",
421721
- version: "1.3.441",
421739
+ version: "1.3.442",
421722
421740
  description: "Anthropic's agentic coding tool",
421723
421741
  websiteUrl: PRODUCT_URL
421724
421742
  }, {
@@ -422035,7 +422053,7 @@ var init_client7 = __esm(() => {
422035
422053
  const client4 = new Client({
422036
422054
  name: "claude-code",
422037
422055
  title: "RAYU",
422038
- version: "1.3.441",
422056
+ version: "1.3.442",
422039
422057
  description: "Anthropic's agentic coding tool",
422040
422058
  websiteUrl: PRODUCT_URL
422041
422059
  }, {
@@ -436840,7 +436858,7 @@ function computeFingerprint(messageText, version2) {
436840
436858
  }
436841
436859
  function computeFingerprintFromMessages(messages) {
436842
436860
  const firstMessageText = extractFirstMessageText(messages);
436843
- return computeFingerprint(firstMessageText, "1.3.441");
436861
+ return computeFingerprint(firstMessageText, "1.3.442");
436844
436862
  }
436845
436863
  var FINGERPRINT_SALT = "59cf53e54c78";
436846
436864
  var init_fingerprint = () => {};
@@ -436882,7 +436900,7 @@ async function sideQuery(opts) {
436882
436900
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
436883
436901
  }
436884
436902
  const messageText = extractFirstUserMessageText(messages);
436885
- const fingerprint = computeFingerprint(messageText, "1.3.441");
436903
+ const fingerprint = computeFingerprint(messageText, "1.3.442");
436886
436904
  const attributionHeader = getAttributionHeader(fingerprint);
436887
436905
  const systemBlocks = [
436888
436906
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -532357,7 +532375,7 @@ function Feedback({
532357
532375
  platform: env4.platform,
532358
532376
  gitRepo: envInfo.isGit,
532359
532377
  terminal: env4.terminal,
532360
- version: "1.3.441",
532378
+ version: "1.3.442",
532361
532379
  transcript: normalizeMessagesForAPI(messages),
532362
532380
  errors: sanitizedErrors,
532363
532381
  lastApiRequest: getLastAPIRequest(),
@@ -532549,7 +532567,7 @@ function Feedback({
532549
532567
  ", ",
532550
532568
  env4.terminal,
532551
532569
  ", v",
532552
- "1.3.441"
532570
+ "1.3.442"
532553
532571
  ]
532554
532572
  }, undefined, true, undefined, this)
532555
532573
  ]
@@ -532655,7 +532673,7 @@ ${sanitizedDescription}
532655
532673
  ` + `**Environment Info**
532656
532674
  ` + `- Platform: ${env4.platform}
532657
532675
  ` + `- Terminal: ${env4.terminal}
532658
- ` + `- Version: ${"1.3.441"}
532676
+ ` + `- Version: ${"1.3.442"}
532659
532677
  ` + `- Feedback ID: ${feedbackId}
532660
532678
  ` + `
532661
532679
  **Errors**
@@ -535495,9 +535513,9 @@ async function assertMinVersion() {
535495
535513
  if (false) {}
535496
535514
  try {
535497
535515
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
535498
- if (versionConfig.minVersion && lt("1.3.441", versionConfig.minVersion)) {
535516
+ if (versionConfig.minVersion && lt("1.3.442", versionConfig.minVersion)) {
535499
535517
  console.error(`
535500
- It looks like your version of RAYU (${"1.3.441"}) needs an update.
535518
+ It looks like your version of RAYU (${"1.3.442"}) needs an update.
535501
535519
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
535502
535520
 
535503
535521
  To update, please run:
@@ -535723,7 +535741,7 @@ async function installGlobalPackage(specificVersion) {
535723
535741
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
535724
535742
  logEvent("tengu_auto_updater_lock_contention", {
535725
535743
  pid: process.pid,
535726
- currentVersion: "1.3.441"
535744
+ currentVersion: "1.3.442"
535727
535745
  });
535728
535746
  return "in_progress";
535729
535747
  }
@@ -535732,7 +535750,7 @@ async function installGlobalPackage(specificVersion) {
535732
535750
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
535733
535751
  logError2(new Error("Windows NPM detected in WSL environment"));
535734
535752
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
535735
- currentVersion: "1.3.441"
535753
+ currentVersion: "1.3.442"
535736
535754
  });
535737
535755
  console.error(`
535738
535756
  Error: Windows NPM detected in WSL
@@ -536268,7 +536286,7 @@ function detectLinuxGlobPatternWarnings() {
536268
536286
  }
536269
536287
  async function getDoctorDiagnostic() {
536270
536288
  const installationType = await getCurrentInstallationType();
536271
- const version2 = typeof MACRO !== "undefined" ? "1.3.441" : "unknown";
536289
+ const version2 = typeof MACRO !== "undefined" ? "1.3.442" : "unknown";
536272
536290
  const installationPath = await getInstallationPath();
536273
536291
  const invokedBinary = getInvokedBinary();
536274
536292
  const multipleInstallations = await detectMultipleInstallations();
@@ -537063,8 +537081,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
537063
537081
  const maxVersion = await getMaxVersion();
537064
537082
  if (maxVersion && gt(version2, maxVersion)) {
537065
537083
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
537066
- if (gte("1.3.441", maxVersion)) {
537067
- logForDebugging(`Native installer: current version ${"1.3.441"} is already at or above maxVersion ${maxVersion}, skipping update`);
537084
+ if (gte("1.3.442", maxVersion)) {
537085
+ logForDebugging(`Native installer: current version ${"1.3.442"} is already at or above maxVersion ${maxVersion}, skipping update`);
537068
537086
  logEvent("tengu_native_update_skipped_max_version", {
537069
537087
  latency_ms: Date.now() - startTime,
537070
537088
  max_version: maxVersion,
@@ -537075,7 +537093,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
537075
537093
  version2 = maxVersion;
537076
537094
  }
537077
537095
  }
537078
- if (!forceReinstall && version2 === "1.3.441" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
537096
+ if (!forceReinstall && version2 === "1.3.442" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
537079
537097
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
537080
537098
  logEvent("tengu_native_update_complete", {
537081
537099
  latency_ms: Date.now() - startTime,
@@ -538271,7 +538289,7 @@ function buildPrimarySection() {
538271
538289
  }, undefined, false, undefined, this);
538272
538290
  return [{
538273
538291
  label: "Version",
538274
- value: "1.3.441"
538292
+ value: "1.3.442"
538275
538293
  }, {
538276
538294
  label: "Session name",
538277
538295
  value: nameValue
@@ -541962,7 +541980,7 @@ function Config({
541962
541980
  }
541963
541981
  }, undefined, false, undefined, this)
541964
541982
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
541965
- currentVersion: "1.3.441",
541983
+ currentVersion: "1.3.442",
541966
541984
  onChoice: (choice) => {
541967
541985
  setShowSubmenu(null);
541968
541986
  setTabsHidden(false);
@@ -541974,7 +541992,7 @@ function Config({
541974
541992
  autoUpdatesChannel: "stable"
541975
541993
  };
541976
541994
  if (choice === "stay") {
541977
- newSettings.minimumVersion = "1.3.441";
541995
+ newSettings.minimumVersion = "1.3.442";
541978
541996
  }
541979
541997
  updateSettingsForSource("userSettings", newSettings);
541980
541998
  setSettingsData((prev_27) => ({
@@ -550036,7 +550054,7 @@ function HelpV2(t0) {
550036
550054
  let t6;
550037
550055
  if ($3[31] !== tabs) {
550038
550056
  t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
550039
- title: `Rayu-CLI v${"1.3.441"}`,
550057
+ title: `Rayu-CLI v${"1.3.442"}`,
550040
550058
  color: "professionalBlue",
550041
550059
  defaultTab: "general",
550042
550060
  children: tabs
@@ -570123,7 +570141,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
570123
570141
  }
570124
570142
  return [];
570125
570143
  }
570126
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.441") {
570144
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.442") {
570127
570145
  if (false) {}
570128
570146
  const cachedChangelog = await getStoredChangelog();
570129
570147
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -570136,7 +570154,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.441")
570136
570154
  releaseNotes
570137
570155
  };
570138
570156
  }
570139
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.441") {
570157
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.442") {
570140
570158
  if (false) {}
570141
570159
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
570142
570160
  return {
@@ -570264,7 +570282,7 @@ function getRecentActivitySync() {
570264
570282
  return cachedActivity;
570265
570283
  }
570266
570284
  function getLogoDisplayData() {
570267
- const version2 = process.env.DEMO_VERSION ?? "1.3.441";
570285
+ const version2 = process.env.DEMO_VERSION ?? "1.3.442";
570268
570286
  const serverUrl = getDirectConnectServerUrl();
570269
570287
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
570270
570288
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -571511,7 +571529,7 @@ function LogoV2() {
571511
571529
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
571512
571530
  t2 = () => {
571513
571531
  const currentConfig = getGlobalConfig();
571514
- if (currentConfig.lastReleaseNotesSeen === "1.3.441") {
571532
+ if (currentConfig.lastReleaseNotesSeen === "1.3.442") {
571515
571533
  return;
571516
571534
  }
571517
571535
  saveGlobalConfig(_temp327);
@@ -571989,7 +572007,7 @@ function LogoV2() {
571989
572007
  t24 = $3[61];
571990
572008
  }
571991
572009
  const _latestNpm = getCachedLatestNpmVersionSync();
571992
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.441") ? [createUpdateAvailableFeed("1.3.441", _latestNpm)] : [];
572010
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.442") ? [createUpdateAvailableFeed("1.3.442", _latestNpm)] : [];
571993
572011
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime239.jsxDEV(FeedColumn, {
571994
572012
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
571995
572013
  maxWidth: rightWidth
@@ -572189,12 +572207,12 @@ function LogoV2() {
572189
572207
  return t41;
572190
572208
  }
572191
572209
  function _temp327(current) {
572192
- if (current.lastReleaseNotesSeen === "1.3.441") {
572210
+ if (current.lastReleaseNotesSeen === "1.3.442") {
572193
572211
  return current;
572194
572212
  }
572195
572213
  return {
572196
572214
  ...current,
572197
- lastReleaseNotesSeen: "1.3.441"
572215
+ lastReleaseNotesSeen: "1.3.442"
572198
572216
  };
572199
572217
  }
572200
572218
  function _temp241(s_0) {
@@ -597103,7 +597121,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
597103
597121
  smapsRollup,
597104
597122
  platform: process.platform,
597105
597123
  nodeVersion: process.version,
597106
- ccVersion: "1.3.441"
597124
+ ccVersion: "1.3.442"
597107
597125
  };
597108
597126
  }
597109
597127
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -597625,7 +597643,7 @@ var init_bridge_kick = __esm(() => {
597625
597643
  var call49 = async () => {
597626
597644
  return {
597627
597645
  type: "text",
597628
- value: "1.3.441"
597646
+ value: "1.3.442"
597629
597647
  };
597630
597648
  }, version2, version_default;
597631
597649
  var init_version = __esm(() => {
@@ -607578,7 +607596,7 @@ function generateHtmlReport(data, insights) {
607578
607596
  </html>`;
607579
607597
  }
607580
607598
  function buildExportData(data, insights, facets, remoteStats) {
607581
- const version3 = typeof MACRO !== "undefined" ? "1.3.441" : "unknown";
607599
+ const version3 = typeof MACRO !== "undefined" ? "1.3.442" : "unknown";
607582
607600
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
607583
607601
  const facets_summary = {
607584
607602
  total: facets.size,
@@ -611488,7 +611506,7 @@ var init_sessionStorage = __esm(() => {
611488
611506
  init_settings2();
611489
611507
  init_slowOperations();
611490
611508
  init_uuid();
611491
- VERSION6 = typeof MACRO !== "undefined" ? "1.3.441" : "unknown";
611509
+ VERSION6 = typeof MACRO !== "undefined" ? "1.3.442" : "unknown";
611492
611510
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
611493
611511
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
611494
611512
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -612708,7 +612726,7 @@ var init_filesystem = __esm(() => {
612708
612726
  });
612709
612727
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
612710
612728
  const nonce = randomBytes19(16).toString("hex");
612711
- return join154(getClaudeTempDir(), "bundled-skills", "1.3.441", nonce);
612729
+ return join154(getClaudeTempDir(), "bundled-skills", "1.3.442", nonce);
612712
612730
  });
612713
612731
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
612714
612732
  });
@@ -617823,7 +617841,7 @@ __export(exports_update, {
617823
617841
  import { execFileSync as execFileSync3 } from "node:child_process";
617824
617842
  import { homedir as homedir35 } from "os";
617825
617843
  async function update() {
617826
- writeToStdout(`Current version: ${"1.3.441"}
617844
+ writeToStdout(`Current version: ${"1.3.442"}
617827
617845
  `);
617828
617846
  const isBundled = isInBundledMode();
617829
617847
  if (isBundled) {
@@ -617849,13 +617867,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
617849
617867
  process.exit(1);
617850
617868
  return;
617851
617869
  }
617852
- if (latestVersion === "1.3.441") {
617870
+ if (latestVersion === "1.3.442") {
617853
617871
  writeToStdout(source_default.green(`
617854
- Rayu CLI is up to date (${"1.3.441"})
617872
+ Rayu CLI is up to date (${"1.3.442"})
617855
617873
  `));
617856
617874
  process.exit(0);
617857
617875
  }
617858
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.441"})
617876
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.442"})
617859
617877
  `);
617860
617878
  writeToStdout(`Installing update...
617861
617879
 
@@ -617879,7 +617897,7 @@ Try manually:
617879
617897
  return;
617880
617898
  }
617881
617899
  writeToStdout(source_default.green(`
617882
- Successfully updated from ${"1.3.441"} to ${latestVersion}
617900
+ Successfully updated from ${"1.3.442"} to ${latestVersion}
617883
617901
  `));
617884
617902
  process.exit(0);
617885
617903
  }
@@ -617893,14 +617911,14 @@ async function updateNativeBinary() {
617893
617911
  } catch {
617894
617912
  latestVersion = "";
617895
617913
  }
617896
- if (latestVersion && latestVersion === "1.3.441") {
617914
+ if (latestVersion && latestVersion === "1.3.442") {
617897
617915
  writeToStdout(source_default.green(`
617898
- Rayu CLI is up to date (1.3.441)
617916
+ Rayu CLI is up to date (1.3.442)
617899
617917
  `));
617900
617918
  process.exit(0);
617901
617919
  }
617902
617920
  if (latestVersion) {
617903
- writeToStdout(`New version available: ${latestVersion} (current: 1.3.441)
617921
+ writeToStdout(`New version available: ${latestVersion} (current: 1.3.442)
617904
617922
  `);
617905
617923
  }
617906
617924
  writeToStdout(`Downloading and installing update...
@@ -617915,13 +617933,13 @@ Rayu CLI is up to date (1.3.441)
617915
617933
  return;
617916
617934
  }
617917
617935
  writeToStdout(source_default.green(`
617918
- Rayu CLI is up to date (1.3.441)
617936
+ Rayu CLI is up to date (1.3.442)
617919
617937
  `));
617920
617938
  process.exit(0);
617921
617939
  }
617922
617940
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
617923
617941
  writeToStdout(source_default.green(`
617924
- Successfully updated from 1.3.441 to ${updatedTo}
617942
+ Successfully updated from 1.3.442 to ${updatedTo}
617925
617943
  `));
617926
617944
  writeToStdout(`Restart your terminal to use the new version.
617927
617945
  `);
@@ -617952,7 +617970,7 @@ __export(exports_uninstall, {
617952
617970
  import { execFileSync as execFileSync4 } from "node:child_process";
617953
617971
  import { homedir as homedir36 } from "os";
617954
617972
  async function uninstall() {
617955
- writeToStdout(`Uninstalling Rayu CLI (${"1.3.441"})...
617973
+ writeToStdout(`Uninstalling Rayu CLI (${"1.3.442"})...
617956
617974
  `);
617957
617975
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
617958
617976
 
@@ -617975,7 +617993,7 @@ Try running manually:
617975
617993
  process.exit(1);
617976
617994
  }
617977
617995
  writeToStdout(source_default.green(`
617978
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.441"}
617996
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.442"}
617979
617997
  `));
617980
617998
  writeToStdout(`Thanks for using Rayu CLI!
617981
617999
  `);
@@ -618027,7 +618045,7 @@ function showFirstRunWelcome() {
618027
618045
  `);
618028
618046
  try {
618029
618047
  mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
618030
- writeFileSync18(markerPath(), "1.3.441", "utf8");
618048
+ writeFileSync18(markerPath(), "1.3.442", "utf8");
618031
618049
  } catch {}
618032
618050
  }
618033
618051
  var init_firstRun = __esm(() => {
@@ -629870,7 +629888,7 @@ async function initializeBetaTracing(resource) {
629870
629888
  });
629871
629889
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
629872
629890
  setLoggerProvider(loggerProvider);
629873
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.441");
629891
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.442");
629874
629892
  setEventLogger(eventLogger);
629875
629893
  process.on("beforeExit", async () => {
629876
629894
  await loggerProvider?.forceFlush();
@@ -629910,7 +629928,7 @@ async function initializeTelemetry() {
629910
629928
  const platform4 = getPlatform();
629911
629929
  const baseAttributes = {
629912
629930
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
629913
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.441"
629931
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.442"
629914
629932
  };
629915
629933
  if (platform4 === "wsl") {
629916
629934
  const wslVersion = getWslVersion();
@@ -629955,7 +629973,7 @@ async function initializeTelemetry() {
629955
629973
  } catch {}
629956
629974
  };
629957
629975
  registerCleanup(shutdownTelemetry2);
629958
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.441");
629976
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.442");
629959
629977
  }
629960
629978
  const meterProvider = new import_sdk_metrics2.MeterProvider({
629961
629979
  resource,
@@ -629975,7 +629993,7 @@ async function initializeTelemetry() {
629975
629993
  });
629976
629994
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
629977
629995
  setLoggerProvider(loggerProvider);
629978
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.441");
629996
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.442");
629979
629997
  setEventLogger(eventLogger);
629980
629998
  logForDebugging("[3P telemetry] Event logger set successfully");
629981
629999
  process.on("beforeExit", async () => {
@@ -630037,7 +630055,7 @@ Current timeout: ${timeoutMs}ms
630037
630055
  }
630038
630056
  };
630039
630057
  registerCleanup(shutdownTelemetry);
630040
- return meterProvider.getMeter("com.anthropic.claude_code", "1.3.441");
630058
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.3.442");
630041
630059
  }
630042
630060
  async function flushTelemetry() {
630043
630061
  const meterProvider = getMeterProvider();
@@ -631550,7 +631568,7 @@ function buildSystemInitMessage(inputs) {
631550
631568
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
631551
631569
  apiKeySource: getAnthropicApiKeyWithSource().source,
631552
631570
  betas: getSdkBetas(),
631553
- claude_code_version: "1.3.441",
631571
+ claude_code_version: "1.3.442",
631554
631572
  output_style: outputStyle2,
631555
631573
  agents: inputs.agents.map((agent) => agent.agentType),
631556
631574
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -647884,7 +647902,7 @@ var init_useVoiceEnabled = __esm(() => {
647884
647902
  function getSemverPart(version3) {
647885
647903
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
647886
647904
  }
647887
- function useUpdateNotification(updatedVersion, initialVersion = "1.3.441") {
647905
+ function useUpdateNotification(updatedVersion, initialVersion = "1.3.442") {
647888
647906
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
647889
647907
  if (!updatedVersion) {
647890
647908
  return null;
@@ -647924,7 +647942,7 @@ function AutoUpdater({
647924
647942
  return;
647925
647943
  }
647926
647944
  if (false) {}
647927
- const currentVersion = "1.3.441";
647945
+ const currentVersion = "1.3.442";
647928
647946
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
647929
647947
  let latestVersion = await getLatestVersion(channel);
647930
647948
  const isDisabled = isAutoUpdaterDisabled();
@@ -648137,12 +648155,12 @@ function NativeAutoUpdater({
648137
648155
  logEvent("tengu_native_auto_updater_start", {});
648138
648156
  try {
648139
648157
  const maxVersion = await getMaxVersion();
648140
- if (maxVersion && gt("1.3.441", maxVersion)) {
648158
+ if (maxVersion && gt("1.3.442", maxVersion)) {
648141
648159
  const msg = await getMaxVersionMessage();
648142
648160
  setMaxVersionIssue(msg ?? "affects your version");
648143
648161
  }
648144
648162
  const result = await installLatest(channel);
648145
- const currentVersion = "1.3.441";
648163
+ const currentVersion = "1.3.442";
648146
648164
  const latencyMs = Date.now() - startTime;
648147
648165
  if (result.lockFailed) {
648148
648166
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -648279,17 +648297,17 @@ function PackageManagerAutoUpdater(t0) {
648279
648297
  const maxVersion = await getMaxVersion();
648280
648298
  if (maxVersion && latest && gt(latest, maxVersion)) {
648281
648299
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
648282
- if (gte("1.3.441", maxVersion)) {
648283
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.441"} is already at or above maxVersion ${maxVersion}, skipping update`);
648300
+ if (gte("1.3.442", maxVersion)) {
648301
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.442"} is already at or above maxVersion ${maxVersion}, skipping update`);
648284
648302
  setUpdateAvailable(false);
648285
648303
  return;
648286
648304
  }
648287
648305
  latest = maxVersion;
648288
648306
  }
648289
- const hasUpdate = latest && !gte("1.3.441", latest) && !shouldSkipVersion(latest);
648307
+ const hasUpdate = latest && !gte("1.3.442", latest) && !shouldSkipVersion(latest);
648290
648308
  setUpdateAvailable(!!hasUpdate);
648291
648309
  if (hasUpdate) {
648292
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.441"} -> ${latest}`);
648310
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.442"} -> ${latest}`);
648293
648311
  }
648294
648312
  };
648295
648313
  $3[0] = t1;
@@ -648323,7 +648341,7 @@ function PackageManagerAutoUpdater(t0) {
648323
648341
  wrap: "truncate",
648324
648342
  children: [
648325
648343
  "currentVersion: ",
648326
- "1.3.441"
648344
+ "1.3.442"
648327
648345
  ]
648328
648346
  }, undefined, true, undefined, this);
648329
648347
  $3[3] = verbose;
@@ -656488,7 +656506,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
656488
656506
  project_dir: getOriginalCwd(),
656489
656507
  added_dirs: addedDirs
656490
656508
  },
656491
- version: "1.3.441",
656509
+ version: "1.3.442",
656492
656510
  output_style: {
656493
656511
  name: outputStyleName
656494
656512
  },
@@ -667986,7 +668004,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
667986
668004
  } catch {}
667987
668005
  const data = {
667988
668006
  trigger,
667989
- version: "1.3.441",
668007
+ version: "1.3.442",
667990
668008
  platform: process.platform,
667991
668009
  transcript,
667992
668010
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -680089,7 +680107,7 @@ function WelcomeV2() {
680089
680107
  dimColor: true,
680090
680108
  children: [
680091
680109
  "v",
680092
- "1.3.441"
680110
+ "1.3.442"
680093
680111
  ]
680094
680112
  }, undefined, true, undefined, this)
680095
680113
  ]
@@ -681823,7 +681841,7 @@ function completeOnboarding() {
681823
681841
  saveGlobalConfig((current) => ({
681824
681842
  ...current,
681825
681843
  hasCompletedOnboarding: true,
681826
- lastOnboardingVersion: "1.3.441"
681844
+ lastOnboardingVersion: "1.3.442"
681827
681845
  }));
681828
681846
  }
681829
681847
  function showDialog(root2, renderer) {
@@ -686771,7 +686789,7 @@ function appendToLog(path30, message) {
686771
686789
  cwd: getFsImplementation().cwd(),
686772
686790
  userType: "external",
686773
686791
  sessionId: getSessionId(),
686774
- version: "1.3.441"
686792
+ version: "1.3.442"
686775
686793
  };
686776
686794
  getLogWriter(path30).write(messageWithTimestamp);
686777
686795
  }
@@ -690879,8 +690897,8 @@ async function getEnvLessBridgeConfig() {
690879
690897
  }
690880
690898
  async function checkEnvLessBridgeMinVersion() {
690881
690899
  const cfg = await getEnvLessBridgeConfig();
690882
- if (cfg.min_version && lt("1.3.441", cfg.min_version)) {
690883
- return `Your version of RAYU (${"1.3.441"}) is too old for Remote Control.
690900
+ if (cfg.min_version && lt("1.3.442", cfg.min_version)) {
690901
+ return `Your version of RAYU (${"1.3.442"}) is too old for Remote Control.
690884
690902
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
690885
690903
  }
690886
690904
  return null;
@@ -691354,7 +691372,7 @@ async function initBridgeCore(params) {
691354
691372
  const rawApi = createBridgeApiClient({
691355
691373
  baseUrl,
691356
691374
  getAccessToken,
691357
- runnerVersion: "1.3.441",
691375
+ runnerVersion: "1.3.442",
691358
691376
  onDebug: logForDebugging,
691359
691377
  onAuth401,
691360
691378
  getTrustedDeviceToken
@@ -696716,7 +696734,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
696716
696734
  setCwd(cwd3);
696717
696735
  const server = new Server({
696718
696736
  name: "claude/tengu",
696719
- version: "1.3.441"
696737
+ version: "1.3.442"
696720
696738
  }, {
696721
696739
  capabilities: {
696722
696740
  tools: {}
@@ -699242,7 +699260,7 @@ ${customInstructions}` : customInstructions;
699242
699260
  }
699243
699261
  }
699244
699262
  logForDiagnosticsNoPII("info", "started", {
699245
- version: "1.3.441",
699263
+ version: "1.3.442",
699246
699264
  is_native_binary: isInBundledMode()
699247
699265
  });
699248
699266
  registerCleanup(async () => {
@@ -699961,7 +699979,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
699961
699979
  pendingHookMessages
699962
699980
  }, renderAndRun);
699963
699981
  }
699964
- }).version("1.3.441 (Rayu-CLI)", "-v, --version", "Output the version number");
699982
+ }).version("1.3.442 (Rayu-CLI)", "-v, --version", "Output the version number");
699965
699983
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
699966
699984
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
699967
699985
  if (canUserConfigureAdvisor()) {
@@ -700427,7 +700445,7 @@ if (false) {}
700427
700445
  async function main2() {
700428
700446
  const args = process.argv.slice(2);
700429
700447
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
700430
- console.log(`${"1.3.441"} (Rayu-CLI)`);
700448
+ console.log(`${"1.3.442"} (Rayu-CLI)`);
700431
700449
  return;
700432
700450
  }
700433
700451
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.3.441",
3
+ "version": "1.3.442",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {