Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1485 commits
Select commit Hold shift + click to select a range
4693b9e
fix(bedrock): convert tool_result to XML text when native tools disab…
daniel-lxs Dec 17, 2025
ed631dc
fix: remove dots and colons from MCP tool names for Bedrock compatibi…
daniel-lxs Dec 17, 2025
bdf7d2a
fix: improve terminal process error handling and abort operation
mini2s Dec 17, 2025
65d1cde
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 17, 2025
affa5f2
fix(ROO-202): refresh Roo models cache with session token on auth sta…
daniel-lxs Dec 17, 2025
eac0d62
fix: support AWS GovCloud and China region ARNs in Bedrock provider (…
roomote-v0[bot] Dec 17, 2025
9e9d779
feat: enable native tool calling by default for Z.ai models (#10158)
roomote-v0[bot] Dec 17, 2025
0b86796
[feat] Claude Code Provider Native Tool Calling (#10077)
hannesrudolph Dec 17, 2025
aa3b4ae
fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (#…
daniel-lxs Dec 17, 2025
2a2411d
fix: enable native tools by default for OpenAI compatible provider (#…
daniel-lxs Dec 17, 2025
09552fa
Release v3.36.11 (#10161)
cte Dec 17, 2025
495664c
Changeset version bump (#10162)
github-actions[bot] Dec 17, 2025
45dbe4d
feat(telemetry): extract error messages from JSON payloads for better…
daniel-lxs Dec 17, 2025
f899de1
fix: add userAgentAppId to Bedrock embedder for code indexing (#10166)
roomote-v0[bot] Dec 18, 2025
06c5c7f
feat: update OpenAI and Gemini tool preferences (#10170)
hannesrudolph Dec 18, 2025
50f28da
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 18, 2025
0bfdb97
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 18, 2025
cb2e53e
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 18, 2025
b64f09a
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 18, 2025
17b1680
Release v3.36.12 (#10181)
cte Dec 18, 2025
d376869
Changeset version bump (#10182)
github-actions[bot] Dec 18, 2025
3cb2c1d
Revert "Revert "feat: change defaultToolProtocol default from xml to …
mrubens Dec 18, 2025
d92d729
fix(litellm): merge default model info with router models for NTC sup…
daniel-lxs Dec 18, 2025
e84e334
Release: v1.93.0 (#10190)
cte Dec 18, 2025
157a097
feat(vscode-lm): add native tool support (#10191)
daniel-lxs Dec 18, 2025
8251170
feat: Replace edit_file tool alias with edit_file tool (#9983)
hannesrudolph Dec 18, 2025
3e0d9c6
feat: lock task tool protocol for consistent task resumption (#10192)
daniel-lxs Dec 18, 2025
3a2ad6b
feat(telemetry): add PostHog exception tracking for consecutive mista…
daniel-lxs Dec 18, 2025
7789b40
Release v3.36.13 (#10194)
cte Dec 18, 2025
b37b231
Changeset version bump (#10195)
github-actions[bot] Dec 18, 2025
e2d1599
feat: improve 'no tools used' error handling with grace retry (#10196)
hannesrudolph Dec 18, 2025
9c03476
feat(vertex): add native tool calling for Claude models on Vertex AI …
hannesrudolph Dec 19, 2025
c3a4d14
fix: strip unsupported JSON Schema format values for OpenAI compatibi…
daniel-lxs Dec 19, 2025
4b9d9b7
Release v3.36.14 (#10200)
cte Dec 19, 2025
3c05cae
Changeset version bump (#10201)
github-actions[bot] Dec 19, 2025
b67b1e8
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 19, 2025
bc50606
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 19, 2025
a475cd3
feat(telemetry): add telemetry event handling through webview messages
mini2s Dec 19, 2025
2dec78c
fix: refresh models button not flushing cache properly (#9870)
pdecat Dec 19, 2025
3f1f8be
feat(vertex): add 1M context window beta support for Claude Sonnet 4 …
hannesrudolph Dec 19, 2025
61903f9
feat(providers): add native tool calling support to LM Studio and Qwe…
hannesrudolph Dec 19, 2025
6e2b852
ux: improve API error handling and visibility (#10204)
brunobergher Dec 19, 2025
ae41af6
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 19, 2025
bb358fb
ux: add downloadable error diagnostics from chat errors (#10188)
brunobergher Dec 19, 2025
397328c
feat: merge native tool defaults for openai-compatible provider (#10213)
hannesrudolph Dec 19, 2025
aabee0f
fix: force additionalProperties false for strict mode compatibility (…
daniel-lxs Dec 19, 2025
bade932
fix: enable native tool calls for Requesty provider (ROO-235) (#10211)
daniel-lxs Dec 19, 2025
ccbb25d
Release v3.36.15 (#10218)
cte Dec 19, 2025
f7adc4b
Changeset version bump (#10219)
github-actions[bot] Dec 19, 2025
5c798a9
fix: normalize tool schemas for VS Code LM API to fix error 400 (#10221)
hannesrudolph Dec 20, 2025
d2814da
Release v3.36.16 (#10224)
mrubens Dec 20, 2025
78dc344
Changeset version bump (#10225)
github-actions[bot] Dec 20, 2025
6cf7be6
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 20, 2025
37765c8
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 20, 2025
f3ca7c4
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 21, 2025
5ae4d4d
Custom tool calling (#10083)
cte Dec 21, 2025
3beeac6
Remove the "test" custom tools (#10255)
cte Dec 21, 2025
2bb3755
Add custom tool definitions to @roo-code/types (#10233)
cte Dec 21, 2025
fb9245f
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 22, 2025
6b755ed
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 22, 2025
f23e9ac
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 22, 2025
08eed65
fix(evals): add missing packages/core to Dockerfile.runner (#10272)
hannesrudolph Dec 22, 2025
a148b0b
feat: add Cloud Team page with comprehensive team features (#10267)
roomote-v0[bot] Dec 22, 2025
e3cd031
feat: remove parallel_tool_calls parameter from litellm provider (#10…
roomote-v0[bot] Dec 22, 2025
c800c67
feat(build): add types package bundling and alias support
mini2s Dec 22, 2025
149e78e
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 22, 2025
a7d258b
update(settings): change default tool protocol to XML
mini2s Dec 22, 2025
529e0d7
fix: enable Requesty refresh models with credentials (#10273)
daniel-lxs Dec 22, 2025
6b141fb
fix: disable strict mode for MCP tools to preserve optional parameter…
daniel-lxs Dec 22, 2025
7fae76e
fix: move array-specific properties into anyOf variant in normalizeTo…
daniel-lxs Dec 22, 2025
24d988d
refactor(custom-tools): improve tool loading and instance consistency
mini2s Dec 22, 2025
a144a37
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 22, 2025
f462eeb
fix(chutes): add graceful fallback for model parsing (#10279)
hannesrudolph Dec 22, 2025
9b06a98
fix: emit tool_call_end events in OpenAI handler when streaming ends …
daniel-lxs Dec 22, 2025
0d3e81d
feat(core): add support for custom tool parsing in AssistantMessagePa…
mini2s Dec 23, 2025
2c5a4c8
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 23, 2025
d00d9ed
feat: deprecate XML tool protocol selection, force native for new tas…
daniel-lxs Dec 23, 2025
b37b387
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 23, 2025
518a440
feat(zai): add GLM-4.7 model with thinking mode support (#10282)
hannesrudolph Dec 23, 2025
44a7ba5
fix: improve reasoning_details accumulation and serialization (#10285)
hannesrudolph Dec 23, 2025
bd78a63
feat(evals): add message log deduper utility (#10286)
hannesrudolph Dec 23, 2025
e7c1851
feat(minimax): move environment_details to system message for thinkin…
hannesrudolph Dec 23, 2025
f21ec12
fix: add CRLF line ending normalization to search_replace and search_…
hannesrudolph Dec 23, 2025
eeaf33c
refactor(zai): merge environment_details into tool result instead of …
hannesrudolph Dec 23, 2025
edee332
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 23, 2025
2997566
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 23, 2025
061ae14
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 23, 2025
a8ac2ce
fix: emit tool_call_end events in BaseOpenAiCompatibleProvider (#10293)
hannesrudolph Dec 23, 2025
89e9261
fix: preserve reasoning_content in condense summary for DeepSeek-reas…
hannesrudolph Dec 23, 2025
dd44f8f
Release v3.37.0 (#10295)
mrubens Dec 23, 2025
30090de
Changeset version bump (#10296)
github-actions[bot] Dec 23, 2025
a7c1d24
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 23, 2025
71f312b
feat: enable mergeToolResultText for Roo Code Cloud provider (#10301)
hannesrudolph Dec 23, 2025
ddc0c01
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 23, 2025
044d502
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 23, 2025
0f3df0e
feat: add grace retry for empty assistant messages (#10297)
hannesrudolph Dec 23, 2025
40812dc
Release: v1.95.0 (#10309)
jr Dec 23, 2025
9b99890
feat(prompts): strengthen native tool-use guidance (#10311)
hannesrudolph Dec 23, 2025
ded6486
feat: enable mergeToolResultText for all OpenAI-compatible providers …
hannesrudolph Dec 23, 2025
53e1ff0
fix: preserve reasoning_details shape to prevent malformed responses …
hannesrudolph Dec 23, 2025
dfa7c35
fix(task): drain queued messages while waiting for ask (#10315)
hannesrudolph Dec 23, 2025
6afc59b
fix(openai): send native tool definitions by default (#10314)
hannesrudolph Dec 23, 2025
57cafa5
ux: Provider-centric signup (#10306)
brunobergher Dec 23, 2025
5c7939b
chore: add changeset for v3.37.1 (#10316)
mrubens Dec 23, 2025
1e71015
Changeset version bump (#10317)
github-actions[bot] Dec 23, 2025
efe97f7
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 24, 2025
d29555b
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 24, 2025
ae7d014
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 24, 2025
6d8be95
refactor: simplify tool protocol resolution logic
mini2s Dec 24, 2025
62a4ebf
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 25, 2025
02996f8
refactor: optimize stream rendering and file reading limits
mini2s Dec 25, 2025
ab0aff3
refactor(tools): simplify extractTextFromFile parameters
mini2s Dec 25, 2025
4a8f2bc
feat(chat): add tool protocol display to task header
mini2s Dec 25, 2025
e83f568
fix(test): respect user toolProtocol preference over model capabilities
mini2s Dec 25, 2025
66ef6d8
update(provider): update zgsm model handling and native tool protocol…
mini2s Dec 25, 2025
355f27b
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 25, 2025
446b7db
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 25, 2025
a07d28c
feat: remove OpenRouter Transforms feature (#10341)
roomote-v0[bot] Dec 25, 2025
a510223
feat: remove simpleReadFileTool completely (#10254)
roomote-v0[bot] Dec 25, 2025
8bce6cb
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 26, 2025
343d5e9
Add support for skills (#10335)
mrubens Dec 26, 2025
da4cf6d
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 26, 2025
c081410
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 26, 2025
6f16528
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 26, 2025
0d50ed6
Add support for npm packages and .env files to custom tools (#10336)
cte Dec 26, 2025
2eebf3c
fix: capture extended thinking signatures for tool use continuations …
daniel-lxs Dec 26, 2025
13370a2
feat: add optional mode field to slash command front matter (#10344)
roomote-v0[bot] Dec 27, 2025
72c142b
refactor(core,webview): improve code review types and performance
mini2s Dec 27, 2025
41637d2
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 27, 2025
510af82
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 27, 2025
c61dd7a
Remove the mergeToolResultText in the Roo provider for now (#10359)
mrubens Dec 27, 2025
25f76ce
Revert "fix: capture extended thinking signatures for tool use contin…
mrubens Dec 27, 2025
5c5ddd3
Release v3.38.0 (#10361)
mrubens Dec 27, 2025
ba1dd3c
Changeset version bump (#10362)
github-actions[bot] Dec 27, 2025
7980cd3
fix: enforce maxConcurrentFileReads limit in read_file tool (#10363)
roomote-v0[bot] Dec 27, 2025
c46532a
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 28, 2025
8cf3acc
refactor(zgsm): optimize native protocol handling and model ID usage
mini2s Dec 28, 2025
add06a2
docs: clarify path to Security Settings in privacy policy (#10367)
roomote-v0[bot] Dec 28, 2025
a18c9b7
Improve error message when read_file is used on directory (#10371)
roomote-v0[bot] Dec 29, 2025
1011064
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 29, 2025
b90e6cf
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 29, 2025
6948ed7
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 29, 2025
a42387e
Handle custom tool use similarly to MCP tools for ipc schema purposes…
jr Dec 29, 2025
e851b93
fix: correct GitHub repository URL in marketing page (#10377)
roomote-v0[bot] Dec 29, 2025
6ba7931
Revert "feat: enable mergeToolResultText for all OpenAI-compatible pr…
hannesrudolph Dec 29, 2025
ca8fd5c
fix: flush pending tool results before condensing context (#10379)
daniel-lxs Dec 29, 2025
958705a
chore: add changeset for v3.38.1 (#10384)
mrubens Dec 29, 2025
c193f59
Changeset version bump (#10385)
github-actions[bot] Dec 29, 2025
19b7dac
fix: update Cerebras maxTokens to 16384 (#10387)
sebastiand-cerebras Dec 30, 2025
0e9a765
docs: Replace Todo Lists video with Context Management video (#10375)
SannidhyaSah Dec 30, 2025
6d8fa39
Release: v1.96.0 (#10395)
jr Dec 30, 2025
9539553
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 30, 2025
f2abc39
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Dec 30, 2025
d33cdef
fix(utils): add optional chaining for provider settings
mini2s Dec 30, 2025
ed13921
feat(skills): align with Agent Skills spec (#10409)
hannesrudolph Dec 30, 2025
c37aa02
chore: remove human-relay provider (#10388)
hannesrudolph Dec 30, 2025
ca1bc18
Fix rate limit wait display (#10389)
hannesrudolph Dec 31, 2025
ca41119
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Dec 31, 2025
dea33f9
fix: prevent write_to_file from creating files at truncated paths (#1…
mrubens Dec 31, 2025
1179662
Release v3.38.2 (#10416)
mrubens Dec 31, 2025
2068531
Changeset version bump (#10417)
github-actions[bot] Dec 31, 2025
3074ccc
fix(claude-code): stop frequent sign-ins by hardening OAuth refresh (…
hannesrudolph Jan 1, 2026
586cf47
fix: add type check for lastMessage.text in TTS useEffect (#10431)
roomote-v0[bot] Jan 1, 2026
f05dada
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 2, 2026
277ec1b
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 2, 2026
787a257
feat(chat): add collapsible markdown blocks and improve protocol erro…
mini2s Jan 2, 2026
d24a1d6
refactor(task): restructure conversation history handling
mini2s Jan 3, 2026
08c3431
feat: recursively load .roo/rules and AGENTS.md from subdirectories (…
mrubens Jan 3, 2026
1459f01
Release: v1.99.0 (#10447)
mrubens Jan 3, 2026
c307dc7
fix: add maxConcurrentFileReads limit to native read_file tool schema…
roomote-v0[bot] Jan 4, 2026
b4302c7
chore: add changeset for v3.38.3 (#10450)
mrubens Jan 4, 2026
d23824d
Changeset version bump (#10451)
github-actions[bot] Jan 4, 2026
b6053fa
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 4, 2026
bf764aa
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 4, 2026
cbc0ae4
feat: add image support documentation to read_file native tool descri…
roomote-v0[bot] Jan 5, 2026
0bb551d
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 5, 2026
6d55b6a
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 5, 2026
f2276be
fix: add explicit deduplication for duplicate tool_result blocks (#10…
roomote-v0[bot] Jan 5, 2026
30dd454
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 5, 2026
b11d53a
VSCode shim + basic cli (#10452)
cte Jan 5, 2026
0397470
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 5, 2026
424bce6
Add an option to use our cli for evals (#10456)
cte Jan 5, 2026
3fb1c70
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 5, 2026
3fdb575
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 6, 2026
6f09481
fix: preserve tool_use blocks for all tool_results in kept messages d…
daniel-lxs Jan 6, 2026
6b13d1d
fix: add additionalProperties: false to MCP tool schemas for OpenAI R…
daniel-lxs Jan 6, 2026
361a8ba
feat(cli): add zgsm provider support
mini2s Jan 6, 2026
2269c55
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 6, 2026
861139c
Add a cli installer (#10474)
cte Jan 6, 2026
6440048
feat(zgsm): add debug mode and fix tool name handling
mini2s Jan 6, 2026
cd06643
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 6, 2026
d42e293
feat(i18n): add debug status to custom config label
mini2s Jan 6, 2026
4f423d1
refactor: improve terminal encoding handling and UI styling
mini2s Jan 6, 2026
c4c050c
feat(ui): add automatically focus option for chat input
mini2s Jan 6, 2026
503f402
feat(proxy): add debug-mode proxy routing (#10467)
hannesrudolph Jan 6, 2026
b504ab2
feat(terminal): enhance compilation markers and output handling
mini2s Jan 6, 2026
62eac59
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 6, 2026
741b268
fix: prevent duplicate tool_result blocks causing API errors (#10497)
daniel-lxs Jan 6, 2026
f51c987
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 7, 2026
781ed1e
feat: add Kimi K2 thinking model to Fireworks AI provider (#9202)
roomote-v0[bot] Jan 7, 2026
7f2978a
fix: add missing description fields for debugProxy configuration (#10…
roomote-v0[bot] Jan 7, 2026
d55c6d4
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 7, 2026
8493410
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 7, 2026
2d22804
Tweak the style of the follow up suggestion modes (#9260)
mrubens Jan 7, 2026
d0991af
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 7, 2026
41c5ff6
feat(web-evals): remember last Roo model selection + add evals skill …
hannesrudolph Jan 7, 2026
7bbdcdf
feat: rename YOLO to BRRR (#10507)
roomote-v0[bot] Jan 7, 2026
4d99e1d
refactor: migrate ZGSM env vars to COSTRICT
mini2s Jan 7, 2026
962f905
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 7, 2026
9700eab
feat: implement sticky provider profile for task-level API config per…
hannesrudolph Jan 7, 2026
494bbd6
feat(settings): move CHAT_SEARCH from experimental to UI settings
mini2s Jan 7, 2026
e287a82
fix: remove legacy Claude 2 series models from Bedrock provider (#10501)
roomote-v0[bot] Jan 7, 2026
43f7ce0
feat: add support for image file @mentions (#10189)
hannesrudolph Jan 7, 2026
b5301f2
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 7, 2026
d7d3f40
fix: handle PowerShell ENOENT error in os-name on Windows (#9897)
roomote-v0[bot] Jan 7, 2026
e3b90fb
feat: add xhigh reasoning effort to OpenAI compatible endpoints (#10061)
roomote-v0[bot] Jan 7, 2026
7552581
feat: filter @ mention file search results using .rooignore (#10174)
roomote-v0[bot] Jan 7, 2026
ca0c901
fix: use task stored API config as fallback for rate limit (#10266)
roomote-v0[bot] Jan 8, 2026
1573edf
fix: make command chaining examples shell-aware for Windows compatibi…
roomote-v0[bot] Jan 8, 2026
0cf883a
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
6f8db42
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
710e7dd
feat(types): add zai-glm-4.7 to Cerebras models (#10500)
sebastiand-cerebras Jan 8, 2026
06a990d
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
b2941d5
🐛 Fix glitchy kangaroo bounce animation on welcome screen (#10035)
objectiveSee Jan 8, 2026
290605e
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
f84bead
Release v3.39.0 (#10537)
mrubens Jan 8, 2026
2ea72f3
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
3222c40
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 8, 2026
a10b450
feat: Change "Get Started" button label to "Create Roo Account" (#10543)
roomote-v0[bot] Jan 8, 2026
9ddbc9b
fix: add @roo-code/cli to changeset ignore list (#10545)
mrubens Jan 8, 2026
2cd4c2e
Changeset version bump (#10546)
github-actions[bot] Jan 8, 2026
a34dcf9
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 8, 2026
93bccfe
Update changelog for version 3.39.0 release
mrubens Jan 8, 2026
4881333
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 8, 2026
1d9f7f2
fix: change minItems from 2 to 1 for Anthropic API compatibility (#10…
daniel-lxs Jan 8, 2026
e3c0cd6
fix: disable Gemini thought signature persistence to prevent corrupte…
daniel-lxs Jan 8, 2026
ef4b950
fix: stabilize file paths during native tool call streaming (#10555)
daniel-lxs Jan 8, 2026
58b0441
Release v3.39.1 (#10557)
mrubens Jan 8, 2026
eb7d8f4
Changeset version bump (#10558)
github-actions[bot] Jan 8, 2026
caa3779
chore(cli): change default model to anthropic/claude-opus-4.5 (#10544)
mrubens Jan 8, 2026
9ac4499
fix: ensure assistant message content is never undefined for Gemini c…
daniel-lxs Jan 9, 2026
3c14252
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 9, 2026
2ff08b5
Update Terms of Service (effective January 9, 2026) (#10568)
mrubens Jan 9, 2026
debecc6
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 9, 2026
c37f4e6
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 9, 2026
ade10e2
fix(vscode-lm): order text parts before tool calls in assistant messa…
daniel-lxs Jan 9, 2026
7b771a2
fix: merge approval feedback into tool result instead of pushing dupl…
daniel-lxs Jan 9, 2026
b7bd859
feat: improve error messaging for stream termination errors from prov…
daniel-lxs Jan 9, 2026
4697b08
Merge branch 'main' of github.com:zgsm-ai/costrict into roo-to-main
mini2s Jan 9, 2026
ad08efa
Merge remote-tracking branch 'upstream/main' into roo-to-main
mini2s Jan 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/api/transform/__tests__/vscode-lm-format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ describe("convertToVsCodeLmMessages", () => {
expect(result).toHaveLength(1)
expect(result[0].role).toBe("assistant")
expect(result[0].content).toHaveLength(2)
const [toolCall, textContent] = result[0].content as [MockLanguageModelToolCallPart, MockLanguageModelTextPart]
expect(toolCall.type).toBe("tool_call")
// Text must come before tool calls so that tool calls are at the end,
// properly followed by user message with tool results
const [textContent, toolCall] = result[0].content as [MockLanguageModelTextPart, MockLanguageModelToolCallPart]
expect(textContent.type).toBe("text")
expect(toolCall.type).toBe("tool_call")
})

it("should handle image blocks with appropriate placeholders", () => {
Expand Down
21 changes: 11 additions & 10 deletions src/api/transform/vscode-lm-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,18 @@ export function convertToVsCodeLmMessages(
{ nonToolMessages: [], toolMessages: [] },
)

// Process tool messages first then non-tool messages
// Process non-tool messages first, then tool messages
// Tool calls must come at the end so they are properly followed by user message with tool results
const contentParts = [
// Convert tool messages to ToolCallParts first
// Convert non-tool messages to TextParts first
...nonToolMessages.map((part) => {
if (part.type === "image") {
return new vscode.LanguageModelTextPart("[Image generation not supported by VSCode LM API]")
}
return new vscode.LanguageModelTextPart(part.text)
}),

// Convert tool messages to ToolCallParts after text
...toolMessages.map(
(toolMessage) =>
new vscode.LanguageModelToolCallPart(
Expand All @@ -125,14 +134,6 @@ export function convertToVsCodeLmMessages(
asObjectSafe(toolMessage.input),
),
),

// Convert non-tool messages to TextParts after tool messages
...nonToolMessages.map((part) => {
if (part.type === "image") {
return new vscode.LanguageModelTextPart("[Image generation not supported by VSCode LM API]")
}
return new vscode.LanguageModelTextPart(part.text)
}),
]

// Add the assistant message to the list of messages
Expand Down
83 changes: 73 additions & 10 deletions src/core/assistant-message/presentAssistantMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ export async function presentAssistantMessage(cline: Task) {
const toolCallId = mcpBlock.id
const toolProtocol = TOOL_PROTOCOL.NATIVE // MCP tools in native mode always use native protocol

const pushToolResult = (content: ToolResponse) => {
// Store approval feedback to merge into tool result (GitHub #10465)
let approvalFeedback: { text: string; images?: string[] } | undefined

const pushToolResult = (content: ToolResponse, feedbackImages?: string[]) => {
if (hasToolResult) {
console.warn(
`[presentAssistantMessage] Skipping duplicate tool_result for mcp_tool_use: ${toolCallId}`,
Expand Down Expand Up @@ -179,6 +182,18 @@ export async function presentAssistantMessage(cline: Task) {
"(tool did not return anything)"
}

// Merge approval feedback into tool result (GitHub #10465)
if (approvalFeedback) {
const feedbackText = formatResponse.toolApprovedWithFeedback(approvalFeedback.text, toolProtocol)
resultContent = `${feedbackText}\n\n${resultContent}`

// Add feedback images to the image blocks
if (approvalFeedback.images) {
const feedbackImageBlocks = formatResponse.imageBlocks(approvalFeedback.images)
imageBlocks = [...feedbackImageBlocks, ...imageBlocks]
}
}

if (toolCallId) {
cline.pushToolResultToUserContent({
type: "tool_result",
Expand Down Expand Up @@ -230,11 +245,12 @@ export async function presentAssistantMessage(cline: Task) {
return false
}

// Store approval feedback to be merged into tool result (GitHub #10465)
// Don't push it as a separate tool_result here - that would create duplicates.
// The tool will call pushToolResult, which will merge the feedback into the actual result.
if (text) {
await cline.say("user_feedback", text, images)
pushToolResult(
formatResponse.toolResult(formatResponse.toolApprovedWithFeedback(text, toolProtocol), images),
)
approvalFeedback = { text, images }
}

return true
Expand Down Expand Up @@ -519,6 +535,9 @@ export async function presentAssistantMessage(cline: Task) {
// Previously resolved from experiments.isEnabled(..., EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS)
const isMultipleNativeToolCallsEnabled = false

// Store approval feedback to merge into tool result (GitHub #10465)
let approvalFeedback: { text: string; images?: string[] } | undefined

const pushToolResult = (content: ToolResponse) => {
const editTools = [
"write_to_file",
Expand Down Expand Up @@ -555,6 +574,21 @@ export async function presentAssistantMessage(cline: Task) {
"(tool did not return anything)"
}

// Merge approval feedback into tool result (GitHub #10465)
if (approvalFeedback) {
const feedbackText = formatResponse.toolApprovedWithFeedback(
approvalFeedback.text,
toolProtocol,
)
resultContent = `${feedbackText}\n\n${resultContent}`

// Add feedback images to the image blocks
if (approvalFeedback.images) {
const feedbackImageBlocks = formatResponse.imageBlocks(approvalFeedback.images)
imageBlocks = [...feedbackImageBlocks, ...imageBlocks]
}
}

// Add tool_result with text content only
cline.pushToolResultToUserContent({
type: "tool_result",
Expand All @@ -573,15 +607,44 @@ export async function presentAssistantMessage(cline: Task) {
}
} else {
// For XML protocol, add as text blocks (legacy behavior)
let resultContent: string

if (typeof content === "string") {
resultContent = content || "(tool did not return anything)"
} else {
const textBlocks = content.filter((item) => item.type === "text")
resultContent =
textBlocks.map((item) => (item as Anthropic.TextBlockParam).text).join("\n") ||
"(tool did not return anything)"
}

// Merge approval feedback into tool result (GitHub #10465)
if (approvalFeedback) {
const feedbackText = formatResponse.toolApprovedWithFeedback(
approvalFeedback.text,
toolProtocol,
)
resultContent = `${feedbackText}\n\n${resultContent}`
}

cline.userMessageContent.push({ type: "text", text: `${toolDescription()} Result:` })

if (typeof content === "string") {
cline.userMessageContent.push({
type: "text",
text: content || "(tool did not return anything)",
text: resultContent,
})
} else {
cline.userMessageContent.push(...content)
// Add text content with merged feedback
cline.userMessageContent.push({
type: "text",
text: resultContent,
})
// Add any images from the tool result
const imageBlocks = content.filter((item) => item.type === "image")
if (imageBlocks.length > 0) {
cline.userMessageContent.push(...imageBlocks)
}
}
if (editTools.includes(block.name) && block.partial === false) {
updateCospecMetadata(cline, block?.params?.path)
Expand Down Expand Up @@ -635,12 +698,12 @@ export async function presentAssistantMessage(cline: Task) {
return false
}

// Handle yesButtonClicked with text.
// Store approval feedback to be merged into tool result (GitHub #10465)
// Don't push it as a separate tool_result here - that would create duplicates.
// The tool will call pushToolResult, which will merge the feedback into the actual result.
if (text) {
await cline.say("user_feedback", text, images)
pushToolResult(
formatResponse.toolResult(formatResponse.toolApprovedWithFeedback(text, toolProtocol), images),
)
approvalFeedback = { text, images }
}

return true
Expand Down
29 changes: 9 additions & 20 deletions src/core/prompts/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,18 @@ export const formatResponse = {
return `Access to ${path} is blocked by the .rooignore file settings. You must try to continue in the task without using this file, or ask the user to update the .rooignore file.`
},

noToolsUsed: (protocol?: ToolProtocol, preUserContent?: string, preAssistantMessage?: string) => {
return `SYSTEM NOTICE (MUST COMPLY):

In the previous turn, no tool was called.
This violates a system rule: EVERY assistant turn MUST include at least one tool call.

In this turn:
- You MUST call one appropriate tool.
- Do NOT explain or justify the previous response.
- Do NOT repeat previous content.
- Do NOT respond conversationally.
- If you have completed the user's task, use the attempt_completion tool.`
// const instructions = getToolInstructionsReminder(protocol)
noToolsUsed: (protocol?: ToolProtocol) => {
const instructions = getToolInstructionsReminder(protocol)

// return `[ERROR] You did not use a tool in your previous response! Please retry with a tool use.
// ${instructions}
return `[ERROR] You did not use a tool in your previous response! Please retry with a tool use.
${instructions}

// # Next Steps
# Next Steps

// If you have completed the user's task, use the attempt_completion tool.
// If you require additional information from the user, use the ask_followup_question tool.
// Otherwise, if you have not completed the task and do not need additional information, then proceed with the next step of the task.
// (This is an automated message, so do not respond to it conversationally.)`
If you have completed the user's task, use the attempt_completion tool.
If you require additional information from the user, use the ask_followup_question tool.
Otherwise, if you have not completed the task and do not need additional information, then proceed with the next step of the task.
(This is an automated message, so do not respond to it conversationally.)`
},

tooManyMistakes: (feedback?: string, protocol?: ToolProtocol) => {
Expand Down
29 changes: 9 additions & 20 deletions src/core/task/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2553,20 +2553,15 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
// the user hits max requests and denies resetting the count.
break
} else {
const _nextUserContent = findLast(
nextUserContent,
(block) => block.type === "text" && typeof block.text === "string",
) as { type: string; text: string }

// Use the task's locked protocol, NOT the current settings (fallback to xml if not set)
const content = {
type: "text",
text: formatResponse.noToolsUsed(this._taskToolProtocol ?? "xml", _nextUserContent?.text),
text: formatResponse.noToolsUsed(this._taskToolProtocol ?? "xml"),
} as Anthropic.Messages.ContentBlockParam & { __isNoToolsUsed?: boolean }

Object.defineProperty(content, "__isNoToolsUsed", {
value: true,
enumerable: false, // 不可枚举,JSON 序列化时会被忽略
enumerable: false,
writable: false,
configurable: false,
})
Expand Down Expand Up @@ -3436,6 +3431,9 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
: await this.convertErrorMessage(error, () => {
shouldStop = true
})
if (streamingFailedMessage) {
streamingFailedMessage = `${t("common:interruption.streamTerminatedByProvider")}: ${streamingFailedMessage}`
}
// Clean up partial state
await abortStream(cancelReason, streamingFailedMessage)

Expand Down Expand Up @@ -3693,12 +3691,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
const didToolUse = this.assistantMessageContent.some(
(block) => block.type === "tool_use" || block.type === "mcp_tool_use",
)
const preAssistantMessage =
this.assistantMessageContent[0] &&
["text", "reasoning"].includes(this.assistantMessageContent[0].type)
? (this.assistantMessageContent[0] as any).content ||
(this.assistantMessageContent[0] as any).text
: undefined

if (!didToolUse) {
// Increment consecutive no-tool-use counter
this.consecutiveNoToolUseCount++
Expand All @@ -3713,18 +3706,14 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
// Use the task's locked protocol for consistent behavior
const _content = {
type: "text",
text: formatResponse.noToolsUsed(
this._taskToolProtocol ?? "xml",
undefined,
preAssistantMessage,
),
text: formatResponse.noToolsUsed(this._taskToolProtocol ?? "xml"),
} as (Anthropic.TextBlockParam | Anthropic.ImageBlockParam | Anthropic.ToolResultBlockParam) & {
__isNoToolsUsed?: boolean
}

Object.defineProperty(_content, "__isNoToolsUsed", {
value: true,
enumerable: false, // 不可枚举,JSON 序列化时会被忽略
enumerable: false,
writable: false,
configurable: false,
})
Expand Down Expand Up @@ -5242,7 +5231,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
pauseHandler?.()
}
} else {
errorMsg = error.message
errorMsg = error.message ?? JSON.stringify(serializeError(error), null, 2)
}

return errorMsg
Expand Down
6 changes: 4 additions & 2 deletions src/core/task/validateToolResultIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ export function validateAndFixToolResultIds(
)

// Deduplicate tool_result blocks to prevent API protocol violations (GitHub #10465)
// Terminal fallback race conditions can generate duplicate tool_results with the same tool_use_id.
// Filter out duplicates before validation since Set-based checks below would miss them.
// This serves as a safety net for any potential race conditions that could generate
// duplicate tool_results with the same tool_use_id. The root cause (approval feedback
// creating duplicate results) has been fixed in presentAssistantMessage.ts, but this
// deduplication remains as a defensive measure for unknown edge cases.
const seenToolResultIds = new Set<string>()
const deduplicatedContent = userMessage.content.filter((block) => {
if (block.type !== "tool_result") {
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@
},
"interruption": {
"responseInterruptedByUser": "Response interrupted by user",
"responseInterruptedByApiError": "Response interrupted by API error"
"responseInterruptedByApiError": "Response interrupted by API error",
"streamTerminatedByProvider": "Provider ended the request"
},
"storage": {
"prompt_custom_path": "Enter custom conversation history storage path, leave empty to use default location",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/zh-CN/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/i18n/locales/zh-TW/common.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.