Commit graph

1634 commits

Author SHA1 Message Date
renovate[bot]
6472109d4a
chore(deps): update dependency eslint-plugin-react to v7.37.5 (#3205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-06 10:22:15 -07:00
renovate[bot]
242714b22a
chore(deps): update dependency @types/node to v18.19.96 (#3191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-06 10:21:13 -07:00
Chris Estreich
b0757c2d05
Enable Gemini prompt caching by default (#3225) 2025-05-06 09:56:57 -07:00
zetaloop
328a25e889
Add gemini-2.5-pro-preview-05-06 model (#3222)
Add model gemini-2.5-pro-preview-05-06
2025-05-06 09:33:09 -07:00
Dicha Zelianivan Arkana
883cb927a3
refactor: general UI improvements (#2987) 2025-05-06 12:06:20 -04:00
Chris Estreich
2e2c0a8f02
chore: prepare for v3.16.0 release (#3214) 2025-05-06 08:34:29 -07:00
Sam Hoang Van
8b6f5fd60b
Fix/remove path lib webview (#2529) 2025-05-06 08:19:47 -07:00
Tony Zhang
6d0f08f238
Fix language select width calculation (#3201) 2025-05-06 08:49:47 -04:00
dlab-anton
c701600081
Feat: Vertical settings tabs (#2914)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-06 08:48:42 -04:00
robertheadley
78b2083467
feat: Add error console to MCP servers - Edited with Roo Code and Anthropic Claude 3.5 (#2722)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-06 00:17:20 -07:00
Kal Sze
82dd3d5c4b
#1287 - ignore stderr of MCP servers unless it really fails to connect (#1441)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-05 23:32:08 -07:00
Chris Estreich
a649a53ec6
Move remaining provider settings into separate components (#3208) 2025-05-05 23:09:24 -07:00
Daniel Trugman
ce8fbbdafa
Requesty provider fixes (#3193)
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-05-05 20:49:11 -07:00
Matt Rubens
8ab0de3d02
Use Lucide icons and translations in the code block (#3203) 2025-05-05 23:19:24 -04:00
Chris Estreich
da6c50bf10
Organize provider settings into separate components (#3196) 2025-05-05 15:53:01 -07:00
Shariq Riaz
883be32b1a
feat: Add Groq and Chutes API providers (#3034)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-05-05 15:16:27 -07:00
Chris Estreich
973295835a
Webview message handler + terminal settings cleanup (#3189) 2025-05-05 12:56:41 -07:00
KJ7LNW
904f71cb19
feat: add VSCode terminal environment inheritance setting (#2862)
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-05 12:19:50 -07:00
Deon588
805ac1689a
Improve Accessibility of Auto-Approve Toggles (#3145)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: DEON NEL <deonnel@M-XIB-DeoN01.local>
Co-authored-by: cte <cestreich@gmail.com>
2025-05-05 12:18:07 -07:00
Chris Estreich
78beb718c8
Move environment details to a separate module, add tests (#3078) 2025-05-05 12:07:20 -07:00
KJ7LNW
305185cd88
feat: clickable code references in model responses navigate to source lines (#3087)
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-05 14:33:18 -04:00
KJ7LNW
bd3a42ed23
perf: optimize code block rendering performance (#3135)
feat: optimize code block rendering performance

Memoize CodeBlock components to prevent unnecessary re-renders:
- Add MemoizedCodeContent for syntax highlighted HTML
- Add MemoizedStyledPre for container element
- Properly type all component props
- Reduce React reconciliation work for complex code blocks

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-04 13:20:33 -07:00
Matt Rubens
756c0a0014
Fix issues with subtasks attempting completion along with commands (#3156) 2025-05-03 23:57:19 -07:00
Chris Estreich
5bca10d73c
Fix empty command bug (#3139) 2025-05-02 19:52:11 -07:00
Chris Estreich
06d8dd2bcf
Gemini caching fixes (#3096) 2025-05-02 16:36:22 -07:00
Chris Estreich
19ef52bd85
More command execution improvements (#3124) 2025-05-02 14:51:53 -07:00
Aleks Volochnev
aae6fc0ad2
Updates terminal.zshOhMy description (#3125)
Updates settings description

 - Updates setting terminal.zshOhMY.description to mention need to restart IDE to apply the changes
2025-05-02 11:16:39 -07:00
Matt Rubens
71f428bbeb
Copy both error message and content on mermaid error (#3120) 2025-05-02 10:09:49 -04:00
Chris Estreich
2e66081921
Terminal performance improvements (#3119) 2025-05-02 02:38:40 -07:00
Matt Rubens
da9b857376
Handle Mermaid validation errors (#3112)
* Handle Mermaid validation errors

* PR feedback

* More PR feedback
2025-05-02 01:23:44 -04:00
Tony Zhang
6a6443e648
Fix: ChatTextArea's height moving unexcepted when Roo Code width change (#2969)
Fix: ChatTextArea's height moving unexcepted when Roo Code width change.
2025-05-02 00:09:23 -04:00
Matt Rubens
a356d70669
Customizable headers for the OpenAI-compatible provider (#3056)
* Customizable headers for the OpenAI-compatible provider

* PR feedback

* Fix migration

* Update webview-ui/src/components/settings/ApiOptions.tsx

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>
2025-05-01 23:30:57 -04:00
Dicha Zelianivan Arkana
f39dcf40aa
refactor(chat): show inline code more subtle (#2747)
* refactor(chat): show inline code more subtle

* refactor: make inline code more readable
2025-05-01 11:11:39 -07:00
Matt Rubens
026a3e1059
Show 'None' when a mode has no tool groups (#3095) 2025-05-01 13:09:08 -04:00
Tony Zhang
40bf9e7ae5
Fix padding problem in #2965 (#3084) 2025-05-01 10:25:26 -04:00
gongzhongqiang
8c428b5b63
feat(openai): Add Config Option to Overwrite OpenAI's API Base (#3066)
* feat(openai): Add Config Option to Overwrite OpenAI's API Base

* feat(openai): Add option to use custom base URL for OpenAI native API
2025-05-01 10:23:18 -04:00
John Richmond
b51abf70f9
Treat HistoryView item clicks as (de)select in selection mode (#3068)
* Treat HistoryView item clicks as (de)select in selection mode

* UI tweaks

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-30 13:53:41 -04:00
Brendan O'Leary
506719018b
Play sound only when action needed from the user (#3065)
* Update sound logic to be centralized and only run when action is needed from user

* Handle cases like questions and resuming
2025-04-30 11:14:52 -04:00
Chris Estreich
2fd7d13624
v3.15.0 (#3061) 2025-04-30 01:51:59 -07:00
Chris Estreich
e975e30bd5
Command execution component tweaks (#3059) 2025-04-30 01:00:46 -07:00
Chris Estreich
1d7569b14c
Improve command execution component (#3057) 2025-04-29 23:56:59 -07:00
Chris Estreich
7863303aac
Fall back to execa if VSCode terminal integration fails (#3049) 2025-04-29 21:10:41 -07:00
Tony Zhang
23977d054d
Fix: Adjust padding in chat view for better UI (#2965)
* Fix: Adjust padding in chat view for better UI

* Add transition for chat view padding
2025-04-29 23:33:27 -04:00
John Richmond
34d7dcf8c3
Support mentioning filenames with spaces (#3044)
* Support mentioning filenames with spaces

Allows spaces to be escaped in mentions with \. Does not attempt more
comprehensive escape handling. (IMO a more structured representation or
moving to something like @[something complex] is probably a better long
term approach, but the scope of that seems problematic.

Adapted from 8955d45708.

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Older array creation to make check-types happier

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-29 22:27:16 -04:00
Sacha Sayan
6e4a7919cd
UI: Toggles and border fixes on edge case themes. (#3051)
Toggles and border fix.
2025-04-29 19:11:58 -07:00
Chris Estreich
d07e60575b
Simplify Roo Code's quick actions (#3024)
* Quick fix actions

* Remove unused keys

* Simplify more stuff

* Bring back "Explain Code"

* Bring "Improve Code" back

* Add back "Improve"

* This is too flakey for now
2025-04-29 08:07:24 -07:00
Chris Estreich
60270d1064
Revert "feat: syntax highlighting terminal output with Shiki" (#3023)
Revert "feat: syntax highlighting terminal output with Shiki (#3021)"

This reverts commit 8b072ad126.
2025-04-28 23:08:57 -07:00
Chris Estreich
81e01a9017
Update package-lock.json in webview-ui (#3022) 2025-04-28 22:58:10 -07:00
KJ7LNW
8b072ad126
feat: syntax highlighting terminal output with Shiki (#3021)
* feat: syntax highlighting terminal output with Shiki

Refactored CommandExecution.tsx to:
- Implement CodeBlock component for terminal display
- Use Shiki for syntax highlighting of shell commands and terminal output

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>

* ui: present same compressed command output that the model will receive

Avoids rendering problems and performance regressions:
- Compresses output using BaseTerminal.compressTerminalOutput
- Eliminates need for Virtuoso by limiting output size

Ensures command output shown in UI matches the compressed format provided to the model:
- Applies same BaseTerminal.compressTerminalOutput processing
- Uses configured terminalOutputLineLimit for consistency

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>

* test: update CommandExecution tests to use CodeBlock mock

- Replace virtuoso mock with CodeBlock mock to fix shiki import error
- Update CodeBlock mock to properly handle source prop
- Add proper empty output test case verification
- Keep original test values and structure

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>

---------

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-28 19:54:10 -07:00
Chris Estreich
65958d81b9
Overhaul CodeBlock rendering (#3019) 2025-04-28 17:10:57 -07:00