@rayu-dev/rayu-cli 1.4.468 → 1.4.470
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 +112 -95
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -40800,10 +40800,20 @@ function envMultiKeyProviderIds() {
|
|
|
40800
40800
|
return [];
|
|
40801
40801
|
return raw.split(/[\s,]+/).map((s2) => s2.trim()).filter(Boolean);
|
|
40802
40802
|
}
|
|
40803
|
+
function providerKindForId(providerId) {
|
|
40804
|
+
const configured = loadRayuConfig().providers.find((p) => p.id === providerId);
|
|
40805
|
+
if (configured)
|
|
40806
|
+
return configured.kind;
|
|
40807
|
+
return PROVIDER_PRESETS.find((p) => p.id === providerId)?.kind;
|
|
40808
|
+
}
|
|
40803
40809
|
function supportsMultiApiKey(providerId) {
|
|
40804
40810
|
if (!providerId)
|
|
40805
40811
|
return false;
|
|
40806
|
-
|
|
40812
|
+
const listed = MULTI_KEY_PROVIDER_IDS.has(providerId) || envMultiKeyProviderIds().includes(providerId);
|
|
40813
|
+
if (!listed)
|
|
40814
|
+
return false;
|
|
40815
|
+
const kind = providerKindForId(providerId);
|
|
40816
|
+
return kind !== undefined && MULTI_KEY_PROVIDER_KINDS.has(kind);
|
|
40807
40817
|
}
|
|
40808
40818
|
function migrateEnvKeysToConfig() {
|
|
40809
40819
|
loadDotEnv();
|
|
@@ -40894,7 +40904,7 @@ function getActiveProviderDisplayName() {
|
|
|
40894
40904
|
const p = getActiveProvider();
|
|
40895
40905
|
return p ? providerDisplayName(p) : undefined;
|
|
40896
40906
|
}
|
|
40897
|
-
var DEFAULT_BEDROCK_REGION = "us-east-1", BEDROCK_REGIONS, GEMINI_VERTEX_PROVIDER_ID = "gemini-vertex", DEFAULT_VERTEX_REGION = "global", VERTEX_REGIONS, OLLAMA_DEFAULT_BASE_URL = "http://localhost:11434/v1", RAYU_HOSTED_PROVIDER_ID = "rayu-hosted", RAYU_HOSTED_PROVIDER_LABEL = "Rayu (hosted)", MULTI_KEY_PROVIDER_IDS, PROVIDER_PRESETS, PROVIDER_DISPLAY_NAMES;
|
|
40907
|
+
var DEFAULT_BEDROCK_REGION = "us-east-1", BEDROCK_REGIONS, GEMINI_VERTEX_PROVIDER_ID = "gemini-vertex", DEFAULT_VERTEX_REGION = "global", VERTEX_REGIONS, OLLAMA_DEFAULT_BASE_URL = "http://localhost:11434/v1", RAYU_HOSTED_PROVIDER_ID = "rayu-hosted", RAYU_HOSTED_PROVIDER_LABEL = "Rayu (hosted)", MULTI_KEY_PROVIDER_IDS, MULTI_KEY_PROVIDER_KINDS, PROVIDER_PRESETS, PROVIDER_DISPLAY_NAMES;
|
|
40898
40908
|
var init_rayuProviders = __esm(() => {
|
|
40899
40909
|
init_rayuConfig();
|
|
40900
40910
|
init_envUtils();
|
|
@@ -40926,6 +40936,10 @@ var init_rayuProviders = __esm(() => {
|
|
|
40926
40936
|
"openrouter",
|
|
40927
40937
|
"ollama-cloud"
|
|
40928
40938
|
]);
|
|
40939
|
+
MULTI_KEY_PROVIDER_KINDS = new Set([
|
|
40940
|
+
"openai-compatible",
|
|
40941
|
+
"anthropic-compatible"
|
|
40942
|
+
]);
|
|
40929
40943
|
PROVIDER_PRESETS = [
|
|
40930
40944
|
{
|
|
40931
40945
|
id: "anthropic",
|
|
@@ -42046,6 +42060,7 @@ var init_rayuConfig = __esm(() => {
|
|
|
42046
42060
|
[/kimi[-_.]?k2[-_.]?(thinking|\d{4}|[5-9])/i, 256000],
|
|
42047
42061
|
[/kimi[-_.\s]?cod(e|ing)|kimi[-_.]?k?2[.\-_]?7/i, 256000],
|
|
42048
42062
|
[/kimi|moonshot/i, 131072],
|
|
42063
|
+
[/qwen[-.]?3\.5/i, 256000],
|
|
42049
42064
|
[/qwen[-.]?3[-.]?(coder|next)/i, 256000],
|
|
42050
42065
|
[/jamba/i, 256000],
|
|
42051
42066
|
[/step[-_.]?3\.7/i, 256000],
|
|
@@ -148964,7 +148979,7 @@ var init_isEqual = __esm(() => {
|
|
|
148964
148979
|
|
|
148965
148980
|
// src/utils/userAgent.ts
|
|
148966
148981
|
function getRayuUserAgent() {
|
|
148967
|
-
return `rayu/${"1.4.
|
|
148982
|
+
return `rayu/${"1.4.470"}`;
|
|
148968
148983
|
}
|
|
148969
148984
|
var getClaudeCodeUserAgent;
|
|
148970
148985
|
var init_userAgent = __esm(() => {
|
|
@@ -148990,7 +149005,7 @@ function getUserAgent() {
|
|
|
148990
149005
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
148991
149006
|
const workload = getWorkload();
|
|
148992
149007
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
148993
|
-
return `rayu/${"1.4.
|
|
149008
|
+
return `rayu/${"1.4.470"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
148994
149009
|
}
|
|
148995
149010
|
function getMCPUserAgent() {
|
|
148996
149011
|
const parts = [];
|
|
@@ -149004,7 +149019,7 @@ function getMCPUserAgent() {
|
|
|
149004
149019
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
149005
149020
|
}
|
|
149006
149021
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
149007
|
-
return `rayu/${"1.4.
|
|
149022
|
+
return `rayu/${"1.4.470"}${suffix}`;
|
|
149008
149023
|
}
|
|
149009
149024
|
function getWebFetchUserAgent() {
|
|
149010
149025
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -205319,7 +205334,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
205319
205334
|
if (!isAttributionHeaderEnabled()) {
|
|
205320
205335
|
return "";
|
|
205321
205336
|
}
|
|
205322
|
-
const version2 = `${"1.4.
|
|
205337
|
+
const version2 = `${"1.4.470"}.${fingerprint}`;
|
|
205323
205338
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
205324
205339
|
const cch = "";
|
|
205325
205340
|
const workload = getWorkload();
|
|
@@ -259288,7 +259303,7 @@ var init_metadata = __esm(() => {
|
|
|
259288
259303
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
259289
259304
|
WHITESPACE_REGEX = /\s+/;
|
|
259290
259305
|
getVersionBase = memoize_default(() => {
|
|
259291
|
-
const match = "1.4.
|
|
259306
|
+
const match = "1.4.470".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
259292
259307
|
return match ? match[0] : undefined;
|
|
259293
259308
|
});
|
|
259294
259309
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -259327,7 +259342,7 @@ var init_metadata = __esm(() => {
|
|
|
259327
259342
|
},
|
|
259328
259343
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
259329
259344
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
259330
|
-
version: "1.4.
|
|
259345
|
+
version: "1.4.470",
|
|
259331
259346
|
versionBase: getVersionBase(),
|
|
259332
259347
|
buildTime: "",
|
|
259333
259348
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -291341,7 +291356,7 @@ function getTelemetryAttributes() {
|
|
|
291341
291356
|
attributes["session.id"] = sessionId;
|
|
291342
291357
|
}
|
|
291343
291358
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
291344
|
-
attributes["app.version"] = "1.4.
|
|
291359
|
+
attributes["app.version"] = "1.4.470";
|
|
291345
291360
|
}
|
|
291346
291361
|
const oauthAccount = getOauthAccountInfo();
|
|
291347
291362
|
if (oauthAccount) {
|
|
@@ -401698,7 +401713,7 @@ function getInstallationEnv() {
|
|
|
401698
401713
|
return;
|
|
401699
401714
|
}
|
|
401700
401715
|
function getClaudeCodeVersion() {
|
|
401701
|
-
return "1.4.
|
|
401716
|
+
return "1.4.470";
|
|
401702
401717
|
}
|
|
401703
401718
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
401704
401719
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -406936,7 +406951,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
406936
406951
|
const client3 = new Client({
|
|
406937
406952
|
name: "claude-code",
|
|
406938
406953
|
title: "RAYU",
|
|
406939
|
-
version: "1.4.
|
|
406954
|
+
version: "1.4.470",
|
|
406940
406955
|
description: "Anthropic's agentic coding tool",
|
|
406941
406956
|
websiteUrl: PRODUCT_URL
|
|
406942
406957
|
}, {
|
|
@@ -407253,7 +407268,7 @@ var init_client7 = __esm(() => {
|
|
|
407253
407268
|
const client3 = new Client({
|
|
407254
407269
|
name: "claude-code",
|
|
407255
407270
|
title: "RAYU",
|
|
407256
|
-
version: "1.4.
|
|
407271
|
+
version: "1.4.470",
|
|
407257
407272
|
description: "Anthropic's agentic coding tool",
|
|
407258
407273
|
websiteUrl: PRODUCT_URL
|
|
407259
407274
|
}, {
|
|
@@ -422072,7 +422087,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
422072
422087
|
}
|
|
422073
422088
|
function computeFingerprintFromMessages(messages) {
|
|
422074
422089
|
const firstMessageText = extractFirstMessageText(messages);
|
|
422075
|
-
return computeFingerprint(firstMessageText, "1.4.
|
|
422090
|
+
return computeFingerprint(firstMessageText, "1.4.470");
|
|
422076
422091
|
}
|
|
422077
422092
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
422078
422093
|
var init_fingerprint = () => {};
|
|
@@ -422114,7 +422129,7 @@ async function sideQuery(opts) {
|
|
|
422114
422129
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
422115
422130
|
}
|
|
422116
422131
|
const messageText = extractFirstUserMessageText(messages);
|
|
422117
|
-
const fingerprint = computeFingerprint(messageText, "1.4.
|
|
422132
|
+
const fingerprint = computeFingerprint(messageText, "1.4.470");
|
|
422118
422133
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
422119
422134
|
const systemBlocks = [
|
|
422120
422135
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -521450,9 +521465,9 @@ async function assertMinVersion() {
|
|
|
521450
521465
|
if (false) {}
|
|
521451
521466
|
try {
|
|
521452
521467
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521453
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521468
|
+
if (versionConfig.minVersion && lt("1.4.470", versionConfig.minVersion)) {
|
|
521454
521469
|
console.error(`
|
|
521455
|
-
It looks like your version of RAYU (${"1.4.
|
|
521470
|
+
It looks like your version of RAYU (${"1.4.470"}) needs an update.
|
|
521456
521471
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521457
521472
|
|
|
521458
521473
|
To update, please run:
|
|
@@ -521678,7 +521693,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521678
521693
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
521679
521694
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
521680
521695
|
pid: process.pid,
|
|
521681
|
-
currentVersion: "1.4.
|
|
521696
|
+
currentVersion: "1.4.470"
|
|
521682
521697
|
});
|
|
521683
521698
|
return "in_progress";
|
|
521684
521699
|
}
|
|
@@ -521687,7 +521702,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
521687
521702
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
521688
521703
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
521689
521704
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
521690
|
-
currentVersion: "1.4.
|
|
521705
|
+
currentVersion: "1.4.470"
|
|
521691
521706
|
});
|
|
521692
521707
|
console.error(`
|
|
521693
521708
|
Error: Windows NPM detected in WSL
|
|
@@ -522218,7 +522233,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522218
522233
|
}
|
|
522219
522234
|
async function getDoctorDiagnostic() {
|
|
522220
522235
|
const installationType = await getCurrentInstallationType();
|
|
522221
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522236
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
|
|
522222
522237
|
const installationPath = await getInstallationPath();
|
|
522223
522238
|
const invokedBinary = getInvokedBinary();
|
|
522224
522239
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523012,8 +523027,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523012
523027
|
const maxVersion = await getMaxVersion();
|
|
523013
523028
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523014
523029
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523015
|
-
if (gte("1.4.
|
|
523016
|
-
logForDebugging(`Native installer: current version ${"1.4.
|
|
523030
|
+
if (gte("1.4.470", maxVersion)) {
|
|
523031
|
+
logForDebugging(`Native installer: current version ${"1.4.470"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
523017
523032
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523018
523033
|
latency_ms: Date.now() - startTime2,
|
|
523019
523034
|
max_version: maxVersion,
|
|
@@ -523024,7 +523039,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523024
523039
|
version2 = maxVersion;
|
|
523025
523040
|
}
|
|
523026
523041
|
}
|
|
523027
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523042
|
+
if (!forceReinstall && version2 === "1.4.470" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523028
523043
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523029
523044
|
logEvent("tengu_native_update_complete", {
|
|
523030
523045
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524220,7 +524235,7 @@ function buildPrimarySection() {
|
|
|
524220
524235
|
});
|
|
524221
524236
|
return [{
|
|
524222
524237
|
label: "Version",
|
|
524223
|
-
value: "1.4.
|
|
524238
|
+
value: "1.4.470"
|
|
524224
524239
|
}, {
|
|
524225
524240
|
label: "Session name",
|
|
524226
524241
|
value: nameValue
|
|
@@ -527891,7 +527906,7 @@ function Config({
|
|
|
527891
527906
|
}
|
|
527892
527907
|
})
|
|
527893
527908
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
527894
|
-
currentVersion: "1.4.
|
|
527909
|
+
currentVersion: "1.4.470",
|
|
527895
527910
|
onChoice: (choice) => {
|
|
527896
527911
|
setShowSubmenu(null);
|
|
527897
527912
|
setTabsHidden(false);
|
|
@@ -527903,7 +527918,7 @@ function Config({
|
|
|
527903
527918
|
autoUpdatesChannel: "stable"
|
|
527904
527919
|
};
|
|
527905
527920
|
if (choice === "stay") {
|
|
527906
|
-
newSettings.minimumVersion = "1.4.
|
|
527921
|
+
newSettings.minimumVersion = "1.4.470";
|
|
527907
527922
|
}
|
|
527908
527923
|
updateSettingsForSource("userSettings", newSettings);
|
|
527909
527924
|
setSettingsData((prev_27) => ({
|
|
@@ -535963,7 +535978,7 @@ function HelpV2(t0) {
|
|
|
535963
535978
|
let t6;
|
|
535964
535979
|
if ($3[31] !== tabs) {
|
|
535965
535980
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
535966
|
-
title: `Rayu-CLI v${"1.4.
|
|
535981
|
+
title: `Rayu-CLI v${"1.4.470"}`,
|
|
535967
535982
|
color: "professionalBlue",
|
|
535968
535983
|
defaultTab: "general",
|
|
535969
535984
|
children: tabs
|
|
@@ -556046,7 +556061,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
556046
556061
|
}
|
|
556047
556062
|
return [];
|
|
556048
556063
|
}
|
|
556049
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
556064
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.470") {
|
|
556050
556065
|
if (false) {}
|
|
556051
556066
|
const cachedChangelog = await getStoredChangelog();
|
|
556052
556067
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -556059,7 +556074,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.468")
|
|
|
556059
556074
|
releaseNotes
|
|
556060
556075
|
};
|
|
556061
556076
|
}
|
|
556062
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
556077
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.470") {
|
|
556063
556078
|
if (false) {}
|
|
556064
556079
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
556065
556080
|
return {
|
|
@@ -556103,8 +556118,8 @@ function calculateLayoutDimensions(columns, layoutMode, optimalLeftWidth) {
|
|
|
556103
556118
|
totalWidth
|
|
556104
556119
|
};
|
|
556105
556120
|
}
|
|
556106
|
-
function calculateOptimalLeftWidth(welcomeMessage, truncatedCwd, modelLine) {
|
|
556107
|
-
const contentWidth = Math.max(stringWidth(welcomeMessage), stringWidth(truncatedCwd), stringWidth(modelLine),
|
|
556121
|
+
function calculateOptimalLeftWidth(welcomeMessage, truncatedCwd, modelLine, bannerWidth) {
|
|
556122
|
+
const contentWidth = Math.max(stringWidth(welcomeMessage), stringWidth(truncatedCwd), stringWidth(modelLine), bannerWidth);
|
|
556108
556123
|
return Math.min(contentWidth + 4, MAX_LEFT_WIDTH);
|
|
556109
556124
|
}
|
|
556110
556125
|
function formatWelcomeMessage(username) {
|
|
@@ -556187,7 +556202,7 @@ function getRecentActivitySync() {
|
|
|
556187
556202
|
return cachedActivity;
|
|
556188
556203
|
}
|
|
556189
556204
|
function getLogoDisplayData() {
|
|
556190
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
556205
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.470";
|
|
556191
556206
|
const serverUrl = getDirectConnectServerUrl();
|
|
556192
556207
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
556193
556208
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -556265,12 +556280,12 @@ var RAYU_BANNER_CLAWD, RAYU_BANNER_WELCOME, BANNERS, ACTIVE_BANNER_ID = "rayu";
|
|
|
556265
556280
|
var init_bannerConfig = __esm(() => {
|
|
556266
556281
|
RAYU_BANNER_CLAWD = {
|
|
556267
556282
|
lines: [
|
|
556268
|
-
["██████╗ █████╗ ██╗ ██╗██╗ ██╗", "#
|
|
556283
|
+
["██████╗ █████╗ ██╗ ██╗██╗ ██╗", "#c109ef"],
|
|
556269
556284
|
["██╔══██╗██╔══██╗╚██╗ ██╔╝██║ ██║", "#5bf58d"],
|
|
556270
|
-
["██████╔╝███████║ ╚████╔╝ ██║ ██║", "#
|
|
556271
|
-
["██╔══██╗██╔══██║ ╚██╔╝ ██║ ██║", "#
|
|
556272
|
-
["██║ ██║██║ ██║ ██║ ╚██████╔╝", "#
|
|
556273
|
-
["╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ", "#
|
|
556285
|
+
["██████╔╝███████║ ╚████╔╝ ██║ ██║", "#e8df3d"],
|
|
556286
|
+
["██╔══██╗██╔══██║ ╚██╔╝ ██║ ██║", "#2257c9"],
|
|
556287
|
+
["██║ ██║██║ ██║ ██║ ╚██████╔╝", "#43149b"],
|
|
556288
|
+
["╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ", "#db5e71"]
|
|
556274
556289
|
]
|
|
556275
556290
|
};
|
|
556276
556291
|
RAYU_BANNER_WELCOME = {
|
|
@@ -557351,7 +557366,7 @@ function LogoV2() {
|
|
|
557351
557366
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
557352
557367
|
t2 = () => {
|
|
557353
557368
|
const currentConfig = getGlobalConfig();
|
|
557354
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
557369
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.470") {
|
|
557355
557370
|
return;
|
|
557356
557371
|
}
|
|
557357
557372
|
saveGlobalConfig(_temp327);
|
|
@@ -557667,7 +557682,7 @@ function LogoV2() {
|
|
|
557667
557682
|
children: /* @__PURE__ */ jsx_runtime236.jsxs(ThemedBox_default, {
|
|
557668
557683
|
flexDirection: "column",
|
|
557669
557684
|
borderStyle: "round",
|
|
557670
|
-
borderColor: "
|
|
557685
|
+
borderColor: "#5bf58d",
|
|
557671
557686
|
borderText: t112,
|
|
557672
557687
|
paddingX: 1,
|
|
557673
557688
|
paddingY: 1,
|
|
@@ -557701,11 +557716,12 @@ function LogoV2() {
|
|
|
557701
557716
|
});
|
|
557702
557717
|
}
|
|
557703
557718
|
const welcomeMessage_0 = formatWelcomeMessage(username);
|
|
557719
|
+
const bannerWidth = Math.max(...getActiveClawdBanner().lines.map(([line]) => stringWidth(line)));
|
|
557704
557720
|
const modelLine = !process.env.IS_DEMO && config5.oauthAccount?.organizationName ? `${modelDisplayName} · ${billingType} · ${config5.oauthAccount.organizationName}` : `${modelDisplayName} · ${billingType}`;
|
|
557705
557721
|
const cwdAvailableWidth_0 = agentName ? LEFT_PANEL_MAX_WIDTH - 1 - stringWidth(agentName) - 3 : LEFT_PANEL_MAX_WIDTH;
|
|
557706
557722
|
const truncatedCwd_0 = truncatePath(cwd2, Math.max(cwdAvailableWidth_0, 10));
|
|
557707
557723
|
const cwdLine = agentName ? `@${agentName} · ${truncatedCwd_0}` : truncatedCwd_0;
|
|
557708
|
-
const optimalLeftWidth = calculateOptimalLeftWidth(welcomeMessage_0, cwdLine, modelLine);
|
|
557724
|
+
const optimalLeftWidth = calculateOptimalLeftWidth(welcomeMessage_0, cwdLine, modelLine, bannerWidth);
|
|
557709
557725
|
const {
|
|
557710
557726
|
leftWidth,
|
|
557711
557727
|
rightWidth
|
|
@@ -557714,7 +557730,7 @@ function LogoV2() {
|
|
|
557714
557730
|
const T1 = ThemedBox_default;
|
|
557715
557731
|
const t11 = "column";
|
|
557716
557732
|
const t12 = "round";
|
|
557717
|
-
const t13 = "
|
|
557733
|
+
const t13 = "#5bf58d";
|
|
557718
557734
|
let t14;
|
|
557719
557735
|
if ($3[44] !== borderTitle) {
|
|
557720
557736
|
t14 = {
|
|
@@ -557817,7 +557833,7 @@ function LogoV2() {
|
|
|
557817
557833
|
t24 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(ThemedBox_default, {
|
|
557818
557834
|
height: "100%",
|
|
557819
557835
|
borderStyle: "single",
|
|
557820
|
-
borderColor: "
|
|
557836
|
+
borderColor: "#5bf58d",
|
|
557821
557837
|
borderDimColor: true,
|
|
557822
557838
|
borderTop: false,
|
|
557823
557839
|
borderBottom: false,
|
|
@@ -557829,7 +557845,7 @@ function LogoV2() {
|
|
|
557829
557845
|
t24 = $3[61];
|
|
557830
557846
|
}
|
|
557831
557847
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
557832
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
557848
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.470") ? [createUpdateAvailableFeed("1.4.470", _latestNpm)] : [];
|
|
557833
557849
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
557834
557850
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
557835
557851
|
maxWidth: rightWidth
|
|
@@ -558029,12 +558045,12 @@ function LogoV2() {
|
|
|
558029
558045
|
return t41;
|
|
558030
558046
|
}
|
|
558031
558047
|
function _temp327(current) {
|
|
558032
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
558048
|
+
if (current.lastReleaseNotesSeen === "1.4.470") {
|
|
558033
558049
|
return current;
|
|
558034
558050
|
}
|
|
558035
558051
|
return {
|
|
558036
558052
|
...current,
|
|
558037
|
-
lastReleaseNotesSeen: "1.4.
|
|
558053
|
+
lastReleaseNotesSeen: "1.4.470"
|
|
558038
558054
|
};
|
|
558039
558055
|
}
|
|
558040
558056
|
function _temp241(s_0) {
|
|
@@ -558052,6 +558068,7 @@ var init_LogoV2 = __esm(() => {
|
|
|
558052
558068
|
init_format();
|
|
558053
558069
|
init_file2();
|
|
558054
558070
|
init_Clawd();
|
|
558071
|
+
init_bannerConfig();
|
|
558055
558072
|
init_FeedColumn();
|
|
558056
558073
|
init_feedConfigs();
|
|
558057
558074
|
init_autoUpdater();
|
|
@@ -574843,14 +574860,14 @@ Other exit codes - show stderr to user only`,
|
|
|
574843
574860
|
UserPromptSubmit: {
|
|
574844
574861
|
summary: "When the user submits a prompt",
|
|
574845
574862
|
description: `Input to command is JSON with original user prompt text.
|
|
574846
|
-
Exit code 0 - stdout shown to
|
|
574863
|
+
Exit code 0 - stdout shown to Rayu
|
|
574847
574864
|
Exit code 2 - block processing, erase original prompt, and show stderr to user only
|
|
574848
574865
|
Other exit codes - show stderr to user only`
|
|
574849
574866
|
},
|
|
574850
574867
|
SessionStart: {
|
|
574851
574868
|
summary: "When a new session is started",
|
|
574852
574869
|
description: `Input to command is JSON with session start source.
|
|
574853
|
-
Exit code 0 - stdout shown to
|
|
574870
|
+
Exit code 0 - stdout shown to Rayu
|
|
574854
574871
|
Blocking errors are ignored
|
|
574855
574872
|
Other exit codes - show stderr to user only`,
|
|
574856
574873
|
matcherMetadata: {
|
|
@@ -574859,7 +574876,7 @@ Other exit codes - show stderr to user only`,
|
|
|
574859
574876
|
}
|
|
574860
574877
|
},
|
|
574861
574878
|
Stop: {
|
|
574862
|
-
summary: "Right before
|
|
574879
|
+
summary: "Right before Rayu concludes its response",
|
|
574863
574880
|
description: `Exit code 0 - stdout/stderr not shown
|
|
574864
574881
|
Exit code 2 - show stderr to model and continue conversation
|
|
574865
574882
|
Other exit codes - show stderr to user only`
|
|
@@ -574947,7 +574964,7 @@ Other exit codes - show stderr to user only`,
|
|
|
574947
574964
|
Setup: {
|
|
574948
574965
|
summary: "Repo setup hooks for init and maintenance",
|
|
574949
574966
|
description: `Input to command is JSON with trigger (init or maintenance).
|
|
574950
|
-
Exit code 0 - stdout shown to
|
|
574967
|
+
Exit code 0 - stdout shown to Rayu
|
|
574951
574968
|
Blocking errors are ignored
|
|
574952
574969
|
Other exit codes - show stderr to user only`,
|
|
574953
574970
|
matcherMetadata: {
|
|
@@ -575019,7 +575036,7 @@ Other exit codes - show stderr to user only`,
|
|
|
575019
575036
|
},
|
|
575020
575037
|
InstructionsLoaded: {
|
|
575021
575038
|
summary: "When an instruction file (RAYU.md or rule) is loaded",
|
|
575022
|
-
description: `Input to command is JSON with file_path, memory_type (User, Project, Local, Managed), load_reason (session_start, nested_traversal, path_glob_match, include, compact), globs (optional — the paths: frontmatter patterns that matched), trigger_file_path (optional — the file
|
|
575039
|
+
description: `Input to command is JSON with file_path, memory_type (User, Project, Local, Managed), load_reason (session_start, nested_traversal, path_glob_match, include, compact), globs (optional — the paths: frontmatter patterns that matched), trigger_file_path (optional — the file Rayu touched that caused the load), and parent_file_path (optional — the file that @-included this one).
|
|
575023
575040
|
Exit code 0 - command completes successfully
|
|
575024
575041
|
Other exit codes - show stderr to user only
|
|
575025
575042
|
This hook is observability-only and does not support blocking.`,
|
|
@@ -575122,7 +575139,7 @@ function SelectEventMode(t0) {
|
|
|
575122
575139
|
" This menu is read-only. To add or modify hooks, edit settings.json directly or ask Rayu.",
|
|
575123
575140
|
" ",
|
|
575124
575141
|
/* @__PURE__ */ jsx_runtime280.jsx(Link, {
|
|
575125
|
-
url: "https://
|
|
575142
|
+
url: "https://rayucode.com/docs",
|
|
575126
575143
|
children: "Learn more"
|
|
575127
575144
|
})
|
|
575128
575145
|
]
|
|
@@ -583032,7 +583049,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
583032
583049
|
smapsRollup,
|
|
583033
583050
|
platform: process.platform,
|
|
583034
583051
|
nodeVersion: process.version,
|
|
583035
|
-
ccVersion: "1.4.
|
|
583052
|
+
ccVersion: "1.4.470"
|
|
583036
583053
|
};
|
|
583037
583054
|
}
|
|
583038
583055
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -583554,7 +583571,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
583554
583571
|
var call50 = async () => {
|
|
583555
583572
|
return {
|
|
583556
583573
|
type: "text",
|
|
583557
|
-
value: "1.4.
|
|
583574
|
+
value: "1.4.470"
|
|
583558
583575
|
};
|
|
583559
583576
|
}, version2, version_default;
|
|
583560
583577
|
var init_version = __esm(() => {
|
|
@@ -593812,7 +593829,7 @@ function generateHtmlReport(data, insights) {
|
|
|
593812
593829
|
</html>`;
|
|
593813
593830
|
}
|
|
593814
593831
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
593815
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
593832
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
|
|
593816
593833
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
593817
593834
|
const facets_summary = {
|
|
593818
593835
|
total: facets.size,
|
|
@@ -597722,7 +597739,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
597722
597739
|
init_settings2();
|
|
597723
597740
|
init_slowOperations();
|
|
597724
597741
|
init_uuid();
|
|
597725
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
597742
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.470" : "unknown";
|
|
597726
597743
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
597727
597744
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
597728
597745
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -598940,7 +598957,7 @@ var init_filesystem = __esm(() => {
|
|
|
598940
598957
|
});
|
|
598941
598958
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
598942
598959
|
const nonce = randomBytes19(16).toString("hex");
|
|
598943
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
598960
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.470", nonce);
|
|
598944
598961
|
});
|
|
598945
598962
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
598946
598963
|
});
|
|
@@ -604110,7 +604127,7 @@ __export(exports_update, {
|
|
|
604110
604127
|
update: () => update
|
|
604111
604128
|
});
|
|
604112
604129
|
async function update() {
|
|
604113
|
-
writeToStdout(`Current version: ${"1.4.
|
|
604130
|
+
writeToStdout(`Current version: ${"1.4.470"}
|
|
604114
604131
|
`);
|
|
604115
604132
|
const isBundled = isInBundledMode();
|
|
604116
604133
|
if (isBundled) {
|
|
@@ -604141,13 +604158,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
604141
604158
|
process.exit(1);
|
|
604142
604159
|
return;
|
|
604143
604160
|
}
|
|
604144
|
-
if (latestVersion === "1.4.
|
|
604161
|
+
if (latestVersion === "1.4.470") {
|
|
604145
604162
|
writeToStdout(source_default.green(`
|
|
604146
|
-
Rayu CLI is up to date (${"1.4.
|
|
604163
|
+
Rayu CLI is up to date (${"1.4.470"})
|
|
604147
604164
|
`));
|
|
604148
604165
|
process.exit(0);
|
|
604149
604166
|
}
|
|
604150
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
604167
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.470"})
|
|
604151
604168
|
`);
|
|
604152
604169
|
writeToStdout(`Installing update...
|
|
604153
604170
|
|
|
@@ -604214,14 +604231,14 @@ async function updateNativeBinary() {
|
|
|
604214
604231
|
} catch {
|
|
604215
604232
|
latestVersion = "";
|
|
604216
604233
|
}
|
|
604217
|
-
if (latestVersion && latestVersion === "1.4.
|
|
604234
|
+
if (latestVersion && latestVersion === "1.4.470") {
|
|
604218
604235
|
writeToStdout(source_default.green(`
|
|
604219
|
-
Rayu CLI is up to date (1.4.
|
|
604236
|
+
Rayu CLI is up to date (1.4.470)
|
|
604220
604237
|
`));
|
|
604221
604238
|
process.exit(0);
|
|
604222
604239
|
}
|
|
604223
604240
|
if (latestVersion) {
|
|
604224
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
604241
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.470)
|
|
604225
604242
|
`);
|
|
604226
604243
|
}
|
|
604227
604244
|
writeToStdout(`Downloading and installing update...
|
|
@@ -604236,13 +604253,13 @@ Rayu CLI is up to date (1.4.468)
|
|
|
604236
604253
|
return;
|
|
604237
604254
|
}
|
|
604238
604255
|
writeToStdout(source_default.green(`
|
|
604239
|
-
Rayu CLI is up to date (1.4.
|
|
604256
|
+
Rayu CLI is up to date (1.4.470)
|
|
604240
604257
|
`));
|
|
604241
604258
|
process.exit(0);
|
|
604242
604259
|
}
|
|
604243
604260
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
604244
604261
|
writeToStdout(source_default.green(`
|
|
604245
|
-
Successfully updated from 1.4.
|
|
604262
|
+
Successfully updated from 1.4.470 to ${updatedTo}
|
|
604246
604263
|
`));
|
|
604247
604264
|
writeToStdout(`Restart your terminal to use the new version.
|
|
604248
604265
|
`);
|
|
@@ -604307,7 +604324,7 @@ async function removeDataDir(dir) {
|
|
|
604307
604324
|
async function uninstall(args = []) {
|
|
604308
604325
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
604309
604326
|
const keepData = args.includes("--keep-data");
|
|
604310
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
604327
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.470"})...
|
|
604311
604328
|
`);
|
|
604312
604329
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
604313
604330
|
|
|
@@ -604341,7 +604358,7 @@ This looks like a permissions error on npm's global install
|
|
|
604341
604358
|
return;
|
|
604342
604359
|
}
|
|
604343
604360
|
writeToStdout(source_default.green(`
|
|
604344
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
604361
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.470"}
|
|
604345
604362
|
`));
|
|
604346
604363
|
const configDir = getRayuConfigHomeDir();
|
|
604347
604364
|
const dataExists = existsSync28(configDir);
|
|
@@ -604424,7 +604441,7 @@ function showFirstRunWelcome() {
|
|
|
604424
604441
|
`);
|
|
604425
604442
|
try {
|
|
604426
604443
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
604427
|
-
writeFileSync18(markerPath(), "1.4.
|
|
604444
|
+
writeFileSync18(markerPath(), "1.4.470", "utf8");
|
|
604428
604445
|
} catch {}
|
|
604429
604446
|
}
|
|
604430
604447
|
var init_firstRun = __esm(() => {
|
|
@@ -620610,7 +620627,7 @@ async function initializeBetaTracing(resource) {
|
|
|
620610
620627
|
});
|
|
620611
620628
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620612
620629
|
setLoggerProvider(loggerProvider);
|
|
620613
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
620630
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.470");
|
|
620614
620631
|
setEventLogger(eventLogger);
|
|
620615
620632
|
process.on("beforeExit", async () => {
|
|
620616
620633
|
await loggerProvider?.forceFlush();
|
|
@@ -620650,7 +620667,7 @@ async function initializeTelemetry() {
|
|
|
620650
620667
|
const platform4 = getPlatform();
|
|
620651
620668
|
const baseAttributes = {
|
|
620652
620669
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
620653
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
620670
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.470"
|
|
620654
620671
|
};
|
|
620655
620672
|
if (platform4 === "wsl") {
|
|
620656
620673
|
const wslVersion = getWslVersion();
|
|
@@ -620695,7 +620712,7 @@ async function initializeTelemetry() {
|
|
|
620695
620712
|
} catch {}
|
|
620696
620713
|
};
|
|
620697
620714
|
registerCleanup(shutdownTelemetry2);
|
|
620698
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
620715
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.470");
|
|
620699
620716
|
}
|
|
620700
620717
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
620701
620718
|
resource,
|
|
@@ -620715,7 +620732,7 @@ async function initializeTelemetry() {
|
|
|
620715
620732
|
});
|
|
620716
620733
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
620717
620734
|
setLoggerProvider(loggerProvider);
|
|
620718
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
620735
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.470");
|
|
620719
620736
|
setEventLogger(eventLogger);
|
|
620720
620737
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
620721
620738
|
process.on("beforeExit", async () => {
|
|
@@ -620777,7 +620794,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
620777
620794
|
}
|
|
620778
620795
|
};
|
|
620779
620796
|
registerCleanup(shutdownTelemetry);
|
|
620780
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
620797
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.470");
|
|
620781
620798
|
}
|
|
620782
620799
|
async function flushTelemetry() {
|
|
620783
620800
|
const meterProvider = getMeterProvider();
|
|
@@ -622279,7 +622296,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
622279
622296
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
622280
622297
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
622281
622298
|
betas: getSdkBetas(),
|
|
622282
|
-
claude_code_version: "1.4.
|
|
622299
|
+
claude_code_version: "1.4.470",
|
|
622283
622300
|
output_style: outputStyle2,
|
|
622284
622301
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
622285
622302
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -638610,7 +638627,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
638610
638627
|
function getSemverPart(version3) {
|
|
638611
638628
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
638612
638629
|
}
|
|
638613
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
638630
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.470") {
|
|
638614
638631
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react216.useState(() => getSemverPart(initialVersion));
|
|
638615
638632
|
if (!updatedVersion) {
|
|
638616
638633
|
return null;
|
|
@@ -638650,7 +638667,7 @@ function AutoUpdater({
|
|
|
638650
638667
|
return;
|
|
638651
638668
|
}
|
|
638652
638669
|
if (false) {}
|
|
638653
|
-
const currentVersion = "1.4.
|
|
638670
|
+
const currentVersion = "1.4.470";
|
|
638654
638671
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
638655
638672
|
let latestVersion = await getLatestVersion(channel2);
|
|
638656
638673
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -638863,12 +638880,12 @@ function NativeAutoUpdater({
|
|
|
638863
638880
|
logEvent("tengu_native_auto_updater_start", {});
|
|
638864
638881
|
try {
|
|
638865
638882
|
const maxVersion = await getMaxVersion();
|
|
638866
|
-
if (maxVersion && gt("1.4.
|
|
638883
|
+
if (maxVersion && gt("1.4.470", maxVersion)) {
|
|
638867
638884
|
const msg = await getMaxVersionMessage();
|
|
638868
638885
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
638869
638886
|
}
|
|
638870
638887
|
const result = await installLatest(channel2);
|
|
638871
|
-
const currentVersion = "1.4.
|
|
638888
|
+
const currentVersion = "1.4.470";
|
|
638872
638889
|
const latencyMs = Date.now() - startTime2;
|
|
638873
638890
|
if (result.lockFailed) {
|
|
638874
638891
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -639005,17 +639022,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639005
639022
|
const maxVersion = await getMaxVersion();
|
|
639006
639023
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
639007
639024
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
639008
|
-
if (gte("1.4.
|
|
639009
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.
|
|
639025
|
+
if (gte("1.4.470", maxVersion)) {
|
|
639026
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.470"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
639010
639027
|
setUpdateAvailable(false);
|
|
639011
639028
|
return;
|
|
639012
639029
|
}
|
|
639013
639030
|
latest = maxVersion;
|
|
639014
639031
|
}
|
|
639015
|
-
const hasUpdate = latest && !gte("1.4.
|
|
639032
|
+
const hasUpdate = latest && !gte("1.4.470", latest) && !shouldSkipVersion(latest);
|
|
639016
639033
|
setUpdateAvailable(!!hasUpdate);
|
|
639017
639034
|
if (hasUpdate) {
|
|
639018
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
639035
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.470"} -> ${latest}`);
|
|
639019
639036
|
}
|
|
639020
639037
|
};
|
|
639021
639038
|
$3[0] = t1;
|
|
@@ -639049,7 +639066,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
639049
639066
|
wrap: "truncate",
|
|
639050
639067
|
children: [
|
|
639051
639068
|
"currentVersion: ",
|
|
639052
|
-
"1.4.
|
|
639069
|
+
"1.4.470"
|
|
639053
639070
|
]
|
|
639054
639071
|
});
|
|
639055
639072
|
$3[3] = verbose;
|
|
@@ -647213,7 +647230,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
647213
647230
|
project_dir: getOriginalCwd(),
|
|
647214
647231
|
added_dirs: addedDirs
|
|
647215
647232
|
},
|
|
647216
|
-
version: "1.4.
|
|
647233
|
+
version: "1.4.470",
|
|
647217
647234
|
output_style: {
|
|
647218
647235
|
name: outputStyleName
|
|
647219
647236
|
},
|
|
@@ -649392,7 +649409,7 @@ var init_user = __esm(() => {
|
|
|
649392
649409
|
deviceId,
|
|
649393
649410
|
sessionId: getSessionId(),
|
|
649394
649411
|
email: getEmail(),
|
|
649395
|
-
appVersion: "1.4.
|
|
649412
|
+
appVersion: "1.4.470",
|
|
649396
649413
|
platform: getHostPlatformForAnalytics(),
|
|
649397
649414
|
organizationUuid,
|
|
649398
649415
|
accountUuid,
|
|
@@ -658831,7 +658848,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
658831
658848
|
} catch {}
|
|
658832
658849
|
const data = {
|
|
658833
658850
|
trigger,
|
|
658834
|
-
version: "1.4.
|
|
658851
|
+
version: "1.4.470",
|
|
658835
658852
|
platform: process.platform,
|
|
658836
658853
|
transcript,
|
|
658837
658854
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -670798,7 +670815,7 @@ function WelcomeV2() {
|
|
|
670798
670815
|
dimColor: true,
|
|
670799
670816
|
children: [
|
|
670800
670817
|
"v",
|
|
670801
|
-
"1.4.
|
|
670818
|
+
"1.4.470"
|
|
670802
670819
|
]
|
|
670803
670820
|
})
|
|
670804
670821
|
]
|
|
@@ -671805,7 +671822,7 @@ function completeOnboarding() {
|
|
|
671805
671822
|
saveGlobalConfig((current) => ({
|
|
671806
671823
|
...current,
|
|
671807
671824
|
hasCompletedOnboarding: true,
|
|
671808
|
-
lastOnboardingVersion: "1.4.
|
|
671825
|
+
lastOnboardingVersion: "1.4.470"
|
|
671809
671826
|
}));
|
|
671810
671827
|
}
|
|
671811
671828
|
function showDialog(root2, renderer) {
|
|
@@ -676738,7 +676755,7 @@ function appendToLog(path29, message) {
|
|
|
676738
676755
|
cwd: getFsImplementation().cwd(),
|
|
676739
676756
|
userType: "external",
|
|
676740
676757
|
sessionId: getSessionId(),
|
|
676741
|
-
version: "1.4.
|
|
676758
|
+
version: "1.4.470"
|
|
676742
676759
|
};
|
|
676743
676760
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
676744
676761
|
}
|
|
@@ -680843,8 +680860,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
680843
680860
|
}
|
|
680844
680861
|
async function checkEnvLessBridgeMinVersion() {
|
|
680845
680862
|
const cfg = await getEnvLessBridgeConfig();
|
|
680846
|
-
if (cfg.min_version && lt("1.4.
|
|
680847
|
-
return `Your version of RAYU (${"1.4.
|
|
680863
|
+
if (cfg.min_version && lt("1.4.470", cfg.min_version)) {
|
|
680864
|
+
return `Your version of RAYU (${"1.4.470"}) is too old for Remote Control.
|
|
680848
680865
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
680849
680866
|
}
|
|
680850
680867
|
return null;
|
|
@@ -681317,7 +681334,7 @@ async function initBridgeCore(params) {
|
|
|
681317
681334
|
const rawApi = createBridgeApiClient({
|
|
681318
681335
|
baseUrl,
|
|
681319
681336
|
getAccessToken,
|
|
681320
|
-
runnerVersion: "1.4.
|
|
681337
|
+
runnerVersion: "1.4.470",
|
|
681321
681338
|
onDebug: logForDebugging,
|
|
681322
681339
|
onAuth401,
|
|
681323
681340
|
getTrustedDeviceToken
|
|
@@ -686672,7 +686689,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
686672
686689
|
setCwd(cwd3);
|
|
686673
686690
|
const server = new Server({
|
|
686674
686691
|
name: "claude/tengu",
|
|
686675
|
-
version: "1.4.
|
|
686692
|
+
version: "1.4.470"
|
|
686676
686693
|
}, {
|
|
686677
686694
|
capabilities: {
|
|
686678
686695
|
tools: {}
|
|
@@ -689198,7 +689215,7 @@ ${customInstructions}` : customInstructions;
|
|
|
689198
689215
|
}
|
|
689199
689216
|
}
|
|
689200
689217
|
logForDiagnosticsNoPII("info", "started", {
|
|
689201
|
-
version: "1.4.
|
|
689218
|
+
version: "1.4.470",
|
|
689202
689219
|
is_native_binary: isInBundledMode()
|
|
689203
689220
|
});
|
|
689204
689221
|
registerCleanup(async () => {
|
|
@@ -689917,7 +689934,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
689917
689934
|
pendingHookMessages
|
|
689918
689935
|
}, renderAndRun);
|
|
689919
689936
|
}
|
|
689920
|
-
}).version(`1.4.
|
|
689937
|
+
}).version(`1.4.470 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
689921
689938
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
689922
689939
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
689923
689940
|
if (canUserConfigureAdvisor()) {
|
|
@@ -690377,7 +690394,7 @@ if (false) {}
|
|
|
690377
690394
|
async function main2() {
|
|
690378
690395
|
const args = process.argv.slice(2);
|
|
690379
690396
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
690380
|
-
console.log(`${"1.4.
|
|
690397
|
+
console.log(`${"1.4.470"} (Rayu-CLI)`);
|
|
690381
690398
|
return;
|
|
690382
690399
|
}
|
|
690383
690400
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|