@rayu-dev/rayu-cli 1.4.478 → 1.4.479
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 +85 -77
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -149022,7 +149022,7 @@ var init_isEqual = __esm(() => {
|
|
|
149022
149022
|
|
|
149023
149023
|
// src/utils/userAgent.ts
|
|
149024
149024
|
function getRayuUserAgent() {
|
|
149025
|
-
return `rayu/${"1.4.
|
|
149025
|
+
return `rayu/${"1.4.479"}`;
|
|
149026
149026
|
}
|
|
149027
149027
|
var getClaudeCodeUserAgent;
|
|
149028
149028
|
var init_userAgent = __esm(() => {
|
|
@@ -149048,7 +149048,7 @@ function getUserAgent() {
|
|
|
149048
149048
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
149049
149049
|
const workload = getWorkload();
|
|
149050
149050
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
149051
|
-
return `rayu/${"1.4.
|
|
149051
|
+
return `rayu/${"1.4.479"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
149052
149052
|
}
|
|
149053
149053
|
function getMCPUserAgent() {
|
|
149054
149054
|
const parts = [];
|
|
@@ -149062,7 +149062,7 @@ function getMCPUserAgent() {
|
|
|
149062
149062
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
149063
149063
|
}
|
|
149064
149064
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
149065
|
-
return `rayu/${"1.4.
|
|
149065
|
+
return `rayu/${"1.4.479"}${suffix}`;
|
|
149066
149066
|
}
|
|
149067
149067
|
function getWebFetchUserAgent() {
|
|
149068
149068
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -205506,7 +205506,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
205506
205506
|
if (!isAttributionHeaderEnabled()) {
|
|
205507
205507
|
return "";
|
|
205508
205508
|
}
|
|
205509
|
-
const version2 = `${"1.4.
|
|
205509
|
+
const version2 = `${"1.4.479"}.${fingerprint}`;
|
|
205510
205510
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
205511
205511
|
const cch = "";
|
|
205512
205512
|
const workload = getWorkload();
|
|
@@ -259477,7 +259477,7 @@ var init_metadata = __esm(() => {
|
|
|
259477
259477
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
259478
259478
|
WHITESPACE_REGEX = /\s+/;
|
|
259479
259479
|
getVersionBase = memoize_default(() => {
|
|
259480
|
-
const match = "1.4.
|
|
259480
|
+
const match = "1.4.479".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
259481
259481
|
return match ? match[0] : undefined;
|
|
259482
259482
|
});
|
|
259483
259483
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -259516,7 +259516,7 @@ var init_metadata = __esm(() => {
|
|
|
259516
259516
|
},
|
|
259517
259517
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
259518
259518
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
259519
|
-
version: "1.4.
|
|
259519
|
+
version: "1.4.479",
|
|
259520
259520
|
versionBase: getVersionBase(),
|
|
259521
259521
|
buildTime: "",
|
|
259522
259522
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -291632,7 +291632,7 @@ function getTelemetryAttributes() {
|
|
|
291632
291632
|
attributes["session.id"] = sessionId;
|
|
291633
291633
|
}
|
|
291634
291634
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
291635
|
-
attributes["app.version"] = "1.4.
|
|
291635
|
+
attributes["app.version"] = "1.4.479";
|
|
291636
291636
|
}
|
|
291637
291637
|
const oauthAccount = getOauthAccountInfo();
|
|
291638
291638
|
if (oauthAccount) {
|
|
@@ -401989,7 +401989,7 @@ function getInstallationEnv() {
|
|
|
401989
401989
|
return;
|
|
401990
401990
|
}
|
|
401991
401991
|
function getClaudeCodeVersion() {
|
|
401992
|
-
return "1.4.
|
|
401992
|
+
return "1.4.479";
|
|
401993
401993
|
}
|
|
401994
401994
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
401995
401995
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -407227,7 +407227,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
407227
407227
|
const client3 = new Client({
|
|
407228
407228
|
name: "claude-code",
|
|
407229
407229
|
title: "RAYU",
|
|
407230
|
-
version: "1.4.
|
|
407230
|
+
version: "1.4.479",
|
|
407231
407231
|
description: "Anthropic's agentic coding tool",
|
|
407232
407232
|
websiteUrl: PRODUCT_URL
|
|
407233
407233
|
}, {
|
|
@@ -407544,7 +407544,7 @@ var init_client7 = __esm(() => {
|
|
|
407544
407544
|
const client3 = new Client({
|
|
407545
407545
|
name: "claude-code",
|
|
407546
407546
|
title: "RAYU",
|
|
407547
|
-
version: "1.4.
|
|
407547
|
+
version: "1.4.479",
|
|
407548
407548
|
description: "Anthropic's agentic coding tool",
|
|
407549
407549
|
websiteUrl: PRODUCT_URL
|
|
407550
407550
|
}, {
|
|
@@ -422363,7 +422363,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
422363
422363
|
}
|
|
422364
422364
|
function computeFingerprintFromMessages(messages) {
|
|
422365
422365
|
const firstMessageText = extractFirstMessageText(messages);
|
|
422366
|
-
return computeFingerprint(firstMessageText, "1.4.
|
|
422366
|
+
return computeFingerprint(firstMessageText, "1.4.479");
|
|
422367
422367
|
}
|
|
422368
422368
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
422369
422369
|
var init_fingerprint = () => {};
|
|
@@ -422405,7 +422405,7 @@ async function sideQuery(opts) {
|
|
|
422405
422405
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
422406
422406
|
}
|
|
422407
422407
|
const messageText = extractFirstUserMessageText(messages);
|
|
422408
|
-
const fingerprint = computeFingerprint(messageText, "1.4.
|
|
422408
|
+
const fingerprint = computeFingerprint(messageText, "1.4.479");
|
|
422409
422409
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
422410
422410
|
const systemBlocks = [
|
|
422411
422411
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -510351,12 +510351,16 @@ function coerceAskUserQuestionInput(input) {
|
|
|
510351
510351
|
const question = firstNonEmptyString(q2, ASK_Q_TEXT_KEYS);
|
|
510352
510352
|
if (question !== undefined)
|
|
510353
510353
|
q2.question = question;
|
|
510354
|
+
else
|
|
510355
|
+
delete q2.question;
|
|
510354
510356
|
let header = firstNonEmptyString(q2, ASK_Q_HEADER_KEYS);
|
|
510355
510357
|
if (header === undefined && question !== undefined) {
|
|
510356
510358
|
header = deriveAskQuestionHeader(question, ASK_USER_QUESTION_TOOL_CHIP_WIDTH);
|
|
510357
510359
|
}
|
|
510358
510360
|
if (header !== undefined)
|
|
510359
510361
|
q2.header = header;
|
|
510362
|
+
else
|
|
510363
|
+
delete q2.header;
|
|
510360
510364
|
const rawOptions = Array.isArray(q2.options) ? q2.options : Array.isArray(q2.choices) ? q2.choices : undefined;
|
|
510361
510365
|
if (Array.isArray(rawOptions)) {
|
|
510362
510366
|
q2.options = rawOptions.map((rawOpt) => {
|
|
@@ -510372,8 +510376,12 @@ function coerceAskUserQuestionInput(input) {
|
|
|
510372
510376
|
const finalDescription = description ?? label;
|
|
510373
510377
|
if (finalLabel !== undefined)
|
|
510374
510378
|
opt.label = finalLabel;
|
|
510379
|
+
else
|
|
510380
|
+
delete opt.label;
|
|
510375
510381
|
if (finalDescription !== undefined)
|
|
510376
510382
|
opt.description = finalDescription;
|
|
510383
|
+
else
|
|
510384
|
+
delete opt.description;
|
|
510377
510385
|
return opt;
|
|
510378
510386
|
});
|
|
510379
510387
|
}
|
|
@@ -513523,7 +513531,7 @@ async function hasPermissionsToUseToolInner(tool, input, context) {
|
|
|
513523
513531
|
throw new AbortError;
|
|
513524
513532
|
}
|
|
513525
513533
|
let appState = context.getAppState();
|
|
513526
|
-
if (appState.toolPermissionContext.mode === "fullManage") {
|
|
513534
|
+
if (appState.toolPermissionContext.mode === "fullManage" && !tool.requiresUserInteraction?.()) {
|
|
513527
513535
|
return {
|
|
513528
513536
|
behavior: "allow",
|
|
513529
513537
|
updatedInput: input,
|
|
@@ -521920,9 +521928,9 @@ async function assertMinVersion() {
|
|
|
521920
521928
|
if (false) {}
|
|
521921
521929
|
try {
|
|
521922
521930
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521923
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521931
|
+
if (versionConfig.minVersion && lt("1.4.479", versionConfig.minVersion)) {
|
|
521924
521932
|
console.error(`
|
|
521925
|
-
It looks like your version of RAYU (${"1.4.
|
|
521933
|
+
It looks like your version of RAYU (${"1.4.479"}) needs an update.
|
|
521926
521934
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521927
521935
|
|
|
521928
521936
|
To update, please run:
|
|
@@ -522148,7 +522156,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522148
522156
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
522149
522157
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
522150
522158
|
pid: process.pid,
|
|
522151
|
-
currentVersion: "1.4.
|
|
522159
|
+
currentVersion: "1.4.479"
|
|
522152
522160
|
});
|
|
522153
522161
|
return "in_progress";
|
|
522154
522162
|
}
|
|
@@ -522157,7 +522165,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522157
522165
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
522158
522166
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
522159
522167
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
522160
|
-
currentVersion: "1.4.
|
|
522168
|
+
currentVersion: "1.4.479"
|
|
522161
522169
|
});
|
|
522162
522170
|
console.error(`
|
|
522163
522171
|
Error: Windows NPM detected in WSL
|
|
@@ -522685,7 +522693,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522685
522693
|
}
|
|
522686
522694
|
async function getDoctorDiagnostic() {
|
|
522687
522695
|
const installationType = await getCurrentInstallationType();
|
|
522688
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522696
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
522689
522697
|
const installationPath = await getInstallationPath();
|
|
522690
522698
|
const invokedBinary = getInvokedBinary();
|
|
522691
522699
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523476,8 +523484,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523476
523484
|
const maxVersion = await getMaxVersion();
|
|
523477
523485
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523478
523486
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523479
|
-
if (gte("1.4.
|
|
523480
|
-
logForDebugging(`Native installer: current version ${"1.4.
|
|
523487
|
+
if (gte("1.4.479", maxVersion)) {
|
|
523488
|
+
logForDebugging(`Native installer: current version ${"1.4.479"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
523481
523489
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523482
523490
|
latency_ms: Date.now() - startTime2,
|
|
523483
523491
|
max_version: maxVersion,
|
|
@@ -523488,7 +523496,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523488
523496
|
version2 = maxVersion;
|
|
523489
523497
|
}
|
|
523490
523498
|
}
|
|
523491
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523499
|
+
if (!forceReinstall && version2 === "1.4.479" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523492
523500
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523493
523501
|
logEvent("tengu_native_update_complete", {
|
|
523494
523502
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524696,7 +524704,7 @@ function buildPrimarySection() {
|
|
|
524696
524704
|
});
|
|
524697
524705
|
return [{
|
|
524698
524706
|
label: "Version",
|
|
524699
|
-
value: "1.4.
|
|
524707
|
+
value: "1.4.479"
|
|
524700
524708
|
}, {
|
|
524701
524709
|
label: "Session name",
|
|
524702
524710
|
value: nameValue
|
|
@@ -528367,7 +528375,7 @@ function Config({
|
|
|
528367
528375
|
}
|
|
528368
528376
|
})
|
|
528369
528377
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
528370
|
-
currentVersion: "1.4.
|
|
528378
|
+
currentVersion: "1.4.479",
|
|
528371
528379
|
onChoice: (choice) => {
|
|
528372
528380
|
setShowSubmenu(null);
|
|
528373
528381
|
setTabsHidden(false);
|
|
@@ -528379,7 +528387,7 @@ function Config({
|
|
|
528379
528387
|
autoUpdatesChannel: "stable"
|
|
528380
528388
|
};
|
|
528381
528389
|
if (choice === "stay") {
|
|
528382
|
-
newSettings.minimumVersion = "1.4.
|
|
528390
|
+
newSettings.minimumVersion = "1.4.479";
|
|
528383
528391
|
}
|
|
528384
528392
|
updateSettingsForSource("userSettings", newSettings);
|
|
528385
528393
|
setSettingsData((prev_27) => ({
|
|
@@ -536440,7 +536448,7 @@ function HelpV2(t0) {
|
|
|
536440
536448
|
let t6;
|
|
536441
536449
|
if ($3[31] !== tabs) {
|
|
536442
536450
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
536443
|
-
title: `Rayu-CLI v${"1.4.
|
|
536451
|
+
title: `Rayu-CLI v${"1.4.479"}`,
|
|
536444
536452
|
color: "professionalBlue",
|
|
536445
536453
|
defaultTab: "general",
|
|
536446
536454
|
children: tabs
|
|
@@ -557018,7 +557026,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
557018
557026
|
}
|
|
557019
557027
|
return [];
|
|
557020
557028
|
}
|
|
557021
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
557029
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.479") {
|
|
557022
557030
|
if (false) {}
|
|
557023
557031
|
const cachedChangelog = await getStoredChangelog();
|
|
557024
557032
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -557031,7 +557039,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.478")
|
|
|
557031
557039
|
releaseNotes
|
|
557032
557040
|
};
|
|
557033
557041
|
}
|
|
557034
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
557042
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.479") {
|
|
557035
557043
|
if (false) {}
|
|
557036
557044
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
557037
557045
|
return {
|
|
@@ -557159,7 +557167,7 @@ function getRecentActivitySync() {
|
|
|
557159
557167
|
return cachedActivity;
|
|
557160
557168
|
}
|
|
557161
557169
|
function getLogoDisplayData() {
|
|
557162
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
557170
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.479";
|
|
557163
557171
|
const serverUrl = getDirectConnectServerUrl();
|
|
557164
557172
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
557165
557173
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -558324,7 +558332,7 @@ function LogoV2() {
|
|
|
558324
558332
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
558325
558333
|
t2 = () => {
|
|
558326
558334
|
const currentConfig = getGlobalConfig();
|
|
558327
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
558335
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.479") {
|
|
558328
558336
|
return;
|
|
558329
558337
|
}
|
|
558330
558338
|
saveGlobalConfig(_temp327);
|
|
@@ -558803,7 +558811,7 @@ function LogoV2() {
|
|
|
558803
558811
|
t24 = $3[61];
|
|
558804
558812
|
}
|
|
558805
558813
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
558806
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
558814
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.479") ? [createUpdateAvailableFeed("1.4.479", _latestNpm)] : [];
|
|
558807
558815
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
558808
558816
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
558809
558817
|
maxWidth: rightWidth
|
|
@@ -559003,12 +559011,12 @@ function LogoV2() {
|
|
|
559003
559011
|
return t41;
|
|
559004
559012
|
}
|
|
559005
559013
|
function _temp327(current) {
|
|
559006
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
559014
|
+
if (current.lastReleaseNotesSeen === "1.4.479") {
|
|
559007
559015
|
return current;
|
|
559008
559016
|
}
|
|
559009
559017
|
return {
|
|
559010
559018
|
...current,
|
|
559011
|
-
lastReleaseNotesSeen: "1.4.
|
|
559019
|
+
lastReleaseNotesSeen: "1.4.479"
|
|
559012
559020
|
};
|
|
559013
559021
|
}
|
|
559014
559022
|
function _temp241(s_0) {
|
|
@@ -584007,7 +584015,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
584007
584015
|
smapsRollup,
|
|
584008
584016
|
platform: process.platform,
|
|
584009
584017
|
nodeVersion: process.version,
|
|
584010
|
-
ccVersion: "1.4.
|
|
584018
|
+
ccVersion: "1.4.479"
|
|
584011
584019
|
};
|
|
584012
584020
|
}
|
|
584013
584021
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -584529,7 +584537,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
584529
584537
|
var call50 = async () => {
|
|
584530
584538
|
return {
|
|
584531
584539
|
type: "text",
|
|
584532
|
-
value: "1.4.
|
|
584540
|
+
value: "1.4.479"
|
|
584533
584541
|
};
|
|
584534
584542
|
}, version2, version_default;
|
|
584535
584543
|
var init_version = __esm(() => {
|
|
@@ -595025,7 +595033,7 @@ function generateHtmlReport(data, insights) {
|
|
|
595025
595033
|
</html>`;
|
|
595026
595034
|
}
|
|
595027
595035
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
595028
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
595036
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
595029
595037
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
595030
595038
|
const facets_summary = {
|
|
595031
595039
|
total: facets.size,
|
|
@@ -598939,7 +598947,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
598939
598947
|
init_settings2();
|
|
598940
598948
|
init_slowOperations();
|
|
598941
598949
|
init_uuid();
|
|
598942
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
598950
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
598943
598951
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
598944
598952
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
598945
598953
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -600157,7 +600165,7 @@ var init_filesystem = __esm(() => {
|
|
|
600157
600165
|
});
|
|
600158
600166
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
600159
600167
|
const nonce = randomBytes19(16).toString("hex");
|
|
600160
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
600168
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.479", nonce);
|
|
600161
600169
|
});
|
|
600162
600170
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
600163
600171
|
});
|
|
@@ -605327,7 +605335,7 @@ __export(exports_update, {
|
|
|
605327
605335
|
update: () => update
|
|
605328
605336
|
});
|
|
605329
605337
|
async function update() {
|
|
605330
|
-
writeToStdout(`Current version: ${"1.4.
|
|
605338
|
+
writeToStdout(`Current version: ${"1.4.479"}
|
|
605331
605339
|
`);
|
|
605332
605340
|
const isBundled = isInBundledMode();
|
|
605333
605341
|
if (isBundled) {
|
|
@@ -605358,13 +605366,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
605358
605366
|
process.exit(1);
|
|
605359
605367
|
return;
|
|
605360
605368
|
}
|
|
605361
|
-
if (latestVersion === "1.4.
|
|
605369
|
+
if (latestVersion === "1.4.479") {
|
|
605362
605370
|
writeToStdout(source_default.green(`
|
|
605363
|
-
Rayu CLI is up to date (${"1.4.
|
|
605371
|
+
Rayu CLI is up to date (${"1.4.479"})
|
|
605364
605372
|
`));
|
|
605365
605373
|
process.exit(0);
|
|
605366
605374
|
}
|
|
605367
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
605375
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.479"})
|
|
605368
605376
|
`);
|
|
605369
605377
|
writeToStdout(`Installing update...
|
|
605370
605378
|
|
|
@@ -605431,14 +605439,14 @@ async function updateNativeBinary() {
|
|
|
605431
605439
|
} catch {
|
|
605432
605440
|
latestVersion = "";
|
|
605433
605441
|
}
|
|
605434
|
-
if (latestVersion && latestVersion === "1.4.
|
|
605442
|
+
if (latestVersion && latestVersion === "1.4.479") {
|
|
605435
605443
|
writeToStdout(source_default.green(`
|
|
605436
|
-
Rayu CLI is up to date (1.4.
|
|
605444
|
+
Rayu CLI is up to date (1.4.479)
|
|
605437
605445
|
`));
|
|
605438
605446
|
process.exit(0);
|
|
605439
605447
|
}
|
|
605440
605448
|
if (latestVersion) {
|
|
605441
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
605449
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.479)
|
|
605442
605450
|
`);
|
|
605443
605451
|
}
|
|
605444
605452
|
writeToStdout(`Downloading and installing update...
|
|
@@ -605453,13 +605461,13 @@ Rayu CLI is up to date (1.4.478)
|
|
|
605453
605461
|
return;
|
|
605454
605462
|
}
|
|
605455
605463
|
writeToStdout(source_default.green(`
|
|
605456
|
-
Rayu CLI is up to date (1.4.
|
|
605464
|
+
Rayu CLI is up to date (1.4.479)
|
|
605457
605465
|
`));
|
|
605458
605466
|
process.exit(0);
|
|
605459
605467
|
}
|
|
605460
605468
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
605461
605469
|
writeToStdout(source_default.green(`
|
|
605462
|
-
Successfully updated from 1.4.
|
|
605470
|
+
Successfully updated from 1.4.479 to ${updatedTo}
|
|
605463
605471
|
`));
|
|
605464
605472
|
writeToStdout(`Restart your terminal to use the new version.
|
|
605465
605473
|
`);
|
|
@@ -605524,7 +605532,7 @@ async function removeDataDir(dir) {
|
|
|
605524
605532
|
async function uninstall(args = []) {
|
|
605525
605533
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
605526
605534
|
const keepData = args.includes("--keep-data");
|
|
605527
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
605535
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.479"})...
|
|
605528
605536
|
`);
|
|
605529
605537
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
605530
605538
|
|
|
@@ -605558,7 +605566,7 @@ This looks like a permissions error on npm's global install
|
|
|
605558
605566
|
return;
|
|
605559
605567
|
}
|
|
605560
605568
|
writeToStdout(source_default.green(`
|
|
605561
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
605569
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.479"}
|
|
605562
605570
|
`));
|
|
605563
605571
|
const configDir = getRayuConfigHomeDir();
|
|
605564
605572
|
const dataExists = existsSync28(configDir);
|
|
@@ -605641,7 +605649,7 @@ function showFirstRunWelcome() {
|
|
|
605641
605649
|
`);
|
|
605642
605650
|
try {
|
|
605643
605651
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
605644
|
-
writeFileSync18(markerPath(), "1.4.
|
|
605652
|
+
writeFileSync18(markerPath(), "1.4.479", "utf8");
|
|
605645
605653
|
} catch {}
|
|
605646
605654
|
}
|
|
605647
605655
|
var init_firstRun = __esm(() => {
|
|
@@ -621827,7 +621835,7 @@ async function initializeBetaTracing(resource) {
|
|
|
621827
621835
|
});
|
|
621828
621836
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
621829
621837
|
setLoggerProvider(loggerProvider);
|
|
621830
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
621838
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.479");
|
|
621831
621839
|
setEventLogger(eventLogger);
|
|
621832
621840
|
process.on("beforeExit", async () => {
|
|
621833
621841
|
await loggerProvider?.forceFlush();
|
|
@@ -621867,7 +621875,7 @@ async function initializeTelemetry() {
|
|
|
621867
621875
|
const platform4 = getPlatform();
|
|
621868
621876
|
const baseAttributes = {
|
|
621869
621877
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
621870
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
621878
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.479"
|
|
621871
621879
|
};
|
|
621872
621880
|
if (platform4 === "wsl") {
|
|
621873
621881
|
const wslVersion = getWslVersion();
|
|
@@ -621912,7 +621920,7 @@ async function initializeTelemetry() {
|
|
|
621912
621920
|
} catch {}
|
|
621913
621921
|
};
|
|
621914
621922
|
registerCleanup(shutdownTelemetry2);
|
|
621915
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
621923
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.479");
|
|
621916
621924
|
}
|
|
621917
621925
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
621918
621926
|
resource,
|
|
@@ -621932,7 +621940,7 @@ async function initializeTelemetry() {
|
|
|
621932
621940
|
});
|
|
621933
621941
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
621934
621942
|
setLoggerProvider(loggerProvider);
|
|
621935
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.
|
|
621943
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.4.479");
|
|
621936
621944
|
setEventLogger(eventLogger);
|
|
621937
621945
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
621938
621946
|
process.on("beforeExit", async () => {
|
|
@@ -621994,7 +622002,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
621994
622002
|
}
|
|
621995
622003
|
};
|
|
621996
622004
|
registerCleanup(shutdownTelemetry);
|
|
621997
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
622005
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.479");
|
|
621998
622006
|
}
|
|
621999
622007
|
async function flushTelemetry() {
|
|
622000
622008
|
const meterProvider = getMeterProvider();
|
|
@@ -623496,7 +623504,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
623496
623504
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
623497
623505
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
623498
623506
|
betas: getSdkBetas(),
|
|
623499
|
-
claude_code_version: "1.4.
|
|
623507
|
+
claude_code_version: "1.4.479",
|
|
623500
623508
|
output_style: outputStyle2,
|
|
623501
623509
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
623502
623510
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -639870,7 +639878,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
639870
639878
|
function getSemverPart(version3) {
|
|
639871
639879
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
639872
639880
|
}
|
|
639873
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
639881
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.479") {
|
|
639874
639882
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
639875
639883
|
if (!updatedVersion) {
|
|
639876
639884
|
return null;
|
|
@@ -639910,7 +639918,7 @@ function AutoUpdater({
|
|
|
639910
639918
|
return;
|
|
639911
639919
|
}
|
|
639912
639920
|
if (false) {}
|
|
639913
|
-
const currentVersion = "1.4.
|
|
639921
|
+
const currentVersion = "1.4.479";
|
|
639914
639922
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
639915
639923
|
let latestVersion = await getLatestVersion(channel2);
|
|
639916
639924
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -640123,12 +640131,12 @@ function NativeAutoUpdater({
|
|
|
640123
640131
|
logEvent("tengu_native_auto_updater_start", {});
|
|
640124
640132
|
try {
|
|
640125
640133
|
const maxVersion = await getMaxVersion();
|
|
640126
|
-
if (maxVersion && gt("1.4.
|
|
640134
|
+
if (maxVersion && gt("1.4.479", maxVersion)) {
|
|
640127
640135
|
const msg = await getMaxVersionMessage();
|
|
640128
640136
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
640129
640137
|
}
|
|
640130
640138
|
const result = await installLatest(channel2);
|
|
640131
|
-
const currentVersion = "1.4.
|
|
640139
|
+
const currentVersion = "1.4.479";
|
|
640132
640140
|
const latencyMs = Date.now() - startTime2;
|
|
640133
640141
|
if (result.lockFailed) {
|
|
640134
640142
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -640265,17 +640273,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640265
640273
|
const maxVersion = await getMaxVersion();
|
|
640266
640274
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
640267
640275
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
640268
|
-
if (gte("1.4.
|
|
640269
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.
|
|
640276
|
+
if (gte("1.4.479", maxVersion)) {
|
|
640277
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.4.479"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
640270
640278
|
setUpdateAvailable(false);
|
|
640271
640279
|
return;
|
|
640272
640280
|
}
|
|
640273
640281
|
latest = maxVersion;
|
|
640274
640282
|
}
|
|
640275
|
-
const hasUpdate = latest && !gte("1.4.
|
|
640283
|
+
const hasUpdate = latest && !gte("1.4.479", latest) && !shouldSkipVersion(latest);
|
|
640276
640284
|
setUpdateAvailable(!!hasUpdate);
|
|
640277
640285
|
if (hasUpdate) {
|
|
640278
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
640286
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.479"} -> ${latest}`);
|
|
640279
640287
|
}
|
|
640280
640288
|
};
|
|
640281
640289
|
$3[0] = t1;
|
|
@@ -640309,7 +640317,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640309
640317
|
wrap: "truncate",
|
|
640310
640318
|
children: [
|
|
640311
640319
|
"currentVersion: ",
|
|
640312
|
-
"1.4.
|
|
640320
|
+
"1.4.479"
|
|
640313
640321
|
]
|
|
640314
640322
|
});
|
|
640315
640323
|
$3[3] = verbose;
|
|
@@ -648473,7 +648481,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
648473
648481
|
project_dir: getOriginalCwd(),
|
|
648474
648482
|
added_dirs: addedDirs
|
|
648475
648483
|
},
|
|
648476
|
-
version: "1.4.
|
|
648484
|
+
version: "1.4.479",
|
|
648477
648485
|
output_style: {
|
|
648478
648486
|
name: outputStyleName
|
|
648479
648487
|
},
|
|
@@ -650652,7 +650660,7 @@ var init_user = __esm(() => {
|
|
|
650652
650660
|
deviceId,
|
|
650653
650661
|
sessionId: getSessionId(),
|
|
650654
650662
|
email: getEmail(),
|
|
650655
|
-
appVersion: "1.4.
|
|
650663
|
+
appVersion: "1.4.479",
|
|
650656
650664
|
platform: getHostPlatformForAnalytics(),
|
|
650657
650665
|
organizationUuid,
|
|
650658
650666
|
accountUuid,
|
|
@@ -660091,7 +660099,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
660091
660099
|
} catch {}
|
|
660092
660100
|
const data = {
|
|
660093
660101
|
trigger,
|
|
660094
|
-
version: "1.4.
|
|
660102
|
+
version: "1.4.479",
|
|
660095
660103
|
platform: process.platform,
|
|
660096
660104
|
transcript,
|
|
660097
660105
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -672060,7 +672068,7 @@ function WelcomeV2() {
|
|
|
672060
672068
|
dimColor: true,
|
|
672061
672069
|
children: [
|
|
672062
672070
|
"v",
|
|
672063
|
-
"1.4.
|
|
672071
|
+
"1.4.479"
|
|
672064
672072
|
]
|
|
672065
672073
|
})
|
|
672066
672074
|
]
|
|
@@ -673067,7 +673075,7 @@ function completeOnboarding() {
|
|
|
673067
673075
|
saveGlobalConfig((current) => ({
|
|
673068
673076
|
...current,
|
|
673069
673077
|
hasCompletedOnboarding: true,
|
|
673070
|
-
lastOnboardingVersion: "1.4.
|
|
673078
|
+
lastOnboardingVersion: "1.4.479"
|
|
673071
673079
|
}));
|
|
673072
673080
|
}
|
|
673073
673081
|
function showDialog(root2, renderer) {
|
|
@@ -678000,7 +678008,7 @@ function appendToLog(path29, message) {
|
|
|
678000
678008
|
cwd: getFsImplementation().cwd(),
|
|
678001
678009
|
userType: "external",
|
|
678002
678010
|
sessionId: getSessionId(),
|
|
678003
|
-
version: "1.4.
|
|
678011
|
+
version: "1.4.479"
|
|
678004
678012
|
};
|
|
678005
678013
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
678006
678014
|
}
|
|
@@ -682105,8 +682113,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
682105
682113
|
}
|
|
682106
682114
|
async function checkEnvLessBridgeMinVersion() {
|
|
682107
682115
|
const cfg = await getEnvLessBridgeConfig();
|
|
682108
|
-
if (cfg.min_version && lt("1.4.
|
|
682109
|
-
return `Your version of RAYU (${"1.4.
|
|
682116
|
+
if (cfg.min_version && lt("1.4.479", cfg.min_version)) {
|
|
682117
|
+
return `Your version of RAYU (${"1.4.479"}) is too old for Remote Control.
|
|
682110
682118
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
682111
682119
|
}
|
|
682112
682120
|
return null;
|
|
@@ -682579,7 +682587,7 @@ async function initBridgeCore(params) {
|
|
|
682579
682587
|
const rawApi = createBridgeApiClient({
|
|
682580
682588
|
baseUrl,
|
|
682581
682589
|
getAccessToken,
|
|
682582
|
-
runnerVersion: "1.4.
|
|
682590
|
+
runnerVersion: "1.4.479",
|
|
682583
682591
|
onDebug: logForDebugging,
|
|
682584
682592
|
onAuth401,
|
|
682585
682593
|
getTrustedDeviceToken
|
|
@@ -687934,7 +687942,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
687934
687942
|
setCwd(cwd3);
|
|
687935
687943
|
const server = new Server({
|
|
687936
687944
|
name: "claude/tengu",
|
|
687937
|
-
version: "1.4.
|
|
687945
|
+
version: "1.4.479"
|
|
687938
687946
|
}, {
|
|
687939
687947
|
capabilities: {
|
|
687940
687948
|
tools: {}
|
|
@@ -690463,7 +690471,7 @@ ${customInstructions}` : customInstructions;
|
|
|
690463
690471
|
}
|
|
690464
690472
|
}
|
|
690465
690473
|
logForDiagnosticsNoPII("info", "started", {
|
|
690466
|
-
version: "1.4.
|
|
690474
|
+
version: "1.4.479",
|
|
690467
690475
|
is_native_binary: isInBundledMode()
|
|
690468
690476
|
});
|
|
690469
690477
|
registerCleanup(async () => {
|
|
@@ -691182,7 +691190,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
691182
691190
|
pendingHookMessages
|
|
691183
691191
|
}, renderAndRun);
|
|
691184
691192
|
}
|
|
691185
|
-
}).version(`1.4.
|
|
691193
|
+
}).version(`1.4.479 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
691186
691194
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
691187
691195
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
691188
691196
|
if (canUserConfigureAdvisor()) {
|
|
@@ -691642,7 +691650,7 @@ if (false) {}
|
|
|
691642
691650
|
async function main2() {
|
|
691643
691651
|
const args = process.argv.slice(2);
|
|
691644
691652
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
691645
|
-
console.log(`${"1.4.
|
|
691653
|
+
console.log(`${"1.4.479"} (Rayu-CLI)`);
|
|
691646
691654
|
return;
|
|
691647
691655
|
}
|
|
691648
691656
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|