@rayu-dev/rayu-cli 1.4.471 → 1.4.473
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 +78 -78
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -148979,7 +148979,7 @@ var init_isEqual = __esm(() => {
|
|
|
148979
148979
|
|
|
148980
148980
|
// src/utils/userAgent.ts
|
|
148981
148981
|
function getRayuUserAgent() {
|
|
148982
|
-
return `rayu/${"1.4.
|
|
148982
|
+
return `rayu/${"1.4.473"}`;
|
|
148983
148983
|
}
|
|
148984
148984
|
var getClaudeCodeUserAgent;
|
|
148985
148985
|
var init_userAgent = __esm(() => {
|
|
@@ -149005,7 +149005,7 @@ function getUserAgent() {
|
|
|
149005
149005
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
149006
149006
|
const workload = getWorkload();
|
|
149007
149007
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
149008
|
-
return `rayu/${"1.4.
|
|
149008
|
+
return `rayu/${"1.4.473"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
149009
149009
|
}
|
|
149010
149010
|
function getMCPUserAgent() {
|
|
149011
149011
|
const parts = [];
|
|
@@ -149019,7 +149019,7 @@ function getMCPUserAgent() {
|
|
|
149019
149019
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
149020
149020
|
}
|
|
149021
149021
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
149022
|
-
return `rayu/${"1.4.
|
|
149022
|
+
return `rayu/${"1.4.473"}${suffix}`;
|
|
149023
149023
|
}
|
|
149024
149024
|
function getWebFetchUserAgent() {
|
|
149025
149025
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -205334,7 +205334,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
205334
205334
|
if (!isAttributionHeaderEnabled()) {
|
|
205335
205335
|
return "";
|
|
205336
205336
|
}
|
|
205337
|
-
const version2 = `${"1.4.
|
|
205337
|
+
const version2 = `${"1.4.473"}.${fingerprint}`;
|
|
205338
205338
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
205339
205339
|
const cch = "";
|
|
205340
205340
|
const workload = getWorkload();
|
|
@@ -259303,7 +259303,7 @@ var init_metadata = __esm(() => {
|
|
|
259303
259303
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
259304
259304
|
WHITESPACE_REGEX = /\s+/;
|
|
259305
259305
|
getVersionBase = memoize_default(() => {
|
|
259306
|
-
const match = "1.4.
|
|
259306
|
+
const match = "1.4.473".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
259307
259307
|
return match ? match[0] : undefined;
|
|
259308
259308
|
});
|
|
259309
259309
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -259342,7 +259342,7 @@ var init_metadata = __esm(() => {
|
|
|
259342
259342
|
},
|
|
259343
259343
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
259344
259344
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
259345
|
-
version: "1.4.
|
|
259345
|
+
version: "1.4.473",
|
|
259346
259346
|
versionBase: getVersionBase(),
|
|
259347
259347
|
buildTime: "",
|
|
259348
259348
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -281717,10 +281717,10 @@ function isToolSearchEnabledOptimistic() {
|
|
|
281717
281717
|
}
|
|
281718
281718
|
return false;
|
|
281719
281719
|
}
|
|
281720
|
-
if (!process.env.ENABLE_TOOL_SEARCH && getAPIProvider() === "anthropic" && !isFirstPartyAnthropicBaseUrl()) {
|
|
281720
|
+
if (!process.env.ENABLE_TOOL_SEARCH && getAPIProvider() === "anthropic" && (isRayuNonAnthropicActive() || isOpenAICompatibleActive() || !isFirstPartyAnthropicBaseUrl())) {
|
|
281721
281721
|
if (!loggedOptimistic) {
|
|
281722
281722
|
loggedOptimistic = true;
|
|
281723
|
-
logForDebugging(`[ToolSearch:optimistic] disabled:
|
|
281723
|
+
logForDebugging(`[ToolSearch:optimistic] disabled: the active provider is not a first-party Anthropic endpoint (a Rayu custom kind such as rayu-hosted/anthropic-compatible/openai-compatible, or an ANTHROPIC_BASE_URL proxy). Its upstream does not accept tool_reference/defer_loading, so all tool schemas are sent inline. Set ENABLE_TOOL_SEARCH=true only if your endpoint forwards the beta.`);
|
|
281724
281724
|
}
|
|
281725
281725
|
return false;
|
|
281726
281726
|
}
|
|
@@ -291358,7 +291358,7 @@ function getTelemetryAttributes() {
|
|
|
291358
291358
|
attributes["session.id"] = sessionId;
|
|
291359
291359
|
}
|
|
291360
291360
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
291361
|
-
attributes["app.version"] = "1.4.
|
|
291361
|
+
attributes["app.version"] = "1.4.473";
|
|
291362
291362
|
}
|
|
291363
291363
|
const oauthAccount = getOauthAccountInfo();
|
|
291364
291364
|
if (oauthAccount) {
|
|
@@ -401715,7 +401715,7 @@ function getInstallationEnv() {
|
|
|
401715
401715
|
return;
|
|
401716
401716
|
}
|
|
401717
401717
|
function getClaudeCodeVersion() {
|
|
401718
|
-
return "1.4.
|
|
401718
|
+
return "1.4.473";
|
|
401719
401719
|
}
|
|
401720
401720
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
401721
401721
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -406953,7 +406953,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
406953
406953
|
const client3 = new Client({
|
|
406954
406954
|
name: "claude-code",
|
|
406955
406955
|
title: "RAYU",
|
|
406956
|
-
version: "1.4.
|
|
406956
|
+
version: "1.4.473",
|
|
406957
406957
|
description: "Anthropic's agentic coding tool",
|
|
406958
406958
|
websiteUrl: PRODUCT_URL
|
|
406959
406959
|
}, {
|
|
@@ -407270,7 +407270,7 @@ var init_client7 = __esm(() => {
|
|
|
407270
407270
|
const client3 = new Client({
|
|
407271
407271
|
name: "claude-code",
|
|
407272
407272
|
title: "RAYU",
|
|
407273
|
-
version: "1.4.
|
|
407273
|
+
version: "1.4.473",
|
|
407274
407274
|
description: "Anthropic's agentic coding tool",
|
|
407275
407275
|
websiteUrl: PRODUCT_URL
|
|
407276
407276
|
}, {
|
|
@@ -422089,7 +422089,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
422089
422089
|
}
|
|
422090
422090
|
function computeFingerprintFromMessages(messages) {
|
|
422091
422091
|
const firstMessageText = extractFirstMessageText(messages);
|
|
422092
|
-
return computeFingerprint(firstMessageText, "1.4.
|
|
422092
|
+
return computeFingerprint(firstMessageText, "1.4.473");
|
|
422093
422093
|
}
|
|
422094
422094
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
422095
422095
|
var init_fingerprint = () => {};
|
|
@@ -422131,7 +422131,7 @@ async function sideQuery(opts) {
|
|
|
422131
422131
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
422132
422132
|
}
|
|
422133
422133
|
const messageText = extractFirstUserMessageText(messages);
|
|
422134
|
-
const fingerprint = computeFingerprint(messageText, "1.4.
|
|
422134
|
+
const fingerprint = computeFingerprint(messageText, "1.4.473");
|
|
422135
422135
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
422136
422136
|
const systemBlocks = [
|
|
422137
422137
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -521471,9 +521471,9 @@ async function assertMinVersion() {
|
|
|
521471
521471
|
if (false) {}
|
|
521472
521472
|
try {
|
|
521473
521473
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521474
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521474
|
+
if (versionConfig.minVersion && lt("1.4.473", versionConfig.minVersion)) {
|
|
521475
521475
|
console.error(`
|
|
521476
|
-
It looks like your version of RAYU (${"1.4.
|
|
521476
|
+
It looks like your version of RAYU (${"1.4.473"}) needs an update.
|
|
521477
521477
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521478
521478
|
|
|
521479
521479
|
To update, please run:
|
|
@@ -521699,7 +521699,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521699
521699
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
521700
521700
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
521701
521701
|
pid: process.pid,
|
|
521702
|
-
currentVersion: "1.4.
|
|
521702
|
+
currentVersion: "1.4.473"
|
|
521703
521703
|
});
|
|
521704
521704
|
return "in_progress";
|
|
521705
521705
|
}
|
|
@@ -521708,7 +521708,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521708
521708
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
521709
521709
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
521710
521710
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
521711
|
-
currentVersion: "1.4.
|
|
521711
|
+
currentVersion: "1.4.473"
|
|
521712
521712
|
});
|
|
521713
521713
|
console.error(`
|
|
521714
521714
|
Error: Windows NPM detected in WSL
|
|
@@ -522236,7 +522236,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522236
522236
|
}
|
|
522237
522237
|
async function getDoctorDiagnostic() {
|
|
522238
522238
|
const installationType = await getCurrentInstallationType();
|
|
522239
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522239
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
522240
522240
|
const installationPath = await getInstallationPath();
|
|
522241
522241
|
const invokedBinary = getInvokedBinary();
|
|
522242
522242
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523027,8 +523027,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523027
523027
|
const maxVersion = await getMaxVersion();
|
|
523028
523028
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523029
523029
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523030
|
-
if (gte("1.4.
|
|
523031
|
-
logForDebugging(`Native installer: current version ${"1.4.
|
|
523030
|
+
if (gte("1.4.473", maxVersion)) {
|
|
523031
|
+
logForDebugging(`Native installer: current version ${"1.4.473"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
523032
523032
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523033
523033
|
latency_ms: Date.now() - startTime2,
|
|
523034
523034
|
max_version: maxVersion,
|
|
@@ -523039,7 +523039,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523039
523039
|
version2 = maxVersion;
|
|
523040
523040
|
}
|
|
523041
523041
|
}
|
|
523042
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523042
|
+
if (!forceReinstall && version2 === "1.4.473" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523043
523043
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523044
523044
|
logEvent("tengu_native_update_complete", {
|
|
523045
523045
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524247,7 +524247,7 @@ function buildPrimarySection() {
|
|
|
524247
524247
|
});
|
|
524248
524248
|
return [{
|
|
524249
524249
|
label: "Version",
|
|
524250
|
-
value: "1.4.
|
|
524250
|
+
value: "1.4.473"
|
|
524251
524251
|
}, {
|
|
524252
524252
|
label: "Session name",
|
|
524253
524253
|
value: nameValue
|
|
@@ -527918,7 +527918,7 @@ function Config({
|
|
|
527918
527918
|
}
|
|
527919
527919
|
})
|
|
527920
527920
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
527921
|
-
currentVersion: "1.4.
|
|
527921
|
+
currentVersion: "1.4.473",
|
|
527922
527922
|
onChoice: (choice) => {
|
|
527923
527923
|
setShowSubmenu(null);
|
|
527924
527924
|
setTabsHidden(false);
|
|
@@ -527930,7 +527930,7 @@ function Config({
|
|
|
527930
527930
|
autoUpdatesChannel: "stable"
|
|
527931
527931
|
};
|
|
527932
527932
|
if (choice === "stay") {
|
|
527933
|
-
newSettings.minimumVersion = "1.4.
|
|
527933
|
+
newSettings.minimumVersion = "1.4.473";
|
|
527934
527934
|
}
|
|
527935
527935
|
updateSettingsForSource("userSettings", newSettings);
|
|
527936
527936
|
setSettingsData((prev_27) => ({
|
|
@@ -535991,7 +535991,7 @@ function HelpV2(t0) {
|
|
|
535991
535991
|
let t6;
|
|
535992
535992
|
if ($3[31] !== tabs) {
|
|
535993
535993
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
535994
|
-
title: `Rayu-CLI v${"1.4.
|
|
535994
|
+
title: `Rayu-CLI v${"1.4.473"}`,
|
|
535995
535995
|
color: "professionalBlue",
|
|
535996
535996
|
defaultTab: "general",
|
|
535997
535997
|
children: tabs
|
|
@@ -556074,7 +556074,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
556074
556074
|
}
|
|
556075
556075
|
return [];
|
|
556076
556076
|
}
|
|
556077
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
556077
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.473") {
|
|
556078
556078
|
if (false) {}
|
|
556079
556079
|
const cachedChangelog = await getStoredChangelog();
|
|
556080
556080
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -556087,7 +556087,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.471")
|
|
|
556087
556087
|
releaseNotes
|
|
556088
556088
|
};
|
|
556089
556089
|
}
|
|
556090
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
556090
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.473") {
|
|
556091
556091
|
if (false) {}
|
|
556092
556092
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
556093
556093
|
return {
|
|
@@ -556215,7 +556215,7 @@ function getRecentActivitySync() {
|
|
|
556215
556215
|
return cachedActivity;
|
|
556216
556216
|
}
|
|
556217
556217
|
function getLogoDisplayData() {
|
|
556218
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
556218
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.473";
|
|
556219
556219
|
const serverUrl = getDirectConnectServerUrl();
|
|
556220
556220
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
556221
556221
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -557380,7 +557380,7 @@ function LogoV2() {
|
|
|
557380
557380
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
557381
557381
|
t2 = () => {
|
|
557382
557382
|
const currentConfig = getGlobalConfig();
|
|
557383
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
557383
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.473") {
|
|
557384
557384
|
return;
|
|
557385
557385
|
}
|
|
557386
557386
|
saveGlobalConfig(_temp327);
|
|
@@ -557859,7 +557859,7 @@ function LogoV2() {
|
|
|
557859
557859
|
t24 = $3[61];
|
|
557860
557860
|
}
|
|
557861
557861
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
557862
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
557862
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.473") ? [createUpdateAvailableFeed("1.4.473", _latestNpm)] : [];
|
|
557863
557863
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
557864
557864
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
557865
557865
|
maxWidth: rightWidth
|
|
@@ -558059,12 +558059,12 @@ function LogoV2() {
|
|
|
558059
558059
|
return t41;
|
|
558060
558060
|
}
|
|
558061
558061
|
function _temp327(current) {
|
|
558062
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
558062
|
+
if (current.lastReleaseNotesSeen === "1.4.473") {
|
|
558063
558063
|
return current;
|
|
558064
558064
|
}
|
|
558065
558065
|
return {
|
|
558066
558066
|
...current,
|
|
558067
|
-
lastReleaseNotesSeen: "1.4.
|
|
558067
|
+
lastReleaseNotesSeen: "1.4.473"
|
|
558068
558068
|
};
|
|
558069
558069
|
}
|
|
558070
558070
|
function _temp241(s_0) {
|
|
@@ -583063,7 +583063,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
583063
583063
|
smapsRollup,
|
|
583064
583064
|
platform: process.platform,
|
|
583065
583065
|
nodeVersion: process.version,
|
|
583066
|
-
ccVersion: "1.4.
|
|
583066
|
+
ccVersion: "1.4.473"
|
|
583067
583067
|
};
|
|
583068
583068
|
}
|
|
583069
583069
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -583585,7 +583585,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
583585
583585
|
var call50 = async () => {
|
|
583586
583586
|
return {
|
|
583587
583587
|
type: "text",
|
|
583588
|
-
value: "1.4.
|
|
583588
|
+
value: "1.4.473"
|
|
583589
583589
|
};
|
|
583590
583590
|
}, version2, version_default;
|
|
583591
583591
|
var init_version = __esm(() => {
|
|
@@ -593866,7 +593866,7 @@ function generateHtmlReport(data, insights) {
|
|
|
593866
593866
|
</html>`;
|
|
593867
593867
|
}
|
|
593868
593868
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
593869
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
593869
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
593870
593870
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
593871
593871
|
const facets_summary = {
|
|
593872
593872
|
total: facets.size,
|
|
@@ -597776,7 +597776,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
597776
597776
|
init_settings2();
|
|
597777
597777
|
init_slowOperations();
|
|
597778
597778
|
init_uuid();
|
|
597779
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
597779
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
597780
597780
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
597781
597781
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
597782
597782
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -598994,7 +598994,7 @@ var init_filesystem = __esm(() => {
|
|
|
598994
598994
|
});
|
|
598995
598995
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
598996
598996
|
const nonce = randomBytes19(16).toString("hex");
|
|
598997
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
598997
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.473", nonce);
|
|
598998
598998
|
});
|
|
598999
598999
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
599000
599000
|
});
|
|
@@ -604164,7 +604164,7 @@ __export(exports_update, {
|
|
|
604164
604164
|
update: () => update
|
|
604165
604165
|
});
|
|
604166
604166
|
async function update() {
|
|
604167
|
-
writeToStdout(`Current version: ${"1.4.
|
|
604167
|
+
writeToStdout(`Current version: ${"1.4.473"}
|
|
604168
604168
|
`);
|
|
604169
604169
|
const isBundled = isInBundledMode();
|
|
604170
604170
|
if (isBundled) {
|
|
@@ -604195,13 +604195,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
604195
604195
|
process.exit(1);
|
|
604196
604196
|
return;
|
|
604197
604197
|
}
|
|
604198
|
-
if (latestVersion === "1.4.
|
|
604198
|
+
if (latestVersion === "1.4.473") {
|
|
604199
604199
|
writeToStdout(source_default.green(`
|
|
604200
|
-
Rayu CLI is up to date (${"1.4.
|
|
604200
|
+
Rayu CLI is up to date (${"1.4.473"})
|
|
604201
604201
|
`));
|
|
604202
604202
|
process.exit(0);
|
|
604203
604203
|
}
|
|
604204
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
604204
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.473"})
|
|
604205
604205
|
`);
|
|
604206
604206
|
writeToStdout(`Installing update...
|
|
604207
604207
|
|
|
@@ -604268,14 +604268,14 @@ async function updateNativeBinary() {
|
|
|
604268
604268
|
} catch {
|
|
604269
604269
|
latestVersion = "";
|
|
604270
604270
|
}
|
|
604271
|
-
if (latestVersion && latestVersion === "1.4.
|
|
604271
|
+
if (latestVersion && latestVersion === "1.4.473") {
|
|
604272
604272
|
writeToStdout(source_default.green(`
|
|
604273
|
-
Rayu CLI is up to date (1.4.
|
|
604273
|
+
Rayu CLI is up to date (1.4.473)
|
|
604274
604274
|
`));
|
|
604275
604275
|
process.exit(0);
|
|
604276
604276
|
}
|
|
604277
604277
|
if (latestVersion) {
|
|
604278
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
604278
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.473)
|
|
604279
604279
|
`);
|
|
604280
604280
|
}
|
|
604281
604281
|
writeToStdout(`Downloading and installing update...
|
|
@@ -604290,13 +604290,13 @@ Rayu CLI is up to date (1.4.471)
|
|
|
604290
604290
|
return;
|
|
604291
604291
|
}
|
|
604292
604292
|
writeToStdout(source_default.green(`
|
|
604293
|
-
Rayu CLI is up to date (1.4.
|
|
604293
|
+
Rayu CLI is up to date (1.4.473)
|
|
604294
604294
|
`));
|
|
604295
604295
|
process.exit(0);
|
|
604296
604296
|
}
|
|
604297
604297
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
604298
604298
|
writeToStdout(source_default.green(`
|
|
604299
|
-
Successfully updated from 1.4.
|
|
604299
|
+
Successfully updated from 1.4.473 to ${updatedTo}
|
|
604300
604300
|
`));
|
|
604301
604301
|
writeToStdout(`Restart your terminal to use the new version.
|
|
604302
604302
|
`);
|
|
@@ -604361,7 +604361,7 @@ async function removeDataDir(dir) {
|
|
|
604361
604361
|
async function uninstall(args = []) {
|
|
604362
604362
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
604363
604363
|
const keepData = args.includes("--keep-data");
|
|
604364
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
604364
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.473"})...
|
|
604365
604365
|
`);
|
|
604366
604366
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
604367
604367
|
|
|
@@ -604395,7 +604395,7 @@ This looks like a permissions error on npm's global install
|
|
|
604395
604395
|
return;
|
|
604396
604396
|
}
|
|
604397
604397
|
writeToStdout(source_default.green(`
|
|
604398
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
604398
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.473"}
|
|
604399
604399
|
`));
|
|
604400
604400
|
const configDir = getRayuConfigHomeDir();
|
|
604401
604401
|
const dataExists = existsSync28(configDir);
|
|
@@ -604478,7 +604478,7 @@ function showFirstRunWelcome() {
|
|
|
604478
604478
|
`);
|
|
604479
604479
|
try {
|
|
604480
604480
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
604481
|
-
writeFileSync18(markerPath(), "1.4.
|
|
604481
|
+
writeFileSync18(markerPath(), "1.4.473", "utf8");
|
|
604482
604482
|
} catch {}
|
|
604483
604483
|
}
|
|
604484
604484
|
var init_firstRun = __esm(() => {
|
|
@@ -620664,7 +620664,7 @@ async function initializeBetaTracing(resource) {
|
|
|
620664
620664
|
});
|
|
620665
620665
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620666
620666
|
setLoggerProvider(loggerProvider);
|
|
620667
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
620667
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.473");
|
|
620668
620668
|
setEventLogger(eventLogger);
|
|
620669
620669
|
process.on("beforeExit", async () => {
|
|
620670
620670
|
await loggerProvider?.forceFlush();
|
|
@@ -620704,7 +620704,7 @@ async function initializeTelemetry() {
|
|
|
620704
620704
|
const platform4 = getPlatform();
|
|
620705
620705
|
const baseAttributes = {
|
|
620706
620706
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
620707
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
620707
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.473"
|
|
620708
620708
|
};
|
|
620709
620709
|
if (platform4 === "wsl") {
|
|
620710
620710
|
const wslVersion = getWslVersion();
|
|
@@ -620749,7 +620749,7 @@ async function initializeTelemetry() {
|
|
|
620749
620749
|
} catch {}
|
|
620750
620750
|
};
|
|
620751
620751
|
registerCleanup(shutdownTelemetry2);
|
|
620752
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
620752
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.473");
|
|
620753
620753
|
}
|
|
620754
620754
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
620755
620755
|
resource,
|
|
@@ -620769,7 +620769,7 @@ async function initializeTelemetry() {
|
|
|
620769
620769
|
});
|
|
620770
620770
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620771
620771
|
setLoggerProvider(loggerProvider);
|
|
620772
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
620772
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.473");
|
|
620773
620773
|
setEventLogger(eventLogger);
|
|
620774
620774
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
620775
620775
|
process.on("beforeExit", async () => {
|
|
@@ -620831,7 +620831,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
620831
620831
|
}
|
|
620832
620832
|
};
|
|
620833
620833
|
registerCleanup(shutdownTelemetry);
|
|
620834
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
620834
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.473");
|
|
620835
620835
|
}
|
|
620836
620836
|
async function flushTelemetry() {
|
|
620837
620837
|
const meterProvider = getMeterProvider();
|
|
@@ -622333,7 +622333,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
622333
622333
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
622334
622334
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
622335
622335
|
betas: getSdkBetas(),
|
|
622336
|
-
claude_code_version: "1.4.
|
|
622336
|
+
claude_code_version: "1.4.473",
|
|
622337
622337
|
output_style: outputStyle2,
|
|
622338
622338
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
622339
622339
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -638664,7 +638664,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
638664
638664
|
function getSemverPart(version3) {
|
|
638665
638665
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
638666
638666
|
}
|
|
638667
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
638667
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.473") {
|
|
638668
638668
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
|
|
638669
638669
|
if (!updatedVersion) {
|
|
638670
638670
|
return null;
|
|
@@ -638704,7 +638704,7 @@ function AutoUpdater({
|
|
|
638704
638704
|
return;
|
|
638705
638705
|
}
|
|
638706
638706
|
if (false) {}
|
|
638707
|
-
const currentVersion = "1.4.
|
|
638707
|
+
const currentVersion = "1.4.473";
|
|
638708
638708
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
638709
638709
|
let latestVersion = await getLatestVersion(channel2);
|
|
638710
638710
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -638917,12 +638917,12 @@ function NativeAutoUpdater({
|
|
|
638917
638917
|
logEvent("tengu_native_auto_updater_start", {});
|
|
638918
638918
|
try {
|
|
638919
638919
|
const maxVersion = await getMaxVersion();
|
|
638920
|
-
if (maxVersion && gt("1.4.
|
|
638920
|
+
if (maxVersion && gt("1.4.473", maxVersion)) {
|
|
638921
638921
|
const msg = await getMaxVersionMessage();
|
|
638922
638922
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
638923
638923
|
}
|
|
638924
638924
|
const result = await installLatest(channel2);
|
|
638925
|
-
const currentVersion = "1.4.
|
|
638925
|
+
const currentVersion = "1.4.473";
|
|
638926
638926
|
const latencyMs = Date.now() - startTime2;
|
|
638927
638927
|
if (result.lockFailed) {
|
|
638928
638928
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -639059,17 +639059,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639059
639059
|
const maxVersion = await getMaxVersion();
|
|
639060
639060
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
639061
639061
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
639062
|
-
if (gte("1.4.
|
|
639063
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.
|
|
639062
|
+
if (gte("1.4.473", maxVersion)) {
|
|
639063
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.473"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
639064
639064
|
setUpdateAvailable(false);
|
|
639065
639065
|
return;
|
|
639066
639066
|
}
|
|
639067
639067
|
latest = maxVersion;
|
|
639068
639068
|
}
|
|
639069
|
-
const hasUpdate = latest && !gte("1.4.
|
|
639069
|
+
const hasUpdate = latest && !gte("1.4.473", latest) && !shouldSkipVersion(latest);
|
|
639070
639070
|
setUpdateAvailable(!!hasUpdate);
|
|
639071
639071
|
if (hasUpdate) {
|
|
639072
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
639072
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.473"} -> ${latest}`);
|
|
639073
639073
|
}
|
|
639074
639074
|
};
|
|
639075
639075
|
$3[0] = t1;
|
|
@@ -639103,7 +639103,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639103
639103
|
wrap: "truncate",
|
|
639104
639104
|
children: [
|
|
639105
639105
|
"currentVersion: ",
|
|
639106
|
-
"1.4.
|
|
639106
|
+
"1.4.473"
|
|
639107
639107
|
]
|
|
639108
639108
|
});
|
|
639109
639109
|
$3[3] = verbose;
|
|
@@ -647267,7 +647267,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
647267
647267
|
project_dir: getOriginalCwd(),
|
|
647268
647268
|
added_dirs: addedDirs
|
|
647269
647269
|
},
|
|
647270
|
-
version: "1.4.
|
|
647270
|
+
version: "1.4.473",
|
|
647271
647271
|
output_style: {
|
|
647272
647272
|
name: outputStyleName
|
|
647273
647273
|
},
|
|
@@ -649446,7 +649446,7 @@ var init_user = __esm(() => {
|
|
|
649446
649446
|
deviceId,
|
|
649447
649447
|
sessionId: getSessionId(),
|
|
649448
649448
|
email: getEmail(),
|
|
649449
|
-
appVersion: "1.4.
|
|
649449
|
+
appVersion: "1.4.473",
|
|
649450
649450
|
platform: getHostPlatformForAnalytics(),
|
|
649451
649451
|
organizationUuid,
|
|
649452
649452
|
accountUuid,
|
|
@@ -658885,7 +658885,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
658885
658885
|
} catch {}
|
|
658886
658886
|
const data = {
|
|
658887
658887
|
trigger,
|
|
658888
|
-
version: "1.4.
|
|
658888
|
+
version: "1.4.473",
|
|
658889
658889
|
platform: process.platform,
|
|
658890
658890
|
transcript,
|
|
658891
658891
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -670853,7 +670853,7 @@ function WelcomeV2() {
|
|
|
670853
670853
|
dimColor: true,
|
|
670854
670854
|
children: [
|
|
670855
670855
|
"v",
|
|
670856
|
-
"1.4.
|
|
670856
|
+
"1.4.473"
|
|
670857
670857
|
]
|
|
670858
670858
|
})
|
|
670859
670859
|
]
|
|
@@ -671860,7 +671860,7 @@ function completeOnboarding() {
|
|
|
671860
671860
|
saveGlobalConfig((current) => ({
|
|
671861
671861
|
...current,
|
|
671862
671862
|
hasCompletedOnboarding: true,
|
|
671863
|
-
lastOnboardingVersion: "1.4.
|
|
671863
|
+
lastOnboardingVersion: "1.4.473"
|
|
671864
671864
|
}));
|
|
671865
671865
|
}
|
|
671866
671866
|
function showDialog(root2, renderer) {
|
|
@@ -676793,7 +676793,7 @@ function appendToLog(path29, message) {
|
|
|
676793
676793
|
cwd: getFsImplementation().cwd(),
|
|
676794
676794
|
userType: "external",
|
|
676795
676795
|
sessionId: getSessionId(),
|
|
676796
|
-
version: "1.4.
|
|
676796
|
+
version: "1.4.473"
|
|
676797
676797
|
};
|
|
676798
676798
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
676799
676799
|
}
|
|
@@ -680898,8 +680898,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
680898
680898
|
}
|
|
680899
680899
|
async function checkEnvLessBridgeMinVersion() {
|
|
680900
680900
|
const cfg = await getEnvLessBridgeConfig();
|
|
680901
|
-
if (cfg.min_version && lt("1.4.
|
|
680902
|
-
return `Your version of RAYU (${"1.4.
|
|
680901
|
+
if (cfg.min_version && lt("1.4.473", cfg.min_version)) {
|
|
680902
|
+
return `Your version of RAYU (${"1.4.473"}) is too old for Remote Control.
|
|
680903
680903
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
680904
680904
|
}
|
|
680905
680905
|
return null;
|
|
@@ -681372,7 +681372,7 @@ async function initBridgeCore(params) {
|
|
|
681372
681372
|
const rawApi = createBridgeApiClient({
|
|
681373
681373
|
baseUrl,
|
|
681374
681374
|
getAccessToken,
|
|
681375
|
-
runnerVersion: "1.4.
|
|
681375
|
+
runnerVersion: "1.4.473",
|
|
681376
681376
|
onDebug: logForDebugging,
|
|
681377
681377
|
onAuth401,
|
|
681378
681378
|
getTrustedDeviceToken
|
|
@@ -686727,7 +686727,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
686727
686727
|
setCwd(cwd3);
|
|
686728
686728
|
const server = new Server({
|
|
686729
686729
|
name: "claude/tengu",
|
|
686730
|
-
version: "1.4.
|
|
686730
|
+
version: "1.4.473"
|
|
686731
686731
|
}, {
|
|
686732
686732
|
capabilities: {
|
|
686733
686733
|
tools: {}
|
|
@@ -689256,7 +689256,7 @@ ${customInstructions}` : customInstructions;
|
|
|
689256
689256
|
}
|
|
689257
689257
|
}
|
|
689258
689258
|
logForDiagnosticsNoPII("info", "started", {
|
|
689259
|
-
version: "1.4.
|
|
689259
|
+
version: "1.4.473",
|
|
689260
689260
|
is_native_binary: isInBundledMode()
|
|
689261
689261
|
});
|
|
689262
689262
|
registerCleanup(async () => {
|
|
@@ -689975,7 +689975,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
689975
689975
|
pendingHookMessages
|
|
689976
689976
|
}, renderAndRun);
|
|
689977
689977
|
}
|
|
689978
|
-
}).version(`1.4.
|
|
689978
|
+
}).version(`1.4.473 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
689979
689979
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
689980
689980
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
689981
689981
|
if (canUserConfigureAdvisor()) {
|
|
@@ -690435,7 +690435,7 @@ if (false) {}
|
|
|
690435
690435
|
async function main2() {
|
|
690436
690436
|
const args = process.argv.slice(2);
|
|
690437
690437
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
690438
|
-
console.log(`${"1.4.
|
|
690438
|
+
console.log(`${"1.4.473"} (Rayu-CLI)`);
|
|
690439
690439
|
return;
|
|
690440
690440
|
}
|
|
690441
690441
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|