@rayu-dev/rayu-cli 1.2.24 → 1.2.25
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 +83 -83
- package/package.json +1 -1
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.25"}`;
|
|
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.25"} (${"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.25"}${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.25",
|
|
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.25".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.25",
|
|
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.25"
|
|
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.25");
|
|
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.25"}.${fingerprint}`;
|
|
217804
217804
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
217805
217805
|
const cch = "";
|
|
217806
217806
|
const workload = getWorkload();
|
|
@@ -253001,7 +253001,7 @@ function getEffortLevelDescription(level) {
|
|
|
253001
253001
|
case "high":
|
|
253002
253002
|
return "Comprehensive implementation with extensive testing and documentation";
|
|
253003
253003
|
case "max":
|
|
253004
|
-
return "Maximum capability with deepest reasoning
|
|
253004
|
+
return "Maximum capability with the deepest reasoning";
|
|
253005
253005
|
}
|
|
253006
253006
|
}
|
|
253007
253007
|
function getEffortValueDescription(value) {
|
|
@@ -302322,7 +302322,7 @@ function getTelemetryAttributes() {
|
|
|
302322
302322
|
attributes["session.id"] = sessionId;
|
|
302323
302323
|
}
|
|
302324
302324
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
302325
|
-
attributes["app.version"] = "1.2.
|
|
302325
|
+
attributes["app.version"] = "1.2.25";
|
|
302326
302326
|
}
|
|
302327
302327
|
const oauthAccount = getOauthAccountInfo();
|
|
302328
302328
|
if (oauthAccount) {
|
|
@@ -412680,7 +412680,7 @@ function getInstallationEnv() {
|
|
|
412680
412680
|
return;
|
|
412681
412681
|
}
|
|
412682
412682
|
function getClaudeCodeVersion() {
|
|
412683
|
-
return "1.2.
|
|
412683
|
+
return "1.2.25";
|
|
412684
412684
|
}
|
|
412685
412685
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
412686
412686
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -417918,7 +417918,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
417918
417918
|
const client4 = new Client({
|
|
417919
417919
|
name: "claude-code",
|
|
417920
417920
|
title: "RAYU",
|
|
417921
|
-
version: "1.2.
|
|
417921
|
+
version: "1.2.25",
|
|
417922
417922
|
description: "Anthropic's agentic coding tool",
|
|
417923
417923
|
websiteUrl: PRODUCT_URL
|
|
417924
417924
|
}, {
|
|
@@ -418235,7 +418235,7 @@ var init_client7 = __esm(() => {
|
|
|
418235
418235
|
const client4 = new Client({
|
|
418236
418236
|
name: "claude-code",
|
|
418237
418237
|
title: "RAYU",
|
|
418238
|
-
version: "1.2.
|
|
418238
|
+
version: "1.2.25",
|
|
418239
418239
|
description: "Anthropic's agentic coding tool",
|
|
418240
418240
|
websiteUrl: PRODUCT_URL
|
|
418241
418241
|
}, {
|
|
@@ -433012,7 +433012,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
433012
433012
|
}
|
|
433013
433013
|
function computeFingerprintFromMessages(messages) {
|
|
433014
433014
|
const firstMessageText = extractFirstMessageText(messages);
|
|
433015
|
-
return computeFingerprint(firstMessageText, "1.2.
|
|
433015
|
+
return computeFingerprint(firstMessageText, "1.2.25");
|
|
433016
433016
|
}
|
|
433017
433017
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
433018
433018
|
var init_fingerprint = () => {};
|
|
@@ -433054,7 +433054,7 @@ async function sideQuery(opts) {
|
|
|
433054
433054
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
433055
433055
|
}
|
|
433056
433056
|
const messageText = extractFirstUserMessageText(messages);
|
|
433057
|
-
const fingerprint = computeFingerprint(messageText, "1.2.
|
|
433057
|
+
const fingerprint = computeFingerprint(messageText, "1.2.25");
|
|
433058
433058
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
433059
433059
|
const systemBlocks = [
|
|
433060
433060
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -528019,7 +528019,7 @@ function Feedback({
|
|
|
528019
528019
|
platform: env4.platform,
|
|
528020
528020
|
gitRepo: envInfo.isGit,
|
|
528021
528021
|
terminal: env4.terminal,
|
|
528022
|
-
version: "1.2.
|
|
528022
|
+
version: "1.2.25",
|
|
528023
528023
|
transcript: normalizeMessagesForAPI(messages),
|
|
528024
528024
|
errors: sanitizedErrors,
|
|
528025
528025
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -528211,7 +528211,7 @@ function Feedback({
|
|
|
528211
528211
|
", ",
|
|
528212
528212
|
env4.terminal,
|
|
528213
528213
|
", v",
|
|
528214
|
-
"1.2.
|
|
528214
|
+
"1.2.25"
|
|
528215
528215
|
]
|
|
528216
528216
|
}, undefined, true, undefined, this)
|
|
528217
528217
|
]
|
|
@@ -528317,7 +528317,7 @@ ${sanitizedDescription}
|
|
|
528317
528317
|
` + `**Environment Info**
|
|
528318
528318
|
` + `- Platform: ${env4.platform}
|
|
528319
528319
|
` + `- Terminal: ${env4.terminal}
|
|
528320
|
-
` + `- Version: ${"1.2.
|
|
528320
|
+
` + `- Version: ${"1.2.25"}
|
|
528321
528321
|
` + `- Feedback ID: ${feedbackId}
|
|
528322
528322
|
` + `
|
|
528323
528323
|
**Errors**
|
|
@@ -531156,9 +531156,9 @@ async function assertMinVersion() {
|
|
|
531156
531156
|
if (false) {}
|
|
531157
531157
|
try {
|
|
531158
531158
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
531159
|
-
if (versionConfig.minVersion && lt("1.2.
|
|
531159
|
+
if (versionConfig.minVersion && lt("1.2.25", versionConfig.minVersion)) {
|
|
531160
531160
|
console.error(`
|
|
531161
|
-
It looks like your version of RAYU (${"1.2.
|
|
531161
|
+
It looks like your version of RAYU (${"1.2.25"}) needs an update.
|
|
531162
531162
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
531163
531163
|
|
|
531164
531164
|
To update, please run:
|
|
@@ -531357,7 +531357,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531357
531357
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
531358
531358
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
531359
531359
|
pid: process.pid,
|
|
531360
|
-
currentVersion: "1.2.
|
|
531360
|
+
currentVersion: "1.2.25"
|
|
531361
531361
|
});
|
|
531362
531362
|
return "in_progress";
|
|
531363
531363
|
}
|
|
@@ -531366,7 +531366,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531366
531366
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
531367
531367
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
531368
531368
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
531369
|
-
currentVersion: "1.2.
|
|
531369
|
+
currentVersion: "1.2.25"
|
|
531370
531370
|
});
|
|
531371
531371
|
console.error(`
|
|
531372
531372
|
Error: Windows NPM detected in WSL
|
|
@@ -531901,7 +531901,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
531901
531901
|
}
|
|
531902
531902
|
async function getDoctorDiagnostic() {
|
|
531903
531903
|
const installationType = await getCurrentInstallationType();
|
|
531904
|
-
const version2 = typeof MACRO !== "undefined" ? "1.2.
|
|
531904
|
+
const version2 = typeof MACRO !== "undefined" ? "1.2.25" : "unknown";
|
|
531905
531905
|
const installationPath = await getInstallationPath();
|
|
531906
531906
|
const invokedBinary = getInvokedBinary();
|
|
531907
531907
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -532696,8 +532696,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532696
532696
|
const maxVersion = await getMaxVersion();
|
|
532697
532697
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
532698
532698
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
532699
|
-
if (gte("1.2.
|
|
532700
|
-
logForDebugging(`Native installer: current version ${"1.2.
|
|
532699
|
+
if (gte("1.2.25", maxVersion)) {
|
|
532700
|
+
logForDebugging(`Native installer: current version ${"1.2.25"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
532701
532701
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
532702
532702
|
latency_ms: Date.now() - startTime,
|
|
532703
532703
|
max_version: maxVersion,
|
|
@@ -532708,7 +532708,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532708
532708
|
version2 = maxVersion;
|
|
532709
532709
|
}
|
|
532710
532710
|
}
|
|
532711
|
-
if (!forceReinstall && version2 === "1.2.
|
|
532711
|
+
if (!forceReinstall && version2 === "1.2.25" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
532712
532712
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
532713
532713
|
logEvent("tengu_native_update_complete", {
|
|
532714
532714
|
latency_ms: Date.now() - startTime,
|
|
@@ -533904,7 +533904,7 @@ function buildPrimarySection() {
|
|
|
533904
533904
|
}, undefined, false, undefined, this);
|
|
533905
533905
|
return [{
|
|
533906
533906
|
label: "Version",
|
|
533907
|
-
value: "1.2.
|
|
533907
|
+
value: "1.2.25"
|
|
533908
533908
|
}, {
|
|
533909
533909
|
label: "Session name",
|
|
533910
533910
|
value: nameValue
|
|
@@ -537595,7 +537595,7 @@ function Config({
|
|
|
537595
537595
|
}
|
|
537596
537596
|
}, undefined, false, undefined, this)
|
|
537597
537597
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
537598
|
-
currentVersion: "1.2.
|
|
537598
|
+
currentVersion: "1.2.25",
|
|
537599
537599
|
onChoice: (choice) => {
|
|
537600
537600
|
setShowSubmenu(null);
|
|
537601
537601
|
setTabsHidden(false);
|
|
@@ -537607,7 +537607,7 @@ function Config({
|
|
|
537607
537607
|
autoUpdatesChannel: "stable"
|
|
537608
537608
|
};
|
|
537609
537609
|
if (choice === "stay") {
|
|
537610
|
-
newSettings.minimumVersion = "1.2.
|
|
537610
|
+
newSettings.minimumVersion = "1.2.25";
|
|
537611
537611
|
}
|
|
537612
537612
|
updateSettingsForSource("userSettings", newSettings);
|
|
537613
537613
|
setSettingsData((prev_27) => ({
|
|
@@ -545667,7 +545667,7 @@ function HelpV2(t0) {
|
|
|
545667
545667
|
let t6;
|
|
545668
545668
|
if ($3[31] !== tabs) {
|
|
545669
545669
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
545670
|
-
title: `Rayu-CLI v${"1.2.
|
|
545670
|
+
title: `Rayu-CLI v${"1.2.25"}`,
|
|
545671
545671
|
color: "professionalBlue",
|
|
545672
545672
|
defaultTab: "general",
|
|
545673
545673
|
children: tabs
|
|
@@ -565631,7 +565631,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
565631
565631
|
}
|
|
565632
565632
|
return [];
|
|
565633
565633
|
}
|
|
565634
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.
|
|
565634
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.25") {
|
|
565635
565635
|
if (false) {}
|
|
565636
565636
|
const cachedChangelog = await getStoredChangelog();
|
|
565637
565637
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -565644,7 +565644,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.24")
|
|
|
565644
565644
|
releaseNotes
|
|
565645
565645
|
};
|
|
565646
565646
|
}
|
|
565647
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.
|
|
565647
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.25") {
|
|
565648
565648
|
if (false) {}
|
|
565649
565649
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
565650
565650
|
return {
|
|
@@ -565772,7 +565772,7 @@ function getRecentActivitySync() {
|
|
|
565772
565772
|
return cachedActivity;
|
|
565773
565773
|
}
|
|
565774
565774
|
function getLogoDisplayData() {
|
|
565775
|
-
const version2 = process.env.DEMO_VERSION ?? "1.2.
|
|
565775
|
+
const version2 = process.env.DEMO_VERSION ?? "1.2.25";
|
|
565776
565776
|
const serverUrl = getDirectConnectServerUrl();
|
|
565777
565777
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
565778
565778
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -567053,7 +567053,7 @@ function LogoV2() {
|
|
|
567053
567053
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
567054
567054
|
t2 = () => {
|
|
567055
567055
|
const currentConfig = getGlobalConfig();
|
|
567056
|
-
if (currentConfig.lastReleaseNotesSeen === "1.2.
|
|
567056
|
+
if (currentConfig.lastReleaseNotesSeen === "1.2.25") {
|
|
567057
567057
|
return;
|
|
567058
567058
|
}
|
|
567059
567059
|
saveGlobalConfig(_temp327);
|
|
@@ -567729,12 +567729,12 @@ function LogoV2() {
|
|
|
567729
567729
|
return t41;
|
|
567730
567730
|
}
|
|
567731
567731
|
function _temp327(current) {
|
|
567732
|
-
if (current.lastReleaseNotesSeen === "1.2.
|
|
567732
|
+
if (current.lastReleaseNotesSeen === "1.2.25") {
|
|
567733
567733
|
return current;
|
|
567734
567734
|
}
|
|
567735
567735
|
return {
|
|
567736
567736
|
...current,
|
|
567737
|
-
lastReleaseNotesSeen: "1.2.
|
|
567737
|
+
lastReleaseNotesSeen: "1.2.25"
|
|
567738
567738
|
};
|
|
567739
567739
|
}
|
|
567740
567740
|
function _temp241(s_0) {
|
|
@@ -592536,7 +592536,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
592536
592536
|
smapsRollup,
|
|
592537
592537
|
platform: process.platform,
|
|
592538
592538
|
nodeVersion: process.version,
|
|
592539
|
-
ccVersion: "1.2.
|
|
592539
|
+
ccVersion: "1.2.25"
|
|
592540
592540
|
};
|
|
592541
592541
|
}
|
|
592542
592542
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -593064,7 +593064,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593064
593064
|
var call47 = async () => {
|
|
593065
593065
|
return {
|
|
593066
593066
|
type: "text",
|
|
593067
|
-
value: "1.2.
|
|
593067
|
+
value: "1.2.25"
|
|
593068
593068
|
};
|
|
593069
593069
|
}, version2, version_default;
|
|
593070
593070
|
var init_version = __esm(() => {
|
|
@@ -597483,7 +597483,7 @@ Effort levels:
|
|
|
597483
597483
|
- low: Quick, straightforward implementation
|
|
597484
597484
|
- medium: Balanced approach with standard testing
|
|
597485
597485
|
- high: Comprehensive implementation with extensive testing
|
|
597486
|
-
- max: Maximum capability with deepest reasoning
|
|
597486
|
+
- max: Maximum capability with the deepest reasoning
|
|
597487
597487
|
- auto: Use the default effort level for your model`);
|
|
597488
597488
|
return;
|
|
597489
597489
|
}
|
|
@@ -601891,7 +601891,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601891
601891
|
</html>`;
|
|
601892
601892
|
}
|
|
601893
601893
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601894
|
-
const version3 = typeof MACRO !== "undefined" ? "1.2.
|
|
601894
|
+
const version3 = typeof MACRO !== "undefined" ? "1.2.25" : "unknown";
|
|
601895
601895
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
601896
601896
|
const facets_summary = {
|
|
601897
601897
|
total: facets.size,
|
|
@@ -605823,7 +605823,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
605823
605823
|
init_settings2();
|
|
605824
605824
|
init_slowOperations();
|
|
605825
605825
|
init_uuid();
|
|
605826
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.2.
|
|
605826
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.2.25" : "unknown";
|
|
605827
605827
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
605828
605828
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
605829
605829
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -607042,7 +607042,7 @@ var init_filesystem = __esm(() => {
|
|
|
607042
607042
|
});
|
|
607043
607043
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
607044
607044
|
const nonce = randomBytes18(16).toString("hex");
|
|
607045
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.2.
|
|
607045
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.2.25", nonce);
|
|
607046
607046
|
});
|
|
607047
607047
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
607048
607048
|
});
|
|
@@ -612157,7 +612157,7 @@ __export(exports_update, {
|
|
|
612157
612157
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
612158
612158
|
import { homedir as homedir33 } from "os";
|
|
612159
612159
|
async function update() {
|
|
612160
|
-
writeToStdout(`Current version: ${"1.2.
|
|
612160
|
+
writeToStdout(`Current version: ${"1.2.25"}
|
|
612161
612161
|
`);
|
|
612162
612162
|
const isBundled = isInBundledMode();
|
|
612163
612163
|
if (isBundled) {
|
|
@@ -612183,13 +612183,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
612183
612183
|
process.exit(1);
|
|
612184
612184
|
return;
|
|
612185
612185
|
}
|
|
612186
|
-
if (latestVersion === "1.2.
|
|
612186
|
+
if (latestVersion === "1.2.25") {
|
|
612187
612187
|
writeToStdout(source_default.green(`
|
|
612188
|
-
Rayu CLI is up to date (${"1.2.
|
|
612188
|
+
Rayu CLI is up to date (${"1.2.25"})
|
|
612189
612189
|
`));
|
|
612190
612190
|
process.exit(0);
|
|
612191
612191
|
}
|
|
612192
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.
|
|
612192
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.25"})
|
|
612193
612193
|
`);
|
|
612194
612194
|
writeToStdout(`Installing update...
|
|
612195
612195
|
|
|
@@ -612213,7 +612213,7 @@ Try manually:
|
|
|
612213
612213
|
return;
|
|
612214
612214
|
}
|
|
612215
612215
|
writeToStdout(source_default.green(`
|
|
612216
|
-
Successfully updated from ${"1.2.
|
|
612216
|
+
Successfully updated from ${"1.2.25"} to ${latestVersion}
|
|
612217
612217
|
`));
|
|
612218
612218
|
process.exit(0);
|
|
612219
612219
|
}
|
|
@@ -612227,14 +612227,14 @@ async function updateNativeBinary() {
|
|
|
612227
612227
|
} catch {
|
|
612228
612228
|
latestVersion = "";
|
|
612229
612229
|
}
|
|
612230
|
-
if (latestVersion && latestVersion === "1.2.
|
|
612230
|
+
if (latestVersion && latestVersion === "1.2.25") {
|
|
612231
612231
|
writeToStdout(source_default.green(`
|
|
612232
|
-
Rayu CLI is up to date (1.2.
|
|
612232
|
+
Rayu CLI is up to date (1.2.25)
|
|
612233
612233
|
`));
|
|
612234
612234
|
process.exit(0);
|
|
612235
612235
|
}
|
|
612236
612236
|
if (latestVersion) {
|
|
612237
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.2.
|
|
612237
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.2.25)
|
|
612238
612238
|
`);
|
|
612239
612239
|
}
|
|
612240
612240
|
writeToStdout(`Downloading and installing update...
|
|
@@ -612249,13 +612249,13 @@ Rayu CLI is up to date (1.2.24)
|
|
|
612249
612249
|
return;
|
|
612250
612250
|
}
|
|
612251
612251
|
writeToStdout(source_default.green(`
|
|
612252
|
-
Rayu CLI is up to date (1.2.
|
|
612252
|
+
Rayu CLI is up to date (1.2.25)
|
|
612253
612253
|
`));
|
|
612254
612254
|
process.exit(0);
|
|
612255
612255
|
}
|
|
612256
612256
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
612257
612257
|
writeToStdout(source_default.green(`
|
|
612258
|
-
Successfully updated from 1.2.
|
|
612258
|
+
Successfully updated from 1.2.25 to ${updatedTo}
|
|
612259
612259
|
`));
|
|
612260
612260
|
writeToStdout(`Restart your terminal to use the new version.
|
|
612261
612261
|
`);
|
|
@@ -612286,7 +612286,7 @@ __export(exports_uninstall, {
|
|
|
612286
612286
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
612287
612287
|
import { homedir as homedir34 } from "os";
|
|
612288
612288
|
async function uninstall() {
|
|
612289
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.2.
|
|
612289
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.2.25"})...
|
|
612290
612290
|
`);
|
|
612291
612291
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
612292
612292
|
|
|
@@ -612309,7 +612309,7 @@ Try running manually:
|
|
|
612309
612309
|
process.exit(1);
|
|
612310
612310
|
}
|
|
612311
612311
|
writeToStdout(source_default.green(`
|
|
612312
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.
|
|
612312
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.25"}
|
|
612313
612313
|
`));
|
|
612314
612314
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
612315
612315
|
`);
|
|
@@ -612361,7 +612361,7 @@ function showFirstRunWelcome() {
|
|
|
612361
612361
|
`);
|
|
612362
612362
|
try {
|
|
612363
612363
|
mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
|
|
612364
|
-
writeFileSync15(markerPath(), "1.2.
|
|
612364
|
+
writeFileSync15(markerPath(), "1.2.25", "utf8");
|
|
612365
612365
|
} catch {}
|
|
612366
612366
|
}
|
|
612367
612367
|
var init_firstRun = __esm(() => {
|
|
@@ -624204,7 +624204,7 @@ async function initializeBetaTracing(resource) {
|
|
|
624204
624204
|
});
|
|
624205
624205
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624206
624206
|
setLoggerProvider(loggerProvider);
|
|
624207
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624207
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.25");
|
|
624208
624208
|
setEventLogger(eventLogger);
|
|
624209
624209
|
process.on("beforeExit", async () => {
|
|
624210
624210
|
await loggerProvider?.forceFlush();
|
|
@@ -624244,7 +624244,7 @@ async function initializeTelemetry() {
|
|
|
624244
624244
|
const platform4 = getPlatform();
|
|
624245
624245
|
const baseAttributes = {
|
|
624246
624246
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
624247
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.
|
|
624247
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.25"
|
|
624248
624248
|
};
|
|
624249
624249
|
if (platform4 === "wsl") {
|
|
624250
624250
|
const wslVersion = getWslVersion();
|
|
@@ -624289,7 +624289,7 @@ async function initializeTelemetry() {
|
|
|
624289
624289
|
} catch {}
|
|
624290
624290
|
};
|
|
624291
624291
|
registerCleanup(shutdownTelemetry2);
|
|
624292
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.
|
|
624292
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.25");
|
|
624293
624293
|
}
|
|
624294
624294
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
624295
624295
|
resource,
|
|
@@ -624309,7 +624309,7 @@ async function initializeTelemetry() {
|
|
|
624309
624309
|
});
|
|
624310
624310
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624311
624311
|
setLoggerProvider(loggerProvider);
|
|
624312
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624312
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.25");
|
|
624313
624313
|
setEventLogger(eventLogger);
|
|
624314
624314
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
624315
624315
|
process.on("beforeExit", async () => {
|
|
@@ -624371,7 +624371,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
624371
624371
|
}
|
|
624372
624372
|
};
|
|
624373
624373
|
registerCleanup(shutdownTelemetry);
|
|
624374
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.
|
|
624374
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.25");
|
|
624375
624375
|
}
|
|
624376
624376
|
async function flushTelemetry() {
|
|
624377
624377
|
const meterProvider = getMeterProvider();
|
|
@@ -625884,7 +625884,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625884
625884
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625885
625885
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
625886
625886
|
betas: getSdkBetas(),
|
|
625887
|
-
claude_code_version: "1.2.
|
|
625887
|
+
claude_code_version: "1.2.25",
|
|
625888
625888
|
output_style: outputStyle2,
|
|
625889
625889
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
625890
625890
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -642093,7 +642093,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
642093
642093
|
function getSemverPart(version3) {
|
|
642094
642094
|
return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
|
|
642095
642095
|
}
|
|
642096
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.2.
|
|
642096
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.2.25") {
|
|
642097
642097
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react218.useState(() => getSemverPart(initialVersion));
|
|
642098
642098
|
if (!updatedVersion) {
|
|
642099
642099
|
return null;
|
|
@@ -642133,7 +642133,7 @@ function AutoUpdater({
|
|
|
642133
642133
|
return;
|
|
642134
642134
|
}
|
|
642135
642135
|
if (false) {}
|
|
642136
|
-
const currentVersion = "1.2.
|
|
642136
|
+
const currentVersion = "1.2.25";
|
|
642137
642137
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
642138
642138
|
let latestVersion = await getLatestVersion(channel);
|
|
642139
642139
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -642346,12 +642346,12 @@ function NativeAutoUpdater({
|
|
|
642346
642346
|
logEvent("tengu_native_auto_updater_start", {});
|
|
642347
642347
|
try {
|
|
642348
642348
|
const maxVersion = await getMaxVersion();
|
|
642349
|
-
if (maxVersion && gt("1.2.
|
|
642349
|
+
if (maxVersion && gt("1.2.25", maxVersion)) {
|
|
642350
642350
|
const msg = await getMaxVersionMessage();
|
|
642351
642351
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
642352
642352
|
}
|
|
642353
642353
|
const result = await installLatest(channel);
|
|
642354
|
-
const currentVersion = "1.2.
|
|
642354
|
+
const currentVersion = "1.2.25";
|
|
642355
642355
|
const latencyMs = Date.now() - startTime;
|
|
642356
642356
|
if (result.lockFailed) {
|
|
642357
642357
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -642488,17 +642488,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642488
642488
|
const maxVersion = await getMaxVersion();
|
|
642489
642489
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
642490
642490
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
642491
|
-
if (gte("1.2.
|
|
642492
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.
|
|
642491
|
+
if (gte("1.2.25", maxVersion)) {
|
|
642492
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.25"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
642493
642493
|
setUpdateAvailable(false);
|
|
642494
642494
|
return;
|
|
642495
642495
|
}
|
|
642496
642496
|
latest = maxVersion;
|
|
642497
642497
|
}
|
|
642498
|
-
const hasUpdate = latest && !gte("1.2.
|
|
642498
|
+
const hasUpdate = latest && !gte("1.2.25", latest) && !shouldSkipVersion(latest);
|
|
642499
642499
|
setUpdateAvailable(!!hasUpdate);
|
|
642500
642500
|
if (hasUpdate) {
|
|
642501
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.
|
|
642501
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.25"} -> ${latest}`);
|
|
642502
642502
|
}
|
|
642503
642503
|
};
|
|
642504
642504
|
$3[0] = t1;
|
|
@@ -642532,7 +642532,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642532
642532
|
wrap: "truncate",
|
|
642533
642533
|
children: [
|
|
642534
642534
|
"currentVersion: ",
|
|
642535
|
-
"1.2.
|
|
642535
|
+
"1.2.25"
|
|
642536
642536
|
]
|
|
642537
642537
|
}, undefined, true, undefined, this);
|
|
642538
642538
|
$3[3] = verbose;
|
|
@@ -650698,7 +650698,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
650698
650698
|
project_dir: getOriginalCwd(),
|
|
650699
650699
|
added_dirs: addedDirs
|
|
650700
650700
|
},
|
|
650701
|
-
version: "1.2.
|
|
650701
|
+
version: "1.2.25",
|
|
650702
650702
|
output_style: {
|
|
650703
650703
|
name: outputStyleName
|
|
650704
650704
|
},
|
|
@@ -662068,7 +662068,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
662068
662068
|
} catch {}
|
|
662069
662069
|
const data = {
|
|
662070
662070
|
trigger,
|
|
662071
|
-
version: "1.2.
|
|
662071
|
+
version: "1.2.25",
|
|
662072
662072
|
platform: process.platform,
|
|
662073
662073
|
transcript,
|
|
662074
662074
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -674117,7 +674117,7 @@ function WelcomeV2() {
|
|
|
674117
674117
|
dimColor: true,
|
|
674118
674118
|
children: [
|
|
674119
674119
|
"v",
|
|
674120
|
-
"1.2.
|
|
674120
|
+
"1.2.25"
|
|
674121
674121
|
]
|
|
674122
674122
|
}, undefined, true, undefined, this)
|
|
674123
674123
|
]
|
|
@@ -675834,7 +675834,7 @@ function completeOnboarding() {
|
|
|
675834
675834
|
saveGlobalConfig((current) => ({
|
|
675835
675835
|
...current,
|
|
675836
675836
|
hasCompletedOnboarding: true,
|
|
675837
|
-
lastOnboardingVersion: "1.2.
|
|
675837
|
+
lastOnboardingVersion: "1.2.25"
|
|
675838
675838
|
}));
|
|
675839
675839
|
}
|
|
675840
675840
|
function showDialog(root2, renderer) {
|
|
@@ -680134,7 +680134,7 @@ function appendToLog(path30, message) {
|
|
|
680134
680134
|
cwd: getFsImplementation().cwd(),
|
|
680135
680135
|
userType: "external",
|
|
680136
680136
|
sessionId: getSessionId(),
|
|
680137
|
-
version: "1.2.
|
|
680137
|
+
version: "1.2.25"
|
|
680138
680138
|
};
|
|
680139
680139
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
680140
680140
|
}
|
|
@@ -684238,8 +684238,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
684238
684238
|
}
|
|
684239
684239
|
async function checkEnvLessBridgeMinVersion() {
|
|
684240
684240
|
const cfg = await getEnvLessBridgeConfig();
|
|
684241
|
-
if (cfg.min_version && lt("1.2.
|
|
684242
|
-
return `Your version of RAYU (${"1.2.
|
|
684241
|
+
if (cfg.min_version && lt("1.2.25", cfg.min_version)) {
|
|
684242
|
+
return `Your version of RAYU (${"1.2.25"}) is too old for Remote Control.
|
|
684243
684243
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
684244
684244
|
}
|
|
684245
684245
|
return null;
|
|
@@ -684713,7 +684713,7 @@ async function initBridgeCore(params) {
|
|
|
684713
684713
|
const rawApi = createBridgeApiClient({
|
|
684714
684714
|
baseUrl,
|
|
684715
684715
|
getAccessToken,
|
|
684716
|
-
runnerVersion: "1.2.
|
|
684716
|
+
runnerVersion: "1.2.25",
|
|
684717
684717
|
onDebug: logForDebugging,
|
|
684718
684718
|
onAuth401,
|
|
684719
684719
|
getTrustedDeviceToken
|
|
@@ -690075,7 +690075,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
690075
690075
|
setCwd(cwd3);
|
|
690076
690076
|
const server = new Server({
|
|
690077
690077
|
name: "claude/tengu",
|
|
690078
|
-
version: "1.2.
|
|
690078
|
+
version: "1.2.25"
|
|
690079
690079
|
}, {
|
|
690080
690080
|
capabilities: {
|
|
690081
690081
|
tools: {}
|
|
@@ -692601,7 +692601,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692601
692601
|
}
|
|
692602
692602
|
}
|
|
692603
692603
|
logForDiagnosticsNoPII("info", "started", {
|
|
692604
|
-
version: "1.2.
|
|
692604
|
+
version: "1.2.25",
|
|
692605
692605
|
is_native_binary: isInBundledMode()
|
|
692606
692606
|
});
|
|
692607
692607
|
registerCleanup(async () => {
|
|
@@ -693319,7 +693319,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693319
693319
|
pendingHookMessages
|
|
693320
693320
|
}, renderAndRun);
|
|
693321
693321
|
}
|
|
693322
|
-
}).version("1.2.
|
|
693322
|
+
}).version("1.2.25 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
693323
693323
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693324
693324
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
693325
693325
|
if (canUserConfigureAdvisor()) {
|
|
@@ -693785,7 +693785,7 @@ if (false) {}
|
|
|
693785
693785
|
async function main2() {
|
|
693786
693786
|
const args = process.argv.slice(2);
|
|
693787
693787
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
693788
|
-
console.log(`${"1.2.
|
|
693788
|
+
console.log(`${"1.2.25"} (Rayu-CLI)`);
|
|
693789
693789
|
return;
|
|
693790
693790
|
}
|
|
693791
693791
|
const {
|