daniel-lxs
87546c9fce
feat: add API inference logging for debugging
...
- Add ApiInferenceLogger singleton class for logging API requests/responses
- Add inferenceLogger property to BaseProvider
- Update all providers to use the logger
- Configure logger in extension.ts with output channel sink
- Add payload sanitization (truncate strings, cap arrays, redact secrets)
- Enable via ROO_CODE_API_LOGGING=true environment variable
Closes ROO-271
2025-12-29 18:21:24 -07:00
Daniel
ca8fd5c867
fix: flush pending tool results before condensing context ( #10379 )
2025-12-29 15:43:02 -08:00
John Richmond
a42387e0af
Handle custom tool use similarly to MCP tools for ipc schema purposes ( #10364 )
2025-12-29 08:58:41 -08:00
roomote[bot]
a18c9b7a56
Improve error message when read_file is used on directory ( #10371 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-28 21:57:41 -08:00
roomote[bot]
7980cd39f6
fix: enforce maxConcurrentFileReads limit in read_file tool ( #10363 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-27 15:47:07 -08:00
Matt Rubens
5c5ddd37e8
Release v3.38.0 ( #10361 )
2025-12-27 12:19:48 -08:00
roomote[bot]
13370a2ad1
feat: add optional mode field to slash command front matter ( #10344 )
...
* feat: add optional mode field to slash command front matter
- Add mode field to Command interface
- Update command parsing to extract mode from frontmatter
- Modify RunSlashCommandTool to automatically switch mode when specified
- Add comprehensive tests for mode field parsing and switching
- Update existing tests to include mode field
* Make it work for manual slash commands too
---------
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-26 17:17:54 -08:00
Matt Rubens
343d5e9dcb
Add support for skills ( #10335 )
...
* Add support for skills
* fix: use type-only import for ClineProvider and relative paths in skills section
---------
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-25 20:28:41 -08:00
roomote[bot]
a510223a09
feat: remove simpleReadFileTool completely ( #10254 )
...
- Delete simpleReadFileTool.ts file
- Delete simple-read-file.ts prompt description file
- Delete single-file-read-models.ts types file
- Remove imports and usage from presentAssistantMessage.ts
- Remove imports and usage from prompts/tools/index.ts
- Remove export from packages/types/src/index.ts
This removes all traces of the legacy single-file read tool implementation that was used for specific models. All models now use the standard read_file tool.
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-25 09:57:46 -08:00
roomote[bot]
a07d28c7e6
feat: remove OpenRouter Transforms feature ( #10341 )
...
- Remove openRouterUseMiddleOutTransform checkbox from settings UI
- Remove openRouterUseMiddleOutTransform from TypeScript types
- Remove transforms parameter logic from OpenRouter handler
- Remove setting from EVALS_SETTINGS
- Remove translation keys from all locale files (18 locales)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-25 09:53:48 -08:00
Bruno Bergher
57cafa535a
ux: Provider-centric signup ( #10306 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-23 14:59:29 -08:00
Hannes Rudolph
dfa7c357c2
fix(task): drain queued messages while waiting for ask ( #10315 )
2025-12-23 15:40:41 -07:00
Hannes Rudolph
9b99890c35
feat(prompts): strengthen native tool-use guidance ( #10311 )
2025-12-23 14:13:40 -07:00
Hannes Rudolph
0f3df0e932
feat: add grace retry for empty assistant messages ( #10297 )
...
Implements grace retry error handling for 'no assistant messages' API
errors, following the same pattern as PR #10196 for 'no tools used'.
- Add consecutiveNoAssistantMessagesCount counter to Task.ts
- First failure: silent retry (grace retry)
- After 2+ consecutive failures: show MODEL_NO_ASSISTANT_MESSAGES error
- Add UI handling in ChatRow.tsx with ErrorRow component
- Add localized strings to all 18 locale files
- Add comprehensive tests for the grace retry behavior
2025-12-23 07:02:40 -08:00
Matt Rubens
dd44f8fb8c
Release v3.37.0 ( #10295 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-12-22 21:03:15 -08:00
Hannes Rudolph
89e9261367
fix: preserve reasoning_content in condense summary for DeepSeek-reasoner ( #10292 )
2025-12-22 21:25:17 -07:00
Hannes Rudolph
f21ec127b1
fix: add CRLF line ending normalization to search_replace and search_and_replace tools ( #10288 )
...
- Normalize file content to LF after reading to ensure consistent matching
- Normalize search/replace strings to handle CRLF from model output
- Add comprehensive CRLF normalization tests for both tools
- Consistent with existing edit_file tool behavior
2025-12-22 19:19:24 -08:00
Daniel
d00d9edec5
feat: deprecate XML tool protocol selection, force native for new tasks ( #10281 )
...
- Disable tool protocol selector UI in ApiOptions.tsx
- Force native protocol for all new tasks in resolveToolProtocol()
- Keep locked protocol support for resumed tasks that used XML
- Remove models without supportsNativeTools: true from providers:
- baseten.ts: removed 6 models
- bedrock.ts: removed 2 embedding models
- featherless.ts: removed 3 models, updated default
- groq.ts: removed 5 models
- sambanova.ts: removed 2 models
- vertex.ts: removed 7 models
- vercel-ai-gateway.ts: added supportsNativeTools: true
- Update tests to expect native format output
2025-12-22 17:49:50 -08:00
Daniel
529e0d7a94
fix: enable Requesty refresh models with credentials ( #10273 )
2025-12-22 12:43:42 -05:00
Chris Estreich
5ae4d4d635
Custom tool calling ( #10083 )
2025-12-21 12:43:06 -08:00
Daniel
aabee0fb0b
fix: force additionalProperties false for strict mode compatibility ( #10210 )
2025-12-19 12:18:38 -08:00
Bruno Bergher
bb358fb8f9
ux: add downloadable error diagnostics from chat errors ( #10188 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-12-19 11:50:40 -08:00
Bruno Bergher
6e2b85214e
ux: improve API error handling and visibility ( #10204 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2025-12-19 11:38:56 -08:00
Patrick Decat
2dec78ccb4
fix: refresh models button not flushing cache properly ( #9870 )
2025-12-19 12:03:50 -05:00
Hannes Rudolph
9c03476a0f
feat(vertex): add native tool calling for Claude models on Vertex AI ( #10197 )
...
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2025-12-18 16:09:55 -08:00
Hannes Rudolph
e2d1599f9c
feat: improve 'no tools used' error handling with grace retry ( #10196 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-12-18 15:29:01 -07:00
Daniel
3a2ad6b0e1
feat(telemetry): add PostHog exception tracking for consecutive mistake errors ( #10193 )
2025-12-18 12:59:37 -08:00
Daniel
3e0d9c65e8
feat: lock task tool protocol for consistent task resumption ( #10192 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-18 11:54:26 -08:00
Hannes Rudolph
8251170b84
feat: Replace edit_file tool alias with edit_file tool ( #9983 )
2025-12-18 12:48:30 -07:00
Matt Rubens
3cb2c1de66
Revert "Revert "feat: change defaultToolProtocol default from xml to native"" ( #10186 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-18 10:31:33 -05:00
Daniel
aa3b4ae9cc
fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode ( #10148 )
2025-12-17 13:01:48 -08:00
Hannes Rudolph
0b86796b8f
[feat] Claude Code Provider Native Tool Calling ( #10077 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-12-17 12:57:27 -08:00
Hannes Rudolph
f414ba41a6
fix: correct token counting for context truncation display ( #9961 )
2025-12-16 16:12:02 -07:00
Daniel
c7cdf8398e
fix: validate tool_result IDs in delegation resume flow ( #10135 )
2025-12-16 12:42:58 -08:00
roomote[bot]
caf6142201
feat: add full error details to streaming failure dialog ( #10131 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: cte <cestreich@gmail.com>
2025-12-16 10:34:16 -08:00
Daniel
93bc8c4f1d
fix: add additionalProperties: false to nested MCP tool schemas ( #10109 )
2025-12-16 09:22:16 -08:00
Daniel
6619d46377
feat(anthropic): enable native tools by default and add telemetry tracking ( #10021 )
2025-12-15 21:32:44 -08:00
Hannes Rudolph
69307ba62e
fix: prevent race condition from deleting wrong API messages ( #10113 )
...
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2025-12-15 21:23:05 -08:00
Matt Rubens
3502f41e75
Add config to control public sharing ( #10105 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-15 21:58:15 -05:00
John Richmond
bf81fa7237
feat(read-file): implement incremental token-budgeted file reading ( #10052 )
2025-12-15 14:41:42 -08:00
Daniel
1f3ab2b493
fix: prevent duplicate MCP tools error by deduplicating servers at source ( #10096 )
2025-12-15 14:02:04 -05:00
Chris Estreich
c7139167ce
Move isToolAllowedForMode out of shared directory ( #10089 )
2025-12-15 02:18:08 -08:00
Hannes Rudolph
0fbbe66496
feat: remove auto-approve toggles for to-do and retry actions ( #10062 )
2025-12-13 19:26:06 -07:00
Daniel
3521270888
feat: sanitize MCP server/tool names for API compatibility ( #10054 )
2025-12-12 13:46:50 -08:00
Daniel
ba7c5535ba
feat: add tool alias support for model-specific tool customization ( #9989 )
...
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
2025-12-12 11:05:21 -08:00
roomote[bot]
d976a9b296
fix: cancel auto-approval timeout when user starts typing ( #9937 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-12 10:25:14 -05:00
Daniel
8a68b04c27
fix: filter orphaned tool_results when more results than tool_uses ( #10027 )
2025-12-11 12:48:40 -08:00
Daniel
87317091ee
fix: add missing tool_result blocks to prevent API errors ( #10015 )
2025-12-11 12:02:06 -08:00
Hannes Rudolph
6a30d9488e
chore: remove list_code_definition_names tool ( #10005 )
...
Co-authored-by: cte <cestreich@gmail.com>
2025-12-10 20:32:06 -08:00
Hannes Rudolph
0cbaed7e7b
feat: add toggle for Enter key behavior in chat input ( #10002 )
2025-12-10 20:31:43 -08:00