Commit graph

6400 commits

Author SHA1 Message Date
daniel-lxs
1cfe4e84ac
fix: normalize MCP tool schemas for OpenAI strict mode
OpenAI's strict mode function calling requires additionalProperties: false
on all object types in the schema, including nested objects inside arrays.

This fix normalizes schemas at the source when MCP tools are fetched in
McpHub.fetchToolsList(), rather than doing post-processing during conversion
to OpenAI format. This approach:
- Normalizes schemas once when fetched, not on every API call
- Benefits all consumers of MCP tools, not just OpenAI format conversion
- Is cleaner and more maintainable

Added normalizeSchemaForStrictMode utility that handles:
- Nested object properties
- Array items (single schema and tuple validation)
- Schema combinators (anyOf, allOf, oneOf)
- Conditional schemas (if/then/else)
- Schema definitions (definitions and $defs)
2025-12-15 12:54:38 -05:00
github-actions[bot]
1d4fc52485
Changeset version bump (#10092)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-15 09:47:42 -05:00
Matt Rubens
12d9fadf47
chore: add changeset for v3.36.7 (#10091) 2025-12-15 09:43:37 -05:00
Chris Estreich
c7139167ce
Move isToolAllowedForMode out of shared directory (#10089) 2025-12-15 02:18:08 -08:00
Hannes Rudolph
325410955c
feat(web-evals): improve run logs and formatters (#10081) 2025-12-14 17:36:00 -08:00
John Richmond
a80a74aa02
Capture more of OpenRouter's provider specific error details (#10073)
* Capture more of OpenRouter's provider specific error details

* Actually match the openrouter structure
2025-12-14 13:28:32 -08:00
roomote[bot]
9f3122fe28
feat: add AWS Bedrock service tier support (#9955)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-14 15:26:44 -05:00
roomote[bot]
1be8a99b89
feat: Add Amazon Nova 2 Lite model to Bedrock provider (#9830)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-14 15:26:18 -05:00
Hannes Rudolph
e4b9568dc9
feat(openrouter): add improvements to openrouter provider (#10082) 2025-12-14 12:29:34 -07:00
Hannes Rudolph
0fbbe66496
feat: remove auto-approve toggles for to-do and retry actions (#10062) 2025-12-13 19:26:06 -07:00
Hannes Rudolph
a3b258ad62
fix: use JavaScript-based hover for checkpoint menu visibility (#10056) 2025-12-12 14:06:16 -08:00
github-actions[bot]
4771de1ebc
Changeset version bump (#10058)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-12-12 14:04:24 -08:00
Chris Estreich
0742335478
Release v3.36.6 (#10057) 2025-12-12 13:52:54 -08:00
Daniel
3521270888
feat: sanitize MCP server/tool names for API compatibility (#10054) 2025-12-12 13:46:50 -08:00
John Richmond
f60c14e716
Release: v1.91.0 (#10055)
chore: bump version to v1.91.0
2025-12-12 13:07:32 -08:00
roomote[bot]
8da4d3d8d8
feat: add WorkspaceTaskVisibility type for organization cloud settings (#10020)
* feat: add WorkspaceTaskVisibility type and workspaceTaskVisibility property to OrganizationCloudSettings

* refactor: create workspaceTaskVisibilitySchema and derive WorkspaceTaskVisibility type from it

---------

Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-12 12:45:28 -08:00
Daniel
0f8fac9eb5
fix: show tool protocol dropdown for LiteLLM provider (#10053) 2025-12-12 11:33:23 -08:00
Daniel
ba7c5535ba
feat: add tool alias support for model-specific tool customization (#9989)
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
2025-12-12 11:05:21 -08:00
Daniel
23a214c519
fix: extract raw error message from OpenRouter metadata (#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.
2025-12-12 10:42:36 -08:00
roomote[bot]
d976a9b296
fix: cancel auto-approval timeout when user starts typing (#9937)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-12 10:25:14 -05:00
Bruno Bergher
495b5c6c6e
ux: improve auto-approve timer visibility in follow-up suggestions (#10048)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-12 09:51:00 -05:00
github-actions[bot]
f97b5155ac
Changeset version bump (#10038)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-12-11 15:09:55 -07:00
Chris Estreich
4dabd52767
Release v3.36.5 (#10037) 2025-12-11 13:44:39 -08:00
Chris Estreich
5072ff1408
Revert the 3.6.5 release (we halted it) (#10036) 2025-12-11 13:26:15 -08:00
Chris Estreich
7766b91360
Revert "fix: merge settings and versionedSettings for Roo provider models" (#10034) 2025-12-11 13:19:37 -08:00
Hannes Rudolph
c513df5ade
fix: merge settings and versionedSettings for Roo provider models (#10030) 2025-12-11 13:14:12 -08:00
github-actions[bot]
21c2d93ba9
Changeset version bump (#10032)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-12-11 13:08:38 -08:00
Chris Estreich
526e1954ba
Release v3.36.5 (#10029) 2025-12-11 13:02:56 -08:00
Daniel
8a68b04c27
fix: filter orphaned tool_results when more results than tool_uses (#10027) 2025-12-11 12:48:40 -08:00
Hannes Rudolph
51dbccf2e6
feat: add gpt-5.2 model to openai-native provider (#10024) 2025-12-11 13:16:31 -07:00
Daniel
87317091ee
fix: add missing tool_result blocks to prevent API errors (#10015) 2025-12-11 12:02:06 -08:00
Hannes Rudolph
47320dca62
fix: handle empty Gemini responses and reasoning loops (#10007) 2025-12-11 08:55:47 -08:00
roomote[bot]
f9cfc66803
fix: add general API endpoints for Z.ai provider (#9894)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-11 07:38:26 -08:00
Chris Estreich
a1d3a43aa5
Update roomotes.yml (#10008) 2025-12-10 20:43:28 -08:00
Hannes Rudolph
6a30d9488e
chore: remove list_code_definition_names tool (#10005)
Co-authored-by: cte <cestreich@gmail.com>
2025-12-10 20:32:06 -08:00
Hannes Rudolph
0cbaed7e7b
feat: add toggle for Enter key behavior in chat input (#10002) 2025-12-10 20:31:43 -08:00
Hannes Rudolph
483e70c47b
fix: apply versioned settings on nightly builds (#9997) 2025-12-10 14:28:13 -08:00
Chris Estreich
2a70a2ec0e
@roo-code/types v1.90.0 (#9998) 2025-12-10 14:14:38 -08:00
Hannes Rudolph
f05dd59a2b
Remove Glama provider (#9801) 2025-12-10 14:08:29 -08:00
Daniel
1cf6ae6c93
feat(telemetry): add app version to exception captures and filter 402 errors (#9996)
Co-authored-by: cte <cestreich@gmail.com>
2025-12-10 14:06:51 -08:00
github-actions[bot]
380a57823c
Changeset version bump (#9995)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-12-10 11:46:28 -08:00
Chris Estreich
2cd772cb7f
Release v3.36.4 (#9994) 2025-12-10 11:38:54 -08:00
Daniel
fda020a418
fix: filter out 429 rate limit errors from API error telemetry (#9987)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: cte <cestreich@gmail.com>
2025-12-10 11:32:00 -08:00
Daniel
5a4315f58f
fix: prevent premature rawChunkTracker clearing for MCP tools (#9993) 2025-12-10 10:53:25 -08:00
roomote[bot]
e092e77901
Fix: Correct TODO list display order in chat view (ROO-107) (#9991)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-10 10:43:03 -08:00
roomote[bot]
ab18bf3e50
feat: add error details modal with on-demand display (#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 <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>
2025-12-10 16:41:17 +00:00
Chris Estreich
36ef6034e0
Add missing release notes for v3.36.3 (#9979) 2025-12-09 22:43:11 -08:00
Chris Estreich
03912d8399
Delete changeset files (#9977) 2025-12-09 22:29:33 -08:00
Hannes Rudolph
048e7f3502
feat(gemini): add minimal and medium reasoning effort levels (#9973)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: cte <cestreich@gmail.com>
2025-12-09 21:50:14 -08:00
Chris Estreich
0cf5b28569
v3.36.3 (#9972) 2025-12-09 21:16:27 -08:00