@rayu-dev/rayu-cli 1.4.481 → 1.4.482
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 +76 -76
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -149022,7 +149022,7 @@ var init_isEqual = __esm(() => {
|
|
|
149022
149022
|
|
|
149023
149023
|
// src/utils/userAgent.ts
|
|
149024
149024
|
function getRayuUserAgent() {
|
|
149025
|
-
return `rayu/${"1.4.
|
|
149025
|
+
return `rayu/${"1.4.482"}`;
|
|
149026
149026
|
}
|
|
149027
149027
|
var getClaudeCodeUserAgent;
|
|
149028
149028
|
var init_userAgent = __esm(() => {
|
|
@@ -149048,7 +149048,7 @@ function getUserAgent() {
|
|
|
149048
149048
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
149049
149049
|
const workload = getWorkload();
|
|
149050
149050
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
149051
|
-
return `rayu/${"1.4.
|
|
149051
|
+
return `rayu/${"1.4.482"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
149052
149052
|
}
|
|
149053
149053
|
function getMCPUserAgent() {
|
|
149054
149054
|
const parts = [];
|
|
@@ -149062,7 +149062,7 @@ function getMCPUserAgent() {
|
|
|
149062
149062
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
149063
149063
|
}
|
|
149064
149064
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
149065
|
-
return `rayu/${"1.4.
|
|
149065
|
+
return `rayu/${"1.4.482"}${suffix}`;
|
|
149066
149066
|
}
|
|
149067
149067
|
function getWebFetchUserAgent() {
|
|
149068
149068
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -205506,7 +205506,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
205506
205506
|
if (!isAttributionHeaderEnabled()) {
|
|
205507
205507
|
return "";
|
|
205508
205508
|
}
|
|
205509
|
-
const version2 = `${"1.4.
|
|
205509
|
+
const version2 = `${"1.4.482"}.${fingerprint}`;
|
|
205510
205510
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
205511
205511
|
const cch = "";
|
|
205512
205512
|
const workload = getWorkload();
|
|
@@ -259477,7 +259477,7 @@ var init_metadata = __esm(() => {
|
|
|
259477
259477
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
259478
259478
|
WHITESPACE_REGEX = /\s+/;
|
|
259479
259479
|
getVersionBase = memoize_default(() => {
|
|
259480
|
-
const match = "1.4.
|
|
259480
|
+
const match = "1.4.482".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
259481
259481
|
return match ? match[0] : undefined;
|
|
259482
259482
|
});
|
|
259483
259483
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -259516,7 +259516,7 @@ var init_metadata = __esm(() => {
|
|
|
259516
259516
|
},
|
|
259517
259517
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
259518
259518
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
259519
|
-
version: "1.4.
|
|
259519
|
+
version: "1.4.482",
|
|
259520
259520
|
versionBase: getVersionBase(),
|
|
259521
259521
|
buildTime: "",
|
|
259522
259522
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -291632,7 +291632,7 @@ function getTelemetryAttributes() {
|
|
|
291632
291632
|
attributes["session.id"] = sessionId;
|
|
291633
291633
|
}
|
|
291634
291634
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
291635
|
-
attributes["app.version"] = "1.4.
|
|
291635
|
+
attributes["app.version"] = "1.4.482";
|
|
291636
291636
|
}
|
|
291637
291637
|
const oauthAccount = getOauthAccountInfo();
|
|
291638
291638
|
if (oauthAccount) {
|
|
@@ -401989,7 +401989,7 @@ function getInstallationEnv() {
|
|
|
401989
401989
|
return;
|
|
401990
401990
|
}
|
|
401991
401991
|
function getClaudeCodeVersion() {
|
|
401992
|
-
return "1.4.
|
|
401992
|
+
return "1.4.482";
|
|
401993
401993
|
}
|
|
401994
401994
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
401995
401995
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -407227,7 +407227,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
407227
407227
|
const client3 = new Client({
|
|
407228
407228
|
name: "claude-code",
|
|
407229
407229
|
title: "RAYU",
|
|
407230
|
-
version: "1.4.
|
|
407230
|
+
version: "1.4.482",
|
|
407231
407231
|
description: "Anthropic's agentic coding tool",
|
|
407232
407232
|
websiteUrl: PRODUCT_URL
|
|
407233
407233
|
}, {
|
|
@@ -407544,7 +407544,7 @@ var init_client7 = __esm(() => {
|
|
|
407544
407544
|
const client3 = new Client({
|
|
407545
407545
|
name: "claude-code",
|
|
407546
407546
|
title: "RAYU",
|
|
407547
|
-
version: "1.4.
|
|
407547
|
+
version: "1.4.482",
|
|
407548
407548
|
description: "Anthropic's agentic coding tool",
|
|
407549
407549
|
websiteUrl: PRODUCT_URL
|
|
407550
407550
|
}, {
|
|
@@ -422363,7 +422363,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
422363
422363
|
}
|
|
422364
422364
|
function computeFingerprintFromMessages(messages) {
|
|
422365
422365
|
const firstMessageText = extractFirstMessageText(messages);
|
|
422366
|
-
return computeFingerprint(firstMessageText, "1.4.
|
|
422366
|
+
return computeFingerprint(firstMessageText, "1.4.482");
|
|
422367
422367
|
}
|
|
422368
422368
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
422369
422369
|
var init_fingerprint = () => {};
|
|
@@ -422405,7 +422405,7 @@ async function sideQuery(opts) {
|
|
|
422405
422405
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
422406
422406
|
}
|
|
422407
422407
|
const messageText = extractFirstUserMessageText(messages);
|
|
422408
|
-
const fingerprint = computeFingerprint(messageText, "1.4.
|
|
422408
|
+
const fingerprint = computeFingerprint(messageText, "1.4.482");
|
|
422409
422409
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
422410
422410
|
const systemBlocks = [
|
|
422411
422411
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -521928,9 +521928,9 @@ async function assertMinVersion() {
|
|
|
521928
521928
|
if (false) {}
|
|
521929
521929
|
try {
|
|
521930
521930
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521931
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521931
|
+
if (versionConfig.minVersion && lt("1.4.482", versionConfig.minVersion)) {
|
|
521932
521932
|
console.error(`
|
|
521933
|
-
It looks like your version of RAYU (${"1.4.
|
|
521933
|
+
It looks like your version of RAYU (${"1.4.482"}) needs an update.
|
|
521934
521934
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521935
521935
|
|
|
521936
521936
|
To update, please run:
|
|
@@ -522156,7 +522156,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522156
522156
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
522157
522157
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
522158
522158
|
pid: process.pid,
|
|
522159
|
-
currentVersion: "1.4.
|
|
522159
|
+
currentVersion: "1.4.482"
|
|
522160
522160
|
});
|
|
522161
522161
|
return "in_progress";
|
|
522162
522162
|
}
|
|
@@ -522165,7 +522165,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522165
522165
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
522166
522166
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
522167
522167
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
522168
|
-
currentVersion: "1.4.
|
|
522168
|
+
currentVersion: "1.4.482"
|
|
522169
522169
|
});
|
|
522170
522170
|
console.error(`
|
|
522171
522171
|
Error: Windows NPM detected in WSL
|
|
@@ -522693,7 +522693,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522693
522693
|
}
|
|
522694
522694
|
async function getDoctorDiagnostic() {
|
|
522695
522695
|
const installationType = await getCurrentInstallationType();
|
|
522696
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522696
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.482" : "unknown";
|
|
522697
522697
|
const installationPath = await getInstallationPath();
|
|
522698
522698
|
const invokedBinary = getInvokedBinary();
|
|
522699
522699
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523488,8 +523488,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523488
523488
|
const maxVersion = await getMaxVersion();
|
|
523489
523489
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523490
523490
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523491
|
-
if (gte("1.4.
|
|
523492
|
-
logForDebugging(`Native installer: current version ${"1.4.
|
|
523491
|
+
if (gte("1.4.482", maxVersion)) {
|
|
523492
|
+
logForDebugging(`Native installer: current version ${"1.4.482"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
523493
523493
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523494
523494
|
latency_ms: Date.now() - startTime2,
|
|
523495
523495
|
max_version: maxVersion,
|
|
@@ -523500,7 +523500,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523500
523500
|
version2 = maxVersion;
|
|
523501
523501
|
}
|
|
523502
523502
|
}
|
|
523503
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523503
|
+
if (!forceReinstall && version2 === "1.4.482" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523504
523504
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523505
523505
|
logEvent("tengu_native_update_complete", {
|
|
523506
523506
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524708,7 +524708,7 @@ function buildPrimarySection() {
|
|
|
524708
524708
|
});
|
|
524709
524709
|
return [{
|
|
524710
524710
|
label: "Version",
|
|
524711
|
-
value: "1.4.
|
|
524711
|
+
value: "1.4.482"
|
|
524712
524712
|
}, {
|
|
524713
524713
|
label: "Session name",
|
|
524714
524714
|
value: nameValue
|
|
@@ -528379,7 +528379,7 @@ function Config({
|
|
|
528379
528379
|
}
|
|
528380
528380
|
})
|
|
528381
528381
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
528382
|
-
currentVersion: "1.4.
|
|
528382
|
+
currentVersion: "1.4.482",
|
|
528383
528383
|
onChoice: (choice) => {
|
|
528384
528384
|
setShowSubmenu(null);
|
|
528385
528385
|
setTabsHidden(false);
|
|
@@ -528391,7 +528391,7 @@ function Config({
|
|
|
528391
528391
|
autoUpdatesChannel: "stable"
|
|
528392
528392
|
};
|
|
528393
528393
|
if (choice === "stay") {
|
|
528394
|
-
newSettings.minimumVersion = "1.4.
|
|
528394
|
+
newSettings.minimumVersion = "1.4.482";
|
|
528395
528395
|
}
|
|
528396
528396
|
updateSettingsForSource("userSettings", newSettings);
|
|
528397
528397
|
setSettingsData((prev_27) => ({
|
|
@@ -536452,7 +536452,7 @@ function HelpV2(t0) {
|
|
|
536452
536452
|
let t6;
|
|
536453
536453
|
if ($3[31] !== tabs) {
|
|
536454
536454
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
536455
|
-
title: `Rayu-CLI v${"1.4.
|
|
536455
|
+
title: `Rayu-CLI v${"1.4.482"}`,
|
|
536456
536456
|
color: "professionalBlue",
|
|
536457
536457
|
defaultTab: "general",
|
|
536458
536458
|
children: tabs
|
|
@@ -557365,7 +557365,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
557365
557365
|
}
|
|
557366
557366
|
return [];
|
|
557367
557367
|
}
|
|
557368
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
557368
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.482") {
|
|
557369
557369
|
if (false) {}
|
|
557370
557370
|
const cachedChangelog = await getStoredChangelog();
|
|
557371
557371
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -557378,7 +557378,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.481")
|
|
|
557378
557378
|
releaseNotes
|
|
557379
557379
|
};
|
|
557380
557380
|
}
|
|
557381
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
557381
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.482") {
|
|
557382
557382
|
if (false) {}
|
|
557383
557383
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
557384
557384
|
return {
|
|
@@ -557506,7 +557506,7 @@ function getRecentActivitySync() {
|
|
|
557506
557506
|
return cachedActivity;
|
|
557507
557507
|
}
|
|
557508
557508
|
function getLogoDisplayData() {
|
|
557509
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
557509
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.482";
|
|
557510
557510
|
const serverUrl = getDirectConnectServerUrl();
|
|
557511
557511
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
557512
557512
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -558671,7 +558671,7 @@ function LogoV2() {
|
|
|
558671
558671
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
558672
558672
|
t2 = () => {
|
|
558673
558673
|
const currentConfig = getGlobalConfig();
|
|
558674
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
558674
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.482") {
|
|
558675
558675
|
return;
|
|
558676
558676
|
}
|
|
558677
558677
|
saveGlobalConfig(_temp327);
|
|
@@ -559150,7 +559150,7 @@ function LogoV2() {
|
|
|
559150
559150
|
t24 = $3[61];
|
|
559151
559151
|
}
|
|
559152
559152
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
559153
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
559153
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.482") ? [createUpdateAvailableFeed("1.4.482", _latestNpm)] : [];
|
|
559154
559154
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
559155
559155
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
559156
559156
|
maxWidth: rightWidth
|
|
@@ -559350,12 +559350,12 @@ function LogoV2() {
|
|
|
559350
559350
|
return t41;
|
|
559351
559351
|
}
|
|
559352
559352
|
function _temp327(current) {
|
|
559353
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
559353
|
+
if (current.lastReleaseNotesSeen === "1.4.482") {
|
|
559354
559354
|
return current;
|
|
559355
559355
|
}
|
|
559356
559356
|
return {
|
|
559357
559357
|
...current,
|
|
559358
|
-
lastReleaseNotesSeen: "1.4.
|
|
559358
|
+
lastReleaseNotesSeen: "1.4.482"
|
|
559359
559359
|
};
|
|
559360
559360
|
}
|
|
559361
559361
|
function _temp241(s_0) {
|
|
@@ -584354,7 +584354,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
584354
584354
|
smapsRollup,
|
|
584355
584355
|
platform: process.platform,
|
|
584356
584356
|
nodeVersion: process.version,
|
|
584357
|
-
ccVersion: "1.4.
|
|
584357
|
+
ccVersion: "1.4.482"
|
|
584358
584358
|
};
|
|
584359
584359
|
}
|
|
584360
584360
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -584876,7 +584876,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
584876
584876
|
var call50 = async () => {
|
|
584877
584877
|
return {
|
|
584878
584878
|
type: "text",
|
|
584879
|
-
value: "1.4.
|
|
584879
|
+
value: "1.4.482"
|
|
584880
584880
|
};
|
|
584881
584881
|
}, version2, version_default;
|
|
584882
584882
|
var init_version = __esm(() => {
|
|
@@ -595372,7 +595372,7 @@ function generateHtmlReport(data, insights) {
|
|
|
595372
595372
|
</html>`;
|
|
595373
595373
|
}
|
|
595374
595374
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
595375
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
595375
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.482" : "unknown";
|
|
595376
595376
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
595377
595377
|
const facets_summary = {
|
|
595378
595378
|
total: facets.size,
|
|
@@ -599286,7 +599286,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
599286
599286
|
init_settings2();
|
|
599287
599287
|
init_slowOperations();
|
|
599288
599288
|
init_uuid();
|
|
599289
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
599289
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.482" : "unknown";
|
|
599290
599290
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
599291
599291
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
599292
599292
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -600504,7 +600504,7 @@ var init_filesystem = __esm(() => {
|
|
|
600504
600504
|
});
|
|
600505
600505
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
600506
600506
|
const nonce = randomBytes19(16).toString("hex");
|
|
600507
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
600507
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.482", nonce);
|
|
600508
600508
|
});
|
|
600509
600509
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
600510
600510
|
});
|
|
@@ -605772,7 +605772,7 @@ __export(exports_update, {
|
|
|
605772
605772
|
update: () => update
|
|
605773
605773
|
});
|
|
605774
605774
|
async function update() {
|
|
605775
|
-
writeToStdout(`Current version: ${"1.4.
|
|
605775
|
+
writeToStdout(`Current version: ${"1.4.482"}
|
|
605776
605776
|
`);
|
|
605777
605777
|
const isBundled = isInBundledMode();
|
|
605778
605778
|
if (isBundled) {
|
|
@@ -605803,13 +605803,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
605803
605803
|
process.exit(1);
|
|
605804
605804
|
return;
|
|
605805
605805
|
}
|
|
605806
|
-
if (latestVersion === "1.4.
|
|
605806
|
+
if (latestVersion === "1.4.482") {
|
|
605807
605807
|
writeToStdout(source_default.green(`
|
|
605808
|
-
Rayu CLI is up to date (${"1.4.
|
|
605808
|
+
Rayu CLI is up to date (${"1.4.482"})
|
|
605809
605809
|
`));
|
|
605810
605810
|
process.exit(0);
|
|
605811
605811
|
}
|
|
605812
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
605812
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.482"})
|
|
605813
605813
|
`);
|
|
605814
605814
|
writeToStdout(`Installing update...
|
|
605815
605815
|
|
|
@@ -605866,14 +605866,14 @@ async function updateNativeBinary() {
|
|
|
605866
605866
|
} catch {
|
|
605867
605867
|
latestVersion = "";
|
|
605868
605868
|
}
|
|
605869
|
-
if (latestVersion && latestVersion === "1.4.
|
|
605869
|
+
if (latestVersion && latestVersion === "1.4.482") {
|
|
605870
605870
|
writeToStdout(source_default.green(`
|
|
605871
|
-
Rayu CLI is up to date (1.4.
|
|
605871
|
+
Rayu CLI is up to date (1.4.482)
|
|
605872
605872
|
`));
|
|
605873
605873
|
process.exit(0);
|
|
605874
605874
|
}
|
|
605875
605875
|
if (latestVersion) {
|
|
605876
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
605876
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.482)
|
|
605877
605877
|
`);
|
|
605878
605878
|
}
|
|
605879
605879
|
writeToStdout(`Downloading and installing update...
|
|
@@ -605888,13 +605888,13 @@ Rayu CLI is up to date (1.4.481)
|
|
|
605888
605888
|
return;
|
|
605889
605889
|
}
|
|
605890
605890
|
writeToStdout(source_default.green(`
|
|
605891
|
-
Rayu CLI is up to date (1.4.
|
|
605891
|
+
Rayu CLI is up to date (1.4.482)
|
|
605892
605892
|
`));
|
|
605893
605893
|
process.exit(0);
|
|
605894
605894
|
}
|
|
605895
605895
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
605896
605896
|
writeToStdout(source_default.green(`
|
|
605897
|
-
Successfully updated from 1.4.
|
|
605897
|
+
Successfully updated from 1.4.482 to ${updatedTo}
|
|
605898
605898
|
`));
|
|
605899
605899
|
writeToStdout(`Restart your terminal to use the new version.
|
|
605900
605900
|
`);
|
|
@@ -605959,7 +605959,7 @@ async function removeDataDir(dir) {
|
|
|
605959
605959
|
async function uninstall(args = []) {
|
|
605960
605960
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
605961
605961
|
const keepData = args.includes("--keep-data");
|
|
605962
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
605962
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.482"})...
|
|
605963
605963
|
`);
|
|
605964
605964
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
605965
605965
|
|
|
@@ -605980,7 +605980,7 @@ Failed to uninstall ${"@rayu-dev/rayu-cli"}
|
|
|
605980
605980
|
return;
|
|
605981
605981
|
}
|
|
605982
605982
|
writeToStdout(source_default.green(`
|
|
605983
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
605983
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.482"}
|
|
605984
605984
|
`));
|
|
605985
605985
|
const configDir = getRayuConfigHomeDir();
|
|
605986
605986
|
const dataExists = existsSync28(configDir);
|
|
@@ -606063,7 +606063,7 @@ function showFirstRunWelcome() {
|
|
|
606063
606063
|
`);
|
|
606064
606064
|
try {
|
|
606065
606065
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
606066
|
-
writeFileSync19(markerPath(), "1.4.
|
|
606066
|
+
writeFileSync19(markerPath(), "1.4.482", "utf8");
|
|
606067
606067
|
} catch {}
|
|
606068
606068
|
}
|
|
606069
606069
|
var init_firstRun = __esm(() => {
|
|
@@ -622249,7 +622249,7 @@ async function initializeBetaTracing(resource) {
|
|
|
622249
622249
|
});
|
|
622250
622250
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
622251
622251
|
setLoggerProvider(loggerProvider);
|
|
622252
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
622252
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.482");
|
|
622253
622253
|
setEventLogger(eventLogger);
|
|
622254
622254
|
process.on("beforeExit", async () => {
|
|
622255
622255
|
await loggerProvider?.forceFlush();
|
|
@@ -622289,7 +622289,7 @@ async function initializeTelemetry() {
|
|
|
622289
622289
|
const platform4 = getPlatform();
|
|
622290
622290
|
const baseAttributes = {
|
|
622291
622291
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
622292
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
622292
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.482"
|
|
622293
622293
|
};
|
|
622294
622294
|
if (platform4 === "wsl") {
|
|
622295
622295
|
const wslVersion = getWslVersion();
|
|
@@ -622334,7 +622334,7 @@ async function initializeTelemetry() {
|
|
|
622334
622334
|
} catch {}
|
|
622335
622335
|
};
|
|
622336
622336
|
registerCleanup(shutdownTelemetry2);
|
|
622337
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
622337
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.482");
|
|
622338
622338
|
}
|
|
622339
622339
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
622340
622340
|
resource,
|
|
@@ -622354,7 +622354,7 @@ async function initializeTelemetry() {
|
|
|
622354
622354
|
});
|
|
622355
622355
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
622356
622356
|
setLoggerProvider(loggerProvider);
|
|
622357
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
622357
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.482");
|
|
622358
622358
|
setEventLogger(eventLogger);
|
|
622359
622359
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
622360
622360
|
process.on("beforeExit", async () => {
|
|
@@ -622416,7 +622416,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
622416
622416
|
}
|
|
622417
622417
|
};
|
|
622418
622418
|
registerCleanup(shutdownTelemetry);
|
|
622419
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
622419
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.482");
|
|
622420
622420
|
}
|
|
622421
622421
|
async function flushTelemetry() {
|
|
622422
622422
|
const meterProvider = getMeterProvider();
|
|
@@ -623918,7 +623918,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
623918
623918
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
623919
623919
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
623920
623920
|
betas: getSdkBetas(),
|
|
623921
|
-
claude_code_version: "1.4.
|
|
623921
|
+
claude_code_version: "1.4.482",
|
|
623922
623922
|
output_style: outputStyle2,
|
|
623923
623923
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
623924
623924
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -640328,7 +640328,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
640328
640328
|
function getSemverPart(version3) {
|
|
640329
640329
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
640330
640330
|
}
|
|
640331
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
640331
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.482") {
|
|
640332
640332
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
640333
640333
|
if (!updatedVersion) {
|
|
640334
640334
|
return null;
|
|
@@ -640368,7 +640368,7 @@ function AutoUpdater({
|
|
|
640368
640368
|
return;
|
|
640369
640369
|
}
|
|
640370
640370
|
if (false) {}
|
|
640371
|
-
const currentVersion = "1.4.
|
|
640371
|
+
const currentVersion = "1.4.482";
|
|
640372
640372
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
640373
640373
|
let latestVersion = await getLatestVersion(channel2);
|
|
640374
640374
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -640581,12 +640581,12 @@ function NativeAutoUpdater({
|
|
|
640581
640581
|
logEvent("tengu_native_auto_updater_start", {});
|
|
640582
640582
|
try {
|
|
640583
640583
|
const maxVersion = await getMaxVersion();
|
|
640584
|
-
if (maxVersion && gt("1.4.
|
|
640584
|
+
if (maxVersion && gt("1.4.482", maxVersion)) {
|
|
640585
640585
|
const msg = await getMaxVersionMessage();
|
|
640586
640586
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
640587
640587
|
}
|
|
640588
640588
|
const result = await installLatest(channel2);
|
|
640589
|
-
const currentVersion = "1.4.
|
|
640589
|
+
const currentVersion = "1.4.482";
|
|
640590
640590
|
const latencyMs = Date.now() - startTime2;
|
|
640591
640591
|
if (result.lockFailed) {
|
|
640592
640592
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -640723,17 +640723,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640723
640723
|
const maxVersion = await getMaxVersion();
|
|
640724
640724
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
640725
640725
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
640726
|
-
if (gte("1.4.
|
|
640727
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.
|
|
640726
|
+
if (gte("1.4.482", maxVersion)) {
|
|
640727
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.482"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
640728
640728
|
setUpdateAvailable(false);
|
|
640729
640729
|
return;
|
|
640730
640730
|
}
|
|
640731
640731
|
latest = maxVersion;
|
|
640732
640732
|
}
|
|
640733
|
-
const hasUpdate = latest && !gte("1.4.
|
|
640733
|
+
const hasUpdate = latest && !gte("1.4.482", latest) && !shouldSkipVersion(latest);
|
|
640734
640734
|
setUpdateAvailable(!!hasUpdate);
|
|
640735
640735
|
if (hasUpdate) {
|
|
640736
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
640736
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.482"} -> ${latest}`);
|
|
640737
640737
|
}
|
|
640738
640738
|
};
|
|
640739
640739
|
$3[0] = t1;
|
|
@@ -640767,7 +640767,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640767
640767
|
wrap: "truncate",
|
|
640768
640768
|
children: [
|
|
640769
640769
|
"currentVersion: ",
|
|
640770
|
-
"1.4.
|
|
640770
|
+
"1.4.482"
|
|
640771
640771
|
]
|
|
640772
640772
|
});
|
|
640773
640773
|
$3[3] = verbose;
|
|
@@ -648931,7 +648931,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
648931
648931
|
project_dir: getOriginalCwd(),
|
|
648932
648932
|
added_dirs: addedDirs
|
|
648933
648933
|
},
|
|
648934
|
-
version: "1.4.
|
|
648934
|
+
version: "1.4.482",
|
|
648935
648935
|
output_style: {
|
|
648936
648936
|
name: outputStyleName
|
|
648937
648937
|
},
|
|
@@ -651110,7 +651110,7 @@ var init_user = __esm(() => {
|
|
|
651110
651110
|
deviceId,
|
|
651111
651111
|
sessionId: getSessionId(),
|
|
651112
651112
|
email: getEmail(),
|
|
651113
|
-
appVersion: "1.4.
|
|
651113
|
+
appVersion: "1.4.482",
|
|
651114
651114
|
platform: getHostPlatformForAnalytics(),
|
|
651115
651115
|
organizationUuid,
|
|
651116
651116
|
accountUuid,
|
|
@@ -660549,7 +660549,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
660549
660549
|
} catch {}
|
|
660550
660550
|
const data = {
|
|
660551
660551
|
trigger,
|
|
660552
|
-
version: "1.4.
|
|
660552
|
+
version: "1.4.482",
|
|
660553
660553
|
platform: process.platform,
|
|
660554
660554
|
transcript,
|
|
660555
660555
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -672518,7 +672518,7 @@ function WelcomeV2() {
|
|
|
672518
672518
|
dimColor: true,
|
|
672519
672519
|
children: [
|
|
672520
672520
|
"v",
|
|
672521
|
-
"1.4.
|
|
672521
|
+
"1.4.482"
|
|
672522
672522
|
]
|
|
672523
672523
|
})
|
|
672524
672524
|
]
|
|
@@ -673525,7 +673525,7 @@ function completeOnboarding() {
|
|
|
673525
673525
|
saveGlobalConfig((current) => ({
|
|
673526
673526
|
...current,
|
|
673527
673527
|
hasCompletedOnboarding: true,
|
|
673528
|
-
lastOnboardingVersion: "1.4.
|
|
673528
|
+
lastOnboardingVersion: "1.4.482"
|
|
673529
673529
|
}));
|
|
673530
673530
|
}
|
|
673531
673531
|
function showDialog(root2, renderer) {
|
|
@@ -678458,7 +678458,7 @@ function appendToLog(path29, message) {
|
|
|
678458
678458
|
cwd: getFsImplementation().cwd(),
|
|
678459
678459
|
userType: "external",
|
|
678460
678460
|
sessionId: getSessionId(),
|
|
678461
|
-
version: "1.4.
|
|
678461
|
+
version: "1.4.482"
|
|
678462
678462
|
};
|
|
678463
678463
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
678464
678464
|
}
|
|
@@ -682563,8 +682563,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
682563
682563
|
}
|
|
682564
682564
|
async function checkEnvLessBridgeMinVersion() {
|
|
682565
682565
|
const cfg = await getEnvLessBridgeConfig();
|
|
682566
|
-
if (cfg.min_version && lt("1.4.
|
|
682567
|
-
return `Your version of RAYU (${"1.4.
|
|
682566
|
+
if (cfg.min_version && lt("1.4.482", cfg.min_version)) {
|
|
682567
|
+
return `Your version of RAYU (${"1.4.482"}) is too old for Remote Control.
|
|
682568
682568
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
682569
682569
|
}
|
|
682570
682570
|
return null;
|
|
@@ -683037,7 +683037,7 @@ async function initBridgeCore(params) {
|
|
|
683037
683037
|
const rawApi = createBridgeApiClient({
|
|
683038
683038
|
baseUrl,
|
|
683039
683039
|
getAccessToken,
|
|
683040
|
-
runnerVersion: "1.4.
|
|
683040
|
+
runnerVersion: "1.4.482",
|
|
683041
683041
|
onDebug: logForDebugging,
|
|
683042
683042
|
onAuth401,
|
|
683043
683043
|
getTrustedDeviceToken
|
|
@@ -688392,7 +688392,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
688392
688392
|
setCwd(cwd3);
|
|
688393
688393
|
const server = new Server({
|
|
688394
688394
|
name: "claude/tengu",
|
|
688395
|
-
version: "1.4.
|
|
688395
|
+
version: "1.4.482"
|
|
688396
688396
|
}, {
|
|
688397
688397
|
capabilities: {
|
|
688398
688398
|
tools: {}
|
|
@@ -690921,7 +690921,7 @@ ${customInstructions}` : customInstructions;
|
|
|
690921
690921
|
}
|
|
690922
690922
|
}
|
|
690923
690923
|
logForDiagnosticsNoPII("info", "started", {
|
|
690924
|
-
version: "1.4.
|
|
690924
|
+
version: "1.4.482",
|
|
690925
690925
|
is_native_binary: isInBundledMode()
|
|
690926
690926
|
});
|
|
690927
690927
|
registerCleanup(async () => {
|
|
@@ -691640,7 +691640,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
691640
691640
|
pendingHookMessages
|
|
691641
691641
|
}, renderAndRun);
|
|
691642
691642
|
}
|
|
691643
|
-
}).version(`1.4.
|
|
691643
|
+
}).version(`1.4.482 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
691644
691644
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
691645
691645
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
691646
691646
|
if (canUserConfigureAdvisor()) {
|
|
@@ -692100,7 +692100,7 @@ if (false) {}
|
|
|
692100
692100
|
async function main2() {
|
|
692101
692101
|
const args = process.argv.slice(2);
|
|
692102
692102
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
692103
|
-
console.log(`${"1.4.
|
|
692103
|
+
console.log(`${"1.4.482"} (Rayu-CLI)`);
|
|
692104
692104
|
return;
|
|
692105
692105
|
}
|
|
692106
692106
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|