@rayu-dev/rayu-cli 1.4.477 → 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 +170 -78
- package/package.json +1 -1
- package/scripts/postinstall.cjs +3 -3
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,
|
|
@@ -510321,6 +510321,74 @@ async function logContextMetrics(mcpConfigs, toolPermissionContext) {
|
|
|
510321
510321
|
non_mcp_tools_tokens: nonMcpToolsTokens
|
|
510322
510322
|
});
|
|
510323
510323
|
}
|
|
510324
|
+
function firstNonEmptyString(o2, keys2) {
|
|
510325
|
+
for (const k2 of keys2) {
|
|
510326
|
+
const v2 = o2[k2];
|
|
510327
|
+
if (typeof v2 === "string" && v2.trim().length > 0)
|
|
510328
|
+
return v2;
|
|
510329
|
+
}
|
|
510330
|
+
return;
|
|
510331
|
+
}
|
|
510332
|
+
function deriveAskQuestionHeader(question, maxWidth) {
|
|
510333
|
+
const cleaned = question.replace(/[?.!\s]+$/g, "").trim();
|
|
510334
|
+
if (cleaned.length <= maxWidth)
|
|
510335
|
+
return cleaned || "Question";
|
|
510336
|
+
let out = "";
|
|
510337
|
+
for (const word of cleaned.split(/\s+/)) {
|
|
510338
|
+
if ((out ? out.length + 1 : 0) + word.length > maxWidth)
|
|
510339
|
+
break;
|
|
510340
|
+
out = out ? `${out} ${word}` : word;
|
|
510341
|
+
}
|
|
510342
|
+
return out || cleaned.slice(0, maxWidth);
|
|
510343
|
+
}
|
|
510344
|
+
function coerceAskUserQuestionInput(input) {
|
|
510345
|
+
if (!Array.isArray(input.questions))
|
|
510346
|
+
return input;
|
|
510347
|
+
const questions = input.questions.map((rawQ) => {
|
|
510348
|
+
const q2 = typeof rawQ === "string" ? { question: rawQ } : rawQ && typeof rawQ === "object" ? { ...rawQ } : rawQ;
|
|
510349
|
+
if (!q2 || typeof q2 !== "object")
|
|
510350
|
+
return rawQ;
|
|
510351
|
+
const question = firstNonEmptyString(q2, ASK_Q_TEXT_KEYS);
|
|
510352
|
+
if (question !== undefined)
|
|
510353
|
+
q2.question = question;
|
|
510354
|
+
else
|
|
510355
|
+
delete q2.question;
|
|
510356
|
+
let header = firstNonEmptyString(q2, ASK_Q_HEADER_KEYS);
|
|
510357
|
+
if (header === undefined && question !== undefined) {
|
|
510358
|
+
header = deriveAskQuestionHeader(question, ASK_USER_QUESTION_TOOL_CHIP_WIDTH);
|
|
510359
|
+
}
|
|
510360
|
+
if (header !== undefined)
|
|
510361
|
+
q2.header = header;
|
|
510362
|
+
else
|
|
510363
|
+
delete q2.header;
|
|
510364
|
+
const rawOptions = Array.isArray(q2.options) ? q2.options : Array.isArray(q2.choices) ? q2.choices : undefined;
|
|
510365
|
+
if (Array.isArray(rawOptions)) {
|
|
510366
|
+
q2.options = rawOptions.map((rawOpt) => {
|
|
510367
|
+
if (typeof rawOpt === "string") {
|
|
510368
|
+
return { label: rawOpt, description: rawOpt };
|
|
510369
|
+
}
|
|
510370
|
+
if (!rawOpt || typeof rawOpt !== "object")
|
|
510371
|
+
return rawOpt;
|
|
510372
|
+
const opt = { ...rawOpt };
|
|
510373
|
+
const label = firstNonEmptyString(opt, ASK_OPT_LABEL_KEYS);
|
|
510374
|
+
const description = firstNonEmptyString(opt, ASK_OPT_DESC_KEYS);
|
|
510375
|
+
const finalLabel = label ?? description;
|
|
510376
|
+
const finalDescription = description ?? label;
|
|
510377
|
+
if (finalLabel !== undefined)
|
|
510378
|
+
opt.label = finalLabel;
|
|
510379
|
+
else
|
|
510380
|
+
delete opt.label;
|
|
510381
|
+
if (finalDescription !== undefined)
|
|
510382
|
+
opt.description = finalDescription;
|
|
510383
|
+
else
|
|
510384
|
+
delete opt.description;
|
|
510385
|
+
return opt;
|
|
510386
|
+
});
|
|
510387
|
+
}
|
|
510388
|
+
return q2;
|
|
510389
|
+
});
|
|
510390
|
+
return { ...input, questions };
|
|
510391
|
+
}
|
|
510324
510392
|
function normalizeToolInput(tool, input, agentId) {
|
|
510325
510393
|
switch (tool.name) {
|
|
510326
510394
|
case EXIT_PLAN_MODE_V2_TOOL_NAME: {
|
|
@@ -510390,6 +510458,9 @@ function normalizeToolInput(tool, input, agentId) {
|
|
|
510390
510458
|
timeout: timeout ?? 30000
|
|
510391
510459
|
};
|
|
510392
510460
|
}
|
|
510461
|
+
case ASK_USER_QUESTION_TOOL_NAME: {
|
|
510462
|
+
return coerceAskUserQuestionInput(input);
|
|
510463
|
+
}
|
|
510393
510464
|
default:
|
|
510394
510465
|
return input;
|
|
510395
510466
|
}
|
|
@@ -510414,7 +510485,7 @@ function normalizeToolInputForAPI(tool, input) {
|
|
|
510414
510485
|
return input;
|
|
510415
510486
|
}
|
|
510416
510487
|
}
|
|
510417
|
-
var SWARM_FIELDS_BY_TOOL, loggedStrip = false;
|
|
510488
|
+
var SWARM_FIELDS_BY_TOOL, loggedStrip = false, ASK_Q_TEXT_KEYS, ASK_Q_HEADER_KEYS, ASK_OPT_LABEL_KEYS, ASK_OPT_DESC_KEYS;
|
|
510418
510489
|
var init_api3 = __esm(() => {
|
|
510419
510490
|
init_prompts3();
|
|
510420
510491
|
init_context2();
|
|
@@ -510429,6 +510500,7 @@ var init_api3 = __esm(() => {
|
|
|
510429
510500
|
init_system();
|
|
510430
510501
|
init_tokenEstimation();
|
|
510431
510502
|
init_constants2();
|
|
510503
|
+
init_prompt7();
|
|
510432
510504
|
init_agentSwarmsEnabled();
|
|
510433
510505
|
init_betas2();
|
|
510434
510506
|
init_cwd();
|
|
@@ -510448,6 +510520,26 @@ var init_api3 = __esm(() => {
|
|
|
510448
510520
|
[EXIT_PLAN_MODE_V2_TOOL_NAME]: ["launchSwarm", "teammateCount"],
|
|
510449
510521
|
[AGENT_TOOL_NAME]: ["name", "team_name", "mode"]
|
|
510450
510522
|
};
|
|
510523
|
+
ASK_Q_TEXT_KEYS = ["question", "q", "prompt", "query", "text", "title"];
|
|
510524
|
+
ASK_Q_HEADER_KEYS = ["header", "label", "tag", "category", "topic", "title"];
|
|
510525
|
+
ASK_OPT_LABEL_KEYS = [
|
|
510526
|
+
"label",
|
|
510527
|
+
"title",
|
|
510528
|
+
"text",
|
|
510529
|
+
"name",
|
|
510530
|
+
"value",
|
|
510531
|
+
"option",
|
|
510532
|
+
"choice"
|
|
510533
|
+
];
|
|
510534
|
+
ASK_OPT_DESC_KEYS = [
|
|
510535
|
+
"description",
|
|
510536
|
+
"desc",
|
|
510537
|
+
"detail",
|
|
510538
|
+
"details",
|
|
510539
|
+
"explanation",
|
|
510540
|
+
"subtitle",
|
|
510541
|
+
"summary"
|
|
510542
|
+
];
|
|
510451
510543
|
});
|
|
510452
510544
|
|
|
510453
510545
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -513439,7 +513531,7 @@ async function hasPermissionsToUseToolInner(tool, input, context) {
|
|
|
513439
513531
|
throw new AbortError;
|
|
513440
513532
|
}
|
|
513441
513533
|
let appState = context.getAppState();
|
|
513442
|
-
if (appState.toolPermissionContext.mode === "fullManage") {
|
|
513534
|
+
if (appState.toolPermissionContext.mode === "fullManage" && !tool.requiresUserInteraction?.()) {
|
|
513443
513535
|
return {
|
|
513444
513536
|
behavior: "allow",
|
|
513445
513537
|
updatedInput: input,
|
|
@@ -521836,9 +521928,9 @@ async function assertMinVersion() {
|
|
|
521836
521928
|
if (false) {}
|
|
521837
521929
|
try {
|
|
521838
521930
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
521839
|
-
if (versionConfig.minVersion && lt("1.4.
|
|
521931
|
+
if (versionConfig.minVersion && lt("1.4.479", versionConfig.minVersion)) {
|
|
521840
521932
|
console.error(`
|
|
521841
|
-
It looks like your version of RAYU (${"1.4.
|
|
521933
|
+
It looks like your version of RAYU (${"1.4.479"}) needs an update.
|
|
521842
521934
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
521843
521935
|
|
|
521844
521936
|
To update, please run:
|
|
@@ -522064,7 +522156,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522064
522156
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
522065
522157
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
522066
522158
|
pid: process.pid,
|
|
522067
|
-
currentVersion: "1.4.
|
|
522159
|
+
currentVersion: "1.4.479"
|
|
522068
522160
|
});
|
|
522069
522161
|
return "in_progress";
|
|
522070
522162
|
}
|
|
@@ -522073,7 +522165,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
522073
522165
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
522074
522166
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
522075
522167
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
522076
|
-
currentVersion: "1.4.
|
|
522168
|
+
currentVersion: "1.4.479"
|
|
522077
522169
|
});
|
|
522078
522170
|
console.error(`
|
|
522079
522171
|
Error: Windows NPM detected in WSL
|
|
@@ -522601,7 +522693,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
522601
522693
|
}
|
|
522602
522694
|
async function getDoctorDiagnostic() {
|
|
522603
522695
|
const installationType = await getCurrentInstallationType();
|
|
522604
|
-
const version2 = typeof MACRO !== "undefined" ? "1.4.
|
|
522696
|
+
const version2 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
522605
522697
|
const installationPath = await getInstallationPath();
|
|
522606
522698
|
const invokedBinary = getInvokedBinary();
|
|
522607
522699
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -523392,8 +523484,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523392
523484
|
const maxVersion = await getMaxVersion();
|
|
523393
523485
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
523394
523486
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
523395
|
-
if (gte("1.4.
|
|
523396
|
-
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`);
|
|
523397
523489
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
523398
523490
|
latency_ms: Date.now() - startTime2,
|
|
523399
523491
|
max_version: maxVersion,
|
|
@@ -523404,7 +523496,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
523404
523496
|
version2 = maxVersion;
|
|
523405
523497
|
}
|
|
523406
523498
|
}
|
|
523407
|
-
if (!forceReinstall && version2 === "1.4.
|
|
523499
|
+
if (!forceReinstall && version2 === "1.4.479" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
523408
523500
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
523409
523501
|
logEvent("tengu_native_update_complete", {
|
|
523410
523502
|
latency_ms: Date.now() - startTime2,
|
|
@@ -524612,7 +524704,7 @@ function buildPrimarySection() {
|
|
|
524612
524704
|
});
|
|
524613
524705
|
return [{
|
|
524614
524706
|
label: "Version",
|
|
524615
|
-
value: "1.4.
|
|
524707
|
+
value: "1.4.479"
|
|
524616
524708
|
}, {
|
|
524617
524709
|
label: "Session name",
|
|
524618
524710
|
value: nameValue
|
|
@@ -528283,7 +528375,7 @@ function Config({
|
|
|
528283
528375
|
}
|
|
528284
528376
|
})
|
|
528285
528377
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
528286
|
-
currentVersion: "1.4.
|
|
528378
|
+
currentVersion: "1.4.479",
|
|
528287
528379
|
onChoice: (choice) => {
|
|
528288
528380
|
setShowSubmenu(null);
|
|
528289
528381
|
setTabsHidden(false);
|
|
@@ -528295,7 +528387,7 @@ function Config({
|
|
|
528295
528387
|
autoUpdatesChannel: "stable"
|
|
528296
528388
|
};
|
|
528297
528389
|
if (choice === "stay") {
|
|
528298
|
-
newSettings.minimumVersion = "1.4.
|
|
528390
|
+
newSettings.minimumVersion = "1.4.479";
|
|
528299
528391
|
}
|
|
528300
528392
|
updateSettingsForSource("userSettings", newSettings);
|
|
528301
528393
|
setSettingsData((prev_27) => ({
|
|
@@ -536356,7 +536448,7 @@ function HelpV2(t0) {
|
|
|
536356
536448
|
let t6;
|
|
536357
536449
|
if ($3[31] !== tabs) {
|
|
536358
536450
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
536359
|
-
title: `Rayu-CLI v${"1.4.
|
|
536451
|
+
title: `Rayu-CLI v${"1.4.479"}`,
|
|
536360
536452
|
color: "professionalBlue",
|
|
536361
536453
|
defaultTab: "general",
|
|
536362
536454
|
children: tabs
|
|
@@ -556934,7 +557026,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
556934
557026
|
}
|
|
556935
557027
|
return [];
|
|
556936
557028
|
}
|
|
556937
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.
|
|
557029
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.479") {
|
|
556938
557030
|
if (false) {}
|
|
556939
557031
|
const cachedChangelog = await getStoredChangelog();
|
|
556940
557032
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -556947,7 +557039,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.4.477")
|
|
|
556947
557039
|
releaseNotes
|
|
556948
557040
|
};
|
|
556949
557041
|
}
|
|
556950
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.
|
|
557042
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.4.479") {
|
|
556951
557043
|
if (false) {}
|
|
556952
557044
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
556953
557045
|
return {
|
|
@@ -557075,7 +557167,7 @@ function getRecentActivitySync() {
|
|
|
557075
557167
|
return cachedActivity;
|
|
557076
557168
|
}
|
|
557077
557169
|
function getLogoDisplayData() {
|
|
557078
|
-
const version2 = process.env.DEMO_VERSION ?? "1.4.
|
|
557170
|
+
const version2 = process.env.DEMO_VERSION ?? "1.4.479";
|
|
557079
557171
|
const serverUrl = getDirectConnectServerUrl();
|
|
557080
557172
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
557081
557173
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -558240,7 +558332,7 @@ function LogoV2() {
|
|
|
558240
558332
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
558241
558333
|
t2 = () => {
|
|
558242
558334
|
const currentConfig = getGlobalConfig();
|
|
558243
|
-
if (currentConfig.lastReleaseNotesSeen === "1.4.
|
|
558335
|
+
if (currentConfig.lastReleaseNotesSeen === "1.4.479") {
|
|
558244
558336
|
return;
|
|
558245
558337
|
}
|
|
558246
558338
|
saveGlobalConfig(_temp327);
|
|
@@ -558719,7 +558811,7 @@ function LogoV2() {
|
|
|
558719
558811
|
t24 = $3[61];
|
|
558720
558812
|
}
|
|
558721
558813
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
558722
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.
|
|
558814
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.4.479") ? [createUpdateAvailableFeed("1.4.479", _latestNpm)] : [];
|
|
558723
558815
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
558724
558816
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
558725
558817
|
maxWidth: rightWidth
|
|
@@ -558919,12 +559011,12 @@ function LogoV2() {
|
|
|
558919
559011
|
return t41;
|
|
558920
559012
|
}
|
|
558921
559013
|
function _temp327(current) {
|
|
558922
|
-
if (current.lastReleaseNotesSeen === "1.4.
|
|
559014
|
+
if (current.lastReleaseNotesSeen === "1.4.479") {
|
|
558923
559015
|
return current;
|
|
558924
559016
|
}
|
|
558925
559017
|
return {
|
|
558926
559018
|
...current,
|
|
558927
|
-
lastReleaseNotesSeen: "1.4.
|
|
559019
|
+
lastReleaseNotesSeen: "1.4.479"
|
|
558928
559020
|
};
|
|
558929
559021
|
}
|
|
558930
559022
|
function _temp241(s_0) {
|
|
@@ -583923,7 +584015,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
583923
584015
|
smapsRollup,
|
|
583924
584016
|
platform: process.platform,
|
|
583925
584017
|
nodeVersion: process.version,
|
|
583926
|
-
ccVersion: "1.4.
|
|
584018
|
+
ccVersion: "1.4.479"
|
|
583927
584019
|
};
|
|
583928
584020
|
}
|
|
583929
584021
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -584445,7 +584537,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
584445
584537
|
var call50 = async () => {
|
|
584446
584538
|
return {
|
|
584447
584539
|
type: "text",
|
|
584448
|
-
value: "1.4.
|
|
584540
|
+
value: "1.4.479"
|
|
584449
584541
|
};
|
|
584450
584542
|
}, version2, version_default;
|
|
584451
584543
|
var init_version = __esm(() => {
|
|
@@ -594941,7 +595033,7 @@ function generateHtmlReport(data, insights) {
|
|
|
594941
595033
|
</html>`;
|
|
594942
595034
|
}
|
|
594943
595035
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
594944
|
-
const version3 = typeof MACRO !== "undefined" ? "1.4.
|
|
595036
|
+
const version3 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
594945
595037
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
594946
595038
|
const facets_summary = {
|
|
594947
595039
|
total: facets.size,
|
|
@@ -598855,7 +598947,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
598855
598947
|
init_settings2();
|
|
598856
598948
|
init_slowOperations();
|
|
598857
598949
|
init_uuid();
|
|
598858
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.4.
|
|
598950
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.4.479" : "unknown";
|
|
598859
598951
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
598860
598952
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
598861
598953
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -600073,7 +600165,7 @@ var init_filesystem = __esm(() => {
|
|
|
600073
600165
|
});
|
|
600074
600166
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
600075
600167
|
const nonce = randomBytes19(16).toString("hex");
|
|
600076
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.4.
|
|
600168
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.4.479", nonce);
|
|
600077
600169
|
});
|
|
600078
600170
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
600079
600171
|
});
|
|
@@ -605243,7 +605335,7 @@ __export(exports_update, {
|
|
|
605243
605335
|
update: () => update
|
|
605244
605336
|
});
|
|
605245
605337
|
async function update() {
|
|
605246
|
-
writeToStdout(`Current version: ${"1.4.
|
|
605338
|
+
writeToStdout(`Current version: ${"1.4.479"}
|
|
605247
605339
|
`);
|
|
605248
605340
|
const isBundled = isInBundledMode();
|
|
605249
605341
|
if (isBundled) {
|
|
@@ -605274,13 +605366,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
605274
605366
|
process.exit(1);
|
|
605275
605367
|
return;
|
|
605276
605368
|
}
|
|
605277
|
-
if (latestVersion === "1.4.
|
|
605369
|
+
if (latestVersion === "1.4.479") {
|
|
605278
605370
|
writeToStdout(source_default.green(`
|
|
605279
|
-
Rayu CLI is up to date (${"1.4.
|
|
605371
|
+
Rayu CLI is up to date (${"1.4.479"})
|
|
605280
605372
|
`));
|
|
605281
605373
|
process.exit(0);
|
|
605282
605374
|
}
|
|
605283
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.
|
|
605375
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.4.479"})
|
|
605284
605376
|
`);
|
|
605285
605377
|
writeToStdout(`Installing update...
|
|
605286
605378
|
|
|
@@ -605347,14 +605439,14 @@ async function updateNativeBinary() {
|
|
|
605347
605439
|
} catch {
|
|
605348
605440
|
latestVersion = "";
|
|
605349
605441
|
}
|
|
605350
|
-
if (latestVersion && latestVersion === "1.4.
|
|
605442
|
+
if (latestVersion && latestVersion === "1.4.479") {
|
|
605351
605443
|
writeToStdout(source_default.green(`
|
|
605352
|
-
Rayu CLI is up to date (1.4.
|
|
605444
|
+
Rayu CLI is up to date (1.4.479)
|
|
605353
605445
|
`));
|
|
605354
605446
|
process.exit(0);
|
|
605355
605447
|
}
|
|
605356
605448
|
if (latestVersion) {
|
|
605357
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.4.
|
|
605449
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.4.479)
|
|
605358
605450
|
`);
|
|
605359
605451
|
}
|
|
605360
605452
|
writeToStdout(`Downloading and installing update...
|
|
@@ -605369,13 +605461,13 @@ Rayu CLI is up to date (1.4.477)
|
|
|
605369
605461
|
return;
|
|
605370
605462
|
}
|
|
605371
605463
|
writeToStdout(source_default.green(`
|
|
605372
|
-
Rayu CLI is up to date (1.4.
|
|
605464
|
+
Rayu CLI is up to date (1.4.479)
|
|
605373
605465
|
`));
|
|
605374
605466
|
process.exit(0);
|
|
605375
605467
|
}
|
|
605376
605468
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
605377
605469
|
writeToStdout(source_default.green(`
|
|
605378
|
-
Successfully updated from 1.4.
|
|
605470
|
+
Successfully updated from 1.4.479 to ${updatedTo}
|
|
605379
605471
|
`));
|
|
605380
605472
|
writeToStdout(`Restart your terminal to use the new version.
|
|
605381
605473
|
`);
|
|
@@ -605440,7 +605532,7 @@ async function removeDataDir(dir) {
|
|
|
605440
605532
|
async function uninstall(args = []) {
|
|
605441
605533
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
605442
605534
|
const keepData = args.includes("--keep-data");
|
|
605443
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.4.
|
|
605535
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.4.479"})...
|
|
605444
605536
|
`);
|
|
605445
605537
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
605446
605538
|
|
|
@@ -605474,7 +605566,7 @@ This looks like a permissions error on npm's global install
|
|
|
605474
605566
|
return;
|
|
605475
605567
|
}
|
|
605476
605568
|
writeToStdout(source_default.green(`
|
|
605477
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.
|
|
605569
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.4.479"}
|
|
605478
605570
|
`));
|
|
605479
605571
|
const configDir = getRayuConfigHomeDir();
|
|
605480
605572
|
const dataExists = existsSync28(configDir);
|
|
@@ -605557,7 +605649,7 @@ function showFirstRunWelcome() {
|
|
|
605557
605649
|
`);
|
|
605558
605650
|
try {
|
|
605559
605651
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
605560
|
-
writeFileSync18(markerPath(), "1.4.
|
|
605652
|
+
writeFileSync18(markerPath(), "1.4.479", "utf8");
|
|
605561
605653
|
} catch {}
|
|
605562
605654
|
}
|
|
605563
605655
|
var init_firstRun = __esm(() => {
|
|
@@ -621743,7 +621835,7 @@ async function initializeBetaTracing(resource) {
|
|
|
621743
621835
|
});
|
|
621744
621836
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
621745
621837
|
setLoggerProvider(loggerProvider);
|
|
621746
|
-
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");
|
|
621747
621839
|
setEventLogger(eventLogger);
|
|
621748
621840
|
process.on("beforeExit", async () => {
|
|
621749
621841
|
await loggerProvider?.forceFlush();
|
|
@@ -621783,7 +621875,7 @@ async function initializeTelemetry() {
|
|
|
621783
621875
|
const platform4 = getPlatform();
|
|
621784
621876
|
const baseAttributes = {
|
|
621785
621877
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
621786
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.
|
|
621878
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.4.479"
|
|
621787
621879
|
};
|
|
621788
621880
|
if (platform4 === "wsl") {
|
|
621789
621881
|
const wslVersion = getWslVersion();
|
|
@@ -621828,7 +621920,7 @@ async function initializeTelemetry() {
|
|
|
621828
621920
|
} catch {}
|
|
621829
621921
|
};
|
|
621830
621922
|
registerCleanup(shutdownTelemetry2);
|
|
621831
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.
|
|
621923
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.4.479");
|
|
621832
621924
|
}
|
|
621833
621925
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
621834
621926
|
resource,
|
|
@@ -621848,7 +621940,7 @@ async function initializeTelemetry() {
|
|
|
621848
621940
|
});
|
|
621849
621941
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
621850
621942
|
setLoggerProvider(loggerProvider);
|
|
621851
|
-
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");
|
|
621852
621944
|
setEventLogger(eventLogger);
|
|
621853
621945
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
621854
621946
|
process.on("beforeExit", async () => {
|
|
@@ -621910,7 +622002,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
621910
622002
|
}
|
|
621911
622003
|
};
|
|
621912
622004
|
registerCleanup(shutdownTelemetry);
|
|
621913
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.
|
|
622005
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.4.479");
|
|
621914
622006
|
}
|
|
621915
622007
|
async function flushTelemetry() {
|
|
621916
622008
|
const meterProvider = getMeterProvider();
|
|
@@ -623412,7 +623504,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
623412
623504
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
623413
623505
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
623414
623506
|
betas: getSdkBetas(),
|
|
623415
|
-
claude_code_version: "1.4.
|
|
623507
|
+
claude_code_version: "1.4.479",
|
|
623416
623508
|
output_style: outputStyle2,
|
|
623417
623509
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
623418
623510
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -639786,7 +639878,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
639786
639878
|
function getSemverPart(version3) {
|
|
639787
639879
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
639788
639880
|
}
|
|
639789
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.4.
|
|
639881
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.4.479") {
|
|
639790
639882
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
639791
639883
|
if (!updatedVersion) {
|
|
639792
639884
|
return null;
|
|
@@ -639826,7 +639918,7 @@ function AutoUpdater({
|
|
|
639826
639918
|
return;
|
|
639827
639919
|
}
|
|
639828
639920
|
if (false) {}
|
|
639829
|
-
const currentVersion = "1.4.
|
|
639921
|
+
const currentVersion = "1.4.479";
|
|
639830
639922
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
639831
639923
|
let latestVersion = await getLatestVersion(channel2);
|
|
639832
639924
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -640039,12 +640131,12 @@ function NativeAutoUpdater({
|
|
|
640039
640131
|
logEvent("tengu_native_auto_updater_start", {});
|
|
640040
640132
|
try {
|
|
640041
640133
|
const maxVersion = await getMaxVersion();
|
|
640042
|
-
if (maxVersion && gt("1.4.
|
|
640134
|
+
if (maxVersion && gt("1.4.479", maxVersion)) {
|
|
640043
640135
|
const msg = await getMaxVersionMessage();
|
|
640044
640136
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
640045
640137
|
}
|
|
640046
640138
|
const result = await installLatest(channel2);
|
|
640047
|
-
const currentVersion = "1.4.
|
|
640139
|
+
const currentVersion = "1.4.479";
|
|
640048
640140
|
const latencyMs = Date.now() - startTime2;
|
|
640049
640141
|
if (result.lockFailed) {
|
|
640050
640142
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -640181,17 +640273,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640181
640273
|
const maxVersion = await getMaxVersion();
|
|
640182
640274
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
640183
640275
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
640184
|
-
if (gte("1.4.
|
|
640185
|
-
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`);
|
|
640186
640278
|
setUpdateAvailable(false);
|
|
640187
640279
|
return;
|
|
640188
640280
|
}
|
|
640189
640281
|
latest = maxVersion;
|
|
640190
640282
|
}
|
|
640191
|
-
const hasUpdate = latest && !gte("1.4.
|
|
640283
|
+
const hasUpdate = latest && !gte("1.4.479", latest) && !shouldSkipVersion(latest);
|
|
640192
640284
|
setUpdateAvailable(!!hasUpdate);
|
|
640193
640285
|
if (hasUpdate) {
|
|
640194
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.
|
|
640286
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.4.479"} -> ${latest}`);
|
|
640195
640287
|
}
|
|
640196
640288
|
};
|
|
640197
640289
|
$3[0] = t1;
|
|
@@ -640225,7 +640317,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640225
640317
|
wrap: "truncate",
|
|
640226
640318
|
children: [
|
|
640227
640319
|
"currentVersion: ",
|
|
640228
|
-
"1.4.
|
|
640320
|
+
"1.4.479"
|
|
640229
640321
|
]
|
|
640230
640322
|
});
|
|
640231
640323
|
$3[3] = verbose;
|
|
@@ -648389,7 +648481,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
648389
648481
|
project_dir: getOriginalCwd(),
|
|
648390
648482
|
added_dirs: addedDirs
|
|
648391
648483
|
},
|
|
648392
|
-
version: "1.4.
|
|
648484
|
+
version: "1.4.479",
|
|
648393
648485
|
output_style: {
|
|
648394
648486
|
name: outputStyleName
|
|
648395
648487
|
},
|
|
@@ -650568,7 +650660,7 @@ var init_user = __esm(() => {
|
|
|
650568
650660
|
deviceId,
|
|
650569
650661
|
sessionId: getSessionId(),
|
|
650570
650662
|
email: getEmail(),
|
|
650571
|
-
appVersion: "1.4.
|
|
650663
|
+
appVersion: "1.4.479",
|
|
650572
650664
|
platform: getHostPlatformForAnalytics(),
|
|
650573
650665
|
organizationUuid,
|
|
650574
650666
|
accountUuid,
|
|
@@ -660007,7 +660099,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
660007
660099
|
} catch {}
|
|
660008
660100
|
const data = {
|
|
660009
660101
|
trigger,
|
|
660010
|
-
version: "1.4.
|
|
660102
|
+
version: "1.4.479",
|
|
660011
660103
|
platform: process.platform,
|
|
660012
660104
|
transcript,
|
|
660013
660105
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -671976,7 +672068,7 @@ function WelcomeV2() {
|
|
|
671976
672068
|
dimColor: true,
|
|
671977
672069
|
children: [
|
|
671978
672070
|
"v",
|
|
671979
|
-
"1.4.
|
|
672071
|
+
"1.4.479"
|
|
671980
672072
|
]
|
|
671981
672073
|
})
|
|
671982
672074
|
]
|
|
@@ -672983,7 +673075,7 @@ function completeOnboarding() {
|
|
|
672983
673075
|
saveGlobalConfig((current) => ({
|
|
672984
673076
|
...current,
|
|
672985
673077
|
hasCompletedOnboarding: true,
|
|
672986
|
-
lastOnboardingVersion: "1.4.
|
|
673078
|
+
lastOnboardingVersion: "1.4.479"
|
|
672987
673079
|
}));
|
|
672988
673080
|
}
|
|
672989
673081
|
function showDialog(root2, renderer) {
|
|
@@ -677916,7 +678008,7 @@ function appendToLog(path29, message) {
|
|
|
677916
678008
|
cwd: getFsImplementation().cwd(),
|
|
677917
678009
|
userType: "external",
|
|
677918
678010
|
sessionId: getSessionId(),
|
|
677919
|
-
version: "1.4.
|
|
678011
|
+
version: "1.4.479"
|
|
677920
678012
|
};
|
|
677921
678013
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
677922
678014
|
}
|
|
@@ -682021,8 +682113,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
682021
682113
|
}
|
|
682022
682114
|
async function checkEnvLessBridgeMinVersion() {
|
|
682023
682115
|
const cfg = await getEnvLessBridgeConfig();
|
|
682024
|
-
if (cfg.min_version && lt("1.4.
|
|
682025
|
-
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.
|
|
682026
682118
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
682027
682119
|
}
|
|
682028
682120
|
return null;
|
|
@@ -682495,7 +682587,7 @@ async function initBridgeCore(params) {
|
|
|
682495
682587
|
const rawApi = createBridgeApiClient({
|
|
682496
682588
|
baseUrl,
|
|
682497
682589
|
getAccessToken,
|
|
682498
|
-
runnerVersion: "1.4.
|
|
682590
|
+
runnerVersion: "1.4.479",
|
|
682499
682591
|
onDebug: logForDebugging,
|
|
682500
682592
|
onAuth401,
|
|
682501
682593
|
getTrustedDeviceToken
|
|
@@ -687850,7 +687942,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
687850
687942
|
setCwd(cwd3);
|
|
687851
687943
|
const server = new Server({
|
|
687852
687944
|
name: "claude/tengu",
|
|
687853
|
-
version: "1.4.
|
|
687945
|
+
version: "1.4.479"
|
|
687854
687946
|
}, {
|
|
687855
687947
|
capabilities: {
|
|
687856
687948
|
tools: {}
|
|
@@ -690379,7 +690471,7 @@ ${customInstructions}` : customInstructions;
|
|
|
690379
690471
|
}
|
|
690380
690472
|
}
|
|
690381
690473
|
logForDiagnosticsNoPII("info", "started", {
|
|
690382
|
-
version: "1.4.
|
|
690474
|
+
version: "1.4.479",
|
|
690383
690475
|
is_native_binary: isInBundledMode()
|
|
690384
690476
|
});
|
|
690385
690477
|
registerCleanup(async () => {
|
|
@@ -691098,7 +691190,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
691098
691190
|
pendingHookMessages
|
|
691099
691191
|
}, renderAndRun);
|
|
691100
691192
|
}
|
|
691101
|
-
}).version(`1.4.
|
|
691193
|
+
}).version(`1.4.479 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
691102
691194
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
691103
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.");
|
|
691104
691196
|
if (canUserConfigureAdvisor()) {
|
|
@@ -691558,7 +691650,7 @@ if (false) {}
|
|
|
691558
691650
|
async function main2() {
|
|
691559
691651
|
const args = process.argv.slice(2);
|
|
691560
691652
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
691561
|
-
console.log(`${"1.4.
|
|
691653
|
+
console.log(`${"1.4.479"} (Rayu-CLI)`);
|
|
691562
691654
|
return;
|
|
691563
691655
|
}
|
|
691564
691656
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|
package/package.json
CHANGED
package/scripts/postinstall.cjs
CHANGED
|
@@ -23,9 +23,9 @@ const message = [
|
|
|
23
23
|
' Docs & issues: https://github.com/Choeng-Rayu/rayu-cli',
|
|
24
24
|
'',
|
|
25
25
|
'Whats new?:',
|
|
26
|
-
' -
|
|
27
|
-
' -
|
|
28
|
-
' -
|
|
26
|
+
' - Improve the ask user question tool for all LLMs providers.',
|
|
27
|
+
' - Fix the Gateway upstream error.',
|
|
28
|
+
' - Fix the bug for plan credit calculation.',
|
|
29
29
|
'',
|
|
30
30
|
].join('\n') + '\n';
|
|
31
31
|
|