Commit graph

773 commits

Author SHA1 Message Date
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
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
90a607f111
Merge branch 'main' into cte/roo-code-api 2025-03-10 20:29:36 -07: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
cte
f8a592aac9 Rename ClineAPI to RooCodeAPI and improve types 2025-03-10 11:16:38 -07:00
shohei-ihaya
f4b3c44371 add gemini-2.0-pro-exp-02-05 model to vertex 2025-03-11 02:09:18 +09:00
dongqing
85b54b33ba support custom base url for gemini in google AI studio 2025-03-10 19:06:58 +08: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
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
Afshawn Lotfi
22f51304a2 Add support for remote browser connection and settings 2025-03-09 20:11:52 +00:00
Hannes Rudolph
bb87b7896b
Update src/shared/globalState.ts
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-08 22:31:20 -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
ShayBC
1456db9502 added approve finish task button and auto approve button for subtasks 2025-03-08 06:01:49 +02:00
System233
9ceccdec32 Fix: Custom temperature cannot be unchecked 2025-03-08 06:03:19 +08:00
Matt Rubens
f9d162e157 Add setting for whether to include ignored files in lists 2025-03-07 11:28:28 -05:00
Matt Rubens
50f76584bc Add telemetry and privacy policy 2025-03-07 03:03:44 -05:00
Matt Rubens
70a88aee4d
Merge pull request #1392 from eonghk/feature/vertex-credentials-auth
Add credentials auth for Google vertex
2025-03-06 16:45:45 -05:00
Olwer Altuve
566fa0f154 Merge branch 'fix-deepseek-cache-official-api' of https://github.com/olweraltuve/Roo-Code into fix-deepseek-cache-official-api 2025-03-06 11:31:04 -04:00
Olwer Altuve
89cf2c4c58 feat(api): Add DeepSeek provider support for prompt caching and detailed usage metrics
- Update DeepSeekHandler to support prompt caching
- Add cache token tracking in usage metrics
- Update DeepSeek model configurations with cache-related pricing
- Enhance test coverage for cache and usage metric handling
2025-03-06 11:26:15 -04:00
Olwer Altuve
1711d6c04d feat(deepseek): enhance model support with prompt caching and detailed usage metrics
- Add support for prompt caching in DeepSeek models
- Update model configurations to reflect caching capabilities
- Implement detailed usage metrics tracking cache write and read tokens
- Extend test coverage for new usage metrics and model parameters
- Update pricing information for DeepSeek models to include cache-related costs
2025-03-06 08:26:03 -04:00
cte
7eee3e0878 Smart truncation for terminal output 2025-03-05 19:36:52 -08:00
eong
e3ffd1337a Merge branch 'main' into feature/vertex-credentials-auth 2025-03-06 15:17:49 +13:00
Matt Rubens
6a0f22185b
Merge pull request #1367 from RooVetGit/rooignore
Add support for a .rooignore file
2025-03-05 13:59:24 -05:00
Matt Rubens
620c39cd68
Merge pull request #1234 from qdaxb/support_edit_multi_locations_in_apply_diff
Supports updating multiple locations of a file in one call of the apply_diff tool
2025-03-05 12:36:21 -05:00
Matt Rubens
279df6e7a4 Merge remote-tracking branch 'origin/main' into sbc_add_subtasks 2025-03-05 12:16:37 -05:00
Matt Rubens
73ac64924e Merge remote-tracking branch 'origin/main' into human-relay 2025-03-05 10:34:03 -05:00
Matt Rubens
7e0e3d0f1f Add support for a .rooignore file 2025-03-05 10:17:43 -05:00
Matt Rubens
c3da5b0aa3 More cleanup 2025-03-05 09:49:15 -05:00
Matt Rubens
96945cd004 Merge remote-tracking branch 'origin/main' into feat/context-proxy 2025-03-05 09:33:33 -05:00
eong
01f83b4d17 Add credentials auth for Google vertex 2025-03-06 00:51:38 +13:00
ShayBC
5bc1e50dae Resolved merge conflicts 2025-03-05 12:50:05 +02:00
cte
e1ccb70269 Checkpoint storage setting + settings view redesign 2025-03-04 15:18:29 -08:00
sam hoang
9bbd902d5d update new way to manage state 2025-03-05 00:06:30 +07:00
sam hoang
0a0634488a update api config key list to match with api key and global state key 2025-03-04 22:34:13 +07:00
sam hoang
b4094a6281 refactor by pr comment 2025-03-04 21:56:22 +07:00
sam hoang
167229fa73 Refactor checkExistKey to use centralized SECRET_KEYS array 2025-03-04 21:55:05 +07:00
sam hoang
381b07849a Feat ContextProxy to improve state management
- Add ContextProxy class as a wrapper around VSCode's ExtensionContext
- Implement batched state updates for performance optimization
- Update ClineProvider to use ContextProxy instead of direct context access
- Add comprehensive test coverage for ContextProxy
- Extract SECRET_KEYS and GLOBAL_STATE_KEYS constants for better maintainability
2025-03-04 21:55:04 +07:00
Matt Rubens
541b54e015
Merge pull request #1368 from adamwlarson/speculative_decoding
Adding support for Speculative Decoding for LMStudio Local Models
2025-03-04 09:32:58 -05:00
Felix NyxJae
d6ae95a227 Merge branch 'main' of github.com:NyxJae/Roo-Code into human-relay 2025-03-04 21:44:19 +08:00
axb
8a51a6c0b0 Supports updating multiple locations of a file in one call of the apply_diff tool 2025-03-04 21:44:05 +08:00