@rayu-dev/rayu-cli 1.2.26 → 1.2.27
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 +142 -240
- 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.27"}`;
|
|
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.27"} (${"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.27"}${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.27",
|
|
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.27".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.27",
|
|
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.27"
|
|
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.27");
|
|
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.27"}.${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.27";
|
|
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.27";
|
|
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.27",
|
|
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.27",
|
|
418239
418239
|
description: "Anthropic's agentic coding tool",
|
|
418240
418240
|
websiteUrl: PRODUCT_URL
|
|
418241
418241
|
}, {
|
|
@@ -425019,11 +425019,14 @@ function keepPendingFileChanges(context, rawFileArg) {
|
|
|
425019
425019
|
...prev,
|
|
425020
425020
|
pendingFileChanges: prev.pendingFileChanges.map((change) => ids.has(change.id) ? { ...change, status: "kept" } : change)
|
|
425021
425021
|
}));
|
|
425022
|
+
const fileCount = uniqueDisplayPaths(match.changes).length;
|
|
425023
|
+
const editCount = match.changes.length;
|
|
425022
425024
|
if (rawFileArg.trim()) {
|
|
425023
425025
|
const uniquePaths = uniqueDisplayPaths(match.changes);
|
|
425024
|
-
|
|
425026
|
+
const edits = editCount > fileCount ? ` (${editCount} ${pluralize2("edit", editCount)})` : "";
|
|
425027
|
+
return `Kept changes to ${uniquePaths.join(", ")}${edits}.`;
|
|
425025
425028
|
}
|
|
425026
|
-
return `Kept
|
|
425029
|
+
return `Kept changes to ${describeFilesAndEdits(fileCount, editCount)}.`;
|
|
425027
425030
|
}
|
|
425028
425031
|
async function undoLatestPendingFileChange(context, rawArgs = "") {
|
|
425029
425032
|
const fileArg = rawArgs.trim();
|
|
@@ -425037,9 +425040,10 @@ async function undoLatestPendingFileChange(context, rawArgs = "") {
|
|
|
425037
425040
|
}
|
|
425038
425041
|
return undoPendingChanges(context, match.changes, {
|
|
425039
425042
|
emptyMessage: `No pending file changes match ${fileArg}.`,
|
|
425040
|
-
successMessage: (
|
|
425043
|
+
successMessage: (editCount, fileCount) => {
|
|
425041
425044
|
const uniquePaths = uniqueDisplayPaths(match.changes);
|
|
425042
|
-
|
|
425045
|
+
const edits = editCount > fileCount ? ` (${editCount} ${pluralize2("edit", editCount)})` : "";
|
|
425046
|
+
return `Undid changes to ${uniquePaths.join(", ")}${edits}.`;
|
|
425043
425047
|
}
|
|
425044
425048
|
});
|
|
425045
425049
|
}
|
|
@@ -425058,58 +425062,75 @@ async function undoPendingFileChangesByIds(context, ids) {
|
|
|
425058
425062
|
const changes = context.getAppState().pendingFileChanges.filter((change) => idSet.has(change.id) && change.status === "pending");
|
|
425059
425063
|
return undoPendingChanges(context, changes, {
|
|
425060
425064
|
emptyMessage: "No pending file changes from this review to undo.",
|
|
425061
|
-
successMessage: (
|
|
425065
|
+
successMessage: (editCount, fileCount) => `Undid changes to ${describeFilesAndEdits(fileCount, editCount)} from this review.`
|
|
425062
425066
|
});
|
|
425063
425067
|
}
|
|
425064
425068
|
async function undoAllPendingFileChanges(context) {
|
|
425065
425069
|
const changes = context.getAppState().pendingFileChanges.filter((change) => change.status === "pending");
|
|
425066
425070
|
return undoPendingChanges(context, changes, {
|
|
425067
425071
|
emptyMessage: "No pending file changes to undo.",
|
|
425068
|
-
successMessage: (
|
|
425072
|
+
successMessage: (editCount, fileCount) => `Undid all changes to ${describeFilesAndEdits(fileCount, editCount)}.`
|
|
425069
425073
|
});
|
|
425070
425074
|
}
|
|
425071
425075
|
function buildFileChangeReviewSummary(changes) {
|
|
425072
425076
|
const reviewChanges = changes.filter((change) => change.status === "pending");
|
|
425073
425077
|
if (reviewChanges.length === 0)
|
|
425074
425078
|
return null;
|
|
425075
|
-
const
|
|
425079
|
+
const groups = new Map;
|
|
425076
425080
|
for (const change of reviewChanges) {
|
|
425077
|
-
const
|
|
425078
|
-
const { additions, removals } = countPatchLines(hunks);
|
|
425079
|
-
const existing = files2.get(change.filePath);
|
|
425080
|
-
const firstLine = change.after.content.split(/\r?\n/, 1)[0] ?? null;
|
|
425081
|
+
const existing = groups.get(change.filePath);
|
|
425081
425082
|
if (!existing) {
|
|
425082
|
-
|
|
425083
|
+
groups.set(change.filePath, {
|
|
425083
425084
|
filePath: change.filePath,
|
|
425084
425085
|
displayPath: change.displayPath,
|
|
425085
425086
|
changeIds: [change.id],
|
|
425086
|
-
|
|
425087
|
-
|
|
425088
|
-
hunks,
|
|
425089
|
-
fileContent: change.after.content,
|
|
425090
|
-
firstLine,
|
|
425091
|
-
status: change.status,
|
|
425087
|
+
baselineBefore: change.before,
|
|
425088
|
+
latestAfter: change.after.content,
|
|
425092
425089
|
createdAt: change.createdAt,
|
|
425093
|
-
|
|
425090
|
+
status: change.status
|
|
425094
425091
|
});
|
|
425095
425092
|
continue;
|
|
425096
425093
|
}
|
|
425097
425094
|
existing.changeIds.push(change.id);
|
|
425098
|
-
existing.
|
|
425099
|
-
existing.removals += removals;
|
|
425100
|
-
existing.hunks.push(...hunks);
|
|
425101
|
-
existing.fileContent = change.after.content;
|
|
425102
|
-
existing.firstLine = firstLine;
|
|
425095
|
+
existing.latestAfter = change.after.content;
|
|
425103
425096
|
existing.createdAt = Math.max(existing.createdAt, change.createdAt);
|
|
425104
425097
|
existing.status = existing.status === change.status ? existing.status : "mixed";
|
|
425105
425098
|
}
|
|
425106
|
-
const
|
|
425099
|
+
const files2 = [];
|
|
425100
|
+
for (const group of groups.values()) {
|
|
425101
|
+
const oldContent = group.baselineBefore.exists ? normalizeContent(group.baselineBefore.content) : "";
|
|
425102
|
+
const newContent = group.latestAfter;
|
|
425103
|
+
const hunks = getPatchFromContents({
|
|
425104
|
+
filePath: group.filePath,
|
|
425105
|
+
oldContent,
|
|
425106
|
+
newContent,
|
|
425107
|
+
singleHunk: true
|
|
425108
|
+
});
|
|
425109
|
+
const { additions, removals } = countPatchLines(hunks);
|
|
425110
|
+
if (additions === 0 && removals === 0)
|
|
425111
|
+
continue;
|
|
425112
|
+
files2.push({
|
|
425113
|
+
filePath: group.filePath,
|
|
425114
|
+
displayPath: group.displayPath,
|
|
425115
|
+
changeIds: group.changeIds,
|
|
425116
|
+
additions,
|
|
425117
|
+
removals,
|
|
425118
|
+
hunks,
|
|
425119
|
+
fileContent: newContent,
|
|
425120
|
+
firstLine: newContent.split(/\r?\n/, 1)[0] ?? null,
|
|
425121
|
+
status: group.status,
|
|
425122
|
+
createdAt: group.createdAt,
|
|
425123
|
+
isCreated: !group.baselineBefore.exists
|
|
425124
|
+
});
|
|
425125
|
+
}
|
|
425126
|
+
if (files2.length === 0)
|
|
425127
|
+
return null;
|
|
425107
425128
|
return {
|
|
425108
|
-
changeIds:
|
|
425109
|
-
totalFiles:
|
|
425110
|
-
totalAdditions:
|
|
425111
|
-
totalRemovals:
|
|
425112
|
-
files:
|
|
425129
|
+
changeIds: files2.flatMap((file2) => file2.changeIds),
|
|
425130
|
+
totalFiles: files2.length,
|
|
425131
|
+
totalAdditions: files2.reduce((total, file2) => total + file2.additions, 0),
|
|
425132
|
+
totalRemovals: files2.reduce((total, file2) => total + file2.removals, 0),
|
|
425133
|
+
files: files2,
|
|
425113
425134
|
createdAt: Date.now()
|
|
425114
425135
|
};
|
|
425115
425136
|
}
|
|
@@ -425191,9 +425212,9 @@ async function undoPendingChanges(context, changes, messages) {
|
|
|
425191
425212
|
}
|
|
425192
425213
|
markPendingFileChangesStatus(context, pendingChanges.map((change) => change.id), "undone");
|
|
425193
425214
|
if (pendingChanges.length === 1 && alreadyAbsentChange) {
|
|
425194
|
-
return messages.alreadyAbsentMessage?.(alreadyAbsentChange) ?? messages.successMessage(pendingChanges.length);
|
|
425215
|
+
return messages.alreadyAbsentMessage?.(alreadyAbsentChange) ?? messages.successMessage(pendingChanges.length, uniqueDisplayPaths(pendingChanges).length);
|
|
425195
425216
|
}
|
|
425196
|
-
return messages.successMessage(pendingChanges.length);
|
|
425217
|
+
return messages.successMessage(pendingChanges.length, uniqueDisplayPaths(pendingChanges).length);
|
|
425197
425218
|
}
|
|
425198
425219
|
function preflightUndo(orderedChanges) {
|
|
425199
425220
|
const simulated = new Map;
|
|
@@ -425265,18 +425286,6 @@ function normalizeContent(content) {
|
|
|
425265
425286
|
`, `
|
|
425266
425287
|
`);
|
|
425267
425288
|
}
|
|
425268
|
-
function getReviewHunks(change) {
|
|
425269
|
-
if (change.structuredPatch.length > 0)
|
|
425270
|
-
return change.structuredPatch;
|
|
425271
|
-
if (change.before.exists)
|
|
425272
|
-
return change.structuredPatch;
|
|
425273
|
-
return getPatchFromContents({
|
|
425274
|
-
filePath: change.filePath,
|
|
425275
|
-
oldContent: "",
|
|
425276
|
-
newContent: change.after.content,
|
|
425277
|
-
singleHunk: true
|
|
425278
|
-
});
|
|
425279
|
-
}
|
|
425280
425289
|
function countPatchLines(hunks) {
|
|
425281
425290
|
let additions = 0;
|
|
425282
425291
|
let removals = 0;
|
|
@@ -425303,6 +425312,12 @@ function uniqueDisplayPaths(changes) {
|
|
|
425303
425312
|
function pluralize2(word, count3) {
|
|
425304
425313
|
return count3 === 1 ? word : `${word}s`;
|
|
425305
425314
|
}
|
|
425315
|
+
function describeFilesAndEdits(fileCount, editCount) {
|
|
425316
|
+
const filePhrase = `${fileCount} ${pluralize2("file", fileCount)}`;
|
|
425317
|
+
if (editCount === fileCount)
|
|
425318
|
+
return filePhrase;
|
|
425319
|
+
return `${filePhrase} (${editCount} ${pluralize2("edit", editCount)})`;
|
|
425320
|
+
}
|
|
425306
425321
|
function unquote(value) {
|
|
425307
425322
|
if (value.startsWith('"') && value.endsWith('"') || value.startsWith("'") && value.endsWith("'")) {
|
|
425308
425323
|
return value.slice(1, -1);
|
|
@@ -433012,7 +433027,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
433012
433027
|
}
|
|
433013
433028
|
function computeFingerprintFromMessages(messages) {
|
|
433014
433029
|
const firstMessageText = extractFirstMessageText(messages);
|
|
433015
|
-
return computeFingerprint(firstMessageText, "1.2.
|
|
433030
|
+
return computeFingerprint(firstMessageText, "1.2.27");
|
|
433016
433031
|
}
|
|
433017
433032
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
433018
433033
|
var init_fingerprint = () => {};
|
|
@@ -433054,7 +433069,7 @@ async function sideQuery(opts) {
|
|
|
433054
433069
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
433055
433070
|
}
|
|
433056
433071
|
const messageText = extractFirstUserMessageText(messages);
|
|
433057
|
-
const fingerprint = computeFingerprint(messageText, "1.2.
|
|
433072
|
+
const fingerprint = computeFingerprint(messageText, "1.2.27");
|
|
433058
433073
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
433059
433074
|
const systemBlocks = [
|
|
433060
433075
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -527366,18 +527381,6 @@ var init_add_dir2 = __esm(() => {
|
|
|
527366
527381
|
add_dir_default = addDir;
|
|
527367
527382
|
});
|
|
527368
527383
|
|
|
527369
|
-
// src/commands/autofix-pr/index.js
|
|
527370
|
-
var autofix_pr_default;
|
|
527371
|
-
var init_autofix_pr = __esm(() => {
|
|
527372
|
-
autofix_pr_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
527373
|
-
});
|
|
527374
|
-
|
|
527375
|
-
// src/commands/backfill-sessions/index.js
|
|
527376
|
-
var backfill_sessions_default;
|
|
527377
|
-
var init_backfill_sessions = __esm(() => {
|
|
527378
|
-
backfill_sessions_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
527379
|
-
});
|
|
527380
|
-
|
|
527381
527384
|
// src/ink/components/ScrollBox.tsx
|
|
527382
527385
|
function ScrollBox({
|
|
527383
527386
|
children,
|
|
@@ -527907,12 +527910,6 @@ var init_btw2 = __esm(() => {
|
|
|
527907
527910
|
btw_default = btw;
|
|
527908
527911
|
});
|
|
527909
527912
|
|
|
527910
|
-
// src/commands/issue/index.js
|
|
527911
|
-
var issue_default;
|
|
527912
|
-
var init_issue = __esm(() => {
|
|
527913
|
-
issue_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
527914
|
-
});
|
|
527915
|
-
|
|
527916
527913
|
// src/components/Feedback.tsx
|
|
527917
527914
|
import { readFile as readFile38, stat as stat37 } from "fs/promises";
|
|
527918
527915
|
function redactSensitiveInfo(text2) {
|
|
@@ -528011,7 +528008,7 @@ function Feedback({
|
|
|
528011
528008
|
platform: env4.platform,
|
|
528012
528009
|
gitRepo: envInfo.isGit,
|
|
528013
528010
|
terminal: env4.terminal,
|
|
528014
|
-
version: "1.2.
|
|
528011
|
+
version: "1.2.27",
|
|
528015
528012
|
transcript: normalizeMessagesForAPI(messages),
|
|
528016
528013
|
errors: sanitizedErrors,
|
|
528017
528014
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -528203,7 +528200,7 @@ function Feedback({
|
|
|
528203
528200
|
", ",
|
|
528204
528201
|
env4.terminal,
|
|
528205
528202
|
", v",
|
|
528206
|
-
"1.2.
|
|
528203
|
+
"1.2.27"
|
|
528207
528204
|
]
|
|
528208
528205
|
}, undefined, true, undefined, this)
|
|
528209
528206
|
]
|
|
@@ -528309,7 +528306,7 @@ ${sanitizedDescription}
|
|
|
528309
528306
|
` + `**Environment Info**
|
|
528310
528307
|
` + `- Platform: ${env4.platform}
|
|
528311
528308
|
` + `- Terminal: ${env4.terminal}
|
|
528312
|
-
` + `- Version: ${"1.2.
|
|
528309
|
+
` + `- Version: ${"1.2.27"}
|
|
528313
528310
|
` + `- Feedback ID: ${feedbackId}
|
|
528314
528311
|
` + `
|
|
528315
528312
|
**Errors**
|
|
@@ -531148,9 +531145,9 @@ async function assertMinVersion() {
|
|
|
531148
531145
|
if (false) {}
|
|
531149
531146
|
try {
|
|
531150
531147
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
531151
|
-
if (versionConfig.minVersion && lt("1.2.
|
|
531148
|
+
if (versionConfig.minVersion && lt("1.2.27", versionConfig.minVersion)) {
|
|
531152
531149
|
console.error(`
|
|
531153
|
-
It looks like your version of RAYU (${"1.2.
|
|
531150
|
+
It looks like your version of RAYU (${"1.2.27"}) needs an update.
|
|
531154
531151
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
531155
531152
|
|
|
531156
531153
|
To update, please run:
|
|
@@ -531376,7 +531373,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531376
531373
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
531377
531374
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
531378
531375
|
pid: process.pid,
|
|
531379
|
-
currentVersion: "1.2.
|
|
531376
|
+
currentVersion: "1.2.27"
|
|
531380
531377
|
});
|
|
531381
531378
|
return "in_progress";
|
|
531382
531379
|
}
|
|
@@ -531385,7 +531382,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
531385
531382
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
531386
531383
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
531387
531384
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
531388
|
-
currentVersion: "1.2.
|
|
531385
|
+
currentVersion: "1.2.27"
|
|
531389
531386
|
});
|
|
531390
531387
|
console.error(`
|
|
531391
531388
|
Error: Windows NPM detected in WSL
|
|
@@ -531921,7 +531918,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
531921
531918
|
}
|
|
531922
531919
|
async function getDoctorDiagnostic() {
|
|
531923
531920
|
const installationType = await getCurrentInstallationType();
|
|
531924
|
-
const version2 = typeof MACRO !== "undefined" ? "1.2.
|
|
531921
|
+
const version2 = typeof MACRO !== "undefined" ? "1.2.27" : "unknown";
|
|
531925
531922
|
const installationPath = await getInstallationPath();
|
|
531926
531923
|
const invokedBinary = getInvokedBinary();
|
|
531927
531924
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -532716,8 +532713,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532716
532713
|
const maxVersion = await getMaxVersion();
|
|
532717
532714
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
532718
532715
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
532719
|
-
if (gte("1.2.
|
|
532720
|
-
logForDebugging(`Native installer: current version ${"1.2.
|
|
532716
|
+
if (gte("1.2.27", maxVersion)) {
|
|
532717
|
+
logForDebugging(`Native installer: current version ${"1.2.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
532721
532718
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
532722
532719
|
latency_ms: Date.now() - startTime,
|
|
532723
532720
|
max_version: maxVersion,
|
|
@@ -532728,7 +532725,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
532728
532725
|
version2 = maxVersion;
|
|
532729
532726
|
}
|
|
532730
532727
|
}
|
|
532731
|
-
if (!forceReinstall && version2 === "1.2.
|
|
532728
|
+
if (!forceReinstall && version2 === "1.2.27" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
532732
532729
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
532733
532730
|
logEvent("tengu_native_update_complete", {
|
|
532734
532731
|
latency_ms: Date.now() - startTime,
|
|
@@ -533924,7 +533921,7 @@ function buildPrimarySection() {
|
|
|
533924
533921
|
}, undefined, false, undefined, this);
|
|
533925
533922
|
return [{
|
|
533926
533923
|
label: "Version",
|
|
533927
|
-
value: "1.2.
|
|
533924
|
+
value: "1.2.27"
|
|
533928
533925
|
}, {
|
|
533929
533926
|
label: "Session name",
|
|
533930
533927
|
value: nameValue
|
|
@@ -537615,7 +537612,7 @@ function Config({
|
|
|
537615
537612
|
}
|
|
537616
537613
|
}, undefined, false, undefined, this)
|
|
537617
537614
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
537618
|
-
currentVersion: "1.2.
|
|
537615
|
+
currentVersion: "1.2.27",
|
|
537619
537616
|
onChoice: (choice) => {
|
|
537620
537617
|
setShowSubmenu(null);
|
|
537621
537618
|
setTabsHidden(false);
|
|
@@ -537627,7 +537624,7 @@ function Config({
|
|
|
537627
537624
|
autoUpdatesChannel: "stable"
|
|
537628
537625
|
};
|
|
537629
537626
|
if (choice === "stay") {
|
|
537630
|
-
newSettings.minimumVersion = "1.2.
|
|
537627
|
+
newSettings.minimumVersion = "1.2.27";
|
|
537631
537628
|
}
|
|
537632
537629
|
updateSettingsForSource("userSettings", newSettings);
|
|
537633
537630
|
setSettingsData((prev_27) => ({
|
|
@@ -541825,12 +541822,6 @@ var init_diff4 = __esm(() => {
|
|
|
541825
541822
|
};
|
|
541826
541823
|
});
|
|
541827
541824
|
|
|
541828
|
-
// src/commands/ctx_viz/index.js
|
|
541829
|
-
var ctx_viz_default;
|
|
541830
|
-
var init_ctx_viz = __esm(() => {
|
|
541831
|
-
ctx_viz_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
541832
|
-
});
|
|
541833
|
-
|
|
541834
541825
|
// src/components/KeybindingWarnings.tsx
|
|
541835
541826
|
function KeybindingWarnings() {
|
|
541836
541827
|
const $3 = import_compiler_runtime143.c(2);
|
|
@@ -545687,7 +545678,7 @@ function HelpV2(t0) {
|
|
|
545687
545678
|
let t6;
|
|
545688
545679
|
if ($3[31] !== tabs) {
|
|
545689
545680
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
545690
|
-
title: `Rayu-CLI v${"1.2.
|
|
545681
|
+
title: `Rayu-CLI v${"1.2.27"}`,
|
|
545691
545682
|
color: "professionalBlue",
|
|
545692
545683
|
defaultTab: "general",
|
|
545693
545684
|
children: tabs
|
|
@@ -547225,12 +547216,6 @@ var init_keep2 = __esm(() => {
|
|
|
547225
547216
|
keep_default = keep;
|
|
547226
547217
|
});
|
|
547227
547218
|
|
|
547228
|
-
// src/commands/break-cache/index.js
|
|
547229
|
-
var break_cache_default;
|
|
547230
|
-
var init_break_cache = __esm(() => {
|
|
547231
|
-
break_cache_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
547232
|
-
});
|
|
547233
|
-
|
|
547234
547219
|
// src/components/mcp/MCPAgentServerMenu.tsx
|
|
547235
547220
|
function MCPAgentServerMenu({
|
|
547236
547221
|
agentServer,
|
|
@@ -564204,12 +564189,6 @@ var init_disconnect_index = __esm(() => {
|
|
|
564204
564189
|
disconnect_index_default = disconnectTelegram;
|
|
564205
564190
|
});
|
|
564206
564191
|
|
|
564207
|
-
// src/commands/onboarding/index.js
|
|
564208
|
-
var onboarding_default;
|
|
564209
|
-
var init_onboarding = __esm(() => {
|
|
564210
|
-
onboarding_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
564211
|
-
});
|
|
564212
|
-
|
|
564213
564192
|
// src/commands/createMovedToPluginCommand.ts
|
|
564214
564193
|
function createMovedToPluginCommand({
|
|
564215
564194
|
name,
|
|
@@ -565651,7 +565630,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
565651
565630
|
}
|
|
565652
565631
|
return [];
|
|
565653
565632
|
}
|
|
565654
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.
|
|
565633
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.27") {
|
|
565655
565634
|
if (false) {}
|
|
565656
565635
|
const cachedChangelog = await getStoredChangelog();
|
|
565657
565636
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -565664,7 +565643,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.26")
|
|
|
565664
565643
|
releaseNotes
|
|
565665
565644
|
};
|
|
565666
565645
|
}
|
|
565667
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.
|
|
565646
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.27") {
|
|
565668
565647
|
if (false) {}
|
|
565669
565648
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
565670
565649
|
return {
|
|
@@ -565792,7 +565771,7 @@ function getRecentActivitySync() {
|
|
|
565792
565771
|
return cachedActivity;
|
|
565793
565772
|
}
|
|
565794
565773
|
function getLogoDisplayData() {
|
|
565795
|
-
const version2 = process.env.DEMO_VERSION ?? "1.2.
|
|
565774
|
+
const version2 = process.env.DEMO_VERSION ?? "1.2.27";
|
|
565796
565775
|
const serverUrl = getDirectConnectServerUrl();
|
|
565797
565776
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
565798
565777
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -567084,7 +567063,7 @@ function LogoV2() {
|
|
|
567084
567063
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
567085
567064
|
t2 = () => {
|
|
567086
567065
|
const currentConfig = getGlobalConfig();
|
|
567087
|
-
if (currentConfig.lastReleaseNotesSeen === "1.2.
|
|
567066
|
+
if (currentConfig.lastReleaseNotesSeen === "1.2.27") {
|
|
567088
567067
|
return;
|
|
567089
567068
|
}
|
|
567090
567069
|
saveGlobalConfig(_temp327);
|
|
@@ -567562,7 +567541,7 @@ function LogoV2() {
|
|
|
567562
567541
|
t24 = $3[61];
|
|
567563
567542
|
}
|
|
567564
567543
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
567565
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.2.
|
|
567544
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.2.27") ? [createUpdateAvailableFeed("1.2.27", _latestNpm)] : [];
|
|
567566
567545
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime239.jsxDEV(FeedColumn, {
|
|
567567
567546
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
567568
567547
|
maxWidth: rightWidth
|
|
@@ -567762,12 +567741,12 @@ function LogoV2() {
|
|
|
567762
567741
|
return t41;
|
|
567763
567742
|
}
|
|
567764
567743
|
function _temp327(current) {
|
|
567765
|
-
if (current.lastReleaseNotesSeen === "1.2.
|
|
567744
|
+
if (current.lastReleaseNotesSeen === "1.2.27") {
|
|
567766
567745
|
return current;
|
|
567767
567746
|
}
|
|
567768
567747
|
return {
|
|
567769
567748
|
...current,
|
|
567770
|
-
lastReleaseNotesSeen: "1.2.
|
|
567749
|
+
lastReleaseNotesSeen: "1.2.27"
|
|
567771
567750
|
};
|
|
567772
567751
|
}
|
|
567773
567752
|
function _temp241(s_0) {
|
|
@@ -580522,12 +580501,6 @@ var init_tasks4 = __esm(() => {
|
|
|
580522
580501
|
tasks_default = tasks;
|
|
580523
580502
|
});
|
|
580524
580503
|
|
|
580525
|
-
// src/commands/teleport/index.js
|
|
580526
|
-
var teleport_default;
|
|
580527
|
-
var init_teleport2 = __esm(() => {
|
|
580528
|
-
teleport_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
580529
|
-
});
|
|
580530
|
-
|
|
580531
580504
|
// src/commands/security-review.ts
|
|
580532
580505
|
var SECURITY_REVIEW_MARKDOWN = `---
|
|
580533
580506
|
allowed-tools: Bash(git diff:*), Bash(git status:*), Bash(git log:*), Bash(git show:*), Bash(git remote show:*), Read, Glob, Grep, LS, Task
|
|
@@ -580759,12 +580732,6 @@ var init_security_review = __esm(() => {
|
|
|
580759
580732
|
});
|
|
580760
580733
|
});
|
|
580761
580734
|
|
|
580762
|
-
// src/commands/bughunter/index.js
|
|
580763
|
-
var bughunter_default;
|
|
580764
|
-
var init_bughunter = __esm(() => {
|
|
580765
|
-
bughunter_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
580766
|
-
});
|
|
580767
|
-
|
|
580768
580735
|
// src/commands/terminalSetup/index.ts
|
|
580769
580736
|
var NATIVE_CSIU_TERMINALS2, terminalSetup, terminalSetup_default;
|
|
580770
580737
|
var init_terminalSetup2 = __esm(() => {
|
|
@@ -592570,7 +592537,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
592570
592537
|
smapsRollup,
|
|
592571
592538
|
platform: process.platform,
|
|
592572
592539
|
nodeVersion: process.version,
|
|
592573
|
-
ccVersion: "1.2.
|
|
592540
|
+
ccVersion: "1.2.27"
|
|
592574
592541
|
};
|
|
592575
592542
|
}
|
|
592576
592543
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -592675,12 +592642,6 @@ var init_heapdump2 = __esm(() => {
|
|
|
592675
592642
|
heapdump_default = heapDump;
|
|
592676
592643
|
});
|
|
592677
592644
|
|
|
592678
|
-
// src/commands/mock-limits/index.js
|
|
592679
|
-
var mock_limits_default;
|
|
592680
|
-
var init_mock_limits = __esm(() => {
|
|
592681
|
-
mock_limits_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
592682
|
-
});
|
|
592683
|
-
|
|
592684
592645
|
// src/bridge/bridgeApi.ts
|
|
592685
592646
|
function validateBridgeId(id, label) {
|
|
592686
592647
|
if (!id || !SAFE_ID_PATTERN.test(id)) {
|
|
@@ -593098,7 +593059,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593098
593059
|
var call47 = async () => {
|
|
593099
593060
|
return {
|
|
593100
593061
|
type: "text",
|
|
593101
|
-
value: "1.2.
|
|
593062
|
+
value: "1.2.27"
|
|
593102
593063
|
};
|
|
593103
593064
|
}, version2, version_default;
|
|
593104
593065
|
var init_version = __esm(() => {
|
|
@@ -593113,24 +593074,6 @@ var init_version = __esm(() => {
|
|
|
593113
593074
|
version_default = version2;
|
|
593114
593075
|
});
|
|
593115
593076
|
|
|
593116
|
-
// src/commands/summary/index.js
|
|
593117
|
-
var summary_default;
|
|
593118
|
-
var init_summary = __esm(() => {
|
|
593119
|
-
summary_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
593120
|
-
});
|
|
593121
|
-
|
|
593122
|
-
// src/commands/ant-trace/index.js
|
|
593123
|
-
var ant_trace_default;
|
|
593124
|
-
var init_ant_trace = __esm(() => {
|
|
593125
|
-
ant_trace_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
593126
|
-
});
|
|
593127
|
-
|
|
593128
|
-
// src/commands/perf-issue/index.js
|
|
593129
|
-
var perf_issue_default;
|
|
593130
|
-
var init_perf_issue = __esm(() => {
|
|
593131
|
-
perf_issue_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
593132
|
-
});
|
|
593133
|
-
|
|
593134
593077
|
// src/components/sandbox/SandboxConfigTab.tsx
|
|
593135
593078
|
function SandboxConfigTab() {
|
|
593136
593079
|
const $3 = import_compiler_runtime242.c(3);
|
|
@@ -594616,12 +594559,6 @@ var init_bundledSkills = __esm(() => {
|
|
|
594616
594559
|
SAFE_WRITE_FLAGS = process.platform === "win32" ? "wx" : fsConstants5.O_WRONLY | fsConstants5.O_CREAT | fsConstants5.O_EXCL | O_NOFOLLOW;
|
|
594617
594560
|
});
|
|
594618
594561
|
|
|
594619
|
-
// src/commands/env/index.js
|
|
594620
|
-
var env_default;
|
|
594621
|
-
var init_env2 = __esm(() => {
|
|
594622
|
-
env_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
594623
|
-
});
|
|
594624
|
-
|
|
594625
594562
|
// src/components/WorktreeExitDialog.tsx
|
|
594626
594563
|
function recordWorktreeExit() {
|
|
594627
594564
|
(init_sessionStorage(), __toCommonJS(exports_sessionStorage)).saveWorktreeState(null);
|
|
@@ -600433,12 +600370,6 @@ var init_stats3 = __esm(() => {
|
|
|
600433
600370
|
stats_default = stats2;
|
|
600434
600371
|
});
|
|
600435
600372
|
|
|
600436
|
-
// src/commands/debug-tool-call/index.js
|
|
600437
|
-
var debug_tool_call_default;
|
|
600438
|
-
var init_debug_tool_call = __esm(() => {
|
|
600439
|
-
debug_tool_call_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
600440
|
-
});
|
|
600441
|
-
|
|
600442
600373
|
// src/types/command.ts
|
|
600443
600374
|
function getCommandName(cmd) {
|
|
600444
600375
|
return cmd.userFacingName?.() ?? cmd.name;
|
|
@@ -601917,7 +601848,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601917
601848
|
</html>`;
|
|
601918
601849
|
}
|
|
601919
601850
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601920
|
-
const version3 = typeof MACRO !== "undefined" ? "1.2.
|
|
601851
|
+
const version3 = typeof MACRO !== "undefined" ? "1.2.27" : "unknown";
|
|
601921
601852
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
601922
601853
|
const facets_summary = {
|
|
601923
601854
|
total: facets.size,
|
|
@@ -602642,10 +602573,7 @@ function formatDescriptionWithSource(cmd) {
|
|
|
602642
602573
|
var agentsPlatform = null, proactive = null, briefCommand = null, assistantCommand = null, forceSnip = null, workflowsCmd = null, clearSkillIndexCache2 = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null, buddy = null, usageReport2, INTERNAL_ONLY_COMMANDS2, COMMANDS, builtInCommandNames, getWorkflowCommands = null, loadAllCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS;
|
|
602643
602574
|
var init_commands2 = __esm(() => {
|
|
602644
602575
|
init_add_dir2();
|
|
602645
|
-
init_autofix_pr();
|
|
602646
|
-
init_backfill_sessions();
|
|
602647
602576
|
init_btw2();
|
|
602648
|
-
init_issue();
|
|
602649
602577
|
init_feedback2();
|
|
602650
602578
|
init_clear2();
|
|
602651
602579
|
init_color3();
|
|
@@ -602656,7 +602584,6 @@ var init_commands2 = __esm(() => {
|
|
|
602656
602584
|
init_config8();
|
|
602657
602585
|
init_context4();
|
|
602658
602586
|
init_diff4();
|
|
602659
|
-
init_ctx_viz();
|
|
602660
602587
|
init_doctor2();
|
|
602661
602588
|
init_memory2();
|
|
602662
602589
|
init_help2();
|
|
@@ -602666,11 +602593,9 @@ var init_commands2 = __esm(() => {
|
|
|
602666
602593
|
init_swarm();
|
|
602667
602594
|
init_keybindings2();
|
|
602668
602595
|
init_keep2();
|
|
602669
|
-
init_break_cache();
|
|
602670
602596
|
init_mcp3();
|
|
602671
602597
|
init_telegram_bot2();
|
|
602672
602598
|
init_disconnect_index();
|
|
602673
|
-
init_onboarding();
|
|
602674
602599
|
init_pr_comments();
|
|
602675
602600
|
init_rename2();
|
|
602676
602601
|
init_review_detial2();
|
|
@@ -602685,9 +602610,7 @@ var init_commands2 = __esm(() => {
|
|
|
602685
602610
|
init_skills5();
|
|
602686
602611
|
init_status3();
|
|
602687
602612
|
init_tasks4();
|
|
602688
|
-
init_teleport2();
|
|
602689
602613
|
init_security_review();
|
|
602690
|
-
init_bughunter();
|
|
602691
602614
|
init_terminalSetup2();
|
|
602692
602615
|
init_undo3();
|
|
602693
602616
|
init_theme4();
|
|
@@ -602704,12 +602627,8 @@ var init_commands2 = __esm(() => {
|
|
|
602704
602627
|
init_reload_plugins2();
|
|
602705
602628
|
init_rewind();
|
|
602706
602629
|
init_heapdump2();
|
|
602707
|
-
init_mock_limits();
|
|
602708
602630
|
init_bridge_kick();
|
|
602709
602631
|
init_version();
|
|
602710
|
-
init_summary();
|
|
602711
|
-
init_ant_trace();
|
|
602712
|
-
init_perf_issue();
|
|
602713
602632
|
init_sandbox_toggle2();
|
|
602714
602633
|
init_contactMe2();
|
|
602715
602634
|
init_advisor2();
|
|
@@ -602721,7 +602640,6 @@ var init_commands2 = __esm(() => {
|
|
|
602721
602640
|
init_builtinPlugins();
|
|
602722
602641
|
init_loadPluginCommands();
|
|
602723
602642
|
init_memoize();
|
|
602724
|
-
init_env2();
|
|
602725
602643
|
init_exit2();
|
|
602726
602644
|
init_export2();
|
|
602727
602645
|
init_connect2();
|
|
@@ -602735,7 +602653,6 @@ var init_commands2 = __esm(() => {
|
|
|
602735
602653
|
init_statusline();
|
|
602736
602654
|
init_effort3();
|
|
602737
602655
|
init_stats3();
|
|
602738
|
-
init_debug_tool_call();
|
|
602739
602656
|
init_constants();
|
|
602740
602657
|
usageReport2 = {
|
|
602741
602658
|
type: "prompt",
|
|
@@ -602752,30 +602669,16 @@ var init_commands2 = __esm(() => {
|
|
|
602752
602669
|
}
|
|
602753
602670
|
};
|
|
602754
602671
|
INTERNAL_ONLY_COMMANDS2 = [
|
|
602755
|
-
backfill_sessions_default,
|
|
602756
|
-
break_cache_default,
|
|
602757
|
-
bughunter_default,
|
|
602758
602672
|
commit_default,
|
|
602759
602673
|
commit_push_pr_default,
|
|
602760
|
-
ctx_viz_default,
|
|
602761
|
-
issue_default,
|
|
602762
602674
|
init_verifiers_default,
|
|
602763
602675
|
swarm_default,
|
|
602764
602676
|
...forceSnip ? [forceSnip] : [],
|
|
602765
|
-
mock_limits_default,
|
|
602766
602677
|
bridge_kick_default,
|
|
602767
602678
|
version_default,
|
|
602768
602679
|
...ultraplan ? [ultraplan] : [],
|
|
602769
602680
|
...subscribePr ? [subscribePr] : [],
|
|
602770
|
-
|
|
602771
|
-
summary_default,
|
|
602772
|
-
teleport_default,
|
|
602773
|
-
ant_trace_default,
|
|
602774
|
-
perf_issue_default,
|
|
602775
|
-
env_default,
|
|
602776
|
-
debug_tool_call_default,
|
|
602777
|
-
agentsPlatform,
|
|
602778
|
-
autofix_pr_default
|
|
602681
|
+
agentsPlatform
|
|
602779
602682
|
].filter(Boolean);
|
|
602780
602683
|
COMMANDS = memoize_default(() => [
|
|
602781
602684
|
add_dir_default,
|
|
@@ -602911,7 +602814,6 @@ var init_commands2 = __esm(() => {
|
|
|
602911
602814
|
BRIDGE_SAFE_COMMANDS = new Set([
|
|
602912
602815
|
compact_default,
|
|
602913
602816
|
clear_default,
|
|
602914
|
-
summary_default,
|
|
602915
602817
|
files_default
|
|
602916
602818
|
].filter((c4) => c4 !== null));
|
|
602917
602819
|
});
|
|
@@ -605844,7 +605746,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
605844
605746
|
init_settings2();
|
|
605845
605747
|
init_slowOperations();
|
|
605846
605748
|
init_uuid();
|
|
605847
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.2.
|
|
605749
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.2.27" : "unknown";
|
|
605848
605750
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
605849
605751
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
605850
605752
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -607063,7 +606965,7 @@ var init_filesystem = __esm(() => {
|
|
|
607063
606965
|
});
|
|
607064
606966
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
607065
606967
|
const nonce = randomBytes18(16).toString("hex");
|
|
607066
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.2.
|
|
606968
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.2.27", nonce);
|
|
607067
606969
|
});
|
|
607068
606970
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
607069
606971
|
});
|
|
@@ -612178,7 +612080,7 @@ __export(exports_update, {
|
|
|
612178
612080
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
612179
612081
|
import { homedir as homedir33 } from "os";
|
|
612180
612082
|
async function update() {
|
|
612181
|
-
writeToStdout(`Current version: ${"1.2.
|
|
612083
|
+
writeToStdout(`Current version: ${"1.2.27"}
|
|
612182
612084
|
`);
|
|
612183
612085
|
const isBundled = isInBundledMode();
|
|
612184
612086
|
if (isBundled) {
|
|
@@ -612204,13 +612106,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
612204
612106
|
process.exit(1);
|
|
612205
612107
|
return;
|
|
612206
612108
|
}
|
|
612207
|
-
if (latestVersion === "1.2.
|
|
612109
|
+
if (latestVersion === "1.2.27") {
|
|
612208
612110
|
writeToStdout(source_default.green(`
|
|
612209
|
-
Rayu CLI is up to date (${"1.2.
|
|
612111
|
+
Rayu CLI is up to date (${"1.2.27"})
|
|
612210
612112
|
`));
|
|
612211
612113
|
process.exit(0);
|
|
612212
612114
|
}
|
|
612213
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.
|
|
612115
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.27"})
|
|
612214
612116
|
`);
|
|
612215
612117
|
writeToStdout(`Installing update...
|
|
612216
612118
|
|
|
@@ -612234,7 +612136,7 @@ Try manually:
|
|
|
612234
612136
|
return;
|
|
612235
612137
|
}
|
|
612236
612138
|
writeToStdout(source_default.green(`
|
|
612237
|
-
Successfully updated from ${"1.2.
|
|
612139
|
+
Successfully updated from ${"1.2.27"} to ${latestVersion}
|
|
612238
612140
|
`));
|
|
612239
612141
|
process.exit(0);
|
|
612240
612142
|
}
|
|
@@ -612248,14 +612150,14 @@ async function updateNativeBinary() {
|
|
|
612248
612150
|
} catch {
|
|
612249
612151
|
latestVersion = "";
|
|
612250
612152
|
}
|
|
612251
|
-
if (latestVersion && latestVersion === "1.2.
|
|
612153
|
+
if (latestVersion && latestVersion === "1.2.27") {
|
|
612252
612154
|
writeToStdout(source_default.green(`
|
|
612253
|
-
Rayu CLI is up to date (1.2.
|
|
612155
|
+
Rayu CLI is up to date (1.2.27)
|
|
612254
612156
|
`));
|
|
612255
612157
|
process.exit(0);
|
|
612256
612158
|
}
|
|
612257
612159
|
if (latestVersion) {
|
|
612258
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.2.
|
|
612160
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.2.27)
|
|
612259
612161
|
`);
|
|
612260
612162
|
}
|
|
612261
612163
|
writeToStdout(`Downloading and installing update...
|
|
@@ -612270,13 +612172,13 @@ Rayu CLI is up to date (1.2.26)
|
|
|
612270
612172
|
return;
|
|
612271
612173
|
}
|
|
612272
612174
|
writeToStdout(source_default.green(`
|
|
612273
|
-
Rayu CLI is up to date (1.2.
|
|
612175
|
+
Rayu CLI is up to date (1.2.27)
|
|
612274
612176
|
`));
|
|
612275
612177
|
process.exit(0);
|
|
612276
612178
|
}
|
|
612277
612179
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
612278
612180
|
writeToStdout(source_default.green(`
|
|
612279
|
-
Successfully updated from 1.2.
|
|
612181
|
+
Successfully updated from 1.2.27 to ${updatedTo}
|
|
612280
612182
|
`));
|
|
612281
612183
|
writeToStdout(`Restart your terminal to use the new version.
|
|
612282
612184
|
`);
|
|
@@ -612307,7 +612209,7 @@ __export(exports_uninstall, {
|
|
|
612307
612209
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
612308
612210
|
import { homedir as homedir34 } from "os";
|
|
612309
612211
|
async function uninstall() {
|
|
612310
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.2.
|
|
612212
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.2.27"})...
|
|
612311
612213
|
`);
|
|
612312
612214
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
612313
612215
|
|
|
@@ -612330,7 +612232,7 @@ Try running manually:
|
|
|
612330
612232
|
process.exit(1);
|
|
612331
612233
|
}
|
|
612332
612234
|
writeToStdout(source_default.green(`
|
|
612333
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.
|
|
612235
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.27"}
|
|
612334
612236
|
`));
|
|
612335
612237
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
612336
612238
|
`);
|
|
@@ -612382,7 +612284,7 @@ function showFirstRunWelcome() {
|
|
|
612382
612284
|
`);
|
|
612383
612285
|
try {
|
|
612384
612286
|
mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
|
|
612385
|
-
writeFileSync15(markerPath(), "1.2.
|
|
612287
|
+
writeFileSync15(markerPath(), "1.2.27", "utf8");
|
|
612386
612288
|
} catch {}
|
|
612387
612289
|
}
|
|
612388
612290
|
var init_firstRun = __esm(() => {
|
|
@@ -624225,7 +624127,7 @@ async function initializeBetaTracing(resource) {
|
|
|
624225
624127
|
});
|
|
624226
624128
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624227
624129
|
setLoggerProvider(loggerProvider);
|
|
624228
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624130
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.27");
|
|
624229
624131
|
setEventLogger(eventLogger);
|
|
624230
624132
|
process.on("beforeExit", async () => {
|
|
624231
624133
|
await loggerProvider?.forceFlush();
|
|
@@ -624265,7 +624167,7 @@ async function initializeTelemetry() {
|
|
|
624265
624167
|
const platform4 = getPlatform();
|
|
624266
624168
|
const baseAttributes = {
|
|
624267
624169
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
624268
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.
|
|
624170
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.27"
|
|
624269
624171
|
};
|
|
624270
624172
|
if (platform4 === "wsl") {
|
|
624271
624173
|
const wslVersion = getWslVersion();
|
|
@@ -624310,7 +624212,7 @@ async function initializeTelemetry() {
|
|
|
624310
624212
|
} catch {}
|
|
624311
624213
|
};
|
|
624312
624214
|
registerCleanup(shutdownTelemetry2);
|
|
624313
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.
|
|
624215
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.27");
|
|
624314
624216
|
}
|
|
624315
624217
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
624316
624218
|
resource,
|
|
@@ -624330,7 +624232,7 @@ async function initializeTelemetry() {
|
|
|
624330
624232
|
});
|
|
624331
624233
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
624332
624234
|
setLoggerProvider(loggerProvider);
|
|
624333
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.
|
|
624235
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.27");
|
|
624334
624236
|
setEventLogger(eventLogger);
|
|
624335
624237
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
624336
624238
|
process.on("beforeExit", async () => {
|
|
@@ -624392,7 +624294,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
624392
624294
|
}
|
|
624393
624295
|
};
|
|
624394
624296
|
registerCleanup(shutdownTelemetry);
|
|
624395
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.
|
|
624297
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.2.27");
|
|
624396
624298
|
}
|
|
624397
624299
|
async function flushTelemetry() {
|
|
624398
624300
|
const meterProvider = getMeterProvider();
|
|
@@ -625905,7 +625807,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625905
625807
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625906
625808
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
625907
625809
|
betas: getSdkBetas(),
|
|
625908
|
-
claude_code_version: "1.2.
|
|
625810
|
+
claude_code_version: "1.2.27",
|
|
625909
625811
|
output_style: outputStyle2,
|
|
625910
625812
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
625911
625813
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -642114,7 +642016,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
642114
642016
|
function getSemverPart(version3) {
|
|
642115
642017
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
642116
642018
|
}
|
|
642117
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.2.
|
|
642019
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.2.27") {
|
|
642118
642020
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react218.useState(() => getSemverPart(initialVersion));
|
|
642119
642021
|
if (!updatedVersion) {
|
|
642120
642022
|
return null;
|
|
@@ -642154,7 +642056,7 @@ function AutoUpdater({
|
|
|
642154
642056
|
return;
|
|
642155
642057
|
}
|
|
642156
642058
|
if (false) {}
|
|
642157
|
-
const currentVersion = "1.2.
|
|
642059
|
+
const currentVersion = "1.2.27";
|
|
642158
642060
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
642159
642061
|
let latestVersion = await getLatestVersion(channel);
|
|
642160
642062
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -642367,12 +642269,12 @@ function NativeAutoUpdater({
|
|
|
642367
642269
|
logEvent("tengu_native_auto_updater_start", {});
|
|
642368
642270
|
try {
|
|
642369
642271
|
const maxVersion = await getMaxVersion();
|
|
642370
|
-
if (maxVersion && gt("1.2.
|
|
642272
|
+
if (maxVersion && gt("1.2.27", maxVersion)) {
|
|
642371
642273
|
const msg = await getMaxVersionMessage();
|
|
642372
642274
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
642373
642275
|
}
|
|
642374
642276
|
const result = await installLatest(channel);
|
|
642375
|
-
const currentVersion = "1.2.
|
|
642277
|
+
const currentVersion = "1.2.27";
|
|
642376
642278
|
const latencyMs = Date.now() - startTime;
|
|
642377
642279
|
if (result.lockFailed) {
|
|
642378
642280
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -642509,17 +642411,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642509
642411
|
const maxVersion = await getMaxVersion();
|
|
642510
642412
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
642511
642413
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
642512
|
-
if (gte("1.2.
|
|
642513
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.
|
|
642414
|
+
if (gte("1.2.27", maxVersion)) {
|
|
642415
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
642514
642416
|
setUpdateAvailable(false);
|
|
642515
642417
|
return;
|
|
642516
642418
|
}
|
|
642517
642419
|
latest = maxVersion;
|
|
642518
642420
|
}
|
|
642519
|
-
const hasUpdate = latest && !gte("1.2.
|
|
642421
|
+
const hasUpdate = latest && !gte("1.2.27", latest) && !shouldSkipVersion(latest);
|
|
642520
642422
|
setUpdateAvailable(!!hasUpdate);
|
|
642521
642423
|
if (hasUpdate) {
|
|
642522
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.
|
|
642424
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.27"} -> ${latest}`);
|
|
642523
642425
|
}
|
|
642524
642426
|
};
|
|
642525
642427
|
$3[0] = t1;
|
|
@@ -642553,7 +642455,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
642553
642455
|
wrap: "truncate",
|
|
642554
642456
|
children: [
|
|
642555
642457
|
"currentVersion: ",
|
|
642556
|
-
"1.2.
|
|
642458
|
+
"1.2.27"
|
|
642557
642459
|
]
|
|
642558
642460
|
}, undefined, true, undefined, this);
|
|
642559
642461
|
$3[3] = verbose;
|
|
@@ -650719,7 +650621,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
650719
650621
|
project_dir: getOriginalCwd(),
|
|
650720
650622
|
added_dirs: addedDirs
|
|
650721
650623
|
},
|
|
650722
|
-
version: "1.2.
|
|
650624
|
+
version: "1.2.27",
|
|
650723
650625
|
output_style: {
|
|
650724
650626
|
name: outputStyleName
|
|
650725
650627
|
},
|
|
@@ -662089,7 +661991,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
662089
661991
|
} catch {}
|
|
662090
661992
|
const data = {
|
|
662091
661993
|
trigger,
|
|
662092
|
-
version: "1.2.
|
|
661994
|
+
version: "1.2.27",
|
|
662093
661995
|
platform: process.platform,
|
|
662094
661996
|
transcript,
|
|
662095
661997
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -674138,7 +674040,7 @@ function WelcomeV2() {
|
|
|
674138
674040
|
dimColor: true,
|
|
674139
674041
|
children: [
|
|
674140
674042
|
"v",
|
|
674141
|
-
"1.2.
|
|
674043
|
+
"1.2.27"
|
|
674142
674044
|
]
|
|
674143
674045
|
}, undefined, true, undefined, this)
|
|
674144
674046
|
]
|
|
@@ -675855,7 +675757,7 @@ function completeOnboarding() {
|
|
|
675855
675757
|
saveGlobalConfig((current) => ({
|
|
675856
675758
|
...current,
|
|
675857
675759
|
hasCompletedOnboarding: true,
|
|
675858
|
-
lastOnboardingVersion: "1.2.
|
|
675760
|
+
lastOnboardingVersion: "1.2.27"
|
|
675859
675761
|
}));
|
|
675860
675762
|
}
|
|
675861
675763
|
function showDialog(root2, renderer) {
|
|
@@ -680155,7 +680057,7 @@ function appendToLog(path30, message) {
|
|
|
680155
680057
|
cwd: getFsImplementation().cwd(),
|
|
680156
680058
|
userType: "external",
|
|
680157
680059
|
sessionId: getSessionId(),
|
|
680158
|
-
version: "1.2.
|
|
680060
|
+
version: "1.2.27"
|
|
680159
680061
|
};
|
|
680160
680062
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
680161
680063
|
}
|
|
@@ -684263,8 +684165,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
684263
684165
|
}
|
|
684264
684166
|
async function checkEnvLessBridgeMinVersion() {
|
|
684265
684167
|
const cfg = await getEnvLessBridgeConfig();
|
|
684266
|
-
if (cfg.min_version && lt("1.2.
|
|
684267
|
-
return `Your version of RAYU (${"1.2.
|
|
684168
|
+
if (cfg.min_version && lt("1.2.27", cfg.min_version)) {
|
|
684169
|
+
return `Your version of RAYU (${"1.2.27"}) is too old for Remote Control.
|
|
684268
684170
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
684269
684171
|
}
|
|
684270
684172
|
return null;
|
|
@@ -684738,7 +684640,7 @@ async function initBridgeCore(params) {
|
|
|
684738
684640
|
const rawApi = createBridgeApiClient({
|
|
684739
684641
|
baseUrl,
|
|
684740
684642
|
getAccessToken,
|
|
684741
|
-
runnerVersion: "1.2.
|
|
684643
|
+
runnerVersion: "1.2.27",
|
|
684742
684644
|
onDebug: logForDebugging,
|
|
684743
684645
|
onAuth401,
|
|
684744
684646
|
getTrustedDeviceToken
|
|
@@ -690100,7 +690002,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
690100
690002
|
setCwd(cwd3);
|
|
690101
690003
|
const server = new Server({
|
|
690102
690004
|
name: "claude/tengu",
|
|
690103
|
-
version: "1.2.
|
|
690005
|
+
version: "1.2.27"
|
|
690104
690006
|
}, {
|
|
690105
690007
|
capabilities: {
|
|
690106
690008
|
tools: {}
|
|
@@ -692626,7 +692528,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692626
692528
|
}
|
|
692627
692529
|
}
|
|
692628
692530
|
logForDiagnosticsNoPII("info", "started", {
|
|
692629
|
-
version: "1.2.
|
|
692531
|
+
version: "1.2.27",
|
|
692630
692532
|
is_native_binary: isInBundledMode()
|
|
692631
692533
|
});
|
|
692632
692534
|
registerCleanup(async () => {
|
|
@@ -693344,7 +693246,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693344
693246
|
pendingHookMessages
|
|
693345
693247
|
}, renderAndRun);
|
|
693346
693248
|
}
|
|
693347
|
-
}).version("1.2.
|
|
693249
|
+
}).version("1.2.27 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
693348
693250
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693349
693251
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
693350
693252
|
if (canUserConfigureAdvisor()) {
|
|
@@ -693810,7 +693712,7 @@ if (false) {}
|
|
|
693810
693712
|
async function main2() {
|
|
693811
693713
|
const args = process.argv.slice(2);
|
|
693812
693714
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
693813
|
-
console.log(`${"1.2.
|
|
693715
|
+
console.log(`${"1.2.27"} (Rayu-CLI)`);
|
|
693814
693716
|
return;
|
|
693815
693717
|
}
|
|
693816
693718
|
const {
|