Skip to content

Conversation

@hannesrudolph
Copy link
Collaborator

@hannesrudolph hannesrudolph commented Dec 9, 2025

Summary

BEFORE
image

AFTER
image

Fixes a bug where non-HTTP-status-code error messages (like "Request timed out.") were being replaced with the generic "API Request Failed" text in the retry error display.

Changes

  • Modified webview-ui/src/components/chat/ChatRow.tsx to display the actual error message when it doesn't start with an HTTP status code (400+)
  • Previously, the error handling code only parsed messages starting with HTTP status codes, causing other error messages to fall through to the generic i18n string

Testing

  • All existing tests pass
  • The fix ensures errors like "Request timed out." from the Roo Code Cloud proxy are now displayed to users instead of "API Request Failed"

Previously, when the API returned non-HTTP-status-code errors like
'Request timed out.', the UI would display the generic message
'API Request Failed' instead of the actual error text.

This fix ensures that error messages that don't start with HTTP status
codes (400+) are displayed directly to the user, improving error
visibility and debugging.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Dec 9, 2025
@roomote
Copy link
Contributor

roomote bot commented Dec 9, 2025

Oroocle Clock   See task on Roo Cloud

Re-review complete for commit 2f664e9. No new issues were identified; existing checks remain satisfied.

  • Verify retry error messages render correctly for HTTP status code errors
  • Verify non-HTTP-status-code errors display the raw message text
  • Check ErrorRow usage and docs link behavior for retry-delayed errors
  • Confirm no regressions in surrounding API request flow
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Dec 9, 2025
@hannesrudolph hannesrudolph moved this from Triage to PR [Needs Review] in Roo Code Roadmap Dec 9, 2025
@hannesrudolph hannesrudolph added PR - Needs Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Dec 9, 2025
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Dec 9, 2025
@hannesrudolph hannesrudolph force-pushed the fix/display-actual-api-error-message branch from e3d75a0 to 2f664e9 Compare December 9, 2025 20:42
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Dec 9, 2025
@cte cte requested a review from brunobergher December 9, 2025 20:48
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 9, 2025
@brunobergher
Copy link
Collaborator

🙌

@cte cte merged commit f89a6be into main Dec 9, 2025
38 checks passed
@cte cte deleted the fix/display-actual-api-error-message branch December 9, 2025 20:53
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Dec 9, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Dec 9, 2025
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 10, 2025
* feat(auth): enhance login status logging and use dynamic plugin version

* refactor:  remove disable provider and add client id headers

* test(webview): remove disable  provider tests across multiple test files

* fix: enable caching for Opus 4.5 model (RooCodeInc#9568)

Added claude-opus-4-5-20251101 to the cache control switch statements
to enable prompt caching, matching the behavior of other Claude models.

Fixes RooCodeInc#9567

Co-authored-by: Roo Code <[email protected]>

* feat: Add contact links to About Roo Code settings page (RooCodeInc#9570)

* feat: add contact links to About settings page

* Tweaks

* i18n

* Update webview-ui/src/components/settings/__tests__/About.spec.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: add Claude Opus 4.5 model to Bedrock provider (RooCodeInc#9572)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.34.3 (RooCodeInc#9578)

* Changeset version bump (RooCodeInc#9579)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: preserve dynamic MCP tool names in native mode API history (RooCodeInc#9559)

* fix: preserve tool_use blocks in summary message during condensing with native tools (RooCodeInc#9582)

* Add support for images api (RooCodeInc#9587)

* Make it clear that BFL Flux 2 is free (RooCodeInc#9588)

* Add BFL models to openrouter (RooCodeInc#9589)

* chore: add changeset for v3.34.4 (RooCodeInc#9590)

* Changeset version bump (RooCodeInc#9591)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: set native tools as default for minimax-m2 and claude-haiku-4.5 (RooCodeInc#9586)

* feat: enable multiple native tool calls per turn with failure guardrails (RooCodeInc#9273)

* feat: add Bedrock Opus 4.5 to global inference model list (RooCodeInc#9595)

Co-authored-by: Roo Code <[email protected]>

* fix: update API handler when toolProtocol changes (RooCodeInc#9599)

* Make single file read only apply to xml tools (RooCodeInc#9600)

* Revert "Add support for Roo Code Cloud as an embeddings provider" (RooCodeInc#9602)

* feat(web-evals): enhance dashboard with dynamic tool columns and UX improvements (RooCodeInc#9592)

Co-authored-by: Roo Code <[email protected]>

* fix(webview): pass taskId to finishSubTask when canceling or deleting tasks

* chore: add changeset for v3.34.5 (RooCodeInc#9603)

* Changeset version bump (RooCodeInc#9604)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Feature/bedrock embeddings support (RooCodeInc#9475)

* feat: add AWS Bedrock support for codebase indexing

- Add bedrock as a new EmbedderProvider type
- Add AWS Bedrock embedding model profiles (titan-embed-text models)
- Create BedrockEmbedder class with support for Titan and Cohere models
- Add Bedrock configuration support to config manager and interfaces
- Update service factory to create BedrockEmbedder instances
- Add comprehensive tests for BedrockEmbedder
- Add localization strings for Bedrock support

Closes RooCodeInc#8658

* fix: add missing bedrockOptions to loadConfiguration return type

* Fix various issues that the original PR missed.

* Remove debug logs

* Rename AWS Bedrock -> Amazon Bedrock

* Remove some 'as any's

* Revert README changes

* Add translations

* More translations

* Remove leftover code from a debugging session.

* fix: add bedrock to codebaseIndexModelsSchema and update brace-expansion override

- Add bedrock provider to codebaseIndexModelsSchema type definition to fix empty model dropdown in UI
- Update pnpm override for brace-expansion from '>=2.0.2' to '^2.0.2' to resolve ESM/CommonJS compatibility issues

* Improvements to AWS Bedrock embeddings support

- Enhanced bedrock.ts embedder implementation
- Added comprehensive test coverage in bedrock.spec.ts
- Updated config-manager.ts for better Bedrock configuration handling
- Improved service-factory.ts integration
- Updated embeddingModels.ts with Bedrock models
- Enhanced CodeIndexPopover.tsx UI for Bedrock options
- Added auto-populate test for CodeIndexPopover
- Updated pnpm-lock.yaml dependencies

* Restore openrouter config

* Remove debug log

* Fix config-manager.spec.ts unit test.

* Add translations for "optional"

* Revert unnecessary change related to open ia embedder

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>

* fix: restore content undefined check in WriteToFileTool.handlePartial() (RooCodeInc#9614)

* fix: exclude access_mcp_resource tool when MCP has no resources (RooCodeInc#9615)

* fix: prevent model cache from persisting empty API responses (RooCodeInc#9623)

* fix: update default settings for inline terminal and codebase indexing (RooCodeInc#9622)

Co-authored-by: Roo Code <[email protected]>

* feat(mistral): add native tool calling support (RooCodeInc#9625)

* feat: wire MULTIPLE_NATIVE_TOOL_CALLS experiment to OpenAI parallel_tool_calls (RooCodeInc#9621)

* feat(bedrock): allow global inference selection when cross-region is enabled (RooCodeInc#9616)

Co-authored-by: Roo Code <[email protected]>

* fix: defer new_task tool_result until subtask completes for native protocol (RooCodeInc#9628)

* fix: convert line_ranges strings to lineRanges objects in native tool calls (RooCodeInc#9627)

* fix: filter non-Anthropic content blocks before sending to Vertex API (RooCodeInc#9618)

* Add fine grained tool streaming for OpenRouter Anthropic (RooCodeInc#9629)

* Release v3.34.6 (RooCodeInc#9631)

* Changeset version bump (RooCodeInc#9632)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: OpenRouter GPT-5 strict schema validation for read_file tool (RooCodeInc#9633)

* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: George Goranov <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 10, 2025
* chore: add changeset for v3.34.3 (RooCodeInc#9578)

* Changeset version bump (RooCodeInc#9579)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: preserve dynamic MCP tool names in native mode API history (RooCodeInc#9559)

* fix: preserve tool_use blocks in summary message during condensing with native tools (RooCodeInc#9582)

* Add support for images api (RooCodeInc#9587)

* Make it clear that BFL Flux 2 is free (RooCodeInc#9588)

* Add BFL models to openrouter (RooCodeInc#9589)

* chore: add changeset for v3.34.4 (RooCodeInc#9590)

* Changeset version bump (RooCodeInc#9591)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: set native tools as default for minimax-m2 and claude-haiku-4.5 (RooCodeInc#9586)

* feat: enable multiple native tool calls per turn with failure guardrails (RooCodeInc#9273)

* feat: add Bedrock Opus 4.5 to global inference model list (RooCodeInc#9595)

Co-authored-by: Roo Code <[email protected]>

* fix: update API handler when toolProtocol changes (RooCodeInc#9599)

* Make single file read only apply to xml tools (RooCodeInc#9600)

* Revert "Add support for Roo Code Cloud as an embeddings provider" (RooCodeInc#9602)

* feat(web-evals): enhance dashboard with dynamic tool columns and UX improvements (RooCodeInc#9592)

Co-authored-by: Roo Code <[email protected]>

* fix(webview): pass taskId to finishSubTask when canceling or deleting tasks

* chore: add changeset for v3.34.5 (RooCodeInc#9603)

* Changeset version bump (RooCodeInc#9604)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Feature/bedrock embeddings support (RooCodeInc#9475)

* feat: add AWS Bedrock support for codebase indexing

- Add bedrock as a new EmbedderProvider type
- Add AWS Bedrock embedding model profiles (titan-embed-text models)
- Create BedrockEmbedder class with support for Titan and Cohere models
- Add Bedrock configuration support to config manager and interfaces
- Update service factory to create BedrockEmbedder instances
- Add comprehensive tests for BedrockEmbedder
- Add localization strings for Bedrock support

Closes RooCodeInc#8658

* fix: add missing bedrockOptions to loadConfiguration return type

* Fix various issues that the original PR missed.

* Remove debug logs

* Rename AWS Bedrock -> Amazon Bedrock

* Remove some 'as any's

* Revert README changes

* Add translations

* More translations

* Remove leftover code from a debugging session.

* fix: add bedrock to codebaseIndexModelsSchema and update brace-expansion override

- Add bedrock provider to codebaseIndexModelsSchema type definition to fix empty model dropdown in UI
- Update pnpm override for brace-expansion from '>=2.0.2' to '^2.0.2' to resolve ESM/CommonJS compatibility issues

* Improvements to AWS Bedrock embeddings support

- Enhanced bedrock.ts embedder implementation
- Added comprehensive test coverage in bedrock.spec.ts
- Updated config-manager.ts for better Bedrock configuration handling
- Improved service-factory.ts integration
- Updated embeddingModels.ts with Bedrock models
- Enhanced CodeIndexPopover.tsx UI for Bedrock options
- Added auto-populate test for CodeIndexPopover
- Updated pnpm-lock.yaml dependencies

* Restore openrouter config

* Remove debug log

* Fix config-manager.spec.ts unit test.

* Add translations for "optional"

* Revert unnecessary change related to open ia embedder

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>

* fix: restore content undefined check in WriteToFileTool.handlePartial() (RooCodeInc#9614)

* fix: exclude access_mcp_resource tool when MCP has no resources (RooCodeInc#9615)

* fix: prevent model cache from persisting empty API responses (RooCodeInc#9623)

* fix: update default settings for inline terminal and codebase indexing (RooCodeInc#9622)

Co-authored-by: Roo Code <[email protected]>

* feat(mistral): add native tool calling support (RooCodeInc#9625)

* feat: wire MULTIPLE_NATIVE_TOOL_CALLS experiment to OpenAI parallel_tool_calls (RooCodeInc#9621)

* feat(bedrock): allow global inference selection when cross-region is enabled (RooCodeInc#9616)

Co-authored-by: Roo Code <[email protected]>

* fix: defer new_task tool_result until subtask completes for native protocol (RooCodeInc#9628)

* fix: convert line_ranges strings to lineRanges objects in native tool calls (RooCodeInc#9627)

* fix: filter non-Anthropic content blocks before sending to Vertex API (RooCodeInc#9618)

* Add fine grained tool streaming for OpenRouter Anthropic (RooCodeInc#9629)

* Release v3.34.6 (RooCodeInc#9631)

* Changeset version bump (RooCodeInc#9632)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: OpenRouter GPT-5 strict schema validation for read_file tool (RooCodeInc#9633)

* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: George Goranov <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 10, 2025
* fix: preserve dynamic MCP tool names in native mode API history (RooCodeInc#9559)

* fix: preserve tool_use blocks in summary message during condensing with native tools (RooCodeInc#9582)

* Add support for images api (RooCodeInc#9587)

* Make it clear that BFL Flux 2 is free (RooCodeInc#9588)

* Add BFL models to openrouter (RooCodeInc#9589)

* chore: add changeset for v3.34.4 (RooCodeInc#9590)

* Changeset version bump (RooCodeInc#9591)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: set native tools as default for minimax-m2 and claude-haiku-4.5 (RooCodeInc#9586)

* feat: enable multiple native tool calls per turn with failure guardrails (RooCodeInc#9273)

* feat: add Bedrock Opus 4.5 to global inference model list (RooCodeInc#9595)

Co-authored-by: Roo Code <[email protected]>

* fix: update API handler when toolProtocol changes (RooCodeInc#9599)

* Make single file read only apply to xml tools (RooCodeInc#9600)

* Revert "Add support for Roo Code Cloud as an embeddings provider" (RooCodeInc#9602)

* feat(web-evals): enhance dashboard with dynamic tool columns and UX improvements (RooCodeInc#9592)

Co-authored-by: Roo Code <[email protected]>

* fix(webview): pass taskId to finishSubTask when canceling or deleting tasks

* chore: add changeset for v3.34.5 (RooCodeInc#9603)

* Changeset version bump (RooCodeInc#9604)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Feature/bedrock embeddings support (RooCodeInc#9475)

* feat: add AWS Bedrock support for codebase indexing

- Add bedrock as a new EmbedderProvider type
- Add AWS Bedrock embedding model profiles (titan-embed-text models)
- Create BedrockEmbedder class with support for Titan and Cohere models
- Add Bedrock configuration support to config manager and interfaces
- Update service factory to create BedrockEmbedder instances
- Add comprehensive tests for BedrockEmbedder
- Add localization strings for Bedrock support

Closes RooCodeInc#8658

* fix: add missing bedrockOptions to loadConfiguration return type

* Fix various issues that the original PR missed.

* Remove debug logs

* Rename AWS Bedrock -> Amazon Bedrock

* Remove some 'as any's

* Revert README changes

* Add translations

* More translations

* Remove leftover code from a debugging session.

* fix: add bedrock to codebaseIndexModelsSchema and update brace-expansion override

- Add bedrock provider to codebaseIndexModelsSchema type definition to fix empty model dropdown in UI
- Update pnpm override for brace-expansion from '>=2.0.2' to '^2.0.2' to resolve ESM/CommonJS compatibility issues

* Improvements to AWS Bedrock embeddings support

- Enhanced bedrock.ts embedder implementation
- Added comprehensive test coverage in bedrock.spec.ts
- Updated config-manager.ts for better Bedrock configuration handling
- Improved service-factory.ts integration
- Updated embeddingModels.ts with Bedrock models
- Enhanced CodeIndexPopover.tsx UI for Bedrock options
- Added auto-populate test for CodeIndexPopover
- Updated pnpm-lock.yaml dependencies

* Restore openrouter config

* Remove debug log

* Fix config-manager.spec.ts unit test.

* Add translations for "optional"

* Revert unnecessary change related to open ia embedder

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>

* fix: restore content undefined check in WriteToFileTool.handlePartial() (RooCodeInc#9614)

* fix: exclude access_mcp_resource tool when MCP has no resources (RooCodeInc#9615)

* fix: prevent model cache from persisting empty API responses (RooCodeInc#9623)

* fix: update default settings for inline terminal and codebase indexing (RooCodeInc#9622)

Co-authored-by: Roo Code <[email protected]>

* feat(mistral): add native tool calling support (RooCodeInc#9625)

* feat: wire MULTIPLE_NATIVE_TOOL_CALLS experiment to OpenAI parallel_tool_calls (RooCodeInc#9621)

* feat(bedrock): allow global inference selection when cross-region is enabled (RooCodeInc#9616)

Co-authored-by: Roo Code <[email protected]>

* fix: defer new_task tool_result until subtask completes for native protocol (RooCodeInc#9628)

* fix: convert line_ranges strings to lineRanges objects in native tool calls (RooCodeInc#9627)

* fix: filter non-Anthropic content blocks before sending to Vertex API (RooCodeInc#9618)

* Add fine grained tool streaming for OpenRouter Anthropic (RooCodeInc#9629)

* Release v3.34.6 (RooCodeInc#9631)

* Changeset version bump (RooCodeInc#9632)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: OpenRouter GPT-5 strict schema validation for read_file tool (RooCodeInc#9633)

* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: George Goranov <[email protected]>
Co-authored-by: Smartsheet-JB-Brown <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 11, 2025
* fix: restore content undefined check in WriteToFileTool.handlePartial() (RooCodeInc#9614)

* fix: exclude access_mcp_resource tool when MCP has no resources (RooCodeInc#9615)

* fix: prevent model cache from persisting empty API responses (RooCodeInc#9623)

* fix: update default settings for inline terminal and codebase indexing (RooCodeInc#9622)

Co-authored-by: Roo Code <[email protected]>

* feat(mistral): add native tool calling support (RooCodeInc#9625)

* feat: wire MULTIPLE_NATIVE_TOOL_CALLS experiment to OpenAI parallel_tool_calls (RooCodeInc#9621)

* feat(bedrock): allow global inference selection when cross-region is enabled (RooCodeInc#9616)

Co-authored-by: Roo Code <[email protected]>

* fix: defer new_task tool_result until subtask completes for native protocol (RooCodeInc#9628)

* fix: convert line_ranges strings to lineRanges objects in native tool calls (RooCodeInc#9627)

* fix: filter non-Anthropic content blocks before sending to Vertex API (RooCodeInc#9618)

* Add fine grained tool streaming for OpenRouter Anthropic (RooCodeInc#9629)

* Release v3.34.6 (RooCodeInc#9631)

* Changeset version bump (RooCodeInc#9632)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: OpenRouter GPT-5 strict schema validation for read_file tool (RooCodeInc#9633)

* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 12, 2025
* fix: filter non-Anthropic content blocks before sending to Vertex API (RooCodeInc#9618)

* Add fine grained tool streaming for OpenRouter Anthropic (RooCodeInc#9629)

* Release v3.34.6 (RooCodeInc#9631)

* Changeset version bump (RooCodeInc#9632)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: OpenRouter GPT-5 strict schema validation for read_file tool (RooCodeInc#9633)

* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

---------

Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 13, 2025
* fix: create parent directories early in write_to_file to prevent ENOENT errors (RooCodeInc#9640)

* Fix openrouter tool calls (RooCodeInc#9642)

* fix(claude-code): disable native tools and temperature support (RooCodeInc#9643)

* Enable native tool calling for z.ai (RooCodeInc#9645)

* Moonshot native tool call support (RooCodeInc#9646)

* Support native tools in the anthropic provider (RooCodeInc#9644)

Co-authored-by: Roo Code <[email protected]>

* Add 'taking you to cloud' screen after provider welcome (RooCodeInc#9652)

* chore: add changeset for v3.34.7 (RooCodeInc#9651)

* Changeset version bump (RooCodeInc#9654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 13, 2025
* fix: race condition in new_task tool for native protocol (RooCodeInc#9655)

The pendingNewTaskToolCallId was being set AFTER startSubtask() returned.
However, startSubtask() contains a 500ms delay during which the subtask
could complete. If the subtask completed during this window, completeSubtask()
would be called before pendingNewTaskToolCallId was set, causing it to
fall through to the XML protocol path and add a text message instead of
a proper tool_result block, breaking the API conversation structure.

This fix moves the pendingNewTaskToolCallId assignment to happen BEFORE
calling startSubtask(), ensuring the ID is set before the subtask starts.
If the subtask creation fails, the pending ID is cleared.

* chore: add changeset for v3.34.8 (RooCodeInc#9657)

* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 14, 2025
* Changeset version bump (RooCodeInc#9658)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add model-specific tool customization via excludedTools and includedTools (RooCodeInc#9641)

* feat: add model-specific tool customization via excludedTools and includedTools

- Add excludedTools and includedTools to ModelInfo schema
- Implement applyModelToolCustomization helper to filter tools based on model config
- Integrate model tool filtering into filterNativeToolsForMode for native protocol
- Add comprehensive tests for tool customization functionality
- Wire up modelInfo through buildNativeToolsArray and Task.ts

This allows providers to override which native tools are available on a per-model basis via MODEL_DEFAULTS, enabling better control over tool selection for models with specific needs.

* feat: add customTools for opt-in only tools

- Add customTools array to ToolGroupConfig for defining opt-in only tools
- Update getToolsForMode() to exclude customTools from default tool set
- Modify applyModelToolCustomization() to include customTools only via includedTools
- Add tests for customTools functionality
- Add comprehensive documentation with usage examples

customTools allows defining tools that are NOT available by default,
even when a mode includes their group. These tools are only available
when explicitly included via a model's includedTools configuration.

This enables:
- Gradual rollout of experimental tools
- Model-specific specialized capabilities
- Safe experimentation without affecting default tool sets

* Add assertions for customTools tests per review feedback

* test: add tests for including customTools via includedTools

* Update src/core/prompts/tools/__tests__/filter-tools-for-mode.spec.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(web-evals): add task log viewing, export failed logs, and new run options (RooCodeInc#9637)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (RooCodeInc#9090)

* feat: add search_and_replace tool for batch text replacements (RooCodeInc#9549)

Co-authored-by: daniel-lxs <[email protected]>

* feat: enable native tool support for DeepSeek and Doubao models (RooCodeInc#9671)

Add supportsNativeTools: true to DeepSeek and Doubao model definitions,
enabling native OpenAI-compatible tool calling for these providers.

Both providers already extend OpenAiHandler which has built-in support
for native tools, so this change is all that's needed to enable the feature.

* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 15, 2025
* feat: add native tool support to Requesty provider (RooCodeInc#9672)

- Import resolveToolProtocol and TOOL_PROTOCOL from @roo-code/types
- Add tools and tool_choice to completion params when native protocol is enabled
- Handle tool_call_partial chunks in streaming response
- Add comprehensive tests for native tool support

* Include tool format in environment details (RooCodeInc#9661)

* feat(groq): enable native tool support for models that support function calling (RooCodeInc#9673)

Co-authored-by: Matt Rubens <[email protected]>

* feat: add native tools support for OpenAI-compatible providers (RooCodeInc#9676)

Co-authored-by: Matt Rubens <[email protected]>

* feat: enable native tool calls for Vertex Gemini models (RooCodeInc#9678)

Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17

* fix: display install count in millions instead of thousands (RooCodeInc#9677)

Co-authored-by: Roo Code <[email protected]>

* feat: add apply_patch native tool (RooCodeInc#9663)

Co-authored-by: daniel-lxs <[email protected]>

* feat: add debug buttons to view API and UI history (RooCodeInc#9684)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* test(workflow): update test expectations after removing run_test functionality

* Add web-evals updates and kill run functionality (RooCodeInc#9681)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>

* Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (RooCodeInc#9690)

* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support

* Add native tool calling for deepinfra (RooCodeInc#9691)

* fix(chat): correct message visibility condition filter

* fix(utils): wrap os-name call in safe fallback for zgsm OS detection

* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 16, 2025
* refactor(core): clean up unused imports and improve file handling logic

* refactor: adjust file limits and multipliers

* ux: Improvements to the new, RCC Provider centric onboarding flow (RooCodeInc#9709)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* ux: Toolbar cleanup and settings consolidation (RooCodeInc#9710)

Co-authored-by: Roo Code <[email protected]>

* Update a couple provider labels (RooCodeInc#9711)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.88.0 (RooCodeInc#9713)

* Remove TabContent wrapper from Modes and MCP (RooCodeInc#9712)

* fix: preserve tool_use blocks in summary for parallel tool calls (RooCodeInc#9714)

Co-authored-by: huajiwuyan <[email protected]>

* feat(chutes): detect native tool support from API supported_features (RooCodeInc#9715)

Co-authored-by: Matt Rubens <[email protected]>

* Add NTC support for Cerebras (RooCodeInc#9692)

* Add native tools support to Unbound (RooCodeInc#9699)

Co-authored-by: Roo Code <[email protected]>

* Add native tool support for vercel ai gateway (RooCodeInc#9697)

Co-authored-by: Roo Code <[email protected]>

* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

---------

Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Silentflower <[email protected]>
Co-authored-by: huajiwuyan <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 17, 2025
* Default grok code fast to native tools (RooCodeInc#9717)

* Bedrock native tool calling (RooCodeInc#9698)

* Support tool calling in native ollama provider (RooCodeInc#9696)

Co-authored-by: Roo Code <[email protected]>

* feat: add native tool support for LiteLLM provider (RooCodeInc#9719)

* fix: prevent navigation buttons from wrapping on smaller screens (RooCodeInc#9721)

Co-authored-by: Roo Code <[email protected]>

* chore: add changeset for v3.35.0 (RooCodeInc#9724)

* Changeset version bump (RooCodeInc#9725)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* chore: bump version to v1.89.0 (RooCodeInc#9718)

* fix: flush pending tool results before task delegation (RooCodeInc#9726)

When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)

* Better IPC error logging (RooCodeInc#9727)

* chore: add changeset for v3.35.1 (RooCodeInc#9728)

* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 17, 2025
* Changeset version bump (RooCodeInc#9729)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Pass app version to provider (RooCodeInc#9730)

* Allow models to contain default temperature (RooCodeInc#9734)

* Look for a tag in the Roo provider to default the model to native tool calling (RooCodeInc#9735)

* Assume all LiteLLM models support native tools (RooCodeInc#9736)

* chore: add changeset for v3.35.2 (RooCodeInc#9737)

* Changeset version bump (RooCodeInc#9738)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Switch to new welcome view (RooCodeInc#9741)

* web: Homepage changes (RooCodeInc#9675)

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>

* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
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: Hannes Rudolph <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 18, 2025
* Add vendor confidentiality section to the system prompt for stealth models (RooCodeInc#9742)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* chore: add changeset for v3.35.3 (RooCodeInc#9743)

* Changeset version bump (RooCodeInc#9745)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Refactor: Remove line_count parameter from write_to_file tool (RooCodeInc#9667)

* fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (RooCodeInc#9752)

Co-authored-by: Roo Code <[email protected]>

* fix: handle malformed native tool calls to prevent hanging (RooCodeInc#9758)

Co-authored-by: Matt Rubens <[email protected]>

* chore: add changeset for v3.35.4 (RooCodeInc#9763)

* Changeset version bump (RooCodeInc#9764)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Convert the Roo provider tools for OpenAI (RooCodeInc#9769)

* Update the evals keygen command (RooCodeInc#9754)

* feat: Add provider routing selection for OpenRouter embeddings (RooCodeInc#9144) (RooCodeInc#9693)

Co-authored-by: Sannidhya <[email protected]>

* ux: Updates to CloudView (RooCodeInc#9776)

* refactor: remove TabHeader and onDone callback from CloudView

- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially

* Updates upsell copy to reflect today's product

* Update webview-ui/src/components/cloud/CloudView.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/ko/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/zh-CN/cloud.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Test fixes

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update model key for minimax in MODEL_DEFAULTS (RooCodeInc#9778)

Co-authored-by: Roo Code <[email protected]>

* Release v3.35.5 (RooCodeInc#9781)

* Changeset version bump (RooCodeInc#9783)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: SannidhyaSah <[email protected]>
Co-authored-by: Sannidhya <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 19, 2025
* Use search_and_replace for minimax (RooCodeInc#9780)

* fix: restore context when rewinding after condense (RooCodeInc#8295) (RooCodeInc#9665)

* fix: remove omission detection logic to fix false positives (RooCodeInc#9787)

Co-authored-by: Roo Code <[email protected]>

* Fix Vercel AI Gateway model fetching (RooCodeInc#9791)

Co-authored-by: Roo Code <[email protected]>

* refactor: remove insert_content tool (RooCodeInc#9751)

Co-authored-by: Roo Code <[email protected]>

* feat: add reasoning_details support to Roo provider (RooCodeInc#9796)

- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider

Co-authored-by: Roo Code <[email protected]>

* chore: hide parallel tool calls experiment and disable feature (RooCodeInc#9798)

* Update next.js (RooCodeInc#9799)

* Fix the download count on the homepage (RooCodeInc#9807)

* Default to native tools for all models in the Roo provider (RooCodeInc#9811)

Co-authored-by: Roo Code <[email protected]>

* Fix/cerebras conservative max tokens (RooCodeInc#9804)

Co-authored-by: Matt Rubens <[email protected]>

* Release v3.36.0 (RooCodeInc#9814)

* Changeset version bump (RooCodeInc#9828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: Seb Duerr <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 20, 2025
* Merge remote-tracking branch 'upstream/main' into roo-to-main

* ux: improved error messages and documentation links (RooCodeInc#9777)

* Minor ui tweaks

* Basic setup for richer API request errors

* Better errors messages and contact link

* i18n

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Update webview-ui/src/i18n/locales/en/chat.json

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Empty better than null

* Update webview-ui/src/i18n/locales/nl/chat.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* i18n

* Start retryAttempt at 1

* Reverse retryAttempt number, just ommit it from the message

---------

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>

* web: New Pricing Page (RooCodeInc#9821)

* Removes Pro, restructures pricing page

* Solves provider/credits

* Update apps/web-roo-code/src/app/pricing/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Updates agent landing pages to not mention a trial that doesn't exist

* Updates agent-specific landing pages to reflect new home and trial

* Indicate the agent landing page the user came from

* Clean up the carousel

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Ignore input to the execa terminal process (RooCodeInc#9827)

* fix: Overly round follow-up question suggestions (RooCodeInc#9829)

Not that rounded

* Always enabled reasoning for models that require it (RooCodeInc#9836)

* ChatView: smoother stick-to-bottom during streaming (RooCodeInc#8999)

* feat: add symlink support for slash commands in .roo/commands folder (RooCodeInc#9838)

Co-authored-by: Roo Code <[email protected]>

* fix: sanitize reasoning_details IDs to remove invalid characters (RooCodeInc#9839)

* feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes (RooCodeInc#9837)

* Be safer about large file reads (RooCodeInc#9843)

validateFileTokenBudget wasn't being called considering
the output budget.

* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

---------

Co-authored-by: Bruno Bergher <[email protected]>
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 <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 22, 2025
* Revert "fix: sanitize reasoning_details IDs to remove invalid characters" (RooCodeInc#9846)

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* Exclude the ID from Roo reasoning details (RooCodeInc#9847)

* fix: prevent cascading truncation loop by only truncating visible messages (RooCodeInc#9844)

* FIX + feat: add MessageManager layer for centralized history coordination (RooCodeInc#9842)

* feat(web-evals): add multi-model launch and UI improvements (RooCodeInc#9845)

Co-authored-by: Roo Code <[email protected]>

* Revert "Exclude the ID from Roo reasoning details" (RooCodeInc#9850)

* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 23, 2025
* fix: handle unknown/invalid native tool calls to prevent extension freeze (RooCodeInc#9834)

* feat: add gpt-5.1-codex-max model to OpenAI provider (RooCodeInc#9848)

* Delete .changeset/symlink-commands.md

* Release v3.36.1 (RooCodeInc#9851)

* Changeset version bump (RooCodeInc#9840)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add dynamic settings support for Roo models from API (RooCodeInc#9852)

* chore: restrict gpt-5 tool set to apply_patch (RooCodeInc#9853)

* Fix chutes model fetching (RooCodeInc#9854)

* Release v3.36.2 (RooCodeInc#9855)

* Changeset version bump (RooCodeInc#9856)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

---------

Co-authored-by: Daniel <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 23, 2025
* Better error logs for parseToolCall exceptions (RooCodeInc#9857)

* (update): Add DeepSeek V3-2 Support for Baseten Provider (RooCodeInc#9861)

Co-authored-by: AlexKer <[email protected]>

* web: Product pages (RooCodeInc#9865)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* fix(chutes): add graceful fallback for model parsing (RooCodeInc#10279)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: emit tool_call_end events in OpenAI handler when streaming ends (RooCodeInc#10280)

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* feat: deprecate XML tool protocol selection, force native for new tasks (RooCodeInc#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

* feat(zai): add GLM-4.7 model with thinking mode support (RooCodeInc#10282)

Co-authored-by: Roo Code <[email protected]>

* fix: improve reasoning_details accumulation and serialization (RooCodeInc#10285)

* feat(evals): add message log deduper utility (RooCodeInc#10286)

* feat(minimax): move environment_details to system message for thinking models (RooCodeInc#10284)

* fix: add CRLF line ending normalization to search_replace and search_and_replace tools (RooCodeInc#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

* refactor(zai): merge environment_details into tool result instead of system message (RooCodeInc#10289)

---------

Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Alex Ker <[email protected]>
Co-authored-by: AlexKer <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 23, 2025
* fix: sanitize removed/invalid API providers to prevent infinite loop (RooCodeInc#9869)

* Update xAI models catalog (RooCodeInc#9872)

* refactor: decouple tools from system prompt (RooCodeInc#9784)

* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* fix(chutes): add graceful fallback for model parsing (RooCodeInc#10279)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: emit tool_call_end events in OpenAI handler when streaming ends (RooCodeInc#10280)

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* feat: deprecate XML tool protocol selection, force native for new tasks (RooCodeInc#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

* feat(zai): add GLM-4.7 model with thinking mode support (RooCodeInc#10282)

Co-authored-by: Roo Code <[email protected]>

* fix: improve reasoning_details accumulation and serialization (RooCodeInc#10285)

* feat(evals): add message log deduper utility (RooCodeInc#10286)

* feat(minimax): move environment_details to system message for thinking models (RooCodeInc#10284)

* fix: add CRLF line ending normalization to search_replace and search_and_replace tools (RooCodeInc#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

* refactor(zai): merge environment_details into tool result instead of system message (RooCodeInc#10289)

* fix: emit tool_call_end events in BaseOpenAiCompatibleProvider (RooCodeInc#10293)

* fix: preserve reasoning_content in condense summary for DeepSeek-reasoner (RooCodeInc#10292)

* Release v3.37.0 (RooCodeInc#10295)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Changeset version bump (RooCodeInc#10296)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

---------

Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 23, 2025
* Stop making count_tokens requests (RooCodeInc#9884)

* Default to using native tools when supported on openrouter (RooCodeInc#9878)

* feat: change defaultToolProtocol default from xml to native (RooCodeInc#9892)

* feat: change defaultToolProtocol to default to native instead of xml

* fix: add missing getMcpHub mock to Subtask Rate Limiting tests

---------

Co-authored-by: Roo Code <[email protected]>

* Refactor: Unified context-management architecture with improved UX (RooCodeInc#9795)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Make eval runs deleteable (RooCodeInc#9909)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* fix(chutes): add graceful fallback for model parsing (RooCodeInc#10279)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: emit tool_call_end events in OpenAI handler when streaming ends (RooCodeInc#10280)

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* feat: deprecate XML tool protocol selection, force native for new tasks (RooCodeInc#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

* feat(zai): add GLM-4.7 model with thinking mode support (RooCodeInc#10282)

Co-authored-by: Roo Code <[email protected]>

* fix: improve reasoning_details accumulation and serialization (RooCodeInc#10285)

* feat(evals): add message log deduper utility (RooCodeInc#10286)

* feat(minimax): move environment_details to system message for thinking models (RooCodeInc#10284)

* fix: add CRLF line ending normalization to search_replace and search_and_replace tools (RooCodeInc#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

* refactor(zai): merge environment_details into tool result instead of system message (RooCodeInc#10289)

* fix: emit tool_call_end events in BaseOpenAiCompatibleProvider (RooCodeInc#10293)

* fix: preserve reasoning_content in condense summary for DeepSeek-reasoner (RooCodeInc#10292)

* Release v3.37.0 (RooCodeInc#10295)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Changeset version bump (RooCodeInc#10296)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: enable mergeToolResultText for Roo Code Cloud provider (RooCodeInc#10301)

---------

Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 24, 2025
* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock (RooCodeInc#9905)

* fix: add Kimi, MiniMax, and Qwen model configurations for Bedrock

- Add moonshot.kimi-k2-thinking with 32K max tokens and 256K context
- Add minimax.minimax-m2 with 16K max tokens and 230K context
- Add qwen.qwen3-next-80b-a3b with 8K max tokens and 262K context
- Add qwen.qwen3-coder-480b-a35b-v1:0 with 8K max tokens and 262K context

All models configured with native tool support and appropriate pricing.

Fixes RooCodeInc#9902

* fix: add preserveReasoning flag and update Kimi K2 context window

- Added preserveReasoning: true to moonshot.kimi-k2-thinking model
- Added preserveReasoning: true to minimax.minimax-m2 model
- Updated Kimi K2 context window from 256_000 to 262_144

These changes ensure:
1. Reasoning traces are properly preserved for both models
2. Roo correctly recognizes task completion
3. Tool calls within reasoning traces are handled appropriately
4. Context window matches AWS Console specification

* fix: update MiniMax M2 context window to 196_608 for Bedrock

Based on AWS CLI testing, the actual context window limit for MiniMax M2
on Bedrock is 196,608 tokens, not 230,000 as initially configured.

* Update packages/types/src/providers/bedrock.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: use foreground color for context-management icons (RooCodeInc#9912)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* fix(chutes): add graceful fallback for model parsing (RooCodeInc#10279)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: emit tool_call_end events in OpenAI handler when streaming ends (RooCodeInc#10280)

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* feat: deprecate XML tool protocol selection, force native for new tasks (RooCodeInc#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

* feat(zai): add GLM-4.7 model with thinking mode support (RooCodeInc#10282)

Co-authored-by: Roo Code <[email protected]>

* fix: improve reasoning_details accumulation and serialization (RooCodeInc#10285)

* feat(evals): add message log deduper utility (RooCodeInc#10286)

* feat(minimax): move environment_details to system message for thinking models (RooCodeInc#10284)

* fix: add CRLF line ending normalization to search_replace and search_and_replace tools (RooCodeInc#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

* refactor(zai): merge environment_details into tool result instead of system message (RooCodeInc#10289)

* fix: emit tool_call_end events in BaseOpenAiCompatibleProvider (RooCodeInc#10293)

* fix: preserve reasoning_content in condense summary for DeepSeek-reasoner (RooCodeInc#10292)

* Release v3.37.0 (RooCodeInc#10295)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Changeset version bump (RooCodeInc#10296)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: enable mergeToolResultText for Roo Code Cloud provider (RooCodeInc#10301)

* feat: add grace retry for empty assistant messages (RooCodeInc#10297)

Implements grace retry error handling for 'no assistant messages' API
errors, following the same pattern as PR RooCodeInc#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

* Release: v1.95.0 (RooCodeInc#10309)

chore: bump version to v1.95.0

* feat(prompts): strengthen native tool-use guidance (RooCodeInc#10311)

* feat: enable mergeToolResultText for all OpenAI-compatible providers (RooCodeInc#10299)

* fix: preserve reasoning_details shape to prevent malformed responses (RooCodeInc#10313)

* fix(task): drain queued messages while waiting for ask (RooCodeInc#10315)

* fix(openai): send native tool definitions by default (RooCodeInc#10314)

Co-authored-by: Roo Code <[email protected]>

* ux: Provider-centric signup (RooCodeInc#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 <[email protected]>

* chore: add changeset for v3.37.1 (RooCodeInc#10316)

* Changeset version bump (RooCodeInc#10317)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Dec 24, 2025
* feat: add xhigh reasoning effort for gpt-5.1-codex-max (RooCodeInc#9900)

* feat: add xhigh reasoning effort for gpt-5.1-codex-max

* fix: Address openai-native.spec.ts test failure

* chore: Localisation of 'Extra high'

* chore: revert unrelated CustomModesManager refactoring

---------

Co-authored-by: Hannes Rudolph <[email protected]>

* feat: add search_replace native tool for single-replacement operations (RooCodeInc#9918)

Adds a new search_replace tool that performs a single search and replace
operation on a file, requiring the old_string to uniquely identify the
target text with 3-5 lines of context.

Parameters:
- file_path: Path to file (relative or absolute)
- old_string: Text to find (must be unique in file)
- new_string: Replacement text (must differ from old_string)

* Improve cloud job error logging for RCC provider errors (RooCodeInc#9924)

* feat: configure tool preferences for xAI models (RooCodeInc#9923)

* fix: process finish_reason to emit tool_call_end events (RooCodeInc#9927)

* fix: suppress 'ask promise was ignored' error in handleError (RooCodeInc#9914)

* fix: exclude apply_diff from native tools when diffEnabled is false (RooCodeInc#9920)

Co-authored-by: Roo Code <[email protected]>

* Try to make OpenAI errors more useful (RooCodeInc#9639)

* refactor: consolidate ThinkingBudget components and fix disable handling (RooCodeInc#9930)

* Add timeout to OpenAI Compatible Provider Client (RooCodeInc#9898)

* fix: add finish_reason processing to xai.ts provider (RooCodeInc#9929)

* Remove defaultTemperature from Roo provider configuration (RooCodeInc#9932)

Co-authored-by: Roo Code <[email protected]>

* feat: forbid time estimates in architect mode (RooCodeInc#9931)

Co-authored-by: Roo Code <[email protected]>

* feat: streaming tool stats + token usage throttling (RooCodeInc#9926)

Co-authored-by: Matt Rubens <[email protected]>

* feat: Make Architect save to `/plans` and gitignore it (RooCodeInc#9944)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* feat: add announcement support CTA and social icons (RooCodeInc#9945)

* fix: display actual API error message instead of generic text on retry (RooCodeInc#9954)

* feat(roo): add versioned settings support with minPluginVersion gating (RooCodeInc#9934)

* Revert "feat: change defaultToolProtocol default from xml to native" (RooCodeInc#9956)

* fix: return undefined instead of 0 for disabled API timeout (RooCodeInc#9960)

* feat(deepseek): update DeepSeek models to V3.2 with new pricing (RooCodeInc#9962)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Add a way to save screenshots from the browser tool (RooCodeInc#9963)

* Add a way to save screenshots from the browser tool

* fix: use cross-platform paths in BrowserSession screenshot tests

* fix: validate screenshot paths to prevent filesystem escape

---------

Co-authored-by: Roo Code <[email protected]>

* Tweaks to baseten model definitions (RooCodeInc#9866)

* fix: always show tool protocol selector for openai-compatible (RooCodeInc#9966)

* feat: add API error telemetry to OpenRouter provider (RooCodeInc#9953)

Co-authored-by: Roo Code <[email protected]>

* fix: validate and fix tool_result IDs before API requests (RooCodeInc#9952)

Co-authored-by: cte <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>

* fix: respect explicit supportsReasoningEffort array values (RooCodeInc#9970)

* v3.36.3 (RooCodeInc#9972)

* fix(activate): unify webview panel identifier to use consistent tabPanelId

* feat(gemini): add minimal and medium reasoning effort levels (RooCodeInc#9973)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Delete changeset files (RooCodeInc#9977)

* Add missing release notes for v3.36.3 (RooCodeInc#9979)

* feat: add error details modal with on-demand display (RooCodeInc#9985)

* feat: add error details modal with on-demand display

- Add errorDetails prop to ErrorRow component
- Show Info icon on hover in error header when errorDetails is provided
- Display detailed error message in modal dialog on Info icon click
- Add Copy to Clipboard button in error details modal
- Update generic error case to show localized message with details on demand
- Add i18n translations for error details UI

* UI Tweaks

* Properly handles error details

* i18n

* Lighter visual treatment for errors

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* Fix: Correct TODO list display order in chat view (ROO-107) (RooCodeInc#9991)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent premature rawChunkTracker clearing for MCP tools (RooCodeInc#9993)

* fix: filter out 429 rate limit errors from API error telemetry (RooCodeInc#9987)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* Release v3.36.4 (RooCodeInc#9994)

* Changeset version bump (RooCodeInc#9995)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add app version to exception captures and filter 402 errors (RooCodeInc#9996)

Co-authored-by: cte <[email protected]>

* Remove Glama provider (RooCodeInc#9801)

* @roo-code/types v1.90.0 (RooCodeInc#9998)

* fix: apply versioned settings on nightly builds (RooCodeInc#9997)

* feat: add toggle for Enter key behavior in chat input (RooCodeInc#10002)

* chore: remove list_code_definition_names tool (RooCodeInc#10005)

Co-authored-by: cte <[email protected]>

* Update roomotes.yml (RooCodeInc#10008)

* fix: add general API endpoints for Z.ai provider (RooCodeInc#9894)

Co-authored-by: Roo Code <[email protected]>

* fix: handle empty Gemini responses and reasoning loops (RooCodeInc#10007)

* fix: add missing tool_result blocks to prevent API errors (RooCodeInc#10015)

* feat: add gpt-5.2 model to openai-native provider (RooCodeInc#10024)

* test: update built-in commands count to 9

* fix: filter orphaned tool_results when more results than tool_uses (RooCodeInc#10027)

* Release v3.36.5 (RooCodeInc#10029)

* Changeset version bump (RooCodeInc#10032)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: merge settings and versionedSettings for Roo provider models (RooCodeInc#10030)

* Revert "fix: merge settings and versionedSettings for Roo provider models" (RooCodeInc#10034)

* Revert the 3.6.5 release (we halted it) (RooCodeInc#10036)

* Release v3.36.5 (RooCodeInc#10037)

* Changeset version bump (RooCodeInc#10038)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* test: adjust terminal count limits in TerminalRegistry tests

* ux: improve auto-approve timer visibility in follow-up suggestions (RooCodeInc#10048)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>

* fix: cancel auto-approval timeout when user starts typing (RooCodeInc#9937)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: extract raw error message from OpenRouter metadata (RooCodeInc#10039)

OpenRouter wraps upstream provider errors in a generic message but includes
the actual error in metadata.raw. This change:

- Adds OpenRouterErrorResponse interface for proper typing
- Creates handleStreamingError() helper for DRY error handling
- Extracts metadata.raw for actionable error messages in PostHog
- Includes nested error structure so getErrorMessage() can extract raw message

Before: PostHog receives '400 Provider returned error' (generic)
After: PostHog receives 'Model xyz not found' (actionable)

This enables proper error tracking and debugging via PostHog telemetry.

* feat: add tool alias support for model-specific tool customization (RooCodeInc#9989)

Co-authored-by: Hannes Rudolph <[email protected]>

* fix: show tool protocol dropdown for LiteLLM provider (RooCodeInc#10053)

* feat: add WorkspaceTaskVisibility type for organization cloud settings (RooCodeInc#10020)

* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <[email protected]>

* Release: v1.91.0 (RooCodeInc#10055)

chore: bump version to v1.91.0

* feat: sanitize MCP server/tool names for API compatibility (RooCodeInc#10054)

* Release v3.36.6 (RooCodeInc#10057)

* Changeset version bump (RooCodeInc#10058)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: use JavaScript-based hover for checkpoint menu visibility (RooCodeInc#10056)

* feat: remove auto-approve toggles for to-do and retry actions (RooCodeInc#10062)

* feat(openrouter): add improvements to openrouter provider (RooCodeInc#10082)

* feat: Add Amazon Nova 2 Lite model to Bedrock provider (RooCodeInc#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add AWS Bedrock service tier support (RooCodeInc#9955)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* Capture more of OpenRouter's provider specific error details (RooCodeInc#10073)

* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure

* feat(web-evals): improve run logs and formatters (RooCodeInc#10081)

* Move isToolAllowedForMode out of shared directory (RooCodeInc#10089)

* chore: add changeset for v3.36.7 (RooCodeInc#10091)

* Changeset version bump (RooCodeInc#10092)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: prevent duplicate MCP tools error by deduplicating servers at source (RooCodeInc#10096)

* feat: add metadata to error details dialog (RooCodeInc#10050)

* feat: add metadata to error details dialog

- Prepends extension version, provider, model, and repository info to error details
- Helps users provide better bug reports with context
- Uses useExtensionState and useSelectedModel hooks for data

* Tweaks

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>

* web: Fixes link to provider pricing page (RooCodeInc#10107)

* feat(read-file): implement incremental token-budgeted file reading (RooCodeInc#10052)

* Add config to control public sharing (RooCodeInc#10105)

Co-authored-by: Roo Code <[email protected]>

* Release: v1.92.0 (RooCodeInc#10116)

* Remove the description from bedrock service tiers (RooCodeInc#10118)

* feat: remove strict ARN validation for Bedrock custom ARN users (RooCodeInc#10110)

Co-authored-by: Roo Code <[email protected]>

* fix: prevent race condition from deleting wrong API messages (RooCodeInc#10113)

Co-authored-by: daniel-lxs <[email protected]>

* feat(anthropic): enable native tools by default and add telemetry tracking (RooCodeInc#10021)

* feat: enable native tools by default for multiple providers (RooCodeInc#10059)

* Release v3.36.8 (RooCodeInc#10119)

* fix: add additionalProperties: false to nested MCP tool schemas (RooCodeInc#10109)

* fix: normalize tool call IDs for cross-provider compatibility via OpenRouter (RooCodeInc#10102)

* feat: add full error details to streaming failure dialog (RooCodeInc#10131)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: cte <[email protected]>

* fix: validate tool_result IDs in delegation resume flow (RooCodeInc#10135)

* feat(evals): improve evals UI with tool groups and duration fix (RooCodeInc#10133)

Co-authored-by: Roo Code <[email protected]>

* Changeset version bump (RooCodeInc#10120)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Release v3.36.9 (RooCodeInc#10138)

* Changeset version bump (RooCodeInc#10137)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: correct token counting for context truncation display (RooCodeInc#9961)

* feat(deepseek): implement interleaved thinking mode for deepseek-reasoner (RooCodeInc#9969)

* Update next.js to ~15.2.8 (RooCodeInc#10140)

* fix(deepseek): preserve reasoning_content during tool call sequences (RooCodeInc#10141)

Co-authored-by: Roo Code <[email protected]>

* feat: add gemini-3-flash-preview model (RooCodeInc#10151)

* Release v3.36.10 (RooCodeInc#10153)

* Changeset version bump (RooCodeInc#10154)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix(bedrock): convert tool_result to XML text when native tools disabled (RooCodeInc#10155)

* fix: remove dots and colons from MCP tool names for Bedrock compatibility (RooCodeInc#10152)

* fix: improve terminal process error handling and abort operation

* fix(ROO-202): refresh Roo models cache with session token on auth state change (RooCodeInc#10156)

* fix: support AWS GovCloud and China region ARNs in Bedrock provider (RooCodeInc#10157)

Co-authored-by: Roo Code <[email protected]>

* feat: enable native tool calling by default for Z.ai models (RooCodeInc#10158)

Co-authored-by: Roo Code <[email protected]>

* [feat] Claude Code Provider Native Tool Calling (RooCodeInc#10077)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: normalize MCP tool schemas for Bedrock and OpenAI strict mode (RooCodeInc#10148)

* fix: enable native tools by default for OpenAI compatible provider (RooCodeInc#10159)

* Release v3.36.11 (RooCodeInc#10161)

* Changeset version bump (RooCodeInc#10162)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): extract error messages from JSON payloads for better PostHog grouping (RooCodeInc#10163)

* fix: add userAgentAppId to Bedrock embedder for code indexing (RooCodeInc#10166)

Adds userAgentAppId configuration to the BedrockRuntimeClient in the
code indexing embedder, matching the implementation pattern already
used in the main Bedrock API provider.

This enables proper user agent identification in CloudTrail AWS requests
when using Bedrock for code indexing embeddings.

Fixes RooCodeInc#10165

Co-authored-by: Roo Code <[email protected]>

* feat: update OpenAI and Gemini tool preferences (RooCodeInc#10170)

* Release v3.36.12 (RooCodeInc#10181)

* Changeset version bump (RooCodeInc#10182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* Revert "Revert "feat: change defaultToolProtocol default from xml to native"" (RooCodeInc#10186)

Co-authored-by: Roo Code <[email protected]>

* fix(litellm): merge default model info with router models for NTC support (RooCodeInc#10187)

* feat(types): add defaultToolProtocol: native to providers

- Added supportsNativeTools: true and defaultToolProtocol: native to all chutes models
- Added defaultToolProtocol: native to moonshot models (already had supportsNativeTools)
- Added defaultToolProtocol: native to litellm default model (already had supportsNativeTools)
- Added defaultToolProtocol: native to minimax models (already had supportsNativeTools)

This enables native tool calling by default for these providers, reducing
the number of users falling back to XML tool protocol unnecessarily.

* fix(litellm): merge only native tool defaults with router models

Only merges supportsNativeTools and defaultToolProtocol from litellmDefaultModelInfo,
not prices or other model-specific info that could be incorrect for different models.

* Release: v1.93.0 (RooCodeInc#10190)

* feat(vscode-lm): add native tool support (RooCodeInc#10191)

* feat: Replace edit_file tool alias with edit_file tool (RooCodeInc#9983)

* feat: lock task tool protocol for consistent task resumption (RooCodeInc#10192)

Co-authored-by: Roo Code <[email protected]>

* feat(telemetry): add PostHog exception tracking for consecutive mistake errors (RooCodeInc#10193)

* Release v3.36.13 (RooCodeInc#10194)

* Changeset version bump (RooCodeInc#10195)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat: improve 'no tools used' error handling with grace retry (RooCodeInc#10196)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* feat(vertex): add native tool calling for Claude models on Vertex AI (RooCodeInc#10197)

Co-authored-by: daniel-lxs <[email protected]>

* fix: strip unsupported JSON Schema format values for OpenAI compatibility (RooCodeInc#10198)

* Release v3.36.14 (RooCodeInc#10200)

* Changeset version bump (RooCodeInc#10201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* feat(telemetry): add telemetry event handling through webview messages

* fix: refresh models button not flushing cache properly (RooCodeInc#9870)

* feat(vertex): add 1M context window beta support for Claude Sonnet 4 (RooCodeInc#10209)

* feat(providers): add native tool calling support to LM Studio and Qwen-Code (RooCodeInc#10208)

* ux: improve API error handling and visibility (RooCodeInc#10204)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Daniel <[email protected]>

* ux: add downloadable error diagnostics from chat errors (RooCodeInc#10188)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>

* feat: merge native tool defaults for openai-compatible provider (RooCodeInc#10213)

* fix: force additionalProperties false for strict mode compatibility (RooCodeInc#10210)

* fix: enable native tool calls for Requesty provider (ROO-235) (RooCodeInc#10211)

* Release v3.36.15 (RooCodeInc#10218)

* Changeset version bump (RooCodeInc#10219)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <[email protected]>

* fix: normalize tool schemas for VS Code LM API to fix error 400 (RooCodeInc#10221)

* Release v3.36.16 (RooCodeInc#10224)

* Changeset version bump (RooCodeInc#10225)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Custom tool calling (RooCodeInc#10083)

* Remove the "test" custom tools (RooCodeInc#10255)

Co-authored-by: Roo Code <[email protected]>

* Add custom tool definitions to @roo-code/types (RooCodeInc#10233)

Co-authored-by: Roo Code <[email protected]>

* fix(evals): add missing packages/core to Dockerfile.runner (RooCodeInc#10272)

* feat: add Cloud Team page with comprehensive team features (RooCodeInc#10267)

* feat: add Cloud Team page with features and pricing integration

* Copy tweaks

* Visual tweaks

* Content adjustments

* Update apps/web-roo-code/src/app/cloud/team/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: remove parallel_tool_calls parameter from litellm provider (RooCodeInc#10274)

Co-authored-by: Roo Code <[email protected]>

* feat(build): add types package bundling and alias support

* update(settings): change default tool protocol to XML

* fix: enable Requesty refresh models with credentials (RooCodeInc#10273)

* fix: disable strict mode for MCP tools to preserve optional parameters (RooCodeInc#10220)

Co-authored-by: Roo Code <[email protected]>

* fix: move array-specific properties into anyOf variant in normalizeToolSchema (RooCodeInc#10276)

* fix: move array-specific properties into anyOf variant in normalizeToolSchema

Fixes read_file tool schema rejection with GPT-5-mini which requires
items property to be inside the { type: 'array' } variant when using
anyOf for nullable arrays.

Resolves ROO-262

* refactor: extract array-specific properties constant and helper function

* refactor(custom-tools): improve tool loading and instance consistency

* fix(chutes): add graceful fallback for model parsing (RooCodeInc#10279)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: emit tool_call_end events in OpenAI handler when streaming ends (RooCodeInc#10280)

* feat(core): add support for custom tool parsing in AssistantMessageParser

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* feat: deprecate XML tool protocol selection, force native for new tasks (RooCodeInc#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

* feat(zai): add GLM-4.7 model with thinking mode support (RooCodeInc#10282)

Co-authored-by: Roo Code <[email protected]>

* fix: improve reasoning_details accumulation and serialization (RooCodeInc#10285)

* feat(evals): add message log deduper utility (RooCodeInc#10286)

* feat(minimax): move environment_details to system message for thinking models (RooCodeInc#10284)

* fix: add CRLF line ending normalization to search_replace and search_and_replace tools (RooCodeInc#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

* refactor(zai): merge environment_details into tool result instead of system message (RooCodeInc#10289)

* fix: emit tool_call_end events in BaseOpenAiCompatibleProvider (RooCodeInc#10293)

* fix: preserve reasoning_content in condense summary for DeepSeek-reasoner (RooCodeInc#10292)

* Release v3.37.0 (RooCodeInc#10295)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Changeset version bump (RooCodeInc#10296)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: enable mergeToolResultText for Roo Code Cloud provider (RooCodeInc#10301)

* feat: add grace retry for empty assistant messages (RooCodeInc#10297)

Implements grace retry error handling for 'no assistant messages' API
errors, following the same pattern as PR RooCodeInc#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

* Release: v1.95.0 (RooCodeInc#10309)

chore: bump version to v1.95.0

* feat(prompts): strengthen native tool-use guidance (RooCodeInc#10311)

* feat: enable mergeToolResultText for all OpenAI-compatible providers (RooCodeInc#10299)

* fix: preserve reasoning_details shape to prevent malformed responses (RooCodeInc#10313)

* fix(task): drain queued messages while waiting for ask (RooCodeInc#10315)

* fix(openai): send native tool definitions by default (RooCodeInc#10314)

Co-authored-by: Roo Code <[email protected]>

* ux: Provider-centric signup (RooCodeInc#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 <[email protected]>

* chore: add changeset for v3.37.1 (RooCodeInc#10316)

* Changeset version bump (RooCodeInc#10317)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* refactor: simplify tool protocol resolution logic

---------

Co-authored-by: Andrew Ginns <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Chris Estreich <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Dennise Bartlett <[email protected]>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Richmond <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Patrick Decat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants