@rayu-dev/rayu-cli 1.2.14 → 1.2.15
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 +118 -88
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -35635,9 +35635,10 @@ function withTimeout(p, ms) {
|
|
|
35635
35635
|
function tokenSources() {
|
|
35636
35636
|
if (tokenSourcesOverride)
|
|
35637
35637
|
return tokenSourcesOverride;
|
|
35638
|
-
const sources = [
|
|
35638
|
+
const sources = [];
|
|
35639
35639
|
if (oauthFallback)
|
|
35640
35640
|
sources.push(oauthFallback);
|
|
35641
|
+
sources.push(adcTokenSource);
|
|
35641
35642
|
return sources;
|
|
35642
35643
|
}
|
|
35643
35644
|
async function getVertexAccessToken() {
|
|
@@ -36367,8 +36368,11 @@ async function fetchVertexGeminiModels(p) {
|
|
|
36367
36368
|
const { vertexHost: vertexHost2 } = await Promise.resolve().then(() => (init_rayuProviders(), exports_rayuProviders));
|
|
36368
36369
|
const token = await getVertexAccessToken2();
|
|
36369
36370
|
const url = `https://${vertexHost2(region)}/v1beta1/publishers/google/models?pageSize=200`;
|
|
36371
|
+
const headers = { Authorization: `Bearer ${token}` };
|
|
36372
|
+
if (p.gcpProject)
|
|
36373
|
+
headers["x-goog-user-project"] = p.gcpProject;
|
|
36370
36374
|
const res = await fetch(url, {
|
|
36371
|
-
headers
|
|
36375
|
+
headers,
|
|
36372
36376
|
signal: AbortSignal.timeout(15000)
|
|
36373
36377
|
});
|
|
36374
36378
|
if (!res.ok) {
|
|
@@ -36378,7 +36382,8 @@ async function fetchVertexGeminiModels(p) {
|
|
|
36378
36382
|
});
|
|
36379
36383
|
return mergeGeminiModels([]);
|
|
36380
36384
|
}
|
|
36381
|
-
|
|
36385
|
+
const live = parseVertexGeminiModels(await res.json());
|
|
36386
|
+
return live.length ? live : mergeGeminiModels([]);
|
|
36382
36387
|
} catch (e2) {
|
|
36383
36388
|
reportIssue("rayu_models.fetch_error", "vertex publisher models request failed", {
|
|
36384
36389
|
provider: p.id,
|
|
@@ -36531,12 +36536,13 @@ var init_rayuConfig = __esm(() => {
|
|
|
36531
36536
|
[/gpt-4o/i, 128000]
|
|
36532
36537
|
];
|
|
36533
36538
|
KNOWN_GEMINI_VERTEX_MODELS = [
|
|
36534
|
-
"gemini-3.5-flash",
|
|
36535
|
-
"gemini-3-flash",
|
|
36536
|
-
"gemini-3.1-pro-preview",
|
|
36537
36539
|
"gemini-2.5-pro",
|
|
36538
36540
|
"gemini-2.5-flash",
|
|
36539
|
-
"gemini-2.5-flash-lite"
|
|
36541
|
+
"gemini-2.5-flash-lite",
|
|
36542
|
+
"gemini-3-pro-preview",
|
|
36543
|
+
"gemini-3.1-pro-preview",
|
|
36544
|
+
"gemini-3.5-flash",
|
|
36545
|
+
"gemini-3-flash-preview"
|
|
36540
36546
|
];
|
|
36541
36547
|
KNOWN_GEMINI_CODE_ASSIST_MODELS = [
|
|
36542
36548
|
"gemini-3.1-pro-preview",
|
|
@@ -147965,7 +147971,7 @@ var init_auth = __esm(() => {
|
|
|
147965
147971
|
|
|
147966
147972
|
// src/utils/userAgent.ts
|
|
147967
147973
|
function getRayuUserAgent() {
|
|
147968
|
-
return `rayu/${"1.2.
|
|
147974
|
+
return `rayu/${"1.2.15"}`;
|
|
147969
147975
|
}
|
|
147970
147976
|
var getClaudeCodeUserAgent;
|
|
147971
147977
|
var init_userAgent = __esm(() => {
|
|
@@ -147991,7 +147997,7 @@ function getUserAgent() {
|
|
|
147991
147997
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
147992
147998
|
const workload = getWorkload();
|
|
147993
147999
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
147994
|
-
return `rayu/${"1.2.
|
|
148000
|
+
return `rayu/${"1.2.15"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
147995
148001
|
}
|
|
147996
148002
|
function getMCPUserAgent() {
|
|
147997
148003
|
const parts = [];
|
|
@@ -148005,7 +148011,7 @@ function getMCPUserAgent() {
|
|
|
148005
148011
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
148006
148012
|
}
|
|
148007
148013
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
148008
|
-
return `rayu/${"1.2.
|
|
148014
|
+
return `rayu/${"1.2.15"}${suffix}`;
|
|
148009
148015
|
}
|
|
148010
148016
|
function getWebFetchUserAgent() {
|
|
148011
148017
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -148128,7 +148134,7 @@ var init_user = __esm(() => {
|
|
|
148128
148134
|
deviceId,
|
|
148129
148135
|
sessionId: getSessionId(),
|
|
148130
148136
|
email: getEmail(),
|
|
148131
|
-
appVersion: "1.2.
|
|
148137
|
+
appVersion: "1.2.15",
|
|
148132
148138
|
platform: getHostPlatformForAnalytics(),
|
|
148133
148139
|
organizationUuid,
|
|
148134
148140
|
accountUuid,
|
|
@@ -178828,6 +178834,16 @@ function buildVertexFetch(getToken = getVertexAccessToken) {
|
|
|
178828
178834
|
});
|
|
178829
178835
|
}
|
|
178830
178836
|
}
|
|
178837
|
+
if (res.status === 404) {
|
|
178838
|
+
const raw = await res.clone().text().catch(() => "");
|
|
178839
|
+
if (/Publisher Model|not found|was not found/i.test(raw)) {
|
|
178840
|
+
const hint = "Model not available on Vertex in this region. Gemini 3.x is only served " + "in `global` / `us-central1` — reconnect (/connect → Vertex) and pick the " + "`global` region, or choose a model your region serves (e.g. gemini-2.5-pro, " + "gemini-2.5-flash). Original: " + raw.slice(0, 240);
|
|
178841
|
+
return new Response(JSON.stringify({ error: { code: 404, status: "NOT_FOUND", message: hint } }), {
|
|
178842
|
+
status: 404,
|
|
178843
|
+
headers: { "Content-Type": "application/json" }
|
|
178844
|
+
});
|
|
178845
|
+
}
|
|
178846
|
+
}
|
|
178831
178847
|
return res;
|
|
178832
178848
|
};
|
|
178833
178849
|
}
|
|
@@ -179454,6 +179470,9 @@ function buildGenAIBody(params) {
|
|
|
179454
179470
|
config2.maxOutputTokens = params.max_tokens;
|
|
179455
179471
|
if (typeof params.temperature === "number")
|
|
179456
179472
|
config2.temperature = params.temperature;
|
|
179473
|
+
const thinking = geminiThinkingConfig();
|
|
179474
|
+
if (thinking)
|
|
179475
|
+
config2.thinkingConfig = thinking;
|
|
179457
179476
|
return {
|
|
179458
179477
|
model: params.model.replace(/^models\//, ""),
|
|
179459
179478
|
contents: req.contents,
|
|
@@ -179462,6 +179481,17 @@ function buildGenAIBody(params) {
|
|
|
179462
179481
|
tools: req.tools
|
|
179463
179482
|
};
|
|
179464
179483
|
}
|
|
179484
|
+
function geminiThinkingConfig() {
|
|
179485
|
+
const level = process.env.RAYU_GEMINI_THINKING_LEVEL?.trim().toLowerCase();
|
|
179486
|
+
const budget = parseInt(process.env.RAYU_GEMINI_THINKING_BUDGET || "", 10);
|
|
179487
|
+
const cfg = {};
|
|
179488
|
+
if (level === "low" || level === "medium" || level === "high") {
|
|
179489
|
+
cfg.thinkingLevel = level;
|
|
179490
|
+
}
|
|
179491
|
+
if (!isNaN(budget) && budget >= 0)
|
|
179492
|
+
cfg.thinkingBudget = budget;
|
|
179493
|
+
return Object.keys(cfg).length ? cfg : undefined;
|
|
179494
|
+
}
|
|
179465
179495
|
var thoughtSignatures, GEMINI_SCHEMA_KEYS;
|
|
179466
179496
|
var init_genaiTranslate = __esm(() => {
|
|
179467
179497
|
thoughtSignatures = new Map;
|
|
@@ -181124,7 +181154,7 @@ var init_metadata = __esm(() => {
|
|
|
181124
181154
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
181125
181155
|
WHITESPACE_REGEX = /\s+/;
|
|
181126
181156
|
getVersionBase = memoize_default(() => {
|
|
181127
|
-
const match = "1.2.
|
|
181157
|
+
const match = "1.2.15".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
181128
181158
|
return match ? match[0] : undefined;
|
|
181129
181159
|
});
|
|
181130
181160
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -181163,7 +181193,7 @@ var init_metadata = __esm(() => {
|
|
|
181163
181193
|
},
|
|
181164
181194
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
181165
181195
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
181166
|
-
version: "1.2.
|
|
181196
|
+
version: "1.2.15",
|
|
181167
181197
|
versionBase: getVersionBase(),
|
|
181168
181198
|
buildTime: "",
|
|
181169
181199
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
@@ -181777,7 +181807,7 @@ function initialize1PEventLogging() {
|
|
|
181777
181807
|
const platform2 = getPlatform();
|
|
181778
181808
|
const attributes = {
|
|
181779
181809
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
|
|
181780
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.
|
|
181810
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.15"
|
|
181781
181811
|
};
|
|
181782
181812
|
if (platform2 === "wsl") {
|
|
181783
181813
|
const wslVersion = getWslVersion();
|
|
@@ -181804,7 +181834,7 @@ function initialize1PEventLogging() {
|
|
|
181804
181834
|
})
|
|
181805
181835
|
]
|
|
181806
181836
|
});
|
|
181807
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.
|
|
181837
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.15");
|
|
181808
181838
|
}
|
|
181809
181839
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
181810
181840
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -217720,7 +217750,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
217720
217750
|
if (!isAttributionHeaderEnabled()) {
|
|
217721
217751
|
return "";
|
|
217722
217752
|
}
|
|
217723
|
-
const version2 = `${"1.2.
|
|
217753
|
+
const version2 = `${"1.2.15"}.${fingerprint}`;
|
|
217724
217754
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
217725
217755
|
const cch = "";
|
|
217726
217756
|
const workload = getWorkload();
|
|
@@ -301808,7 +301838,7 @@ function getTelemetryAttributes() {
|
|
|
301808
301838
|
attributes["session.id"] = sessionId;
|
|
301809
301839
|
}
|
|
301810
301840
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
301811
|
-
attributes["app.version"] = "1.2.
|
|
301841
|
+
attributes["app.version"] = "1.2.15";
|
|
301812
301842
|
}
|
|
301813
301843
|
const oauthAccount = getOauthAccountInfo();
|
|
301814
301844
|
if (oauthAccount) {
|
|
@@ -412194,7 +412224,7 @@ function getInstallationEnv() {
|
|
|
412194
412224
|
return;
|
|
412195
412225
|
}
|
|
412196
412226
|
function getClaudeCodeVersion() {
|
|
412197
|
-
return "1.2.
|
|
412227
|
+
return "1.2.15";
|
|
412198
412228
|
}
|
|
412199
412229
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
412200
412230
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -417432,7 +417462,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
417432
417462
|
const client4 = new Client({
|
|
417433
417463
|
name: "claude-code",
|
|
417434
417464
|
title: "RAYU",
|
|
417435
|
-
version: "1.2.
|
|
417465
|
+
version: "1.2.15",
|
|
417436
417466
|
description: "Anthropic's agentic coding tool",
|
|
417437
417467
|
websiteUrl: PRODUCT_URL
|
|
417438
417468
|
}, {
|
|
@@ -417749,7 +417779,7 @@ var init_client7 = __esm(() => {
|
|
|
417749
417779
|
const client4 = new Client({
|
|
417750
417780
|
name: "claude-code",
|
|
417751
417781
|
title: "RAYU",
|
|
417752
|
-
version: "1.2.
|
|
417782
|
+
version: "1.2.15",
|
|
417753
417783
|
description: "Anthropic's agentic coding tool",
|
|
417754
417784
|
websiteUrl: PRODUCT_URL
|
|
417755
417785
|
}, {
|
|
@@ -432535,7 +432565,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
432535
432565
|
}
|
|
432536
432566
|
function computeFingerprintFromMessages(messages) {
|
|
432537
432567
|
const firstMessageText = extractFirstMessageText(messages);
|
|
432538
|
-
return computeFingerprint(firstMessageText, "1.2.
|
|
432568
|
+
return computeFingerprint(firstMessageText, "1.2.15");
|
|
432539
432569
|
}
|
|
432540
432570
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
432541
432571
|
var init_fingerprint = () => {};
|
|
@@ -432577,7 +432607,7 @@ async function sideQuery(opts) {
|
|
|
432577
432607
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
432578
432608
|
}
|
|
432579
432609
|
const messageText = extractFirstUserMessageText(messages);
|
|
432580
|
-
const fingerprint = computeFingerprint(messageText, "1.2.
|
|
432610
|
+
const fingerprint = computeFingerprint(messageText, "1.2.15");
|
|
432581
432611
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
432582
432612
|
const systemBlocks = [
|
|
432583
432613
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -527337,7 +527367,7 @@ function Feedback({
|
|
|
527337
527367
|
platform: env4.platform,
|
|
527338
527368
|
gitRepo: envInfo.isGit,
|
|
527339
527369
|
terminal: env4.terminal,
|
|
527340
|
-
version: "1.2.
|
|
527370
|
+
version: "1.2.15",
|
|
527341
527371
|
transcript: normalizeMessagesForAPI(messages),
|
|
527342
527372
|
errors: sanitizedErrors,
|
|
527343
527373
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -527529,7 +527559,7 @@ function Feedback({
|
|
|
527529
527559
|
", ",
|
|
527530
527560
|
env4.terminal,
|
|
527531
527561
|
", v",
|
|
527532
|
-
"1.2.
|
|
527562
|
+
"1.2.15"
|
|
527533
527563
|
]
|
|
527534
527564
|
}, undefined, true, undefined, this)
|
|
527535
527565
|
]
|
|
@@ -527635,7 +527665,7 @@ ${sanitizedDescription}
|
|
|
527635
527665
|
` + `**Environment Info**
|
|
527636
527666
|
` + `- Platform: ${env4.platform}
|
|
527637
527667
|
` + `- Terminal: ${env4.terminal}
|
|
527638
|
-
` + `- Version: ${"1.2.
|
|
527668
|
+
` + `- Version: ${"1.2.15"}
|
|
527639
527669
|
` + `- Feedback ID: ${feedbackId}
|
|
527640
527670
|
` + `
|
|
527641
527671
|
**Errors**
|
|
@@ -530474,9 +530504,9 @@ async function assertMinVersion() {
|
|
|
530474
530504
|
if (false) {}
|
|
530475
530505
|
try {
|
|
530476
530506
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
530477
|
-
if (versionConfig.minVersion && lt("1.2.
|
|
530507
|
+
if (versionConfig.minVersion && lt("1.2.15", versionConfig.minVersion)) {
|
|
530478
530508
|
console.error(`
|
|
530479
|
-
It looks like your version of RAYU (${"1.2.
|
|
530509
|
+
It looks like your version of RAYU (${"1.2.15"}) needs an update.
|
|
530480
530510
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
530481
530511
|
|
|
530482
530512
|
To update, please run:
|
|
@@ -530675,7 +530705,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
530675
530705
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
530676
530706
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
530677
530707
|
pid: process.pid,
|
|
530678
|
-
currentVersion: "1.2.
|
|
530708
|
+
currentVersion: "1.2.15"
|
|
530679
530709
|
});
|
|
530680
530710
|
return "in_progress";
|
|
530681
530711
|
}
|
|
@@ -530684,7 +530714,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
530684
530714
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
530685
530715
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
530686
530716
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
530687
|
-
currentVersion: "1.2.
|
|
530717
|
+
currentVersion: "1.2.15"
|
|
530688
530718
|
});
|
|
530689
530719
|
console.error(`
|
|
530690
530720
|
Error: Windows NPM detected in WSL
|
|
@@ -531219,7 +531249,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
531219
531249
|
}
|
|
531220
531250
|
async function getDoctorDiagnostic() {
|
|
531221
531251
|
const installationType = await getCurrentInstallationType();
|
|
531222
|
-
const version2 = typeof MACRO !== "undefined" ? "1.2.
|
|
531252
|
+
const version2 = typeof MACRO !== "undefined" ? "1.2.15" : "unknown";
|
|
531223
531253
|
const installationPath = await getInstallationPath();
|
|
531224
531254
|
const invokedBinary = getInvokedBinary();
|
|
531225
531255
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -532014,8 +532044,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532014
532044
|
const maxVersion = await getMaxVersion();
|
|
532015
532045
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
532016
532046
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
532017
|
-
if (gte("1.2.
|
|
532018
|
-
logForDebugging(`Native installer: current version ${"1.2.
|
|
532047
|
+
if (gte("1.2.15", maxVersion)) {
|
|
532048
|
+
logForDebugging(`Native installer: current version ${"1.2.15"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
532019
532049
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
532020
532050
|
latency_ms: Date.now() - startTime,
|
|
532021
532051
|
max_version: maxVersion,
|
|
@@ -532026,7 +532056,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532026
532056
|
version2 = maxVersion;
|
|
532027
532057
|
}
|
|
532028
532058
|
}
|
|
532029
|
-
if (!forceReinstall && version2 === "1.2.
|
|
532059
|
+
if (!forceReinstall && version2 === "1.2.15" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
532030
532060
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
532031
532061
|
logEvent("tengu_native_update_complete", {
|
|
532032
532062
|
latency_ms: Date.now() - startTime,
|
|
@@ -533222,7 +533252,7 @@ function buildPrimarySection() {
|
|
|
533222
533252
|
}, undefined, false, undefined, this);
|
|
533223
533253
|
return [{
|
|
533224
533254
|
label: "Version",
|
|
533225
|
-
value: "1.2.
|
|
533255
|
+
value: "1.2.15"
|
|
533226
533256
|
}, {
|
|
533227
533257
|
label: "Session name",
|
|
533228
533258
|
value: nameValue
|
|
@@ -536913,7 +536943,7 @@ function Config({
|
|
|
536913
536943
|
}
|
|
536914
536944
|
}, undefined, false, undefined, this)
|
|
536915
536945
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
536916
|
-
currentVersion: "1.2.
|
|
536946
|
+
currentVersion: "1.2.15",
|
|
536917
536947
|
onChoice: (choice) => {
|
|
536918
536948
|
setShowSubmenu(null);
|
|
536919
536949
|
setTabsHidden(false);
|
|
@@ -536925,7 +536955,7 @@ function Config({
|
|
|
536925
536955
|
autoUpdatesChannel: "stable"
|
|
536926
536956
|
};
|
|
536927
536957
|
if (choice === "stay") {
|
|
536928
|
-
newSettings.minimumVersion = "1.2.
|
|
536958
|
+
newSettings.minimumVersion = "1.2.15";
|
|
536929
536959
|
}
|
|
536930
536960
|
updateSettingsForSource("userSettings", newSettings);
|
|
536931
536961
|
setSettingsData((prev_27) => ({
|
|
@@ -544985,7 +545015,7 @@ function HelpV2(t0) {
|
|
|
544985
545015
|
let t6;
|
|
544986
545016
|
if ($3[31] !== tabs) {
|
|
544987
545017
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
544988
|
-
title: `Rayu-CLI v${"1.2.
|
|
545018
|
+
title: `Rayu-CLI v${"1.2.15"}`,
|
|
544989
545019
|
color: "professionalBlue",
|
|
544990
545020
|
defaultTab: "general",
|
|
544991
545021
|
children: tabs
|
|
@@ -563707,7 +563737,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
563707
563737
|
return [];
|
|
563708
563738
|
}
|
|
563709
563739
|
}
|
|
563710
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.
|
|
563740
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.15") {
|
|
563711
563741
|
if (false) {}
|
|
563712
563742
|
const cachedChangelog = await getStoredChangelog();
|
|
563713
563743
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -563720,7 +563750,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.13")
|
|
|
563720
563750
|
releaseNotes
|
|
563721
563751
|
};
|
|
563722
563752
|
}
|
|
563723
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.
|
|
563753
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.15") {
|
|
563724
563754
|
if (false) {}
|
|
563725
563755
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
563726
563756
|
return {
|
|
@@ -564983,7 +565013,7 @@ function getRecentActivitySync() {
|
|
|
564983
565013
|
return cachedActivity;
|
|
564984
565014
|
}
|
|
564985
565015
|
function getLogoDisplayData() {
|
|
564986
|
-
const version2 = process.env.DEMO_VERSION ?? "1.2.
|
|
565016
|
+
const version2 = process.env.DEMO_VERSION ?? "1.2.15";
|
|
564987
565017
|
const serverUrl = getDirectConnectServerUrl();
|
|
564988
565018
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
564989
565019
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -566264,7 +566294,7 @@ function LogoV2() {
|
|
|
566264
566294
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
566265
566295
|
t2 = () => {
|
|
566266
566296
|
const currentConfig = getGlobalConfig();
|
|
566267
|
-
if (currentConfig.lastReleaseNotesSeen === "1.2.
|
|
566297
|
+
if (currentConfig.lastReleaseNotesSeen === "1.2.15") {
|
|
566268
566298
|
return;
|
|
566269
566299
|
}
|
|
566270
566300
|
saveGlobalConfig(_temp327);
|
|
@@ -566940,12 +566970,12 @@ function LogoV2() {
|
|
|
566940
566970
|
return t41;
|
|
566941
566971
|
}
|
|
566942
566972
|
function _temp327(current) {
|
|
566943
|
-
if (current.lastReleaseNotesSeen === "1.2.
|
|
566973
|
+
if (current.lastReleaseNotesSeen === "1.2.15") {
|
|
566944
566974
|
return current;
|
|
566945
566975
|
}
|
|
566946
566976
|
return {
|
|
566947
566977
|
...current,
|
|
566948
|
-
lastReleaseNotesSeen: "1.2.
|
|
566978
|
+
lastReleaseNotesSeen: "1.2.15"
|
|
566949
566979
|
};
|
|
566950
566980
|
}
|
|
566951
566981
|
function _temp241(s_0) {
|
|
@@ -591613,7 +591643,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
591613
591643
|
smapsRollup,
|
|
591614
591644
|
platform: process.platform,
|
|
591615
591645
|
nodeVersion: process.version,
|
|
591616
|
-
ccVersion: "1.2.
|
|
591646
|
+
ccVersion: "1.2.15"
|
|
591617
591647
|
};
|
|
591618
591648
|
}
|
|
591619
591649
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -592141,7 +592171,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
592141
592171
|
var call48 = async () => {
|
|
592142
592172
|
return {
|
|
592143
592173
|
type: "text",
|
|
592144
|
-
value: "1.2.
|
|
592174
|
+
value: "1.2.15"
|
|
592145
592175
|
};
|
|
592146
592176
|
}, version2, version_default;
|
|
592147
592177
|
var init_version = __esm(() => {
|
|
@@ -600961,7 +600991,7 @@ function generateHtmlReport(data, insights) {
|
|
|
600961
600991
|
</html>`;
|
|
600962
600992
|
}
|
|
600963
600993
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
600964
|
-
const version3 = typeof MACRO !== "undefined" ? "1.2.
|
|
600994
|
+
const version3 = typeof MACRO !== "undefined" ? "1.2.15" : "unknown";
|
|
600965
600995
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
600966
600996
|
const facets_summary = {
|
|
600967
600997
|
total: facets.size,
|
|
@@ -604893,7 +604923,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
604893
604923
|
init_settings2();
|
|
604894
604924
|
init_slowOperations();
|
|
604895
604925
|
init_uuid();
|
|
604896
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.2.
|
|
604926
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.2.15" : "unknown";
|
|
604897
604927
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
604898
604928
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
604899
604929
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -606112,7 +606142,7 @@ var init_filesystem = __esm(() => {
|
|
|
606112
606142
|
});
|
|
606113
606143
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
606114
606144
|
const nonce = randomBytes18(16).toString("hex");
|
|
606115
|
-
return join149(getClaudeTempDir(), "bundled-skills", "1.2.
|
|
606145
|
+
return join149(getClaudeTempDir(), "bundled-skills", "1.2.15", nonce);
|
|
606116
606146
|
});
|
|
606117
606147
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
606118
606148
|
});
|
|
@@ -611227,7 +611257,7 @@ __export(exports_update, {
|
|
|
611227
611257
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
611228
611258
|
import { homedir as homedir32 } from "os";
|
|
611229
611259
|
async function update() {
|
|
611230
|
-
writeToStdout(`Current version: ${"1.2.
|
|
611260
|
+
writeToStdout(`Current version: ${"1.2.15"}
|
|
611231
611261
|
`);
|
|
611232
611262
|
const isBundled = isInBundledMode();
|
|
611233
611263
|
if (isBundled) {
|
|
@@ -611253,13 +611283,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
611253
611283
|
process.exit(1);
|
|
611254
611284
|
return;
|
|
611255
611285
|
}
|
|
611256
|
-
if (latestVersion === "1.2.
|
|
611286
|
+
if (latestVersion === "1.2.15") {
|
|
611257
611287
|
writeToStdout(source_default.green(`
|
|
611258
|
-
Rayu CLI is up to date (${"1.2.
|
|
611288
|
+
Rayu CLI is up to date (${"1.2.15"})
|
|
611259
611289
|
`));
|
|
611260
611290
|
process.exit(0);
|
|
611261
611291
|
}
|
|
611262
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.
|
|
611292
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.15"})
|
|
611263
611293
|
`);
|
|
611264
611294
|
writeToStdout(`Installing update...
|
|
611265
611295
|
|
|
@@ -611283,7 +611313,7 @@ Try manually:
|
|
|
611283
611313
|
return;
|
|
611284
611314
|
}
|
|
611285
611315
|
writeToStdout(source_default.green(`
|
|
611286
|
-
Successfully updated from ${"1.2.
|
|
611316
|
+
Successfully updated from ${"1.2.15"} to ${latestVersion}
|
|
611287
611317
|
`));
|
|
611288
611318
|
process.exit(0);
|
|
611289
611319
|
}
|
|
@@ -611297,14 +611327,14 @@ async function updateNativeBinary() {
|
|
|
611297
611327
|
} catch {
|
|
611298
611328
|
latestVersion = "";
|
|
611299
611329
|
}
|
|
611300
|
-
if (latestVersion && latestVersion === "1.2.
|
|
611330
|
+
if (latestVersion && latestVersion === "1.2.15") {
|
|
611301
611331
|
writeToStdout(source_default.green(`
|
|
611302
|
-
Rayu CLI is up to date (1.2.
|
|
611332
|
+
Rayu CLI is up to date (1.2.15)
|
|
611303
611333
|
`));
|
|
611304
611334
|
process.exit(0);
|
|
611305
611335
|
}
|
|
611306
611336
|
if (latestVersion) {
|
|
611307
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.2.
|
|
611337
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.2.15)
|
|
611308
611338
|
`);
|
|
611309
611339
|
}
|
|
611310
611340
|
writeToStdout(`Downloading and installing update...
|
|
@@ -611319,13 +611349,13 @@ Rayu CLI is up to date (1.2.13)
|
|
|
611319
611349
|
return;
|
|
611320
611350
|
}
|
|
611321
611351
|
writeToStdout(source_default.green(`
|
|
611322
|
-
Rayu CLI is up to date (1.2.
|
|
611352
|
+
Rayu CLI is up to date (1.2.15)
|
|
611323
611353
|
`));
|
|
611324
611354
|
process.exit(0);
|
|
611325
611355
|
}
|
|
611326
611356
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
611327
611357
|
writeToStdout(source_default.green(`
|
|
611328
|
-
Successfully updated from 1.2.
|
|
611358
|
+
Successfully updated from 1.2.15 to ${updatedTo}
|
|
611329
611359
|
`));
|
|
611330
611360
|
writeToStdout(`Restart your terminal to use the new version.
|
|
611331
611361
|
`);
|
|
@@ -611356,7 +611386,7 @@ __export(exports_uninstall, {
|
|
|
611356
611386
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
611357
611387
|
import { homedir as homedir33 } from "os";
|
|
611358
611388
|
async function uninstall() {
|
|
611359
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.2.
|
|
611389
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.2.15"})...
|
|
611360
611390
|
`);
|
|
611361
611391
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
611362
611392
|
|
|
@@ -611379,7 +611409,7 @@ Try running manually:
|
|
|
611379
611409
|
process.exit(1);
|
|
611380
611410
|
}
|
|
611381
611411
|
writeToStdout(source_default.green(`
|
|
611382
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.
|
|
611412
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.15"}
|
|
611383
611413
|
`));
|
|
611384
611414
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
611385
611415
|
`);
|
|
@@ -611431,7 +611461,7 @@ function showFirstRunWelcome() {
|
|
|
611431
611461
|
`);
|
|
611432
611462
|
try {
|
|
611433
611463
|
mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
|
|
611434
|
-
writeFileSync15(markerPath(), "1.2.
|
|
611464
|
+
writeFileSync15(markerPath(), "1.2.15", "utf8");
|
|
611435
611465
|
} catch {}
|
|
611436
611466
|
}
|
|
611437
611467
|
var init_firstRun = __esm(() => {
|
|
@@ -623274,7 +623304,7 @@ async function initializeBetaTracing(resource) {
|
|
|
623274
623304
|
});
|
|
623275
623305
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
623276
623306
|
setLoggerProvider(loggerProvider);
|
|
623277
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
623307
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.15");
|
|
623278
623308
|
setEventLogger(eventLogger);
|
|
623279
623309
|
process.on("beforeExit", async () => {
|
|
623280
623310
|
await loggerProvider?.forceFlush();
|
|
@@ -623314,7 +623344,7 @@ async function initializeTelemetry() {
|
|
|
623314
623344
|
const platform4 = getPlatform();
|
|
623315
623345
|
const baseAttributes = {
|
|
623316
623346
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
623317
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.
|
|
623347
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.15"
|
|
623318
623348
|
};
|
|
623319
623349
|
if (platform4 === "wsl") {
|
|
623320
623350
|
const wslVersion = getWslVersion();
|
|
@@ -623359,7 +623389,7 @@ async function initializeTelemetry() {
|
|
|
623359
623389
|
} catch {}
|
|
623360
623390
|
};
|
|
623361
623391
|
registerCleanup(shutdownTelemetry2);
|
|
623362
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.
|
|
623392
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.15");
|
|
623363
623393
|
}
|
|
623364
623394
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
623365
623395
|
resource,
|
|
@@ -623379,7 +623409,7 @@ async function initializeTelemetry() {
|
|
|
623379
623409
|
});
|
|
623380
623410
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
623381
623411
|
setLoggerProvider(loggerProvider);
|
|
623382
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
623412
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.15");
|
|
623383
623413
|
setEventLogger(eventLogger);
|
|
623384
623414
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
623385
623415
|
process.on("beforeExit", async () => {
|
|
@@ -623441,7 +623471,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
623441
623471
|
}
|
|
623442
623472
|
};
|
|
623443
623473
|
registerCleanup(shutdownTelemetry);
|
|
623444
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.
|
|
623474
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.15");
|
|
623445
623475
|
}
|
|
623446
623476
|
async function flushTelemetry() {
|
|
623447
623477
|
const meterProvider = getMeterProvider();
|
|
@@ -624954,7 +624984,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
624954
624984
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
624955
624985
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
624956
624986
|
betas: getSdkBetas(),
|
|
624957
|
-
claude_code_version: "1.2.
|
|
624987
|
+
claude_code_version: "1.2.15",
|
|
624958
624988
|
output_style: outputStyle2,
|
|
624959
624989
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
624960
624990
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -641163,7 +641193,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
641163
641193
|
function getSemverPart(version3) {
|
|
641164
641194
|
return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
|
|
641165
641195
|
}
|
|
641166
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.2.
|
|
641196
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.2.15") {
|
|
641167
641197
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
641168
641198
|
if (!updatedVersion) {
|
|
641169
641199
|
return null;
|
|
@@ -641203,7 +641233,7 @@ function AutoUpdater({
|
|
|
641203
641233
|
return;
|
|
641204
641234
|
}
|
|
641205
641235
|
if (false) {}
|
|
641206
|
-
const currentVersion = "1.2.
|
|
641236
|
+
const currentVersion = "1.2.15";
|
|
641207
641237
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
641208
641238
|
let latestVersion = await getLatestVersion(channel);
|
|
641209
641239
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -641416,12 +641446,12 @@ function NativeAutoUpdater({
|
|
|
641416
641446
|
logEvent("tengu_native_auto_updater_start", {});
|
|
641417
641447
|
try {
|
|
641418
641448
|
const maxVersion = await getMaxVersion();
|
|
641419
|
-
if (maxVersion && gt("1.2.
|
|
641449
|
+
if (maxVersion && gt("1.2.15", maxVersion)) {
|
|
641420
641450
|
const msg = await getMaxVersionMessage();
|
|
641421
641451
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
641422
641452
|
}
|
|
641423
641453
|
const result = await installLatest(channel);
|
|
641424
|
-
const currentVersion = "1.2.
|
|
641454
|
+
const currentVersion = "1.2.15";
|
|
641425
641455
|
const latencyMs = Date.now() - startTime;
|
|
641426
641456
|
if (result.lockFailed) {
|
|
641427
641457
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -641558,17 +641588,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
641558
641588
|
const maxVersion = await getMaxVersion();
|
|
641559
641589
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
641560
641590
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
641561
|
-
if (gte("1.2.
|
|
641562
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.
|
|
641591
|
+
if (gte("1.2.15", maxVersion)) {
|
|
641592
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.15"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
641563
641593
|
setUpdateAvailable(false);
|
|
641564
641594
|
return;
|
|
641565
641595
|
}
|
|
641566
641596
|
latest = maxVersion;
|
|
641567
641597
|
}
|
|
641568
|
-
const hasUpdate = latest && !gte("1.2.
|
|
641598
|
+
const hasUpdate = latest && !gte("1.2.15", latest) && !shouldSkipVersion(latest);
|
|
641569
641599
|
setUpdateAvailable(!!hasUpdate);
|
|
641570
641600
|
if (hasUpdate) {
|
|
641571
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.
|
|
641601
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.15"} -> ${latest}`);
|
|
641572
641602
|
}
|
|
641573
641603
|
};
|
|
641574
641604
|
$3[0] = t1;
|
|
@@ -641602,7 +641632,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
641602
641632
|
wrap: "truncate",
|
|
641603
641633
|
children: [
|
|
641604
641634
|
"currentVersion: ",
|
|
641605
|
-
"1.2.
|
|
641635
|
+
"1.2.15"
|
|
641606
641636
|
]
|
|
641607
641637
|
}, undefined, true, undefined, this);
|
|
641608
641638
|
$3[3] = verbose;
|
|
@@ -649768,7 +649798,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
649768
649798
|
project_dir: getOriginalCwd(),
|
|
649769
649799
|
added_dirs: addedDirs
|
|
649770
649800
|
},
|
|
649771
|
-
version: "1.2.
|
|
649801
|
+
version: "1.2.15",
|
|
649772
649802
|
output_style: {
|
|
649773
649803
|
name: outputStyleName
|
|
649774
649804
|
},
|
|
@@ -661137,7 +661167,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
661137
661167
|
} catch {}
|
|
661138
661168
|
const data = {
|
|
661139
661169
|
trigger,
|
|
661140
|
-
version: "1.2.
|
|
661170
|
+
version: "1.2.15",
|
|
661141
661171
|
platform: process.platform,
|
|
661142
661172
|
transcript,
|
|
661143
661173
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -673188,7 +673218,7 @@ function WelcomeV2() {
|
|
|
673188
673218
|
dimColor: true,
|
|
673189
673219
|
children: [
|
|
673190
673220
|
"v",
|
|
673191
|
-
"1.2.
|
|
673221
|
+
"1.2.15"
|
|
673192
673222
|
]
|
|
673193
673223
|
}, undefined, true, undefined, this)
|
|
673194
673224
|
]
|
|
@@ -674905,7 +674935,7 @@ function completeOnboarding() {
|
|
|
674905
674935
|
saveGlobalConfig((current) => ({
|
|
674906
674936
|
...current,
|
|
674907
674937
|
hasCompletedOnboarding: true,
|
|
674908
|
-
lastOnboardingVersion: "1.2.
|
|
674938
|
+
lastOnboardingVersion: "1.2.15"
|
|
674909
674939
|
}));
|
|
674910
674940
|
}
|
|
674911
674941
|
function showDialog(root2, renderer) {
|
|
@@ -679205,7 +679235,7 @@ function appendToLog(path30, message) {
|
|
|
679205
679235
|
cwd: getFsImplementation().cwd(),
|
|
679206
679236
|
userType: "external",
|
|
679207
679237
|
sessionId: getSessionId(),
|
|
679208
|
-
version: "1.2.
|
|
679238
|
+
version: "1.2.15"
|
|
679209
679239
|
};
|
|
679210
679240
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
679211
679241
|
}
|
|
@@ -683309,8 +683339,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
683309
683339
|
}
|
|
683310
683340
|
async function checkEnvLessBridgeMinVersion() {
|
|
683311
683341
|
const cfg = await getEnvLessBridgeConfig();
|
|
683312
|
-
if (cfg.min_version && lt("1.2.
|
|
683313
|
-
return `Your version of RAYU (${"1.2.
|
|
683342
|
+
if (cfg.min_version && lt("1.2.15", cfg.min_version)) {
|
|
683343
|
+
return `Your version of RAYU (${"1.2.15"}) is too old for Remote Control.
|
|
683314
683344
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
683315
683345
|
}
|
|
683316
683346
|
return null;
|
|
@@ -683784,7 +683814,7 @@ async function initBridgeCore(params) {
|
|
|
683784
683814
|
const rawApi = createBridgeApiClient({
|
|
683785
683815
|
baseUrl,
|
|
683786
683816
|
getAccessToken,
|
|
683787
|
-
runnerVersion: "1.2.
|
|
683817
|
+
runnerVersion: "1.2.15",
|
|
683788
683818
|
onDebug: logForDebugging,
|
|
683789
683819
|
onAuth401,
|
|
683790
683820
|
getTrustedDeviceToken
|
|
@@ -689146,7 +689176,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
689146
689176
|
setCwd(cwd3);
|
|
689147
689177
|
const server = new Server({
|
|
689148
689178
|
name: "claude/tengu",
|
|
689149
|
-
version: "1.2.
|
|
689179
|
+
version: "1.2.15"
|
|
689150
689180
|
}, {
|
|
689151
689181
|
capabilities: {
|
|
689152
689182
|
tools: {}
|
|
@@ -691672,7 +691702,7 @@ ${customInstructions}` : customInstructions;
|
|
|
691672
691702
|
}
|
|
691673
691703
|
}
|
|
691674
691704
|
logForDiagnosticsNoPII("info", "started", {
|
|
691675
|
-
version: "1.2.
|
|
691705
|
+
version: "1.2.15",
|
|
691676
691706
|
is_native_binary: isInBundledMode()
|
|
691677
691707
|
});
|
|
691678
691708
|
registerCleanup(async () => {
|
|
@@ -692390,7 +692420,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
692390
692420
|
pendingHookMessages
|
|
692391
692421
|
}, renderAndRun);
|
|
692392
692422
|
}
|
|
692393
|
-
}).version("1.2.
|
|
692423
|
+
}).version("1.2.15 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
692394
692424
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
692395
692425
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
692396
692426
|
if (canUserConfigureAdvisor()) {
|
|
@@ -692856,7 +692886,7 @@ if (false) {}
|
|
|
692856
692886
|
async function main2() {
|
|
692857
692887
|
const args = process.argv.slice(2);
|
|
692858
692888
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
692859
|
-
console.log(`${"1.2.
|
|
692889
|
+
console.log(`${"1.2.15"} (Rayu-CLI)`);
|
|
692860
692890
|
return;
|
|
692861
692891
|
}
|
|
692862
692892
|
const {
|