Commit graph

1634 commits

Author SHA1 Message Date
Matt Rubens
00bf91470b Add i18n 2025-03-12 11:23:06 -04:00
Matt Rubens
baa346dc46 Remove preferredLanguage and just rely on VSCode language 2025-03-12 11:23:04 -04:00
Matt Rubens
421e1972ad Add prompt caching to OpenAI-compatible custom model info 2025-03-11 22:43:33 -07:00
cannuri
49fca1074f Fix MarkdownBlock text color for Dark High Contrast theme 2025-03-12 02:32:59 +01:00
Chris Estreich
b73bc39c8d
Merge pull request #1365 from KJ7LNW/roo-fix-terminal-undefined-exit-code
refactor terminal architecture to address critical issues with the current design
2025-03-11 13:59:04 -07:00
dqroid
8b0956666c
Merge branch 'main' into support-custom-baseUrl-for-google-ai-studio-gemini 2025-03-11 16:15:52 +08:00
axb
621fc0e867 Revert "Merge pull request #1518 from RooVetGit/revert_tool_progress_for_now"
This reverts commit dba9116d26, reversing
changes made to 85dd1a1977.
2025-03-11 13:07:55 +08:00
Eric Wheeler
a867595a6a doc: enhance shell integration error messages
Add descriptive messages to shell integration failures to help users
understand and resolve integration issues more effectively. This improves
the debugging experience by providing specific details about why shell
integration failed.

- Add message parameter to no_shell_integration event
- Update UI to display specific error messages
- Update troubleshooting documentation link

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-03-10 20:55:05 -07:00
Eric Wheeler
070a36baa2 Revert "Smart truncation for terminal output"
This reverts commit 7eee3e0878.

Middle-out truncation is a really great feature and it should still be
implemented, however it unnecessarily interferes with #1365 because it
hooked into the low-level chunk management that comes directly from VSCE
shell integration.

The best place to hook OutputBuilder is as follows depending on the
state of terminal interaction:

1. Foreground terminals:

Cline.ts:
	 executeCommandTool(...) {
	     process.on("line", (line) => {
		    lines.push(line)
		    ...
	    }
	 }

2. For background terminals: hook in at the point that getUnretrievedOutput is consumed for active or
   inactive terminals in Cline.ts:getEnvironmentDetails()

Please note:

The Terminal classes are very sensitive to change, partially because of
the complicated way that shell integration works with VSCE, and
partially because of the way that Cline interacts with the Terminal*
class abstractions that make VSCE shell integration easier to work with.

At the point that PR#1365 is merged, it is unlikely that any Terminal*
classes will need to be modified substantially.  Generally speaking, we
should think of this is a stable interface and minimize changes.

Reverts: #1390
2025-03-10 20:54:53 -07:00
Chris Estreich
13be66fd53
Merge pull request #1560 from cannuri/cannuri/fix-alert-dialog-theme
refactor alert dialog styles, use vscode theme
2025-03-10 20:25:25 -07:00
cannuri
8c21f0ece3 refactor alert dialog styles, use vscode theme 2025-03-11 03:59:46 +01:00
Matt Rubens
9eab941d5c
Merge pull request #1550 from Smartsheet-JB-Brown/jbbrown/aws_custom_arn_for_intelligent_prompt_routing
Users need the ability to use custom ARNs (Amazon Resource Names) with AWS Bedrock for intelligent prompt routing.
2025-03-10 22:21:36 -04:00
Matt Rubens
6cfc1cd4c9
Merge pull request #1528 from afshawnlotfi/chrome-remote-webtools
Chrome remote webtools
2025-03-10 21:37:20 -04:00
Smartsheet-JB-Brown
171037a938 Add enhanced error handling and logging for AWS Bedrock custom ARNs 2025-03-10 14:25:52 -07:00
dongqing
85b54b33ba support custom base url for gemini in google AI studio 2025-03-10 19:06:58 +08:00
Afshawn Lotfi
71795d5487 Enhance BrowserSettings component with VSCodeTextField for remote browser URL input 2025-03-10 06:51:35 +00:00
Chris Estreich
0b2abee923
Merge pull request #1516 from RooVetGit/cte/layout-fixes
App tab layout fixes
2025-03-09 21:53:51 -07:00
cte
9fdc546f01 Fix portal stuff 2025-03-09 21:49:29 -07:00
Afshawn Lotfi
66e3b9610c Add remote browser connection support and related state management 2025-03-10 03:41:38 +00:00
Matt Rubens
c70595b9f0
Merge pull request #1507 from hannesrudolph/optional-mode-creation
feat: Add toggle for custom mode creation
2025-03-09 18:54:49 -04:00
Hannes Rudolph
ad07336d09
Update webview-ui/src/components/prompts/PromptsView.tsx
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-09 16:45:53 -06:00
Hannes Rudolph
6bcb39f0a1
Update webview-ui/src/components/prompts/PromptsView.tsx
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-09 16:45:47 -06:00
Matt Rubens
183e47b1bd Revert "support tool progress status"
This reverts commit 80139d88d7.
2025-03-09 18:35:56 -04:00
Matt Rubens
78be1b8977 Revert "Clean up the tool progress UX"
This reverts commit 1c8071bbb3.
2025-03-09 18:35:48 -04:00
cte
9f40c4d57a App tab layout fixes 2025-03-09 15:07:59 -07:00
hannesrudolph
445066c430 refactor: Move custom mode creation setting to a more appropriate location in PromptsView component 2025-03-09 15:56:23 -06:00
Afshawn Lotfi
22f51304a2 Add support for remote browser connection and settings 2025-03-09 20:11:52 +00:00
Matt Rubens
68cfdc985e Fix the VSCode LM model picker 2025-03-09 09:38:55 -04:00
hannesrudolph
cc4f6dd675 style: Update margin styling for checkbox in PromptsView component 2025-03-08 22:40:43 -07:00
Hannes Rudolph
47294dec56
Update webview-ui/src/components/prompts/PromptsView.tsx
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-08 22:32:40 -07:00
Hannes Rudolph
74a0dcebf6
Update webview-ui/src/components/prompts/PromptsView.tsx
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-08 22:32:14 -07:00
Roo Code
2a08c7c3db feat: Add toggle for custom mode creation
This commit adds a new setting to allow users to disable custom mode creation,
which can help reduce token usage in Roo's prompts.

Key changes:

Add enableCustomModeCreation setting to global state
Conditionally include custom modes documentation in prompt only when enabled
Add UI toggle in PromptsView with explanatory text
Default the setting to enabled (true) for backward compatibility
Update necessary interfaces and message handlers for the new setting
The setting is placed in PromptsView rather than SettingsView since it directly
relates to the modes functionality managed in that component.
2025-03-08 22:05:27 -07:00
Matt Rubens
e10757d6fa Iterate on subtasks UX 2025-03-08 23:46:28 -05:00
Matt Rubens
1c8071bbb3 Clean up the tool progress UX 2025-03-08 22:55:04 -05:00
Matt Rubens
e2bdee3366
Merge pull request #1494 from qdaxb/support_tool_progress_status
support tool progress status
2025-03-08 21:17:35 -05:00
Matt Rubens
e945dcf94f
Merge pull request #1491 from shaybc/sbc_subtasks_approve_btn
Sbc subtasks approve button
2025-03-08 21:16:44 -05:00
axb
80139d88d7 support tool progress status 2025-03-09 00:21:09 +08:00
ShayBC
27624a25a5 fixed the missing case of cmd execution at the end of a subyask and added auto aprove option for finish task (and continue to the next task) 2025-03-08 16:25:45 +02:00
cte
998cd3c32e Fix tests 2025-03-07 21:52:11 -08:00
cte
ebacc14b48 Fix settings dropdown issues 2025-03-07 21:36:03 -08:00
ShayBC
1456db9502 added approve finish task button and auto approve button for subtasks 2025-03-08 06:01:49 +02:00
Matt Rubens
da286c45ed Fix logic for default modelMaxTokens for thinking models 2025-03-07 22:58:45 -05:00
Matt Rubens
46814df33b
Merge pull request #1464 from System233/patch-input-output-price-2
Fix: Input/output prices are parsed too early
2025-03-07 21:38:23 -05:00
Matt Rubens
ea9191610f
Merge pull request #1468 from System233/patch-custom-temperature
Fix: Custom temperature cannot be unchecked
2025-03-07 21:37:15 -05:00
System233
9ceccdec32 Fix: Custom temperature cannot be unchecked 2025-03-08 06:03:19 +08:00
Matt Rubens
29f8cde5ee
Merge pull request #1457 from DeXtroTip/feat/api-config-manager-dropdown-full-width
Use full width for Configuration Profile dropdown
2025-03-07 16:20:42 -05:00
Matt Rubens
ec8145f956
Merge pull request #1458 from RooVetGit/show_output_tokens
Show the reserved output tokens in the context window bar
2025-03-07 16:20:16 -05:00
Matt Rubens
671064a45f Show the reserved output tokens in the context window bar 2025-03-07 16:12:50 -05:00
System233
13563ef0c5 Fix: Input/output prices are parsed too early 2025-03-08 04:59:39 +08:00
Matt Rubens
9a340178fc v3.8 2025-03-07 14:37:51 -05:00