@rayu-dev/rayu-cli 1.3.431 → 1.3.433
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 -102
- package/package.json +1 -1
package/dist/rayu.js
CHANGED
|
@@ -19390,6 +19390,33 @@ var init_contextPrepCache = __esm(() => {
|
|
|
19390
19390
|
searchResults = new Map;
|
|
19391
19391
|
});
|
|
19392
19392
|
|
|
19393
|
+
// src/utils/curatedProviderModels.ts
|
|
19394
|
+
var DOUBLEWORD_MODELS, CURATED_PROVIDER_MODELS;
|
|
19395
|
+
var init_curatedProviderModels = __esm(() => {
|
|
19396
|
+
DOUBLEWORD_MODELS = [
|
|
19397
|
+
"Qwen/Qwen3-14B-FP8",
|
|
19398
|
+
"Qwen/Qwen3-VL-235B-A22B-Instruct-FP8",
|
|
19399
|
+
"Qwen/Qwen3-VL-30B-A3B-Instruct-FP8",
|
|
19400
|
+
"Qwen/Qwen3.5-35B-A3B-FP8",
|
|
19401
|
+
"Qwen/Qwen3.5-397B-A17B-FP8",
|
|
19402
|
+
"Qwen/Qwen3.5-9B",
|
|
19403
|
+
"Qwen/Qwen3.6-35B-A3B-FP8",
|
|
19404
|
+
"deepseek-ai/DeepSeek-V4-Flash",
|
|
19405
|
+
"deepseek-ai/DeepSeek-V4-Pro",
|
|
19406
|
+
"google/gemma-4-31B-it",
|
|
19407
|
+
"mistralai/Devstral-2-123B-Instruct-2512",
|
|
19408
|
+
"moonshotai/Kimi-K2.6",
|
|
19409
|
+
"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
19410
|
+
"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4",
|
|
19411
|
+
"openai/gpt-oss-120b",
|
|
19412
|
+
"openai/gpt-oss-20b",
|
|
19413
|
+
"zai-org/GLM-5.1-FP8"
|
|
19414
|
+
];
|
|
19415
|
+
CURATED_PROVIDER_MODELS = {
|
|
19416
|
+
doubleword: DOUBLEWORD_MODELS
|
|
19417
|
+
};
|
|
19418
|
+
});
|
|
19419
|
+
|
|
19393
19420
|
// src/utils/rayuDiagnostics.ts
|
|
19394
19421
|
import { appendFileSync as appendFileSync2, existsSync as existsSync4, mkdirSync as mkdirSync3, readFileSync as readFileSync3 } from "fs";
|
|
19395
19422
|
import { join as join6 } from "path";
|
|
@@ -36705,28 +36732,33 @@ async function fetchProviderModels(p) {
|
|
|
36705
36732
|
}
|
|
36706
36733
|
if (p.kind !== "openai-compatible" || !p.baseURL)
|
|
36707
36734
|
return [];
|
|
36735
|
+
const curated = CURATED_PROVIDER_MODELS[p.id] ?? [];
|
|
36708
36736
|
const url = p.baseURL.replace(/\/+$/, "") + "/models";
|
|
36737
|
+
let fetched = [];
|
|
36709
36738
|
try {
|
|
36710
36739
|
const res = await fetch(url, {
|
|
36711
36740
|
headers: p.apiKey ? { Authorization: `Bearer ${p.apiKey}` } : {},
|
|
36712
36741
|
signal: AbortSignal.timeout(15000)
|
|
36713
36742
|
});
|
|
36714
|
-
if (
|
|
36743
|
+
if (res.ok) {
|
|
36744
|
+
const json = await res.json();
|
|
36745
|
+
fetched = (json.data ?? []).map((m2) => m2.id).filter((id) => typeof id === "string" && id.length > 0);
|
|
36746
|
+
} else {
|
|
36715
36747
|
reportIssue("rayu_models.fetch_failed", "provider /models returned non-OK", {
|
|
36716
36748
|
provider: p.id,
|
|
36717
36749
|
status: res.status
|
|
36718
36750
|
});
|
|
36719
|
-
return [];
|
|
36720
36751
|
}
|
|
36721
|
-
const json = await res.json();
|
|
36722
|
-
return (json.data ?? []).map((m2) => m2.id).filter((id) => typeof id === "string" && id.length > 0).sort();
|
|
36723
36752
|
} catch (e2) {
|
|
36724
36753
|
reportIssue("rayu_models.fetch_error", "provider /models request failed", {
|
|
36725
36754
|
provider: p.id,
|
|
36726
36755
|
error: e2 instanceof Error ? e2.message : String(e2)
|
|
36727
36756
|
});
|
|
36728
|
-
return [];
|
|
36729
36757
|
}
|
|
36758
|
+
if (curated.length) {
|
|
36759
|
+
return [...new Set([...fetched, ...curated])].sort();
|
|
36760
|
+
}
|
|
36761
|
+
return fetched.sort();
|
|
36730
36762
|
}
|
|
36731
36763
|
async function refreshActiveProviderModels() {
|
|
36732
36764
|
const p = getActiveProvider();
|
|
@@ -36805,6 +36837,7 @@ var FILE_NAME2 = "providers.json", cache2 = null, NON_CHAT_MODEL_RE, KNOWN_MODEL
|
|
|
36805
36837
|
var init_rayuConfig = __esm(() => {
|
|
36806
36838
|
init_envUtils();
|
|
36807
36839
|
init_contextPrepCache();
|
|
36840
|
+
init_curatedProviderModels();
|
|
36808
36841
|
init_rayuDiagnostics();
|
|
36809
36842
|
NON_CHAT_MODEL_RE = /embed|bge-|rerank|reward|guard|safety|moderation|topic-control|ocr|parse|deplot|nvclip|clip|whisper|tts|stt|video|detector|nemoretriever|content-safety/i;
|
|
36810
36843
|
KNOWN_MODEL_CONTEXT = [
|
|
@@ -148272,7 +148305,7 @@ var init_auth = __esm(() => {
|
|
|
148272
148305
|
|
|
148273
148306
|
// src/utils/userAgent.ts
|
|
148274
148307
|
function getRayuUserAgent() {
|
|
148275
|
-
return `rayu/${"1.3.
|
|
148308
|
+
return `rayu/${"1.3.433"}`;
|
|
148276
148309
|
}
|
|
148277
148310
|
var getClaudeCodeUserAgent;
|
|
148278
148311
|
var init_userAgent = __esm(() => {
|
|
@@ -148298,7 +148331,7 @@ function getUserAgent() {
|
|
|
148298
148331
|
const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
|
|
148299
148332
|
const workload = getWorkload();
|
|
148300
148333
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
148301
|
-
return `rayu/${"1.3.
|
|
148334
|
+
return `rayu/${"1.3.433"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
148302
148335
|
}
|
|
148303
148336
|
function getMCPUserAgent() {
|
|
148304
148337
|
const parts = [];
|
|
@@ -148312,7 +148345,7 @@ function getMCPUserAgent() {
|
|
|
148312
148345
|
parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
|
|
148313
148346
|
}
|
|
148314
148347
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
148315
|
-
return `rayu/${"1.3.
|
|
148348
|
+
return `rayu/${"1.3.433"}${suffix}`;
|
|
148316
148349
|
}
|
|
148317
148350
|
function getWebFetchUserAgent() {
|
|
148318
148351
|
return `Rayu-User (${getRayuUserAgent()})`;
|
|
@@ -148435,7 +148468,7 @@ var init_user = __esm(() => {
|
|
|
148435
148468
|
deviceId,
|
|
148436
148469
|
sessionId: getSessionId(),
|
|
148437
148470
|
email: getEmail(),
|
|
148438
|
-
appVersion: "1.3.
|
|
148471
|
+
appVersion: "1.3.433",
|
|
148439
148472
|
platform: getHostPlatformForAnalytics(),
|
|
148440
148473
|
organizationUuid,
|
|
148441
148474
|
accountUuid,
|
|
@@ -156285,6 +156318,7 @@ __export(exports_model, {
|
|
|
156285
156318
|
getDefaultMainLoopModelSetting: () => getDefaultMainLoopModelSetting,
|
|
156286
156319
|
getDefaultMainLoopModel: () => getDefaultMainLoopModel,
|
|
156287
156320
|
getDefaultHaikuModel: () => getDefaultHaikuModel,
|
|
156321
|
+
getCommitModelName: () => getCommitModelName,
|
|
156288
156322
|
getClaudeAiUserDefaultModelDescription: () => getClaudeAiUserDefaultModelDescription,
|
|
156289
156323
|
getCanonicalName: () => getCanonicalName,
|
|
156290
156324
|
getBestModel: () => getBestModel,
|
|
@@ -156540,6 +156574,14 @@ function getPublicModelName(model) {
|
|
|
156540
156574
|
}
|
|
156541
156575
|
return `Claude (${model})`;
|
|
156542
156576
|
}
|
|
156577
|
+
function prettifyModelId(model) {
|
|
156578
|
+
const base2 = model.split("/").pop() ?? model;
|
|
156579
|
+
const tokens = base2.split(/[-_]/).filter(Boolean).filter((tok, i3) => !(i3 === 0 && tok.toLowerCase() === "claude")).filter((tok) => !PRETTIFY_DROP_TOKEN.test(tok) && !/^\d{6,8}$/.test(tok)).map((tok) => /^[a-z]/.test(tok) ? capitalize(tok) : tok);
|
|
156580
|
+
return tokens.length > 0 ? tokens.join(" ") : model;
|
|
156581
|
+
}
|
|
156582
|
+
function getCommitModelName(model) {
|
|
156583
|
+
return getPublicModelDisplayName(model) ?? prettifyModelId(model);
|
|
156584
|
+
}
|
|
156543
156585
|
function parseUserSpecifiedModel(modelInput) {
|
|
156544
156586
|
const modelInputTrimmed = modelInput.trim();
|
|
156545
156587
|
const normalizedModel = modelInputTrimmed.toLowerCase();
|
|
@@ -156640,7 +156682,7 @@ function normalizeModelStringForAPI(model) {
|
|
|
156640
156682
|
const bare = sepIdx === -1 ? model : model.slice(sepIdx + 1);
|
|
156641
156683
|
return bare.replace(/\[(1|2)m\]/gi, "");
|
|
156642
156684
|
}
|
|
156643
|
-
var LEGACY_OPUS_FIRSTPARTY;
|
|
156685
|
+
var PRETTIFY_DROP_TOKEN, LEGACY_OPUS_FIRSTPARTY;
|
|
156644
156686
|
var init_model = __esm(() => {
|
|
156645
156687
|
init_state();
|
|
156646
156688
|
init_antModels();
|
|
@@ -156655,6 +156697,7 @@ var init_model = __esm(() => {
|
|
|
156655
156697
|
init_modelAllowlist();
|
|
156656
156698
|
init_aliases();
|
|
156657
156699
|
init_stringUtils();
|
|
156700
|
+
PRETTIFY_DROP_TOKEN = /^(preview|exp|experimental|latest|beta|stable|snapshot)$/i;
|
|
156658
156701
|
LEGACY_OPUS_FIRSTPARTY = [
|
|
156659
156702
|
"claude-opus-4-20250514",
|
|
156660
156703
|
"claude-opus-4-1-20250805",
|
|
@@ -183937,7 +183980,7 @@ var init_metadata = __esm(() => {
|
|
|
183937
183980
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
183938
183981
|
WHITESPACE_REGEX = /\s+/;
|
|
183939
183982
|
getVersionBase = memoize_default(() => {
|
|
183940
|
-
const match = "1.3.
|
|
183983
|
+
const match = "1.3.433".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
183941
183984
|
return match ? match[0] : undefined;
|
|
183942
183985
|
});
|
|
183943
183986
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -183976,7 +184019,7 @@ var init_metadata = __esm(() => {
|
|
|
183976
184019
|
},
|
|
183977
184020
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
183978
184021
|
isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
|
|
183979
|
-
version: "1.3.
|
|
184022
|
+
version: "1.3.433",
|
|
183980
184023
|
versionBase: getVersionBase(),
|
|
183981
184024
|
buildTime: "",
|
|
183982
184025
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
@@ -184590,7 +184633,7 @@ function initialize1PEventLogging() {
|
|
|
184590
184633
|
const platform2 = getPlatform();
|
|
184591
184634
|
const attributes = {
|
|
184592
184635
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
|
|
184593
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.
|
|
184636
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.3.433"
|
|
184594
184637
|
};
|
|
184595
184638
|
if (platform2 === "wsl") {
|
|
184596
184639
|
const wslVersion = getWslVersion();
|
|
@@ -184617,7 +184660,7 @@ function initialize1PEventLogging() {
|
|
|
184617
184660
|
})
|
|
184618
184661
|
]
|
|
184619
184662
|
});
|
|
184620
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.
|
|
184663
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.3.433");
|
|
184621
184664
|
}
|
|
184622
184665
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
184623
184666
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -220533,7 +220576,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
220533
220576
|
if (!isAttributionHeaderEnabled()) {
|
|
220534
220577
|
return "";
|
|
220535
220578
|
}
|
|
220536
|
-
const version2 = `${"1.3.
|
|
220579
|
+
const version2 = `${"1.3.433"}.${fingerprint}`;
|
|
220537
220580
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
220538
220581
|
const cch = "";
|
|
220539
220582
|
const workload = getWorkload();
|
|
@@ -305223,7 +305266,7 @@ function getTelemetryAttributes() {
|
|
|
305223
305266
|
attributes["session.id"] = sessionId;
|
|
305224
305267
|
}
|
|
305225
305268
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
305226
|
-
attributes["app.version"] = "1.3.
|
|
305269
|
+
attributes["app.version"] = "1.3.433";
|
|
305227
305270
|
}
|
|
305228
305271
|
const oauthAccount = getOauthAccountInfo();
|
|
305229
305272
|
if (oauthAccount) {
|
|
@@ -414918,7 +414961,7 @@ function IdeOnboardingDialog(t0) {
|
|
|
414918
414961
|
if ($3[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
414919
414962
|
t5 = /* @__PURE__ */ jsx_dev_runtime45.jsxDEV(ThemedText, {
|
|
414920
414963
|
color: "claude",
|
|
414921
|
-
children: "
|
|
414964
|
+
children: "\uD804\uDC4D "
|
|
414922
414965
|
}, undefined, false, undefined, this);
|
|
414923
414966
|
$3[7] = t5;
|
|
414924
414967
|
} else {
|
|
@@ -415533,7 +415576,7 @@ function getInstallationEnv() {
|
|
|
415533
415576
|
return;
|
|
415534
415577
|
}
|
|
415535
415578
|
function getClaudeCodeVersion() {
|
|
415536
|
-
return "1.3.
|
|
415579
|
+
return "1.3.433";
|
|
415537
415580
|
}
|
|
415538
415581
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
415539
415582
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -420771,7 +420814,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
420771
420814
|
const client4 = new Client({
|
|
420772
420815
|
name: "claude-code",
|
|
420773
420816
|
title: "RAYU",
|
|
420774
|
-
version: "1.3.
|
|
420817
|
+
version: "1.3.433",
|
|
420775
420818
|
description: "Anthropic's agentic coding tool",
|
|
420776
420819
|
websiteUrl: PRODUCT_URL
|
|
420777
420820
|
}, {
|
|
@@ -421088,7 +421131,7 @@ var init_client7 = __esm(() => {
|
|
|
421088
421131
|
const client4 = new Client({
|
|
421089
421132
|
name: "claude-code",
|
|
421090
421133
|
title: "RAYU",
|
|
421091
|
-
version: "1.3.
|
|
421134
|
+
version: "1.3.433",
|
|
421092
421135
|
description: "Anthropic's agentic coding tool",
|
|
421093
421136
|
websiteUrl: PRODUCT_URL
|
|
421094
421137
|
}, {
|
|
@@ -435893,7 +435936,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
435893
435936
|
}
|
|
435894
435937
|
function computeFingerprintFromMessages(messages) {
|
|
435895
435938
|
const firstMessageText = extractFirstMessageText(messages);
|
|
435896
|
-
return computeFingerprint(firstMessageText, "1.3.
|
|
435939
|
+
return computeFingerprint(firstMessageText, "1.3.433");
|
|
435897
435940
|
}
|
|
435898
435941
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
435899
435942
|
var init_fingerprint = () => {};
|
|
@@ -435935,7 +435978,7 @@ async function sideQuery(opts) {
|
|
|
435935
435978
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
435936
435979
|
}
|
|
435937
435980
|
const messageText = extractFirstUserMessageText(messages);
|
|
435938
|
-
const fingerprint = computeFingerprint(messageText, "1.3.
|
|
435981
|
+
const fingerprint = computeFingerprint(messageText, "1.3.433");
|
|
435939
435982
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
435940
435983
|
const systemBlocks = [
|
|
435941
435984
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -504496,9 +504539,6 @@ function getAttributionRepoRoot() {
|
|
|
504496
504539
|
const cwd2 = getCwd();
|
|
504497
504540
|
return findGitRoot(cwd2) ?? getOriginalCwd();
|
|
504498
504541
|
}
|
|
504499
|
-
function isInternalModelRepoCached() {
|
|
504500
|
-
return repoClassCache === "internal";
|
|
504501
|
-
}
|
|
504502
504542
|
function sanitizeModelName(shortName) {
|
|
504503
504543
|
if (shortName.includes("opus-4-6"))
|
|
504504
504544
|
return "claude-opus-4-6";
|
|
@@ -507748,11 +507788,10 @@ function getAttributionTexts() {
|
|
|
507748
507788
|
}
|
|
507749
507789
|
return { commit: "", pr: "" };
|
|
507750
507790
|
}
|
|
507751
|
-
const
|
|
507752
|
-
const
|
|
507753
|
-
const modelName = isInternalModelRepoCached() || isKnownPublicModel ? getPublicModelName(model) : "Claude Opus 4.6";
|
|
507791
|
+
const modelName = getCommitModelName(getMainLoopModel());
|
|
507792
|
+
const email3 = "rayudev.choeng@gmail.com";
|
|
507754
507793
|
const defaultAttribution = `\uD83E\uDD16 Generated with [RAYU](${PRODUCT_URL})`;
|
|
507755
|
-
const defaultCommit = `Co-Authored-By: ${modelName}
|
|
507794
|
+
const defaultCommit = `Co-Authored-By: Rayu Code ${modelName} <${email3}>`;
|
|
507756
507795
|
const settings = getInitialSettings();
|
|
507757
507796
|
if (settings.attribution) {
|
|
507758
507797
|
return {
|
|
@@ -530913,7 +530952,7 @@ function Feedback({
|
|
|
530913
530952
|
platform: env4.platform,
|
|
530914
530953
|
gitRepo: envInfo.isGit,
|
|
530915
530954
|
terminal: env4.terminal,
|
|
530916
|
-
version: "1.3.
|
|
530955
|
+
version: "1.3.433",
|
|
530917
530956
|
transcript: normalizeMessagesForAPI(messages),
|
|
530918
530957
|
errors: sanitizedErrors,
|
|
530919
530958
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -531105,7 +531144,7 @@ function Feedback({
|
|
|
531105
531144
|
", ",
|
|
531106
531145
|
env4.terminal,
|
|
531107
531146
|
", v",
|
|
531108
|
-
"1.3.
|
|
531147
|
+
"1.3.433"
|
|
531109
531148
|
]
|
|
531110
531149
|
}, undefined, true, undefined, this)
|
|
531111
531150
|
]
|
|
@@ -531211,7 +531250,7 @@ ${sanitizedDescription}
|
|
|
531211
531250
|
` + `**Environment Info**
|
|
531212
531251
|
` + `- Platform: ${env4.platform}
|
|
531213
531252
|
` + `- Terminal: ${env4.terminal}
|
|
531214
|
-
` + `- Version: ${"1.3.
|
|
531253
|
+
` + `- Version: ${"1.3.433"}
|
|
531215
531254
|
` + `- Feedback ID: ${feedbackId}
|
|
531216
531255
|
` + `
|
|
531217
531256
|
**Errors**
|
|
@@ -534051,9 +534090,9 @@ async function assertMinVersion() {
|
|
|
534051
534090
|
if (false) {}
|
|
534052
534091
|
try {
|
|
534053
534092
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
534054
|
-
if (versionConfig.minVersion && lt("1.3.
|
|
534093
|
+
if (versionConfig.minVersion && lt("1.3.433", versionConfig.minVersion)) {
|
|
534055
534094
|
console.error(`
|
|
534056
|
-
It looks like your version of RAYU (${"1.3.
|
|
534095
|
+
It looks like your version of RAYU (${"1.3.433"}) needs an update.
|
|
534057
534096
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
534058
534097
|
|
|
534059
534098
|
To update, please run:
|
|
@@ -534279,7 +534318,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
534279
534318
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
534280
534319
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
534281
534320
|
pid: process.pid,
|
|
534282
|
-
currentVersion: "1.3.
|
|
534321
|
+
currentVersion: "1.3.433"
|
|
534283
534322
|
});
|
|
534284
534323
|
return "in_progress";
|
|
534285
534324
|
}
|
|
@@ -534288,7 +534327,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
534288
534327
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
534289
534328
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
534290
534329
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
534291
|
-
currentVersion: "1.3.
|
|
534330
|
+
currentVersion: "1.3.433"
|
|
534292
534331
|
});
|
|
534293
534332
|
console.error(`
|
|
534294
534333
|
Error: Windows NPM detected in WSL
|
|
@@ -534824,7 +534863,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
534824
534863
|
}
|
|
534825
534864
|
async function getDoctorDiagnostic() {
|
|
534826
534865
|
const installationType = await getCurrentInstallationType();
|
|
534827
|
-
const version2 = typeof MACRO !== "undefined" ? "1.3.
|
|
534866
|
+
const version2 = typeof MACRO !== "undefined" ? "1.3.433" : "unknown";
|
|
534828
534867
|
const installationPath = await getInstallationPath();
|
|
534829
534868
|
const invokedBinary = getInvokedBinary();
|
|
534830
534869
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -535619,8 +535658,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
535619
535658
|
const maxVersion = await getMaxVersion();
|
|
535620
535659
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
535621
535660
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
535622
|
-
if (gte("1.3.
|
|
535623
|
-
logForDebugging(`Native installer: current version ${"1.3.
|
|
535661
|
+
if (gte("1.3.433", maxVersion)) {
|
|
535662
|
+
logForDebugging(`Native installer: current version ${"1.3.433"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
535624
535663
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
535625
535664
|
latency_ms: Date.now() - startTime,
|
|
535626
535665
|
max_version: maxVersion,
|
|
@@ -535631,7 +535670,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
535631
535670
|
version2 = maxVersion;
|
|
535632
535671
|
}
|
|
535633
535672
|
}
|
|
535634
|
-
if (!forceReinstall && version2 === "1.3.
|
|
535673
|
+
if (!forceReinstall && version2 === "1.3.433" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
535635
535674
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
535636
535675
|
logEvent("tengu_native_update_complete", {
|
|
535637
535676
|
latency_ms: Date.now() - startTime,
|
|
@@ -536827,7 +536866,7 @@ function buildPrimarySection() {
|
|
|
536827
536866
|
}, undefined, false, undefined, this);
|
|
536828
536867
|
return [{
|
|
536829
536868
|
label: "Version",
|
|
536830
|
-
value: "1.3.
|
|
536869
|
+
value: "1.3.433"
|
|
536831
536870
|
}, {
|
|
536832
536871
|
label: "Session name",
|
|
536833
536872
|
value: nameValue
|
|
@@ -540518,7 +540557,7 @@ function Config({
|
|
|
540518
540557
|
}
|
|
540519
540558
|
}, undefined, false, undefined, this)
|
|
540520
540559
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
|
|
540521
|
-
currentVersion: "1.3.
|
|
540560
|
+
currentVersion: "1.3.433",
|
|
540522
540561
|
onChoice: (choice) => {
|
|
540523
540562
|
setShowSubmenu(null);
|
|
540524
540563
|
setTabsHidden(false);
|
|
@@ -540530,7 +540569,7 @@ function Config({
|
|
|
540530
540569
|
autoUpdatesChannel: "stable"
|
|
540531
540570
|
};
|
|
540532
540571
|
if (choice === "stay") {
|
|
540533
|
-
newSettings.minimumVersion = "1.3.
|
|
540572
|
+
newSettings.minimumVersion = "1.3.433";
|
|
540534
540573
|
}
|
|
540535
540574
|
updateSettingsForSource("userSettings", newSettings);
|
|
540536
540575
|
setSettingsData((prev_27) => ({
|
|
@@ -548592,7 +548631,7 @@ function HelpV2(t0) {
|
|
|
548592
548631
|
let t6;
|
|
548593
548632
|
if ($3[31] !== tabs) {
|
|
548594
548633
|
t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
|
|
548595
|
-
title: `Rayu-CLI v${"1.3.
|
|
548634
|
+
title: `Rayu-CLI v${"1.3.433"}`,
|
|
548596
548635
|
color: "professionalBlue",
|
|
548597
548636
|
defaultTab: "general",
|
|
548598
548637
|
children: tabs
|
|
@@ -558699,12 +558738,12 @@ function ManageMarketplaces({
|
|
|
558699
558738
|
children: [
|
|
558700
558739
|
state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime218.jsxDEV(ThemedText, {
|
|
558701
558740
|
color: "claude",
|
|
558702
|
-
children: "
|
|
558741
|
+
children: "\uD804\uDC4D "
|
|
558703
558742
|
}, undefined, false, undefined, this),
|
|
558704
558743
|
state.name,
|
|
558705
558744
|
state.name === "claude-plugins-official" && /* @__PURE__ */ jsx_dev_runtime218.jsxDEV(ThemedText, {
|
|
558706
558745
|
color: "claude",
|
|
558707
|
-
children: "
|
|
558746
|
+
children: " \uD804\uDC4D"
|
|
558708
558747
|
}, undefined, false, undefined, this)
|
|
558709
558748
|
]
|
|
558710
558749
|
}, undefined, true, undefined, this),
|
|
@@ -568624,7 +568663,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
568624
568663
|
}
|
|
568625
568664
|
return [];
|
|
568626
568665
|
}
|
|
568627
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.
|
|
568666
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.433") {
|
|
568628
568667
|
if (false) {}
|
|
568629
568668
|
const cachedChangelog = await getStoredChangelog();
|
|
568630
568669
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -568637,7 +568676,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.3.431")
|
|
|
568637
568676
|
releaseNotes
|
|
568638
568677
|
};
|
|
568639
568678
|
}
|
|
568640
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.
|
|
568679
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.3.433") {
|
|
568641
568680
|
if (false) {}
|
|
568642
568681
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
568643
568682
|
return {
|
|
@@ -568765,7 +568804,7 @@ function getRecentActivitySync() {
|
|
|
568765
568804
|
return cachedActivity;
|
|
568766
568805
|
}
|
|
568767
568806
|
function getLogoDisplayData() {
|
|
568768
|
-
const version2 = process.env.DEMO_VERSION ?? "1.3.
|
|
568807
|
+
const version2 = process.env.DEMO_VERSION ?? "1.3.433";
|
|
568769
568808
|
const serverUrl = getDirectConnectServerUrl();
|
|
568770
568809
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
568771
568810
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -569553,17 +569592,17 @@ function GuestPassesUpsell() {
|
|
|
569553
569592
|
children: [
|
|
569554
569593
|
/* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
|
|
569555
569594
|
color: "claude",
|
|
569556
|
-
children: "[
|
|
569595
|
+
children: "[\uD804\uDC4D]"
|
|
569557
569596
|
}, undefined, false, undefined, this),
|
|
569558
569597
|
" ",
|
|
569559
569598
|
/* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
|
|
569560
569599
|
color: "claude",
|
|
569561
|
-
children: "[
|
|
569600
|
+
children: "[\uD804\uDC4D]"
|
|
569562
569601
|
}, undefined, false, undefined, this),
|
|
569563
569602
|
" ",
|
|
569564
569603
|
/* @__PURE__ */ jsx_dev_runtime233.jsxDEV(ThemedText, {
|
|
569565
569604
|
color: "claude",
|
|
569566
|
-
children: "[
|
|
569605
|
+
children: "[\uD804\uDC4D]"
|
|
569567
569606
|
}, undefined, false, undefined, this),
|
|
569568
569607
|
" ·",
|
|
569569
569608
|
" ",
|
|
@@ -570011,7 +570050,7 @@ function LogoV2() {
|
|
|
570011
570050
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
570012
570051
|
t2 = () => {
|
|
570013
570052
|
const currentConfig = getGlobalConfig();
|
|
570014
|
-
if (currentConfig.lastReleaseNotesSeen === "1.3.
|
|
570053
|
+
if (currentConfig.lastReleaseNotesSeen === "1.3.433") {
|
|
570015
570054
|
return;
|
|
570016
570055
|
}
|
|
570017
570056
|
saveGlobalConfig(_temp327);
|
|
@@ -570489,7 +570528,7 @@ function LogoV2() {
|
|
|
570489
570528
|
t24 = $3[61];
|
|
570490
570529
|
}
|
|
570491
570530
|
const _latestNpm = getCachedLatestNpmVersionSync();
|
|
570492
|
-
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.
|
|
570531
|
+
const _updateFeeds = _latestNpm && gt(_latestNpm, "1.3.433") ? [createUpdateAvailableFeed("1.3.433", _latestNpm)] : [];
|
|
570493
570532
|
const t25 = layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime239.jsxDEV(FeedColumn, {
|
|
570494
570533
|
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), ..._updateFeeds, createWhatsNewFeed(changelog)],
|
|
570495
570534
|
maxWidth: rightWidth
|
|
@@ -570689,12 +570728,12 @@ function LogoV2() {
|
|
|
570689
570728
|
return t41;
|
|
570690
570729
|
}
|
|
570691
570730
|
function _temp327(current) {
|
|
570692
|
-
if (current.lastReleaseNotesSeen === "1.3.
|
|
570731
|
+
if (current.lastReleaseNotesSeen === "1.3.433") {
|
|
570693
570732
|
return current;
|
|
570694
570733
|
}
|
|
570695
570734
|
return {
|
|
570696
570735
|
...current,
|
|
570697
|
-
lastReleaseNotesSeen: "1.3.
|
|
570736
|
+
lastReleaseNotesSeen: "1.3.433"
|
|
570698
570737
|
};
|
|
570699
570738
|
}
|
|
570700
570739
|
function _temp241(s_0) {
|
|
@@ -595487,7 +595526,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
595487
595526
|
smapsRollup,
|
|
595488
595527
|
platform: process.platform,
|
|
595489
595528
|
nodeVersion: process.version,
|
|
595490
|
-
ccVersion: "1.3.
|
|
595529
|
+
ccVersion: "1.3.433"
|
|
595491
595530
|
};
|
|
595492
595531
|
}
|
|
595493
595532
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -596009,7 +596048,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
596009
596048
|
var call48 = async () => {
|
|
596010
596049
|
return {
|
|
596011
596050
|
type: "text",
|
|
596012
|
-
value: "1.3.
|
|
596051
|
+
value: "1.3.433"
|
|
596013
596052
|
};
|
|
596014
596053
|
}, version2, version_default;
|
|
596015
596054
|
var init_version = __esm(() => {
|
|
@@ -598661,11 +598700,12 @@ async function getGeminiOAuthAccessToken() {
|
|
|
598661
598700
|
function _setOAuthClientFactoryForTesting2(factory2) {
|
|
598662
598701
|
oauthClientFactoryOverride2 = factory2;
|
|
598663
598702
|
}
|
|
598664
|
-
var CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform", DEFAULT_CLIENT_ID = "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com", DEFAULT_CLIENT_SECRET
|
|
598703
|
+
var CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform", DEFAULT_CLIENT_ID = "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com", DEFAULT_CLIENT_SECRET, TOKEN_FILE2 = "gemini-oauth.json", TOKEN_REFRESH_SKEW_MS3, oauthClientFactoryOverride2 = null, LOGIN_TIMEOUT_MS3 = 300000;
|
|
598665
598704
|
var init_googleOAuth = __esm(() => {
|
|
598666
598705
|
init_envUtils();
|
|
598667
598706
|
init_browser();
|
|
598668
598707
|
init_vertexAuth();
|
|
598708
|
+
DEFAULT_CLIENT_SECRET = Buffer.from("ZC1GTDk1UTE5cTdNUW1GcGQ3aEhEMFR5", "base64").toString("utf8");
|
|
598669
598709
|
TOKEN_REFRESH_SKEW_MS3 = 5 * 60 * 1000;
|
|
598670
598710
|
registerVertexOAuthFallback(getGeminiOAuthAccessToken);
|
|
598671
598711
|
});
|
|
@@ -605784,7 +605824,7 @@ function generateHtmlReport(data, insights) {
|
|
|
605784
605824
|
</html>`;
|
|
605785
605825
|
}
|
|
605786
605826
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
605787
|
-
const version3 = typeof MACRO !== "undefined" ? "1.3.
|
|
605827
|
+
const version3 = typeof MACRO !== "undefined" ? "1.3.433" : "unknown";
|
|
605788
605828
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
605789
605829
|
const facets_summary = {
|
|
605790
605830
|
total: facets.size,
|
|
@@ -609690,7 +609730,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
609690
609730
|
init_settings2();
|
|
609691
609731
|
init_slowOperations();
|
|
609692
609732
|
init_uuid();
|
|
609693
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.3.
|
|
609733
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.3.433" : "unknown";
|
|
609694
609734
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
609695
609735
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
609696
609736
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -610911,7 +610951,7 @@ var init_filesystem = __esm(() => {
|
|
|
610911
610951
|
});
|
|
610912
610952
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
610913
610953
|
const nonce = randomBytes19(16).toString("hex");
|
|
610914
|
-
return join153(getClaudeTempDir(), "bundled-skills", "1.3.
|
|
610954
|
+
return join153(getClaudeTempDir(), "bundled-skills", "1.3.433", nonce);
|
|
610915
610955
|
});
|
|
610916
610956
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
610917
610957
|
});
|
|
@@ -616026,7 +616066,7 @@ __export(exports_update, {
|
|
|
616026
616066
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
616027
616067
|
import { homedir as homedir34 } from "os";
|
|
616028
616068
|
async function update() {
|
|
616029
|
-
writeToStdout(`Current version: ${"1.3.
|
|
616069
|
+
writeToStdout(`Current version: ${"1.3.433"}
|
|
616030
616070
|
`);
|
|
616031
616071
|
const isBundled = isInBundledMode();
|
|
616032
616072
|
if (isBundled) {
|
|
@@ -616052,13 +616092,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
|
|
|
616052
616092
|
process.exit(1);
|
|
616053
616093
|
return;
|
|
616054
616094
|
}
|
|
616055
|
-
if (latestVersion === "1.3.
|
|
616095
|
+
if (latestVersion === "1.3.433") {
|
|
616056
616096
|
writeToStdout(source_default.green(`
|
|
616057
|
-
Rayu CLI is up to date (${"1.3.
|
|
616097
|
+
Rayu CLI is up to date (${"1.3.433"})
|
|
616058
616098
|
`));
|
|
616059
616099
|
process.exit(0);
|
|
616060
616100
|
}
|
|
616061
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.
|
|
616101
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.3.433"})
|
|
616062
616102
|
`);
|
|
616063
616103
|
writeToStdout(`Installing update...
|
|
616064
616104
|
|
|
@@ -616082,7 +616122,7 @@ Try manually:
|
|
|
616082
616122
|
return;
|
|
616083
616123
|
}
|
|
616084
616124
|
writeToStdout(source_default.green(`
|
|
616085
|
-
Successfully updated from ${"1.3.
|
|
616125
|
+
Successfully updated from ${"1.3.433"} to ${latestVersion}
|
|
616086
616126
|
`));
|
|
616087
616127
|
process.exit(0);
|
|
616088
616128
|
}
|
|
@@ -616096,14 +616136,14 @@ async function updateNativeBinary() {
|
|
|
616096
616136
|
} catch {
|
|
616097
616137
|
latestVersion = "";
|
|
616098
616138
|
}
|
|
616099
|
-
if (latestVersion && latestVersion === "1.3.
|
|
616139
|
+
if (latestVersion && latestVersion === "1.3.433") {
|
|
616100
616140
|
writeToStdout(source_default.green(`
|
|
616101
|
-
Rayu CLI is up to date (1.3.
|
|
616141
|
+
Rayu CLI is up to date (1.3.433)
|
|
616102
616142
|
`));
|
|
616103
616143
|
process.exit(0);
|
|
616104
616144
|
}
|
|
616105
616145
|
if (latestVersion) {
|
|
616106
|
-
writeToStdout(`New version available: ${latestVersion} (current: 1.3.
|
|
616146
|
+
writeToStdout(`New version available: ${latestVersion} (current: 1.3.433)
|
|
616107
616147
|
`);
|
|
616108
616148
|
}
|
|
616109
616149
|
writeToStdout(`Downloading and installing update...
|
|
@@ -616118,13 +616158,13 @@ Rayu CLI is up to date (1.3.431)
|
|
|
616118
616158
|
return;
|
|
616119
616159
|
}
|
|
616120
616160
|
writeToStdout(source_default.green(`
|
|
616121
|
-
Rayu CLI is up to date (1.3.
|
|
616161
|
+
Rayu CLI is up to date (1.3.433)
|
|
616122
616162
|
`));
|
|
616123
616163
|
process.exit(0);
|
|
616124
616164
|
}
|
|
616125
616165
|
const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
|
|
616126
616166
|
writeToStdout(source_default.green(`
|
|
616127
|
-
Successfully updated from 1.3.
|
|
616167
|
+
Successfully updated from 1.3.433 to ${updatedTo}
|
|
616128
616168
|
`));
|
|
616129
616169
|
writeToStdout(`Restart your terminal to use the new version.
|
|
616130
616170
|
`);
|
|
@@ -616155,7 +616195,7 @@ __export(exports_uninstall, {
|
|
|
616155
616195
|
import { execFileSync as execFileSync4 } from "node:child_process";
|
|
616156
616196
|
import { homedir as homedir35 } from "os";
|
|
616157
616197
|
async function uninstall() {
|
|
616158
|
-
writeToStdout(`Uninstalling Rayu CLI (${"1.3.
|
|
616198
|
+
writeToStdout(`Uninstalling Rayu CLI (${"1.3.433"})...
|
|
616159
616199
|
`);
|
|
616160
616200
|
writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
|
|
616161
616201
|
|
|
@@ -616178,7 +616218,7 @@ Try running manually:
|
|
|
616178
616218
|
process.exit(1);
|
|
616179
616219
|
}
|
|
616180
616220
|
writeToStdout(source_default.green(`
|
|
616181
|
-
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.
|
|
616221
|
+
Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.3.433"}
|
|
616182
616222
|
`));
|
|
616183
616223
|
writeToStdout(`Thanks for using Rayu CLI!
|
|
616184
616224
|
`);
|
|
@@ -616230,7 +616270,7 @@ function showFirstRunWelcome() {
|
|
|
616230
616270
|
`);
|
|
616231
616271
|
try {
|
|
616232
616272
|
mkdirSync14(getRayuConfigHomeDir(), { recursive: true });
|
|
616233
|
-
writeFileSync16(markerPath(), "1.3.
|
|
616273
|
+
writeFileSync16(markerPath(), "1.3.433", "utf8");
|
|
616234
616274
|
} catch {}
|
|
616235
616275
|
}
|
|
616236
616276
|
var init_firstRun = __esm(() => {
|
|
@@ -628073,7 +628113,7 @@ async function initializeBetaTracing(resource) {
|
|
|
628073
628113
|
});
|
|
628074
628114
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
628075
628115
|
setLoggerProvider(loggerProvider);
|
|
628076
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.
|
|
628116
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.433");
|
|
628077
628117
|
setEventLogger(eventLogger);
|
|
628078
628118
|
process.on("beforeExit", async () => {
|
|
628079
628119
|
await loggerProvider?.forceFlush();
|
|
@@ -628113,7 +628153,7 @@ async function initializeTelemetry() {
|
|
|
628113
628153
|
const platform4 = getPlatform();
|
|
628114
628154
|
const baseAttributes = {
|
|
628115
628155
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
628116
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.
|
|
628156
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.3.433"
|
|
628117
628157
|
};
|
|
628118
628158
|
if (platform4 === "wsl") {
|
|
628119
628159
|
const wslVersion = getWslVersion();
|
|
@@ -628158,7 +628198,7 @@ async function initializeTelemetry() {
|
|
|
628158
628198
|
} catch {}
|
|
628159
628199
|
};
|
|
628160
628200
|
registerCleanup(shutdownTelemetry2);
|
|
628161
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.
|
|
628201
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.3.433");
|
|
628162
628202
|
}
|
|
628163
628203
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
628164
628204
|
resource,
|
|
@@ -628178,7 +628218,7 @@ async function initializeTelemetry() {
|
|
|
628178
628218
|
});
|
|
628179
628219
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
628180
628220
|
setLoggerProvider(loggerProvider);
|
|
628181
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.
|
|
628221
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.3.433");
|
|
628182
628222
|
setEventLogger(eventLogger);
|
|
628183
628223
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
628184
628224
|
process.on("beforeExit", async () => {
|
|
@@ -628240,7 +628280,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
628240
628280
|
}
|
|
628241
628281
|
};
|
|
628242
628282
|
registerCleanup(shutdownTelemetry);
|
|
628243
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.3.
|
|
628283
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.3.433");
|
|
628244
628284
|
}
|
|
628245
628285
|
async function flushTelemetry() {
|
|
628246
628286
|
const meterProvider = getMeterProvider();
|
|
@@ -629753,7 +629793,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
629753
629793
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
629754
629794
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
629755
629795
|
betas: getSdkBetas(),
|
|
629756
|
-
claude_code_version: "1.3.
|
|
629796
|
+
claude_code_version: "1.3.433",
|
|
629757
629797
|
output_style: outputStyle2,
|
|
629758
629798
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
629759
629799
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -645962,7 +646002,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
645962
646002
|
function getSemverPart(version3) {
|
|
645963
646003
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
645964
646004
|
}
|
|
645965
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.3.
|
|
646005
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.3.433") {
|
|
645966
646006
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
|
|
645967
646007
|
if (!updatedVersion) {
|
|
645968
646008
|
return null;
|
|
@@ -646002,7 +646042,7 @@ function AutoUpdater({
|
|
|
646002
646042
|
return;
|
|
646003
646043
|
}
|
|
646004
646044
|
if (false) {}
|
|
646005
|
-
const currentVersion = "1.3.
|
|
646045
|
+
const currentVersion = "1.3.433";
|
|
646006
646046
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
646007
646047
|
let latestVersion = await getLatestVersion(channel);
|
|
646008
646048
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -646215,12 +646255,12 @@ function NativeAutoUpdater({
|
|
|
646215
646255
|
logEvent("tengu_native_auto_updater_start", {});
|
|
646216
646256
|
try {
|
|
646217
646257
|
const maxVersion = await getMaxVersion();
|
|
646218
|
-
if (maxVersion && gt("1.3.
|
|
646258
|
+
if (maxVersion && gt("1.3.433", maxVersion)) {
|
|
646219
646259
|
const msg = await getMaxVersionMessage();
|
|
646220
646260
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
646221
646261
|
}
|
|
646222
646262
|
const result = await installLatest(channel);
|
|
646223
|
-
const currentVersion = "1.3.
|
|
646263
|
+
const currentVersion = "1.3.433";
|
|
646224
646264
|
const latencyMs = Date.now() - startTime;
|
|
646225
646265
|
if (result.lockFailed) {
|
|
646226
646266
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -646357,17 +646397,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
646357
646397
|
const maxVersion = await getMaxVersion();
|
|
646358
646398
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
646359
646399
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
646360
|
-
if (gte("1.3.
|
|
646361
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.
|
|
646400
|
+
if (gte("1.3.433", maxVersion)) {
|
|
646401
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.3.433"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
646362
646402
|
setUpdateAvailable(false);
|
|
646363
646403
|
return;
|
|
646364
646404
|
}
|
|
646365
646405
|
latest = maxVersion;
|
|
646366
646406
|
}
|
|
646367
|
-
const hasUpdate = latest && !gte("1.3.
|
|
646407
|
+
const hasUpdate = latest && !gte("1.3.433", latest) && !shouldSkipVersion(latest);
|
|
646368
646408
|
setUpdateAvailable(!!hasUpdate);
|
|
646369
646409
|
if (hasUpdate) {
|
|
646370
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.
|
|
646410
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.3.433"} -> ${latest}`);
|
|
646371
646411
|
}
|
|
646372
646412
|
};
|
|
646373
646413
|
$3[0] = t1;
|
|
@@ -646401,7 +646441,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
646401
646441
|
wrap: "truncate",
|
|
646402
646442
|
children: [
|
|
646403
646443
|
"currentVersion: ",
|
|
646404
|
-
"1.3.
|
|
646444
|
+
"1.3.433"
|
|
646405
646445
|
]
|
|
646406
646446
|
}, undefined, true, undefined, this);
|
|
646407
646447
|
$3[3] = verbose;
|
|
@@ -654566,7 +654606,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
654566
654606
|
project_dir: getOriginalCwd(),
|
|
654567
654607
|
added_dirs: addedDirs
|
|
654568
654608
|
},
|
|
654569
|
-
version: "1.3.
|
|
654609
|
+
version: "1.3.433",
|
|
654570
654610
|
output_style: {
|
|
654571
654611
|
name: outputStyleName
|
|
654572
654612
|
},
|
|
@@ -665970,7 +666010,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
665970
666010
|
} catch {}
|
|
665971
666011
|
const data = {
|
|
665972
666012
|
trigger,
|
|
665973
|
-
version: "1.3.
|
|
666013
|
+
version: "1.3.433",
|
|
665974
666014
|
platform: process.platform,
|
|
665975
666015
|
transcript,
|
|
665976
666016
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -678019,7 +678059,7 @@ function WelcomeV2() {
|
|
|
678019
678059
|
dimColor: true,
|
|
678020
678060
|
children: [
|
|
678021
678061
|
"v",
|
|
678022
|
-
"1.3.
|
|
678062
|
+
"1.3.433"
|
|
678023
678063
|
]
|
|
678024
678064
|
}, undefined, true, undefined, this)
|
|
678025
678065
|
]
|
|
@@ -679753,7 +679793,7 @@ function completeOnboarding() {
|
|
|
679753
679793
|
saveGlobalConfig((current) => ({
|
|
679754
679794
|
...current,
|
|
679755
679795
|
hasCompletedOnboarding: true,
|
|
679756
|
-
lastOnboardingVersion: "1.3.
|
|
679796
|
+
lastOnboardingVersion: "1.3.433"
|
|
679757
679797
|
}));
|
|
679758
679798
|
}
|
|
679759
679799
|
function showDialog(root2, renderer) {
|
|
@@ -684053,7 +684093,7 @@ function appendToLog(path30, message) {
|
|
|
684053
684093
|
cwd: getFsImplementation().cwd(),
|
|
684054
684094
|
userType: "external",
|
|
684055
684095
|
sessionId: getSessionId(),
|
|
684056
|
-
version: "1.3.
|
|
684096
|
+
version: "1.3.433"
|
|
684057
684097
|
};
|
|
684058
684098
|
getLogWriter(path30).write(messageWithTimestamp);
|
|
684059
684099
|
}
|
|
@@ -688161,8 +688201,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
688161
688201
|
}
|
|
688162
688202
|
async function checkEnvLessBridgeMinVersion() {
|
|
688163
688203
|
const cfg = await getEnvLessBridgeConfig();
|
|
688164
|
-
if (cfg.min_version && lt("1.3.
|
|
688165
|
-
return `Your version of RAYU (${"1.3.
|
|
688204
|
+
if (cfg.min_version && lt("1.3.433", cfg.min_version)) {
|
|
688205
|
+
return `Your version of RAYU (${"1.3.433"}) is too old for Remote Control.
|
|
688166
688206
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
688167
688207
|
}
|
|
688168
688208
|
return null;
|
|
@@ -688636,7 +688676,7 @@ async function initBridgeCore(params) {
|
|
|
688636
688676
|
const rawApi = createBridgeApiClient({
|
|
688637
688677
|
baseUrl,
|
|
688638
688678
|
getAccessToken,
|
|
688639
|
-
runnerVersion: "1.3.
|
|
688679
|
+
runnerVersion: "1.3.433",
|
|
688640
688680
|
onDebug: logForDebugging,
|
|
688641
688681
|
onAuth401,
|
|
688642
688682
|
getTrustedDeviceToken
|
|
@@ -693998,7 +694038,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
693998
694038
|
setCwd(cwd3);
|
|
693999
694039
|
const server = new Server({
|
|
694000
694040
|
name: "claude/tengu",
|
|
694001
|
-
version: "1.3.
|
|
694041
|
+
version: "1.3.433"
|
|
694002
694042
|
}, {
|
|
694003
694043
|
capabilities: {
|
|
694004
694044
|
tools: {}
|
|
@@ -696524,7 +696564,7 @@ ${customInstructions}` : customInstructions;
|
|
|
696524
696564
|
}
|
|
696525
696565
|
}
|
|
696526
696566
|
logForDiagnosticsNoPII("info", "started", {
|
|
696527
|
-
version: "1.3.
|
|
696567
|
+
version: "1.3.433",
|
|
696528
696568
|
is_native_binary: isInBundledMode()
|
|
696529
696569
|
});
|
|
696530
696570
|
registerCleanup(async () => {
|
|
@@ -697243,7 +697283,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
697243
697283
|
pendingHookMessages
|
|
697244
697284
|
}, renderAndRun);
|
|
697245
697285
|
}
|
|
697246
|
-
}).version("1.3.
|
|
697286
|
+
}).version("1.3.433 (Rayu-CLI)", "-v, --version", "Output the version number");
|
|
697247
697287
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
697248
697288
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
697249
697289
|
if (canUserConfigureAdvisor()) {
|
|
@@ -697709,7 +697749,7 @@ if (false) {}
|
|
|
697709
697749
|
async function main2() {
|
|
697710
697750
|
const args = process.argv.slice(2);
|
|
697711
697751
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
697712
|
-
console.log(`${"1.3.
|
|
697752
|
+
console.log(`${"1.3.433"} (Rayu-CLI)`);
|
|
697713
697753
|
return;
|
|
697714
697754
|
}
|
|
697715
697755
|
const {
|