Commit graph

3506 commits

Author SHA1 Message Date
Matt Rubens
38655825d4
Extension-side internationalization (#1757)
* Extension-side internationalization

* Update script

* Cleaner esbuild

* Turn off debugging

* PR feedback

* Update src/i18n/locales/en/common.json

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

* Update src/i18n/locales/ca/common.json

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-03-18 10:39:21 -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
Sam Hoang Van
a56741f51e
fix for task history (#1765) 2025-03-18 08:54:39 -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
github-actions[bot]
d6d6e3508a
Update contributors list (#1743)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-03-18 02:17:55 -04:00
teddyOOXX
23af4c2609
add multiple workspaces support (#1725)
feat: add multiple workspaces support

- Add getWorkspacePath function to centralize workspace directory path retrieval
- Use the new workspace directory retrieval logic in Cline, Mentions, ClineProvider, and WorkspaceTracker
- Update WorkspaceFile on tab switch and prevent redundant updates by checking prevWorkSpacePath
- Fix the bug that loads the contents of the previous tab when quickly switching tabs
- Optimize getWorkspacePath return value for better reliability

Co-authored-by: xiong <yueminxiong.xym@alibaba-inc.com>
2025-03-18 02:14:39 -04:00
Felix NyxJae
a4853f2faa
fix Human Relay not working up on welcome screen (#1759)
* fix: Add special handling to human-relay providers, optimize configuration check logic

* fix: Remove the debug log in the checkExistKey function
2025-03-18 01:51:14 -04: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
56ff9ea77b
Merge pull request #1752 from RooVetGit/i18n_format
Localize formatting helpers
2025-03-17 16:29:04 -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
Chris Estreich
72f9162beb
Merge pull request #1667 from franekp/flake-use-direnv
Fix infinite loop that happens when using direnv
2025-03-17 13:17:20 -07:00
Chris Estreich
bfd60097d0
Merge pull request #1682 from GitlyHallows/bug/old-task-deletion
Fix old task deletion bug
2025-03-17 13:16:26 -07: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
7780957fed Fix language passing 2025-03-17 15:50:18 -04:00
Matt Rubens
41bd36c29a More chat i18n 2025-03-17 15:49:59 -04:00
Chris Estreich
69cc6c1f7f
Merge pull request #1750 from RooVetGit/cte/settings-scroll-cleanup
Clean up CSS for settings view wheel scroll
2025-03-17 12:28:52 -07: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
Chris Estreich
4f15b5d9b7
Merge pull request #1616 from qdaxb/remove_at_when_add_context
remove '@' when add selection to context
2025-03-17 11:40:42 -07:00
Matt Rubens
1b37a713df
Merge pull request #1746 from RooVetGit/fix_update_contributors
Add all changed files in update-contributors
2025-03-17 13:24:40 -04:00
Matt Rubens
d644c9de5a Add all changed files in update-contributors 2025-03-17 13:21:07 -04:00
Chris Estreich
6d591fad6c
Merge pull request #689 from RooVetGit/cte/benchmarks
Aider-inspired polyglot benchmarks
2025-03-17 10:17:32 -07:00
Chris Estreich
e2bdce0961
Update benchmark/prompts/cpp.md
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 10:10:08 -07:00
cte
f108dfaeb8 Evals 2025-03-17 10:09:19 -07:00
Matt Rubens
8569c46b0f
Merge pull request #1742 from RooVetGit/single_update_contributors_branch
Change update-contributors script to use a single branch
2025-03-17 13:02:41 -04:00
Matt Rubens
94f176b9bc Change update-contributors script to use a single branch 2025-03-17 12:58:26 -04:00
Chris Estreich
9d8c8c7a7c
Merge pull request #1739 from franekp/main
fix(RooCodeAPI): re-add clineAskResponded event that got lost in rebase
2025-03-17 09:50:45 -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
Franciszek Piszcz
2270c72275 fix(RooCodeAPI): re-add clineAskResponded event that got lost in rebase 2025-03-17 17:46:54 +01: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
Chris Estreich
4fd5e441fa
Merge pull request #1671 from franekp/all-tasks-events-in-api
feat(RooCodeAPI): emit events from all tasks, not only those started via startNewTask
2025-03-17 09:41:38 -07:00
Chris Estreich
a06119a40c
Merge branch 'main' into all-tasks-events-in-api 2025-03-17 09:35:14 -07: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
Chris Estreich
dc302f72c2
Merge pull request #1670 from franekp/ask-response-event
feat(RooCodeAPI): add event that user responded to "ask" request
2025-03-17 09:32:02 -07:00
Chris Estreich
5cd084de6f
Merge pull request #1669 from franekp/public-api-current-task-ids
feat(RooCodeAPI): add getCurrentTaskStack() returning stack of task IDs
2025-03-17 09:31:39 -07:00
aheizi
6d70b8aeba fix translations 2025-03-18 00:23:40 +08:00
Matt Rubens
19dbf3e49b
Merge pull request #1735 from RooVetGit/split_readme_locales
Split README locales into two lines
2025-03-17 12:16:41 -04:00
Matt Rubens
a16005e284 Split README locales into two lines 2025-03-17 12:09:05 -04:00
Matt Rubens
30d6d94851
Merge pull request #1728 from RooVetGit/i18n_readme
Localize README files
2025-03-17 11:59:12 -04:00
aheizi
8f4145efd2 optimize McpHub.ts 2025-03-17 23:57:59 +08:00
Matt Rubens
0fa6a4d5fe
Update locales/tr/README.md
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 11:56:02 -04:00
Matt Rubens
fe618e294c
Update locales/tr/CODE_OF_CONDUCT.md
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 11:55:55 -04:00