@rayu-dev/rayu-cli 1.1.8 → 1.1.10
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 +88 -88
- package/package.json +1 -1
- package/scripts/postinstall.cjs +28 -6
package/dist/rayu.js
CHANGED
|
@@ -208302,7 +208302,7 @@ var init_auth2 = __esm(() => {
|
|
|
208302
208302
|
|
|
208303
208303
|
// src/utils/userAgent.ts
|
|
208304
208304
|
function getClaudeCodeUserAgent() {
|
|
208305
|
-
return `claude-code/${"1.1.
|
|
208305
|
+
return `claude-code/${"1.1.10"}`;
|
|
208306
208306
|
}
|
|
208307
208307
|
|
|
208308
208308
|
// src/utils/workloadContext.ts
|
|
@@ -208324,7 +208324,7 @@ function getUserAgent() {
|
|
|
208324
208324
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
208325
208325
|
const workload = getWorkload();
|
|
208326
208326
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
208327
|
-
return `claude-cli/${"1.1.
|
|
208327
|
+
return `claude-cli/${"1.1.10"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
208328
208328
|
}
|
|
208329
208329
|
function getMCPUserAgent() {
|
|
208330
208330
|
const parts = [];
|
|
@@ -208338,7 +208338,7 @@ function getMCPUserAgent() {
|
|
|
208338
208338
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
208339
208339
|
}
|
|
208340
208340
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
208341
|
-
return `claude-code/${"1.1.
|
|
208341
|
+
return `claude-code/${"1.1.10"}${suffix}`;
|
|
208342
208342
|
}
|
|
208343
208343
|
function getWebFetchUserAgent() {
|
|
208344
208344
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -208476,7 +208476,7 @@ var init_user = __esm(() => {
|
|
|
208476
208476
|
deviceId,
|
|
208477
208477
|
sessionId: getSessionId(),
|
|
208478
208478
|
email: getEmail(),
|
|
208479
|
-
appVersion: "1.1.
|
|
208479
|
+
appVersion: "1.1.10",
|
|
208480
208480
|
platform: getHostPlatformForAnalytics(),
|
|
208481
208481
|
organizationUuid,
|
|
208482
208482
|
accountUuid,
|
|
@@ -216397,7 +216397,7 @@ var init_metadata = __esm(() => {
|
|
|
216397
216397
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
216398
216398
|
WHITESPACE_REGEX = /\s+/;
|
|
216399
216399
|
getVersionBase = memoize_default(() => {
|
|
216400
|
-
const match = "1.1.
|
|
216400
|
+
const match = "1.1.10".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
216401
216401
|
return match ? match[0] : undefined;
|
|
216402
216402
|
});
|
|
216403
216403
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -216437,7 +216437,7 @@ var init_metadata = __esm(() => {
|
|
|
216437
216437
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
216438
216438
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
216439
216439
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
216440
|
-
version: "1.1.
|
|
216440
|
+
version: "1.1.10",
|
|
216441
216441
|
versionBase: getVersionBase(),
|
|
216442
216442
|
buildTime: "",
|
|
216443
216443
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
@@ -217057,7 +217057,7 @@ function initialize1PEventLogging() {
|
|
|
217057
217057
|
const platform3 = getPlatform();
|
|
217058
217058
|
const attributes = {
|
|
217059
217059
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
217060
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
217060
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.10"
|
|
217061
217061
|
};
|
|
217062
217062
|
if (platform3 === "wsl") {
|
|
217063
217063
|
const wslVersion = getWslVersion();
|
|
@@ -217084,7 +217084,7 @@ function initialize1PEventLogging() {
|
|
|
217084
217084
|
})
|
|
217085
217085
|
]
|
|
217086
217086
|
});
|
|
217087
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
217087
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "1.1.10");
|
|
217088
217088
|
}
|
|
217089
217089
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
217090
217090
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -218918,7 +218918,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
218918
218918
|
if (!isAttributionHeaderEnabled()) {
|
|
218919
218919
|
return "";
|
|
218920
218920
|
}
|
|
218921
|
-
const version5 = `${"1.1.
|
|
218921
|
+
const version5 = `${"1.1.10"}.${fingerprint}`;
|
|
218922
218922
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
218923
218923
|
const cch = "";
|
|
218924
218924
|
const workload = getWorkload();
|
|
@@ -398449,7 +398449,7 @@ function getTelemetryAttributes() {
|
|
|
398449
398449
|
attributes["session.id"] = sessionId;
|
|
398450
398450
|
}
|
|
398451
398451
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
398452
|
-
attributes["app.version"] = "1.1.
|
|
398452
|
+
attributes["app.version"] = "1.1.10";
|
|
398453
398453
|
}
|
|
398454
398454
|
const oauthAccount = getOauthAccountInfo();
|
|
398455
398455
|
if (oauthAccount) {
|
|
@@ -429775,7 +429775,7 @@ function getInstallationEnv() {
|
|
|
429775
429775
|
return;
|
|
429776
429776
|
}
|
|
429777
429777
|
function getClaudeCodeVersion() {
|
|
429778
|
-
return "1.1.
|
|
429778
|
+
return "1.1.10";
|
|
429779
429779
|
}
|
|
429780
429780
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
429781
429781
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -435340,7 +435340,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
435340
435340
|
const client5 = new Client({
|
|
435341
435341
|
name: "claude-code",
|
|
435342
435342
|
title: "RAYU",
|
|
435343
|
-
version: "1.1.
|
|
435343
|
+
version: "1.1.10",
|
|
435344
435344
|
description: "Anthropic's agentic coding tool",
|
|
435345
435345
|
websiteUrl: PRODUCT_URL
|
|
435346
435346
|
}, {
|
|
@@ -435694,7 +435694,7 @@ var init_client10 = __esm(() => {
|
|
|
435694
435694
|
const client5 = new Client({
|
|
435695
435695
|
name: "claude-code",
|
|
435696
435696
|
title: "RAYU",
|
|
435697
|
-
version: "1.1.
|
|
435697
|
+
version: "1.1.10",
|
|
435698
435698
|
description: "Anthropic's agentic coding tool",
|
|
435699
435699
|
websiteUrl: PRODUCT_URL
|
|
435700
435700
|
}, {
|
|
@@ -453749,7 +453749,7 @@ async function initializeBetaTracing(resource) {
|
|
|
453749
453749
|
});
|
|
453750
453750
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
453751
453751
|
setLoggerProvider(loggerProvider);
|
|
453752
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
453752
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.10");
|
|
453753
453753
|
setEventLogger(eventLogger);
|
|
453754
453754
|
process.on("beforeExit", async () => {
|
|
453755
453755
|
await loggerProvider?.forceFlush();
|
|
@@ -453789,7 +453789,7 @@ async function initializeTelemetry() {
|
|
|
453789
453789
|
const platform5 = getPlatform();
|
|
453790
453790
|
const baseAttributes = {
|
|
453791
453791
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
453792
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
453792
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.10"
|
|
453793
453793
|
};
|
|
453794
453794
|
if (platform5 === "wsl") {
|
|
453795
453795
|
const wslVersion = getWslVersion();
|
|
@@ -453834,7 +453834,7 @@ async function initializeTelemetry() {
|
|
|
453834
453834
|
} catch {}
|
|
453835
453835
|
};
|
|
453836
453836
|
registerCleanup(shutdownTelemetry2);
|
|
453837
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.
|
|
453837
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.10");
|
|
453838
453838
|
}
|
|
453839
453839
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
453840
453840
|
resource,
|
|
@@ -453854,7 +453854,7 @@ async function initializeTelemetry() {
|
|
|
453854
453854
|
});
|
|
453855
453855
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
453856
453856
|
setLoggerProvider(loggerProvider);
|
|
453857
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
453857
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.1.10");
|
|
453858
453858
|
setEventLogger(eventLogger);
|
|
453859
453859
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
453860
453860
|
process.on("beforeExit", async () => {
|
|
@@ -453916,7 +453916,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
453916
453916
|
}
|
|
453917
453917
|
};
|
|
453918
453918
|
registerCleanup(shutdownTelemetry);
|
|
453919
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.
|
|
453919
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.10");
|
|
453920
453920
|
}
|
|
453921
453921
|
async function flushTelemetry() {
|
|
453922
453922
|
const meterProvider = getMeterProvider();
|
|
@@ -454584,9 +454584,9 @@ async function assertMinVersion() {
|
|
|
454584
454584
|
if (false) {}
|
|
454585
454585
|
try {
|
|
454586
454586
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
454587
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
454587
|
+
if (versionConfig.minVersion && lt("1.1.10", versionConfig.minVersion)) {
|
|
454588
454588
|
console.error(`
|
|
454589
|
-
It looks like your version of RAYU (${"1.1.
|
|
454589
|
+
It looks like your version of RAYU (${"1.1.10"}) needs an update.
|
|
454590
454590
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
454591
454591
|
|
|
454592
454592
|
To update, please run:
|
|
@@ -454798,7 +454798,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
454798
454798
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
454799
454799
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
454800
454800
|
pid: process.pid,
|
|
454801
|
-
currentVersion: "1.1.
|
|
454801
|
+
currentVersion: "1.1.10"
|
|
454802
454802
|
});
|
|
454803
454803
|
return "in_progress";
|
|
454804
454804
|
}
|
|
@@ -454807,7 +454807,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
454807
454807
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
454808
454808
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
454809
454809
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
454810
|
-
currentVersion: "1.1.
|
|
454810
|
+
currentVersion: "1.1.10"
|
|
454811
454811
|
});
|
|
454812
454812
|
console.error(`
|
|
454813
454813
|
Error: Windows NPM detected in WSL
|
|
@@ -455342,7 +455342,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
455342
455342
|
}
|
|
455343
455343
|
async function getDoctorDiagnostic() {
|
|
455344
455344
|
const installationType = await getCurrentInstallationType();
|
|
455345
|
-
const version5 = typeof MACRO !== "undefined" ? "1.1.
|
|
455345
|
+
const version5 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
|
|
455346
455346
|
const installationPath = await getInstallationPath();
|
|
455347
455347
|
const invokedBinary = getInvokedBinary();
|
|
455348
455348
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -456166,8 +456166,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
456166
456166
|
const maxVersion = await getMaxVersion();
|
|
456167
456167
|
if (maxVersion && gt(version5, maxVersion)) {
|
|
456168
456168
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version5} to ${maxVersion}`);
|
|
456169
|
-
if (gte("1.1.
|
|
456170
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
456169
|
+
if (gte("1.1.10", maxVersion)) {
|
|
456170
|
+
logForDebugging(`Native installer: current version ${"1.1.10"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
456171
456171
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
456172
456172
|
latency_ms: Date.now() - startTime,
|
|
456173
456173
|
max_version: maxVersion,
|
|
@@ -456178,7 +456178,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
456178
456178
|
version5 = maxVersion;
|
|
456179
456179
|
}
|
|
456180
456180
|
}
|
|
456181
|
-
if (!forceReinstall && version5 === "1.1.
|
|
456181
|
+
if (!forceReinstall && version5 === "1.1.10" && await versionIsAvailable(version5) && await isPossibleClaudeBinary(executablePath)) {
|
|
456182
456182
|
logForDebugging(`Found ${version5} at ${executablePath}, skipping install`);
|
|
456183
456183
|
logEvent("tengu_native_update_complete", {
|
|
456184
456184
|
latency_ms: Date.now() - startTime,
|
|
@@ -570004,7 +570004,7 @@ function Feedback({
|
|
|
570004
570004
|
platform: env4.platform,
|
|
570005
570005
|
gitRepo: envInfo.isGit,
|
|
570006
570006
|
terminal: env4.terminal,
|
|
570007
|
-
version: "1.1.
|
|
570007
|
+
version: "1.1.10",
|
|
570008
570008
|
transcript: normalizeMessagesForAPI(messages),
|
|
570009
570009
|
errors: sanitizedErrors,
|
|
570010
570010
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -570196,7 +570196,7 @@ function Feedback({
|
|
|
570196
570196
|
", ",
|
|
570197
570197
|
env4.terminal,
|
|
570198
570198
|
", v",
|
|
570199
|
-
"1.1.
|
|
570199
|
+
"1.1.10"
|
|
570200
570200
|
]
|
|
570201
570201
|
}, undefined, true, undefined, this)
|
|
570202
570202
|
]
|
|
@@ -570302,7 +570302,7 @@ ${sanitizedDescription}
|
|
|
570302
570302
|
` + `**Environment Info**
|
|
570303
570303
|
` + `- Platform: ${env4.platform}
|
|
570304
570304
|
` + `- Terminal: ${env4.terminal}
|
|
570305
|
-
` + `- Version: ${"1.1.
|
|
570305
|
+
` + `- Version: ${"1.1.10"}
|
|
570306
570306
|
` + `- Feedback ID: ${feedbackId}
|
|
570307
570307
|
` + `
|
|
570308
570308
|
**Errors**
|
|
@@ -573402,7 +573402,7 @@ function buildPrimarySection() {
|
|
|
573402
573402
|
}, undefined, false, undefined, this);
|
|
573403
573403
|
return [{
|
|
573404
573404
|
label: "Version",
|
|
573405
|
-
value: "1.1.
|
|
573405
|
+
value: "1.1.10"
|
|
573406
573406
|
}, {
|
|
573407
573407
|
label: "Session name",
|
|
573408
573408
|
value: nameValue
|
|
@@ -573975,7 +573975,7 @@ function ThemePicker(t0) {
|
|
|
573975
573975
|
newStart: 1,
|
|
573976
573976
|
oldLines: 3,
|
|
573977
573977
|
newLines: 3,
|
|
573978
|
-
lines: [" function greet() {", '- console.log("Hello, World!");', '+ console.log("Hello,
|
|
573978
|
+
lines: [" function greet() {", '- console.log("Hello, World!");', '+ console.log("Hello, Rayu!");', " }"]
|
|
573979
573979
|
};
|
|
573980
573980
|
$3[34] = t20;
|
|
573981
573981
|
} else {
|
|
@@ -577153,7 +577153,7 @@ function Config({
|
|
|
577153
577153
|
}
|
|
577154
577154
|
}, undefined, false, undefined, this)
|
|
577155
577155
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime182.jsxDEV(ChannelDowngradeDialog, {
|
|
577156
|
-
currentVersion: "1.1.
|
|
577156
|
+
currentVersion: "1.1.10",
|
|
577157
577157
|
onChoice: (choice) => {
|
|
577158
577158
|
setShowSubmenu(null);
|
|
577159
577159
|
setTabsHidden(false);
|
|
@@ -577165,7 +577165,7 @@ function Config({
|
|
|
577165
577165
|
autoUpdatesChannel: "stable"
|
|
577166
577166
|
};
|
|
577167
577167
|
if (choice === "stay") {
|
|
577168
|
-
newSettings.minimumVersion = "1.1.
|
|
577168
|
+
newSettings.minimumVersion = "1.1.10";
|
|
577169
577169
|
}
|
|
577170
577170
|
updateSettingsForSource("userSettings", newSettings);
|
|
577171
577171
|
setSettingsData((prev_27) => ({
|
|
@@ -585166,7 +585166,7 @@ function HelpV2(t0) {
|
|
|
585166
585166
|
let t6;
|
|
585167
585167
|
if ($3[31] !== tabs) {
|
|
585168
585168
|
t6 = /* @__PURE__ */ jsx_dev_runtime209.jsxDEV(Tabs, {
|
|
585169
|
-
title: `Rayu-CLI v${"1.1.
|
|
585169
|
+
title: `Rayu-CLI v${"1.1.10"}`,
|
|
585170
585170
|
color: "professionalBlue",
|
|
585171
585171
|
defaultTab: "general",
|
|
585172
585172
|
children: tabs
|
|
@@ -607979,7 +607979,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
607979
607979
|
return [];
|
|
607980
607980
|
}
|
|
607981
607981
|
}
|
|
607982
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
607982
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.10") {
|
|
607983
607983
|
if (false) {}
|
|
607984
607984
|
const cachedChangelog = await getStoredChangelog();
|
|
607985
607985
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -607992,7 +607992,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.8") {
|
|
|
607992
607992
|
releaseNotes
|
|
607993
607993
|
};
|
|
607994
607994
|
}
|
|
607995
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
607995
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.10") {
|
|
607996
607996
|
if (false) {}
|
|
607997
607997
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
607998
607998
|
return {
|
|
@@ -609178,7 +609178,7 @@ function getRecentActivitySync() {
|
|
|
609178
609178
|
return cachedActivity;
|
|
609179
609179
|
}
|
|
609180
609180
|
function getLogoDisplayData() {
|
|
609181
|
-
const version5 = process.env.DEMO_VERSION ?? "1.1.
|
|
609181
|
+
const version5 = process.env.DEMO_VERSION ?? "1.1.10";
|
|
609182
609182
|
const serverUrl = getDirectConnectServerUrl();
|
|
609183
609183
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
609184
609184
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -609710,7 +609710,7 @@ function createProjectOnboardingFeed(steps) {
|
|
|
609710
609710
|
text: `${checkmark}${text2}`
|
|
609711
609711
|
};
|
|
609712
609712
|
});
|
|
609713
|
-
const warningText = getCwd() === homedir32() ? "Note: You have launched
|
|
609713
|
+
const warningText = getCwd() === homedir32() ? "Note: You have launched Rayu in your home directory. For the best experience, launch it in a project directory instead." : undefined;
|
|
609714
609714
|
if (warningText) {
|
|
609715
609715
|
lines2.push({
|
|
609716
609716
|
text: warningText
|
|
@@ -610431,7 +610431,7 @@ function LogoV2() {
|
|
|
610431
610431
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
610432
610432
|
t2 = () => {
|
|
610433
610433
|
const currentConfig = getGlobalConfig();
|
|
610434
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
610434
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.10") {
|
|
610435
610435
|
return;
|
|
610436
610436
|
}
|
|
610437
610437
|
saveGlobalConfig(_temp328);
|
|
@@ -611107,12 +611107,12 @@ function LogoV2() {
|
|
|
611107
611107
|
return t41;
|
|
611108
611108
|
}
|
|
611109
611109
|
function _temp328(current) {
|
|
611110
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
611110
|
+
if (current.lastReleaseNotesSeen === "1.1.10") {
|
|
611111
611111
|
return current;
|
|
611112
611112
|
}
|
|
611113
611113
|
return {
|
|
611114
611114
|
...current,
|
|
611115
|
-
lastReleaseNotesSeen: "1.1.
|
|
611115
|
+
lastReleaseNotesSeen: "1.1.10"
|
|
611116
611116
|
};
|
|
611117
611117
|
}
|
|
611118
611118
|
function _temp243(s_0) {
|
|
@@ -637503,7 +637503,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
637503
637503
|
smapsRollup,
|
|
637504
637504
|
platform: process.platform,
|
|
637505
637505
|
nodeVersion: process.version,
|
|
637506
|
-
ccVersion: "1.1.
|
|
637506
|
+
ccVersion: "1.1.10"
|
|
637507
637507
|
};
|
|
637508
637508
|
}
|
|
637509
637509
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -638031,7 +638031,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
638031
638031
|
var call59 = async () => {
|
|
638032
638032
|
return {
|
|
638033
638033
|
type: "text",
|
|
638034
|
-
value: "1.1.
|
|
638034
|
+
value: "1.1.10"
|
|
638035
638035
|
};
|
|
638036
638036
|
}, version5, version_default;
|
|
638037
638037
|
var init_version = __esm(() => {
|
|
@@ -647425,7 +647425,7 @@ function generateHtmlReport(data, insights) {
|
|
|
647425
647425
|
</html>`;
|
|
647426
647426
|
}
|
|
647427
647427
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
647428
|
-
const version6 = typeof MACRO !== "undefined" ? "1.1.
|
|
647428
|
+
const version6 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
|
|
647429
647429
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
647430
647430
|
const facets_summary = {
|
|
647431
647431
|
total: facets.size,
|
|
@@ -651409,7 +651409,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
651409
651409
|
init_settings2();
|
|
651410
651410
|
init_slowOperations();
|
|
651411
651411
|
init_uuid();
|
|
651412
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.1.
|
|
651412
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.1.10" : "unknown";
|
|
651413
651413
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
651414
651414
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
651415
651415
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -652630,7 +652630,7 @@ var init_filesystem = __esm(() => {
|
|
|
652630
652630
|
});
|
|
652631
652631
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
652632
652632
|
const nonce = randomBytes19(16).toString("hex");
|
|
652633
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.1.
|
|
652633
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.1.10", nonce);
|
|
652634
652634
|
});
|
|
652635
652635
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
652636
652636
|
});
|
|
@@ -658119,7 +658119,7 @@ function getFunctionResultClearingSection(model) {
|
|
|
658119
658119
|
|
|
658120
658120
|
Old tool results will be automatically cleared from context to free up space. The ${config5.keepRecent} most recent results are always kept.`;
|
|
658121
658121
|
}
|
|
658122
|
-
var getCachedMCConfigForFRC = null, DISCOVER_SKILLS_TOOL_NAME = null, SYSTEM_PROMPT_DYNAMIC_BOUNDARY = "__SYSTEM_PROMPT_DYNAMIC_BOUNDARY__", CLAUDE_4_5_OR_4_6_MODEL_IDS, DEFAULT_AGENT_PROMPT = `You are an agent for the official CLI powered by Choeng Rayu. Given the user's message, you should use the tools available to complete the task. Complete the task fully—don't gold-plate, but don't leave it half-done. When you complete the task, respond with a concise report covering what was done and any key findings — the caller will relay this to the user, so it only needs the essentials.`, SUMMARIZE_TOOL_RESULTS_SECTION = `When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.`;
|
|
658122
|
+
var getCachedMCConfigForFRC = null, DISCOVER_SKILLS_TOOL_NAME = null, SYSTEM_PROMPT_DYNAMIC_BOUNDARY = "__SYSTEM_PROMPT_DYNAMIC_BOUNDARY__", FRONTIER_MODEL_NAME = "Claude Opus 4.6", CLAUDE_4_5_OR_4_6_MODEL_IDS, DEFAULT_AGENT_PROMPT = `You are an agent for the official CLI powered by Choeng Rayu. Given the user's message, you should use the tools available to complete the task. Complete the task fully—don't gold-plate, but don't leave it half-done. When you complete the task, respond with a concise report covering what was done and any key findings — the caller will relay this to the user, so it only needs the essentials.`, SUMMARIZE_TOOL_RESULTS_SECTION = `When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.`;
|
|
658123
658123
|
var init_prompts4 = __esm(() => {
|
|
658124
658124
|
init_env();
|
|
658125
658125
|
init_git();
|
|
@@ -658603,7 +658603,7 @@ function computeFingerprint(messageText, version6) {
|
|
|
658603
658603
|
}
|
|
658604
658604
|
function computeFingerprintFromMessages(messages) {
|
|
658605
658605
|
const firstMessageText = extractFirstMessageText(messages);
|
|
658606
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
658606
|
+
return computeFingerprint(firstMessageText, "1.1.10");
|
|
658607
658607
|
}
|
|
658608
658608
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
658609
658609
|
var init_fingerprint = () => {};
|
|
@@ -660445,7 +660445,7 @@ async function sideQuery(opts) {
|
|
|
660445
660445
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
660446
660446
|
}
|
|
660447
660447
|
const messageText = extractFirstUserMessageText(messages);
|
|
660448
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
660448
|
+
const fingerprint = computeFingerprint(messageText, "1.1.10");
|
|
660449
660449
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
660450
660450
|
const systemBlocks = [
|
|
660451
660451
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -661088,7 +661088,7 @@ function showFirstRunWelcome() {
|
|
|
661088
661088
|
`);
|
|
661089
661089
|
try {
|
|
661090
661090
|
mkdirSync11(getClaudeConfigHomeDir(), { recursive: true });
|
|
661091
|
-
writeFileSync13(markerPath(), "1.1.
|
|
661091
|
+
writeFileSync13(markerPath(), "1.1.10", "utf8");
|
|
661092
661092
|
} catch {}
|
|
661093
661093
|
}
|
|
661094
661094
|
var init_firstRun = __esm(() => {
|
|
@@ -665017,7 +665017,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
665017
665017
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
665018
665018
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
665019
665019
|
betas: getSdkBetas(),
|
|
665020
|
-
claude_code_version: "1.1.
|
|
665020
|
+
claude_code_version: "1.1.10",
|
|
665021
665021
|
output_style: outputStyle2,
|
|
665022
665022
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
665023
665023
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -680800,7 +680800,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
680800
680800
|
function getSemverPart(version6) {
|
|
680801
680801
|
return `${import_semver13.major(version6, { loose: true })}.${import_semver13.minor(version6, { loose: true })}.${import_semver13.patch(version6, { loose: true })}`;
|
|
680802
680802
|
}
|
|
680803
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
680803
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.10") {
|
|
680804
680804
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react231.useState(() => getSemverPart(initialVersion));
|
|
680805
680805
|
if (!updatedVersion) {
|
|
680806
680806
|
return null;
|
|
@@ -680840,7 +680840,7 @@ function AutoUpdater({
|
|
|
680840
680840
|
return;
|
|
680841
680841
|
}
|
|
680842
680842
|
if (false) {}
|
|
680843
|
-
const currentVersion = "1.1.
|
|
680843
|
+
const currentVersion = "1.1.10";
|
|
680844
680844
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
680845
680845
|
let latestVersion = await getLatestVersion(channel);
|
|
680846
680846
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -681053,12 +681053,12 @@ function NativeAutoUpdater({
|
|
|
681053
681053
|
logEvent("tengu_native_auto_updater_start", {});
|
|
681054
681054
|
try {
|
|
681055
681055
|
const maxVersion = await getMaxVersion();
|
|
681056
|
-
if (maxVersion && gt("1.1.
|
|
681056
|
+
if (maxVersion && gt("1.1.10", maxVersion)) {
|
|
681057
681057
|
const msg = await getMaxVersionMessage();
|
|
681058
681058
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
681059
681059
|
}
|
|
681060
681060
|
const result = await installLatest(channel);
|
|
681061
|
-
const currentVersion = "1.1.
|
|
681061
|
+
const currentVersion = "1.1.10";
|
|
681062
681062
|
const latencyMs = Date.now() - startTime;
|
|
681063
681063
|
if (result.lockFailed) {
|
|
681064
681064
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -681195,17 +681195,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
681195
681195
|
const maxVersion = await getMaxVersion();
|
|
681196
681196
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
681197
681197
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
681198
|
-
if (gte("1.1.
|
|
681199
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
681198
|
+
if (gte("1.1.10", maxVersion)) {
|
|
681199
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.10"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
681200
681200
|
setUpdateAvailable(false);
|
|
681201
681201
|
return;
|
|
681202
681202
|
}
|
|
681203
681203
|
latest = maxVersion;
|
|
681204
681204
|
}
|
|
681205
|
-
const hasUpdate = latest && !gte("1.1.
|
|
681205
|
+
const hasUpdate = latest && !gte("1.1.10", latest) && !shouldSkipVersion(latest);
|
|
681206
681206
|
setUpdateAvailable(!!hasUpdate);
|
|
681207
681207
|
if (hasUpdate) {
|
|
681208
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
681208
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.10"} -> ${latest}`);
|
|
681209
681209
|
}
|
|
681210
681210
|
};
|
|
681211
681211
|
$3[0] = t1;
|
|
@@ -681239,7 +681239,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
681239
681239
|
wrap: "truncate",
|
|
681240
681240
|
children: [
|
|
681241
681241
|
"currentVersion: ",
|
|
681242
|
-
"1.1.
|
|
681242
|
+
"1.1.10"
|
|
681243
681243
|
]
|
|
681244
681244
|
}, undefined, true, undefined, this);
|
|
681245
681245
|
$3[3] = verbose;
|
|
@@ -689400,7 +689400,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
689400
689400
|
project_dir: getOriginalCwd(),
|
|
689401
689401
|
added_dirs: addedDirs
|
|
689402
689402
|
},
|
|
689403
|
-
version: "1.1.
|
|
689403
|
+
version: "1.1.10",
|
|
689404
689404
|
output_style: {
|
|
689405
689405
|
name: outputStyleName
|
|
689406
689406
|
},
|
|
@@ -700774,7 +700774,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
700774
700774
|
} catch {}
|
|
700775
700775
|
const data = {
|
|
700776
700776
|
trigger,
|
|
700777
|
-
version: "1.1.
|
|
700777
|
+
version: "1.1.10",
|
|
700778
700778
|
platform: process.platform,
|
|
700779
700779
|
transcript,
|
|
700780
700780
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -712748,7 +712748,7 @@ function WelcomeV2() {
|
|
|
712748
712748
|
dimColor: true,
|
|
712749
712749
|
children: [
|
|
712750
712750
|
"v",
|
|
712751
|
-
"1.1.
|
|
712751
|
+
"1.1.10"
|
|
712752
712752
|
]
|
|
712753
712753
|
}, undefined, true, undefined, this)
|
|
712754
712754
|
]
|
|
@@ -714025,7 +714025,7 @@ function completeOnboarding() {
|
|
|
714025
714025
|
saveGlobalConfig((current) => ({
|
|
714026
714026
|
...current,
|
|
714027
714027
|
hasCompletedOnboarding: true,
|
|
714028
|
-
lastOnboardingVersion: "1.1.
|
|
714028
|
+
lastOnboardingVersion: "1.1.10"
|
|
714029
714029
|
}));
|
|
714030
714030
|
}
|
|
714031
714031
|
function showDialog(root2, renderer) {
|
|
@@ -718778,7 +718778,7 @@ function appendToLog(path32, message) {
|
|
|
718778
718778
|
cwd: getFsImplementation().cwd(),
|
|
718779
718779
|
userType: "external",
|
|
718780
718780
|
sessionId: getSessionId(),
|
|
718781
|
-
version: "1.1.
|
|
718781
|
+
version: "1.1.10"
|
|
718782
718782
|
};
|
|
718783
718783
|
getLogWriter(path32).write(messageWithTimestamp);
|
|
718784
718784
|
}
|
|
@@ -722737,8 +722737,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
722737
722737
|
}
|
|
722738
722738
|
async function checkEnvLessBridgeMinVersion() {
|
|
722739
722739
|
const cfg = await getEnvLessBridgeConfig();
|
|
722740
|
-
if (cfg.min_version && lt("1.1.
|
|
722741
|
-
return `Your version of RAYU (${"1.1.
|
|
722740
|
+
if (cfg.min_version && lt("1.1.10", cfg.min_version)) {
|
|
722741
|
+
return `Your version of RAYU (${"1.1.10"}) is too old for Remote Control.
|
|
722742
722742
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
722743
722743
|
}
|
|
722744
722744
|
return null;
|
|
@@ -723212,7 +723212,7 @@ async function initBridgeCore(params) {
|
|
|
723212
723212
|
const rawApi = createBridgeApiClient({
|
|
723213
723213
|
baseUrl,
|
|
723214
723214
|
getAccessToken,
|
|
723215
|
-
runnerVersion: "1.1.
|
|
723215
|
+
runnerVersion: "1.1.10",
|
|
723216
723216
|
onDebug: logForDebugging,
|
|
723217
723217
|
onAuth401,
|
|
723218
723218
|
getTrustedDeviceToken
|
|
@@ -728844,7 +728844,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
728844
728844
|
setCwd(cwd3);
|
|
728845
728845
|
const server = new Server({
|
|
728846
728846
|
name: "claude/tengu",
|
|
728847
|
-
version: "1.1.
|
|
728847
|
+
version: "1.1.10"
|
|
728848
728848
|
}, {
|
|
728849
728849
|
capabilities: {
|
|
728850
728850
|
tools: {}
|
|
@@ -730455,7 +730455,7 @@ __export(exports_update, {
|
|
|
730455
730455
|
});
|
|
730456
730456
|
async function update() {
|
|
730457
730457
|
logEvent("tengu_update_check", {});
|
|
730458
|
-
writeToStdout(`Current version: ${"1.1.
|
|
730458
|
+
writeToStdout(`Current version: ${"1.1.10"}
|
|
730459
730459
|
`);
|
|
730460
730460
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
730461
730461
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -730530,8 +730530,8 @@ async function update() {
|
|
|
730530
730530
|
writeToStdout(`Claude is managed by Homebrew.
|
|
730531
730531
|
`);
|
|
730532
730532
|
const latest = await getLatestVersion(channel);
|
|
730533
|
-
if (latest && !gte("1.1.
|
|
730534
|
-
writeToStdout(`Update available: ${"1.1.
|
|
730533
|
+
if (latest && !gte("1.1.10", latest)) {
|
|
730534
|
+
writeToStdout(`Update available: ${"1.1.10"} → ${latest}
|
|
730535
730535
|
`);
|
|
730536
730536
|
writeToStdout(`
|
|
730537
730537
|
`);
|
|
@@ -730547,8 +730547,8 @@ async function update() {
|
|
|
730547
730547
|
writeToStdout(`Claude is managed by winget.
|
|
730548
730548
|
`);
|
|
730549
730549
|
const latest = await getLatestVersion(channel);
|
|
730550
|
-
if (latest && !gte("1.1.
|
|
730551
|
-
writeToStdout(`Update available: ${"1.1.
|
|
730550
|
+
if (latest && !gte("1.1.10", latest)) {
|
|
730551
|
+
writeToStdout(`Update available: ${"1.1.10"} → ${latest}
|
|
730552
730552
|
`);
|
|
730553
730553
|
writeToStdout(`
|
|
730554
730554
|
`);
|
|
@@ -730564,8 +730564,8 @@ async function update() {
|
|
|
730564
730564
|
writeToStdout(`Claude is managed by apk.
|
|
730565
730565
|
`);
|
|
730566
730566
|
const latest = await getLatestVersion(channel);
|
|
730567
|
-
if (latest && !gte("1.1.
|
|
730568
|
-
writeToStdout(`Update available: ${"1.1.
|
|
730567
|
+
if (latest && !gte("1.1.10", latest)) {
|
|
730568
|
+
writeToStdout(`Update available: ${"1.1.10"} → ${latest}
|
|
730569
730569
|
`);
|
|
730570
730570
|
writeToStdout(`
|
|
730571
730571
|
`);
|
|
@@ -730630,11 +730630,11 @@ async function update() {
|
|
|
730630
730630
|
`);
|
|
730631
730631
|
await gracefulShutdown(1);
|
|
730632
730632
|
}
|
|
730633
|
-
if (result.latestVersion === "1.1.
|
|
730634
|
-
writeToStdout(source_default.green(`RAYU is up to date (${"1.1.
|
|
730633
|
+
if (result.latestVersion === "1.1.10") {
|
|
730634
|
+
writeToStdout(source_default.green(`RAYU is up to date (${"1.1.10"})`) + `
|
|
730635
730635
|
`);
|
|
730636
730636
|
} else {
|
|
730637
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
730637
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.10"} to version ${result.latestVersion}`) + `
|
|
730638
730638
|
`);
|
|
730639
730639
|
await regenerateCompletionCache();
|
|
730640
730640
|
}
|
|
@@ -730694,12 +730694,12 @@ async function update() {
|
|
|
730694
730694
|
`);
|
|
730695
730695
|
await gracefulShutdown(1);
|
|
730696
730696
|
}
|
|
730697
|
-
if (latestVersion === "1.1.
|
|
730698
|
-
writeToStdout(source_default.green(`RAYU is up to date (${"1.1.
|
|
730697
|
+
if (latestVersion === "1.1.10") {
|
|
730698
|
+
writeToStdout(source_default.green(`RAYU is up to date (${"1.1.10"})`) + `
|
|
730699
730699
|
`);
|
|
730700
730700
|
await gracefulShutdown(0);
|
|
730701
730701
|
}
|
|
730702
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
730702
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.10"})
|
|
730703
730703
|
`);
|
|
730704
730704
|
writeToStdout(`Installing update...
|
|
730705
730705
|
`);
|
|
@@ -730744,7 +730744,7 @@ async function update() {
|
|
|
730744
730744
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
730745
730745
|
switch (status2) {
|
|
730746
730746
|
case "success":
|
|
730747
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
730747
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.10"} to version ${latestVersion}`) + `
|
|
730748
730748
|
`);
|
|
730749
730749
|
await regenerateCompletionCache();
|
|
730750
730750
|
break;
|
|
@@ -730810,7 +730810,7 @@ __export(exports_uninstall, {
|
|
|
730810
730810
|
});
|
|
730811
730811
|
import { homedir as homedir43 } from "os";
|
|
730812
730812
|
async function uninstall() {
|
|
730813
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.1.
|
|
730813
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.1.10"})...
|
|
730814
730814
|
`);
|
|
730815
730815
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
730816
730816
|
|
|
@@ -730835,7 +730835,7 @@ Try running manually:
|
|
|
730835
730835
|
await gracefulShutdown(1);
|
|
730836
730836
|
return;
|
|
730837
730837
|
}
|
|
730838
|
-
writeToStdout(source_default.green(`Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.1.
|
|
730838
|
+
writeToStdout(source_default.green(`Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.1.10"}
|
|
730839
730839
|
`));
|
|
730840
730840
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
730841
730841
|
`);
|
|
@@ -732032,7 +732032,7 @@ ${customInstructions}` : customInstructions;
|
|
|
732032
732032
|
}
|
|
732033
732033
|
}
|
|
732034
732034
|
logForDiagnosticsNoPII("info", "started", {
|
|
732035
|
-
version: "1.1.
|
|
732035
|
+
version: "1.1.10",
|
|
732036
732036
|
is_native_binary: isInBundledMode()
|
|
732037
732037
|
});
|
|
732038
732038
|
registerCleanup(async () => {
|
|
@@ -732817,7 +732817,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
732817
732817
|
pendingHookMessages
|
|
732818
732818
|
}, renderAndRun);
|
|
732819
732819
|
}
|
|
732820
|
-
}).version("1.1.
|
|
732820
|
+
}).version("1.1.10 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
732821
732821
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
732822
732822
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
732823
732823
|
if (canUserConfigureAdvisor()) {
|
|
@@ -733338,7 +733338,7 @@ if (false) {}
|
|
|
733338
733338
|
async function main2() {
|
|
733339
733339
|
const args = process.argv.slice(2);
|
|
733340
733340
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
733341
|
-
console.log(`${"1.1.
|
|
733341
|
+
console.log(`${"1.1.10"} (Rayu-CLI)`);
|
|
733342
733342
|
return;
|
|
733343
733343
|
}
|
|
733344
733344
|
const {
|
package/package.json
CHANGED
package/scripts/postinstall.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const os = require('os');
|
|
5
|
+
const path = require('path');
|
|
6
|
+
|
|
7
|
+
const message = [
|
|
7
8
|
'',
|
|
8
9
|
' +--------------------------------------------------+',
|
|
9
10
|
' | |',
|
|
@@ -21,6 +22,27 @@ const lines = [
|
|
|
21
22
|
'',
|
|
22
23
|
' Docs & issues: https://github.com/Choeng-Rayu/rayu-cli',
|
|
23
24
|
'',
|
|
24
|
-
];
|
|
25
|
+
].join('\n') + '\n';
|
|
26
|
+
|
|
27
|
+
// Write the first-run marker so the binary does not show the message again
|
|
28
|
+
function writeMarker() {
|
|
29
|
+
try {
|
|
30
|
+
const dir = path.join(os.homedir(), '.rayu');
|
|
31
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
32
|
+
fs.writeFileSync(path.join(dir, '.installed'), 'postinstall', 'utf8');
|
|
33
|
+
} catch (_) {}
|
|
34
|
+
}
|
|
25
35
|
|
|
26
|
-
|
|
36
|
+
// npm v7+ pipes lifecycle script stdout/stderr, so we open /dev/tty directly
|
|
37
|
+
// to write straight to the user's terminal (proven to work with PTY parent).
|
|
38
|
+
try {
|
|
39
|
+
const fd = fs.openSync('/dev/tty', 'w');
|
|
40
|
+
fs.writeSync(fd, message);
|
|
41
|
+
fs.closeSync(fd);
|
|
42
|
+
// Postinstall showed the message — mark as done so binary skips it
|
|
43
|
+
writeMarker();
|
|
44
|
+
} catch (_) {
|
|
45
|
+
// No controlling terminal (CI, Docker, Windows) — fall through.
|
|
46
|
+
// The binary will show the message on the user's first rayu run instead.
|
|
47
|
+
process.stdout.write(message);
|
|
48
|
+
}
|