@rayu-dev/rayu-cli 1.2.22 → 1.2.23
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 +81 -81
- package/package.json +1 -2
package/dist/rayu.js
CHANGED
|
@@ -147971,7 +147971,7 @@ var init_auth = __esm(() => {
|
|
|
147971
147971
|
|
|
147972
147972
|
// src/utils/userAgent.ts
|
|
147973
147973
|
function getRayuUserAgent() {
|
|
147974
|
-
return `rayu/${"1.2.
|
|
147974
|
+
return `rayu/${"1.2.23"}`;
|
|
147975
147975
|
}
|
|
147976
147976
|
var getClaudeCodeUserAgent;
|
|
147977
147977
|
var init_userAgent = __esm(() => {
|
|
@@ -147997,7 +147997,7 @@ function getUserAgent() {
|
|
|
147997
147997
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
147998
147998
|
const workload = getWorkload();
|
|
147999
147999
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
148000
|
-
return `rayu/${"1.2.
|
|
148000
|
+
return `rayu/${"1.2.23"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
148001
148001
|
}
|
|
148002
148002
|
function getMCPUserAgent() {
|
|
148003
148003
|
const parts = [];
|
|
@@ -148011,7 +148011,7 @@ function getMCPUserAgent() {
|
|
|
148011
148011
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
148012
148012
|
}
|
|
148013
148013
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
148014
|
-
return `rayu/${"1.2.
|
|
148014
|
+
return `rayu/${"1.2.23"}${suffix}`;
|
|
148015
148015
|
}
|
|
148016
148016
|
function getWebFetchUserAgent() {
|
|
148017
148017
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -148134,7 +148134,7 @@ var init_user = __esm(() => {
|
|
|
148134
148134
|
deviceId,
|
|
148135
148135
|
sessionId: getSessionId(),
|
|
148136
148136
|
email: getEmail(),
|
|
148137
|
-
appVersion: "1.2.
|
|
148137
|
+
appVersion: "1.2.23",
|
|
148138
148138
|
platform: getHostPlatformForAnalytics(),
|
|
148139
148139
|
organizationUuid,
|
|
148140
148140
|
accountUuid,
|
|
@@ -181204,7 +181204,7 @@ var init_metadata = __esm(() => {
|
|
|
181204
181204
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
181205
181205
|
WHITESPACE_REGEX = /\s+/;
|
|
181206
181206
|
getVersionBase = memoize_default(() => {
|
|
181207
|
-
const match = "1.2.
|
|
181207
|
+
const match = "1.2.23".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
181208
181208
|
return match ? match[0] : undefined;
|
|
181209
181209
|
});
|
|
181210
181210
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -181243,7 +181243,7 @@ var init_metadata = __esm(() => {
|
|
|
181243
181243
|
},
|
|
181244
181244
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
181245
181245
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
181246
|
-
version: "1.2.
|
|
181246
|
+
version: "1.2.23",
|
|
181247
181247
|
versionBase: getVersionBase(),
|
|
181248
181248
|
buildTime: "",
|
|
181249
181249
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
@@ -181857,7 +181857,7 @@ function initialize1PEventLogging() {
|
|
|
181857
181857
|
const platform2 = getPlatform();
|
|
181858
181858
|
const attributes = {
|
|
181859
181859
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
|
|
181860
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.
|
|
181860
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.23"
|
|
181861
181861
|
};
|
|
181862
181862
|
if (platform2 === "wsl") {
|
|
181863
181863
|
const wslVersion = getWslVersion();
|
|
@@ -181884,7 +181884,7 @@ function initialize1PEventLogging() {
|
|
|
181884
181884
|
})
|
|
181885
181885
|
]
|
|
181886
181886
|
});
|
|
181887
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.
|
|
181887
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.23");
|
|
181888
181888
|
}
|
|
181889
181889
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
181890
181890
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -217800,7 +217800,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
217800
217800
|
if (!isAttributionHeaderEnabled()) {
|
|
217801
217801
|
return "";
|
|
217802
217802
|
}
|
|
217803
|
-
const version2 = `${"1.2.
|
|
217803
|
+
const version2 = `${"1.2.23"}.${fingerprint}`;
|
|
217804
217804
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
217805
217805
|
const cch = "";
|
|
217806
217806
|
const workload = getWorkload();
|
|
@@ -302318,7 +302318,7 @@ function getTelemetryAttributes() {
|
|
|
302318
302318
|
attributes["session.id"] = sessionId;
|
|
302319
302319
|
}
|
|
302320
302320
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
302321
|
-
attributes["app.version"] = "1.2.
|
|
302321
|
+
attributes["app.version"] = "1.2.23";
|
|
302322
302322
|
}
|
|
302323
302323
|
const oauthAccount = getOauthAccountInfo();
|
|
302324
302324
|
if (oauthAccount) {
|
|
@@ -412676,7 +412676,7 @@ function getInstallationEnv() {
|
|
|
412676
412676
|
return;
|
|
412677
412677
|
}
|
|
412678
412678
|
function getClaudeCodeVersion() {
|
|
412679
|
-
return "1.2.
|
|
412679
|
+
return "1.2.23";
|
|
412680
412680
|
}
|
|
412681
412681
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
412682
412682
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -417914,7 +417914,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
417914
417914
|
const client4 = new Client({
|
|
417915
417915
|
name: "claude-code",
|
|
417916
417916
|
title: "RAYU",
|
|
417917
|
-
version: "1.2.
|
|
417917
|
+
version: "1.2.23",
|
|
417918
417918
|
description: "Anthropic's agentic coding tool",
|
|
417919
417919
|
websiteUrl: PRODUCT_URL
|
|
417920
417920
|
}, {
|
|
@@ -418231,7 +418231,7 @@ var init_client7 = __esm(() => {
|
|
|
418231
418231
|
const client4 = new Client({
|
|
418232
418232
|
name: "claude-code",
|
|
418233
418233
|
title: "RAYU",
|
|
418234
|
-
version: "1.2.
|
|
418234
|
+
version: "1.2.23",
|
|
418235
418235
|
description: "Anthropic's agentic coding tool",
|
|
418236
418236
|
websiteUrl: PRODUCT_URL
|
|
418237
418237
|
}, {
|
|
@@ -433008,7 +433008,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
433008
433008
|
}
|
|
433009
433009
|
function computeFingerprintFromMessages(messages) {
|
|
433010
433010
|
const firstMessageText = extractFirstMessageText(messages);
|
|
433011
|
-
return computeFingerprint(firstMessageText, "1.2.
|
|
433011
|
+
return computeFingerprint(firstMessageText, "1.2.23");
|
|
433012
433012
|
}
|
|
433013
433013
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
433014
433014
|
var init_fingerprint = () => {};
|
|
@@ -433050,7 +433050,7 @@ async function sideQuery(opts) {
|
|
|
433050
433050
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
433051
433051
|
}
|
|
433052
433052
|
const messageText = extractFirstUserMessageText(messages);
|
|
433053
|
-
const fingerprint = computeFingerprint(messageText, "1.2.
|
|
433053
|
+
const fingerprint = computeFingerprint(messageText, "1.2.23");
|
|
433054
433054
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
433055
433055
|
const systemBlocks = [
|
|
433056
433056
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -528012,7 +528012,7 @@ function Feedback({
|
|
|
528012
528012
|
platform: env4.platform,
|
|
528013
528013
|
gitRepo: envInfo.isGit,
|
|
528014
528014
|
terminal: env4.terminal,
|
|
528015
|
-
version: "1.2.
|
|
528015
|
+
version: "1.2.23",
|
|
528016
528016
|
transcript: normalizeMessagesForAPI(messages),
|
|
528017
528017
|
errors: sanitizedErrors,
|
|
528018
528018
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -528204,7 +528204,7 @@ function Feedback({
|
|
|
528204
528204
|
", ",
|
|
528205
528205
|
env4.terminal,
|
|
528206
528206
|
", v",
|
|
528207
|
-
"1.2.
|
|
528207
|
+
"1.2.23"
|
|
528208
528208
|
]
|
|
528209
528209
|
}, undefined, true, undefined, this)
|
|
528210
528210
|
]
|
|
@@ -528310,7 +528310,7 @@ ${sanitizedDescription}
|
|
|
528310
528310
|
` + `**Environment Info**
|
|
528311
528311
|
` + `- Platform: ${env4.platform}
|
|
528312
528312
|
` + `- Terminal: ${env4.terminal}
|
|
528313
|
-
` + `- Version: ${"1.2.
|
|
528313
|
+
` + `- Version: ${"1.2.23"}
|
|
528314
528314
|
` + `- Feedback ID: ${feedbackId}
|
|
528315
528315
|
` + `
|
|
528316
528316
|
**Errors**
|
|
@@ -531149,9 +531149,9 @@ async function assertMinVersion() {
|
|
|
531149
531149
|
if (false) {}
|
|
531150
531150
|
try {
|
|
531151
531151
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
531152
|
-
if (versionConfig.minVersion && lt("1.2.
|
|
531152
|
+
if (versionConfig.minVersion && lt("1.2.23", versionConfig.minVersion)) {
|
|
531153
531153
|
console.error(`
|
|
531154
|
-
It looks like your version of RAYU (${"1.2.
|
|
531154
|
+
It looks like your version of RAYU (${"1.2.23"}) needs an update.
|
|
531155
531155
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
531156
531156
|
|
|
531157
531157
|
To update, please run:
|
|
@@ -531350,7 +531350,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531350
531350
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
531351
531351
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
531352
531352
|
pid: process.pid,
|
|
531353
|
-
currentVersion: "1.2.
|
|
531353
|
+
currentVersion: "1.2.23"
|
|
531354
531354
|
});
|
|
531355
531355
|
return "in_progress";
|
|
531356
531356
|
}
|
|
@@ -531359,7 +531359,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531359
531359
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
531360
531360
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
531361
531361
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
531362
|
-
currentVersion: "1.2.
|
|
531362
|
+
currentVersion: "1.2.23"
|
|
531363
531363
|
});
|
|
531364
531364
|
console.error(`
|
|
531365
531365
|
Error: Windows NPM detected in WSL
|
|
@@ -531894,7 +531894,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
531894
531894
|
}
|
|
531895
531895
|
async function getDoctorDiagnostic() {
|
|
531896
531896
|
const installationType = await getCurrentInstallationType();
|
|
531897
|
-
const version2 = typeof MACRO !== "undefined" ? "1.2.
|
|
531897
|
+
const version2 = typeof MACRO !== "undefined" ? "1.2.23" : "unknown";
|
|
531898
531898
|
const installationPath = await getInstallationPath();
|
|
531899
531899
|
const invokedBinary = getInvokedBinary();
|
|
531900
531900
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -532689,8 +532689,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532689
532689
|
const maxVersion = await getMaxVersion();
|
|
532690
532690
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
532691
532691
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
532692
|
-
if (gte("1.2.
|
|
532693
|
-
logForDebugging(`Native installer: current version ${"1.2.
|
|
532692
|
+
if (gte("1.2.23", maxVersion)) {
|
|
532693
|
+
logForDebugging(`Native installer: current version ${"1.2.23"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
532694
532694
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
532695
532695
|
latency_ms: Date.now() - startTime,
|
|
532696
532696
|
max_version: maxVersion,
|
|
@@ -532701,7 +532701,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532701
532701
|
version2 = maxVersion;
|
|
532702
532702
|
}
|
|
532703
532703
|
}
|
|
532704
|
-
if (!forceReinstall && version2 === "1.2.
|
|
532704
|
+
if (!forceReinstall && version2 === "1.2.23" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
532705
532705
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
532706
532706
|
logEvent("tengu_native_update_complete", {
|
|
532707
532707
|
latency_ms: Date.now() - startTime,
|
|
@@ -533897,7 +533897,7 @@ function buildPrimarySection() {
|
|
|
533897
533897
|
}, undefined, false, undefined, this);
|
|
533898
533898
|
return [{
|
|
533899
533899
|
label: "Version",
|
|
533900
|
-
value: "1.2.
|
|
533900
|
+
value: "1.2.23"
|
|
533901
533901
|
}, {
|
|
533902
533902
|
label: "Session name",
|
|
533903
533903
|
value: nameValue
|
|
@@ -537588,7 +537588,7 @@ function Config({
|
|
|
537588
537588
|
}
|
|
537589
537589
|
}, undefined, false, undefined, this)
|
|
537590
537590
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
537591
|
-
currentVersion: "1.2.
|
|
537591
|
+
currentVersion: "1.2.23",
|
|
537592
537592
|
onChoice: (choice) => {
|
|
537593
537593
|
setShowSubmenu(null);
|
|
537594
537594
|
setTabsHidden(false);
|
|
@@ -537600,7 +537600,7 @@ function Config({
|
|
|
537600
537600
|
autoUpdatesChannel: "stable"
|
|
537601
537601
|
};
|
|
537602
537602
|
if (choice === "stay") {
|
|
537603
|
-
newSettings.minimumVersion = "1.2.
|
|
537603
|
+
newSettings.minimumVersion = "1.2.23";
|
|
537604
537604
|
}
|
|
537605
537605
|
updateSettingsForSource("userSettings", newSettings);
|
|
537606
537606
|
setSettingsData((prev_27) => ({
|
|
@@ -545660,7 +545660,7 @@ function HelpV2(t0) {
|
|
|
545660
545660
|
let t6;
|
|
545661
545661
|
if ($3[31] !== tabs) {
|
|
545662
545662
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
545663
|
-
title: `Rayu-CLI v${"1.2.
|
|
545663
|
+
title: `Rayu-CLI v${"1.2.23"}`,
|
|
545664
545664
|
color: "professionalBlue",
|
|
545665
545665
|
defaultTab: "general",
|
|
545666
545666
|
children: tabs
|
|
@@ -565624,7 +565624,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
565624
565624
|
}
|
|
565625
565625
|
return [];
|
|
565626
565626
|
}
|
|
565627
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.
|
|
565627
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.23") {
|
|
565628
565628
|
if (false) {}
|
|
565629
565629
|
const cachedChangelog = await getStoredChangelog();
|
|
565630
565630
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -565637,7 +565637,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.22")
|
|
|
565637
565637
|
releaseNotes
|
|
565638
565638
|
};
|
|
565639
565639
|
}
|
|
565640
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.
|
|
565640
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.23") {
|
|
565641
565641
|
if (false) {}
|
|
565642
565642
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
565643
565643
|
return {
|
|
@@ -565765,7 +565765,7 @@ function getRecentActivitySync() {
|
|
|
565765
565765
|
return cachedActivity;
|
|
565766
565766
|
}
|
|
565767
565767
|
function getLogoDisplayData() {
|
|
565768
|
-
const version2 = process.env.DEMO_VERSION ?? "1.2.
|
|
565768
|
+
const version2 = process.env.DEMO_VERSION ?? "1.2.23";
|
|
565769
565769
|
const serverUrl = getDirectConnectServerUrl();
|
|
565770
565770
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
565771
565771
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -567046,7 +567046,7 @@ function LogoV2() {
|
|
|
567046
567046
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
567047
567047
|
t2 = () => {
|
|
567048
567048
|
const currentConfig = getGlobalConfig();
|
|
567049
|
-
if (currentConfig.lastReleaseNotesSeen === "1.2.
|
|
567049
|
+
if (currentConfig.lastReleaseNotesSeen === "1.2.23") {
|
|
567050
567050
|
return;
|
|
567051
567051
|
}
|
|
567052
567052
|
saveGlobalConfig(_temp327);
|
|
@@ -567722,12 +567722,12 @@ function LogoV2() {
|
|
|
567722
567722
|
return t41;
|
|
567723
567723
|
}
|
|
567724
567724
|
function _temp327(current) {
|
|
567725
|
-
if (current.lastReleaseNotesSeen === "1.2.
|
|
567725
|
+
if (current.lastReleaseNotesSeen === "1.2.23") {
|
|
567726
567726
|
return current;
|
|
567727
567727
|
}
|
|
567728
567728
|
return {
|
|
567729
567729
|
...current,
|
|
567730
|
-
lastReleaseNotesSeen: "1.2.
|
|
567730
|
+
lastReleaseNotesSeen: "1.2.23"
|
|
567731
567731
|
};
|
|
567732
567732
|
}
|
|
567733
567733
|
function _temp241(s_0) {
|
|
@@ -592472,7 +592472,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
592472
592472
|
smapsRollup,
|
|
592473
592473
|
platform: process.platform,
|
|
592474
592474
|
nodeVersion: process.version,
|
|
592475
|
-
ccVersion: "1.2.
|
|
592475
|
+
ccVersion: "1.2.23"
|
|
592476
592476
|
};
|
|
592477
592477
|
}
|
|
592478
592478
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -593000,7 +593000,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593000
593000
|
var call47 = async () => {
|
|
593001
593001
|
return {
|
|
593002
593002
|
type: "text",
|
|
593003
|
-
value: "1.2.
|
|
593003
|
+
value: "1.2.23"
|
|
593004
593004
|
};
|
|
593005
593005
|
}, version2, version_default;
|
|
593006
593006
|
var init_version = __esm(() => {
|
|
@@ -601827,7 +601827,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601827
601827
|
</html>`;
|
|
601828
601828
|
}
|
|
601829
601829
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601830
|
-
const version3 = typeof MACRO !== "undefined" ? "1.2.
|
|
601830
|
+
const version3 = typeof MACRO !== "undefined" ? "1.2.23" : "unknown";
|
|
601831
601831
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
601832
601832
|
const facets_summary = {
|
|
601833
601833
|
total: facets.size,
|
|
@@ -605759,7 +605759,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
605759
605759
|
init_settings2();
|
|
605760
605760
|
init_slowOperations();
|
|
605761
605761
|
init_uuid();
|
|
605762
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.2.
|
|
605762
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.2.23" : "unknown";
|
|
605763
605763
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
605764
605764
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
605765
605765
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -606978,7 +606978,7 @@ var init_filesystem = __esm(() => {
|
|
|
606978
606978
|
});
|
|
606979
606979
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
606980
606980
|
const nonce = randomBytes18(16).toString("hex");
|
|
606981
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.2.
|
|
606981
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.2.23", nonce);
|
|
606982
606982
|
});
|
|
606983
606983
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
606984
606984
|
});
|
|
@@ -612093,7 +612093,7 @@ __export(exports_update, {
|
|
|
612093
612093
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
612094
612094
|
import { homedir as homedir33 } from "os";
|
|
612095
612095
|
async function update() {
|
|
612096
|
-
writeToStdout(`Current version: ${"1.2.
|
|
612096
|
+
writeToStdout(`Current version: ${"1.2.23"}
|
|
612097
612097
|
`);
|
|
612098
612098
|
const isBundled = isInBundledMode();
|
|
612099
612099
|
if (isBundled) {
|
|
@@ -612119,13 +612119,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
612119
612119
|
process.exit(1);
|
|
612120
612120
|
return;
|
|
612121
612121
|
}
|
|
612122
|
-
if (latestVersion === "1.2.
|
|
612122
|
+
if (latestVersion === "1.2.23") {
|
|
612123
612123
|
writeToStdout(source_default.green(`
|
|
612124
|
-
Rayu CLI is up to date (${"1.2.
|
|
612124
|
+
Rayu CLI is up to date (${"1.2.23"})
|
|
612125
612125
|
`));
|
|
612126
612126
|
process.exit(0);
|
|
612127
612127
|
}
|
|
612128
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.
|
|
612128
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.23"})
|
|
612129
612129
|
`);
|
|
612130
612130
|
writeToStdout(`Installing update...
|
|
612131
612131
|
|
|
@@ -612149,7 +612149,7 @@ Try manually:
|
|
|
612149
612149
|
return;
|
|
612150
612150
|
}
|
|
612151
612151
|
writeToStdout(source_default.green(`
|
|
612152
|
-
Successfully updated from ${"1.2.
|
|
612152
|
+
Successfully updated from ${"1.2.23"} to ${latestVersion}
|
|
612153
612153
|
`));
|
|
612154
612154
|
process.exit(0);
|
|
612155
612155
|
}
|
|
@@ -612163,14 +612163,14 @@ async function updateNativeBinary() {
|
|
|
612163
612163
|
} catch {
|
|
612164
612164
|
latestVersion = "";
|
|
612165
612165
|
}
|
|
612166
|
-
if (latestVersion && latestVersion === "1.2.
|
|
612166
|
+
if (latestVersion && latestVersion === "1.2.23") {
|
|
612167
612167
|
writeToStdout(source_default.green(`
|
|
612168
|
-
Rayu CLI is up to date (1.2.
|
|
612168
|
+
Rayu CLI is up to date (1.2.23)
|
|
612169
612169
|
`));
|
|
612170
612170
|
process.exit(0);
|
|
612171
612171
|
}
|
|
612172
612172
|
if (latestVersion) {
|
|
612173
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.2.
|
|
612173
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.2.23)
|
|
612174
612174
|
`);
|
|
612175
612175
|
}
|
|
612176
612176
|
writeToStdout(`Downloading and installing update...
|
|
@@ -612185,13 +612185,13 @@ Rayu CLI is up to date (1.2.22)
|
|
|
612185
612185
|
return;
|
|
612186
612186
|
}
|
|
612187
612187
|
writeToStdout(source_default.green(`
|
|
612188
|
-
Rayu CLI is up to date (1.2.
|
|
612188
|
+
Rayu CLI is up to date (1.2.23)
|
|
612189
612189
|
`));
|
|
612190
612190
|
process.exit(0);
|
|
612191
612191
|
}
|
|
612192
612192
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
612193
612193
|
writeToStdout(source_default.green(`
|
|
612194
|
-
Successfully updated from 1.2.
|
|
612194
|
+
Successfully updated from 1.2.23 to ${updatedTo}
|
|
612195
612195
|
`));
|
|
612196
612196
|
writeToStdout(`Restart your terminal to use the new version.
|
|
612197
612197
|
`);
|
|
@@ -612222,7 +612222,7 @@ __export(exports_uninstall, {
|
|
|
612222
612222
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
612223
612223
|
import { homedir as homedir34 } from "os";
|
|
612224
612224
|
async function uninstall() {
|
|
612225
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.2.
|
|
612225
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.2.23"})...
|
|
612226
612226
|
`);
|
|
612227
612227
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
612228
612228
|
|
|
@@ -612245,7 +612245,7 @@ Try running manually:
|
|
|
612245
612245
|
process.exit(1);
|
|
612246
612246
|
}
|
|
612247
612247
|
writeToStdout(source_default.green(`
|
|
612248
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.
|
|
612248
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.23"}
|
|
612249
612249
|
`));
|
|
612250
612250
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
612251
612251
|
`);
|
|
@@ -612297,7 +612297,7 @@ function showFirstRunWelcome() {
|
|
|
612297
612297
|
`);
|
|
612298
612298
|
try {
|
|
612299
612299
|
mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
|
|
612300
|
-
writeFileSync15(markerPath(), "1.2.
|
|
612300
|
+
writeFileSync15(markerPath(), "1.2.23", "utf8");
|
|
612301
612301
|
} catch {}
|
|
612302
612302
|
}
|
|
612303
612303
|
var init_firstRun = __esm(() => {
|
|
@@ -624140,7 +624140,7 @@ async function initializeBetaTracing(resource) {
|
|
|
624140
624140
|
});
|
|
624141
624141
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624142
624142
|
setLoggerProvider(loggerProvider);
|
|
624143
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624143
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.23");
|
|
624144
624144
|
setEventLogger(eventLogger);
|
|
624145
624145
|
process.on("beforeExit", async () => {
|
|
624146
624146
|
await loggerProvider?.forceFlush();
|
|
@@ -624180,7 +624180,7 @@ async function initializeTelemetry() {
|
|
|
624180
624180
|
const platform4 = getPlatform();
|
|
624181
624181
|
const baseAttributes = {
|
|
624182
624182
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
624183
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.
|
|
624183
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.23"
|
|
624184
624184
|
};
|
|
624185
624185
|
if (platform4 === "wsl") {
|
|
624186
624186
|
const wslVersion = getWslVersion();
|
|
@@ -624225,7 +624225,7 @@ async function initializeTelemetry() {
|
|
|
624225
624225
|
} catch {}
|
|
624226
624226
|
};
|
|
624227
624227
|
registerCleanup(shutdownTelemetry2);
|
|
624228
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.
|
|
624228
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.23");
|
|
624229
624229
|
}
|
|
624230
624230
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
624231
624231
|
resource,
|
|
@@ -624245,7 +624245,7 @@ async function initializeTelemetry() {
|
|
|
624245
624245
|
});
|
|
624246
624246
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624247
624247
|
setLoggerProvider(loggerProvider);
|
|
624248
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624248
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.23");
|
|
624249
624249
|
setEventLogger(eventLogger);
|
|
624250
624250
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
624251
624251
|
process.on("beforeExit", async () => {
|
|
@@ -624307,7 +624307,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
624307
624307
|
}
|
|
624308
624308
|
};
|
|
624309
624309
|
registerCleanup(shutdownTelemetry);
|
|
624310
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.
|
|
624310
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.23");
|
|
624311
624311
|
}
|
|
624312
624312
|
async function flushTelemetry() {
|
|
624313
624313
|
const meterProvider = getMeterProvider();
|
|
@@ -625820,7 +625820,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625820
625820
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625821
625821
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
625822
625822
|
betas: getSdkBetas(),
|
|
625823
|
-
claude_code_version: "1.2.
|
|
625823
|
+
claude_code_version: "1.2.23",
|
|
625824
625824
|
output_style: outputStyle2,
|
|
625825
625825
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
625826
625826
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -642029,7 +642029,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
642029
642029
|
function getSemverPart(version3) {
|
|
642030
642030
|
return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
|
|
642031
642031
|
}
|
|
642032
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.2.
|
|
642032
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.2.23") {
|
|
642033
642033
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react218.useState(() => getSemverPart(initialVersion));
|
|
642034
642034
|
if (!updatedVersion) {
|
|
642035
642035
|
return null;
|
|
@@ -642069,7 +642069,7 @@ function AutoUpdater({
|
|
|
642069
642069
|
return;
|
|
642070
642070
|
}
|
|
642071
642071
|
if (false) {}
|
|
642072
|
-
const currentVersion = "1.2.
|
|
642072
|
+
const currentVersion = "1.2.23";
|
|
642073
642073
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
642074
642074
|
let latestVersion = await getLatestVersion(channel);
|
|
642075
642075
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -642282,12 +642282,12 @@ function NativeAutoUpdater({
|
|
|
642282
642282
|
logEvent("tengu_native_auto_updater_start", {});
|
|
642283
642283
|
try {
|
|
642284
642284
|
const maxVersion = await getMaxVersion();
|
|
642285
|
-
if (maxVersion && gt("1.2.
|
|
642285
|
+
if (maxVersion && gt("1.2.23", maxVersion)) {
|
|
642286
642286
|
const msg = await getMaxVersionMessage();
|
|
642287
642287
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
642288
642288
|
}
|
|
642289
642289
|
const result = await installLatest(channel);
|
|
642290
|
-
const currentVersion = "1.2.
|
|
642290
|
+
const currentVersion = "1.2.23";
|
|
642291
642291
|
const latencyMs = Date.now() - startTime;
|
|
642292
642292
|
if (result.lockFailed) {
|
|
642293
642293
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -642424,17 +642424,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642424
642424
|
const maxVersion = await getMaxVersion();
|
|
642425
642425
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
642426
642426
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
642427
|
-
if (gte("1.2.
|
|
642428
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.
|
|
642427
|
+
if (gte("1.2.23", maxVersion)) {
|
|
642428
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.23"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
642429
642429
|
setUpdateAvailable(false);
|
|
642430
642430
|
return;
|
|
642431
642431
|
}
|
|
642432
642432
|
latest = maxVersion;
|
|
642433
642433
|
}
|
|
642434
|
-
const hasUpdate = latest && !gte("1.2.
|
|
642434
|
+
const hasUpdate = latest && !gte("1.2.23", latest) && !shouldSkipVersion(latest);
|
|
642435
642435
|
setUpdateAvailable(!!hasUpdate);
|
|
642436
642436
|
if (hasUpdate) {
|
|
642437
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.
|
|
642437
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.23"} -> ${latest}`);
|
|
642438
642438
|
}
|
|
642439
642439
|
};
|
|
642440
642440
|
$3[0] = t1;
|
|
@@ -642468,7 +642468,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642468
642468
|
wrap: "truncate",
|
|
642469
642469
|
children: [
|
|
642470
642470
|
"currentVersion: ",
|
|
642471
|
-
"1.2.
|
|
642471
|
+
"1.2.23"
|
|
642472
642472
|
]
|
|
642473
642473
|
}, undefined, true, undefined, this);
|
|
642474
642474
|
$3[3] = verbose;
|
|
@@ -650634,7 +650634,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
650634
650634
|
project_dir: getOriginalCwd(),
|
|
650635
650635
|
added_dirs: addedDirs
|
|
650636
650636
|
},
|
|
650637
|
-
version: "1.2.
|
|
650637
|
+
version: "1.2.23",
|
|
650638
650638
|
output_style: {
|
|
650639
650639
|
name: outputStyleName
|
|
650640
650640
|
},
|
|
@@ -662004,7 +662004,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
662004
662004
|
} catch {}
|
|
662005
662005
|
const data = {
|
|
662006
662006
|
trigger,
|
|
662007
|
-
version: "1.2.
|
|
662007
|
+
version: "1.2.23",
|
|
662008
662008
|
platform: process.platform,
|
|
662009
662009
|
transcript,
|
|
662010
662010
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -674053,7 +674053,7 @@ function WelcomeV2() {
|
|
|
674053
674053
|
dimColor: true,
|
|
674054
674054
|
children: [
|
|
674055
674055
|
"v",
|
|
674056
|
-
"1.2.
|
|
674056
|
+
"1.2.23"
|
|
674057
674057
|
]
|
|
674058
674058
|
}, undefined, true, undefined, this)
|
|
674059
674059
|
]
|
|
@@ -675770,7 +675770,7 @@ function completeOnboarding() {
|
|
|
675770
675770
|
saveGlobalConfig((current) => ({
|
|
675771
675771
|
...current,
|
|
675772
675772
|
hasCompletedOnboarding: true,
|
|
675773
|
-
lastOnboardingVersion: "1.2.
|
|
675773
|
+
lastOnboardingVersion: "1.2.23"
|
|
675774
675774
|
}));
|
|
675775
675775
|
}
|
|
675776
675776
|
function showDialog(root2, renderer) {
|
|
@@ -680070,7 +680070,7 @@ function appendToLog(path30, message) {
|
|
|
680070
680070
|
cwd: getFsImplementation().cwd(),
|
|
680071
680071
|
userType: "external",
|
|
680072
680072
|
sessionId: getSessionId(),
|
|
680073
|
-
version: "1.2.
|
|
680073
|
+
version: "1.2.23"
|
|
680074
680074
|
};
|
|
680075
680075
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
680076
680076
|
}
|
|
@@ -684174,8 +684174,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
684174
684174
|
}
|
|
684175
684175
|
async function checkEnvLessBridgeMinVersion() {
|
|
684176
684176
|
const cfg = await getEnvLessBridgeConfig();
|
|
684177
|
-
if (cfg.min_version && lt("1.2.
|
|
684178
|
-
return `Your version of RAYU (${"1.2.
|
|
684177
|
+
if (cfg.min_version && lt("1.2.23", cfg.min_version)) {
|
|
684178
|
+
return `Your version of RAYU (${"1.2.23"}) is too old for Remote Control.
|
|
684179
684179
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
684180
684180
|
}
|
|
684181
684181
|
return null;
|
|
@@ -684649,7 +684649,7 @@ async function initBridgeCore(params) {
|
|
|
684649
684649
|
const rawApi = createBridgeApiClient({
|
|
684650
684650
|
baseUrl,
|
|
684651
684651
|
getAccessToken,
|
|
684652
|
-
runnerVersion: "1.2.
|
|
684652
|
+
runnerVersion: "1.2.23",
|
|
684653
684653
|
onDebug: logForDebugging,
|
|
684654
684654
|
onAuth401,
|
|
684655
684655
|
getTrustedDeviceToken
|
|
@@ -690011,7 +690011,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
690011
690011
|
setCwd(cwd3);
|
|
690012
690012
|
const server = new Server({
|
|
690013
690013
|
name: "claude/tengu",
|
|
690014
|
-
version: "1.2.
|
|
690014
|
+
version: "1.2.23"
|
|
690015
690015
|
}, {
|
|
690016
690016
|
capabilities: {
|
|
690017
690017
|
tools: {}
|
|
@@ -692537,7 +692537,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692537
692537
|
}
|
|
692538
692538
|
}
|
|
692539
692539
|
logForDiagnosticsNoPII("info", "started", {
|
|
692540
|
-
version: "1.2.
|
|
692540
|
+
version: "1.2.23",
|
|
692541
692541
|
is_native_binary: isInBundledMode()
|
|
692542
692542
|
});
|
|
692543
692543
|
registerCleanup(async () => {
|
|
@@ -693255,7 +693255,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693255
693255
|
pendingHookMessages
|
|
693256
693256
|
}, renderAndRun);
|
|
693257
693257
|
}
|
|
693258
|
-
}).version("1.2.
|
|
693258
|
+
}).version("1.2.23 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
693259
693259
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693260
693260
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
693261
693261
|
if (canUserConfigureAdvisor()) {
|
|
@@ -693721,7 +693721,7 @@ if (false) {}
|
|
|
693721
693721
|
async function main2() {
|
|
693722
693722
|
const args = process.argv.slice(2);
|
|
693723
693723
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
693724
|
-
console.log(`${"1.2.
|
|
693724
|
+
console.log(`${"1.2.23"} (Rayu-CLI)`);
|
|
693725
693725
|
return;
|
|
693726
693726
|
}
|
|
693727
693727
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rayu-dev/rayu-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23",
|
|
4
4
|
"description": "Rayu-CLI — a multi-provider AI coding CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"scripts/preinstall.cjs",
|
|
13
13
|
"scripts/postinstall.cjs"
|
|
14
14
|
],
|
|
15
|
-
|
|
16
15
|
"scripts": {
|
|
17
16
|
"preinstall": "node scripts/preinstall.cjs",
|
|
18
17
|
"postinstall": "node scripts/postinstall.cjs",
|