Commit graph

1079 commits

Author SHA1 Message Date
Matt Rubens
37307d56a1 Rough first version of bug reporting 2025-03-21 01:21:28 -04:00
Matt Rubens
95ba760daf
Non-thinking sonnet has 8192 max tokens (#1860) 2025-03-21 00:24:57 -04:00
cannuri
000df18503
Enhance translate mode guidelines + informal speech in de locales (#1858)
* feat(i18n): Enhance Translate mode guidelines

This commit improves the Translate custom mode in .roomodes by adding:

- Clear requirement to use informal speech (e.g., "du" instead of "Sie")
- Guidance on preserving domain-specific terminology in English
- New section on common translation pitfalls to avoid
- Enhanced instructions for handling placeholders in translated strings
- Guidelines for UI element translation (buttons vs. tooltips)
- Directions for handling incomplete source strings
- Rules to preserve original perspective (user→system vs system→user)
- A translator's checklist for quality assurance

These improvements ensure more consistent, accurate, and natural
translations across supported languages while preventing common
localization errors.

* use informal speech in de locales
2025-03-20 20:47:27 -04:00
Matt Rubens
842e69ceb8
v3.10 (#1850) 2025-03-20 16:00:04 -04:00
Matt Rubens
c7562a6a37
Try to avoid placeholders in follow-up questions (#1839)
* Try to avoid placeholders in follow-up questions

* Fix this too
2025-03-20 11:33:38 -04:00
Sam Hoang Van
f1efeca554
feat follow up suggest (#1783)
* feat follow up suggest

* Cleanup

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-20 10:42:11 -04:00
Matt Rubens
78bc0c12af
Fix logic for spaces after context mentions (#1827) 2025-03-20 01:07:55 -04:00
Sam Hoang Van
70a476e722
feat read file range (#1440)
* feat read file range

feat: add file truncation with code structure preview

Add configurable line limit for large file handling with source code structure preview. This improves performance and memory usage while maintaining code readability.

Key changes:

Add maxReadFileLine setting (default: 4500) with UI controls
Create efficient line counter utility using streams
Add parseSourceCodeDefinitionsForFile for single file parsing
Show truncation notice with code structure for large files
Add comprehensive tests for new functionality
Move file extensions to shared constant

add line number

pr comment

Return definition ranges from tree-sitter

make treesitter always add line

add line number to rg search

enhance tree siter output & fix test

update snapshot

fix test

* Add translations, tweak range

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-20 00:55:47 -04:00
Matt Rubens
f181da1454
Move context-mention file/folder search to the server (#1824) 2025-03-20 00:45:27 -04:00
Chris Estreich
891a55d5f0
Theme tweaks (#1816) 2025-03-19 11:51:25 -07:00
Matt Rubens
65740b311f
Put the full language name in the system prompt (#1813) 2025-03-19 13:33:31 -04:00
Matt Rubens
4b2a54e364
Allow manually selecting a model in the model picker (#1809) 2025-03-19 10:10:24 -04:00
Matt Rubens
b83c0b38a8
Fix missing translations for announcement header (#1808) 2025-03-19 09:25:41 -04:00
KJ7LNW
418c15d416
perf: optimize build process for parallel execution (#1801) 2025-03-19 01:15:55 -07:00
Chris Estreich
0e036fbd9f
Clean up SelectDropdown component (#1796)
* Clean up SelectDropdown component

* Fix tests
2025-03-18 23:03:09 -07:00
Matt Rubens
4d695542f1
Internationalize the BrowserSessionRow (#1797) 2025-03-19 01:48:59 -04:00
Chris Estreich
fbb5cfcd11
More theme fixes for select, dropdown & command (#1789)
* More theme fixes

* Fix typo

* Add changeset

* Fix button variant

* More fixes

* More tweaks

* More tweaks

* Fix test

* Fix tsc errors
2025-03-18 22:07:19 -07:00
Matt Rubens
aed55d799b
v3.9 (#1790) 2025-03-19 00:30:13 -04:00
Felix NyxJae
beb4cfbbf8
fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area (#1791)
* fix: Add special handling to human-relay providers, optimize configuration check logic

* fix: Remove the debug log in the checkExistKey function

* fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area
2025-03-19 00:09:04 -04:00
Chris Estreich
a15691dc1d
Add a way to stop TTS (#1787) 2025-03-18 17:05:05 -07:00
Chris Estreich
f4abdf4b95
Use the Slider component everywhere (#1786)
* Use the Slider component everywhere

* onValueCommit -> onValueChange

* More cleanup

* Fix tests

* Add missing translations

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

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

* SelectDropdown fixes

* Fix tests

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-18 15:27:28 -07:00
Matt Rubens
2267cad93d
Revert "Merge pull request #1618 from aheizi/support_project_mcp" (#1784)
This reverts commit df80e9620d, reversing
changes made to dc302f72c2.
2025-03-18 16:10:12 -04:00
Chris Estreich
8b368e92c9
Simplify model picker, use default @shadcn/ui components (#1782)
* Simplify model picker, use default @shadcn/ui components

* Fix tests
2025-03-18 11:55:27 -07:00
Chris Estreich
923d4a56f9
Port all Dropdown components to Select in ApiOptions (#1780)
* Port all `Dropdown` components to `Select` in `ApiOptions`

* Fix tests
2025-03-18 10:15:36 -07:00
Matt Rubens
516f635595
Fix regex i18n (#1779) 2025-03-18 13:00:05 -04:00
Chris Estreich
fef4a1c8ed
Fix selection highlight color on VSCode dropdowns (#1776) 2025-03-18 09:44:19 -07:00
Chris Estreich
4d1b9d2ff6
Allow webviews to make OpenRouter API calls (#1778)
* Allow webviews to make OpenRouter API calls

* Update package-lock.json
2025-03-18 09:23:09 -07:00
Matt Rubens
7be3dee350
Translate the thinking budget (#1775) 2025-03-18 11:22:38 -04:00
Felix NyxJae
3b116a2b21
I18n human relay (#1761)
* feat(i18n): Add i18n support for Human Relay dialog without monitoring

* feat(i18n): add humanRelay.json translations for all supported languages

- Created English version as base translation
- Added translations for: ca, de, es, fr, hi, it, ja, ko, pl, pt-BR, tr, vi, zh-TW
- Verified all translations are complete with no missing entries
2025-03-18 09:36:48 -04:00
aheizi
7ef4841914
feat: batch clear history (#1596)
* batch clear history

* catch Task not found error

* fix deleteMultipleTasksWithIds

* add i18n for batch clear history

* add i18n for history

* debug

* remove unused logs

* fix trans

* fix trans

* Cleanup

---------

Co-authored-by: aheizi <aheiz@outlook.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-18 09:33:25 -04:00
Chris Estreich
878b3820d2
Settings tweaks: add terminal & language sections, fix whell scroll in editor tab (#1763) 2025-03-18 00:11:57 -07:00
KJ7LNW
6301e90454
Fix shell integration race condition (and other minor fixup/cleanup) (#1660)
* fix: clarify PowerShell command completion workaround

The command completion detection approach in PowerShell requires an output
string to allow duplicate commands to execute in some versions of code.
Update the string to explicitly indicate it is a Roo PowerShell workaround,
making it clear in terminal output that this is intentional behavior rather
than a side effect.

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

* cleanup: improve terminal logging and error handling

No functional changes - purely improves error handling and logging clarity.

Terminal.ts:
- Handle undefined process state in setActiveStream without throwing
- Add terminal IDs to all log messages for better traceability
- Improve error message clarity in shell integration timeout

TerminalRegistry.ts:
- Reorganize shell execution event handlers for better flow
- Log shell execution events before processing for reliable debugging
- Add detailed context to terminal not found scenarios
- Include command and execution state in error messages

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

* feat: make terminal shell integration timeout configurable

Users with long shell startup times were encountering "Shell Integration Unavailable" errors due to the hard-coded 4s timeout. The timeout is now configurable through Advanced Settings (1-60s).

Thanks @filthy for troubleshooting and @kiwina for suggesting making the timeout configurable.

Fixes #1654

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

* critical fix: race condition that prevents command completion

Terminal running state is now managed in TerminalRegistry instead of Terminal to prevent race between stream close and shell completion.

While this race may not trigger on current VSCode versions, newer releases with additional terminal fixes may expose the issue. This proactively prevents "Shell execution end event received, but process is not running" errors.

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

* fix: improve command execution path reporting

Enhance clarity of command execution context and error reporting:

- Check to see if the directory changed because of the command
- Clarify execution path message
- Add explicit message when command exits with non-zero code

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

* system instructions: clarify terminal directory operations

Clear guidance for the AI system on:
- Working directory constraints
- Path handling requirements
- Tool vs terminal directory behavior

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

* test: update snapshots for system prompt working directory instructions

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>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-03-17 23:57:20 -07:00
Seth Miller
f16a49de87
Add text-to-speech functionality (#1412)
* Add text-to-speech functionality

* Add speed config option to text-to-speech

* Fix test case for tts speed slider

* Fix test case for tts speed slider (really)

* Disabled error message logging in tts.ts

* ignore markdown and mermaid diagrams in TTS

* add ttsEnabled and ttsSpeed to GlobalStateKey

* fix failing webview test for save button

* Translations

* Fix tests

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-18 01:47:16 -04:00
Chris Estreich
eb74f02094
Choose specific provider when using OpenRouter (#1753)
* Choose specific provider when using OpenRouter

* Add translations
2025-03-17 15:40:27 -07:00
im47cn
a17be0763a
fix: an issue in the HistoryView component where keywords in copied content contain html code (#1662)
* fix: an issue in the HistoryView component where keywords in copied content contain html code

* Update webview-ui/src/components/history/HistoryView.tsx

* Fix test

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-17 17:05:37 -04:00
Matt Rubens
a8ef2e1347
Update webview-ui/src/i18n/locales/it/common.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 16:28:55 -04:00
Matt Rubens
76b37b11ca Localize formatting helpers 2025-03-17 16:22:47 -04:00
Matt Rubens
7459ac5dac
Merge pull request #1751 from RooVetGit/i18n_more_chat
More chat i18n
2025-03-17 16:09:07 -04:00
Matt Rubens
7bedb02573 Translate thinking seconds 2025-03-17 16:06:03 -04:00
Matt Rubens
f97a51da38
Update webview-ui/src/i18n/locales/ca/chat.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 15:57:10 -04:00
Matt Rubens
a926b5a575 Fix tests 2025-03-17 15:55:15 -04:00
Matt Rubens
41bd36c29a More chat i18n 2025-03-17 15:49:59 -04:00
cte
7d1d5581a4 Clean up CSS for settings view wheel scroll 2025-03-17 12:28:08 -07:00
Chris Estreich
d1fa1e9650
Merge pull request #1666 from GitlyHallows/provider-settings-scroll-bug
Added support for scrolling in the ‘Open in Editor’ instance, similar…
2025-03-17 12:21:52 -07:00
cte
f108dfaeb8 Evals 2025-03-17 10:09:19 -07:00
Matt Rubens
01a847e293
Merge pull request #1738 from feifei325/i18n/fix_missing_settings_key
fix missing settings key and add find i18n key scripts
2025-03-17 12:49:56 -04:00
feifei
fddb611c88 fix missing settings key and add find i18n key scripts
Signed-off-by: feifei <liuyansheng1121@gmail.com>
2025-03-18 00:46:38 +08:00
Matt Rubens
df80e9620d
Merge pull request #1618 from aheizi/support_project_mcp
feat: support project-level mcp config
2025-03-17 12:32:11 -04:00
aheizi
6d70b8aeba fix translations 2025-03-18 00:23:40 +08:00
Matt Rubens
7bfdcbe64e
Merge pull request #1705 from RooVetGit/cte/context-proxy-fixes
Fix API configuration profile switching
2025-03-17 11:52:08 -04:00