@rayu-dev/rayu-cli 1.6.1 → 1.6.11
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.
- package/dist/rayu.js +80 -80
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -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.
|
|
145632
|
+
return `rayu/${"1.6.11"}`;
|
|
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.
|
|
145658
|
+
return `rayu/${"1.6.11"} (${"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.
|
|
145672
|
+
return `rayu/${"1.6.11"}${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.
|
|
156665
|
+
const match = "1.6.11".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.
|
|
156704
|
+
version: "1.6.11",
|
|
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.
|
|
164098
|
+
const version2 = `${"1.6.11"}.${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.
|
|
325182
|
+
attributes["app.version"] = "1.6.11";
|
|
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.
|
|
368157
|
+
return "1.6.11";
|
|
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.
|
|
370988
|
+
return computeFingerprint(firstMessageText, "1.6.11");
|
|
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.
|
|
371030
|
+
const fingerprint2 = computeFingerprint(messageText, "1.6.11");
|
|
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.
|
|
408772
|
+
version: "1.6.11",
|
|
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.
|
|
409089
|
+
version: "1.6.11",
|
|
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.
|
|
469255
|
+
version: typeof MACRO !== "undefined" ? "1.6.11" : "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.
|
|
500571
|
+
if (versionConfig.minVersion && lt("1.6.11", versionConfig.minVersion)) {
|
|
500572
500572
|
console.error(`
|
|
500573
|
-
It looks like your version of RAYU (${"1.6.
|
|
500573
|
+
It looks like your version of RAYU (${"1.6.11"}) 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.
|
|
500737
|
+
currentVersion: "1.6.11"
|
|
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.
|
|
500746
|
+
currentVersion: "1.6.11"
|
|
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.
|
|
501277
|
+
const version2 = typeof MACRO !== "undefined" ? "1.6.11" : "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.
|
|
502073
|
-
logForDebugging(`Native installer: current version ${"1.6.
|
|
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`);
|
|
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.
|
|
502084
|
+
if (!forceReinstall && version2 === "1.6.11" && 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.
|
|
503292
|
+
value: "1.6.11"
|
|
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.
|
|
506975
|
+
currentVersion: "1.6.11",
|
|
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.
|
|
506987
|
+
newSettings.minimumVersion = "1.6.11";
|
|
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.
|
|
515048
|
+
title: `Rayu-CLI v${"1.6.11"}`,
|
|
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.
|
|
536267
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.6.11") {
|
|
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.1:bet
|
|
|
536277
536277
|
releaseNotes
|
|
536278
536278
|
};
|
|
536279
536279
|
}
|
|
536280
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.6.
|
|
536280
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.6.11") {
|
|
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.
|
|
536408
|
+
const version2 = process.env.DEMO_VERSION ?? "1.6.11";
|
|
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.
|
|
537620
|
+
if (currentConfig.lastReleaseNotesSeen === "1.6.11") {
|
|
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.
|
|
538099
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.6.11") ? [createUpdateAvailableFeed("1.6.11", _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.
|
|
538299
|
+
if (current.lastReleaseNotesSeen === "1.6.11") {
|
|
538300
538300
|
return current;
|
|
538301
538301
|
}
|
|
538302
538302
|
return {
|
|
538303
538303
|
...current,
|
|
538304
|
-
lastReleaseNotesSeen: "1.6.
|
|
538304
|
+
lastReleaseNotesSeen: "1.6.11"
|
|
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.
|
|
564338
|
+
const server = new Server({ name: RAYU_MCP_SERVER_NAME, version: "1.6.11" }, { 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.
|
|
564438
|
+
client = new Client({ name: `${RAYU_MCP_SERVER_NAME}-healthcheck`, version: "1.6.11" });
|
|
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.
|
|
565141
|
+
ccVersion: "1.6.11"
|
|
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.
|
|
565663
|
+
value: "1.6.11"
|
|
565664
565664
|
};
|
|
565665
565665
|
}, version2, version_default;
|
|
565666
565666
|
var init_version = __esm(() => {
|
|
@@ -573495,7 +573495,7 @@ var init_user = __esm(() => {
|
|
|
573495
573495
|
deviceId,
|
|
573496
573496
|
sessionId: getSessionId(),
|
|
573497
573497
|
email: getEmail(),
|
|
573498
|
-
appVersion: "1.6.
|
|
573498
|
+
appVersion: "1.6.11",
|
|
573499
573499
|
platform: getHostPlatformForAnalytics(),
|
|
573500
573500
|
organizationUuid,
|
|
573501
573501
|
accountUuid,
|
|
@@ -581152,7 +581152,7 @@ function generateHtmlReport(data, insights) {
|
|
|
581152
581152
|
</html>`;
|
|
581153
581153
|
}
|
|
581154
581154
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
581155
|
-
const version3 = typeof MACRO !== "undefined" ? "1.6.
|
|
581155
|
+
const version3 = typeof MACRO !== "undefined" ? "1.6.11" : "unknown";
|
|
581156
581156
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
581157
581157
|
const facets_summary = {
|
|
581158
581158
|
total: facets.size,
|
|
@@ -585074,7 +585074,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
585074
585074
|
init_settings2();
|
|
585075
585075
|
init_slowOperations();
|
|
585076
585076
|
init_uuid();
|
|
585077
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.6.
|
|
585077
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.6.11" : "unknown";
|
|
585078
585078
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
585079
585079
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
585080
585080
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -586292,7 +586292,7 @@ var init_filesystem = __esm(() => {
|
|
|
586292
586292
|
});
|
|
586293
586293
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
586294
586294
|
const nonce = randomBytes20(16).toString("hex");
|
|
586295
|
-
return join156(getClaudeTempDir(), "bundled-skills", "1.6.
|
|
586295
|
+
return join156(getClaudeTempDir(), "bundled-skills", "1.6.11", nonce);
|
|
586296
586296
|
});
|
|
586297
586297
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
586298
586298
|
});
|
|
@@ -608249,7 +608249,7 @@ __export(exports_update, {
|
|
|
608249
608249
|
classifyUpdateOutcome: () => classifyUpdateOutcome
|
|
608250
608250
|
});
|
|
608251
608251
|
async function update() {
|
|
608252
|
-
writeToStdout(`Current version: ${"1.6.
|
|
608252
|
+
writeToStdout(`Current version: ${"1.6.11"}
|
|
608253
608253
|
`);
|
|
608254
608254
|
const isBundled = isInBundledMode();
|
|
608255
608255
|
if (isBundled) {
|
|
@@ -608280,18 +608280,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
608280
608280
|
process.exit(1);
|
|
608281
608281
|
return;
|
|
608282
608282
|
}
|
|
608283
|
-
if (latestVersion === "1.6.
|
|
608283
|
+
if (latestVersion === "1.6.11") {
|
|
608284
608284
|
writeToStdout(source_default.green(`
|
|
608285
|
-
Rayu CLI is up to date (${"1.6.
|
|
608285
|
+
Rayu CLI is up to date (${"1.6.11"})
|
|
608286
608286
|
`));
|
|
608287
608287
|
process.exit(0);
|
|
608288
608288
|
}
|
|
608289
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.6.
|
|
608289
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.6.11"})
|
|
608290
608290
|
`);
|
|
608291
608291
|
writeToStdout(`Installing update...
|
|
608292
608292
|
|
|
608293
608293
|
`);
|
|
608294
|
-
const versionBeforeInstall = getInstalledVersion() ?? "1.6.
|
|
608294
|
+
const versionBeforeInstall = getInstalledVersion() ?? "1.6.11";
|
|
608295
608295
|
const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
|
|
608296
608296
|
if (!await acquireUpdateLock()) {
|
|
608297
608297
|
process.stderr.write(source_default.yellow(`
|
|
@@ -608409,14 +608409,14 @@ async function updateNativeBinary() {
|
|
|
608409
608409
|
} catch {
|
|
608410
608410
|
latestVersion = "";
|
|
608411
608411
|
}
|
|
608412
|
-
if (latestVersion && latestVersion === "1.6.
|
|
608412
|
+
if (latestVersion && latestVersion === "1.6.11") {
|
|
608413
608413
|
writeToStdout(source_default.green(`
|
|
608414
|
-
Rayu CLI is up to date (1.6.
|
|
608414
|
+
Rayu CLI is up to date (1.6.11)
|
|
608415
608415
|
`));
|
|
608416
608416
|
process.exit(0);
|
|
608417
608417
|
}
|
|
608418
608418
|
if (latestVersion) {
|
|
608419
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.6.
|
|
608419
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.6.11)
|
|
608420
608420
|
`);
|
|
608421
608421
|
}
|
|
608422
608422
|
writeToStdout(`Downloading and installing update...
|
|
@@ -608431,13 +608431,13 @@ Rayu CLI is up to date (1.6.1:beta)
|
|
|
608431
608431
|
return;
|
|
608432
608432
|
}
|
|
608433
608433
|
writeToStdout(source_default.green(`
|
|
608434
|
-
Rayu CLI is up to date (1.6.
|
|
608434
|
+
Rayu CLI is up to date (1.6.11)
|
|
608435
608435
|
`));
|
|
608436
608436
|
process.exit(0);
|
|
608437
608437
|
}
|
|
608438
608438
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
608439
608439
|
writeToStdout(source_default.green(`
|
|
608440
|
-
Successfully updated from 1.6.
|
|
608440
|
+
Successfully updated from 1.6.11 to ${updatedTo}
|
|
608441
608441
|
`));
|
|
608442
608442
|
writeToStdout(`Restart your terminal to use the new version.
|
|
608443
608443
|
`);
|
|
@@ -608872,7 +608872,7 @@ async function uninstall(args = []) {
|
|
|
608872
608872
|
const keepData = args.includes("--keep-data");
|
|
608873
608873
|
const dryRun = args.includes("--dry-run");
|
|
608874
608874
|
const plan2 = await planUninstall({ keepData });
|
|
608875
|
-
writeToStdout(`Rayu CLI ${"1.6.
|
|
608875
|
+
writeToStdout(`Rayu CLI ${"1.6.11"}
|
|
608876
608876
|
|
|
608877
608877
|
`);
|
|
608878
608878
|
for (const line of describePlan(plan2))
|
|
@@ -609195,7 +609195,7 @@ function showFirstRunWelcome() {
|
|
|
609195
609195
|
`);
|
|
609196
609196
|
try {
|
|
609197
609197
|
mkdirSync19(getRayuConfigHomeDir(), { recursive: true });
|
|
609198
|
-
writeFileSync22(markerPath(), "1.6.
|
|
609198
|
+
writeFileSync22(markerPath(), "1.6.11", "utf8");
|
|
609199
609199
|
} catch {}
|
|
609200
609200
|
}
|
|
609201
609201
|
var init_firstRun = __esm(() => {
|
|
@@ -624265,7 +624265,7 @@ async function initializeBetaTracing(resource) {
|
|
|
624265
624265
|
});
|
|
624266
624266
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624267
624267
|
setLoggerProvider(loggerProvider);
|
|
624268
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.
|
|
624268
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.11");
|
|
624269
624269
|
setEventLogger(eventLogger);
|
|
624270
624270
|
process.on("beforeExit", async () => {
|
|
624271
624271
|
await loggerProvider?.forceFlush();
|
|
@@ -624305,7 +624305,7 @@ async function initializeTelemetry() {
|
|
|
624305
624305
|
const platform4 = getPlatform();
|
|
624306
624306
|
const baseAttributes = {
|
|
624307
624307
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
624308
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.6.
|
|
624308
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.6.11"
|
|
624309
624309
|
};
|
|
624310
624310
|
if (platform4 === "wsl") {
|
|
624311
624311
|
const wslVersion = getWslVersion();
|
|
@@ -624350,7 +624350,7 @@ async function initializeTelemetry() {
|
|
|
624350
624350
|
} catch {}
|
|
624351
624351
|
};
|
|
624352
624352
|
registerCleanup(shutdownTelemetry2);
|
|
624353
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.6.
|
|
624353
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.6.11");
|
|
624354
624354
|
}
|
|
624355
624355
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
624356
624356
|
resource,
|
|
@@ -624370,7 +624370,7 @@ async function initializeTelemetry() {
|
|
|
624370
624370
|
});
|
|
624371
624371
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624372
624372
|
setLoggerProvider(loggerProvider);
|
|
624373
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.
|
|
624373
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.6.11");
|
|
624374
624374
|
setEventLogger(eventLogger);
|
|
624375
624375
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
624376
624376
|
process.on("beforeExit", async () => {
|
|
@@ -624432,7 +624432,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
624432
624432
|
}
|
|
624433
624433
|
};
|
|
624434
624434
|
registerCleanup(shutdownTelemetry);
|
|
624435
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.6.
|
|
624435
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.6.11");
|
|
624436
624436
|
}
|
|
624437
624437
|
async function flushTelemetry() {
|
|
624438
624438
|
const meterProvider = getMeterProvider();
|
|
@@ -625939,7 +625939,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625939
625939
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625940
625940
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
625941
625941
|
betas: getSdkBetas(),
|
|
625942
|
-
claude_code_version: "1.6.
|
|
625942
|
+
claude_code_version: "1.6.11",
|
|
625943
625943
|
output_style: outputStyle2,
|
|
625944
625944
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
625945
625945
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -629142,7 +629142,7 @@ function getDeviceFacts() {
|
|
|
629142
629142
|
return {
|
|
629143
629143
|
platform: process.platform,
|
|
629144
629144
|
arch: process.arch,
|
|
629145
|
-
version: "1.6.
|
|
629145
|
+
version: "1.6.11"
|
|
629146
629146
|
};
|
|
629147
629147
|
}
|
|
629148
629148
|
var cached3 = null;
|
|
@@ -645725,7 +645725,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
645725
645725
|
function getSemverPart(version3) {
|
|
645726
645726
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
645727
645727
|
}
|
|
645728
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.6.
|
|
645728
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.6.11") {
|
|
645729
645729
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react221.useState(() => getSemverPart(initialVersion));
|
|
645730
645730
|
if (!updatedVersion) {
|
|
645731
645731
|
return null;
|
|
@@ -645765,7 +645765,7 @@ function AutoUpdater({
|
|
|
645765
645765
|
return;
|
|
645766
645766
|
}
|
|
645767
645767
|
if (false) {}
|
|
645768
|
-
const currentVersion = "1.6.
|
|
645768
|
+
const currentVersion = "1.6.11";
|
|
645769
645769
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
645770
645770
|
let latestVersion = await getLatestVersion(channel2);
|
|
645771
645771
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -645978,12 +645978,12 @@ function NativeAutoUpdater({
|
|
|
645978
645978
|
logEvent("tengu_native_auto_updater_start", {});
|
|
645979
645979
|
try {
|
|
645980
645980
|
const maxVersion = await getMaxVersion();
|
|
645981
|
-
if (maxVersion && gt("1.6.
|
|
645981
|
+
if (maxVersion && gt("1.6.11", maxVersion)) {
|
|
645982
645982
|
const msg = await getMaxVersionMessage();
|
|
645983
645983
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
645984
645984
|
}
|
|
645985
645985
|
const result = await installLatest(channel2);
|
|
645986
|
-
const currentVersion = "1.6.
|
|
645986
|
+
const currentVersion = "1.6.11";
|
|
645987
645987
|
const latencyMs = Date.now() - startTime2;
|
|
645988
645988
|
if (result.lockFailed) {
|
|
645989
645989
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -646120,17 +646120,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
646120
646120
|
const maxVersion = await getMaxVersion();
|
|
646121
646121
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
646122
646122
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
646123
|
-
if (gte("1.6.
|
|
646124
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.6.
|
|
646123
|
+
if (gte("1.6.11", maxVersion)) {
|
|
646124
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.6.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
646125
646125
|
setUpdateAvailable(false);
|
|
646126
646126
|
return;
|
|
646127
646127
|
}
|
|
646128
646128
|
latest = maxVersion;
|
|
646129
646129
|
}
|
|
646130
|
-
const hasUpdate = latest && !gte("1.6.
|
|
646130
|
+
const hasUpdate = latest && !gte("1.6.11", latest) && !shouldSkipVersion(latest);
|
|
646131
646131
|
setUpdateAvailable(!!hasUpdate);
|
|
646132
646132
|
if (hasUpdate) {
|
|
646133
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.6.
|
|
646133
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.6.11"} -> ${latest}`);
|
|
646134
646134
|
}
|
|
646135
646135
|
};
|
|
646136
646136
|
$3[0] = t1;
|
|
@@ -646164,7 +646164,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
646164
646164
|
wrap: "truncate",
|
|
646165
646165
|
children: [
|
|
646166
646166
|
"currentVersion: ",
|
|
646167
|
-
"1.6.
|
|
646167
|
+
"1.6.11"
|
|
646168
646168
|
]
|
|
646169
646169
|
});
|
|
646170
646170
|
$3[3] = verbose;
|
|
@@ -646567,7 +646567,7 @@ function readNoticeEnvironment() {
|
|
|
646567
646567
|
function UpdateAvailableNotice({
|
|
646568
646568
|
detectInstallationType = getCurrentInstallationType,
|
|
646569
646569
|
fetchLatestVersion,
|
|
646570
|
-
currentVersion = "1.6.
|
|
646570
|
+
currentVersion = "1.6.11",
|
|
646571
646571
|
readEnvironment = readNoticeEnvironment
|
|
646572
646572
|
} = {}) {
|
|
646573
646573
|
const [latestVersion, setLatestVersion] = import_react228.useState(() => getCachedLatestNpmVersionSync());
|
|
@@ -654418,7 +654418,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
654418
654418
|
project_dir: getOriginalCwd(),
|
|
654419
654419
|
added_dirs: addedDirs
|
|
654420
654420
|
},
|
|
654421
|
-
version: "1.6.
|
|
654421
|
+
version: "1.6.11",
|
|
654422
654422
|
output_style: {
|
|
654423
654423
|
name: outputStyleName
|
|
654424
654424
|
},
|
|
@@ -665927,7 +665927,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
665927
665927
|
} catch {}
|
|
665928
665928
|
const data = {
|
|
665929
665929
|
trigger,
|
|
665930
|
-
version: "1.6.
|
|
665930
|
+
version: "1.6.11",
|
|
665931
665931
|
platform: process.platform,
|
|
665932
665932
|
transcript,
|
|
665933
665933
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -678307,7 +678307,7 @@ function WelcomeV2() {
|
|
|
678307
678307
|
dimColor: true,
|
|
678308
678308
|
children: [
|
|
678309
678309
|
"v",
|
|
678310
|
-
"1.6.
|
|
678310
|
+
"1.6.11"
|
|
678311
678311
|
]
|
|
678312
678312
|
})
|
|
678313
678313
|
]
|
|
@@ -679314,7 +679314,7 @@ function completeOnboarding() {
|
|
|
679314
679314
|
saveGlobalConfig((current) => ({
|
|
679315
679315
|
...current,
|
|
679316
679316
|
hasCompletedOnboarding: true,
|
|
679317
|
-
lastOnboardingVersion: "1.6.
|
|
679317
|
+
lastOnboardingVersion: "1.6.11"
|
|
679318
679318
|
}));
|
|
679319
679319
|
}
|
|
679320
679320
|
function showDialog(root2, renderer) {
|
|
@@ -684379,7 +684379,7 @@ function appendToLog(path24, message) {
|
|
|
684379
684379
|
cwd: getFsImplementation().cwd(),
|
|
684380
684380
|
userType: "external",
|
|
684381
684381
|
sessionId: getSessionId(),
|
|
684382
|
-
version: "1.6.
|
|
684382
|
+
version: "1.6.11"
|
|
684383
684383
|
};
|
|
684384
684384
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
684385
684385
|
}
|
|
@@ -688367,8 +688367,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
688367
688367
|
}
|
|
688368
688368
|
async function checkEnvLessBridgeMinVersion() {
|
|
688369
688369
|
const cfg = await getEnvLessBridgeConfig();
|
|
688370
|
-
if (cfg.min_version && lt("1.6.
|
|
688371
|
-
return `Your version of RAYU (${"1.6.
|
|
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.
|
|
688372
688372
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
688373
688373
|
}
|
|
688374
688374
|
return null;
|
|
@@ -688841,7 +688841,7 @@ async function initBridgeCore(params) {
|
|
|
688841
688841
|
const rawApi = createBridgeApiClient({
|
|
688842
688842
|
baseUrl,
|
|
688843
688843
|
getAccessToken,
|
|
688844
|
-
runnerVersion: "1.6.
|
|
688844
|
+
runnerVersion: "1.6.11",
|
|
688845
688845
|
onDebug: logForDebugging,
|
|
688846
688846
|
onAuth401,
|
|
688847
688847
|
getTrustedDeviceToken
|
|
@@ -696122,7 +696122,7 @@ ${customInstructions}` : customInstructions;
|
|
|
696122
696122
|
}
|
|
696123
696123
|
}
|
|
696124
696124
|
logForDiagnosticsNoPII("info", "started", {
|
|
696125
|
-
version: "1.6.
|
|
696125
|
+
version: "1.6.11",
|
|
696126
696126
|
is_native_binary: isInBundledMode()
|
|
696127
696127
|
});
|
|
696128
696128
|
registerCleanup(async () => {
|
|
@@ -696845,7 +696845,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
696845
696845
|
pendingHookMessages
|
|
696846
696846
|
}, renderAndRun);
|
|
696847
696847
|
}
|
|
696848
|
-
}).version(`1.6.
|
|
696848
|
+
}).version(`1.6.11 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
696849
696849
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
696850
696850
|
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
696851
|
if (canUserConfigureAdvisor()) {
|
|
@@ -697310,7 +697310,7 @@ if (false) {}
|
|
|
697310
697310
|
async function main2() {
|
|
697311
697311
|
const args = process.argv.slice(2);
|
|
697312
697312
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
697313
|
-
console.log(`${"1.6.
|
|
697313
|
+
console.log(`${"1.6.11"} (Beta-Rayu-CLI)`);
|
|
697314
697314
|
return;
|
|
697315
697315
|
}
|
|
697316
697316
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|