Commit graph

3881 commits

Author SHA1 Message Date
Matt Rubens
db85df86d9
Update NLS translations (#2584) 2025-04-13 22:53:15 -04:00
Matt Rubens
eab61289a2
Add workspace filter to historypreview as well (#2582)
* Add workspace filter to historypreview as well

* PR feedback
2025-04-13 22:27:28 -04:00
github-actions[bot]
1c03234d64
Update contributors list (#2519)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-13 13:52:38 -04:00
Matt Rubens
ff92a61281
Revert "Add o1-pro to api.ts" (#2574)
Revert "Add o1-pro to api.ts (#2433)"

This reverts commit 16d8f14371.
2025-04-13 13:51:14 -04:00
Sam Hoang Van
494af3090a
fix: normalize file paths to POSIX format in search results (#2569) 2025-04-13 13:44:03 -04:00
pokutuna
caf1ae35e1
fix: Restore focus ring for VSCodeButton component (#2572) 2025-04-13 13:42:59 -04:00
Chris Estreich
4ecec98384
Support all providers in evals settings (#2573) 2025-04-13 10:30:06 -07:00
Chris Estreich
352a6b9c75
More unit test kill -9 fixes (#2570)
* More unit test kill -9 fixes

* Fix linter warning
2025-04-13 09:44:45 -07:00
Zhang Tony
8bb3839b4d
fix: background color for new profile dialog (#2560) 2025-04-13 10:09:46 -04:00
Sam Hoang Van
adadc3add2
fix build vsix package (#2554) 2025-04-13 01:00:23 -07:00
Chris Estreich
ef9b339027
Evals improvements (#2555)
* Evals improvements

* Remove debugging
2025-04-13 00:57:33 -07:00
Zhang Tony
d3c65ceac6
feature: Closable welcome message (#2541)
* draft: try to add a setting button

* Add showGreeting setting and related changes

* i18n: showGreeting

* fix chinese i18n 'dot'
2025-04-13 01:16:01 -04:00
Sam Hoang Van
14de4899b8
Add localization support for Roo Code extension in multiple languages (#2523)
* Add localization support for Roo Code extension in multiple languages

- Created new localization files for Catalan, German, Spanish, French, Hindi, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Turkish, Vietnamese, Chinese (Simplified), and Chinese (Traditional).
- Updated extension activation and deactivation messages to use localized strings.
- Enhanced user experience by providing translated command titles and descriptions for various functionalities within the extension.

* Revert changes to extension.ts

* Remove l10n

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-13 00:15:08 -04:00
KJ7LNW
e94e58ff1a
docs: document process for adding new settings (#2552)
Add documentation explaining how to implement new settings in Roo Code,
using the command risk level feature as a practical example.

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-12 23:54:43 -04:00
Sam Hoang Van
08110ae35b
Filter & Search Workspace Task History (#2526)
* Enhancement: Add 'Show all workspaces' feature to task history and update translations

* Enhancement: Add Checkbox component and integrate it into HistoryPreview and HistoryView

* Simplify the UX

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-12 23:20:14 -04:00
vagadiya
628d232f9f
Fix AWS token expiry issue when cached token expires when using AWS Profile for Bedrock (#2469) (#2530)
Fix AWS token expiry issue when cached token expires and using AWS Profile (#2469)
2025-04-12 22:23:48 -04:00
mecab
37cfd75ebf
Add Anthropic option to pass API Token as Authorization header instead of X-Api-Key for the custom base URL (#2531)
Add Anthropic option to use authToken over apiKey
2025-04-12 22:20:03 -04:00
vagadiya
294b52ef6a
Fix to Bedrock ARN validation (#2538)
Fixes Bedrock ARN validation

Updates the Bedrock ARN regex to allow alphanumeric characters, dots, hyphens, and colons in the resource ID.

This prevents validation errors when using ARNs containing those characters.
2025-04-12 13:43:35 -04:00
Sam Hoang Van
e9980bcfa9
Fix duplicate mention suggestion (#2528)
improve deduplication logic in getContextMenuOptions to handle context menu item keys more accurately
2025-04-12 08:28:41 -04:00
Chris Estreich
2c8304ea31
Fix node version string when running asdf install nodejs (#2524) 2025-04-12 01:06:03 -07:00
Chris Estreich
91178628aa
Evals enhancements: delete runs, show all run instead of just completed runs (#2520) 2025-04-12 00:07:30 -07:00
Bogdan Dolin
c25163aa20
Fix: Remove 'v' prefix from Node.js version in .tool-versions file (#2515)
Fix formatting of Node.js version in .tool-versions
2025-04-11 23:09:18 -07:00
Chris Estreich
df01e7948b
Add reasoningEffort to provider settings schema (#2518) 2025-04-11 22:45:14 -07:00
Chris Estreich
6ab9aa9f15
Control evals concurrency in web app (#2265) 2025-04-11 22:21:15 -07:00
github-actions[bot]
1f6da88d24
Update contributors list (#2516)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-12 00:34:38 -04:00
R00-B0T
e10c25e0a4
Changeset version bump (#2517)
* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-12 00:25:55 -04:00
Matt Rubens
624691abb0
Respect the setting to always read the full file (#2514) 2025-04-12 00:14:39 -04:00
Taisuke Oe
e453690e7f
Fix bug not to respect symbolic linked rules, if target is a directory or another symbolic link (#2513)
* read symbolic linked dir and files recursively

* add symlinked dir and nested symlink test case for custom-instructions

* enhance comments

* add changeset
2025-04-11 23:32:57 -04:00
Chris Estreich
2eba534dd6
Evals fixes (#2505)
* Allow Turso URLs, add support for API providers beyond OpenRouter

* Make the git branch name unique
2025-04-11 14:54:03 -07:00
R00-B0T
15b91ab03c
Changeset version bump (#2504)
* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-11 17:47:29 -04:00
Matt Rubens
4048d36ab4
v3.11.13 (#2503) 2025-04-11 17:36:00 -04:00
github-actions[bot]
aaf0567e8d
Update contributors list (#2501)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-11 17:35:40 -04:00
Matt Rubens
ba307f8e1f
Revert "♻️ refactor(webview): move webview HTML generation to WebviewHTMLManager" (#2502)
Revert "♻️ refactor(webview): move webview HTML generation to WebviewHTMLMana…"

This reverts commit e70954f3de.
2025-04-11 17:32:29 -04:00
KJ7LNW
9c3c93567b
Merge pull request #2427 from KJ7LNW/fix-vscode-lm-content-preservation
fix: preserve content integrity in VS Code LM provider
2025-04-11 17:10:54 -04:00
Matt Rubens
9dead72ace
Merge pull request #2456 from KJ7LNW/fix-misc-terminal-issues
Terminal improvements: command delay, PowerShell counter, and ZSH EOL mark
2025-04-11 17:04:42 -04:00
Eric Wheeler
ae0ab56654 intl: enhance shell integration troubleshooting translations
Add new i18n strings for shell integration steps and expand troubleshooting text across all supported languages

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-11 13:23:57 -07:00
Eric Wheeler
4ef62c6a13 feat: add ZDOTDIR handling for zsh shell integration
Creates a temporary ZDOTDIR to handle zsh shell integration properly while preserving user's zsh configuration. This ensures VSCode shell integration works correctly with zsh without modifying the user's existing setup.

- Add terminalZdotdir setting (disabled by default)
- Create temporary directory with proper security (sticky bit)
- Add automatic cleanup on terminal close
- Add translations for all supported languages

User confirmed fixes:

Fixes: #2205
Fixes: #2129

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-11 13:09:41 -07:00
Bhavesh Ramburn
e70954f3de
♻️ refactor(webview): move webview HTML generation to WebviewHTMLManager (#2494)
- 【What】Move the logic for generating webview HTML content from ClineProvider to a new WebviewHTMLManager class.
- 【Why】This improves code organization and maintainability by separating concerns related to webview HTML generation.
- 【Why】This allows for easier testing and modification of the HTML generation logic without affecting the ClineProvider class.
2025-04-11 15:40:07 -04:00
Matt Rubens
405e599206
Exclude demo gif from extension build (#2481) 2025-04-11 15:38:59 -04:00
Eric Wheeler
b4c67f133b feat: add terminal settings for Oh My Zsh and Powerlevel10k shell integration
Added two new terminal settings:
- terminalZshOhMy: Sets ITERM_SHELL_INTEGRATION_INSTALLED=Yes for Oh My Zsh
- terminalZshP10k: Sets POWERLEVEL9K_TERM_SHELL_INTEGRATION=true for Powerlevel10k

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
Eric Wheeler
b020e46076 fix: clear ZSH EOL mark to prevent command output interpretation issues
Added a new configuration option 'terminalZshClearEolMark' (default: true) that
sets PROMPT_EOL_MARK='' in the terminal environment. This prevents issues with
command output interpretation when the output ends with special characters like '%'.

Added translations for all supported languages.

Fixes: #2194
Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
Eric Wheeler
211e31b8f6 feat: add terminalPowershellCounter configuration option
Add a new configuration option that allows users to toggle the PowerShell counter workaround. This workaround adds a counter to PowerShell commands to ensure proper command execution and output capture.

The setting is disabled by default, allowing users to enable it only when needed.

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
Eric Wheeler
4d1cfe8141 feat: add terminal.commandDelay setting
Add a new configurable setting to control command execution delays in terminals.
When set to a non-zero value, this adds a sleep delay after command execution
via PROMPT_COMMAND in bash/zsh and start-sleep in PowerShell.

The default value is 0, which disables the delay completely. This setting
replaces the previous hardcoded delay of 50ms that was added as a workaround
for VSCode bug #237208.

Fixes: #2017
Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
Eric Wheeler
902d6d5017 fix: prevent UI hang when shell integration is unavailable
When shell integration is unavailable, the UI would hang because the process
was never properly released. This change fixes the issue by:
- Emitting a 'completed' event with a descriptive message
- Marking the terminal as not busy
- Clearing the active stream
- Allowing the process to continue

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
Eric Wheeler
0b0c438284 fix: standardize terminal integration timeout values
Replace hardcoded 3000ms timeout with configurable Terminal.shellIntegrationTimeout
in TerminalProcess.ts. This ensures consistent timeout behavior across all
terminal integration features and allows users to control both timeouts through
a single setting.

The error messages are also updated to display the dynamic timeout value,
providing clearer feedback when shell integration issues occur.

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-10 21:18:37 -07:00
github-actions[bot]
b8bf634fd2
Update contributors list (#2466)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-10 23:53:03 -04:00
Matt Rubens
2ba7200f37
Fix discard changes in settings (#2485) 2025-04-10 23:44:38 -04:00
KJ7LNW
3cc81c73cf
docs: update settings.md with comprehensive steps (#2451)
* docs: update settings.md with comprehensive steps

Update the settings documentation to include all necessary steps for adding
a new configuration item, including schema definitions, type definitions,
and critical steps for persistence and UI display.

This ensures the documentation accurately reflects the complete process
required when adding new settings to the application.

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

* docs: add style considerations for checkbox settings

Add documentation about styling checkbox settings in the UI, including:
- Using VSCodeCheckbox component
- Proper wrapping and spacing
- Consistent styling for labels and descriptions
- Example implementation based on terminalPowershellCounter

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

* docs: add comprehensive guide for adding new configuration items

Add a new section to settings.md that provides a complete checklist for adding new configuration items to the system. This guide covers all aspects from UI to persistence to functionality, based on implementation experience.

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

* docs: update settings documentation with persistence guidelines

Add comprehensive guidance for ensuring settings persist across reload
Include debugging steps for troubleshooting persistence issues
Replace 'Avoiding Duplicates' section with more detailed information

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-10 22:34:18 -04:00
Matt Rubens
e41d6a42ac
Better display of diff errors (#2478) 2025-04-10 22:32:11 -04:00
Hannes Rudolph
c0ba1f5080
Update README.md to reflect new branding and add demo GIF; (#2479)
* Update README.md to reflect new branding and add demo GIF; optimize demo GIF size

* Update README.md to reflect branding change from "Roo Cline" to "Roo Code" and remove duplicate title entry.
2025-04-10 21:55:52 -04:00