@rayss-dev/openclaude 0.33.2-by-rayss → 0.33.3-by-rayss
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/acp.mjs +165 -40
- package/dist/cli.mjs +30 -29
- package/dist/sdk.mjs +122 -20
- package/docs/settings-reference.md +12 -0
- package/package.json +1 -1
package/dist/acp.mjs
CHANGED
|
@@ -10106,14 +10106,14 @@ function getReleaseTagUrl(version = publicBuildVersion) {
|
|
|
10106
10106
|
return `${OPENCLAUDE_RELEASES_URL}/tag/v${normalizePublicVersion(version)}`;
|
|
10107
10107
|
}
|
|
10108
10108
|
function getPublicBuildVersion() {
|
|
10109
|
-
return "0.33.
|
|
10109
|
+
return "0.33.3-by-rayss";
|
|
10110
10110
|
}
|
|
10111
10111
|
var import_semver, OPENCLAUDE_RELEASES_URL = "https://github.com/rayss868/openclaude/releases", fallbackBuildVersion, publicBuildVersion;
|
|
10112
10112
|
var init_version = __esm(() => {
|
|
10113
10113
|
import_semver = __toESM(require_semver2(), 1);
|
|
10114
10114
|
fallbackBuildVersion = (() => {
|
|
10115
10115
|
try {
|
|
10116
|
-
return "0.33.
|
|
10116
|
+
return "0.33.3-by-rayss";
|
|
10117
10117
|
} catch {
|
|
10118
10118
|
return "0.0.0";
|
|
10119
10119
|
}
|
|
@@ -110969,7 +110969,7 @@ var init_metadata = __esm(() => {
|
|
|
110969
110969
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
110970
110970
|
WHITESPACE_REGEX = /\s+/;
|
|
110971
110971
|
getVersionBase = memoize_default(() => {
|
|
110972
|
-
const match = "0.33.
|
|
110972
|
+
const match = "0.33.3-by-rayss".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
110973
110973
|
return match ? match[0] : undefined;
|
|
110974
110974
|
});
|
|
110975
110975
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -111009,9 +111009,9 @@ var init_metadata = __esm(() => {
|
|
|
111009
111009
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
111010
111010
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
111011
111011
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
111012
|
-
version: "0.33.
|
|
111012
|
+
version: "0.33.3-by-rayss",
|
|
111013
111013
|
versionBase: getVersionBase(),
|
|
111014
|
-
buildTime: "2026-10-
|
|
111014
|
+
buildTime: "2026-10-28T03:21:39.519Z",
|
|
111015
111015
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
111016
111016
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
111017
111017
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -164704,6 +164704,50 @@ var init_doomLoop = __esm(() => {
|
|
|
164704
164704
|
stateByAgent = new Map;
|
|
164705
164705
|
});
|
|
164706
164706
|
|
|
164707
|
+
// src/utils/toolErrorRepeats.ts
|
|
164708
|
+
function getState2(agentKey) {
|
|
164709
|
+
let state2 = stateByAgent2.get(agentKey);
|
|
164710
|
+
if (!state2) {
|
|
164711
|
+
state2 = { lastTool: null, lastError: null, count: 0 };
|
|
164712
|
+
stateByAgent2.set(agentKey, state2);
|
|
164713
|
+
}
|
|
164714
|
+
return state2;
|
|
164715
|
+
}
|
|
164716
|
+
function normalizeText(text) {
|
|
164717
|
+
return text.replace(/\s+/g, " ").replace(/\d+/g, "#").trim();
|
|
164718
|
+
}
|
|
164719
|
+
function buildNudge(count3) {
|
|
164720
|
+
return `
|
|
164721
|
+
<system-reminder>This is the ${count3}th consecutive failure of this tool with the same error. Do not simply retry — pause, re-read the original request and the error above, then adjust your approach.</system-reminder>`;
|
|
164722
|
+
}
|
|
164723
|
+
function recordRepeatedToolError(agentKey, toolName, errorText) {
|
|
164724
|
+
const state2 = getState2(agentKey);
|
|
164725
|
+
const normalized = normalizeText(errorText);
|
|
164726
|
+
if (state2.lastTool === toolName && state2.lastError === normalized) {
|
|
164727
|
+
state2.count++;
|
|
164728
|
+
} else {
|
|
164729
|
+
state2.lastTool = toolName;
|
|
164730
|
+
state2.lastError = normalized;
|
|
164731
|
+
state2.count = 1;
|
|
164732
|
+
}
|
|
164733
|
+
if (state2.count >= DEFAULT_THRESHOLD2) {
|
|
164734
|
+
return { count: state2.count, nudge: buildNudge(state2.count) };
|
|
164735
|
+
}
|
|
164736
|
+
return { count: state2.count };
|
|
164737
|
+
}
|
|
164738
|
+
function resetToolErrorRepeats(agentKey, toolName) {
|
|
164739
|
+
const state2 = stateByAgent2.get(agentKey);
|
|
164740
|
+
if (state2 && state2.lastTool === toolName) {
|
|
164741
|
+
state2.lastTool = null;
|
|
164742
|
+
state2.lastError = null;
|
|
164743
|
+
state2.count = 0;
|
|
164744
|
+
}
|
|
164745
|
+
}
|
|
164746
|
+
var DEFAULT_THRESHOLD2 = 3, stateByAgent2;
|
|
164747
|
+
var init_toolErrorRepeats = __esm(() => {
|
|
164748
|
+
stateByAgent2 = new Map;
|
|
164749
|
+
});
|
|
164750
|
+
|
|
164707
164751
|
// src/utils/stream.ts
|
|
164708
164752
|
var Stream2;
|
|
164709
164753
|
var init_stream2 = __esm(() => {
|
|
@@ -174718,6 +174762,57 @@ var init_ReadMcpResourceTool = __esm(() => {
|
|
|
174718
174762
|
});
|
|
174719
174763
|
});
|
|
174720
174764
|
|
|
174765
|
+
// src/services/mcp/argCoercion.ts
|
|
174766
|
+
function coerceValue(value, schema) {
|
|
174767
|
+
if (value === null || value === undefined || !schema) {
|
|
174768
|
+
return value;
|
|
174769
|
+
}
|
|
174770
|
+
const type = schema.type;
|
|
174771
|
+
if (type === "integer" || type === "number") {
|
|
174772
|
+
if (typeof value === "string" && value.trim() !== "") {
|
|
174773
|
+
const parsed = Number(value);
|
|
174774
|
+
if (Number.isFinite(parsed)) {
|
|
174775
|
+
return parsed;
|
|
174776
|
+
}
|
|
174777
|
+
}
|
|
174778
|
+
return value;
|
|
174779
|
+
}
|
|
174780
|
+
if (type === "boolean") {
|
|
174781
|
+
if (value === "true")
|
|
174782
|
+
return true;
|
|
174783
|
+
if (value === "false")
|
|
174784
|
+
return false;
|
|
174785
|
+
return value;
|
|
174786
|
+
}
|
|
174787
|
+
if (type === "object" && typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
174788
|
+
const props = schema.properties;
|
|
174789
|
+
if (!props)
|
|
174790
|
+
return value;
|
|
174791
|
+
const out = {};
|
|
174792
|
+
for (const [key, v] of Object.entries(value)) {
|
|
174793
|
+
out[key] = coerceValue(v, props[key]);
|
|
174794
|
+
}
|
|
174795
|
+
return out;
|
|
174796
|
+
}
|
|
174797
|
+
if (type === "array" && Array.isArray(value)) {
|
|
174798
|
+
if (!schema.items)
|
|
174799
|
+
return value;
|
|
174800
|
+
return value.map((item) => coerceValue(item, schema.items));
|
|
174801
|
+
}
|
|
174802
|
+
return value;
|
|
174803
|
+
}
|
|
174804
|
+
function coerceArgsToInputSchema(args, inputSchema7) {
|
|
174805
|
+
if (!inputSchema7 || typeof inputSchema7 !== "object" || !inputSchema7.properties) {
|
|
174806
|
+
return args;
|
|
174807
|
+
}
|
|
174808
|
+
const props = inputSchema7.properties;
|
|
174809
|
+
const out = {};
|
|
174810
|
+
for (const [key, value] of Object.entries(args)) {
|
|
174811
|
+
out[key] = coerceValue(value, props[key]);
|
|
174812
|
+
}
|
|
174813
|
+
return out;
|
|
174814
|
+
}
|
|
174815
|
+
|
|
174721
174816
|
// src/utils/codeIndexing.ts
|
|
174722
174817
|
function detectCodeIndexingFromCommand(command) {
|
|
174723
174818
|
const trimmed = command.trim();
|
|
@@ -174799,11 +174894,11 @@ var init_codeIndexing = __esm(() => {
|
|
|
174799
174894
|
|
|
174800
174895
|
// src/utils/userAgent.ts
|
|
174801
174896
|
function getClaudeCodeUserAgent() {
|
|
174802
|
-
return `claude-code/${"0.33.
|
|
174897
|
+
return `claude-code/${"0.33.3-by-rayss"}`;
|
|
174803
174898
|
}
|
|
174804
174899
|
function getOpenClaudeUserAgent() {
|
|
174805
174900
|
try {
|
|
174806
|
-
return `openclaude/${"0.33.
|
|
174901
|
+
return `openclaude/${"0.33.3-by-rayss"}`;
|
|
174807
174902
|
} catch {
|
|
174808
174903
|
return "openclaude/0.0.0";
|
|
174809
174904
|
}
|
|
@@ -174825,7 +174920,7 @@ function getUserAgent() {
|
|
|
174825
174920
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
174826
174921
|
const workload = getWorkload();
|
|
174827
174922
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
174828
|
-
return `claude-cli/${"0.33.
|
|
174923
|
+
return `claude-cli/${"0.33.3-by-rayss"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
174829
174924
|
}
|
|
174830
174925
|
function getMCPUserAgent() {
|
|
174831
174926
|
const parts = [];
|
|
@@ -174839,7 +174934,7 @@ function getMCPUserAgent() {
|
|
|
174839
174934
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
174840
174935
|
}
|
|
174841
174936
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
174842
|
-
return `claude-code/${"0.33.
|
|
174937
|
+
return `claude-code/${"0.33.3-by-rayss"}${suffix}`;
|
|
174843
174938
|
}
|
|
174844
174939
|
function getWebFetchUserAgent() {
|
|
174845
174940
|
const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/rayss868/openclaude";
|
|
@@ -179914,7 +180009,7 @@ function getAttributionHeader(fingerprint, policy) {
|
|
|
179914
180009
|
if (!policy.generate) {
|
|
179915
180010
|
return "";
|
|
179916
180011
|
}
|
|
179917
|
-
const version2 = `${"0.33.
|
|
180012
|
+
const version2 = `${"0.33.3-by-rayss"}.${fingerprint}`;
|
|
179918
180013
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
179919
180014
|
const cch = "";
|
|
179920
180015
|
const workload = getWorkload();
|
|
@@ -188119,7 +188214,7 @@ function computeFingerprint(messageText2, version2) {
|
|
|
188119
188214
|
}
|
|
188120
188215
|
function computeFingerprintFromMessages(messages) {
|
|
188121
188216
|
const firstMessageText = extractFirstMessageText(messages);
|
|
188122
|
-
return computeFingerprint(firstMessageText, "0.33.
|
|
188217
|
+
return computeFingerprint(firstMessageText, "0.33.3-by-rayss");
|
|
188123
188218
|
}
|
|
188124
188219
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
188125
188220
|
var init_fingerprint = () => {};
|
|
@@ -189602,7 +189697,7 @@ var init_client3 = __esm(() => {
|
|
|
189602
189697
|
const client = new Client({
|
|
189603
189698
|
name: "claude-code",
|
|
189604
189699
|
title: "OpenClaude",
|
|
189605
|
-
version: "0.33.
|
|
189700
|
+
version: "0.33.3-by-rayss",
|
|
189606
189701
|
description: "OpenClaude — coding-agent CLI for any LLM provider",
|
|
189607
189702
|
websiteUrl: PRODUCT_URL
|
|
189608
189703
|
}, {
|
|
@@ -190100,6 +190195,7 @@ var init_client3 = __esm(() => {
|
|
|
190100
190195
|
async call(args, context, _canUseTool, parentMessage, onProgress) {
|
|
190101
190196
|
const toolUseId = extractToolUseId(parentMessage);
|
|
190102
190197
|
const meta = toolUseId ? { "claudecode/toolUseId": toolUseId } : {};
|
|
190198
|
+
const normalizedArgs = coerceArgsToInputSchema(args, tool.inputSchema);
|
|
190103
190199
|
if (onProgress && toolUseId) {
|
|
190104
190200
|
try {
|
|
190105
190201
|
onProgress({
|
|
@@ -190148,7 +190244,7 @@ var init_client3 = __esm(() => {
|
|
|
190148
190244
|
client: connectedClient,
|
|
190149
190245
|
clientConnection: client,
|
|
190150
190246
|
tool: tool.name,
|
|
190151
|
-
args,
|
|
190247
|
+
args: normalizedArgs,
|
|
190152
190248
|
meta,
|
|
190153
190249
|
signal: context.abortController.signal,
|
|
190154
190250
|
setAppState: context.setAppState,
|
|
@@ -192010,13 +192106,14 @@ async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContex
|
|
|
192010
192106
|
},
|
|
192011
192107
|
...mcpToolDetailsForAnalytics(tool.name, mcpServerType, mcpServerBaseUrl)
|
|
192012
192108
|
});
|
|
192109
|
+
const repeatedError = recordRepeatedToolError(toolUseContext.agentId ?? "main", tool.name, errorContent);
|
|
192013
192110
|
return [
|
|
192014
192111
|
{
|
|
192015
192112
|
message: createUserMessage({
|
|
192016
192113
|
content: [
|
|
192017
192114
|
{
|
|
192018
192115
|
type: "tool_result",
|
|
192019
|
-
content: `<tool_use_error>InputValidationError: ${errorContent}</tool_use_error
|
|
192116
|
+
content: `<tool_use_error>InputValidationError: ${errorContent}</tool_use_error>${repeatedError.nudge ?? ""}`,
|
|
192020
192117
|
is_error: true,
|
|
192021
192118
|
tool_use_id: toolUseID
|
|
192022
192119
|
}
|
|
@@ -192444,6 +192541,7 @@ async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContex
|
|
|
192444
192541
|
const toolContextModifier = result.contextModifier;
|
|
192445
192542
|
const mcpMeta = result.mcpMeta;
|
|
192446
192543
|
async function addToolResult(toolUseResult, preMappedBlock) {
|
|
192544
|
+
resetToolErrorRepeats(toolUseContext.agentId ?? "main", tool.name);
|
|
192447
192545
|
const toolResultBlock = preMappedBlock ? await processPreMappedToolResultBlock(preMappedBlock, tool.name, tool.maxResultSizeChars) : await processToolResultBlock(tool, toolUseResult, toolUseID);
|
|
192448
192546
|
const contentBlocks = [toolResultBlock];
|
|
192449
192547
|
if ("acceptFeedback" in permissionDecision && permissionDecision.acceptFeedback) {
|
|
@@ -192629,13 +192727,14 @@ async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContex
|
|
|
192629
192727
|
delete hookChainsContext.hookChainsCanUseTool;
|
|
192630
192728
|
}
|
|
192631
192729
|
}
|
|
192730
|
+
const repeatedError = recordRepeatedToolError(toolUseContext.agentId ?? "main", tool.name, content);
|
|
192632
192731
|
return [
|
|
192633
192732
|
{
|
|
192634
192733
|
message: createUserMessage({
|
|
192635
192734
|
content: [
|
|
192636
192735
|
{
|
|
192637
192736
|
type: "tool_result",
|
|
192638
|
-
content
|
|
192737
|
+
content: `${content}${repeatedError.nudge ?? ""}`,
|
|
192639
192738
|
is_error: true,
|
|
192640
192739
|
tool_use_id: toolUseID
|
|
192641
192740
|
}
|
|
@@ -192678,6 +192777,7 @@ var init_toolExecution = __esm(() => {
|
|
|
192678
192777
|
init_abortReasons();
|
|
192679
192778
|
init_debug();
|
|
192680
192779
|
init_doomLoop();
|
|
192780
|
+
init_toolErrorRepeats();
|
|
192681
192781
|
init_errors();
|
|
192682
192782
|
init_hooks4();
|
|
192683
192783
|
init_log();
|
|
@@ -286455,7 +286555,7 @@ function buildQueryConfig() {
|
|
|
286455
286555
|
sessionId: getSessionId(),
|
|
286456
286556
|
gates: {
|
|
286457
286557
|
streamingToolExecution: checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_streaming_tool_execution2"),
|
|
286458
|
-
emitToolUseSummaries: isEnvTruthy(process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES),
|
|
286558
|
+
emitToolUseSummaries: getSettingsForSource("userSettings")?.toolUseSummariesEnabled ?? isEnvTruthy(process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES),
|
|
286459
286559
|
isAnt: false,
|
|
286460
286560
|
fastModeEnabled: !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FAST_MODE)
|
|
286461
286561
|
}
|
|
@@ -286465,6 +286565,7 @@ var init_config7 = __esm(() => {
|
|
|
286465
286565
|
init_state();
|
|
286466
286566
|
init_growthbook();
|
|
286467
286567
|
init_envUtils();
|
|
286568
|
+
init_settings3();
|
|
286468
286569
|
});
|
|
286469
286570
|
|
|
286470
286571
|
// src/query/deps.ts
|
|
@@ -288941,7 +289042,7 @@ function getAnthropicEnvMetadata() {
|
|
|
288941
289042
|
function getBuildAgeMinutes() {
|
|
288942
289043
|
if (false)
|
|
288943
289044
|
;
|
|
288944
|
-
const buildTime = new Date("2026-10-
|
|
289045
|
+
const buildTime = new Date("2026-10-28T03:21:39.519Z").getTime();
|
|
288945
289046
|
if (isNaN(buildTime))
|
|
288946
289047
|
return;
|
|
288947
289048
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -299445,7 +299546,7 @@ function Feedback({
|
|
|
299445
299546
|
platform: env2.platform,
|
|
299446
299547
|
gitRepo: envInfo.isGit,
|
|
299447
299548
|
terminal: env2.terminal,
|
|
299448
|
-
version: "0.33.
|
|
299549
|
+
version: "0.33.3-by-rayss",
|
|
299449
299550
|
transcript: normalizeMessagesForAPI(messages),
|
|
299450
299551
|
errors: sanitizedErrors,
|
|
299451
299552
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -299634,7 +299735,7 @@ function Feedback({
|
|
|
299634
299735
|
", ",
|
|
299635
299736
|
env2.terminal,
|
|
299636
299737
|
", v",
|
|
299637
|
-
"0.33.
|
|
299738
|
+
"0.33.3-by-rayss"
|
|
299638
299739
|
]
|
|
299639
299740
|
}, undefined, true, undefined, this)
|
|
299640
299741
|
]
|
|
@@ -299742,7 +299843,7 @@ ${sanitizedDescription}
|
|
|
299742
299843
|
` + `**Environment Info**
|
|
299743
299844
|
` + `- Platform: ${env2.platform}
|
|
299744
299845
|
` + `- Terminal: ${env2.terminal}
|
|
299745
|
-
` + `- Version: ${"0.33.
|
|
299846
|
+
` + `- Version: ${"0.33.3-by-rayss"}
|
|
299746
299847
|
` + feedbackIdLine + `
|
|
299747
299848
|
**Errors**
|
|
299748
299849
|
\`\`\`json
|
|
@@ -305645,7 +305746,7 @@ var init_user = __esm(() => {
|
|
|
305645
305746
|
deviceId,
|
|
305646
305747
|
sessionId: getSessionId(),
|
|
305647
305748
|
email: getEmail(),
|
|
305648
|
-
appVersion: "0.33.
|
|
305749
|
+
appVersion: "0.33.3-by-rayss",
|
|
305649
305750
|
platform: getHostPlatformForAnalytics(),
|
|
305650
305751
|
organizationUuid,
|
|
305651
305752
|
accountUuid,
|
|
@@ -306779,7 +306880,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
306779
306880
|
}
|
|
306780
306881
|
async function getDoctorDiagnostic() {
|
|
306781
306882
|
const installationType = await getCurrentInstallationType();
|
|
306782
|
-
const version2 = typeof MACRO !== "undefined" ? "0.33.
|
|
306883
|
+
const version2 = typeof MACRO !== "undefined" ? "0.33.3-by-rayss" : "unknown";
|
|
306783
306884
|
const installationPath = await getInstallationPath();
|
|
306784
306885
|
const invokedBinary = getInvokedBinary();
|
|
306785
306886
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -307490,8 +307591,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
307490
307591
|
const maxVersion = await getMaxVersion();
|
|
307491
307592
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
307492
307593
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
307493
|
-
if (gte("0.33.
|
|
307494
|
-
logForDebugging(`Native installer: current version ${"0.33.
|
|
307594
|
+
if (gte("0.33.3-by-rayss", maxVersion)) {
|
|
307595
|
+
logForDebugging(`Native installer: current version ${"0.33.3-by-rayss"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
307495
307596
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
307496
307597
|
latency_ms: Date.now() - startTime,
|
|
307497
307598
|
max_version: maxVersion,
|
|
@@ -307502,7 +307603,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
307502
307603
|
version2 = maxVersion;
|
|
307503
307604
|
}
|
|
307504
307605
|
}
|
|
307505
|
-
if (!forceReinstall && version2 === "0.33.
|
|
307606
|
+
if (!forceReinstall && version2 === "0.33.3-by-rayss" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
307506
307607
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
307507
307608
|
logEvent("tengu_native_update_complete", {
|
|
307508
307609
|
latency_ms: Date.now() - startTime,
|
|
@@ -352835,7 +352936,7 @@ function buildPrimarySection() {
|
|
|
352835
352936
|
}, undefined, false, undefined, this);
|
|
352836
352937
|
return [{
|
|
352837
352938
|
label: "Version",
|
|
352838
|
-
value: "0.33.
|
|
352939
|
+
value: "0.33.3-by-rayss"
|
|
352839
352940
|
}, {
|
|
352840
352941
|
label: "Session name",
|
|
352841
352942
|
value: nameValue
|
|
@@ -357449,7 +357550,13 @@ function ModelPicker(t0) {
|
|
|
357449
357550
|
"modelPicker:decreaseEffort": () => handleCycleEffort("left"),
|
|
357450
357551
|
"modelPicker:increaseEffort": () => handleCycleEffort("right"),
|
|
357451
357552
|
...onRefresh ? {
|
|
357452
|
-
"modelPicker:refresh": () =>
|
|
357553
|
+
"modelPicker:refresh": () => {
|
|
357554
|
+
if (viewMode === "search") {
|
|
357555
|
+
onRefresh();
|
|
357556
|
+
return false;
|
|
357557
|
+
}
|
|
357558
|
+
onRefresh();
|
|
357559
|
+
}
|
|
357453
357560
|
} : {}
|
|
357454
357561
|
};
|
|
357455
357562
|
let t13;
|
|
@@ -359054,6 +359161,23 @@ function Config2({
|
|
|
359054
359161
|
});
|
|
359055
359162
|
}
|
|
359056
359163
|
},
|
|
359164
|
+
{
|
|
359165
|
+
id: "toolUseSummariesEnabled",
|
|
359166
|
+
description: "Generate a short label after completed tool batches using an auxiliary model request.",
|
|
359167
|
+
label: "Tool-use summaries",
|
|
359168
|
+
searchText: "tool use summary summaries model request auxiliary",
|
|
359169
|
+
value: settingsData?.toolUseSummariesEnabled ?? false,
|
|
359170
|
+
type: "boolean",
|
|
359171
|
+
onChange(enabled2) {
|
|
359172
|
+
updateSettingsForSource("userSettings", {
|
|
359173
|
+
toolUseSummariesEnabled: enabled2
|
|
359174
|
+
});
|
|
359175
|
+
setSettingsData((prev) => ({
|
|
359176
|
+
...prev,
|
|
359177
|
+
toolUseSummariesEnabled: enabled2
|
|
359178
|
+
}));
|
|
359179
|
+
}
|
|
359180
|
+
},
|
|
359057
359181
|
{
|
|
359058
359182
|
id: "apiRetryMaxRetries",
|
|
359059
359183
|
description: "How many times a failed API request is retried before giving up.",
|
|
@@ -360357,7 +360481,7 @@ function Config2({
|
|
|
360357
360481
|
}
|
|
360358
360482
|
}, undefined, false, undefined, this)
|
|
360359
360483
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsxDEV162(ChannelDowngradeDialog, {
|
|
360360
|
-
currentVersion: "0.33.
|
|
360484
|
+
currentVersion: "0.33.3-by-rayss",
|
|
360361
360485
|
onChoice: (choice) => {
|
|
360362
360486
|
setShowSubmenu(null);
|
|
360363
360487
|
setTabsHidden(false);
|
|
@@ -360369,7 +360493,7 @@ function Config2({
|
|
|
360369
360493
|
autoUpdatesChannel: "stable"
|
|
360370
360494
|
};
|
|
360371
360495
|
if (choice === "stay") {
|
|
360372
|
-
newSettings.minimumVersion = "0.33.
|
|
360496
|
+
newSettings.minimumVersion = "0.33.3-by-rayss";
|
|
360373
360497
|
}
|
|
360374
360498
|
updateSettingsForSource("userSettings", newSettings);
|
|
360375
360499
|
setSettingsData((prev_27) => ({
|
|
@@ -369456,21 +369580,21 @@ function readPackageManager(env4) {
|
|
|
369456
369580
|
}
|
|
369457
369581
|
function readMacroVersion() {
|
|
369458
369582
|
try {
|
|
369459
|
-
return "0.33.
|
|
369583
|
+
return "0.33.3-by-rayss";
|
|
369460
369584
|
} catch {
|
|
369461
369585
|
return;
|
|
369462
369586
|
}
|
|
369463
369587
|
}
|
|
369464
369588
|
function readMacroDisplayVersion() {
|
|
369465
369589
|
try {
|
|
369466
|
-
return "0.33.
|
|
369590
|
+
return "0.33.3-by-rayss";
|
|
369467
369591
|
} catch {
|
|
369468
369592
|
return;
|
|
369469
369593
|
}
|
|
369470
369594
|
}
|
|
369471
369595
|
function readMacroBuildTime() {
|
|
369472
369596
|
try {
|
|
369473
|
-
return "2026-10-
|
|
369597
|
+
return "2026-10-28T03:21:39.519Z";
|
|
369474
369598
|
} catch {
|
|
369475
369599
|
return;
|
|
369476
369600
|
}
|
|
@@ -443920,7 +444044,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
443920
444044
|
smapsRollup,
|
|
443921
444045
|
platform: process.platform,
|
|
443922
444046
|
nodeVersion: process.version,
|
|
443923
|
-
ccVersion: "0.33.
|
|
444047
|
+
ccVersion: "0.33.3-by-rayss"
|
|
443924
444048
|
};
|
|
443925
444049
|
}
|
|
443926
444050
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -444187,7 +444311,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
444187
444311
|
var call75 = async () => {
|
|
444188
444312
|
return {
|
|
444189
444313
|
type: "text",
|
|
444190
|
-
value: `${"0.33.
|
|
444314
|
+
value: `${"0.33.3-by-rayss"} (built ${"2026-10-28T03:21:39.519Z"})`
|
|
444191
444315
|
};
|
|
444192
444316
|
}, version2, version_default;
|
|
444193
444317
|
var init_version2 = __esm(() => {
|
|
@@ -444753,7 +444877,7 @@ async function call76(onDone, _context, args) {
|
|
|
444753
444877
|
}, undefined, false, undefined, this));
|
|
444754
444878
|
return null;
|
|
444755
444879
|
}
|
|
444756
|
-
var PACKAGE_URL = "@rayss-dev/openclaude", CURRENT_VERSION = "0.33.
|
|
444880
|
+
var PACKAGE_URL = "@rayss-dev/openclaude", CURRENT_VERSION = "0.33.3-by-rayss";
|
|
444757
444881
|
var init_update = __esm(() => {
|
|
444758
444882
|
init_StatusIcon();
|
|
444759
444883
|
init_ink2();
|
|
@@ -456943,7 +457067,7 @@ function generateHtmlReport(data, insights) {
|
|
|
456943
457067
|
</html>`;
|
|
456944
457068
|
}
|
|
456945
457069
|
function buildExportData(data, insights, facets) {
|
|
456946
|
-
const version3 = typeof MACRO !== "undefined" ? "0.33.
|
|
457070
|
+
const version3 = typeof MACRO !== "undefined" ? "0.33.3-by-rayss" : "unknown";
|
|
456947
457071
|
const facets_summary = {
|
|
456948
457072
|
total: facets.size,
|
|
456949
457073
|
goal_categories: {},
|
|
@@ -461977,7 +462101,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
461977
462101
|
init_slowOperations();
|
|
461978
462102
|
init_transcriptFileLock();
|
|
461979
462103
|
init_uuid();
|
|
461980
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.33.
|
|
462104
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.33.3-by-rayss" : "unknown";
|
|
461981
462105
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
461982
462106
|
TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
|
|
461983
462107
|
transcriptRewriteHooksForTesting = {};
|
|
@@ -463466,7 +463590,7 @@ var init_filesystem = __esm(() => {
|
|
|
463466
463590
|
});
|
|
463467
463591
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
463468
463592
|
const nonce = randomBytes19(16).toString("hex");
|
|
463469
|
-
return join150(getClaudeTempDir(), "bundled-skills", "0.33.
|
|
463593
|
+
return join150(getClaudeTempDir(), "bundled-skills", "0.33.3-by-rayss", nonce);
|
|
463470
463594
|
});
|
|
463471
463595
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
463472
463596
|
});
|
|
@@ -496829,6 +496953,7 @@ var init_types13 = __esm(() => {
|
|
|
496829
496953
|
maxOutputTokens: exports_external.number().int().positive().optional().describe("Maximum output tokens per response.")
|
|
496830
496954
|
})).optional().describe("Per-model overrides for context window and max output tokens. " + "Used for OpenAI-compatible models whose limits are not in the built-in catalog. " + "Keys are matched against the model name (exact match preferred, then prefix). " + "CLAUDE_CODE_OPENAI_CONTEXT_WINDOWS / CLAUDE_CODE_OPENAI_MAX_OUTPUT_TOKENS env vars take precedence. " + 'Example: { "qwen3.6-plus": { "contextWindow": 1048576, "maxOutputTokens": 32768 } }'),
|
|
496831
496955
|
modelPricing: ModelPricingSchema.optional().catch(undefined).describe("Exact-model pricing overrides. Token fields are USD per 1,000,000 tokens; " + "webSearchRequests is USD per request and defaults to $0.01 when omitted. " + "All four token fields are required. Keys are exact, case-sensitive resolved model ids. " + "Shared project settings are ignored for personal USD accounting."),
|
|
496956
|
+
toolUseSummariesEnabled: exports_external.boolean().optional().describe("When true, generate a short summary after completed tool batches. Defaults to false."),
|
|
496832
496957
|
apiRetry: exports_external.object({
|
|
496833
496958
|
maxRetries: exports_external.union([exports_external.number().int().nonnegative(), exports_external.literal("unlimited")]).optional().describe("How many times a retryable request is retried (rate limits like 429, " + "capacity 529, 5xx, transient network errors). Set 0 to never retry, " + 'any positive integer, or "unlimited" to keep retrying (with the fixed ' + "delayMs below) until the request succeeds or you cancel. " + "When unset, the OPENCLAUDE_MAX_RETRIES env var is used (default 10)."),
|
|
496834
496959
|
delayMs: exports_external.number().int().nonnegative().optional().describe("Fixed delay in milliseconds between retry attempts when this is set. " + "Set 5000 for 5 seconds, or 0 to retry immediately. A server-provided " + "Retry-After that is even longer is still honored. When unset, the " + "default exponential backoff (and OPENCLAUDE_RETRY_DELAY_MS env var) apply.")
|
|
@@ -501799,7 +501924,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
501799
501924
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
501800
501925
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
501801
501926
|
betas: getSdkBetas(),
|
|
501802
|
-
claude_code_version: "0.33.
|
|
501927
|
+
claude_code_version: "0.33.3-by-rayss",
|
|
501803
501928
|
output_style: outputStyle2,
|
|
501804
501929
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
501805
501930
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -503361,4 +503486,4 @@ export {
|
|
|
503361
503486
|
createAcpServer
|
|
503362
503487
|
};
|
|
503363
503488
|
|
|
503364
|
-
//# debugId=
|
|
503489
|
+
//# debugId=210344A47775717A64756E2164756E21
|