Commit graph

306 commits

Author SHA1 Message Date
Matt Rubens
9bbbaf2288 Add a new setting to control the number of workspace files included in the system prompt 2025-03-14 12:06:56 -04:00
cte
c609856302 Fix e2e tests 2025-03-13 00:54:05 -07:00
Chris Estreich
7845f96788
Merge pull request #1612 from RooVetGit/cte/task-events
Add Cline events and roofactor subtasks slightly
2025-03-12 22:56:13 -07:00
cte
4b23644683 Add Cline events and roofactor subtasks slightly 2025-03-12 22:52:37 -07:00
Matt Rubens
774248be1e Fix more hard-coded openrouter urls 2025-03-12 14:08:17 -04:00
Matt Rubens
0d8c6e7ae0 Add diffStrategy name to telemetry 2025-03-12 13:46:46 -04:00
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
cte
4b6def5f31 ContextProxy fix - constructor should not be async 2025-03-11 14:24:21 -07: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
Matt Rubens
3b2d6bce64
Merge pull request #1564 from cannuri/cannuri/fix_subtask_cancel_resume_bug
fix: Preserve parent-child relationship when cancelling subtasks
2025-03-11 14:47:17 -04:00
cannuri
6ce8e56db5 fix: Preserve parent-child relationship when cancelling subtasks
This commit fixes an issue where subtasks weren't properly reporting back to parent tasks when cancelled and resumed. Previously, when a subtask was cancelled and a new task was started with the same message, the parent task would incorrectly resume, causing unexpected behavior.

The fix:
1. Stores parent-child relationship information before cancelling a task
2. Restores this relationship after task reinitialization
3. Ensures parent tasks only resume when explicitly instructed to do so

This approach maintains the correct task hierarchy throughout the cancellation and resumption process, preventing parent tasks from automatically resuming when unrelated tasks with similar messages are started.
2025-03-11 06:05:48 +01: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
Matt Rubens
d6a9e0fbe9
Merge pull request #1552 from RooVetGit/mcp-home-dir
fix: update MCP servers directory path for platform compatibility
2025-03-10 21:47:08 -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
Hannes Rudolph
7462906b7a
Update ClineProvider.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-10 18:49:25 -06:00
cannuri
a9773b70c8 fix browser_action system prompt 2025-03-11 01:03:18 +01:00
Hannes Rudolph
abcb7c18b4
Update src/core/webview/ClineProvider.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-10 16:23:43 -06:00
hannesrudolph
102a996875 fix: update MCP servers directory path for platform compatibility 2025-03-10 15:18:19 -06:00
Afshawn Lotfi
66e3b9610c Add remote browser connection support and related state management 2025-03-10 03:41:38 +00:00
Matt Rubens
732eeddc6c Add model telemetry too 2025-03-09 23:18:44 -04: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
Afshawn Lotfi
22f51304a2 Add support for remote browser connection and settings 2025-03-09 20:11:52 +00: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
e945dcf94f
Merge pull request #1491 from shaybc/sbc_subtasks_approve_btn
Sbc subtasks approve button
2025-03-08 21:16:44 -05: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
Matt Rubens
441f54d792 Turn checkpoints on by default 2025-03-07 23:36:46 -05:00
Matt Rubens
4c6f0628e3 Add vscodeVersion and platform too 2025-03-07 16:41:35 -05:00
Matt Rubens
082045ec66 Add app version to telemetry 2025-03-07 16:30:19 -05:00
Matt Rubens
9a340178fc v3.8 2025-03-07 14:37:51 -05: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
cte
1901a0dbfc Choose the correct checkpoint storage strategy when resuming tasks 2025-03-06 11:23:00 -08:00
sam hoang
e21953e443 fix reset all state 2025-03-06 11:56:11 +07:00
cte
7eee3e0878 Smart truncation for terminal output 2025-03-05 19:36:52 -08:00
Matt Rubens
fb53d331cc Missed a spot in ClineProvider 2025-03-05 14:53:51 -05: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
a9d971e437
Update src/core/webview/ClineProvider.ts 2025-03-05 12:26:58 -05:00
Matt Rubens
d4f0f53be8 Merge remote-tracking branch 'origin/main' into sbc_add_subtasks 2025-03-05 12:23:15 -05:00
sam hoang
e0c267d7d9 fix test 2025-03-05 12:20:16 -05:00
Matt Rubens
279df6e7a4 Merge remote-tracking branch 'origin/main' into sbc_add_subtasks 2025-03-05 12:16:37 -05:00
sam hoang
b1b51f8f14 feat(contextProxy): add setValue and setValues methods to simplify state management
- Added new setValue method to ContextProxy to route keys to either secrets or global state
- Added setValues method to process multiple key-value pairs at once
- Updated ClineProvider to use new methods, reducing code duplication
- Added comprehensive test coverage for new methods

This change is part of the larger ClineProvider refactoring effort to improve state management and reduce complexity, as outlined in the refactoring plan documents.
2025-03-06 00:01:52 +07:00
Matt Rubens
08a449eb8f
Merge pull request #1267 from NyxJae/human-relay
Human relay
2025-03-05 11:13:16 -05:00
Matt Rubens
f683e4530f Revert "Better encapsulation for API config"
This reverts commit 86401faa37.
2025-03-05 11:05:05 -05:00
Matt Rubens
e4fb0081b1 Update commands to roo-cline to be consistent with others 2025-03-05 10:39:36 -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
86401faa37 Better encapsulation for API config 2025-03-05 10:04:48 -05:00