@rayu-dev/rayu-cli 1.2.25 → 1.2.26
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 +143 -118
- 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.26"}`;
|
|
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.26"} (${"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.26"}${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.26",
|
|
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.26".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.26",
|
|
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.26"
|
|
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.26");
|
|
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.26"}.${fingerprint}`;
|
|
217804
217804
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
217805
217805
|
const cch = "";
|
|
217806
217806
|
const workload = getWorkload();
|
|
@@ -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.26";
|
|
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.26";
|
|
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.26",
|
|
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.26",
|
|
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.26");
|
|
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.26");
|
|
433058
433058
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
433059
433059
|
const systemBlocks = [
|
|
433060
433060
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -443145,17 +443145,15 @@ function FileChangeReviewCard({
|
|
|
443145
443145
|
}, undefined, true, undefined, this),
|
|
443146
443146
|
pendingChangeIds.length > 0 ? /* @__PURE__ */ jsx_dev_runtime98.jsxDEV(ThemedBox_default, {
|
|
443147
443147
|
marginTop: 1,
|
|
443148
|
+
flexDirection: "column",
|
|
443148
443149
|
children: [
|
|
443149
443150
|
/* @__PURE__ */ jsx_dev_runtime98.jsxDEV(ThemedText, {
|
|
443150
443151
|
dimColor: true,
|
|
443151
|
-
children: "Details: /review_detail, /keep, /undo
|
|
443152
|
-
}, undefined, false, undefined, this),
|
|
443153
|
-
/* @__PURE__ */ jsx_dev_runtime98.jsxDEV("span", {
|
|
443154
|
-
children: " "
|
|
443152
|
+
children: "Details: /review_detail, /keep, /undo [file_name]"
|
|
443155
443153
|
}, undefined, false, undefined, this),
|
|
443156
443154
|
/* @__PURE__ */ jsx_dev_runtime98.jsxDEV(ThemedText, {
|
|
443157
443155
|
dimColor: true,
|
|
443158
|
-
children: "Warning! /undo all (it
|
|
443156
|
+
children: "Warning! /undo all (it undoes all file changes)"
|
|
443159
443157
|
}, undefined, false, undefined, this)
|
|
443160
443158
|
]
|
|
443161
443159
|
}, undefined, true, undefined, this) : null,
|
|
@@ -527909,12 +527907,6 @@ var init_btw2 = __esm(() => {
|
|
|
527909
527907
|
btw_default = btw;
|
|
527910
527908
|
});
|
|
527911
527909
|
|
|
527912
|
-
// src/commands/good-claude/index.js
|
|
527913
|
-
var good_claude_default;
|
|
527914
|
-
var init_good_claude = __esm(() => {
|
|
527915
|
-
good_claude_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
527916
|
-
});
|
|
527917
|
-
|
|
527918
527910
|
// src/commands/issue/index.js
|
|
527919
527911
|
var issue_default;
|
|
527920
527912
|
var init_issue = __esm(() => {
|
|
@@ -528019,7 +528011,7 @@ function Feedback({
|
|
|
528019
528011
|
platform: env4.platform,
|
|
528020
528012
|
gitRepo: envInfo.isGit,
|
|
528021
528013
|
terminal: env4.terminal,
|
|
528022
|
-
version: "1.2.
|
|
528014
|
+
version: "1.2.26",
|
|
528023
528015
|
transcript: normalizeMessagesForAPI(messages),
|
|
528024
528016
|
errors: sanitizedErrors,
|
|
528025
528017
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -528211,7 +528203,7 @@ function Feedback({
|
|
|
528211
528203
|
", ",
|
|
528212
528204
|
env4.terminal,
|
|
528213
528205
|
", v",
|
|
528214
|
-
"1.2.
|
|
528206
|
+
"1.2.26"
|
|
528215
528207
|
]
|
|
528216
528208
|
}, undefined, true, undefined, this)
|
|
528217
528209
|
]
|
|
@@ -528317,7 +528309,7 @@ ${sanitizedDescription}
|
|
|
528317
528309
|
` + `**Environment Info**
|
|
528318
528310
|
` + `- Platform: ${env4.platform}
|
|
528319
528311
|
` + `- Terminal: ${env4.terminal}
|
|
528320
|
-
` + `- Version: ${"1.2.
|
|
528312
|
+
` + `- Version: ${"1.2.26"}
|
|
528321
528313
|
` + `- Feedback ID: ${feedbackId}
|
|
528322
528314
|
` + `
|
|
528323
528315
|
**Errors**
|
|
@@ -531156,9 +531148,9 @@ async function assertMinVersion() {
|
|
|
531156
531148
|
if (false) {}
|
|
531157
531149
|
try {
|
|
531158
531150
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
531159
|
-
if (versionConfig.minVersion && lt("1.2.
|
|
531151
|
+
if (versionConfig.minVersion && lt("1.2.26", versionConfig.minVersion)) {
|
|
531160
531152
|
console.error(`
|
|
531161
|
-
It looks like your version of RAYU (${"1.2.
|
|
531153
|
+
It looks like your version of RAYU (${"1.2.26"}) needs an update.
|
|
531162
531154
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
531163
531155
|
|
|
531164
531156
|
To update, please run:
|
|
@@ -531349,6 +531341,33 @@ async function getNpmDistTags() {
|
|
|
531349
531341
|
async function getLatestVersionFromGcs(channel) {
|
|
531350
531342
|
return getLatestVersionFromGitHub(channel === "stable" ? "stable" : "latest");
|
|
531351
531343
|
}
|
|
531344
|
+
async function getLatestVersionFromNpm(channel) {
|
|
531345
|
+
try {
|
|
531346
|
+
const res = await axios_default.get(`https://registry.npmjs.org/${"@rayu-dev/rayu-cli"}`, {
|
|
531347
|
+
timeout: 5000,
|
|
531348
|
+
headers: { Accept: "application/vnd.npm.install-v1+json" },
|
|
531349
|
+
validateStatus: (s2) => s2 === 200
|
|
531350
|
+
});
|
|
531351
|
+
const distTags = res.data?.["dist-tags"];
|
|
531352
|
+
if (!distTags)
|
|
531353
|
+
return null;
|
|
531354
|
+
const tag = channel === "stable" ? "stable" : "latest";
|
|
531355
|
+
const version2 = distTags[tag] ?? distTags.latest;
|
|
531356
|
+
return typeof version2 === "string" && version2.length > 0 ? version2 : null;
|
|
531357
|
+
} catch (error54) {
|
|
531358
|
+
logForDebugging(`npm registry version check failed: ${error54}`);
|
|
531359
|
+
return null;
|
|
531360
|
+
}
|
|
531361
|
+
}
|
|
531362
|
+
async function cacheLatestNpmVersion(channel = "latest") {
|
|
531363
|
+
const version2 = await getLatestVersionFromNpm(channel);
|
|
531364
|
+
if (version2) {
|
|
531365
|
+
cachedLatestNpmVersion = version2;
|
|
531366
|
+
}
|
|
531367
|
+
}
|
|
531368
|
+
function getCachedLatestNpmVersionSync() {
|
|
531369
|
+
return cachedLatestNpmVersion;
|
|
531370
|
+
}
|
|
531352
531371
|
async function getGcsDistTags() {
|
|
531353
531372
|
return getGitHubDistTags();
|
|
531354
531373
|
}
|
|
@@ -531357,7 +531376,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531357
531376
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
531358
531377
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
531359
531378
|
pid: process.pid,
|
|
531360
|
-
currentVersion: "1.2.
|
|
531379
|
+
currentVersion: "1.2.26"
|
|
531361
531380
|
});
|
|
531362
531381
|
return "in_progress";
|
|
531363
531382
|
}
|
|
@@ -531366,7 +531385,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531366
531385
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
531367
531386
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
531368
531387
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
531369
|
-
currentVersion: "1.2.
|
|
531388
|
+
currentVersion: "1.2.26"
|
|
531370
531389
|
});
|
|
531371
531390
|
console.error(`
|
|
531372
531391
|
Error: Windows NPM detected in WSL
|
|
@@ -531421,8 +531440,9 @@ async function removeClaudeAliasesFromShellConfigs() {
|
|
|
531421
531440
|
}
|
|
531422
531441
|
}
|
|
531423
531442
|
}
|
|
531424
|
-
var GITHUB_RELEASES_DOC = "Native/standalone version checks resolve via GitHub Releases (see githubReleases.ts). npm-based updates use MACRO.PACKAGE_URL.", AutoUpdaterError, LOCK_TIMEOUT_MS;
|
|
531443
|
+
var GITHUB_RELEASES_DOC = "Native/standalone version checks resolve via GitHub Releases (see githubReleases.ts). npm-based updates use MACRO.PACKAGE_URL.", AutoUpdaterError, LOCK_TIMEOUT_MS, cachedLatestNpmVersion = null;
|
|
531425
531444
|
var init_autoUpdater = __esm(() => {
|
|
531445
|
+
init_axios2();
|
|
531426
531446
|
init_growthbook();
|
|
531427
531447
|
init_analytics();
|
|
531428
531448
|
init_config2();
|
|
@@ -531901,7 +531921,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
531901
531921
|
}
|
|
531902
531922
|
async function getDoctorDiagnostic() {
|
|
531903
531923
|
const installationType = await getCurrentInstallationType();
|
|
531904
|
-
const version2 = typeof MACRO !== "undefined" ? "1.2.
|
|
531924
|
+
const version2 = typeof MACRO !== "undefined" ? "1.2.26" : "unknown";
|
|
531905
531925
|
const installationPath = await getInstallationPath();
|
|
531906
531926
|
const invokedBinary = getInvokedBinary();
|
|
531907
531927
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -532696,8 +532716,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532696
532716
|
const maxVersion = await getMaxVersion();
|
|
532697
532717
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
532698
532718
|
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.
|
|
532719
|
+
if (gte("1.2.26", maxVersion)) {
|
|
532720
|
+
logForDebugging(`Native installer: current version ${"1.2.26"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
532701
532721
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
532702
532722
|
latency_ms: Date.now() - startTime,
|
|
532703
532723
|
max_version: maxVersion,
|
|
@@ -532708,7 +532728,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532708
532728
|
version2 = maxVersion;
|
|
532709
532729
|
}
|
|
532710
532730
|
}
|
|
532711
|
-
if (!forceReinstall && version2 === "1.2.
|
|
532731
|
+
if (!forceReinstall && version2 === "1.2.26" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
532712
532732
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
532713
532733
|
logEvent("tengu_native_update_complete", {
|
|
532714
532734
|
latency_ms: Date.now() - startTime,
|
|
@@ -533904,7 +533924,7 @@ function buildPrimarySection() {
|
|
|
533904
533924
|
}, undefined, false, undefined, this);
|
|
533905
533925
|
return [{
|
|
533906
533926
|
label: "Version",
|
|
533907
|
-
value: "1.2.
|
|
533927
|
+
value: "1.2.26"
|
|
533908
533928
|
}, {
|
|
533909
533929
|
label: "Session name",
|
|
533910
533930
|
value: nameValue
|
|
@@ -537595,7 +537615,7 @@ function Config({
|
|
|
537595
537615
|
}
|
|
537596
537616
|
}, undefined, false, undefined, this)
|
|
537597
537617
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
537598
|
-
currentVersion: "1.2.
|
|
537618
|
+
currentVersion: "1.2.26",
|
|
537599
537619
|
onChoice: (choice) => {
|
|
537600
537620
|
setShowSubmenu(null);
|
|
537601
537621
|
setTabsHidden(false);
|
|
@@ -537607,7 +537627,7 @@ function Config({
|
|
|
537607
537627
|
autoUpdatesChannel: "stable"
|
|
537608
537628
|
};
|
|
537609
537629
|
if (choice === "stay") {
|
|
537610
|
-
newSettings.minimumVersion = "1.2.
|
|
537630
|
+
newSettings.minimumVersion = "1.2.26";
|
|
537611
537631
|
}
|
|
537612
537632
|
updateSettingsForSource("userSettings", newSettings);
|
|
537613
537633
|
setSettingsData((prev_27) => ({
|
|
@@ -545667,7 +545687,7 @@ function HelpV2(t0) {
|
|
|
545667
545687
|
let t6;
|
|
545668
545688
|
if ($3[31] !== tabs) {
|
|
545669
545689
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
545670
|
-
title: `Rayu-CLI v${"1.2.
|
|
545690
|
+
title: `Rayu-CLI v${"1.2.26"}`,
|
|
545671
545691
|
color: "professionalBlue",
|
|
545672
545692
|
defaultTab: "general",
|
|
545673
545693
|
children: tabs
|
|
@@ -565631,7 +565651,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
565631
565651
|
}
|
|
565632
565652
|
return [];
|
|
565633
565653
|
}
|
|
565634
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.
|
|
565654
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.26") {
|
|
565635
565655
|
if (false) {}
|
|
565636
565656
|
const cachedChangelog = await getStoredChangelog();
|
|
565637
565657
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -565644,7 +565664,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.25")
|
|
|
565644
565664
|
releaseNotes
|
|
565645
565665
|
};
|
|
565646
565666
|
}
|
|
565647
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.
|
|
565667
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.26") {
|
|
565648
565668
|
if (false) {}
|
|
565649
565669
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
565650
565670
|
return {
|
|
@@ -565652,7 +565672,7 @@ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.25") {
|
|
|
565652
565672
|
releaseNotes
|
|
565653
565673
|
};
|
|
565654
565674
|
}
|
|
565655
|
-
var import_semver8, MAX_RELEASE_NOTES_SHOWN = 5, RAW_CHANGELOG_URL = "https://raw.githubusercontent.com/
|
|
565675
|
+
var import_semver8, MAX_RELEASE_NOTES_SHOWN = 5, RAW_CHANGELOG_URL = "https://raw.githubusercontent.com/Choeng-Rayu/rayu-cli/main/rayu/CHANGELOG.md", changelogMemoryCache = null;
|
|
565656
565676
|
var init_releaseNotes = __esm(() => {
|
|
565657
565677
|
init_axios2();
|
|
565658
565678
|
init_state();
|
|
@@ -565772,7 +565792,7 @@ function getRecentActivitySync() {
|
|
|
565772
565792
|
return cachedActivity;
|
|
565773
565793
|
}
|
|
565774
565794
|
function getLogoDisplayData() {
|
|
565775
|
-
const version2 = process.env.DEMO_VERSION ?? "1.2.
|
|
565795
|
+
const version2 = process.env.DEMO_VERSION ?? "1.2.26";
|
|
565776
565796
|
const serverUrl = getDirectConnectServerUrl();
|
|
565777
565797
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
565778
565798
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -566277,6 +566297,17 @@ function createWhatsNewFeed(releaseNotes) {
|
|
|
566277
566297
|
emptyMessage
|
|
566278
566298
|
};
|
|
566279
566299
|
}
|
|
566300
|
+
function createUpdateAvailableFeed(currentVersion, latestVersion) {
|
|
566301
|
+
return {
|
|
566302
|
+
title: "Update available",
|
|
566303
|
+
lines: [
|
|
566304
|
+
{ text: `v${latestVersion} is available (current v${currentVersion})` },
|
|
566305
|
+
{ text: "npm i -g @rayu-dev/rayu-cli@latest" }
|
|
566306
|
+
],
|
|
566307
|
+
footer: undefined,
|
|
566308
|
+
emptyMessage: ""
|
|
566309
|
+
};
|
|
566310
|
+
}
|
|
566280
566311
|
function createProjectOnboardingFeed(steps) {
|
|
566281
566312
|
const enabledSteps = steps.filter(({
|
|
566282
566313
|
isEnabled: isEnabled2
|
|
@@ -567053,7 +567084,7 @@ function LogoV2() {
|
|
|
567053
567084
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
567054
567085
|
t2 = () => {
|
|
567055
567086
|
const currentConfig = getGlobalConfig();
|
|
567056
|
-
if (currentConfig.lastReleaseNotesSeen === "1.2.
|
|
567087
|
+
if (currentConfig.lastReleaseNotesSeen === "1.2.26") {
|
|
567057
567088
|
return;
|
|
567058
567089
|
}
|
|
567059
567090
|
saveGlobalConfig(_temp327);
|
|
@@ -567530,8 +567561,10 @@ function LogoV2() {
|
|
|
567530
567561
|
} else {
|
|
567531
567562
|
t24 = $3[61];
|
|
567532
567563
|
}
|
|
567564
|
+
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
567565
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.2.26") ? [createUpdateAvailableFeed("1.2.26", _latestNpm)] : [];
|
|
567533
567566
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime239.jsxDEV(FeedColumn, {
|
|
567534
|
-
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), createWhatsNewFeed(changelog)],
|
|
567567
|
+
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
567535
567568
|
maxWidth: rightWidth
|
|
567536
567569
|
}, undefined, false, undefined, this);
|
|
567537
567570
|
let t26;
|
|
@@ -567729,12 +567762,12 @@ function LogoV2() {
|
|
|
567729
567762
|
return t41;
|
|
567730
567763
|
}
|
|
567731
567764
|
function _temp327(current) {
|
|
567732
|
-
if (current.lastReleaseNotesSeen === "1.2.
|
|
567765
|
+
if (current.lastReleaseNotesSeen === "1.2.26") {
|
|
567733
567766
|
return current;
|
|
567734
567767
|
}
|
|
567735
567768
|
return {
|
|
567736
567769
|
...current,
|
|
567737
|
-
lastReleaseNotesSeen: "1.2.
|
|
567770
|
+
lastReleaseNotesSeen: "1.2.26"
|
|
567738
567771
|
};
|
|
567739
567772
|
}
|
|
567740
567773
|
function _temp241(s_0) {
|
|
@@ -567754,6 +567787,7 @@ var init_LogoV2 = __esm(() => {
|
|
|
567754
567787
|
init_Clawd();
|
|
567755
567788
|
init_FeedColumn();
|
|
567756
567789
|
init_feedConfigs();
|
|
567790
|
+
init_autoUpdater();
|
|
567757
567791
|
init_config2();
|
|
567758
567792
|
init_settings2();
|
|
567759
567793
|
init_debug();
|
|
@@ -592536,7 +592570,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
592536
592570
|
smapsRollup,
|
|
592537
592571
|
platform: process.platform,
|
|
592538
592572
|
nodeVersion: process.version,
|
|
592539
|
-
ccVersion: "1.2.
|
|
592573
|
+
ccVersion: "1.2.26"
|
|
592540
592574
|
};
|
|
592541
592575
|
}
|
|
592542
592576
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -593064,7 +593098,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593064
593098
|
var call47 = async () => {
|
|
593065
593099
|
return {
|
|
593066
593100
|
type: "text",
|
|
593067
|
-
value: "1.2.
|
|
593101
|
+
value: "1.2.26"
|
|
593068
593102
|
};
|
|
593069
593103
|
}, version2, version_default;
|
|
593070
593104
|
var init_version = __esm(() => {
|
|
@@ -593085,14 +593119,6 @@ var init_summary = __esm(() => {
|
|
|
593085
593119
|
summary_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
593086
593120
|
});
|
|
593087
593121
|
|
|
593088
|
-
// src/commands/reset-limits/index.js
|
|
593089
|
-
var stub, resetLimits, resetLimitsNonInteractive;
|
|
593090
|
-
var init_reset_limits = __esm(() => {
|
|
593091
|
-
stub = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
593092
|
-
resetLimits = stub;
|
|
593093
|
-
resetLimitsNonInteractive = stub;
|
|
593094
|
-
});
|
|
593095
|
-
|
|
593096
593122
|
// src/commands/ant-trace/index.js
|
|
593097
593123
|
var ant_trace_default;
|
|
593098
593124
|
var init_ant_trace = __esm(() => {
|
|
@@ -601891,7 +601917,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601891
601917
|
</html>`;
|
|
601892
601918
|
}
|
|
601893
601919
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601894
|
-
const version3 = typeof MACRO !== "undefined" ? "1.2.
|
|
601920
|
+
const version3 = typeof MACRO !== "undefined" ? "1.2.26" : "unknown";
|
|
601895
601921
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
601896
601922
|
const facets_summary = {
|
|
601897
601923
|
total: facets.size,
|
|
@@ -602619,7 +602645,6 @@ var init_commands2 = __esm(() => {
|
|
|
602619
602645
|
init_autofix_pr();
|
|
602620
602646
|
init_backfill_sessions();
|
|
602621
602647
|
init_btw2();
|
|
602622
|
-
init_good_claude();
|
|
602623
602648
|
init_issue();
|
|
602624
602649
|
init_feedback2();
|
|
602625
602650
|
init_clear2();
|
|
@@ -602683,7 +602708,6 @@ var init_commands2 = __esm(() => {
|
|
|
602683
602708
|
init_bridge_kick();
|
|
602684
602709
|
init_version();
|
|
602685
602710
|
init_summary();
|
|
602686
|
-
init_reset_limits();
|
|
602687
602711
|
init_ant_trace();
|
|
602688
602712
|
init_perf_issue();
|
|
602689
602713
|
init_sandbox_toggle2();
|
|
@@ -602734,7 +602758,6 @@ var init_commands2 = __esm(() => {
|
|
|
602734
602758
|
commit_default,
|
|
602735
602759
|
commit_push_pr_default,
|
|
602736
602760
|
ctx_viz_default,
|
|
602737
|
-
good_claude_default,
|
|
602738
602761
|
issue_default,
|
|
602739
602762
|
init_verifiers_default,
|
|
602740
602763
|
swarm_default,
|
|
@@ -602744,8 +602767,6 @@ var init_commands2 = __esm(() => {
|
|
|
602744
602767
|
version_default,
|
|
602745
602768
|
...ultraplan ? [ultraplan] : [],
|
|
602746
602769
|
...subscribePr ? [subscribePr] : [],
|
|
602747
|
-
resetLimits,
|
|
602748
|
-
resetLimitsNonInteractive,
|
|
602749
602770
|
onboarding_default,
|
|
602750
602771
|
summary_default,
|
|
602751
602772
|
teleport_default,
|
|
@@ -605823,7 +605844,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
605823
605844
|
init_settings2();
|
|
605824
605845
|
init_slowOperations();
|
|
605825
605846
|
init_uuid();
|
|
605826
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.2.
|
|
605847
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.2.26" : "unknown";
|
|
605827
605848
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
605828
605849
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
605829
605850
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -607042,7 +607063,7 @@ var init_filesystem = __esm(() => {
|
|
|
607042
607063
|
});
|
|
607043
607064
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
607044
607065
|
const nonce = randomBytes18(16).toString("hex");
|
|
607045
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.2.
|
|
607066
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.2.26", nonce);
|
|
607046
607067
|
});
|
|
607047
607068
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
607048
607069
|
});
|
|
@@ -612157,7 +612178,7 @@ __export(exports_update, {
|
|
|
612157
612178
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
612158
612179
|
import { homedir as homedir33 } from "os";
|
|
612159
612180
|
async function update() {
|
|
612160
|
-
writeToStdout(`Current version: ${"1.2.
|
|
612181
|
+
writeToStdout(`Current version: ${"1.2.26"}
|
|
612161
612182
|
`);
|
|
612162
612183
|
const isBundled = isInBundledMode();
|
|
612163
612184
|
if (isBundled) {
|
|
@@ -612183,13 +612204,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
612183
612204
|
process.exit(1);
|
|
612184
612205
|
return;
|
|
612185
612206
|
}
|
|
612186
|
-
if (latestVersion === "1.2.
|
|
612207
|
+
if (latestVersion === "1.2.26") {
|
|
612187
612208
|
writeToStdout(source_default.green(`
|
|
612188
|
-
Rayu CLI is up to date (${"1.2.
|
|
612209
|
+
Rayu CLI is up to date (${"1.2.26"})
|
|
612189
612210
|
`));
|
|
612190
612211
|
process.exit(0);
|
|
612191
612212
|
}
|
|
612192
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.
|
|
612213
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.26"})
|
|
612193
612214
|
`);
|
|
612194
612215
|
writeToStdout(`Installing update...
|
|
612195
612216
|
|
|
@@ -612213,7 +612234,7 @@ Try manually:
|
|
|
612213
612234
|
return;
|
|
612214
612235
|
}
|
|
612215
612236
|
writeToStdout(source_default.green(`
|
|
612216
|
-
Successfully updated from ${"1.2.
|
|
612237
|
+
Successfully updated from ${"1.2.26"} to ${latestVersion}
|
|
612217
612238
|
`));
|
|
612218
612239
|
process.exit(0);
|
|
612219
612240
|
}
|
|
@@ -612227,14 +612248,14 @@ async function updateNativeBinary() {
|
|
|
612227
612248
|
} catch {
|
|
612228
612249
|
latestVersion = "";
|
|
612229
612250
|
}
|
|
612230
|
-
if (latestVersion && latestVersion === "1.2.
|
|
612251
|
+
if (latestVersion && latestVersion === "1.2.26") {
|
|
612231
612252
|
writeToStdout(source_default.green(`
|
|
612232
|
-
Rayu CLI is up to date (1.2.
|
|
612253
|
+
Rayu CLI is up to date (1.2.26)
|
|
612233
612254
|
`));
|
|
612234
612255
|
process.exit(0);
|
|
612235
612256
|
}
|
|
612236
612257
|
if (latestVersion) {
|
|
612237
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.2.
|
|
612258
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.2.26)
|
|
612238
612259
|
`);
|
|
612239
612260
|
}
|
|
612240
612261
|
writeToStdout(`Downloading and installing update...
|
|
@@ -612249,13 +612270,13 @@ Rayu CLI is up to date (1.2.25)
|
|
|
612249
612270
|
return;
|
|
612250
612271
|
}
|
|
612251
612272
|
writeToStdout(source_default.green(`
|
|
612252
|
-
Rayu CLI is up to date (1.2.
|
|
612273
|
+
Rayu CLI is up to date (1.2.26)
|
|
612253
612274
|
`));
|
|
612254
612275
|
process.exit(0);
|
|
612255
612276
|
}
|
|
612256
612277
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
612257
612278
|
writeToStdout(source_default.green(`
|
|
612258
|
-
Successfully updated from 1.2.
|
|
612279
|
+
Successfully updated from 1.2.26 to ${updatedTo}
|
|
612259
612280
|
`));
|
|
612260
612281
|
writeToStdout(`Restart your terminal to use the new version.
|
|
612261
612282
|
`);
|
|
@@ -612286,7 +612307,7 @@ __export(exports_uninstall, {
|
|
|
612286
612307
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
612287
612308
|
import { homedir as homedir34 } from "os";
|
|
612288
612309
|
async function uninstall() {
|
|
612289
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.2.
|
|
612310
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.2.26"})...
|
|
612290
612311
|
`);
|
|
612291
612312
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
612292
612313
|
|
|
@@ -612309,7 +612330,7 @@ Try running manually:
|
|
|
612309
612330
|
process.exit(1);
|
|
612310
612331
|
}
|
|
612311
612332
|
writeToStdout(source_default.green(`
|
|
612312
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.
|
|
612333
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.26"}
|
|
612313
612334
|
`));
|
|
612314
612335
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
612315
612336
|
`);
|
|
@@ -612361,7 +612382,7 @@ function showFirstRunWelcome() {
|
|
|
612361
612382
|
`);
|
|
612362
612383
|
try {
|
|
612363
612384
|
mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
|
|
612364
|
-
writeFileSync15(markerPath(), "1.2.
|
|
612385
|
+
writeFileSync15(markerPath(), "1.2.26", "utf8");
|
|
612365
612386
|
} catch {}
|
|
612366
612387
|
}
|
|
612367
612388
|
var init_firstRun = __esm(() => {
|
|
@@ -624204,7 +624225,7 @@ async function initializeBetaTracing(resource) {
|
|
|
624204
624225
|
});
|
|
624205
624226
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624206
624227
|
setLoggerProvider(loggerProvider);
|
|
624207
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624228
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.26");
|
|
624208
624229
|
setEventLogger(eventLogger);
|
|
624209
624230
|
process.on("beforeExit", async () => {
|
|
624210
624231
|
await loggerProvider?.forceFlush();
|
|
@@ -624244,7 +624265,7 @@ async function initializeTelemetry() {
|
|
|
624244
624265
|
const platform4 = getPlatform();
|
|
624245
624266
|
const baseAttributes = {
|
|
624246
624267
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
624247
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.
|
|
624268
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.26"
|
|
624248
624269
|
};
|
|
624249
624270
|
if (platform4 === "wsl") {
|
|
624250
624271
|
const wslVersion = getWslVersion();
|
|
@@ -624289,7 +624310,7 @@ async function initializeTelemetry() {
|
|
|
624289
624310
|
} catch {}
|
|
624290
624311
|
};
|
|
624291
624312
|
registerCleanup(shutdownTelemetry2);
|
|
624292
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.
|
|
624313
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.26");
|
|
624293
624314
|
}
|
|
624294
624315
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
624295
624316
|
resource,
|
|
@@ -624309,7 +624330,7 @@ async function initializeTelemetry() {
|
|
|
624309
624330
|
});
|
|
624310
624331
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624311
624332
|
setLoggerProvider(loggerProvider);
|
|
624312
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624333
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.26");
|
|
624313
624334
|
setEventLogger(eventLogger);
|
|
624314
624335
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
624315
624336
|
process.on("beforeExit", async () => {
|
|
@@ -624371,7 +624392,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
624371
624392
|
}
|
|
624372
624393
|
};
|
|
624373
624394
|
registerCleanup(shutdownTelemetry);
|
|
624374
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.
|
|
624395
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.26");
|
|
624375
624396
|
}
|
|
624376
624397
|
async function flushTelemetry() {
|
|
624377
624398
|
const meterProvider = getMeterProvider();
|
|
@@ -625884,7 +625905,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625884
625905
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625885
625906
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
625886
625907
|
betas: getSdkBetas(),
|
|
625887
|
-
claude_code_version: "1.2.
|
|
625908
|
+
claude_code_version: "1.2.26",
|
|
625888
625909
|
output_style: outputStyle2,
|
|
625889
625910
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
625890
625911
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -642091,9 +642112,9 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
642091
642112
|
|
|
642092
642113
|
// src/hooks/useUpdateNotification.ts
|
|
642093
642114
|
function getSemverPart(version3) {
|
|
642094
|
-
return `${
|
|
642115
|
+
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
642095
642116
|
}
|
|
642096
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.2.
|
|
642117
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.2.26") {
|
|
642097
642118
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react218.useState(() => getSemverPart(initialVersion));
|
|
642098
642119
|
if (!updatedVersion) {
|
|
642099
642120
|
return null;
|
|
@@ -642105,10 +642126,10 @@ function useUpdateNotification(updatedVersion, initialVersion = "1.2.25") {
|
|
|
642105
642126
|
}
|
|
642106
642127
|
return null;
|
|
642107
642128
|
}
|
|
642108
|
-
var import_react218,
|
|
642129
|
+
var import_react218, import_semver12;
|
|
642109
642130
|
var init_useUpdateNotification = __esm(() => {
|
|
642110
642131
|
import_react218 = __toESM(require_react(), 1);
|
|
642111
|
-
|
|
642132
|
+
import_semver12 = __toESM(require_semver3(), 1);
|
|
642112
642133
|
});
|
|
642113
642134
|
|
|
642114
642135
|
// src/components/AutoUpdater.tsx
|
|
@@ -642133,7 +642154,7 @@ function AutoUpdater({
|
|
|
642133
642154
|
return;
|
|
642134
642155
|
}
|
|
642135
642156
|
if (false) {}
|
|
642136
|
-
const currentVersion = "1.2.
|
|
642157
|
+
const currentVersion = "1.2.26";
|
|
642137
642158
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
642138
642159
|
let latestVersion = await getLatestVersion(channel);
|
|
642139
642160
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -642346,12 +642367,12 @@ function NativeAutoUpdater({
|
|
|
642346
642367
|
logEvent("tengu_native_auto_updater_start", {});
|
|
642347
642368
|
try {
|
|
642348
642369
|
const maxVersion = await getMaxVersion();
|
|
642349
|
-
if (maxVersion && gt("1.2.
|
|
642370
|
+
if (maxVersion && gt("1.2.26", maxVersion)) {
|
|
642350
642371
|
const msg = await getMaxVersionMessage();
|
|
642351
642372
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
642352
642373
|
}
|
|
642353
642374
|
const result = await installLatest(channel);
|
|
642354
|
-
const currentVersion = "1.2.
|
|
642375
|
+
const currentVersion = "1.2.26";
|
|
642355
642376
|
const latencyMs = Date.now() - startTime;
|
|
642356
642377
|
if (result.lockFailed) {
|
|
642357
642378
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -642484,21 +642505,21 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642484
642505
|
}
|
|
642485
642506
|
const [channel, pm] = await Promise.all([Promise.resolve(getInitialSettings()?.autoUpdatesChannel ?? "latest"), getPackageManager()]);
|
|
642486
642507
|
setPackageManager(pm);
|
|
642487
|
-
let latest = await getLatestVersionFromGcs(channel);
|
|
642508
|
+
let latest = await getLatestVersionFromNpm(channel) ?? await getLatestVersionFromGcs(channel);
|
|
642488
642509
|
const maxVersion = await getMaxVersion();
|
|
642489
642510
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
642490
642511
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
642491
|
-
if (gte("1.2.
|
|
642492
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.
|
|
642512
|
+
if (gte("1.2.26", maxVersion)) {
|
|
642513
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.26"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
642493
642514
|
setUpdateAvailable(false);
|
|
642494
642515
|
return;
|
|
642495
642516
|
}
|
|
642496
642517
|
latest = maxVersion;
|
|
642497
642518
|
}
|
|
642498
|
-
const hasUpdate = latest && !gte("1.2.
|
|
642519
|
+
const hasUpdate = latest && !gte("1.2.26", latest) && !shouldSkipVersion(latest);
|
|
642499
642520
|
setUpdateAvailable(!!hasUpdate);
|
|
642500
642521
|
if (hasUpdate) {
|
|
642501
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.
|
|
642522
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.26"} -> ${latest}`);
|
|
642502
642523
|
}
|
|
642503
642524
|
};
|
|
642504
642525
|
$3[0] = t1;
|
|
@@ -642532,7 +642553,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642532
642553
|
wrap: "truncate",
|
|
642533
642554
|
children: [
|
|
642534
642555
|
"currentVersion: ",
|
|
642535
|
-
"1.2.
|
|
642556
|
+
"1.2.26"
|
|
642536
642557
|
]
|
|
642537
642558
|
}, undefined, true, undefined, this);
|
|
642538
642559
|
$3[3] = verbose;
|
|
@@ -650698,7 +650719,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
650698
650719
|
project_dir: getOriginalCwd(),
|
|
650699
650720
|
added_dirs: addedDirs
|
|
650700
650721
|
},
|
|
650701
|
-
version: "1.2.
|
|
650722
|
+
version: "1.2.26",
|
|
650702
650723
|
output_style: {
|
|
650703
650724
|
name: outputStyleName
|
|
650704
650725
|
},
|
|
@@ -662068,7 +662089,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
662068
662089
|
} catch {}
|
|
662069
662090
|
const data = {
|
|
662070
662091
|
trigger,
|
|
662071
|
-
version: "1.2.
|
|
662092
|
+
version: "1.2.26",
|
|
662072
662093
|
platform: process.platform,
|
|
662073
662094
|
transcript,
|
|
662074
662095
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -663701,9 +663722,9 @@ async function getDesktopVersion() {
|
|
|
663701
663722
|
const installDir = join161(localAppData, "AnthropicClaude");
|
|
663702
663723
|
try {
|
|
663703
663724
|
const entries = await readdir31(installDir);
|
|
663704
|
-
const versions2 = entries.filter((e2) => e2.startsWith("app-")).map((e2) => e2.slice(4)).filter((v2) =>
|
|
663705
|
-
const ca =
|
|
663706
|
-
const cb =
|
|
663725
|
+
const versions2 = entries.filter((e2) => e2.startsWith("app-")).map((e2) => e2.slice(4)).filter((v2) => import_semver16.coerce(v2) !== null).sort((a2, b3) => {
|
|
663726
|
+
const ca = import_semver16.coerce(a2);
|
|
663727
|
+
const cb = import_semver16.coerce(b3);
|
|
663707
663728
|
return ca.compare(cb);
|
|
663708
663729
|
});
|
|
663709
663730
|
return versions2.length > 0 ? versions2[versions2.length - 1] : null;
|
|
@@ -663727,7 +663748,7 @@ async function getDesktopInstallStatus() {
|
|
|
663727
663748
|
if (!version3) {
|
|
663728
663749
|
return { status: "ready", version: "unknown" };
|
|
663729
663750
|
}
|
|
663730
|
-
const coerced =
|
|
663751
|
+
const coerced = import_semver16.coerce(version3);
|
|
663731
663752
|
if (!coerced || !gte(coerced.version, MIN_DESKTOP_VERSION)) {
|
|
663732
663753
|
return { status: "version-too-old", version: version3 };
|
|
663733
663754
|
}
|
|
@@ -663780,14 +663801,14 @@ async function openCurrentSessionInDesktop() {
|
|
|
663780
663801
|
}
|
|
663781
663802
|
return { success: true, deepLinkUrl };
|
|
663782
663803
|
}
|
|
663783
|
-
var
|
|
663804
|
+
var import_semver16, MIN_DESKTOP_VERSION = "1.1.2396";
|
|
663784
663805
|
var init_desktopDeepLink = __esm(() => {
|
|
663785
663806
|
init_state();
|
|
663786
663807
|
init_cwd2();
|
|
663787
663808
|
init_debug();
|
|
663788
663809
|
init_execFileNoThrow();
|
|
663789
663810
|
init_file2();
|
|
663790
|
-
|
|
663811
|
+
import_semver16 = __toESM(require_semver3(), 1);
|
|
663791
663812
|
});
|
|
663792
663813
|
|
|
663793
663814
|
// src/components/DesktopHandoff.tsx
|
|
@@ -674117,7 +674138,7 @@ function WelcomeV2() {
|
|
|
674117
674138
|
dimColor: true,
|
|
674118
674139
|
children: [
|
|
674119
674140
|
"v",
|
|
674120
|
-
"1.2.
|
|
674141
|
+
"1.2.26"
|
|
674121
674142
|
]
|
|
674122
674143
|
}, undefined, true, undefined, this)
|
|
674123
674144
|
]
|
|
@@ -675834,7 +675855,7 @@ function completeOnboarding() {
|
|
|
675834
675855
|
saveGlobalConfig((current) => ({
|
|
675835
675856
|
...current,
|
|
675836
675857
|
hasCompletedOnboarding: true,
|
|
675837
|
-
lastOnboardingVersion: "1.2.
|
|
675858
|
+
lastOnboardingVersion: "1.2.26"
|
|
675838
675859
|
}));
|
|
675839
675860
|
}
|
|
675840
675861
|
function showDialog(root2, renderer) {
|
|
@@ -680134,7 +680155,7 @@ function appendToLog(path30, message) {
|
|
|
680134
680155
|
cwd: getFsImplementation().cwd(),
|
|
680135
680156
|
userType: "external",
|
|
680136
680157
|
sessionId: getSessionId(),
|
|
680137
|
-
version: "1.2.
|
|
680158
|
+
version: "1.2.26"
|
|
680138
680159
|
};
|
|
680139
680160
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
680140
680161
|
}
|
|
@@ -680608,6 +680629,9 @@ To attach: ${source_default.bold(`tmux attach -t ${tmuxSessionName}`)}`));
|
|
|
680608
680629
|
if (hasReleaseNotes) {
|
|
680609
680630
|
await getRecentActivity();
|
|
680610
680631
|
}
|
|
680632
|
+
if (!getIsNonInteractiveSession()) {
|
|
680633
|
+
cacheLatestNpmVersion();
|
|
680634
|
+
}
|
|
680611
680635
|
}
|
|
680612
680636
|
if (permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) {
|
|
680613
680637
|
if (process.platform !== "win32" && typeof process.getuid === "function" && process.getuid() === 0 && process.env.IS_SANDBOX !== "1" && !isEnvTruthy(process.env.CLAUDE_CODE_BUBBLEWRAP)) {
|
|
@@ -680642,6 +680666,7 @@ var init_setup2 = __esm(() => {
|
|
|
680642
680666
|
init_analytics();
|
|
680643
680667
|
init_cwd2();
|
|
680644
680668
|
init_releaseNotes();
|
|
680669
|
+
init_autoUpdater();
|
|
680645
680670
|
init_Shell();
|
|
680646
680671
|
init_sinks();
|
|
680647
680672
|
init_state();
|
|
@@ -684238,8 +684263,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
684238
684263
|
}
|
|
684239
684264
|
async function checkEnvLessBridgeMinVersion() {
|
|
684240
684265
|
const cfg = await getEnvLessBridgeConfig();
|
|
684241
|
-
if (cfg.min_version && lt("1.2.
|
|
684242
|
-
return `Your version of RAYU (${"1.2.
|
|
684266
|
+
if (cfg.min_version && lt("1.2.26", cfg.min_version)) {
|
|
684267
|
+
return `Your version of RAYU (${"1.2.26"}) is too old for Remote Control.
|
|
684243
684268
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
684244
684269
|
}
|
|
684245
684270
|
return null;
|
|
@@ -684713,7 +684738,7 @@ async function initBridgeCore(params) {
|
|
|
684713
684738
|
const rawApi = createBridgeApiClient({
|
|
684714
684739
|
baseUrl,
|
|
684715
684740
|
getAccessToken,
|
|
684716
|
-
runnerVersion: "1.2.
|
|
684741
|
+
runnerVersion: "1.2.26",
|
|
684717
684742
|
onDebug: logForDebugging,
|
|
684718
684743
|
onAuth401,
|
|
684719
684744
|
getTrustedDeviceToken
|
|
@@ -690075,7 +690100,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
690075
690100
|
setCwd(cwd3);
|
|
690076
690101
|
const server = new Server({
|
|
690077
690102
|
name: "claude/tengu",
|
|
690078
|
-
version: "1.2.
|
|
690103
|
+
version: "1.2.26"
|
|
690079
690104
|
}, {
|
|
690080
690105
|
capabilities: {
|
|
690081
690106
|
tools: {}
|
|
@@ -692601,7 +692626,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692601
692626
|
}
|
|
692602
692627
|
}
|
|
692603
692628
|
logForDiagnosticsNoPII("info", "started", {
|
|
692604
|
-
version: "1.2.
|
|
692629
|
+
version: "1.2.26",
|
|
692605
692630
|
is_native_binary: isInBundledMode()
|
|
692606
692631
|
});
|
|
692607
692632
|
registerCleanup(async () => {
|
|
@@ -693319,7 +693344,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693319
693344
|
pendingHookMessages
|
|
693320
693345
|
}, renderAndRun);
|
|
693321
693346
|
}
|
|
693322
|
-
}).version("1.2.
|
|
693347
|
+
}).version("1.2.26 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
693323
693348
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693324
693349
|
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
693350
|
if (canUserConfigureAdvisor()) {
|
|
@@ -693785,7 +693810,7 @@ if (false) {}
|
|
|
693785
693810
|
async function main2() {
|
|
693786
693811
|
const args = process.argv.slice(2);
|
|
693787
693812
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
693788
|
-
console.log(`${"1.2.
|
|
693813
|
+
console.log(`${"1.2.26"} (Rayu-CLI)`);
|
|
693789
693814
|
return;
|
|
693790
693815
|
}
|
|
693791
693816
|
const {
|