@rayss-dev/openclaude 0.33.1-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/sdk.mjs CHANGED
@@ -10131,7 +10131,7 @@ var init_version = __esm(() => {
10131
10131
  import_semver = __toESM(require_semver2(), 1);
10132
10132
  fallbackBuildVersion = (() => {
10133
10133
  try {
10134
- return "0.33.1-by-rayss";
10134
+ return "0.33.3-by-rayss";
10135
10135
  } catch {
10136
10136
  return "0.0.0";
10137
10137
  }
@@ -66838,6 +66838,7 @@ var init_types2 = __esm(() => {
66838
66838
  maxOutputTokens: exports_external.number().int().positive().optional().describe("Maximum output tokens per response.")
66839
66839
  })).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 } }'),
66840
66840
  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."),
66841
+ toolUseSummariesEnabled: exports_external.boolean().optional().describe("When true, generate a short summary after completed tool batches. Defaults to false."),
66841
66842
  apiRetry: exports_external.object({
66842
66843
  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)."),
66843
66844
  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.")
@@ -70365,7 +70366,7 @@ function getAttributionHeader(fingerprint, policy) {
70365
70366
  if (!policy.generate) {
70366
70367
  return "";
70367
70368
  }
70368
- const version2 = `${"0.33.1-by-rayss"}.${fingerprint}`;
70369
+ const version2 = `${"0.33.3-by-rayss"}.${fingerprint}`;
70369
70370
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
70370
70371
  const cch = "";
70371
70372
  const workload = getWorkload();
@@ -104001,7 +104002,7 @@ var init_metadata = __esm(() => {
104001
104002
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
104002
104003
  WHITESPACE_REGEX = /\s+/;
104003
104004
  getVersionBase = memoize_default(() => {
104004
- const match = "0.33.1-by-rayss".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
104005
+ const match = "0.33.3-by-rayss".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
104005
104006
  return match ? match[0] : undefined;
104006
104007
  });
104007
104008
  buildEnvContext = memoize_default(async () => {
@@ -104041,9 +104042,9 @@ var init_metadata = __esm(() => {
104041
104042
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
104042
104043
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
104043
104044
  isClaudeAiAuth: isClaudeAISubscriber(),
104044
- version: "0.33.1-by-rayss",
104045
+ version: "0.33.3-by-rayss",
104045
104046
  versionBase: getVersionBase(),
104046
- buildTime: "2026-10-17T12:42:18.156Z",
104047
+ buildTime: "2026-10-28T03:21:37.516Z",
104047
104048
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
104048
104049
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
104049
104050
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -111845,6 +111846,9 @@ function legacyModelSupportsEffort(model, context) {
111845
111846
  if (modelUsesOpenAIEffort(model, context) && (context?.routeId === "custom" || resolveActiveRouteIdFromEnv(process.env) === "custom")) {
111846
111847
  return true;
111847
111848
  }
111849
+ if (context?.routeId === "custom" && getReasoningApiProvider(context) === "openai") {
111850
+ return true;
111851
+ }
111848
111852
  if (modelUsesOpenAIEffort(model, context) && modelSupportsCodexReasoningEffort(model, context)) {
111849
111853
  return true;
111850
111854
  }
@@ -112197,11 +112201,11 @@ var init_effort = __esm(() => {
112197
112201
 
112198
112202
  // src/utils/userAgent.ts
112199
112203
  function getClaudeCodeUserAgent() {
112200
- return `claude-code/${"0.33.1-by-rayss"}`;
112204
+ return `claude-code/${"0.33.3-by-rayss"}`;
112201
112205
  }
112202
112206
  function getOpenClaudeUserAgent() {
112203
112207
  try {
112204
- return `openclaude/${"0.33.1-by-rayss"}`;
112208
+ return `openclaude/${"0.33.3-by-rayss"}`;
112205
112209
  } catch {
112206
112210
  return "openclaude/0.0.0";
112207
112211
  }
@@ -112213,7 +112217,7 @@ function getUserAgent() {
112213
112217
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
112214
112218
  const workload = getWorkload();
112215
112219
  const workloadSuffix = workload ? `, workload/${workload}` : "";
112216
- return `claude-cli/${"0.33.1-by-rayss"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
112220
+ return `claude-cli/${"0.33.3-by-rayss"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
112217
112221
  }
112218
112222
  function getMCPUserAgent() {
112219
112223
  const parts = [];
@@ -112227,7 +112231,7 @@ function getMCPUserAgent() {
112227
112231
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
112228
112232
  }
112229
112233
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
112230
- return `claude-code/${"0.33.1-by-rayss"}${suffix}`;
112234
+ return `claude-code/${"0.33.3-by-rayss"}${suffix}`;
112231
112235
  }
112232
112236
  function getWebFetchUserAgent() {
112233
112237
  const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/rayss868/openclaude";
@@ -115993,6 +115997,12 @@ function tempPathFor(targetPath, writeId) {
115993
115997
  const resolved = resolve14(targetPath);
115994
115998
  return join35(dirname18(resolved), `${basename6(resolved)}.${writeId}.openclaude.tmp`);
115995
115999
  }
116000
+ function unknownWriteIdError(writeId, targetPath) {
116001
+ const resolved = resolve14(targetPath);
116002
+ const active = [...states.values()].find((state) => state.targetPath === resolved);
116003
+ const recovery = active ? ` An active chunked write for this path uses write_id ` + `${active.writeId} and expects chunk index ${active.nextChunkIndex}; ` + `retry with that write_id.` : ` Restart with write_mode "start" and reuse the write_id returned in ` + `that tool result for the following append calls.`;
116004
+ return new ChunkedWriteError(`Unknown writeId: ${writeId}. The chunked write is no longer active — it ` + `may have been started in a different process, already finished, or ` + `discarded.${recovery}`);
116005
+ }
115996
116006
  function enforceChunkLimit(content) {
115997
116007
  if (content.length > MAX_FILE_WRITE_CHUNK_CHARS) {
115998
116008
  throw new ChunkedWriteError(`Chunk is ${content.length} characters but must be at most ` + `${MAX_FILE_WRITE_CHUNK_CHARS} characters; split it into smaller chunks.`);
@@ -116002,6 +116012,11 @@ async function startChunkedWrite(targetPath, content, snapshot) {
116002
116012
  enforceChunkLimit(content);
116003
116013
  const fs2 = getFsImplementation();
116004
116014
  const resolvedTarget = resolve14(targetPath);
116015
+ for (const [existingId, existing] of states) {
116016
+ if (existing.targetPath === resolvedTarget) {
116017
+ await clearChunkedWrite(existingId).catch(() => {});
116018
+ }
116019
+ }
116005
116020
  const writeId = randomUUID4();
116006
116021
  const tempPath = tempPathFor(resolvedTarget, writeId);
116007
116022
  let initialMtimeMs = snapshot.expectedInitialMtimeMs;
@@ -116028,6 +116043,7 @@ async function startChunkedWrite(targetPath, content, snapshot) {
116028
116043
  }
116029
116044
  }
116030
116045
  try {
116046
+ await fs2.mkdir(dirname18(resolvedTarget));
116031
116047
  await fs2.writeFile(tempPath, content, { encoding: snapshot.encoding });
116032
116048
  } catch (error40) {
116033
116049
  await fs2.unlink(tempPath).catch(() => {});
@@ -116055,7 +116071,7 @@ async function appendChunkedWrite(targetPath, writeId, chunkIndex, content, resp
116055
116071
  enforceChunkLimit(content);
116056
116072
  const state = states.get(writeId);
116057
116073
  if (!state) {
116058
- throw new ChunkedWriteError(`Unknown writeId: ${writeId}`);
116074
+ throw unknownWriteIdError(writeId, targetPath);
116059
116075
  }
116060
116076
  if (resolve14(targetPath) !== state.targetPath) {
116061
116077
  throw new ChunkedWriteError(`Target path ${targetPath} does not match the chunked write for ${writeId}`);
@@ -116086,7 +116102,7 @@ async function discardChunkedWriteState(writeId) {
116086
116102
  async function commitChunkedWrite(targetPath, writeId) {
116087
116103
  const state = states.get(writeId);
116088
116104
  if (!state) {
116089
- throw new ChunkedWriteError(`Unknown writeId: ${writeId}`);
116105
+ throw unknownWriteIdError(writeId, targetPath);
116090
116106
  }
116091
116107
  if (resolve14(targetPath) !== state.targetPath) {
116092
116108
  throw new ChunkedWriteError(`Target path ${targetPath} does not match the chunked write for ${writeId}`);
@@ -152789,6 +152805,57 @@ var init_ReadMcpResourceTool = __esm(() => {
152789
152805
  });
152790
152806
  });
152791
152807
 
152808
+ // src/services/mcp/argCoercion.ts
152809
+ function coerceValue(value, schema) {
152810
+ if (value === null || value === undefined || !schema) {
152811
+ return value;
152812
+ }
152813
+ const type = schema.type;
152814
+ if (type === "integer" || type === "number") {
152815
+ if (typeof value === "string" && value.trim() !== "") {
152816
+ const parsed = Number(value);
152817
+ if (Number.isFinite(parsed)) {
152818
+ return parsed;
152819
+ }
152820
+ }
152821
+ return value;
152822
+ }
152823
+ if (type === "boolean") {
152824
+ if (value === "true")
152825
+ return true;
152826
+ if (value === "false")
152827
+ return false;
152828
+ return value;
152829
+ }
152830
+ if (type === "object" && typeof value === "object" && value !== null && !Array.isArray(value)) {
152831
+ const props = schema.properties;
152832
+ if (!props)
152833
+ return value;
152834
+ const out = {};
152835
+ for (const [key, v] of Object.entries(value)) {
152836
+ out[key] = coerceValue(v, props[key]);
152837
+ }
152838
+ return out;
152839
+ }
152840
+ if (type === "array" && Array.isArray(value)) {
152841
+ if (!schema.items)
152842
+ return value;
152843
+ return value.map((item) => coerceValue(item, schema.items));
152844
+ }
152845
+ return value;
152846
+ }
152847
+ function coerceArgsToInputSchema(args, inputSchema8) {
152848
+ if (!inputSchema8 || typeof inputSchema8 !== "object" || !inputSchema8.properties) {
152849
+ return args;
152850
+ }
152851
+ const props = inputSchema8.properties;
152852
+ const out = {};
152853
+ for (const [key, value] of Object.entries(args)) {
152854
+ out[key] = coerceValue(value, props[key]);
152855
+ }
152856
+ return out;
152857
+ }
152858
+
152792
152859
  // src/utils/codeIndexing.ts
152793
152860
  function detectCodeIndexingFromCommand(command) {
152794
152861
  const trimmed = command.trim();
@@ -156975,7 +157042,7 @@ function computeFingerprint(messageText2, version2) {
156975
157042
  }
156976
157043
  function computeFingerprintFromMessages(messages) {
156977
157044
  const firstMessageText = extractFirstMessageText(messages);
156978
- return computeFingerprint(firstMessageText, "0.33.1-by-rayss");
157045
+ return computeFingerprint(firstMessageText, "0.33.3-by-rayss");
156979
157046
  }
156980
157047
  var FINGERPRINT_SALT = "59cf53e54c78";
156981
157048
  var init_fingerprint = () => {};
@@ -158458,7 +158525,7 @@ var init_client2 = __esm(() => {
158458
158525
  const client = new Client({
158459
158526
  name: "claude-code",
158460
158527
  title: "OpenClaude",
158461
- version: "0.33.1-by-rayss",
158528
+ version: "0.33.3-by-rayss",
158462
158529
  description: "OpenClaude — coding-agent CLI for any LLM provider",
158463
158530
  websiteUrl: PRODUCT_URL
158464
158531
  }, {
@@ -158956,6 +159023,7 @@ var init_client2 = __esm(() => {
158956
159023
  async call(args, context2, _canUseTool, parentMessage, onProgress) {
158957
159024
  const toolUseId = extractToolUseId(parentMessage);
158958
159025
  const meta = toolUseId ? { "claudecode/toolUseId": toolUseId } : {};
159026
+ const normalizedArgs = coerceArgsToInputSchema(args, tool2.inputSchema);
158959
159027
  if (onProgress && toolUseId) {
158960
159028
  try {
158961
159029
  onProgress({
@@ -159004,7 +159072,7 @@ var init_client2 = __esm(() => {
159004
159072
  client: connectedClient,
159005
159073
  clientConnection: client,
159006
159074
  tool: tool2.name,
159007
- args,
159075
+ args: normalizedArgs,
159008
159076
  meta,
159009
159077
  signal: context2.abortController.signal,
159010
159078
  setAppState: context2.setAppState,
@@ -174148,7 +174216,7 @@ var init_FileWriteTool = __esm(() => {
174148
174216
  file_path: exports_external.string().describe("The absolute path to the file to write (must be absolute, not relative)"),
174149
174217
  write_mode: exports_external.enum(["replace", "start", "append", "finish"]).default("replace").describe("Write lifecycle mode"),
174150
174218
  write_id: exports_external.string().optional().describe("Chunked write identifier"),
174151
- chunk_index: exports_external.number().int().nonnegative().optional().describe("Zero-based chunk sequence index"),
174219
+ chunk_index: exports_external.number().int().nonnegative().optional().describe("Chunk sequence index; the first append after start must be 1"),
174152
174220
  content: exports_external.string().optional().describe("Content to write to the file")
174153
174221
  }).superRefine((value, ctx) => {
174154
174222
  if (value.write_mode === "finish") {
@@ -174467,14 +174535,14 @@ var init_FileWriteTool = __esm(() => {
174467
174535
  return {
174468
174536
  tool_use_id: toolUseID,
174469
174537
  type: "tool_result",
174470
- content: `Started chunked write for ${output.filePath}; next chunk index is ${output.nextChunkIndex}.`
174538
+ content: `Started chunked write for ${output.filePath}; write_id is ` + `${output.writeId}; next chunk index is ${output.nextChunkIndex}.`
174471
174539
  };
174472
174540
  }
174473
174541
  if (output.type === "chunked_append") {
174474
174542
  return {
174475
174543
  tool_use_id: toolUseID,
174476
174544
  type: "tool_result",
174477
- content: `Appended chunk to ${output.filePath}; next chunk index is ${output.nextChunkIndex}.`
174545
+ content: `Appended chunk to ${output.filePath}; write_id is ` + `${output.writeId}; next chunk index is ${output.nextChunkIndex}.`
174478
174546
  };
174479
174547
  }
174480
174548
  if (output.type === "chunked_finish") {
@@ -229427,7 +229495,9 @@ async function getSkillListingAttachments(toolUseContext) {
229427
229495
  const localCommands = await getSkillToolCommands(cwd2);
229428
229496
  const mcpSkills = getMcpSkillCommands(toolUseContext.getAppState().mcp.commands);
229429
229497
  let allCommands = mcpSkills.length > 0 ? uniqBy_default([...localCommands, ...mcpSkills], "name") : localCommands;
229430
- allCommands = filterToBundledAndMcp(allCommands);
229498
+ if (skillSearchModules?.featureCheck.isSkillSearchEnabled()) {
229499
+ allCommands = filterToBundledAndMcp(allCommands);
229500
+ }
229431
229501
  const agentKey = toolUseContext.agentId ?? "";
229432
229502
  let sent = sentSkillNames.get(agentKey);
229433
229503
  if (!sent) {
@@ -232213,6 +232283,50 @@ var init_doomLoop = __esm(() => {
232213
232283
  stateByAgent = new Map;
232214
232284
  });
232215
232285
 
232286
+ // src/utils/toolErrorRepeats.ts
232287
+ function getState2(agentKey) {
232288
+ let state2 = stateByAgent2.get(agentKey);
232289
+ if (!state2) {
232290
+ state2 = { lastTool: null, lastError: null, count: 0 };
232291
+ stateByAgent2.set(agentKey, state2);
232292
+ }
232293
+ return state2;
232294
+ }
232295
+ function normalizeText(text) {
232296
+ return text.replace(/\s+/g, " ").replace(/\d+/g, "#").trim();
232297
+ }
232298
+ function buildNudge(count4) {
232299
+ return `
232300
+ <system-reminder>This is the ${count4}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>`;
232301
+ }
232302
+ function recordRepeatedToolError(agentKey, toolName, errorText) {
232303
+ const state2 = getState2(agentKey);
232304
+ const normalized = normalizeText(errorText);
232305
+ if (state2.lastTool === toolName && state2.lastError === normalized) {
232306
+ state2.count++;
232307
+ } else {
232308
+ state2.lastTool = toolName;
232309
+ state2.lastError = normalized;
232310
+ state2.count = 1;
232311
+ }
232312
+ if (state2.count >= DEFAULT_THRESHOLD2) {
232313
+ return { count: state2.count, nudge: buildNudge(state2.count) };
232314
+ }
232315
+ return { count: state2.count };
232316
+ }
232317
+ function resetToolErrorRepeats(agentKey, toolName) {
232318
+ const state2 = stateByAgent2.get(agentKey);
232319
+ if (state2 && state2.lastTool === toolName) {
232320
+ state2.lastTool = null;
232321
+ state2.lastError = null;
232322
+ state2.count = 0;
232323
+ }
232324
+ }
232325
+ var DEFAULT_THRESHOLD2 = 3, stateByAgent2;
232326
+ var init_toolErrorRepeats = __esm(() => {
232327
+ stateByAgent2 = new Map;
232328
+ });
232329
+
232216
232330
  // src/utils/sessionPersistencePolicy.ts
232217
232331
  function shouldSkipSessionPersistence() {
232218
232332
  const allowTestPersistence = isEnvTruthy(process.env.TEST_ENABLE_SESSION_PERSISTENCE);
@@ -234046,13 +234160,14 @@ async function checkPermissionsAndCallTool(tool2, toolUseID, input, toolUseConte
234046
234160
  },
234047
234161
  ...mcpToolDetailsForAnalytics(tool2.name, mcpServerType, mcpServerBaseUrl)
234048
234162
  });
234163
+ const repeatedError = recordRepeatedToolError(toolUseContext.agentId ?? "main", tool2.name, errorContent);
234049
234164
  return [
234050
234165
  {
234051
234166
  message: createUserMessage({
234052
234167
  content: [
234053
234168
  {
234054
234169
  type: "tool_result",
234055
- content: `<tool_use_error>InputValidationError: ${errorContent}</tool_use_error>`,
234170
+ content: `<tool_use_error>InputValidationError: ${errorContent}</tool_use_error>${repeatedError.nudge ?? ""}`,
234056
234171
  is_error: true,
234057
234172
  tool_use_id: toolUseID
234058
234173
  }
@@ -234480,6 +234595,7 @@ async function checkPermissionsAndCallTool(tool2, toolUseID, input, toolUseConte
234480
234595
  const toolContextModifier = result.contextModifier;
234481
234596
  const mcpMeta = result.mcpMeta;
234482
234597
  async function addToolResult(toolUseResult, preMappedBlock) {
234598
+ resetToolErrorRepeats(toolUseContext.agentId ?? "main", tool2.name);
234483
234599
  const toolResultBlock = preMappedBlock ? await processPreMappedToolResultBlock(preMappedBlock, tool2.name, tool2.maxResultSizeChars) : await processToolResultBlock(tool2, toolUseResult, toolUseID);
234484
234600
  const contentBlocks = [toolResultBlock];
234485
234601
  if ("acceptFeedback" in permissionDecision && permissionDecision.acceptFeedback) {
@@ -234665,13 +234781,14 @@ async function checkPermissionsAndCallTool(tool2, toolUseID, input, toolUseConte
234665
234781
  delete hookChainsContext.hookChainsCanUseTool;
234666
234782
  }
234667
234783
  }
234784
+ const repeatedError = recordRepeatedToolError(toolUseContext.agentId ?? "main", tool2.name, content);
234668
234785
  return [
234669
234786
  {
234670
234787
  message: createUserMessage({
234671
234788
  content: [
234672
234789
  {
234673
234790
  type: "tool_result",
234674
- content,
234791
+ content: `${content}${repeatedError.nudge ?? ""}`,
234675
234792
  is_error: true,
234676
234793
  tool_use_id: toolUseID
234677
234794
  }
@@ -234714,6 +234831,7 @@ var init_toolExecution = __esm(() => {
234714
234831
  init_abortReasons();
234715
234832
  init_debug();
234716
234833
  init_doomLoop();
234834
+ init_toolErrorRepeats();
234717
234835
  init_errors();
234718
234836
  init_hooks4();
234719
234837
  init_log();
@@ -236422,7 +236540,7 @@ function buildQueryConfig() {
236422
236540
  sessionId: getSessionId(),
236423
236541
  gates: {
236424
236542
  streamingToolExecution: checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_streaming_tool_execution2"),
236425
- emitToolUseSummaries: isEnvTruthy(process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES),
236543
+ emitToolUseSummaries: getSettingsForSource("userSettings")?.toolUseSummariesEnabled ?? isEnvTruthy(process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES),
236426
236544
  isAnt: false,
236427
236545
  fastModeEnabled: !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FAST_MODE)
236428
236546
  }
@@ -236432,6 +236550,7 @@ var init_config7 = __esm(() => {
236432
236550
  init_state();
236433
236551
  init_growthbook();
236434
236552
  init_envUtils();
236553
+ init_settings2();
236435
236554
  });
236436
236555
 
236437
236556
  // src/query/deps.ts
@@ -238445,7 +238564,7 @@ function getAnthropicEnvMetadata() {
238445
238564
  function getBuildAgeMinutes() {
238446
238565
  if (false)
238447
238566
  ;
238448
- const buildTime = new Date("2026-10-17T12:42:18.156Z").getTime();
238567
+ const buildTime = new Date("2026-10-28T03:21:37.516Z").getTime();
238449
238568
  if (isNaN(buildTime))
238450
238569
  return;
238451
238570
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -267444,7 +267563,7 @@ var init_sessionStorage = __esm(() => {
267444
267563
  init_slowOperations();
267445
267564
  init_transcriptFileLock();
267446
267565
  init_uuid();
267447
- VERSION3 = typeof MACRO !== "undefined" ? "0.33.1-by-rayss" : "unknown";
267566
+ VERSION3 = typeof MACRO !== "undefined" ? "0.33.3-by-rayss" : "unknown";
267448
267567
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
267449
267568
  TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
267450
267569
  transcriptRewriteHooksForTesting = {};
@@ -268921,7 +269040,7 @@ var init_filesystem = __esm(() => {
268921
269040
  });
268922
269041
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
268923
269042
  const nonce = randomBytes10(16).toString("hex");
268924
- return join94(getClaudeTempDir(), "bundled-skills", "0.33.1-by-rayss", nonce);
269043
+ return join94(getClaudeTempDir(), "bundled-skills", "0.33.3-by-rayss", nonce);
268925
269044
  });
268926
269045
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
268927
269046
  });
@@ -283460,7 +283579,7 @@ function buildSystemInitMessage(inputs) {
283460
283579
  slash_commands: inputs.commands.filter((c7) => c7.userInvocable !== false).map((c7) => c7.name),
283461
283580
  apiKeySource: getAnthropicApiKeyWithSource().source,
283462
283581
  betas: getSdkBetas(),
283463
- claude_code_version: "0.33.1-by-rayss",
283582
+ claude_code_version: "0.33.3-by-rayss",
283464
283583
  output_style: outputStyle,
283465
283584
  agents: inputs.agents.map((agent) => agent.agentType),
283466
283585
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -288084,4 +288203,4 @@ export {
288084
288203
  AbortError
288085
288204
  };
288086
288205
 
288087
- //# debugId=D013021EC2F70EA264756E2164756E21
288206
+ //# debugId=5E852F5B613C44DF64756E2164756E21
@@ -80,6 +80,18 @@ Per-model overrides for `contextWindow` and `maxOutputTokens`. Used for OpenAI-c
80
80
  }
81
81
  ```
82
82
 
83
+ ### `toolUseSummariesEnabled` (boolean)
84
+
85
+ When `true`, generate a short label after completed tool batches using an auxiliary model request. Defaults to `false` when unset. This can also be changed in `/config` under **Tool-use summaries**.
86
+
87
+ ```json
88
+ {
89
+ "toolUseSummariesEnabled": true
90
+ }
91
+ ```
92
+
93
+ An explicit setting takes precedence over `CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES`; the environment variable is used only when this field is unset.
94
+
83
95
  ### `apiRetry` (object)
84
96
 
85
97
  Network retry policy for transient errors (rate limits `429`, capacity `529`, `5xx`, and brief network failure). Use it to control both how many times a `429` is retried and how long to wait between attempts. Both sub-fields can also be edited interactively from `/config`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayss-dev/openclaude",
3
- "version": "0.33.1-by-rayss",
3
+ "version": "0.33.3-by-rayss",
4
4
  "description": "OpenClaude opens coding-agent workflows to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {