@rayu-dev/rayu-cli 2.0.0 → 2.0.1

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 +80 -80
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -138299,7 +138299,7 @@ var init_isEqual = __esm(() => {
138299
138299
 
138300
138300
  // src/utils/userAgent.ts
138301
138301
  function getRayuUserAgent() {
138302
- return `rayu/${"2.0.0"}`;
138302
+ return `rayu/${"2.0.1"}`;
138303
138303
  }
138304
138304
  var getClaudeCodeUserAgent;
138305
138305
  var init_userAgent = __esm(() => {
@@ -138325,7 +138325,7 @@ function getUserAgent() {
138325
138325
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
138326
138326
  const workload = getWorkload();
138327
138327
  const workloadSuffix = workload ? `, workload/${workload}` : "";
138328
- return `rayu/${"2.0.0"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
138328
+ return `rayu/${"2.0.1"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
138329
138329
  }
138330
138330
  function getMCPUserAgent() {
138331
138331
  const parts = [];
@@ -138339,7 +138339,7 @@ function getMCPUserAgent() {
138339
138339
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
138340
138340
  }
138341
138341
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
138342
- return `rayu/${"2.0.0"}${suffix}`;
138342
+ return `rayu/${"2.0.1"}${suffix}`;
138343
138343
  }
138344
138344
  function getWebFetchUserAgent() {
138345
138345
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -149286,7 +149286,7 @@ var init_metadata = __esm(() => {
149286
149286
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
149287
149287
  WHITESPACE_REGEX = /\s+/;
149288
149288
  getVersionBase = memoize_default(() => {
149289
- const match = "2.0.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
149289
+ const match = "2.0.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
149290
149290
  return match ? match[0] : undefined;
149291
149291
  });
149292
149292
  buildEnvContext = memoize_default(async () => {
@@ -149325,7 +149325,7 @@ var init_metadata = __esm(() => {
149325
149325
  },
149326
149326
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
149327
149327
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
149328
- version: "2.0.0",
149328
+ version: "2.0.1",
149329
149329
  versionBase: getVersionBase(),
149330
149330
  buildTime: "",
149331
149331
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -156719,7 +156719,7 @@ function getAttributionHeader(fingerprint2) {
156719
156719
  if (!isAttributionHeaderEnabled()) {
156720
156720
  return "";
156721
156721
  }
156722
- const version2 = `${"2.0.0"}.${fingerprint2}`;
156722
+ const version2 = `${"2.0.1"}.${fingerprint2}`;
156723
156723
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
156724
156724
  const cch = "";
156725
156725
  const workload = getWorkload();
@@ -318137,7 +318137,7 @@ function getTelemetryAttributes() {
318137
318137
  attributes["session.id"] = sessionId;
318138
318138
  }
318139
318139
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
318140
- attributes["app.version"] = "2.0.0";
318140
+ attributes["app.version"] = "2.0.1";
318141
318141
  }
318142
318142
  const oauthAccount = getOauthAccountInfo();
318143
318143
  if (oauthAccount) {
@@ -362121,7 +362121,7 @@ function getInstallationEnv() {
362121
362121
  return;
362122
362122
  }
362123
362123
  function getClaudeCodeVersion() {
362124
- return "2.0.0";
362124
+ return "2.0.1";
362125
362125
  }
362126
362126
  async function getInstalledVSCodeExtensionVersion(command) {
362127
362127
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -365097,7 +365097,7 @@ function computeFingerprint(messageText, version2) {
365097
365097
  }
365098
365098
  function computeFingerprintFromMessages(messages) {
365099
365099
  const firstMessageText = extractFirstMessageText(messages);
365100
- return computeFingerprint(firstMessageText, "2.0.0");
365100
+ return computeFingerprint(firstMessageText, "2.0.1");
365101
365101
  }
365102
365102
  var FINGERPRINT_SALT = "59cf53e54c78";
365103
365103
  var init_fingerprint = () => {};
@@ -365139,7 +365139,7 @@ async function sideQuery(opts) {
365139
365139
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
365140
365140
  }
365141
365141
  const messageText = extractFirstUserMessageText(messages);
365142
- const fingerprint2 = computeFingerprint(messageText, "2.0.0");
365142
+ const fingerprint2 = computeFingerprint(messageText, "2.0.1");
365143
365143
  const attributionHeader = getAttributionHeader(fingerprint2);
365144
365144
  const systemBlocks = [
365145
365145
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -402007,7 +402007,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
402007
402007
  const client = new Client({
402008
402008
  name: "claude-code",
402009
402009
  title: "RAYU",
402010
- version: "2.0.0",
402010
+ version: "2.0.1",
402011
402011
  description: "Anthropic's agentic coding tool",
402012
402012
  websiteUrl: PRODUCT_URL
402013
402013
  }, {
@@ -402324,7 +402324,7 @@ var init_client5 = __esm(() => {
402324
402324
  const client = new Client({
402325
402325
  name: "claude-code",
402326
402326
  title: "RAYU",
402327
- version: "2.0.0",
402327
+ version: "2.0.1",
402328
402328
  description: "Anthropic's agentic coding tool",
402329
402329
  websiteUrl: PRODUCT_URL
402330
402330
  }, {
@@ -462530,7 +462530,7 @@ async function handshake(peer) {
462530
462530
  clientInfo: {
462531
462531
  name: "rayu_cli",
462532
462532
  title: "RAYU CLI",
462533
- version: typeof MACRO !== "undefined" ? "2.0.0" : "0.0.0"
462533
+ version: typeof MACRO !== "undefined" ? "2.0.1" : "0.0.0"
462534
462534
  },
462535
462535
  capabilities: { experimentalApi: false }
462536
462536
  };
@@ -493868,9 +493868,9 @@ async function assertMinVersion() {
493868
493868
  if (false) {}
493869
493869
  try {
493870
493870
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
493871
- if (versionConfig.minVersion && lt("2.0.0", versionConfig.minVersion)) {
493871
+ if (versionConfig.minVersion && lt("2.0.1", versionConfig.minVersion)) {
493872
493872
  console.error(`
493873
- It looks like your version of RAYU (${"2.0.0"}) needs an update.
493873
+ It looks like your version of RAYU (${"2.0.1"}) needs an update.
493874
493874
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
493875
493875
 
493876
493876
  To update, please run:
@@ -494034,7 +494034,7 @@ async function installGlobalPackage(specificVersion) {
494034
494034
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
494035
494035
  logEvent("tengu_auto_updater_lock_contention", {
494036
494036
  pid: process.pid,
494037
- currentVersion: "2.0.0"
494037
+ currentVersion: "2.0.1"
494038
494038
  });
494039
494039
  return "in_progress";
494040
494040
  }
@@ -494043,7 +494043,7 @@ async function installGlobalPackage(specificVersion) {
494043
494043
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
494044
494044
  logError2(new Error("Windows NPM detected in WSL environment"));
494045
494045
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
494046
- currentVersion: "2.0.0"
494046
+ currentVersion: "2.0.1"
494047
494047
  });
494048
494048
  console.error(`
494049
494049
  Error: Windows NPM detected in WSL
@@ -494692,7 +494692,7 @@ function detectLinuxGlobPatternWarnings() {
494692
494692
  }
494693
494693
  async function getDoctorDiagnostic() {
494694
494694
  const installationType = await getCurrentInstallationType();
494695
- const version2 = typeof MACRO !== "undefined" ? "2.0.0" : "unknown";
494695
+ const version2 = typeof MACRO !== "undefined" ? "2.0.1" : "unknown";
494696
494696
  const installationPath = await getInstallationPath();
494697
494697
  const invokedBinary = getInvokedBinary();
494698
494698
  const multipleInstallations = await detectMultipleInstallations();
@@ -495488,8 +495488,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
495488
495488
  const maxVersion = await getMaxVersion();
495489
495489
  if (maxVersion && gt(version2, maxVersion)) {
495490
495490
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
495491
- if (gte("2.0.0", maxVersion)) {
495492
- logForDebugging(`Native installer: current version ${"2.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
495491
+ if (gte("2.0.1", maxVersion)) {
495492
+ logForDebugging(`Native installer: current version ${"2.0.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
495493
495493
  logEvent("tengu_native_update_skipped_max_version", {
495494
495494
  latency_ms: Date.now() - startTime2,
495495
495495
  max_version: maxVersion,
@@ -495500,7 +495500,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
495500
495500
  version2 = maxVersion;
495501
495501
  }
495502
495502
  }
495503
- if (!forceReinstall && version2 === "2.0.0" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
495503
+ if (!forceReinstall && version2 === "2.0.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
495504
495504
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
495505
495505
  logEvent("tengu_native_update_complete", {
495506
495506
  latency_ms: Date.now() - startTime2,
@@ -496708,7 +496708,7 @@ function buildPrimarySection() {
496708
496708
  });
496709
496709
  return [{
496710
496710
  label: "Version",
496711
- value: "2.0.0"
496711
+ value: "2.0.1"
496712
496712
  }, {
496713
496713
  label: "Session name",
496714
496714
  value: nameValue
@@ -500391,7 +500391,7 @@ function Config({
500391
500391
  }
500392
500392
  })
500393
500393
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
500394
- currentVersion: "2.0.0",
500394
+ currentVersion: "2.0.1",
500395
500395
  onChoice: (choice) => {
500396
500396
  setShowSubmenu(null);
500397
500397
  setTabsHidden(false);
@@ -500403,7 +500403,7 @@ function Config({
500403
500403
  autoUpdatesChannel: "stable"
500404
500404
  };
500405
500405
  if (choice === "stay") {
500406
- newSettings.minimumVersion = "2.0.0";
500406
+ newSettings.minimumVersion = "2.0.1";
500407
500407
  }
500408
500408
  updateSettingsForSource("userSettings", newSettings);
500409
500409
  setSettingsData((prev_27) => ({
@@ -508464,7 +508464,7 @@ function HelpV2(t0) {
508464
508464
  let t6;
508465
508465
  if ($3[31] !== tabs) {
508466
508466
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
508467
- title: `Rayu-CLI v${"2.0.0"}`,
508467
+ title: `Rayu-CLI v${"2.0.1"}`,
508468
508468
  color: "professionalBlue",
508469
508469
  defaultTab: "general",
508470
508470
  children: tabs
@@ -529774,7 +529774,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
529774
529774
  }
529775
529775
  return [];
529776
529776
  }
529777
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.0") {
529777
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.1") {
529778
529778
  if (false) {}
529779
529779
  const cachedChangelog = await getStoredChangelog();
529780
529780
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -529787,7 +529787,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.0") {
529787
529787
  releaseNotes
529788
529788
  };
529789
529789
  }
529790
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.0.0") {
529790
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.0.1") {
529791
529791
  if (false) {}
529792
529792
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
529793
529793
  return {
@@ -529915,7 +529915,7 @@ function getRecentActivitySync() {
529915
529915
  return cachedActivity;
529916
529916
  }
529917
529917
  function getLogoDisplayData() {
529918
- const version2 = process.env.DEMO_VERSION ?? "2.0.0";
529918
+ const version2 = process.env.DEMO_VERSION ?? "2.0.1";
529919
529919
  const serverUrl = getDirectConnectServerUrl();
529920
529920
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
529921
529921
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -531127,7 +531127,7 @@ function LogoV2() {
531127
531127
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
531128
531128
  t2 = () => {
531129
531129
  const currentConfig = getGlobalConfig();
531130
- if (currentConfig.lastReleaseNotesSeen === "2.0.0") {
531130
+ if (currentConfig.lastReleaseNotesSeen === "2.0.1") {
531131
531131
  return;
531132
531132
  }
531133
531133
  saveGlobalConfig(_temp327);
@@ -531606,7 +531606,7 @@ function LogoV2() {
531606
531606
  t24 = $3[61];
531607
531607
  }
531608
531608
  const _latestNpm = getCachedLatestNpmVersionSync();
531609
- const _updateFeeds = _latestNpm && gt(_latestNpm, "2.0.0") ? [createUpdateAvailableFeed("2.0.0", _latestNpm)] : [];
531609
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "2.0.1") ? [createUpdateAvailableFeed("2.0.1", _latestNpm)] : [];
531610
531610
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
531611
531611
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
531612
531612
  maxWidth: rightWidth
@@ -531806,12 +531806,12 @@ function LogoV2() {
531806
531806
  return t41;
531807
531807
  }
531808
531808
  function _temp327(current) {
531809
- if (current.lastReleaseNotesSeen === "2.0.0") {
531809
+ if (current.lastReleaseNotesSeen === "2.0.1") {
531810
531810
  return current;
531811
531811
  }
531812
531812
  return {
531813
531813
  ...current,
531814
- lastReleaseNotesSeen: "2.0.0"
531814
+ lastReleaseNotesSeen: "2.0.1"
531815
531815
  };
531816
531816
  }
531817
531817
  function _temp241(s_0) {
@@ -557845,7 +557845,7 @@ function createRayuMcpServer(options) {
557845
557845
  commandsPromise ??= getCommands(options.cwd);
557846
557846
  return commandsPromise;
557847
557847
  };
557848
- const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "2.0.0" }, { capabilities: { tools: {}, prompts: {} } });
557848
+ const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "2.0.1" }, { capabilities: { tools: {}, prompts: {} } });
557849
557849
  server.setRequestHandler(ListToolsRequestSchema, async () => {
557850
557850
  const toolPermissionContext = getEmptyToolPermissionContext();
557851
557851
  const allTools = getTools(toolPermissionContext);
@@ -557945,7 +557945,7 @@ async function pingRayuMcpServer(cwd2) {
557945
557945
  const server = createRayuMcpServer2({ cwd: cwd2, debug: false, verbose: false });
557946
557946
  const [clientTransport, serverTransport] = createLinkedTransportPair();
557947
557947
  await server.connect(serverTransport);
557948
- client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "2.0.0" });
557948
+ client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "2.0.1" });
557949
557949
  await client.connect(clientTransport);
557950
557950
  const tools = await client.listTools();
557951
557951
  let promptCount = 0;
@@ -558649,7 +558649,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
558649
558649
  smapsRollup,
558650
558650
  platform: process.platform,
558651
558651
  nodeVersion: process.version,
558652
- ccVersion: "2.0.0"
558652
+ ccVersion: "2.0.1"
558653
558653
  };
558654
558654
  }
558655
558655
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -559171,7 +559171,7 @@ var init_bridge_kick = __esm(() => {
559171
559171
  var call53 = async () => {
559172
559172
  return {
559173
559173
  type: "text",
559174
- value: "2.0.0"
559174
+ value: "2.0.1"
559175
559175
  };
559176
559176
  }, version2, version_default;
559177
559177
  var init_version = __esm(() => {
@@ -567359,7 +567359,7 @@ var init_user = __esm(() => {
567359
567359
  deviceId,
567360
567360
  sessionId: getSessionId(),
567361
567361
  email: getEmail(),
567362
- appVersion: "2.0.0",
567362
+ appVersion: "2.0.1",
567363
567363
  platform: getHostPlatformForAnalytics(),
567364
567364
  organizationUuid,
567365
567365
  accountUuid,
@@ -575027,7 +575027,7 @@ function generateHtmlReport(data, insights) {
575027
575027
  </html>`;
575028
575028
  }
575029
575029
  function buildExportData(data, insights, facets, remoteStats) {
575030
- const version3 = typeof MACRO !== "undefined" ? "2.0.0" : "unknown";
575030
+ const version3 = typeof MACRO !== "undefined" ? "2.0.1" : "unknown";
575031
575031
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
575032
575032
  const facets_summary = {
575033
575033
  total: facets.size,
@@ -578951,7 +578951,7 @@ var init_sessionStorage = __esm(() => {
578951
578951
  init_settings2();
578952
578952
  init_slowOperations();
578953
578953
  init_uuid();
578954
- VERSION5 = typeof MACRO !== "undefined" ? "2.0.0" : "unknown";
578954
+ VERSION5 = typeof MACRO !== "undefined" ? "2.0.1" : "unknown";
578955
578955
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
578956
578956
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
578957
578957
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -580169,7 +580169,7 @@ var init_filesystem = __esm(() => {
580169
580169
  });
580170
580170
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
580171
580171
  const nonce = randomBytes20(16).toString("hex");
580172
- return join157(getClaudeTempDir(), "bundled-skills", "2.0.0", nonce);
580172
+ return join157(getClaudeTempDir(), "bundled-skills", "2.0.1", nonce);
580173
580173
  });
580174
580174
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
580175
580175
  });
@@ -602556,7 +602556,7 @@ __export(exports_update, {
602556
602556
  });
602557
602557
  import { spawnSync as spawnSync10 } from "child_process";
602558
602558
  async function update() {
602559
- writeToStdout(`Current version: ${"2.0.0"}
602559
+ writeToStdout(`Current version: ${"2.0.1"}
602560
602560
  `);
602561
602561
  if (await updateInstallerManaged())
602562
602562
  return;
@@ -602652,18 +602652,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
602652
602652
  process.exit(1);
602653
602653
  return;
602654
602654
  }
602655
- if (latestVersion === "2.0.0") {
602655
+ if (latestVersion === "2.0.1") {
602656
602656
  writeToStdout(source_default.green(`
602657
- Rayu CLI is up to date (${"2.0.0"})
602657
+ Rayu CLI is up to date (${"2.0.1"})
602658
602658
  `));
602659
602659
  process.exit(0);
602660
602660
  }
602661
- writeToStdout(`New version available: ${latestVersion} (current: ${"2.0.0"})
602661
+ writeToStdout(`New version available: ${latestVersion} (current: ${"2.0.1"})
602662
602662
  `);
602663
602663
  writeToStdout(`Installing update...
602664
602664
 
602665
602665
  `);
602666
- const versionBeforeInstall = getInstalledVersion() ?? "2.0.0";
602666
+ const versionBeforeInstall = getInstalledVersion() ?? "2.0.1";
602667
602667
  const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
602668
602668
  if (!await acquireUpdateLock()) {
602669
602669
  process.stderr.write(source_default.yellow(`
@@ -602781,14 +602781,14 @@ async function updateNativeBinary() {
602781
602781
  } catch {
602782
602782
  latestVersion = "";
602783
602783
  }
602784
- if (latestVersion && latestVersion === "2.0.0") {
602784
+ if (latestVersion && latestVersion === "2.0.1") {
602785
602785
  writeToStdout(source_default.green(`
602786
- Rayu CLI is up to date (2.0.0)
602786
+ Rayu CLI is up to date (2.0.1)
602787
602787
  `));
602788
602788
  process.exit(0);
602789
602789
  }
602790
602790
  if (latestVersion) {
602791
- writeToStdout(`New version available: ${latestVersion} (current: 2.0.0)
602791
+ writeToStdout(`New version available: ${latestVersion} (current: 2.0.1)
602792
602792
  `);
602793
602793
  }
602794
602794
  writeToStdout(`Downloading and installing update...
@@ -602803,13 +602803,13 @@ Rayu CLI is up to date (2.0.0)
602803
602803
  return;
602804
602804
  }
602805
602805
  writeToStdout(source_default.green(`
602806
- Rayu CLI is up to date (2.0.0)
602806
+ Rayu CLI is up to date (2.0.1)
602807
602807
  `));
602808
602808
  process.exit(0);
602809
602809
  }
602810
602810
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
602811
602811
  writeToStdout(source_default.green(`
602812
- Successfully updated from 2.0.0 to ${updatedTo}
602812
+ Successfully updated from 2.0.1 to ${updatedTo}
602813
602813
  `));
602814
602814
  writeToStdout(`Restart your terminal to use the new version.
602815
602815
  `);
@@ -603281,7 +603281,7 @@ async function uninstall(args = []) {
603281
603281
  const keepData = args.includes("--keep-data");
603282
603282
  const dryRun = args.includes("--dry-run");
603283
603283
  const plan2 = await planUninstall({ keepData });
603284
- writeToStdout(`Rayu CLI ${"2.0.0"}
603284
+ writeToStdout(`Rayu CLI ${"2.0.1"}
603285
603285
 
603286
603286
  `);
603287
603287
  for (const line of describePlan(plan2))
@@ -603604,7 +603604,7 @@ function showFirstRunWelcome() {
603604
603604
  `);
603605
603605
  try {
603606
603606
  mkdirSync19(getRayuConfigHomeDir(), { recursive: true });
603607
- writeFileSync22(markerPath(), "2.0.0", "utf8");
603607
+ writeFileSync22(markerPath(), "2.0.1", "utf8");
603608
603608
  } catch {}
603609
603609
  }
603610
603610
  var init_firstRun = __esm(() => {
@@ -618674,7 +618674,7 @@ async function initializeBetaTracing(resource) {
618674
618674
  });
618675
618675
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
618676
618676
  setLoggerProvider(loggerProvider);
618677
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.0.0");
618677
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.0.1");
618678
618678
  setEventLogger(eventLogger);
618679
618679
  process.on("beforeExit", async () => {
618680
618680
  await loggerProvider?.forceFlush();
@@ -618714,7 +618714,7 @@ async function initializeTelemetry() {
618714
618714
  const platform4 = getPlatform();
618715
618715
  const baseAttributes = {
618716
618716
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
618717
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "2.0.0"
618717
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "2.0.1"
618718
618718
  };
618719
618719
  if (platform4 === "wsl") {
618720
618720
  const wslVersion = getWslVersion();
@@ -618759,7 +618759,7 @@ async function initializeTelemetry() {
618759
618759
  } catch {}
618760
618760
  };
618761
618761
  registerCleanup(shutdownTelemetry2);
618762
- return meterProvider2.getMeter("com.anthropic.claude_code", "2.0.0");
618762
+ return meterProvider2.getMeter("com.anthropic.claude_code", "2.0.1");
618763
618763
  }
618764
618764
  const meterProvider = new import_sdk_metrics2.MeterProvider({
618765
618765
  resource,
@@ -618779,7 +618779,7 @@ async function initializeTelemetry() {
618779
618779
  });
618780
618780
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
618781
618781
  setLoggerProvider(loggerProvider);
618782
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.0.0");
618782
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "2.0.1");
618783
618783
  setEventLogger(eventLogger);
618784
618784
  logForDebugging("[3P telemetry] Event logger set successfully");
618785
618785
  process.on("beforeExit", async () => {
@@ -618841,7 +618841,7 @@ Current timeout: ${timeoutMs}ms
618841
618841
  }
618842
618842
  };
618843
618843
  registerCleanup(shutdownTelemetry);
618844
- return meterProvider.getMeter("com.anthropic.claude_code", "2.0.0");
618844
+ return meterProvider.getMeter("com.anthropic.claude_code", "2.0.1");
618845
618845
  }
618846
618846
  async function flushTelemetry() {
618847
618847
  const meterProvider = getMeterProvider();
@@ -620349,7 +620349,7 @@ function buildSystemInitMessage(inputs) {
620349
620349
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
620350
620350
  apiKeySource: getAnthropicApiKeyWithSource().source,
620351
620351
  betas: getSdkBetas(),
620352
- claude_code_version: "2.0.0",
620352
+ claude_code_version: "2.0.1",
620353
620353
  output_style: outputStyle2,
620354
620354
  agents: inputs.agents.map((agent2) => agent2.agentType),
620355
620355
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -623648,7 +623648,7 @@ function getDeviceFacts() {
623648
623648
  return {
623649
623649
  platform: process.platform,
623650
623650
  arch: process.arch,
623651
- version: "2.0.0"
623651
+ version: "2.0.1"
623652
623652
  };
623653
623653
  }
623654
623654
  var cached3 = null;
@@ -644709,7 +644709,7 @@ var init_useVoiceEnabled = __esm(() => {
644709
644709
  function getSemverPart(version3) {
644710
644710
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
644711
644711
  }
644712
- function useUpdateNotification(updatedVersion, initialVersion = "2.0.0") {
644712
+ function useUpdateNotification(updatedVersion, initialVersion = "2.0.1") {
644713
644713
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react223.useState(() => getSemverPart(initialVersion));
644714
644714
  if (!updatedVersion) {
644715
644715
  return null;
@@ -644749,7 +644749,7 @@ function AutoUpdater({
644749
644749
  return;
644750
644750
  }
644751
644751
  if (false) {}
644752
- const currentVersion = "2.0.0";
644752
+ const currentVersion = "2.0.1";
644753
644753
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
644754
644754
  let latestVersion = await getLatestVersion(channel2);
644755
644755
  const isDisabled = isAutoUpdaterDisabled();
@@ -644967,12 +644967,12 @@ function NativeAutoUpdater({
644967
644967
  logEvent("tengu_native_auto_updater_start", {});
644968
644968
  try {
644969
644969
  const maxVersion = await getMaxVersion();
644970
- if (maxVersion && gt("2.0.0", maxVersion)) {
644970
+ if (maxVersion && gt("2.0.1", maxVersion)) {
644971
644971
  const msg = await getMaxVersionMessage();
644972
644972
  setMaxVersionIssue(msg ?? "affects your version");
644973
644973
  }
644974
644974
  const result = await installLatest(channel2);
644975
- const currentVersion = "2.0.0";
644975
+ const currentVersion = "2.0.1";
644976
644976
  const latencyMs = Date.now() - startTime2;
644977
644977
  if (result.lockFailed) {
644978
644978
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -645109,17 +645109,17 @@ function PackageManagerAutoUpdater(t0) {
645109
645109
  const maxVersion = await getMaxVersion();
645110
645110
  if (maxVersion && latest && gt(latest, maxVersion)) {
645111
645111
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
645112
- if (gte("2.0.0", maxVersion)) {
645113
- logForDebugging(`PackageManagerAutoUpdater: current version ${"2.0.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
645112
+ if (gte("2.0.1", maxVersion)) {
645113
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"2.0.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
645114
645114
  setUpdateAvailable(false);
645115
645115
  return;
645116
645116
  }
645117
645117
  latest = maxVersion;
645118
645118
  }
645119
- const hasUpdate = latest && !gte("2.0.0", latest) && !shouldSkipVersion(latest);
645119
+ const hasUpdate = latest && !gte("2.0.1", latest) && !shouldSkipVersion(latest);
645120
645120
  setUpdateAvailable(!!hasUpdate);
645121
645121
  if (hasUpdate) {
645122
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.0.0"} -> ${latest}`);
645122
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.0.1"} -> ${latest}`);
645123
645123
  }
645124
645124
  };
645125
645125
  $3[0] = t1;
@@ -645153,7 +645153,7 @@ function PackageManagerAutoUpdater(t0) {
645153
645153
  wrap: "truncate",
645154
645154
  children: [
645155
645155
  "currentVersion: ",
645156
- "2.0.0"
645156
+ "2.0.1"
645157
645157
  ]
645158
645158
  });
645159
645159
  $3[3] = verbose;
@@ -645556,7 +645556,7 @@ function readNoticeEnvironment() {
645556
645556
  function UpdateAvailableNotice({
645557
645557
  detectInstallationType = getCurrentInstallationType,
645558
645558
  fetchLatestVersion,
645559
- currentVersion = "2.0.0",
645559
+ currentVersion = "2.0.1",
645560
645560
  readEnvironment = readNoticeEnvironment
645561
645561
  } = {}) {
645562
645562
  const [latestVersion, setLatestVersion] = import_react230.useState(() => getCachedLatestNpmVersionSync());
@@ -653408,7 +653408,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
653408
653408
  project_dir: getOriginalCwd(),
653409
653409
  added_dirs: addedDirs
653410
653410
  },
653411
- version: "2.0.0",
653411
+ version: "2.0.1",
653412
653412
  output_style: {
653413
653413
  name: outputStyleName
653414
653414
  },
@@ -664924,7 +664924,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
664924
664924
  } catch {}
664925
664925
  const data = {
664926
664926
  trigger,
664927
- version: "2.0.0",
664927
+ version: "2.0.1",
664928
664928
  platform: process.platform,
664929
664929
  transcript,
664930
664930
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -676982,7 +676982,7 @@ function WelcomeV2() {
676982
676982
  dimColor: true,
676983
676983
  children: [
676984
676984
  "v",
676985
- "2.0.0"
676985
+ "2.0.1"
676986
676986
  ]
676987
676987
  })
676988
676988
  ]
@@ -677989,7 +677989,7 @@ function completeOnboarding() {
677989
677989
  saveGlobalConfig((current) => ({
677990
677990
  ...current,
677991
677991
  hasCompletedOnboarding: true,
677992
- lastOnboardingVersion: "2.0.0"
677992
+ lastOnboardingVersion: "2.0.1"
677993
677993
  }));
677994
677994
  }
677995
677995
  function showDialog(root2, renderer) {
@@ -683057,7 +683057,7 @@ function appendToLog(path24, message) {
683057
683057
  cwd: getFsImplementation().cwd(),
683058
683058
  userType: "external",
683059
683059
  sessionId: getSessionId(),
683060
- version: "2.0.0"
683060
+ version: "2.0.1"
683061
683061
  };
683062
683062
  getLogWriter(path24).write(messageWithTimestamp);
683063
683063
  }
@@ -687119,8 +687119,8 @@ async function getEnvLessBridgeConfig() {
687119
687119
  }
687120
687120
  async function checkEnvLessBridgeMinVersion() {
687121
687121
  const cfg = await getEnvLessBridgeConfig();
687122
- if (cfg.min_version && lt("2.0.0", cfg.min_version)) {
687123
- return `Your version of RAYU (${"2.0.0"}) is too old for Remote Control.
687122
+ if (cfg.min_version && lt("2.0.1", cfg.min_version)) {
687123
+ return `Your version of RAYU (${"2.0.1"}) is too old for Remote Control.
687124
687124
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
687125
687125
  }
687126
687126
  return null;
@@ -687595,7 +687595,7 @@ async function initBridgeCore(params) {
687595
687595
  const rawApi = createBridgeApiClient({
687596
687596
  baseUrl,
687597
687597
  getAccessToken,
687598
- runnerVersion: "2.0.0",
687598
+ runnerVersion: "2.0.1",
687599
687599
  onDebug: logForDebugging,
687600
687600
  onAuth401,
687601
687601
  getTrustedDeviceToken
@@ -695004,7 +695004,7 @@ ${customInstructions}` : customInstructions;
695004
695004
  }
695005
695005
  }
695006
695006
  logForDiagnosticsNoPII("info", "started", {
695007
- version: "2.0.0",
695007
+ version: "2.0.1",
695008
695008
  is_native_binary: isInBundledMode()
695009
695009
  });
695010
695010
  registerCleanup(async () => {
@@ -695727,7 +695727,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
695727
695727
  pendingHookMessages
695728
695728
  }, renderAndRun);
695729
695729
  }
695730
- }).version(`2.0.0 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
695730
+ }).version(`2.0.1 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
695731
695731
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
695732
695732
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
695733
695733
  if (canUserConfigureAdvisor()) {
@@ -696192,7 +696192,7 @@ if (false) {}
696192
696192
  async function main2() {
696193
696193
  const args = process.argv.slice(2);
696194
696194
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
696195
- console.log(`${"2.0.0"} (Beta-Rayu-CLI)`);
696195
+ console.log(`${"2.0.1"} (Beta-Rayu-CLI)`);
696196
696196
  return;
696197
696197
  }
696198
696198
  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": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "//": "There are deliberately NO runtime `dependencies`. scripts/build.ts bundles every import into the single published file dist/rayu.js, so nothing has to be resolvable from node_modules at runtime — the only unbundled specifiers are the optional native/OTEL modules in that script's EXTERNAL list, each guarded by a try/catch. Declaring them as dependencies anyway made `npm install -g` resolve, download and compile ~80 packages (including sharp's platform prebuilds) that the CLI never loads, which is what made a global install fail differently on every machine. Add build-time packages to devDependencies. If you ever add a module that must be require()d from node_modules at runtime, it belongs in dependencies AND in the installer's expectations (rayu-web/public/install.sh extracts only dist/rayu.js).",
6
6
  "type": "module",