@rayu-dev/rayu-cli 1.6.11 → 1.6.12

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 +95 -88
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -25447,7 +25447,7 @@ var init_rayuProviders = __esm(() => {
25447
25447
  }
25448
25448
  ];
25449
25449
  PROVIDER_DISPLAY_NAMES = {
25450
- [RAYU_API_PROVIDER_ID]: "Rayu",
25450
+ [RAYU_API_PROVIDER_ID]: "Rayu API Key",
25451
25451
  anthropic: "Anthropic",
25452
25452
  longcat: "LongCat",
25453
25453
  nvidia: "NVIDIA",
@@ -42135,7 +42135,7 @@ function parseRayuCatalog(payload) {
42135
42135
  });
42136
42136
  }
42137
42137
  return {
42138
- models: entries.map((e2) => e2.code).sort(),
42138
+ models: entries.map((e2) => e2.code),
42139
42139
  modelLabels: hostedModelLabels(entries),
42140
42140
  modelContextWindows: hostedContextWindows(entries)
42141
42141
  };
@@ -145629,7 +145629,7 @@ var init_isEqual = __esm(() => {
145629
145629
 
145630
145630
  // src/utils/userAgent.ts
145631
145631
  function getRayuUserAgent() {
145632
- return `rayu/${"1.6.11"}`;
145632
+ return `rayu/${"1.6.12"}`;
145633
145633
  }
145634
145634
  var getClaudeCodeUserAgent;
145635
145635
  var init_userAgent = __esm(() => {
@@ -145655,7 +145655,7 @@ function getUserAgent() {
145655
145655
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
145656
145656
  const workload = getWorkload();
145657
145657
  const workloadSuffix = workload ? `, workload/${workload}` : "";
145658
- return `rayu/${"1.6.11"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
145658
+ return `rayu/${"1.6.12"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
145659
145659
  }
145660
145660
  function getMCPUserAgent() {
145661
145661
  const parts = [];
@@ -145669,7 +145669,7 @@ function getMCPUserAgent() {
145669
145669
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
145670
145670
  }
145671
145671
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
145672
- return `rayu/${"1.6.11"}${suffix}`;
145672
+ return `rayu/${"1.6.12"}${suffix}`;
145673
145673
  }
145674
145674
  function getWebFetchUserAgent() {
145675
145675
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -156662,7 +156662,7 @@ var init_metadata = __esm(() => {
156662
156662
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
156663
156663
  WHITESPACE_REGEX = /\s+/;
156664
156664
  getVersionBase = memoize_default(() => {
156665
- const match = "1.6.11".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
156665
+ const match = "1.6.12".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
156666
156666
  return match ? match[0] : undefined;
156667
156667
  });
156668
156668
  buildEnvContext = memoize_default(async () => {
@@ -156701,7 +156701,7 @@ var init_metadata = __esm(() => {
156701
156701
  },
156702
156702
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
156703
156703
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
156704
- version: "1.6.11",
156704
+ version: "1.6.12",
156705
156705
  versionBase: getVersionBase(),
156706
156706
  buildTime: "",
156707
156707
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -164095,7 +164095,7 @@ function getAttributionHeader(fingerprint2) {
164095
164095
  if (!isAttributionHeaderEnabled()) {
164096
164096
  return "";
164097
164097
  }
164098
- const version2 = `${"1.6.11"}.${fingerprint2}`;
164098
+ const version2 = `${"1.6.12"}.${fingerprint2}`;
164099
164099
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
164100
164100
  const cch = "";
164101
164101
  const workload = getWorkload();
@@ -325179,7 +325179,7 @@ function getTelemetryAttributes() {
325179
325179
  attributes["session.id"] = sessionId;
325180
325180
  }
325181
325181
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
325182
- attributes["app.version"] = "1.6.11";
325182
+ attributes["app.version"] = "1.6.12";
325183
325183
  }
325184
325184
  const oauthAccount = getOauthAccountInfo();
325185
325185
  if (oauthAccount) {
@@ -368154,7 +368154,7 @@ function getInstallationEnv() {
368154
368154
  return;
368155
368155
  }
368156
368156
  function getClaudeCodeVersion() {
368157
- return "1.6.11";
368157
+ return "1.6.12";
368158
368158
  }
368159
368159
  async function getInstalledVSCodeExtensionVersion(command) {
368160
368160
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -370985,7 +370985,7 @@ function computeFingerprint(messageText, version2) {
370985
370985
  }
370986
370986
  function computeFingerprintFromMessages(messages) {
370987
370987
  const firstMessageText = extractFirstMessageText(messages);
370988
- return computeFingerprint(firstMessageText, "1.6.11");
370988
+ return computeFingerprint(firstMessageText, "1.6.12");
370989
370989
  }
370990
370990
  var FINGERPRINT_SALT = "59cf53e54c78";
370991
370991
  var init_fingerprint = () => {};
@@ -371027,7 +371027,7 @@ async function sideQuery(opts) {
371027
371027
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
371028
371028
  }
371029
371029
  const messageText = extractFirstUserMessageText(messages);
371030
- const fingerprint2 = computeFingerprint(messageText, "1.6.11");
371030
+ const fingerprint2 = computeFingerprint(messageText, "1.6.12");
371031
371031
  const attributionHeader = getAttributionHeader(fingerprint2);
371032
371032
  const systemBlocks = [
371033
371033
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -408769,7 +408769,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
408769
408769
  const client = new Client({
408770
408770
  name: "claude-code",
408771
408771
  title: "RAYU",
408772
- version: "1.6.11",
408772
+ version: "1.6.12",
408773
408773
  description: "Anthropic's agentic coding tool",
408774
408774
  websiteUrl: PRODUCT_URL
408775
408775
  }, {
@@ -409086,7 +409086,7 @@ var init_client5 = __esm(() => {
409086
409086
  const client = new Client({
409087
409087
  name: "claude-code",
409088
409088
  title: "RAYU",
409089
- version: "1.6.11",
409089
+ version: "1.6.12",
409090
409090
  description: "Anthropic's agentic coding tool",
409091
409091
  websiteUrl: PRODUCT_URL
409092
409092
  }, {
@@ -469252,7 +469252,7 @@ async function handshake(peer) {
469252
469252
  clientInfo: {
469253
469253
  name: "rayu_cli",
469254
469254
  title: "RAYU CLI",
469255
- version: typeof MACRO !== "undefined" ? "1.6.11" : "0.0.0"
469255
+ version: typeof MACRO !== "undefined" ? "1.6.12" : "0.0.0"
469256
469256
  },
469257
469257
  capabilities: { experimentalApi: false }
469258
469258
  };
@@ -500568,9 +500568,9 @@ async function assertMinVersion() {
500568
500568
  if (false) {}
500569
500569
  try {
500570
500570
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
500571
- if (versionConfig.minVersion && lt("1.6.11", versionConfig.minVersion)) {
500571
+ if (versionConfig.minVersion && lt("1.6.12", versionConfig.minVersion)) {
500572
500572
  console.error(`
500573
- It looks like your version of RAYU (${"1.6.11"}) needs an update.
500573
+ It looks like your version of RAYU (${"1.6.12"}) needs an update.
500574
500574
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
500575
500575
 
500576
500576
  To update, please run:
@@ -500734,7 +500734,7 @@ async function installGlobalPackage(specificVersion) {
500734
500734
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
500735
500735
  logEvent("tengu_auto_updater_lock_contention", {
500736
500736
  pid: process.pid,
500737
- currentVersion: "1.6.11"
500737
+ currentVersion: "1.6.12"
500738
500738
  });
500739
500739
  return "in_progress";
500740
500740
  }
@@ -500743,7 +500743,7 @@ async function installGlobalPackage(specificVersion) {
500743
500743
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
500744
500744
  logError2(new Error("Windows NPM detected in WSL environment"));
500745
500745
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
500746
- currentVersion: "1.6.11"
500746
+ currentVersion: "1.6.12"
500747
500747
  });
500748
500748
  console.error(`
500749
500749
  Error: Windows NPM detected in WSL
@@ -501274,7 +501274,7 @@ function detectLinuxGlobPatternWarnings() {
501274
501274
  }
501275
501275
  async function getDoctorDiagnostic() {
501276
501276
  const installationType = await getCurrentInstallationType();
501277
- const version2 = typeof MACRO !== "undefined" ? "1.6.11" : "unknown";
501277
+ const version2 = typeof MACRO !== "undefined" ? "1.6.12" : "unknown";
501278
501278
  const installationPath = await getInstallationPath();
501279
501279
  const invokedBinary = getInvokedBinary();
501280
501280
  const multipleInstallations = await detectMultipleInstallations();
@@ -502069,8 +502069,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
502069
502069
  const maxVersion = await getMaxVersion();
502070
502070
  if (maxVersion && gt(version2, maxVersion)) {
502071
502071
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
502072
- if (gte("1.6.11", maxVersion)) {
502073
- logForDebugging(`Native installer: current version ${"1.6.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
502072
+ if (gte("1.6.12", maxVersion)) {
502073
+ logForDebugging(`Native installer: current version ${"1.6.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
502074
502074
  logEvent("tengu_native_update_skipped_max_version", {
502075
502075
  latency_ms: Date.now() - startTime2,
502076
502076
  max_version: maxVersion,
@@ -502081,7 +502081,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
502081
502081
  version2 = maxVersion;
502082
502082
  }
502083
502083
  }
502084
- if (!forceReinstall && version2 === "1.6.11" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
502084
+ if (!forceReinstall && version2 === "1.6.12" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
502085
502085
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
502086
502086
  logEvent("tengu_native_update_complete", {
502087
502087
  latency_ms: Date.now() - startTime2,
@@ -503289,7 +503289,7 @@ function buildPrimarySection() {
503289
503289
  });
503290
503290
  return [{
503291
503291
  label: "Version",
503292
- value: "1.6.11"
503292
+ value: "1.6.12"
503293
503293
  }, {
503294
503294
  label: "Session name",
503295
503295
  value: nameValue
@@ -506972,7 +506972,7 @@ function Config({
506972
506972
  }
506973
506973
  })
506974
506974
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
506975
- currentVersion: "1.6.11",
506975
+ currentVersion: "1.6.12",
506976
506976
  onChoice: (choice) => {
506977
506977
  setShowSubmenu(null);
506978
506978
  setTabsHidden(false);
@@ -506984,7 +506984,7 @@ function Config({
506984
506984
  autoUpdatesChannel: "stable"
506985
506985
  };
506986
506986
  if (choice === "stay") {
506987
- newSettings.minimumVersion = "1.6.11";
506987
+ newSettings.minimumVersion = "1.6.12";
506988
506988
  }
506989
506989
  updateSettingsForSource("userSettings", newSettings);
506990
506990
  setSettingsData((prev_27) => ({
@@ -515045,7 +515045,7 @@ function HelpV2(t0) {
515045
515045
  let t6;
515046
515046
  if ($3[31] !== tabs) {
515047
515047
  t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
515048
- title: `Rayu-CLI v${"1.6.11"}`,
515048
+ title: `Rayu-CLI v${"1.6.12"}`,
515049
515049
  color: "professionalBlue",
515050
515050
  defaultTab: "general",
515051
515051
  children: tabs
@@ -536264,7 +536264,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
536264
536264
  }
536265
536265
  return [];
536266
536266
  }
536267
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.6.11") {
536267
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.6.12") {
536268
536268
  if (false) {}
536269
536269
  const cachedChangelog = await getStoredChangelog();
536270
536270
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -536277,7 +536277,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.6.11")
536277
536277
  releaseNotes
536278
536278
  };
536279
536279
  }
536280
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.6.11") {
536280
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.6.12") {
536281
536281
  if (false) {}
536282
536282
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
536283
536283
  return {
@@ -536405,7 +536405,7 @@ function getRecentActivitySync() {
536405
536405
  return cachedActivity;
536406
536406
  }
536407
536407
  function getLogoDisplayData() {
536408
- const version2 = process.env.DEMO_VERSION ?? "1.6.11";
536408
+ const version2 = process.env.DEMO_VERSION ?? "1.6.12";
536409
536409
  const serverUrl = getDirectConnectServerUrl();
536410
536410
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
536411
536411
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -537617,7 +537617,7 @@ function LogoV2() {
537617
537617
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
537618
537618
  t2 = () => {
537619
537619
  const currentConfig = getGlobalConfig();
537620
- if (currentConfig.lastReleaseNotesSeen === "1.6.11") {
537620
+ if (currentConfig.lastReleaseNotesSeen === "1.6.12") {
537621
537621
  return;
537622
537622
  }
537623
537623
  saveGlobalConfig(_temp327);
@@ -538096,7 +538096,7 @@ function LogoV2() {
538096
538096
  t24 = $3[61];
538097
538097
  }
538098
538098
  const _latestNpm = getCachedLatestNpmVersionSync();
538099
- const _updateFeeds = _latestNpm && gt(_latestNpm, "1.6.11") ? [createUpdateAvailableFeed("1.6.11", _latestNpm)] : [];
538099
+ const _updateFeeds = _latestNpm && gt(_latestNpm, "1.6.12") ? [createUpdateAvailableFeed("1.6.12", _latestNpm)] : [];
538100
538100
  const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
538101
538101
  feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
538102
538102
  maxWidth: rightWidth
@@ -538296,12 +538296,12 @@ function LogoV2() {
538296
538296
  return t41;
538297
538297
  }
538298
538298
  function _temp327(current) {
538299
- if (current.lastReleaseNotesSeen === "1.6.11") {
538299
+ if (current.lastReleaseNotesSeen === "1.6.12") {
538300
538300
  return current;
538301
538301
  }
538302
538302
  return {
538303
538303
  ...current,
538304
- lastReleaseNotesSeen: "1.6.11"
538304
+ lastReleaseNotesSeen: "1.6.12"
538305
538305
  };
538306
538306
  }
538307
538307
  function _temp241(s_0) {
@@ -564335,7 +564335,7 @@ function createRayuMcpServer(options) {
564335
564335
  commandsPromise ??= getCommands(options.cwd);
564336
564336
  return commandsPromise;
564337
564337
  };
564338
- const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.6.11" }, { capabilities: { tools: {}, prompts: {} } });
564338
+ const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.6.12" }, { capabilities: { tools: {}, prompts: {} } });
564339
564339
  server.setRequestHandler(ListToolsRequestSchema, async () => {
564340
564340
  const toolPermissionContext = getEmptyToolPermissionContext();
564341
564341
  const allTools = getTools(toolPermissionContext);
@@ -564435,7 +564435,7 @@ async function pingRayuMcpServer(cwd2) {
564435
564435
  const server = createRayuMcpServer2({ cwd: cwd2, debug: false, verbose: false });
564436
564436
  const [clientTransport, serverTransport] = createLinkedTransportPair();
564437
564437
  await server.connect(serverTransport);
564438
- client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.6.11" });
564438
+ client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.6.12" });
564439
564439
  await client.connect(clientTransport);
564440
564440
  const tools = await client.listTools();
564441
564441
  let promptCount = 0;
@@ -565138,7 +565138,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
565138
565138
  smapsRollup,
565139
565139
  platform: process.platform,
565140
565140
  nodeVersion: process.version,
565141
- ccVersion: "1.6.11"
565141
+ ccVersion: "1.6.12"
565142
565142
  };
565143
565143
  }
565144
565144
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -565660,7 +565660,7 @@ var init_bridge_kick = __esm(() => {
565660
565660
  var call52 = async () => {
565661
565661
  return {
565662
565662
  type: "text",
565663
- value: "1.6.11"
565663
+ value: "1.6.12"
565664
565664
  };
565665
565665
  }, version2, version_default;
565666
565666
  var init_version = __esm(() => {
@@ -572105,9 +572105,13 @@ function SearchableModelPicker({
572105
572105
  const [query3, setQuery] = React103.useState("");
572106
572106
  React103.useEffect(() => {
572107
572107
  let alive = true;
572108
- refreshHostedCatalog().then((changed) => {
572109
- if (alive && changed)
572108
+ Promise.all([
572109
+ refreshHostedCatalog(),
572110
+ refreshRayuApiKeyCatalog().then((r2) => r2.changed).catch(() => false)
572111
+ ]).then(([hostedChanged, apiKeyChanged]) => {
572112
+ if (alive && (hostedChanged || apiKeyChanged)) {
572110
572113
  setAll(getAllProviderModelOptions());
572114
+ }
572111
572115
  });
572112
572116
  return () => {
572113
572117
  alive = false;
@@ -573495,7 +573499,7 @@ var init_user = __esm(() => {
573495
573499
  deviceId,
573496
573500
  sessionId: getSessionId(),
573497
573501
  email: getEmail(),
573498
- appVersion: "1.6.11",
573502
+ appVersion: "1.6.12",
573499
573503
  platform: getHostPlatformForAnalytics(),
573500
573504
  organizationUuid,
573501
573505
  accountUuid,
@@ -581152,7 +581156,7 @@ function generateHtmlReport(data, insights) {
581152
581156
  </html>`;
581153
581157
  }
581154
581158
  function buildExportData(data, insights, facets, remoteStats) {
581155
- const version3 = typeof MACRO !== "undefined" ? "1.6.11" : "unknown";
581159
+ const version3 = typeof MACRO !== "undefined" ? "1.6.12" : "unknown";
581156
581160
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
581157
581161
  const facets_summary = {
581158
581162
  total: facets.size,
@@ -585074,7 +585078,7 @@ var init_sessionStorage = __esm(() => {
585074
585078
  init_settings2();
585075
585079
  init_slowOperations();
585076
585080
  init_uuid();
585077
- VERSION5 = typeof MACRO !== "undefined" ? "1.6.11" : "unknown";
585081
+ VERSION5 = typeof MACRO !== "undefined" ? "1.6.12" : "unknown";
585078
585082
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
585079
585083
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
585080
585084
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -586292,7 +586296,7 @@ var init_filesystem = __esm(() => {
586292
586296
  });
586293
586297
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
586294
586298
  const nonce = randomBytes20(16).toString("hex");
586295
- return join156(getClaudeTempDir(), "bundled-skills", "1.6.11", nonce);
586299
+ return join156(getClaudeTempDir(), "bundled-skills", "1.6.12", nonce);
586296
586300
  });
586297
586301
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
586298
586302
  });
@@ -606385,8 +606389,8 @@ function getAllProviderModelOptions() {
606385
606389
  }
606386
606390
  }
606387
606391
  out.sort((a2, b3) => {
606388
- const ra = a2.providerId === "rayu-hosted" ? 0 : 1;
606389
- const rb = b3.providerId === "rayu-hosted" ? 0 : 1;
606392
+ const ra = a2.providerId === "rayu-hosted" ? 0 : a2.providerId === RAYU_API_PROVIDER_ID2 ? 0 : 1;
606393
+ const rb = b3.providerId === "rayu-hosted" ? 0 : b3.providerId === RAYU_API_PROVIDER_ID2 ? 0 : 1;
606390
606394
  return ra - rb;
606391
606395
  });
606392
606396
  return out;
@@ -608249,7 +608253,7 @@ __export(exports_update, {
608249
608253
  classifyUpdateOutcome: () => classifyUpdateOutcome
608250
608254
  });
608251
608255
  async function update() {
608252
- writeToStdout(`Current version: ${"1.6.11"}
608256
+ writeToStdout(`Current version: ${"1.6.12"}
608253
608257
  `);
608254
608258
  const isBundled = isInBundledMode();
608255
608259
  if (isBundled) {
@@ -608280,18 +608284,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
608280
608284
  process.exit(1);
608281
608285
  return;
608282
608286
  }
608283
- if (latestVersion === "1.6.11") {
608287
+ if (latestVersion === "1.6.12") {
608284
608288
  writeToStdout(source_default.green(`
608285
- Rayu CLI is up to date (${"1.6.11"})
608289
+ Rayu CLI is up to date (${"1.6.12"})
608286
608290
  `));
608287
608291
  process.exit(0);
608288
608292
  }
608289
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.6.11"})
608293
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.6.12"})
608290
608294
  `);
608291
608295
  writeToStdout(`Installing update...
608292
608296
 
608293
608297
  `);
608294
- const versionBeforeInstall = getInstalledVersion() ?? "1.6.11";
608298
+ const versionBeforeInstall = getInstalledVersion() ?? "1.6.12";
608295
608299
  const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
608296
608300
  if (!await acquireUpdateLock()) {
608297
608301
  process.stderr.write(source_default.yellow(`
@@ -608409,14 +608413,14 @@ async function updateNativeBinary() {
608409
608413
  } catch {
608410
608414
  latestVersion = "";
608411
608415
  }
608412
- if (latestVersion && latestVersion === "1.6.11") {
608416
+ if (latestVersion && latestVersion === "1.6.12") {
608413
608417
  writeToStdout(source_default.green(`
608414
- Rayu CLI is up to date (1.6.11)
608418
+ Rayu CLI is up to date (1.6.12)
608415
608419
  `));
608416
608420
  process.exit(0);
608417
608421
  }
608418
608422
  if (latestVersion) {
608419
- writeToStdout(`New version available: ${latestVersion} (current: 1.6.11)
608423
+ writeToStdout(`New version available: ${latestVersion} (current: 1.6.12)
608420
608424
  `);
608421
608425
  }
608422
608426
  writeToStdout(`Downloading and installing update...
@@ -608431,13 +608435,13 @@ Rayu CLI is up to date (1.6.11)
608431
608435
  return;
608432
608436
  }
608433
608437
  writeToStdout(source_default.green(`
608434
- Rayu CLI is up to date (1.6.11)
608438
+ Rayu CLI is up to date (1.6.12)
608435
608439
  `));
608436
608440
  process.exit(0);
608437
608441
  }
608438
608442
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
608439
608443
  writeToStdout(source_default.green(`
608440
- Successfully updated from 1.6.11 to ${updatedTo}
608444
+ Successfully updated from 1.6.12 to ${updatedTo}
608441
608445
  `));
608442
608446
  writeToStdout(`Restart your terminal to use the new version.
608443
608447
  `);
@@ -608872,7 +608876,7 @@ async function uninstall(args = []) {
608872
608876
  const keepData = args.includes("--keep-data");
608873
608877
  const dryRun = args.includes("--dry-run");
608874
608878
  const plan2 = await planUninstall({ keepData });
608875
- writeToStdout(`Rayu CLI ${"1.6.11"}
608879
+ writeToStdout(`Rayu CLI ${"1.6.12"}
608876
608880
 
608877
608881
  `);
608878
608882
  for (const line of describePlan(plan2))
@@ -609195,7 +609199,7 @@ function showFirstRunWelcome() {
609195
609199
  `);
609196
609200
  try {
609197
609201
  mkdirSync19(getRayuConfigHomeDir(), { recursive: true });
609198
- writeFileSync22(markerPath(), "1.6.11", "utf8");
609202
+ writeFileSync22(markerPath(), "1.6.12", "utf8");
609199
609203
  } catch {}
609200
609204
  }
609201
609205
  var init_firstRun = __esm(() => {
@@ -624265,7 +624269,7 @@ async function initializeBetaTracing(resource) {
624265
624269
  });
624266
624270
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
624267
624271
  setLoggerProvider(loggerProvider);
624268
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.11");
624272
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.12");
624269
624273
  setEventLogger(eventLogger);
624270
624274
  process.on("beforeExit", async () => {
624271
624275
  await loggerProvider?.forceFlush();
@@ -624305,7 +624309,7 @@ async function initializeTelemetry() {
624305
624309
  const platform4 = getPlatform();
624306
624310
  const baseAttributes = {
624307
624311
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
624308
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.6.11"
624312
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.6.12"
624309
624313
  };
624310
624314
  if (platform4 === "wsl") {
624311
624315
  const wslVersion = getWslVersion();
@@ -624350,7 +624354,7 @@ async function initializeTelemetry() {
624350
624354
  } catch {}
624351
624355
  };
624352
624356
  registerCleanup(shutdownTelemetry2);
624353
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.6.11");
624357
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.6.12");
624354
624358
  }
624355
624359
  const meterProvider = new import_sdk_metrics2.MeterProvider({
624356
624360
  resource,
@@ -624370,7 +624374,7 @@ async function initializeTelemetry() {
624370
624374
  });
624371
624375
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
624372
624376
  setLoggerProvider(loggerProvider);
624373
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.11");
624377
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.12");
624374
624378
  setEventLogger(eventLogger);
624375
624379
  logForDebugging("[3P telemetry] Event logger set successfully");
624376
624380
  process.on("beforeExit", async () => {
@@ -624432,7 +624436,7 @@ Current timeout: ${timeoutMs}ms
624432
624436
  }
624433
624437
  };
624434
624438
  registerCleanup(shutdownTelemetry);
624435
- return meterProvider.getMeter("com.anthropic.claude_code", "1.6.11");
624439
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.6.12");
624436
624440
  }
624437
624441
  async function flushTelemetry() {
624438
624442
  const meterProvider = getMeterProvider();
@@ -625939,7 +625943,7 @@ function buildSystemInitMessage(inputs) {
625939
625943
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
625940
625944
  apiKeySource: getAnthropicApiKeyWithSource().source,
625941
625945
  betas: getSdkBetas(),
625942
- claude_code_version: "1.6.11",
625946
+ claude_code_version: "1.6.12",
625943
625947
  output_style: outputStyle2,
625944
625948
  agents: inputs.agents.map((agent2) => agent2.agentType),
625945
625949
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -629142,7 +629146,7 @@ function getDeviceFacts() {
629142
629146
  return {
629143
629147
  platform: process.platform,
629144
629148
  arch: process.arch,
629145
- version: "1.6.11"
629149
+ version: "1.6.12"
629146
629150
  };
629147
629151
  }
629148
629152
  var cached3 = null;
@@ -645725,7 +645729,7 @@ var init_useVoiceEnabled = __esm(() => {
645725
645729
  function getSemverPart(version3) {
645726
645730
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
645727
645731
  }
645728
- function useUpdateNotification(updatedVersion, initialVersion = "1.6.11") {
645732
+ function useUpdateNotification(updatedVersion, initialVersion = "1.6.12") {
645729
645733
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react221.useState(() => getSemverPart(initialVersion));
645730
645734
  if (!updatedVersion) {
645731
645735
  return null;
@@ -645765,7 +645769,7 @@ function AutoUpdater({
645765
645769
  return;
645766
645770
  }
645767
645771
  if (false) {}
645768
- const currentVersion = "1.6.11";
645772
+ const currentVersion = "1.6.12";
645769
645773
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
645770
645774
  let latestVersion = await getLatestVersion(channel2);
645771
645775
  const isDisabled = isAutoUpdaterDisabled();
@@ -645978,12 +645982,12 @@ function NativeAutoUpdater({
645978
645982
  logEvent("tengu_native_auto_updater_start", {});
645979
645983
  try {
645980
645984
  const maxVersion = await getMaxVersion();
645981
- if (maxVersion && gt("1.6.11", maxVersion)) {
645985
+ if (maxVersion && gt("1.6.12", maxVersion)) {
645982
645986
  const msg = await getMaxVersionMessage();
645983
645987
  setMaxVersionIssue(msg ?? "affects your version");
645984
645988
  }
645985
645989
  const result = await installLatest(channel2);
645986
- const currentVersion = "1.6.11";
645990
+ const currentVersion = "1.6.12";
645987
645991
  const latencyMs = Date.now() - startTime2;
645988
645992
  if (result.lockFailed) {
645989
645993
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -646120,17 +646124,17 @@ function PackageManagerAutoUpdater(t0) {
646120
646124
  const maxVersion = await getMaxVersion();
646121
646125
  if (maxVersion && latest && gt(latest, maxVersion)) {
646122
646126
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
646123
- if (gte("1.6.11", maxVersion)) {
646124
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.6.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
646127
+ if (gte("1.6.12", maxVersion)) {
646128
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.6.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
646125
646129
  setUpdateAvailable(false);
646126
646130
  return;
646127
646131
  }
646128
646132
  latest = maxVersion;
646129
646133
  }
646130
- const hasUpdate = latest && !gte("1.6.11", latest) && !shouldSkipVersion(latest);
646134
+ const hasUpdate = latest && !gte("1.6.12", latest) && !shouldSkipVersion(latest);
646131
646135
  setUpdateAvailable(!!hasUpdate);
646132
646136
  if (hasUpdate) {
646133
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.6.11"} -> ${latest}`);
646137
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.6.12"} -> ${latest}`);
646134
646138
  }
646135
646139
  };
646136
646140
  $3[0] = t1;
@@ -646164,7 +646168,7 @@ function PackageManagerAutoUpdater(t0) {
646164
646168
  wrap: "truncate",
646165
646169
  children: [
646166
646170
  "currentVersion: ",
646167
- "1.6.11"
646171
+ "1.6.12"
646168
646172
  ]
646169
646173
  });
646170
646174
  $3[3] = verbose;
@@ -646567,7 +646571,7 @@ function readNoticeEnvironment() {
646567
646571
  function UpdateAvailableNotice({
646568
646572
  detectInstallationType = getCurrentInstallationType,
646569
646573
  fetchLatestVersion,
646570
- currentVersion = "1.6.11",
646574
+ currentVersion = "1.6.12",
646571
646575
  readEnvironment = readNoticeEnvironment
646572
646576
  } = {}) {
646573
646577
  const [latestVersion, setLatestVersion] = import_react228.useState(() => getCachedLatestNpmVersionSync());
@@ -654418,7 +654422,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
654418
654422
  project_dir: getOriginalCwd(),
654419
654423
  added_dirs: addedDirs
654420
654424
  },
654421
- version: "1.6.11",
654425
+ version: "1.6.12",
654422
654426
  output_style: {
654423
654427
  name: outputStyleName
654424
654428
  },
@@ -656218,9 +656222,11 @@ var init_PromptInputFooter = __esm(() => {
656218
656222
 
656219
656223
  // src/components/PromptInput/PromptInputModelIndicator.tsx
656220
656224
  function getShortModelName(model) {
656221
- const lastDot = model.lastIndexOf(".");
656222
- return lastDot >= 0 ? model.slice(lastDot + 1) : model;
656225
+ return renderModelName(model);
656223
656226
  }
656227
+ var init_PromptInputModelIndicator = __esm(() => {
656228
+ init_model();
656229
+ });
656224
656230
 
656225
656231
  // src/components/PromptInput/PromptInputModeIndicator.tsx
656226
656232
  function getTeammateThemeColor() {
@@ -658676,6 +658682,7 @@ var init_PromptInput = __esm(() => {
658676
658682
  init_VimTextInput();
658677
658683
  init_Notifications();
658678
658684
  init_PromptInputFooter();
658685
+ init_PromptInputModelIndicator();
658679
658686
  init_PromptInputModeIndicator();
658680
658687
  init_PromptInputQueuedCommands();
658681
658688
  init_PromptInputStashNotice();
@@ -665927,7 +665934,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
665927
665934
  } catch {}
665928
665935
  const data = {
665929
665936
  trigger,
665930
- version: "1.6.11",
665937
+ version: "1.6.12",
665931
665938
  platform: process.platform,
665932
665939
  transcript,
665933
665940
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -678307,7 +678314,7 @@ function WelcomeV2() {
678307
678314
  dimColor: true,
678308
678315
  children: [
678309
678316
  "v",
678310
- "1.6.11"
678317
+ "1.6.12"
678311
678318
  ]
678312
678319
  })
678313
678320
  ]
@@ -679314,7 +679321,7 @@ function completeOnboarding() {
679314
679321
  saveGlobalConfig((current) => ({
679315
679322
  ...current,
679316
679323
  hasCompletedOnboarding: true,
679317
- lastOnboardingVersion: "1.6.11"
679324
+ lastOnboardingVersion: "1.6.12"
679318
679325
  }));
679319
679326
  }
679320
679327
  function showDialog(root2, renderer) {
@@ -684379,7 +684386,7 @@ function appendToLog(path24, message) {
684379
684386
  cwd: getFsImplementation().cwd(),
684380
684387
  userType: "external",
684381
684388
  sessionId: getSessionId(),
684382
- version: "1.6.11"
684389
+ version: "1.6.12"
684383
684390
  };
684384
684391
  getLogWriter(path24).write(messageWithTimestamp);
684385
684392
  }
@@ -688367,8 +688374,8 @@ async function getEnvLessBridgeConfig() {
688367
688374
  }
688368
688375
  async function checkEnvLessBridgeMinVersion() {
688369
688376
  const cfg = await getEnvLessBridgeConfig();
688370
- if (cfg.min_version && lt("1.6.11", cfg.min_version)) {
688371
- return `Your version of RAYU (${"1.6.11"}) is too old for Remote Control.
688377
+ if (cfg.min_version && lt("1.6.12", cfg.min_version)) {
688378
+ return `Your version of RAYU (${"1.6.12"}) is too old for Remote Control.
688372
688379
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
688373
688380
  }
688374
688381
  return null;
@@ -688841,7 +688848,7 @@ async function initBridgeCore(params) {
688841
688848
  const rawApi = createBridgeApiClient({
688842
688849
  baseUrl,
688843
688850
  getAccessToken,
688844
- runnerVersion: "1.6.11",
688851
+ runnerVersion: "1.6.12",
688845
688852
  onDebug: logForDebugging,
688846
688853
  onAuth401,
688847
688854
  getTrustedDeviceToken
@@ -696122,7 +696129,7 @@ ${customInstructions}` : customInstructions;
696122
696129
  }
696123
696130
  }
696124
696131
  logForDiagnosticsNoPII("info", "started", {
696125
- version: "1.6.11",
696132
+ version: "1.6.12",
696126
696133
  is_native_binary: isInBundledMode()
696127
696134
  });
696128
696135
  registerCleanup(async () => {
@@ -696845,7 +696852,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
696845
696852
  pendingHookMessages
696846
696853
  }, renderAndRun);
696847
696854
  }
696848
- }).version(`1.6.11 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
696855
+ }).version(`1.6.12 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
696849
696856
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
696850
696857
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
696851
696858
  if (canUserConfigureAdvisor()) {
@@ -697310,7 +697317,7 @@ if (false) {}
697310
697317
  async function main2() {
697311
697318
  const args = process.argv.slice(2);
697312
697319
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
697313
- console.log(`${"1.6.11"} (Beta-Rayu-CLI)`);
697320
+ console.log(`${"1.6.12"} (Beta-Rayu-CLI)`);
697314
697321
  return;
697315
697322
  }
697316
697323
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {