@rayu-dev/rayu-cli 1.4.472 → 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 -85
- 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,17 +281717,10 @@ function isToolSearchEnabledOptimistic() {
|
|
|
281717
281717
|
}
|
|
281718
281718
|
return false;
|
|
281719
281719
|
}
|
|
281720
|
-
if (!process.env.ENABLE_TOOL_SEARCH && (
|
|
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: the active
|
|
281724
|
-
}
|
|
281725
|
-
return false;
|
|
281726
|
-
}
|
|
281727
|
-
if (!process.env.ENABLE_TOOL_SEARCH && getAPIProvider() === "anthropic" && !isFirstPartyAnthropicBaseUrl()) {
|
|
281728
|
-
if (!loggedOptimistic) {
|
|
281729
|
-
loggedOptimistic = true;
|
|
281730
|
-
logForDebugging(`[ToolSearch:optimistic] disabled: ANTHROPIC_BASE_URL=${process.env.ANTHROPIC_BASE_URL} is not a first-party Anthropic host. Set ENABLE_TOOL_SEARCH=true (or auto / auto:N) if your proxy forwards tool_reference blocks.`);
|
|
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.`);
|
|
281731
281724
|
}
|
|
281732
281725
|
return false;
|
|
281733
281726
|
}
|
|
@@ -291365,7 +291358,7 @@ function getTelemetryAttributes() {
|
|
|
291365
291358
|
attributes["session.id"] = sessionId;
|
|
291366
291359
|
}
|
|
291367
291360
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
291368
|
-
attributes["app.version"] = "1.4.
|
|
291361
|
+
attributes["app.version"] = "1.4.473";
|
|
291369
291362
|
}
|
|
291370
291363
|
const oauthAccount = getOauthAccountInfo();
|
|
291371
291364
|
if (oauthAccount) {
|
|
@@ -401722,7 +401715,7 @@ function getInstallationEnv() {
|
|
|
401722
401715
|
return;
|
|
401723
401716
|
}
|
|
401724
401717
|
function getClaudeCodeVersion() {
|
|
401725
|
-
return "1.4.
|
|
401718
|
+
return "1.4.473";
|
|
401726
401719
|
}
|
|
401727
401720
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
401728
401721
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -406960,7 +406953,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
406960
406953
|
const client3 = new Client({
|
|
406961
406954
|
name: "claude-code",
|
|
406962
406955
|
title: "RAYU",
|
|
406963
|
-
version: "1.4.
|
|
406956
|
+
version: "1.4.473",
|
|
406964
406957
|
description: "Anthropic's agentic coding tool",
|
|
406965
406958
|
websiteUrl: PRODUCT_URL
|
|
406966
406959
|
}, {
|
|
@@ -407277,7 +407270,7 @@ var init_client7 = __esm(() => {
|
|
|
407277
407270
|
const client3 = new Client({
|
|
407278
407271
|
name: "claude-code",
|
|
407279
407272
|
title: "RAYU",
|
|
407280
|
-
version: "1.4.
|
|
407273
|
+
version: "1.4.473",
|
|
407281
407274
|
description: "Anthropic's agentic coding tool",
|
|
407282
407275
|
websiteUrl: PRODUCT_URL
|
|
407283
407276
|
}, {
|
|
@@ -422096,7 +422089,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
422096
422089
|
}
|
|
422097
422090
|
function computeFingerprintFromMessages(messages) {
|
|
422098
422091
|
const firstMessageText = extractFirstMessageText(messages);
|
|
422099
|
-
return computeFingerprint(firstMessageText, "1.4.
|
|
422092
|
+
return computeFingerprint(firstMessageText, "1.4.473");
|
|
422100
422093
|
}
|
|
422101
422094
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
422102
422095
|
var init_fingerprint = () => {};
|
|
@@ -422138,7 +422131,7 @@ async function sideQuery(opts) {
|
|
|
422138
422131
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
422139
422132
|
}
|
|
422140
422133
|
const messageText = extractFirstUserMessageText(messages);
|
|
422141
|
-
const fingerprint = computeFingerprint(messageText, "1.4.
|
|
422134
|
+
const fingerprint = computeFingerprint(messageText, "1.4.473");
|
|
422142
422135
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
422143
422136
|
const systemBlocks = [
|
|
422144
422137
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -521478,9 +521471,9 @@ async function assertMinVersion() {
|
|
|
521478
521471
|
if (false) {}
|
|
521479
521472
|
try {
|
|
521480
521473
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521481
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521474
|
+
if (versionConfig.minVersion && lt("1.4.473", versionConfig.minVersion)) {
|
|
521482
521475
|
console.error(`
|
|
521483
|
-
It looks like your version of RAYU (${"1.4.
|
|
521476
|
+
It looks like your version of RAYU (${"1.4.473"}) needs an update.
|
|
521484
521477
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521485
521478
|
|
|
521486
521479
|
To update, please run:
|
|
@@ -521706,7 +521699,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521706
521699
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
521707
521700
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
521708
521701
|
pid: process.pid,
|
|
521709
|
-
currentVersion: "1.4.
|
|
521702
|
+
currentVersion: "1.4.473"
|
|
521710
521703
|
});
|
|
521711
521704
|
return "in_progress";
|
|
521712
521705
|
}
|
|
@@ -521715,7 +521708,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521715
521708
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
521716
521709
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
521717
521710
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
521718
|
-
currentVersion: "1.4.
|
|
521711
|
+
currentVersion: "1.4.473"
|
|
521719
521712
|
});
|
|
521720
521713
|
console.error(`
|
|
521721
521714
|
Error: Windows NPM detected in WSL
|
|
@@ -522243,7 +522236,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522243
522236
|
}
|
|
522244
522237
|
async function getDoctorDiagnostic() {
|
|
522245
522238
|
const installationType = await getCurrentInstallationType();
|
|
522246
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522239
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
522247
522240
|
const installationPath = await getInstallationPath();
|
|
522248
522241
|
const invokedBinary = getInvokedBinary();
|
|
522249
522242
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523034,8 +523027,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523034
523027
|
const maxVersion = await getMaxVersion();
|
|
523035
523028
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523036
523029
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523037
|
-
if (gte("1.4.
|
|
523038
|
-
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`);
|
|
523039
523032
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523040
523033
|
latency_ms: Date.now() - startTime2,
|
|
523041
523034
|
max_version: maxVersion,
|
|
@@ -523046,7 +523039,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523046
523039
|
version2 = maxVersion;
|
|
523047
523040
|
}
|
|
523048
523041
|
}
|
|
523049
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523042
|
+
if (!forceReinstall && version2 === "1.4.473" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523050
523043
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523051
523044
|
logEvent("tengu_native_update_complete", {
|
|
523052
523045
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524254,7 +524247,7 @@ function buildPrimarySection() {
|
|
|
524254
524247
|
});
|
|
524255
524248
|
return [{
|
|
524256
524249
|
label: "Version",
|
|
524257
|
-
value: "1.4.
|
|
524250
|
+
value: "1.4.473"
|
|
524258
524251
|
}, {
|
|
524259
524252
|
label: "Session name",
|
|
524260
524253
|
value: nameValue
|
|
@@ -527925,7 +527918,7 @@ function Config({
|
|
|
527925
527918
|
}
|
|
527926
527919
|
})
|
|
527927
527920
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
527928
|
-
currentVersion: "1.4.
|
|
527921
|
+
currentVersion: "1.4.473",
|
|
527929
527922
|
onChoice: (choice) => {
|
|
527930
527923
|
setShowSubmenu(null);
|
|
527931
527924
|
setTabsHidden(false);
|
|
@@ -527937,7 +527930,7 @@ function Config({
|
|
|
527937
527930
|
autoUpdatesChannel: "stable"
|
|
527938
527931
|
};
|
|
527939
527932
|
if (choice === "stay") {
|
|
527940
|
-
newSettings.minimumVersion = "1.4.
|
|
527933
|
+
newSettings.minimumVersion = "1.4.473";
|
|
527941
527934
|
}
|
|
527942
527935
|
updateSettingsForSource("userSettings", newSettings);
|
|
527943
527936
|
setSettingsData((prev_27) => ({
|
|
@@ -535998,7 +535991,7 @@ function HelpV2(t0) {
|
|
|
535998
535991
|
let t6;
|
|
535999
535992
|
if ($3[31] !== tabs) {
|
|
536000
535993
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
536001
|
-
title: `Rayu-CLI v${"1.4.
|
|
535994
|
+
title: `Rayu-CLI v${"1.4.473"}`,
|
|
536002
535995
|
color: "professionalBlue",
|
|
536003
535996
|
defaultTab: "general",
|
|
536004
535997
|
children: tabs
|
|
@@ -556081,7 +556074,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
556081
556074
|
}
|
|
556082
556075
|
return [];
|
|
556083
556076
|
}
|
|
556084
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
556077
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.473") {
|
|
556085
556078
|
if (false) {}
|
|
556086
556079
|
const cachedChangelog = await getStoredChangelog();
|
|
556087
556080
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -556094,7 +556087,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.472")
|
|
|
556094
556087
|
releaseNotes
|
|
556095
556088
|
};
|
|
556096
556089
|
}
|
|
556097
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
556090
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.473") {
|
|
556098
556091
|
if (false) {}
|
|
556099
556092
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
556100
556093
|
return {
|
|
@@ -556222,7 +556215,7 @@ function getRecentActivitySync() {
|
|
|
556222
556215
|
return cachedActivity;
|
|
556223
556216
|
}
|
|
556224
556217
|
function getLogoDisplayData() {
|
|
556225
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
556218
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.473";
|
|
556226
556219
|
const serverUrl = getDirectConnectServerUrl();
|
|
556227
556220
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
556228
556221
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -557387,7 +557380,7 @@ function LogoV2() {
|
|
|
557387
557380
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
557388
557381
|
t2 = () => {
|
|
557389
557382
|
const currentConfig = getGlobalConfig();
|
|
557390
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
557383
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.473") {
|
|
557391
557384
|
return;
|
|
557392
557385
|
}
|
|
557393
557386
|
saveGlobalConfig(_temp327);
|
|
@@ -557866,7 +557859,7 @@ function LogoV2() {
|
|
|
557866
557859
|
t24 = $3[61];
|
|
557867
557860
|
}
|
|
557868
557861
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
557869
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
557862
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.473") ? [createUpdateAvailableFeed("1.4.473", _latestNpm)] : [];
|
|
557870
557863
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
557871
557864
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
557872
557865
|
maxWidth: rightWidth
|
|
@@ -558066,12 +558059,12 @@ function LogoV2() {
|
|
|
558066
558059
|
return t41;
|
|
558067
558060
|
}
|
|
558068
558061
|
function _temp327(current) {
|
|
558069
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
558062
|
+
if (current.lastReleaseNotesSeen === "1.4.473") {
|
|
558070
558063
|
return current;
|
|
558071
558064
|
}
|
|
558072
558065
|
return {
|
|
558073
558066
|
...current,
|
|
558074
|
-
lastReleaseNotesSeen: "1.4.
|
|
558067
|
+
lastReleaseNotesSeen: "1.4.473"
|
|
558075
558068
|
};
|
|
558076
558069
|
}
|
|
558077
558070
|
function _temp241(s_0) {
|
|
@@ -583070,7 +583063,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
583070
583063
|
smapsRollup,
|
|
583071
583064
|
platform: process.platform,
|
|
583072
583065
|
nodeVersion: process.version,
|
|
583073
|
-
ccVersion: "1.4.
|
|
583066
|
+
ccVersion: "1.4.473"
|
|
583074
583067
|
};
|
|
583075
583068
|
}
|
|
583076
583069
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -583592,7 +583585,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
583592
583585
|
var call50 = async () => {
|
|
583593
583586
|
return {
|
|
583594
583587
|
type: "text",
|
|
583595
|
-
value: "1.4.
|
|
583588
|
+
value: "1.4.473"
|
|
583596
583589
|
};
|
|
583597
583590
|
}, version2, version_default;
|
|
583598
583591
|
var init_version = __esm(() => {
|
|
@@ -593873,7 +593866,7 @@ function generateHtmlReport(data, insights) {
|
|
|
593873
593866
|
</html>`;
|
|
593874
593867
|
}
|
|
593875
593868
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
593876
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
593869
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
593877
593870
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
593878
593871
|
const facets_summary = {
|
|
593879
593872
|
total: facets.size,
|
|
@@ -597783,7 +597776,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
597783
597776
|
init_settings2();
|
|
597784
597777
|
init_slowOperations();
|
|
597785
597778
|
init_uuid();
|
|
597786
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
597779
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.473" : "unknown";
|
|
597787
597780
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
597788
597781
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
597789
597782
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -599001,7 +598994,7 @@ var init_filesystem = __esm(() => {
|
|
|
599001
598994
|
});
|
|
599002
598995
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
599003
598996
|
const nonce = randomBytes19(16).toString("hex");
|
|
599004
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
598997
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.473", nonce);
|
|
599005
598998
|
});
|
|
599006
598999
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
599007
599000
|
});
|
|
@@ -604171,7 +604164,7 @@ __export(exports_update, {
|
|
|
604171
604164
|
update: () => update
|
|
604172
604165
|
});
|
|
604173
604166
|
async function update() {
|
|
604174
|
-
writeToStdout(`Current version: ${"1.4.
|
|
604167
|
+
writeToStdout(`Current version: ${"1.4.473"}
|
|
604175
604168
|
`);
|
|
604176
604169
|
const isBundled = isInBundledMode();
|
|
604177
604170
|
if (isBundled) {
|
|
@@ -604202,13 +604195,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
604202
604195
|
process.exit(1);
|
|
604203
604196
|
return;
|
|
604204
604197
|
}
|
|
604205
|
-
if (latestVersion === "1.4.
|
|
604198
|
+
if (latestVersion === "1.4.473") {
|
|
604206
604199
|
writeToStdout(source_default.green(`
|
|
604207
|
-
Rayu CLI is up to date (${"1.4.
|
|
604200
|
+
Rayu CLI is up to date (${"1.4.473"})
|
|
604208
604201
|
`));
|
|
604209
604202
|
process.exit(0);
|
|
604210
604203
|
}
|
|
604211
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
604204
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.473"})
|
|
604212
604205
|
`);
|
|
604213
604206
|
writeToStdout(`Installing update...
|
|
604214
604207
|
|
|
@@ -604275,14 +604268,14 @@ async function updateNativeBinary() {
|
|
|
604275
604268
|
} catch {
|
|
604276
604269
|
latestVersion = "";
|
|
604277
604270
|
}
|
|
604278
|
-
if (latestVersion && latestVersion === "1.4.
|
|
604271
|
+
if (latestVersion && latestVersion === "1.4.473") {
|
|
604279
604272
|
writeToStdout(source_default.green(`
|
|
604280
|
-
Rayu CLI is up to date (1.4.
|
|
604273
|
+
Rayu CLI is up to date (1.4.473)
|
|
604281
604274
|
`));
|
|
604282
604275
|
process.exit(0);
|
|
604283
604276
|
}
|
|
604284
604277
|
if (latestVersion) {
|
|
604285
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
604278
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.473)
|
|
604286
604279
|
`);
|
|
604287
604280
|
}
|
|
604288
604281
|
writeToStdout(`Downloading and installing update...
|
|
@@ -604297,13 +604290,13 @@ Rayu CLI is up to date (1.4.472)
|
|
|
604297
604290
|
return;
|
|
604298
604291
|
}
|
|
604299
604292
|
writeToStdout(source_default.green(`
|
|
604300
|
-
Rayu CLI is up to date (1.4.
|
|
604293
|
+
Rayu CLI is up to date (1.4.473)
|
|
604301
604294
|
`));
|
|
604302
604295
|
process.exit(0);
|
|
604303
604296
|
}
|
|
604304
604297
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
604305
604298
|
writeToStdout(source_default.green(`
|
|
604306
|
-
Successfully updated from 1.4.
|
|
604299
|
+
Successfully updated from 1.4.473 to ${updatedTo}
|
|
604307
604300
|
`));
|
|
604308
604301
|
writeToStdout(`Restart your terminal to use the new version.
|
|
604309
604302
|
`);
|
|
@@ -604368,7 +604361,7 @@ async function removeDataDir(dir) {
|
|
|
604368
604361
|
async function uninstall(args = []) {
|
|
604369
604362
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
604370
604363
|
const keepData = args.includes("--keep-data");
|
|
604371
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
604364
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.473"})...
|
|
604372
604365
|
`);
|
|
604373
604366
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
604374
604367
|
|
|
@@ -604402,7 +604395,7 @@ This looks like a permissions error on npm's global install
|
|
|
604402
604395
|
return;
|
|
604403
604396
|
}
|
|
604404
604397
|
writeToStdout(source_default.green(`
|
|
604405
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
604398
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.473"}
|
|
604406
604399
|
`));
|
|
604407
604400
|
const configDir = getRayuConfigHomeDir();
|
|
604408
604401
|
const dataExists = existsSync28(configDir);
|
|
@@ -604485,7 +604478,7 @@ function showFirstRunWelcome() {
|
|
|
604485
604478
|
`);
|
|
604486
604479
|
try {
|
|
604487
604480
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
604488
|
-
writeFileSync18(markerPath(), "1.4.
|
|
604481
|
+
writeFileSync18(markerPath(), "1.4.473", "utf8");
|
|
604489
604482
|
} catch {}
|
|
604490
604483
|
}
|
|
604491
604484
|
var init_firstRun = __esm(() => {
|
|
@@ -620671,7 +620664,7 @@ async function initializeBetaTracing(resource) {
|
|
|
620671
620664
|
});
|
|
620672
620665
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620673
620666
|
setLoggerProvider(loggerProvider);
|
|
620674
|
-
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");
|
|
620675
620668
|
setEventLogger(eventLogger);
|
|
620676
620669
|
process.on("beforeExit", async () => {
|
|
620677
620670
|
await loggerProvider?.forceFlush();
|
|
@@ -620711,7 +620704,7 @@ async function initializeTelemetry() {
|
|
|
620711
620704
|
const platform4 = getPlatform();
|
|
620712
620705
|
const baseAttributes = {
|
|
620713
620706
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
620714
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
620707
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.473"
|
|
620715
620708
|
};
|
|
620716
620709
|
if (platform4 === "wsl") {
|
|
620717
620710
|
const wslVersion = getWslVersion();
|
|
@@ -620756,7 +620749,7 @@ async function initializeTelemetry() {
|
|
|
620756
620749
|
} catch {}
|
|
620757
620750
|
};
|
|
620758
620751
|
registerCleanup(shutdownTelemetry2);
|
|
620759
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
620752
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.473");
|
|
620760
620753
|
}
|
|
620761
620754
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
620762
620755
|
resource,
|
|
@@ -620776,7 +620769,7 @@ async function initializeTelemetry() {
|
|
|
620776
620769
|
});
|
|
620777
620770
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620778
620771
|
setLoggerProvider(loggerProvider);
|
|
620779
|
-
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");
|
|
620780
620773
|
setEventLogger(eventLogger);
|
|
620781
620774
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
620782
620775
|
process.on("beforeExit", async () => {
|
|
@@ -620838,7 +620831,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
620838
620831
|
}
|
|
620839
620832
|
};
|
|
620840
620833
|
registerCleanup(shutdownTelemetry);
|
|
620841
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
620834
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.473");
|
|
620842
620835
|
}
|
|
620843
620836
|
async function flushTelemetry() {
|
|
620844
620837
|
const meterProvider = getMeterProvider();
|
|
@@ -622340,7 +622333,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
622340
622333
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
622341
622334
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
622342
622335
|
betas: getSdkBetas(),
|
|
622343
|
-
claude_code_version: "1.4.
|
|
622336
|
+
claude_code_version: "1.4.473",
|
|
622344
622337
|
output_style: outputStyle2,
|
|
622345
622338
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
622346
622339
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -638671,7 +638664,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
638671
638664
|
function getSemverPart(version3) {
|
|
638672
638665
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
638673
638666
|
}
|
|
638674
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
638667
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.473") {
|
|
638675
638668
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
|
|
638676
638669
|
if (!updatedVersion) {
|
|
638677
638670
|
return null;
|
|
@@ -638711,7 +638704,7 @@ function AutoUpdater({
|
|
|
638711
638704
|
return;
|
|
638712
638705
|
}
|
|
638713
638706
|
if (false) {}
|
|
638714
|
-
const currentVersion = "1.4.
|
|
638707
|
+
const currentVersion = "1.4.473";
|
|
638715
638708
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
638716
638709
|
let latestVersion = await getLatestVersion(channel2);
|
|
638717
638710
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -638924,12 +638917,12 @@ function NativeAutoUpdater({
|
|
|
638924
638917
|
logEvent("tengu_native_auto_updater_start", {});
|
|
638925
638918
|
try {
|
|
638926
638919
|
const maxVersion = await getMaxVersion();
|
|
638927
|
-
if (maxVersion && gt("1.4.
|
|
638920
|
+
if (maxVersion && gt("1.4.473", maxVersion)) {
|
|
638928
638921
|
const msg = await getMaxVersionMessage();
|
|
638929
638922
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
638930
638923
|
}
|
|
638931
638924
|
const result = await installLatest(channel2);
|
|
638932
|
-
const currentVersion = "1.4.
|
|
638925
|
+
const currentVersion = "1.4.473";
|
|
638933
638926
|
const latencyMs = Date.now() - startTime2;
|
|
638934
638927
|
if (result.lockFailed) {
|
|
638935
638928
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -639066,17 +639059,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639066
639059
|
const maxVersion = await getMaxVersion();
|
|
639067
639060
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
639068
639061
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
639069
|
-
if (gte("1.4.
|
|
639070
|
-
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`);
|
|
639071
639064
|
setUpdateAvailable(false);
|
|
639072
639065
|
return;
|
|
639073
639066
|
}
|
|
639074
639067
|
latest = maxVersion;
|
|
639075
639068
|
}
|
|
639076
|
-
const hasUpdate = latest && !gte("1.4.
|
|
639069
|
+
const hasUpdate = latest && !gte("1.4.473", latest) && !shouldSkipVersion(latest);
|
|
639077
639070
|
setUpdateAvailable(!!hasUpdate);
|
|
639078
639071
|
if (hasUpdate) {
|
|
639079
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
639072
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.473"} -> ${latest}`);
|
|
639080
639073
|
}
|
|
639081
639074
|
};
|
|
639082
639075
|
$3[0] = t1;
|
|
@@ -639110,7 +639103,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639110
639103
|
wrap: "truncate",
|
|
639111
639104
|
children: [
|
|
639112
639105
|
"currentVersion: ",
|
|
639113
|
-
"1.4.
|
|
639106
|
+
"1.4.473"
|
|
639114
639107
|
]
|
|
639115
639108
|
});
|
|
639116
639109
|
$3[3] = verbose;
|
|
@@ -647274,7 +647267,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
647274
647267
|
project_dir: getOriginalCwd(),
|
|
647275
647268
|
added_dirs: addedDirs
|
|
647276
647269
|
},
|
|
647277
|
-
version: "1.4.
|
|
647270
|
+
version: "1.4.473",
|
|
647278
647271
|
output_style: {
|
|
647279
647272
|
name: outputStyleName
|
|
647280
647273
|
},
|
|
@@ -649453,7 +649446,7 @@ var init_user = __esm(() => {
|
|
|
649453
649446
|
deviceId,
|
|
649454
649447
|
sessionId: getSessionId(),
|
|
649455
649448
|
email: getEmail(),
|
|
649456
|
-
appVersion: "1.4.
|
|
649449
|
+
appVersion: "1.4.473",
|
|
649457
649450
|
platform: getHostPlatformForAnalytics(),
|
|
649458
649451
|
organizationUuid,
|
|
649459
649452
|
accountUuid,
|
|
@@ -658892,7 +658885,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
658892
658885
|
} catch {}
|
|
658893
658886
|
const data = {
|
|
658894
658887
|
trigger,
|
|
658895
|
-
version: "1.4.
|
|
658888
|
+
version: "1.4.473",
|
|
658896
658889
|
platform: process.platform,
|
|
658897
658890
|
transcript,
|
|
658898
658891
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -670860,7 +670853,7 @@ function WelcomeV2() {
|
|
|
670860
670853
|
dimColor: true,
|
|
670861
670854
|
children: [
|
|
670862
670855
|
"v",
|
|
670863
|
-
"1.4.
|
|
670856
|
+
"1.4.473"
|
|
670864
670857
|
]
|
|
670865
670858
|
})
|
|
670866
670859
|
]
|
|
@@ -671867,7 +671860,7 @@ function completeOnboarding() {
|
|
|
671867
671860
|
saveGlobalConfig((current) => ({
|
|
671868
671861
|
...current,
|
|
671869
671862
|
hasCompletedOnboarding: true,
|
|
671870
|
-
lastOnboardingVersion: "1.4.
|
|
671863
|
+
lastOnboardingVersion: "1.4.473"
|
|
671871
671864
|
}));
|
|
671872
671865
|
}
|
|
671873
671866
|
function showDialog(root2, renderer) {
|
|
@@ -676800,7 +676793,7 @@ function appendToLog(path29, message) {
|
|
|
676800
676793
|
cwd: getFsImplementation().cwd(),
|
|
676801
676794
|
userType: "external",
|
|
676802
676795
|
sessionId: getSessionId(),
|
|
676803
|
-
version: "1.4.
|
|
676796
|
+
version: "1.4.473"
|
|
676804
676797
|
};
|
|
676805
676798
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
676806
676799
|
}
|
|
@@ -680905,8 +680898,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
680905
680898
|
}
|
|
680906
680899
|
async function checkEnvLessBridgeMinVersion() {
|
|
680907
680900
|
const cfg = await getEnvLessBridgeConfig();
|
|
680908
|
-
if (cfg.min_version && lt("1.4.
|
|
680909
|
-
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.
|
|
680910
680903
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
680911
680904
|
}
|
|
680912
680905
|
return null;
|
|
@@ -681379,7 +681372,7 @@ async function initBridgeCore(params) {
|
|
|
681379
681372
|
const rawApi = createBridgeApiClient({
|
|
681380
681373
|
baseUrl,
|
|
681381
681374
|
getAccessToken,
|
|
681382
|
-
runnerVersion: "1.4.
|
|
681375
|
+
runnerVersion: "1.4.473",
|
|
681383
681376
|
onDebug: logForDebugging,
|
|
681384
681377
|
onAuth401,
|
|
681385
681378
|
getTrustedDeviceToken
|
|
@@ -686734,7 +686727,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
686734
686727
|
setCwd(cwd3);
|
|
686735
686728
|
const server = new Server({
|
|
686736
686729
|
name: "claude/tengu",
|
|
686737
|
-
version: "1.4.
|
|
686730
|
+
version: "1.4.473"
|
|
686738
686731
|
}, {
|
|
686739
686732
|
capabilities: {
|
|
686740
686733
|
tools: {}
|
|
@@ -689263,7 +689256,7 @@ ${customInstructions}` : customInstructions;
|
|
|
689263
689256
|
}
|
|
689264
689257
|
}
|
|
689265
689258
|
logForDiagnosticsNoPII("info", "started", {
|
|
689266
|
-
version: "1.4.
|
|
689259
|
+
version: "1.4.473",
|
|
689267
689260
|
is_native_binary: isInBundledMode()
|
|
689268
689261
|
});
|
|
689269
689262
|
registerCleanup(async () => {
|
|
@@ -689982,7 +689975,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
689982
689975
|
pendingHookMessages
|
|
689983
689976
|
}, renderAndRun);
|
|
689984
689977
|
}
|
|
689985
|
-
}).version(`1.4.
|
|
689978
|
+
}).version(`1.4.473 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
689986
689979
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
689987
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.");
|
|
689988
689981
|
if (canUserConfigureAdvisor()) {
|
|
@@ -690442,7 +690435,7 @@ if (false) {}
|
|
|
690442
690435
|
async function main2() {
|
|
690443
690436
|
const args = process.argv.slice(2);
|
|
690444
690437
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
690445
|
-
console.log(`${"1.4.
|
|
690438
|
+
console.log(`${"1.4.473"} (Rayu-CLI)`);
|
|
690446
690439
|
return;
|
|
690447
690440
|
}
|
|
690448
690441
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|