@rayu-dev/rayu-cli 1.5.11 → 1.5.12
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 +78 -78
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -149047,7 +149047,7 @@ var init_isEqual = __esm(() => {
|
|
|
149047
149047
|
|
|
149048
149048
|
// src/utils/userAgent.ts
|
|
149049
149049
|
function getRayuUserAgent() {
|
|
149050
|
-
return `rayu/${"1.5.
|
|
149050
|
+
return `rayu/${"1.5.12"}`;
|
|
149051
149051
|
}
|
|
149052
149052
|
var getClaudeCodeUserAgent;
|
|
149053
149053
|
var init_userAgent = __esm(() => {
|
|
@@ -149073,7 +149073,7 @@ function getUserAgent() {
|
|
|
149073
149073
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
149074
149074
|
const workload = getWorkload();
|
|
149075
149075
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
149076
|
-
return `rayu/${"1.5.
|
|
149076
|
+
return `rayu/${"1.5.12"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
149077
149077
|
}
|
|
149078
149078
|
function getMCPUserAgent() {
|
|
149079
149079
|
const parts = [];
|
|
@@ -149087,7 +149087,7 @@ function getMCPUserAgent() {
|
|
|
149087
149087
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
149088
149088
|
}
|
|
149089
149089
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
149090
|
-
return `rayu/${"1.5.
|
|
149090
|
+
return `rayu/${"1.5.12"}${suffix}`;
|
|
149091
149091
|
}
|
|
149092
149092
|
function getWebFetchUserAgent() {
|
|
149093
149093
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -191835,7 +191835,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
191835
191835
|
if (!isAttributionHeaderEnabled()) {
|
|
191836
191836
|
return "";
|
|
191837
191837
|
}
|
|
191838
|
-
const version2 = `${"1.5.
|
|
191838
|
+
const version2 = `${"1.5.12"}.${fingerprint}`;
|
|
191839
191839
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
191840
191840
|
const cch = "";
|
|
191841
191841
|
const workload = getWorkload();
|
|
@@ -245806,7 +245806,7 @@ var init_metadata = __esm(() => {
|
|
|
245806
245806
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
245807
245807
|
WHITESPACE_REGEX = /\s+/;
|
|
245808
245808
|
getVersionBase = memoize_default(() => {
|
|
245809
|
-
const match = "1.5.
|
|
245809
|
+
const match = "1.5.12".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
245810
245810
|
return match ? match[0] : undefined;
|
|
245811
245811
|
});
|
|
245812
245812
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -245845,7 +245845,7 @@ var init_metadata = __esm(() => {
|
|
|
245845
245845
|
},
|
|
245846
245846
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
245847
245847
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
245848
|
-
version: "1.5.
|
|
245848
|
+
version: "1.5.12",
|
|
245849
245849
|
versionBase: getVersionBase(),
|
|
245850
245850
|
buildTime: "",
|
|
245851
245851
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -277961,7 +277961,7 @@ function getTelemetryAttributes() {
|
|
|
277961
277961
|
attributes["session.id"] = sessionId;
|
|
277962
277962
|
}
|
|
277963
277963
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
277964
|
-
attributes["app.version"] = "1.5.
|
|
277964
|
+
attributes["app.version"] = "1.5.12";
|
|
277965
277965
|
}
|
|
277966
277966
|
const oauthAccount = getOauthAccountInfo();
|
|
277967
277967
|
if (oauthAccount) {
|
|
@@ -388318,7 +388318,7 @@ function getInstallationEnv() {
|
|
|
388318
388318
|
return;
|
|
388319
388319
|
}
|
|
388320
388320
|
function getClaudeCodeVersion() {
|
|
388321
|
-
return "1.5.
|
|
388321
|
+
return "1.5.12";
|
|
388322
388322
|
}
|
|
388323
388323
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
388324
388324
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -393556,7 +393556,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
393556
393556
|
const client = new Client({
|
|
393557
393557
|
name: "claude-code",
|
|
393558
393558
|
title: "RAYU",
|
|
393559
|
-
version: "1.5.
|
|
393559
|
+
version: "1.5.12",
|
|
393560
393560
|
description: "Anthropic's agentic coding tool",
|
|
393561
393561
|
websiteUrl: PRODUCT_URL
|
|
393562
393562
|
}, {
|
|
@@ -393873,7 +393873,7 @@ var init_client5 = __esm(() => {
|
|
|
393873
393873
|
const client = new Client({
|
|
393874
393874
|
name: "claude-code",
|
|
393875
393875
|
title: "RAYU",
|
|
393876
|
-
version: "1.5.
|
|
393876
|
+
version: "1.5.12",
|
|
393877
393877
|
description: "Anthropic's agentic coding tool",
|
|
393878
393878
|
websiteUrl: PRODUCT_URL
|
|
393879
393879
|
}, {
|
|
@@ -408692,7 +408692,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
408692
408692
|
}
|
|
408693
408693
|
function computeFingerprintFromMessages(messages) {
|
|
408694
408694
|
const firstMessageText = extractFirstMessageText(messages);
|
|
408695
|
-
return computeFingerprint(firstMessageText, "1.5.
|
|
408695
|
+
return computeFingerprint(firstMessageText, "1.5.12");
|
|
408696
408696
|
}
|
|
408697
408697
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
408698
408698
|
var init_fingerprint = () => {};
|
|
@@ -408734,7 +408734,7 @@ async function sideQuery(opts) {
|
|
|
408734
408734
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
408735
408735
|
}
|
|
408736
408736
|
const messageText = extractFirstUserMessageText(messages);
|
|
408737
|
-
const fingerprint = computeFingerprint(messageText, "1.5.
|
|
408737
|
+
const fingerprint = computeFingerprint(messageText, "1.5.12");
|
|
408738
408738
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
408739
408739
|
const systemBlocks = [
|
|
408740
408740
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -508281,9 +508281,9 @@ async function assertMinVersion() {
|
|
|
508281
508281
|
if (false) {}
|
|
508282
508282
|
try {
|
|
508283
508283
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
508284
|
-
if (versionConfig.minVersion && lt("1.5.
|
|
508284
|
+
if (versionConfig.minVersion && lt("1.5.12", versionConfig.minVersion)) {
|
|
508285
508285
|
console.error(`
|
|
508286
|
-
It looks like your version of RAYU (${"1.5.
|
|
508286
|
+
It looks like your version of RAYU (${"1.5.12"}) needs an update.
|
|
508287
508287
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
508288
508288
|
|
|
508289
508289
|
To update, please run:
|
|
@@ -508509,7 +508509,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
508509
508509
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
508510
508510
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
508511
508511
|
pid: process.pid,
|
|
508512
|
-
currentVersion: "1.5.
|
|
508512
|
+
currentVersion: "1.5.12"
|
|
508513
508513
|
});
|
|
508514
508514
|
return "in_progress";
|
|
508515
508515
|
}
|
|
@@ -508518,7 +508518,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
508518
508518
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
508519
508519
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
508520
508520
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
508521
|
-
currentVersion: "1.5.
|
|
508521
|
+
currentVersion: "1.5.12"
|
|
508522
508522
|
});
|
|
508523
508523
|
console.error(`
|
|
508524
508524
|
Error: Windows NPM detected in WSL
|
|
@@ -509050,7 +509050,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
509050
509050
|
}
|
|
509051
509051
|
async function getDoctorDiagnostic() {
|
|
509052
509052
|
const installationType = await getCurrentInstallationType();
|
|
509053
|
-
const version2 = typeof MACRO !== "undefined" ? "1.5.
|
|
509053
|
+
const version2 = typeof MACRO !== "undefined" ? "1.5.12" : "unknown";
|
|
509054
509054
|
const installationPath = await getInstallationPath();
|
|
509055
509055
|
const invokedBinary = getInvokedBinary();
|
|
509056
509056
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -509845,8 +509845,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
509845
509845
|
const maxVersion = await getMaxVersion();
|
|
509846
509846
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
509847
509847
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
509848
|
-
if (gte("1.5.
|
|
509849
|
-
logForDebugging(`Native installer: current version ${"1.5.
|
|
509848
|
+
if (gte("1.5.12", maxVersion)) {
|
|
509849
|
+
logForDebugging(`Native installer: current version ${"1.5.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
509850
509850
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
509851
509851
|
latency_ms: Date.now() - startTime2,
|
|
509852
509852
|
max_version: maxVersion,
|
|
@@ -509857,7 +509857,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
509857
509857
|
version2 = maxVersion;
|
|
509858
509858
|
}
|
|
509859
509859
|
}
|
|
509860
|
-
if (!forceReinstall && version2 === "1.5.
|
|
509860
|
+
if (!forceReinstall && version2 === "1.5.12" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
509861
509861
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
509862
509862
|
logEvent("tengu_native_update_complete", {
|
|
509863
509863
|
latency_ms: Date.now() - startTime2,
|
|
@@ -511065,7 +511065,7 @@ function buildPrimarySection() {
|
|
|
511065
511065
|
});
|
|
511066
511066
|
return [{
|
|
511067
511067
|
label: "Version",
|
|
511068
|
-
value: "1.5.
|
|
511068
|
+
value: "1.5.12"
|
|
511069
511069
|
}, {
|
|
511070
511070
|
label: "Session name",
|
|
511071
511071
|
value: nameValue
|
|
@@ -514736,7 +514736,7 @@ function Config({
|
|
|
514736
514736
|
}
|
|
514737
514737
|
})
|
|
514738
514738
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime168.jsx(ChannelDowngradeDialog, {
|
|
514739
|
-
currentVersion: "1.5.
|
|
514739
|
+
currentVersion: "1.5.12",
|
|
514740
514740
|
onChoice: (choice) => {
|
|
514741
514741
|
setShowSubmenu(null);
|
|
514742
514742
|
setTabsHidden(false);
|
|
@@ -514748,7 +514748,7 @@ function Config({
|
|
|
514748
514748
|
autoUpdatesChannel: "stable"
|
|
514749
514749
|
};
|
|
514750
514750
|
if (choice === "stay") {
|
|
514751
|
-
newSettings.minimumVersion = "1.5.
|
|
514751
|
+
newSettings.minimumVersion = "1.5.12";
|
|
514752
514752
|
}
|
|
514753
514753
|
updateSettingsForSource("userSettings", newSettings);
|
|
514754
514754
|
setSettingsData((prev_27) => ({
|
|
@@ -522809,7 +522809,7 @@ function HelpV2(t0) {
|
|
|
522809
522809
|
let t6;
|
|
522810
522810
|
if ($3[31] !== tabs) {
|
|
522811
522811
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
522812
|
-
title: `Rayu-CLI v${"1.5.
|
|
522812
|
+
title: `Rayu-CLI v${"1.5.12"}`,
|
|
522813
522813
|
color: "professionalBlue",
|
|
522814
522814
|
defaultTab: "general",
|
|
522815
522815
|
children: tabs
|
|
@@ -543849,7 +543849,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
543849
543849
|
}
|
|
543850
543850
|
return [];
|
|
543851
543851
|
}
|
|
543852
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.
|
|
543852
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.12") {
|
|
543853
543853
|
if (false) {}
|
|
543854
543854
|
const cachedChangelog = await getStoredChangelog();
|
|
543855
543855
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -543862,7 +543862,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.5.11")
|
|
|
543862
543862
|
releaseNotes
|
|
543863
543863
|
};
|
|
543864
543864
|
}
|
|
543865
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.
|
|
543865
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.5.12") {
|
|
543866
543866
|
if (false) {}
|
|
543867
543867
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
543868
543868
|
return {
|
|
@@ -543990,7 +543990,7 @@ function getRecentActivitySync() {
|
|
|
543990
543990
|
return cachedActivity;
|
|
543991
543991
|
}
|
|
543992
543992
|
function getLogoDisplayData() {
|
|
543993
|
-
const version2 = process.env.DEMO_VERSION ?? "1.5.
|
|
543993
|
+
const version2 = process.env.DEMO_VERSION ?? "1.5.12";
|
|
543994
543994
|
const serverUrl = getDirectConnectServerUrl();
|
|
543995
543995
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
543996
543996
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -545155,7 +545155,7 @@ function LogoV2() {
|
|
|
545155
545155
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
545156
545156
|
t2 = () => {
|
|
545157
545157
|
const currentConfig = getGlobalConfig();
|
|
545158
|
-
if (currentConfig.lastReleaseNotesSeen === "1.5.
|
|
545158
|
+
if (currentConfig.lastReleaseNotesSeen === "1.5.12") {
|
|
545159
545159
|
return;
|
|
545160
545160
|
}
|
|
545161
545161
|
saveGlobalConfig(_temp327);
|
|
@@ -545634,7 +545634,7 @@ function LogoV2() {
|
|
|
545634
545634
|
t24 = $3[61];
|
|
545635
545635
|
}
|
|
545636
545636
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
545637
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.
|
|
545637
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.5.12") ? [createUpdateAvailableFeed("1.5.12", _latestNpm)] : [];
|
|
545638
545638
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_runtime236.jsx(FeedColumn, {
|
|
545639
545639
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
545640
545640
|
maxWidth: rightWidth
|
|
@@ -545834,12 +545834,12 @@ function LogoV2() {
|
|
|
545834
545834
|
return t41;
|
|
545835
545835
|
}
|
|
545836
545836
|
function _temp327(current) {
|
|
545837
|
-
if (current.lastReleaseNotesSeen === "1.5.
|
|
545837
|
+
if (current.lastReleaseNotesSeen === "1.5.12") {
|
|
545838
545838
|
return current;
|
|
545839
545839
|
}
|
|
545840
545840
|
return {
|
|
545841
545841
|
...current,
|
|
545842
|
-
lastReleaseNotesSeen: "1.5.
|
|
545842
|
+
lastReleaseNotesSeen: "1.5.12"
|
|
545843
545843
|
};
|
|
545844
545844
|
}
|
|
545845
545845
|
function _temp241(s_0) {
|
|
@@ -570838,7 +570838,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
570838
570838
|
smapsRollup,
|
|
570839
570839
|
platform: process.platform,
|
|
570840
570840
|
nodeVersion: process.version,
|
|
570841
|
-
ccVersion: "1.5.
|
|
570841
|
+
ccVersion: "1.5.12"
|
|
570842
570842
|
};
|
|
570843
570843
|
}
|
|
570844
570844
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -571360,7 +571360,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
571360
571360
|
var call50 = async () => {
|
|
571361
571361
|
return {
|
|
571362
571362
|
type: "text",
|
|
571363
|
-
value: "1.5.
|
|
571363
|
+
value: "1.5.12"
|
|
571364
571364
|
};
|
|
571365
571365
|
}, version2, version_default;
|
|
571366
571366
|
var init_version = __esm(() => {
|
|
@@ -575980,7 +575980,7 @@ function SearchableModelPicker({
|
|
|
575980
575980
|
children: [
|
|
575981
575981
|
/* @__PURE__ */ jsx_runtime326.jsx(ThemedText, {
|
|
575982
575982
|
bold: true,
|
|
575983
|
-
children: title ?? "Select a model"
|
|
575983
|
+
children: title ?? "Select a model (/connect to add more models)"
|
|
575984
575984
|
}),
|
|
575985
575985
|
headerTip ? /* @__PURE__ */ jsx_runtime326.jsx(ThemedText, {
|
|
575986
575986
|
dimColor: true,
|
|
@@ -581872,7 +581872,7 @@ function generateHtmlReport(data, insights) {
|
|
|
581872
581872
|
</html>`;
|
|
581873
581873
|
}
|
|
581874
581874
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
581875
|
-
const version3 = typeof MACRO !== "undefined" ? "1.5.
|
|
581875
|
+
const version3 = typeof MACRO !== "undefined" ? "1.5.12" : "unknown";
|
|
581876
581876
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
581877
581877
|
const facets_summary = {
|
|
581878
581878
|
total: facets.size,
|
|
@@ -585786,7 +585786,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
585786
585786
|
init_settings2();
|
|
585787
585787
|
init_slowOperations();
|
|
585788
585788
|
init_uuid();
|
|
585789
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.5.
|
|
585789
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.5.12" : "unknown";
|
|
585790
585790
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
585791
585791
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
585792
585792
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -587004,7 +587004,7 @@ var init_filesystem = __esm(() => {
|
|
|
587004
587004
|
});
|
|
587005
587005
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
587006
587006
|
const nonce = randomBytes20(16).toString("hex");
|
|
587007
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.5.
|
|
587007
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.5.12", nonce);
|
|
587008
587008
|
});
|
|
587009
587009
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
587010
587010
|
});
|
|
@@ -592404,7 +592404,7 @@ __export(exports_update, {
|
|
|
592404
592404
|
classifyUpdateOutcome: () => classifyUpdateOutcome
|
|
592405
592405
|
});
|
|
592406
592406
|
async function update() {
|
|
592407
|
-
writeToStdout(`Current version: ${"1.5.
|
|
592407
|
+
writeToStdout(`Current version: ${"1.5.12"}
|
|
592408
592408
|
`);
|
|
592409
592409
|
const isBundled = isInBundledMode();
|
|
592410
592410
|
if (isBundled) {
|
|
@@ -592435,18 +592435,18 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
592435
592435
|
process.exit(1);
|
|
592436
592436
|
return;
|
|
592437
592437
|
}
|
|
592438
|
-
if (latestVersion === "1.5.
|
|
592438
|
+
if (latestVersion === "1.5.12") {
|
|
592439
592439
|
writeToStdout(source_default.green(`
|
|
592440
|
-
Rayu CLI is up to date (${"1.5.
|
|
592440
|
+
Rayu CLI is up to date (${"1.5.12"})
|
|
592441
592441
|
`));
|
|
592442
592442
|
process.exit(0);
|
|
592443
592443
|
}
|
|
592444
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.
|
|
592444
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.5.12"})
|
|
592445
592445
|
`);
|
|
592446
592446
|
writeToStdout(`Installing update...
|
|
592447
592447
|
|
|
592448
592448
|
`);
|
|
592449
|
-
const versionBeforeInstall = getInstalledVersion() ?? "1.5.
|
|
592449
|
+
const versionBeforeInstall = getInstalledVersion() ?? "1.5.12";
|
|
592450
592450
|
const installSpec = buildPinnedSpec("@rayu-dev/rayu-cli", latestVersion) ?? `${"@rayu-dev/rayu-cli"}@latest`;
|
|
592451
592451
|
try {
|
|
592452
592452
|
execNpmSync(["install", "-g", installSpec, "--prefer-online"], {
|
|
@@ -592548,14 +592548,14 @@ async function updateNativeBinary() {
|
|
|
592548
592548
|
} catch {
|
|
592549
592549
|
latestVersion = "";
|
|
592550
592550
|
}
|
|
592551
|
-
if (latestVersion && latestVersion === "1.5.
|
|
592551
|
+
if (latestVersion && latestVersion === "1.5.12") {
|
|
592552
592552
|
writeToStdout(source_default.green(`
|
|
592553
|
-
Rayu CLI is up to date (1.5.
|
|
592553
|
+
Rayu CLI is up to date (1.5.12)
|
|
592554
592554
|
`));
|
|
592555
592555
|
process.exit(0);
|
|
592556
592556
|
}
|
|
592557
592557
|
if (latestVersion) {
|
|
592558
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.5.
|
|
592558
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.5.12)
|
|
592559
592559
|
`);
|
|
592560
592560
|
}
|
|
592561
592561
|
writeToStdout(`Downloading and installing update...
|
|
@@ -592570,13 +592570,13 @@ Rayu CLI is up to date (1.5.11)
|
|
|
592570
592570
|
return;
|
|
592571
592571
|
}
|
|
592572
592572
|
writeToStdout(source_default.green(`
|
|
592573
|
-
Rayu CLI is up to date (1.5.
|
|
592573
|
+
Rayu CLI is up to date (1.5.12)
|
|
592574
592574
|
`));
|
|
592575
592575
|
process.exit(0);
|
|
592576
592576
|
}
|
|
592577
592577
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
592578
592578
|
writeToStdout(source_default.green(`
|
|
592579
|
-
Successfully updated from 1.5.
|
|
592579
|
+
Successfully updated from 1.5.12 to ${updatedTo}
|
|
592580
592580
|
`));
|
|
592581
592581
|
writeToStdout(`Restart your terminal to use the new version.
|
|
592582
592582
|
`);
|
|
@@ -592641,7 +592641,7 @@ async function removeDataDir(dir) {
|
|
|
592641
592641
|
async function uninstall(args = []) {
|
|
592642
592642
|
const yes = args.includes("--yes") || args.includes("-y");
|
|
592643
592643
|
const keepData = args.includes("--keep-data");
|
|
592644
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.5.
|
|
592644
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.5.12"})...
|
|
592645
592645
|
`);
|
|
592646
592646
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
592647
592647
|
|
|
@@ -592662,7 +592662,7 @@ Failed to uninstall ${"@rayu-dev/rayu-cli"}
|
|
|
592662
592662
|
return;
|
|
592663
592663
|
}
|
|
592664
592664
|
writeToStdout(source_default.green(`
|
|
592665
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.
|
|
592665
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.5.12"}
|
|
592666
592666
|
`));
|
|
592667
592667
|
const configDir = getRayuConfigHomeDir();
|
|
592668
592668
|
const dataExists = existsSync29(configDir);
|
|
@@ -592745,7 +592745,7 @@ function showFirstRunWelcome() {
|
|
|
592745
592745
|
`);
|
|
592746
592746
|
try {
|
|
592747
592747
|
mkdirSync16(getRayuConfigHomeDir(), { recursive: true });
|
|
592748
|
-
writeFileSync19(markerPath(), "1.5.
|
|
592748
|
+
writeFileSync19(markerPath(), "1.5.12", "utf8");
|
|
592749
592749
|
} catch {}
|
|
592750
592750
|
}
|
|
592751
592751
|
var init_firstRun = __esm(() => {
|
|
@@ -608931,7 +608931,7 @@ async function initializeBetaTracing(resource) {
|
|
|
608931
608931
|
});
|
|
608932
608932
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
608933
608933
|
setLoggerProvider(loggerProvider);
|
|
608934
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.
|
|
608934
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.12");
|
|
608935
608935
|
setEventLogger(eventLogger);
|
|
608936
608936
|
process.on("beforeExit", async () => {
|
|
608937
608937
|
await loggerProvider?.forceFlush();
|
|
@@ -608971,7 +608971,7 @@ async function initializeTelemetry() {
|
|
|
608971
608971
|
const platform4 = getPlatform();
|
|
608972
608972
|
const baseAttributes = {
|
|
608973
608973
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
608974
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.
|
|
608974
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.5.12"
|
|
608975
608975
|
};
|
|
608976
608976
|
if (platform4 === "wsl") {
|
|
608977
608977
|
const wslVersion = getWslVersion();
|
|
@@ -609016,7 +609016,7 @@ async function initializeTelemetry() {
|
|
|
609016
609016
|
} catch {}
|
|
609017
609017
|
};
|
|
609018
609018
|
registerCleanup(shutdownTelemetry2);
|
|
609019
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.
|
|
609019
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.5.12");
|
|
609020
609020
|
}
|
|
609021
609021
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
609022
609022
|
resource,
|
|
@@ -609036,7 +609036,7 @@ async function initializeTelemetry() {
|
|
|
609036
609036
|
});
|
|
609037
609037
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
609038
609038
|
setLoggerProvider(loggerProvider);
|
|
609039
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.
|
|
609039
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.5.12");
|
|
609040
609040
|
setEventLogger(eventLogger);
|
|
609041
609041
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
609042
609042
|
process.on("beforeExit", async () => {
|
|
@@ -609098,7 +609098,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
609098
609098
|
}
|
|
609099
609099
|
};
|
|
609100
609100
|
registerCleanup(shutdownTelemetry);
|
|
609101
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.5.
|
|
609101
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.5.12");
|
|
609102
609102
|
}
|
|
609103
609103
|
async function flushTelemetry() {
|
|
609104
609104
|
const meterProvider = getMeterProvider();
|
|
@@ -610600,7 +610600,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
610600
610600
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
610601
610601
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
610602
610602
|
betas: getSdkBetas(),
|
|
610603
|
-
claude_code_version: "1.5.
|
|
610603
|
+
claude_code_version: "1.5.12",
|
|
610604
610604
|
output_style: outputStyle2,
|
|
610605
610605
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
610606
610606
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -628298,7 +628298,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
628298
628298
|
function getSemverPart(version3) {
|
|
628299
628299
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
628300
628300
|
}
|
|
628301
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.5.
|
|
628301
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.5.12") {
|
|
628302
628302
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
628303
628303
|
if (!updatedVersion) {
|
|
628304
628304
|
return null;
|
|
@@ -628338,7 +628338,7 @@ function AutoUpdater({
|
|
|
628338
628338
|
return;
|
|
628339
628339
|
}
|
|
628340
628340
|
if (false) {}
|
|
628341
|
-
const currentVersion = "1.5.
|
|
628341
|
+
const currentVersion = "1.5.12";
|
|
628342
628342
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
628343
628343
|
let latestVersion = await getLatestVersion(channel2);
|
|
628344
628344
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -628551,12 +628551,12 @@ function NativeAutoUpdater({
|
|
|
628551
628551
|
logEvent("tengu_native_auto_updater_start", {});
|
|
628552
628552
|
try {
|
|
628553
628553
|
const maxVersion = await getMaxVersion();
|
|
628554
|
-
if (maxVersion && gt("1.5.
|
|
628554
|
+
if (maxVersion && gt("1.5.12", maxVersion)) {
|
|
628555
628555
|
const msg = await getMaxVersionMessage();
|
|
628556
628556
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
628557
628557
|
}
|
|
628558
628558
|
const result = await installLatest(channel2);
|
|
628559
|
-
const currentVersion = "1.5.
|
|
628559
|
+
const currentVersion = "1.5.12";
|
|
628560
628560
|
const latencyMs = Date.now() - startTime2;
|
|
628561
628561
|
if (result.lockFailed) {
|
|
628562
628562
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -628693,17 +628693,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
628693
628693
|
const maxVersion = await getMaxVersion();
|
|
628694
628694
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
628695
628695
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
628696
|
-
if (gte("1.5.
|
|
628697
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.
|
|
628696
|
+
if (gte("1.5.12", maxVersion)) {
|
|
628697
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.5.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
628698
628698
|
setUpdateAvailable(false);
|
|
628699
628699
|
return;
|
|
628700
628700
|
}
|
|
628701
628701
|
latest = maxVersion;
|
|
628702
628702
|
}
|
|
628703
|
-
const hasUpdate = latest && !gte("1.5.
|
|
628703
|
+
const hasUpdate = latest && !gte("1.5.12", latest) && !shouldSkipVersion(latest);
|
|
628704
628704
|
setUpdateAvailable(!!hasUpdate);
|
|
628705
628705
|
if (hasUpdate) {
|
|
628706
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.
|
|
628706
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.5.12"} -> ${latest}`);
|
|
628707
628707
|
}
|
|
628708
628708
|
};
|
|
628709
628709
|
$3[0] = t1;
|
|
@@ -628737,7 +628737,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
628737
628737
|
wrap: "truncate",
|
|
628738
628738
|
children: [
|
|
628739
628739
|
"currentVersion: ",
|
|
628740
|
-
"1.5.
|
|
628740
|
+
"1.5.12"
|
|
628741
628741
|
]
|
|
628742
628742
|
});
|
|
628743
628743
|
$3[3] = verbose;
|
|
@@ -636901,7 +636901,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
636901
636901
|
project_dir: getOriginalCwd(),
|
|
636902
636902
|
added_dirs: addedDirs
|
|
636903
636903
|
},
|
|
636904
|
-
version: "1.5.
|
|
636904
|
+
version: "1.5.12",
|
|
636905
636905
|
output_style: {
|
|
636906
636906
|
name: outputStyleName
|
|
636907
636907
|
},
|
|
@@ -639080,7 +639080,7 @@ var init_user = __esm(() => {
|
|
|
639080
639080
|
deviceId,
|
|
639081
639081
|
sessionId: getSessionId(),
|
|
639082
639082
|
email: getEmail(),
|
|
639083
|
-
appVersion: "1.5.
|
|
639083
|
+
appVersion: "1.5.12",
|
|
639084
639084
|
platform: getHostPlatformForAnalytics(),
|
|
639085
639085
|
organizationUuid,
|
|
639086
639086
|
accountUuid,
|
|
@@ -648521,7 +648521,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
648521
648521
|
} catch {}
|
|
648522
648522
|
const data = {
|
|
648523
648523
|
trigger,
|
|
648524
|
-
version: "1.5.
|
|
648524
|
+
version: "1.5.12",
|
|
648525
648525
|
platform: process.platform,
|
|
648526
648526
|
transcript,
|
|
648527
648527
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -660490,7 +660490,7 @@ function WelcomeV2() {
|
|
|
660490
660490
|
dimColor: true,
|
|
660491
660491
|
children: [
|
|
660492
660492
|
"v",
|
|
660493
|
-
"1.5.
|
|
660493
|
+
"1.5.12"
|
|
660494
660494
|
]
|
|
660495
660495
|
})
|
|
660496
660496
|
]
|
|
@@ -661497,7 +661497,7 @@ function completeOnboarding() {
|
|
|
661497
661497
|
saveGlobalConfig((current) => ({
|
|
661498
661498
|
...current,
|
|
661499
661499
|
hasCompletedOnboarding: true,
|
|
661500
|
-
lastOnboardingVersion: "1.5.
|
|
661500
|
+
lastOnboardingVersion: "1.5.12"
|
|
661501
661501
|
}));
|
|
661502
661502
|
}
|
|
661503
661503
|
function showDialog(root2, renderer) {
|
|
@@ -666495,7 +666495,7 @@ function appendToLog(path24, message) {
|
|
|
666495
666495
|
cwd: getFsImplementation().cwd(),
|
|
666496
666496
|
userType: "external",
|
|
666497
666497
|
sessionId: getSessionId(),
|
|
666498
|
-
version: "1.5.
|
|
666498
|
+
version: "1.5.12"
|
|
666499
666499
|
};
|
|
666500
666500
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
666501
666501
|
}
|
|
@@ -670600,8 +670600,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
670600
670600
|
}
|
|
670601
670601
|
async function checkEnvLessBridgeMinVersion() {
|
|
670602
670602
|
const cfg = await getEnvLessBridgeConfig();
|
|
670603
|
-
if (cfg.min_version && lt("1.5.
|
|
670604
|
-
return `Your version of RAYU (${"1.5.
|
|
670603
|
+
if (cfg.min_version && lt("1.5.12", cfg.min_version)) {
|
|
670604
|
+
return `Your version of RAYU (${"1.5.12"}) is too old for Remote Control.
|
|
670605
670605
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
670606
670606
|
}
|
|
670607
670607
|
return null;
|
|
@@ -671074,7 +671074,7 @@ async function initBridgeCore(params) {
|
|
|
671074
671074
|
const rawApi = createBridgeApiClient({
|
|
671075
671075
|
baseUrl,
|
|
671076
671076
|
getAccessToken,
|
|
671077
|
-
runnerVersion: "1.5.
|
|
671077
|
+
runnerVersion: "1.5.12",
|
|
671078
671078
|
onDebug: logForDebugging,
|
|
671079
671079
|
onAuth401,
|
|
671080
671080
|
getTrustedDeviceToken
|
|
@@ -676429,7 +676429,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
676429
676429
|
setCwd(cwd3);
|
|
676430
676430
|
const server = new Server({
|
|
676431
676431
|
name: "claude/tengu",
|
|
676432
|
-
version: "1.5.
|
|
676432
|
+
version: "1.5.12"
|
|
676433
676433
|
}, {
|
|
676434
676434
|
capabilities: {
|
|
676435
676435
|
tools: {}
|
|
@@ -678959,7 +678959,7 @@ ${customInstructions}` : customInstructions;
|
|
|
678959
678959
|
}
|
|
678960
678960
|
}
|
|
678961
678961
|
logForDiagnosticsNoPII("info", "started", {
|
|
678962
|
-
version: "1.5.
|
|
678962
|
+
version: "1.5.12",
|
|
678963
678963
|
is_native_binary: isInBundledMode()
|
|
678964
678964
|
});
|
|
678965
678965
|
registerCleanup(async () => {
|
|
@@ -679678,7 +679678,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
679678
679678
|
pendingHookMessages
|
|
679679
679679
|
}, renderAndRun);
|
|
679680
679680
|
}
|
|
679681
|
-
}).version(`1.5.
|
|
679681
|
+
}).version(`1.5.12 (${PRODUCT_NAME})`, "-v, --version", "Output the version number");
|
|
679682
679682
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
679683
679683
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
679684
679684
|
if (canUserConfigureAdvisor()) {
|
|
@@ -680139,7 +680139,7 @@ if (false) {}
|
|
|
680139
680139
|
async function main2() {
|
|
680140
680140
|
const args = process.argv.slice(2);
|
|
680141
680141
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
680142
|
-
console.log(`${"1.5.
|
|
680142
|
+
console.log(`${"1.5.12"} (Rayu-CLI)`);
|
|
680143
680143
|
return;
|
|
680144
680144
|
}
|
|
680145
680145
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|