@rayu-dev/rayu-cli 1.1.11 → 1.1.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 +101 -84
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -65772,6 +65772,7 @@ var init_permissions = __esm(() => {
65772
65772
  ];
65773
65773
  INTERNAL_PERMISSION_MODES = [
65774
65774
  ...EXTERNAL_PERMISSION_MODES,
65775
+ "fullManage",
65775
65776
  ...[]
65776
65777
  ];
65777
65778
  PERMISSION_MODES = INTERNAL_PERMISSION_MODES;
@@ -65780,9 +65781,9 @@ var init_permissions = __esm(() => {
65780
65781
  // src/utils/permissions/PermissionMode.ts
65781
65782
  function isExternalPermissionMode(mode) {
65782
65783
  if (true) {
65783
- return true;
65784
+ return mode !== "fullManage";
65784
65785
  }
65785
- return mode !== "auto" && mode !== "bubble";
65786
+ return mode !== "auto" && mode !== "bubble" && mode !== "fullManage";
65786
65787
  }
65787
65788
  function getModeConfig(mode) {
65788
65789
  return PERMISSION_MODE_CONFIG[mode] ?? PERMISSION_MODE_CONFIG.default;
@@ -65841,6 +65842,13 @@ var init_PermissionMode = __esm(() => {
65841
65842
  color: "error",
65842
65843
  external: "bypassPermissions"
65843
65844
  },
65845
+ fullManage: {
65846
+ title: "Full Manage",
65847
+ shortTitle: "FullMng",
65848
+ symbol: "⏩",
65849
+ color: "error",
65850
+ external: "bypassPermissions"
65851
+ },
65844
65852
  dontAsk: {
65845
65853
  title: "Don't Ask",
65846
65854
  shortTitle: "DontAsk",
@@ -208520,7 +208528,7 @@ var init_auth2 = __esm(() => {
208520
208528
 
208521
208529
  // src/utils/userAgent.ts
208522
208530
  function getClaudeCodeUserAgent() {
208523
- return `claude-code/${"1.1.10"}`;
208531
+ return `claude-code/${"1.1.11"}`;
208524
208532
  }
208525
208533
 
208526
208534
  // src/utils/workloadContext.ts
@@ -208542,7 +208550,7 @@ function getUserAgent() {
208542
208550
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
208543
208551
  const workload = getWorkload();
208544
208552
  const workloadSuffix = workload ? `, workload/${workload}` : "";
208545
- return `claude-cli/${"1.1.10"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
208553
+ return `claude-cli/${"1.1.11"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
208546
208554
  }
208547
208555
  function getMCPUserAgent() {
208548
208556
  const parts = [];
@@ -208556,7 +208564,7 @@ function getMCPUserAgent() {
208556
208564
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
208557
208565
  }
208558
208566
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
208559
- return `claude-code/${"1.1.10"}${suffix}`;
208567
+ return `claude-code/${"1.1.11"}${suffix}`;
208560
208568
  }
208561
208569
  function getWebFetchUserAgent() {
208562
208570
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -208694,7 +208702,7 @@ var init_user = __esm(() => {
208694
208702
  deviceId,
208695
208703
  sessionId: getSessionId(),
208696
208704
  email: getEmail(),
208697
- appVersion: "1.1.10",
208705
+ appVersion: "1.1.11",
208698
208706
  platform: getHostPlatformForAnalytics(),
208699
208707
  organizationUuid,
208700
208708
  accountUuid,
@@ -216615,7 +216623,7 @@ var init_metadata = __esm(() => {
216615
216623
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
216616
216624
  WHITESPACE_REGEX = /\s+/;
216617
216625
  getVersionBase = memoize_default(() => {
216618
- const match = "1.1.10".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
216626
+ const match = "1.1.11".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
216619
216627
  return match ? match[0] : undefined;
216620
216628
  });
216621
216629
  buildEnvContext = memoize_default(async () => {
@@ -216655,7 +216663,7 @@ var init_metadata = __esm(() => {
216655
216663
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
216656
216664
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
216657
216665
  isClaudeAiAuth: isClaudeAISubscriber(),
216658
- version: "1.1.10",
216666
+ version: "1.1.11",
216659
216667
  versionBase: getVersionBase(),
216660
216668
  buildTime: "",
216661
216669
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -217275,7 +217283,7 @@ function initialize1PEventLogging() {
217275
217283
  const platform3 = getPlatform();
217276
217284
  const attributes = {
217277
217285
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
217278
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.10"
217286
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.11"
217279
217287
  };
217280
217288
  if (platform3 === "wsl") {
217281
217289
  const wslVersion = getWslVersion();
@@ -217302,7 +217310,7 @@ function initialize1PEventLogging() {
217302
217310
  })
217303
217311
  ]
217304
217312
  });
217305
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "1.1.10");
217313
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "1.1.11");
217306
217314
  }
217307
217315
  async function reinitialize1PEventLoggingIfConfigChanged() {
217308
217316
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -219136,7 +219144,7 @@ function getAttributionHeader(fingerprint) {
219136
219144
  if (!isAttributionHeaderEnabled()) {
219137
219145
  return "";
219138
219146
  }
219139
- const version5 = `${"1.1.10"}.${fingerprint}`;
219147
+ const version5 = `${"1.1.11"}.${fingerprint}`;
219140
219148
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
219141
219149
  const cch = "";
219142
219150
  const workload = getWorkload();
@@ -398769,7 +398777,7 @@ function getTelemetryAttributes() {
398769
398777
  attributes["session.id"] = sessionId;
398770
398778
  }
398771
398779
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
398772
- attributes["app.version"] = "1.1.10";
398780
+ attributes["app.version"] = "1.1.11";
398773
398781
  }
398774
398782
  const oauthAccount = getOauthAccountInfo();
398775
398783
  if (oauthAccount) {
@@ -430095,7 +430103,7 @@ function getInstallationEnv() {
430095
430103
  return;
430096
430104
  }
430097
430105
  function getClaudeCodeVersion() {
430098
- return "1.1.10";
430106
+ return "1.1.11";
430099
430107
  }
430100
430108
  async function getInstalledVSCodeExtensionVersion(command) {
430101
430109
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -435660,7 +435668,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
435660
435668
  const client5 = new Client({
435661
435669
  name: "claude-code",
435662
435670
  title: "RAYU",
435663
- version: "1.1.10",
435671
+ version: "1.1.11",
435664
435672
  description: "Anthropic's agentic coding tool",
435665
435673
  websiteUrl: PRODUCT_URL
435666
435674
  }, {
@@ -436014,7 +436022,7 @@ var init_client10 = __esm(() => {
436014
436022
  const client5 = new Client({
436015
436023
  name: "claude-code",
436016
436024
  title: "RAYU",
436017
- version: "1.1.10",
436025
+ version: "1.1.11",
436018
436026
  description: "Anthropic's agentic coding tool",
436019
436027
  websiteUrl: PRODUCT_URL
436020
436028
  }, {
@@ -454069,7 +454077,7 @@ async function initializeBetaTracing(resource) {
454069
454077
  });
454070
454078
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
454071
454079
  setLoggerProvider(loggerProvider);
454072
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.10");
454080
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.11");
454073
454081
  setEventLogger(eventLogger);
454074
454082
  process.on("beforeExit", async () => {
454075
454083
  await loggerProvider?.forceFlush();
@@ -454109,7 +454117,7 @@ async function initializeTelemetry() {
454109
454117
  const platform5 = getPlatform();
454110
454118
  const baseAttributes = {
454111
454119
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
454112
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.10"
454120
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.11"
454113
454121
  };
454114
454122
  if (platform5 === "wsl") {
454115
454123
  const wslVersion = getWslVersion();
@@ -454154,7 +454162,7 @@ async function initializeTelemetry() {
454154
454162
  } catch {}
454155
454163
  };
454156
454164
  registerCleanup(shutdownTelemetry2);
454157
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.10");
454165
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.11");
454158
454166
  }
454159
454167
  const meterProvider = new import_sdk_metrics2.MeterProvider({
454160
454168
  resource,
@@ -454174,7 +454182,7 @@ async function initializeTelemetry() {
454174
454182
  });
454175
454183
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
454176
454184
  setLoggerProvider(loggerProvider);
454177
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.10");
454185
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.11");
454178
454186
  setEventLogger(eventLogger);
454179
454187
  logForDebugging("[3P telemetry] Event logger set successfully");
454180
454188
  process.on("beforeExit", async () => {
@@ -454236,7 +454244,7 @@ Current timeout: ${timeoutMs}ms
454236
454244
  }
454237
454245
  };
454238
454246
  registerCleanup(shutdownTelemetry);
454239
- return meterProvider.getMeter("com.anthropic.claude_code", "1.1.10");
454247
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.1.11");
454240
454248
  }
454241
454249
  async function flushTelemetry() {
454242
454250
  const meterProvider = getMeterProvider();
@@ -454904,9 +454912,9 @@ async function assertMinVersion() {
454904
454912
  if (false) {}
454905
454913
  try {
454906
454914
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
454907
- if (versionConfig.minVersion && lt("1.1.10", versionConfig.minVersion)) {
454915
+ if (versionConfig.minVersion && lt("1.1.11", versionConfig.minVersion)) {
454908
454916
  console.error(`
454909
- It looks like your version of RAYU (${"1.1.10"}) needs an update.
454917
+ It looks like your version of RAYU (${"1.1.11"}) needs an update.
454910
454918
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
454911
454919
 
454912
454920
  To update, please run:
@@ -455118,7 +455126,7 @@ async function installGlobalPackage(specificVersion) {
455118
455126
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
455119
455127
  logEvent("tengu_auto_updater_lock_contention", {
455120
455128
  pid: process.pid,
455121
- currentVersion: "1.1.10"
455129
+ currentVersion: "1.1.11"
455122
455130
  });
455123
455131
  return "in_progress";
455124
455132
  }
@@ -455127,7 +455135,7 @@ async function installGlobalPackage(specificVersion) {
455127
455135
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
455128
455136
  logError2(new Error("Windows NPM detected in WSL environment"));
455129
455137
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
455130
- currentVersion: "1.1.10"
455138
+ currentVersion: "1.1.11"
455131
455139
  });
455132
455140
  console.error(`
455133
455141
  Error: Windows NPM detected in WSL
@@ -455662,7 +455670,7 @@ function detectLinuxGlobPatternWarnings() {
455662
455670
  }
455663
455671
  async function getDoctorDiagnostic() {
455664
455672
  const installationType = await getCurrentInstallationType();
455665
- const version5 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
455673
+ const version5 = typeof MACRO !== "undefined" ? "1.1.11" : "unknown";
455666
455674
  const installationPath = await getInstallationPath();
455667
455675
  const invokedBinary = getInvokedBinary();
455668
455676
  const multipleInstallations = await detectMultipleInstallations();
@@ -456486,8 +456494,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
456486
456494
  const maxVersion = await getMaxVersion();
456487
456495
  if (maxVersion && gt(version5, maxVersion)) {
456488
456496
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version5} to ${maxVersion}`);
456489
- if (gte("1.1.10", maxVersion)) {
456490
- logForDebugging(`Native installer: current version ${"1.1.10"} is already at or above maxVersion ${maxVersion}, skipping update`);
456497
+ if (gte("1.1.11", maxVersion)) {
456498
+ logForDebugging(`Native installer: current version ${"1.1.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
456491
456499
  logEvent("tengu_native_update_skipped_max_version", {
456492
456500
  latency_ms: Date.now() - startTime,
456493
456501
  max_version: maxVersion,
@@ -456498,7 +456506,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
456498
456506
  version5 = maxVersion;
456499
456507
  }
456500
456508
  }
456501
- if (!forceReinstall && version5 === "1.1.10" && await versionIsAvailable(version5) && await isPossibleClaudeBinary(executablePath)) {
456509
+ if (!forceReinstall && version5 === "1.1.11" && await versionIsAvailable(version5) && await isPossibleClaudeBinary(executablePath)) {
456502
456510
  logForDebugging(`Found ${version5} at ${executablePath}, skipping install`);
456503
456511
  logEvent("tengu_native_update_complete", {
456504
456512
  latency_ms: Date.now() - startTime,
@@ -564392,6 +564400,16 @@ async function hasPermissionsToUseToolInner(tool, input, context3) {
564392
564400
  throw new AbortError;
564393
564401
  }
564394
564402
  let appState = context3.getAppState();
564403
+ if (appState.toolPermissionContext.mode === "fullManage") {
564404
+ return {
564405
+ behavior: "allow",
564406
+ updatedInput: input,
564407
+ decisionReason: {
564408
+ type: "mode",
564409
+ mode: "fullManage"
564410
+ }
564411
+ };
564412
+ }
564395
564413
  const denyRule = getDenyRuleForTool(appState.toolPermissionContext, tool);
564396
564414
  if (denyRule) {
564397
564415
  return {
@@ -565043,7 +565061,7 @@ async function initializeToolPermissionContext({
565043
565061
  const growthBookDisableBypassPermissionsMode = checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_disable_bypass_permissions_mode");
565044
565062
  const settings = getSettings_DEPRECATED() || {};
565045
565063
  const settingsDisableBypassPermissionsMode = settings.permissions?.disableBypassPermissionsMode === "disable";
565046
- const isBypassPermissionsModeAvailable = (permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !growthBookDisableBypassPermissionsMode && !settingsDisableBypassPermissionsMode;
565064
+ const isBypassPermissionsModeAvailable = (permissionMode === "bypassPermissions" || permissionMode === "fullManage" || allowDangerouslySkipPermissions) && !growthBookDisableBypassPermissionsMode && !settingsDisableBypassPermissionsMode;
565047
565065
  const rulesFromDisk = loadAllPermissionRulesFromDisk();
565048
565066
  let overlyBroadBashPermissions = [];
565049
565067
  if (false) {}
@@ -570297,7 +570315,7 @@ function Feedback({
570297
570315
  platform: env4.platform,
570298
570316
  gitRepo: envInfo.isGit,
570299
570317
  terminal: env4.terminal,
570300
- version: "1.1.10",
570318
+ version: "1.1.11",
570301
570319
  transcript: normalizeMessagesForAPI(messages),
570302
570320
  errors: sanitizedErrors,
570303
570321
  lastApiRequest: getLastAPIRequest(),
@@ -570489,7 +570507,7 @@ function Feedback({
570489
570507
  ", ",
570490
570508
  env4.terminal,
570491
570509
  ", v",
570492
- "1.1.10"
570510
+ "1.1.11"
570493
570511
  ]
570494
570512
  }, undefined, true, undefined, this)
570495
570513
  ]
@@ -570595,7 +570613,7 @@ ${sanitizedDescription}
570595
570613
  ` + `**Environment Info**
570596
570614
  ` + `- Platform: ${env4.platform}
570597
570615
  ` + `- Terminal: ${env4.terminal}
570598
- ` + `- Version: ${"1.1.10"}
570616
+ ` + `- Version: ${"1.1.11"}
570599
570617
  ` + `- Feedback ID: ${feedbackId}
570600
570618
  ` + `
570601
570619
  **Errors**
@@ -573695,7 +573713,7 @@ function buildPrimarySection() {
573695
573713
  }, undefined, false, undefined, this);
573696
573714
  return [{
573697
573715
  label: "Version",
573698
- value: "1.1.10"
573716
+ value: "1.1.11"
573699
573717
  }, {
573700
573718
  label: "Session name",
573701
573719
  value: nameValue
@@ -577446,7 +577464,7 @@ function Config({
577446
577464
  }
577447
577465
  }, undefined, false, undefined, this)
577448
577466
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime182.jsxDEV(ChannelDowngradeDialog, {
577449
- currentVersion: "1.1.10",
577467
+ currentVersion: "1.1.11",
577450
577468
  onChoice: (choice) => {
577451
577469
  setShowSubmenu(null);
577452
577470
  setTabsHidden(false);
@@ -577458,7 +577476,7 @@ function Config({
577458
577476
  autoUpdatesChannel: "stable"
577459
577477
  };
577460
577478
  if (choice === "stay") {
577461
- newSettings.minimumVersion = "1.1.10";
577479
+ newSettings.minimumVersion = "1.1.11";
577462
577480
  }
577463
577481
  updateSettingsForSource("userSettings", newSettings);
577464
577482
  setSettingsData((prev_27) => ({
@@ -585459,7 +585477,7 @@ function HelpV2(t0) {
585459
585477
  let t6;
585460
585478
  if ($3[31] !== tabs) {
585461
585479
  t6 = /* @__PURE__ */ jsx_dev_runtime209.jsxDEV(Tabs, {
585462
- title: `Rayu-CLI v${"1.1.10"}`,
585480
+ title: `Rayu-CLI v${"1.1.11"}`,
585463
585481
  color: "professionalBlue",
585464
585482
  defaultTab: "general",
585465
585483
  children: tabs
@@ -585478,7 +585496,7 @@ function HelpV2(t0) {
585478
585496
  "For more help:",
585479
585497
  " ",
585480
585498
  /* @__PURE__ */ jsx_dev_runtime209.jsxDEV(Link, {
585481
- url: "https://code.claude.com/docs/en/overview"
585499
+ url: "https://github.com/Choeng-Rayu/rayu-cli/tree/main/rayu/documentations"
585482
585500
  }, undefined, false, undefined, this)
585483
585501
  ]
585484
585502
  }, undefined, true, undefined, this)
@@ -608272,7 +608290,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
608272
608290
  return [];
608273
608291
  }
608274
608292
  }
608275
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.10") {
608293
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.11") {
608276
608294
  if (false) {}
608277
608295
  const cachedChangelog = await getStoredChangelog();
608278
608296
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -608285,7 +608303,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.10")
608285
608303
  releaseNotes
608286
608304
  };
608287
608305
  }
608288
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.10") {
608306
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.11") {
608289
608307
  if (false) {}
608290
608308
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
608291
608309
  return {
@@ -609471,7 +609489,7 @@ function getRecentActivitySync() {
609471
609489
  return cachedActivity;
609472
609490
  }
609473
609491
  function getLogoDisplayData() {
609474
- const version5 = process.env.DEMO_VERSION ?? "1.1.10";
609492
+ const version5 = process.env.DEMO_VERSION ?? "1.1.11";
609475
609493
  const serverUrl = getDirectConnectServerUrl();
609476
609494
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
609477
609495
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -610724,7 +610742,7 @@ function LogoV2() {
610724
610742
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
610725
610743
  t2 = () => {
610726
610744
  const currentConfig = getGlobalConfig();
610727
- if (currentConfig.lastReleaseNotesSeen === "1.1.10") {
610745
+ if (currentConfig.lastReleaseNotesSeen === "1.1.11") {
610728
610746
  return;
610729
610747
  }
610730
610748
  saveGlobalConfig(_temp328);
@@ -611400,12 +611418,12 @@ function LogoV2() {
611400
611418
  return t41;
611401
611419
  }
611402
611420
  function _temp328(current) {
611403
- if (current.lastReleaseNotesSeen === "1.1.10") {
611421
+ if (current.lastReleaseNotesSeen === "1.1.11") {
611404
611422
  return current;
611405
611423
  }
611406
611424
  return {
611407
611425
  ...current,
611408
- lastReleaseNotesSeen: "1.1.10"
611426
+ lastReleaseNotesSeen: "1.1.11"
611409
611427
  };
611410
611428
  }
611411
611429
  function _temp243(s_0) {
@@ -637796,7 +637814,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
637796
637814
  smapsRollup,
637797
637815
  platform: process.platform,
637798
637816
  nodeVersion: process.version,
637799
- ccVersion: "1.1.10"
637817
+ ccVersion: "1.1.11"
637800
637818
  };
637801
637819
  }
637802
637820
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -638324,7 +638342,7 @@ var init_bridge_kick = __esm(() => {
638324
638342
  var call59 = async () => {
638325
638343
  return {
638326
638344
  type: "text",
638327
- value: "1.1.10"
638345
+ value: "1.1.11"
638328
638346
  };
638329
638347
  }, version5, version_default;
638330
638348
  var init_version = __esm(() => {
@@ -647870,7 +647888,7 @@ function generateHtmlReport(data, insights) {
647870
647888
  </html>`;
647871
647889
  }
647872
647890
  function buildExportData(data, insights, facets, remoteStats) {
647873
- const version6 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
647891
+ const version6 = typeof MACRO !== "undefined" ? "1.1.11" : "unknown";
647874
647892
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
647875
647893
  const facets_summary = {
647876
647894
  total: facets.size,
@@ -651854,7 +651872,7 @@ var init_sessionStorage = __esm(() => {
651854
651872
  init_settings2();
651855
651873
  init_slowOperations();
651856
651874
  init_uuid();
651857
- VERSION6 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
651875
+ VERSION6 = typeof MACRO !== "undefined" ? "1.1.11" : "unknown";
651858
651876
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
651859
651877
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
651860
651878
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -653075,7 +653093,7 @@ var init_filesystem = __esm(() => {
653075
653093
  });
653076
653094
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
653077
653095
  const nonce = randomBytes19(16).toString("hex");
653078
- return join149(getClaudeTempDir(), "bundled-skills", "1.1.10", nonce);
653096
+ return join149(getClaudeTempDir(), "bundled-skills", "1.1.11", nonce);
653079
653097
  });
653080
653098
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
653081
653099
  });
@@ -659048,7 +659066,7 @@ function computeFingerprint(messageText, version6) {
659048
659066
  }
659049
659067
  function computeFingerprintFromMessages(messages) {
659050
659068
  const firstMessageText = extractFirstMessageText(messages);
659051
- return computeFingerprint(firstMessageText, "1.1.10");
659069
+ return computeFingerprint(firstMessageText, "1.1.11");
659052
659070
  }
659053
659071
  var FINGERPRINT_SALT = "59cf53e54c78";
659054
659072
  var init_fingerprint = () => {};
@@ -660890,7 +660908,7 @@ async function sideQuery(opts) {
660890
660908
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
660891
660909
  }
660892
660910
  const messageText = extractFirstUserMessageText(messages);
660893
- const fingerprint = computeFingerprint(messageText, "1.1.10");
660911
+ const fingerprint = computeFingerprint(messageText, "1.1.11");
660894
660912
  const attributionHeader = getAttributionHeader(fingerprint);
660895
660913
  const systemBlocks = [
660896
660914
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -661499,7 +661517,7 @@ __export(exports_update, {
661499
661517
  import { execFileSync as execFileSync4 } from "node:child_process";
661500
661518
  import { homedir as homedir35 } from "os";
661501
661519
  async function update() {
661502
- writeToStdout(`Current version: ${"1.1.10"}
661520
+ writeToStdout(`Current version: ${"1.1.11"}
661503
661521
  `);
661504
661522
  writeToStdout(`Checking for updates...
661505
661523
  `);
@@ -661517,13 +661535,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
661517
661535
  process.exit(1);
661518
661536
  return;
661519
661537
  }
661520
- if (latestVersion === "1.1.10") {
661538
+ if (latestVersion === "1.1.11") {
661521
661539
  writeToStdout(source_default.green(`
661522
- Rayu CLI is up to date (${"1.1.10"})
661540
+ Rayu CLI is up to date (${"1.1.11"})
661523
661541
  `));
661524
661542
  process.exit(0);
661525
661543
  }
661526
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.10"})
661544
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.11"})
661527
661545
  `);
661528
661546
  writeToStdout(`Installing update...
661529
661547
 
@@ -661547,7 +661565,7 @@ Try manually:
661547
661565
  return;
661548
661566
  }
661549
661567
  writeToStdout(source_default.green(`
661550
- Successfully updated from ${"1.1.10"} to ${latestVersion}
661568
+ Successfully updated from ${"1.1.11"} to ${latestVersion}
661551
661569
  `));
661552
661570
  process.exit(0);
661553
661571
  }
@@ -661563,7 +661581,7 @@ __export(exports_uninstall, {
661563
661581
  import { execFileSync as execFileSync5 } from "node:child_process";
661564
661582
  import { homedir as homedir36 } from "os";
661565
661583
  async function uninstall() {
661566
- writeToStdout(`Uninstalling Rayu CLI (${"1.1.10"})...
661584
+ writeToStdout(`Uninstalling Rayu CLI (${"1.1.11"})...
661567
661585
  `);
661568
661586
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
661569
661587
 
@@ -661586,7 +661604,7 @@ Try running manually:
661586
661604
  process.exit(1);
661587
661605
  }
661588
661606
  writeToStdout(source_default.green(`
661589
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.1.10"}
661607
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.1.11"}
661590
661608
  `));
661591
661609
  writeToStdout(`Thanks for using Rayu CLI!
661592
661610
  `);
@@ -661638,7 +661656,7 @@ function showFirstRunWelcome() {
661638
661656
  `);
661639
661657
  try {
661640
661658
  mkdirSync11(getClaudeConfigHomeDir(), { recursive: true });
661641
- writeFileSync13(markerPath(), "1.1.10", "utf8");
661659
+ writeFileSync13(markerPath(), "1.1.11", "utf8");
661642
661660
  } catch {}
661643
661661
  }
661644
661662
  var init_firstRun = __esm(() => {
@@ -665564,7 +665582,7 @@ function buildSystemInitMessage(inputs) {
665564
665582
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
665565
665583
  apiKeySource: getAnthropicApiKeyWithSource().source,
665566
665584
  betas: getSdkBetas(),
665567
- claude_code_version: "1.1.10",
665585
+ claude_code_version: "1.1.11",
665568
665586
  output_style: outputStyle2,
665569
665587
  agents: inputs.agents.map((agent) => agent.agentType),
665570
665588
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -681412,7 +681430,7 @@ var init_useVoiceEnabled = __esm(() => {
681412
681430
  function getSemverPart(version6) {
681413
681431
  return `${import_semver13.major(version6, { loose: true })}.${import_semver13.minor(version6, { loose: true })}.${import_semver13.patch(version6, { loose: true })}`;
681414
681432
  }
681415
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.10") {
681433
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.11") {
681416
681434
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react231.useState(() => getSemverPart(initialVersion));
681417
681435
  if (!updatedVersion) {
681418
681436
  return null;
@@ -681452,7 +681470,7 @@ function AutoUpdater({
681452
681470
  return;
681453
681471
  }
681454
681472
  if (false) {}
681455
- const currentVersion = "1.1.10";
681473
+ const currentVersion = "1.1.11";
681456
681474
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
681457
681475
  let latestVersion = await getLatestVersion(channel);
681458
681476
  const isDisabled = isAutoUpdaterDisabled();
@@ -681665,12 +681683,12 @@ function NativeAutoUpdater({
681665
681683
  logEvent("tengu_native_auto_updater_start", {});
681666
681684
  try {
681667
681685
  const maxVersion = await getMaxVersion();
681668
- if (maxVersion && gt("1.1.10", maxVersion)) {
681686
+ if (maxVersion && gt("1.1.11", maxVersion)) {
681669
681687
  const msg = await getMaxVersionMessage();
681670
681688
  setMaxVersionIssue(msg ?? "affects your version");
681671
681689
  }
681672
681690
  const result = await installLatest(channel);
681673
- const currentVersion = "1.1.10";
681691
+ const currentVersion = "1.1.11";
681674
681692
  const latencyMs = Date.now() - startTime;
681675
681693
  if (result.lockFailed) {
681676
681694
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -681807,17 +681825,17 @@ function PackageManagerAutoUpdater(t0) {
681807
681825
  const maxVersion = await getMaxVersion();
681808
681826
  if (maxVersion && latest && gt(latest, maxVersion)) {
681809
681827
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
681810
- if (gte("1.1.10", maxVersion)) {
681811
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.10"} is already at or above maxVersion ${maxVersion}, skipping update`);
681828
+ if (gte("1.1.11", maxVersion)) {
681829
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
681812
681830
  setUpdateAvailable(false);
681813
681831
  return;
681814
681832
  }
681815
681833
  latest = maxVersion;
681816
681834
  }
681817
- const hasUpdate = latest && !gte("1.1.10", latest) && !shouldSkipVersion(latest);
681835
+ const hasUpdate = latest && !gte("1.1.11", latest) && !shouldSkipVersion(latest);
681818
681836
  setUpdateAvailable(!!hasUpdate);
681819
681837
  if (hasUpdate) {
681820
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.10"} -> ${latest}`);
681838
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.11"} -> ${latest}`);
681821
681839
  }
681822
681840
  };
681823
681841
  $3[0] = t1;
@@ -681851,7 +681869,7 @@ function PackageManagerAutoUpdater(t0) {
681851
681869
  wrap: "truncate",
681852
681870
  children: [
681853
681871
  "currentVersion: ",
681854
- "1.1.10"
681872
+ "1.1.11"
681855
681873
  ]
681856
681874
  }, undefined, true, undefined, this);
681857
681875
  $3[3] = verbose;
@@ -687028,11 +687046,10 @@ function getNextPermissionMode(toolPermissionContext, _teamContext) {
687028
687046
  if (toolPermissionContext.isBypassPermissionsModeAvailable) {
687029
687047
  return "bypassPermissions";
687030
687048
  }
687031
- if (canCycleToAuto(toolPermissionContext)) {
687032
- return "auto";
687033
- }
687034
- return "default";
687049
+ return "fullManage";
687035
687050
  case "bypassPermissions":
687051
+ return "fullManage";
687052
+ case "fullManage":
687036
687053
  if (canCycleToAuto(toolPermissionContext)) {
687037
687054
  return "auto";
687038
687055
  }
@@ -690012,7 +690029,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
690012
690029
  project_dir: getOriginalCwd(),
690013
690030
  added_dirs: addedDirs
690014
690031
  },
690015
- version: "1.1.10",
690032
+ version: "1.1.11",
690016
690033
  output_style: {
690017
690034
  name: outputStyleName
690018
690035
  },
@@ -701386,7 +701403,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
701386
701403
  } catch {}
701387
701404
  const data = {
701388
701405
  trigger,
701389
- version: "1.1.10",
701406
+ version: "1.1.11",
701390
701407
  platform: process.platform,
701391
701408
  transcript,
701392
701409
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -712978,7 +712995,7 @@ function WelcomeV2() {
712978
712995
  dimColor: true,
712979
712996
  children: [
712980
712997
  "v",
712981
- "1.1.10"
712998
+ "1.1.11"
712982
712999
  ]
712983
713000
  }, undefined, true, undefined, this)
712984
713001
  ]
@@ -714162,7 +714179,7 @@ function completeOnboarding() {
714162
714179
  saveGlobalConfig((current) => ({
714163
714180
  ...current,
714164
714181
  hasCompletedOnboarding: true,
714165
- lastOnboardingVersion: "1.1.10"
714182
+ lastOnboardingVersion: "1.1.11"
714166
714183
  }));
714167
714184
  }
714168
714185
  function showDialog(root2, renderer) {
@@ -718899,7 +718916,7 @@ function appendToLog(path32, message) {
718899
718916
  cwd: getFsImplementation().cwd(),
718900
718917
  userType: "external",
718901
718918
  sessionId: getSessionId(),
718902
- version: "1.1.10"
718919
+ version: "1.1.11"
718903
718920
  };
718904
718921
  getLogWriter(path32).write(messageWithTimestamp);
718905
718922
  }
@@ -722881,8 +722898,8 @@ async function getEnvLessBridgeConfig() {
722881
722898
  }
722882
722899
  async function checkEnvLessBridgeMinVersion() {
722883
722900
  const cfg = await getEnvLessBridgeConfig();
722884
- if (cfg.min_version && lt("1.1.10", cfg.min_version)) {
722885
- return `Your version of RAYU (${"1.1.10"}) is too old for Remote Control.
722901
+ if (cfg.min_version && lt("1.1.11", cfg.min_version)) {
722902
+ return `Your version of RAYU (${"1.1.11"}) is too old for Remote Control.
722886
722903
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
722887
722904
  }
722888
722905
  return null;
@@ -723356,7 +723373,7 @@ async function initBridgeCore(params) {
723356
723373
  const rawApi = createBridgeApiClient({
723357
723374
  baseUrl,
723358
723375
  getAccessToken,
723359
- runnerVersion: "1.1.10",
723376
+ runnerVersion: "1.1.11",
723360
723377
  onDebug: logForDebugging,
723361
723378
  onAuth401,
723362
723379
  getTrustedDeviceToken
@@ -728988,7 +729005,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
728988
729005
  setCwd(cwd3);
728989
729006
  const server = new Server({
728990
729007
  name: "claude/tengu",
728991
- version: "1.1.10"
729008
+ version: "1.1.11"
728992
729009
  }, {
728993
729010
  capabilities: {
728994
729011
  tools: {}
@@ -731777,7 +731794,7 @@ ${customInstructions}` : customInstructions;
731777
731794
  }
731778
731795
  }
731779
731796
  logForDiagnosticsNoPII("info", "started", {
731780
- version: "1.1.10",
731797
+ version: "1.1.11",
731781
731798
  is_native_binary: isInBundledMode()
731782
731799
  });
731783
731800
  registerCleanup(async () => {
@@ -732562,7 +732579,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
732562
732579
  pendingHookMessages
732563
732580
  }, renderAndRun);
732564
732581
  }
732565
- }).version("1.1.10 (Rayu-CLI)", "-v, --version", "Output the version number");
732582
+ }).version("1.1.11 (Rayu-CLI)", "-v, --version", "Output the version number");
732566
732583
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
732567
732584
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
732568
732585
  if (canUserConfigureAdvisor()) {
@@ -733083,7 +733100,7 @@ if (false) {}
733083
733100
  async function main2() {
733084
733101
  const args = process.argv.slice(2);
733085
733102
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
733086
- console.log(`${"1.1.10"} (Rayu-CLI)`);
733103
+ console.log(`${"1.1.11"} (Rayu-CLI)`);
733087
733104
  return;
733088
733105
  }
733089
733106
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {