Commit graph

4002 commits

Author SHA1 Message Date
github-actions[bot]
e403a96e66
Update contributors list (#2867)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-23 03:14:08 -04:00
Trung Dang
01a7a66ca0
feat: add injectEnv util, support env ref in mcp config (#2679)
* feat: support environment variables reference in mcp `env` config

* tests(src/utils/config): add test for `injectEnv`

* fix(injectEnv): use `env == null` and `??` check instead of `!env`, `||`

* refactor: remove unnecessary type declare

* chore!: simplify regexp, remove replacement for env vars with dots
2025-04-23 03:13:04 -04:00
Dicha Zelianivan Arkana
3df9eac5b7
fix(mention): conditionally remove aftercursor content (#2732) 2025-04-23 03:09:29 -04:00
hongzio
33ee5d6c34
Fix: focusInput open roo code panel (#2626) (#2817)
* Fix: focusInput open roo code panel (#2626)

* Fix: `roo-cline.focusInput` open roo code panel

* fixup! Fix: focusInput open roo code panel (#2626)
2025-04-23 03:06:48 -04:00
Alfredo Medrano
3a5913ffca
Bugfix/fix vscodellm model information (#2832)
* feat: initialize VS Code Language Model client in constructor

* feat: add VS Code LLM models and configuration

* feat: integrate VS Code LLM models into API configuration normalization

* Fix tests

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-23 03:05:47 -04:00
seedlord
c2dd743aeb
Fix: Preserve editor state and prevent tab unpinning during diffs (#2857)
- Maintains editor view column state when closing and reopening files during diff operations, ensuring tabs stay opened in their original position.

- Prevents closing the original editor tab when opening the diff view, preserving pinned status when applying changes via write_to_file or apply_diff.

- Updates VSCode workspace launch flag from -n to -W for compatibility.
2025-04-23 02:45:35 -04:00
Hannes Rudolph
3d129e8a89
fix: allow opening files without workspace root (#1054)
* fix: allow opening files without workspace root

The openFile function in open-file.ts was requiring a workspace root to be present,
which prevented opening global files (like MCP settings) when no workspace was open.
Modified the function to handle absolute paths without this requirement.

Previously, trying to open MCP settings in a new window without a workspace would
error with "Could not open file: No workspace root found". Now the function
properly handles both workspace-relative and absolute paths, allowing global
settings files to be accessed in any context.

Changes:
- Removed workspace root requirement in openFile
- Added fallback for relative paths when no workspace is present

* fix: update openFile function to use provided path without modification

---------

Co-authored-by: Roo Code <support@roo.vet>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-23 02:35:10 -04:00
Daniel
0f64849542
feat: allow variable interpolation into the custom system prompt (#2863)
* feat: allow variable interpolation into the custom system prompt

* fix: allow the test to pass on windows by using the path module
2025-04-23 01:09:14 -04:00
System233
c6f91a3b2f
Fix error message not showing after canceling API request (#2845) 2025-04-22 15:40:33 -04:00
Dicha Zelianivan Arkana
1a376c262e
[DRAFT] feat(menu): use material icons for files and folders (#2739)
feat(menu): use material icons for files and folders
2025-04-22 15:39:45 -04:00
System233
0d561f8a27
Fix redundant 'TASK RESUMPTION' prompts (#2842) 2025-04-22 10:12:29 -04:00
System233
8ac911244c
Fix user feedback not being added to conversation history in API error state (#2844)
Fix user feedback not being added to conversation history in the API error state
2025-04-22 10:10:34 -04:00
Matt Rubens
f1c79759a0
Add line wrapping to MCP arguments (#2831) 2025-04-22 00:15:46 -04:00
Matt Rubens
3e2d20f37c
Search and replace fixes (#2830)
* Allow replacing with an empty string

* Visual cleanup
2025-04-21 22:57:58 -04:00
Matt Rubens
8b5d48013e
Fix MCP hub lookup during view transition (#2829) 2025-04-21 22:39:39 -04:00
github-actions[bot]
b6ea9d1465
Update contributors list (#2803)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-21 21:22:54 -04:00
Matt Rubens
ff5430a95c
Try adding better errors for write_to_file truncated output (#2821) 2025-04-21 21:18:25 -04:00
Sam Hoang Van
f06567d579
Feat/improve insert block content (#2510)
* refactor: enhance insertGroups and insertContentTool for better handling of insertion operations

* refactor: simplify insert_content tool

- Remove operations-based implementation in favor of single line insertion
- Update parameters from operations to line and content
- Simplify insertion logic and error handling
- Update tool description and documentation
- Remove XML parsing for operations
- Clean up code and improve error messages

* refactor: remove insert_content experiment and related tests

* Remove the append_to_file tool

* Improvements to chat row and instructions

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-21 16:49:27 -04:00
Sam Hoang Van
80b298492c
improve search and replace tool (#2764)
* Refactor search and replace tool

* feat(search-replace): enhance search/replace tool UI and messaging

Refactor search/replace tool message structure for better consistency
Add dedicated UI component for displaying search/replace operations
Add i18n support for search/replace operations in all supported languages
Improve partial tool handling in searchAndReplaceTool

* Remove search_and_replace experiment and related references
2025-04-21 15:25:03 -04:00
Chris Estreich
61e23cccb6
Record tool use errors encountered during eval runs (#2816) 2025-04-21 11:04:35 -07:00
Matt Rubens
a244a9dc21
Fix a bad search/replace when moving tools into their own files (#2815) 2025-04-21 13:54:02 -04:00
Daniel Trugman
b955dbc1fc
Requesty models behind api key (#2813)
* Don't fetch Requesty models on startup, only when opening settings

* Provide api key when fetching models
2025-04-21 11:56:02 -04:00
Felix NyxJae
f1c3edeb75
Fix: Improve drag-and-drop and SSH path handling (#2808)
* Fix: Correct path handling for dragged files on Windows

* Fix: Improve drag-and-drop and SSH path handling
2025-04-21 09:27:24 -04:00
Matt Rubens
29137fbfec
Revert changes on omitted line count in write_to_file (#2807) 2025-04-21 00:24:52 -04:00
Matt Rubens
19df13c760
Add a warning display when a system prompt override is active (#2804) 2025-04-20 23:28:19 -04:00
Dicha Zelianivan Arkana
d2e5019f88
fix(icons): use geometricPrecision to avoid blurriness (#2756) 2025-04-20 22:04:23 -04:00
Dicha Zelianivan Arkana
47230d5a5c
fix(action): handle edge case for add to context action (#2780) 2025-04-20 21:46:01 -04:00
Sacha Sayan
612b948193
Refactor: Use path aliases in webview source files. (#2801)
* Refactor: Use path aliases in webview source files.

* Add module resolution to root jest config.

* Add tests.

Broken import.

Another broken import.

 Broken test.
2025-04-20 21:38:08 -04:00
Sacha Sayan
cf54c7d820
Quickfix: Change cloud-download icon to more appropriate desktop-download icon. (#2802) 2025-04-20 18:19:42 -07:00
Nico Bihan
eeb73c3c06
Adds Gemini 2.5 Flash "thinking" model to Vertex AI Provider (#2794) 2025-04-19 21:30:20 -07:00
Matt Rubens
ed102d1850
Remove the strict line bounds check from the diff (#2790) 2025-04-19 15:43:27 -04:00
Matt Rubens
2205606118
Remove globby as it's no longer used (#2788) 2025-04-19 14:26:35 -04:00
Matt Rubens
5d0aa20f97
Switch list files from globby to ripgrep (#2689)
* Switch list files from globby to ripgrep

* PR feedback

* PR fix
2025-04-19 14:13:45 -04:00
R00-B0T
c5f48a8bc6
Changeset version bump (#2777)
* changeset version bump

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-04-18 21:14:30 -07:00
github-actions[bot]
8c18727f9a
Update contributors list (#2779)
docs: update contributors list [skip ci]

Co-authored-by: cte <cte@users.noreply.github.com>
2025-04-18 21:13:43 -07:00
Chris Estreich
e74b69dfbc
v3.13 announcement (#2778)
* v3.13 announcement

* Update README.md

* Update lastShownAnnouncementId

* Tweak copy
2025-04-18 21:01:21 -07:00
Chris Estreich
c10600e354
Pass baseURL to Gemini API if googleGeminiBaseUrl is set (#2776) 2025-04-18 19:25:42 -07:00
R00-B0T
b8b90737fa
Changeset version bump (#2768)
* changeset version bump

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-04-18 20:39:24 -04:00
github-actions[bot]
2a5d472f0d
Update contributors list (#2770)
docs: update contributors list [skip ci]

Co-authored-by: cte <cte@users.noreply.github.com>
2025-04-18 15:14:38 -07:00
Chris Estreich
d5fe876c9b
v3.13.1 (#2774) 2025-04-18 14:56:01 -07:00
Chris Estreich
96ff9fc380
Fix pricing for Gemini 2.5 Flash (Thinking) (#2773)
* Fix pricing for Gemini 2.5 Flash (Thinking)

* Looks like it's actually $3.50

* We aren't honoring custom thinking token budgets on Vertex yet
2025-04-18 14:43:27 -07:00
Chris Estreich
f6e4e3504f
Move executeCommand out of Cline and add telemetry for shell integration errors (#2771) 2025-04-18 14:43:04 -07:00
Sacha Sayan
0bb5ec18c5
UI: Auto-approve toggle styling tweak. (#2769) 2025-04-18 13:43:03 -07:00
Chris Estreich
5abea50cf1
Support Gemini 2.5 Flash thinking (#2752) 2025-04-18 12:26:17 -07:00
Felix NyxJae
6772306ade
Fix: Correct path handling for dragged files on Windows (#2753) 2025-04-18 10:29:32 -04:00
github-actions[bot]
b3065d2ab3
Update contributors list (#2715)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-18 03:09:14 -04:00
R00-B0T
31656d9b16
Changeset version bump (#2716)
* changeset version bump

* Update CHANGELOG.md

* Update package.json

* Update package-lock.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-18 02:47:41 -04:00
Matt Rubens
c329b4509f
v3.12.4 (#2745) 2025-04-18 02:29:13 -04:00
Matt Rubens
06882f5687
Don't break if an end_line is passed into a diff (#2743) 2025-04-18 02:23:55 -04:00
Chris Estreich
87af3b3424
Record tool usages in the Cline object, and persist them in the db for evals (#2729) 2025-04-17 22:21:14 -07:00