Commit graph

1023 commits

Author SHA1 Message Date
Daniel
27e47de3aa
Add Gemini Flash 2.5 05-20 variants for the Vertex provider (#3758)
* feat(api): add gemini-2.5-flash-preview-05-20 model configuration

* feat(tests): update apiModelId to gemini-2.5-flash-preview-05-20 in ProviderSettingsManager tests in case the old version is deprecated

* chore: add changeset

* feat(api): update vertexModels to add gemini-2.5-flash-preview-05-20 variants

* chore: update changeset
2025-05-20 21:13:21 -04:00
Chris Estreich
f274a150c4
Get package publisher and name from package.json + command type safety (#3766) 2025-05-20 16:41:03 -07:00
Canyon Robins
ff837d5cbf
[Condense] Fix double counting last message when condensing (#3763) 2025-05-20 14:15:15 -07:00
Canyon Robins
c3716f1107
[Condense] Add a button to condense the task context (#3623)
* [Condense] Add a button to condense the task context

* wip

* wip

* wip

* bring back delete size

* account for the system prompt in the context

* update tests to use systemPrompt

* add type

* translations

* nit

* update tests

* filter to the current task

* nit

* refactor

* nit

* non interactive option

* simplify chat summary UI

* changeset

* nit

* fix check-types

* throw
2025-05-20 13:47:02 -07:00
Matt Rubens
737bad6061
Use yaml as default custom modes format (#3749) 2025-05-20 16:44:29 -04:00
Chris Hasson
25cd57e157
feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631)
* feat(settings): Introduce the "auto-approve request count" feature from Cline

This is the first minor UI feature I've added, so please let me know if I'm missing anything! (translations, organization, etc!)

Please see commits for details

introduce allowedMaxRequests to globalSettingsSchema
update ExtensionState and its context with allowedMaxRequests
implement UI for setting max requests in AutoApproveMenu component
prompt user when auto-approval limit is reached with i18n support
increment consecutiveAutoApprovedRequestsCount and reset upon user approval
add translations for auto-approved request limit reached prompt in multiple languages
add new UI for "auto_approval_max_req_reached" in ChatRowContent
display prompt with title, description, and button for user action

🔧 chore(gitignore): add .idea to .gitignore to exclude IDE-specific files
- remove .idea/workspace.xml to clean up repository

* 🔧 chore(gitignore): add IDE configuration files to ignore list

- add .idea directory to ignore JetBrains IDE configurations

* 🌐 i18n(chat): add translation keys for api request limit

- introduce translation keys for "title" and "unlimited" in multiple languages
- update description for api request limit in various languages

* 🌐 i18n(chat): migrate auto-approved request limit translations

- move translations from common.json to chat.json across locales
- update component to use Trans for dynamic text rendering

* Update the UI for setting max requests

* Hide the auto-approve limit warning once clicked

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-20 11:30:27 -04:00
R-omk
527050eeb0
Add YAML support for .roomode files alongside JSON processing (#3711) 2025-05-20 09:59:23 -04:00
Noritaka Kobayashi
6a6df08fbd
refactor: import multiple times (#3745) 2025-05-20 09:19:44 -04:00
மனோஜ்குமார் பழனிச்சாமி
628661c5c5
feat: move play audio to webview to ensure cross-platform (#3659)
Co-authored-by: sam hoang <samhv.ict@gmail.com>
2025-05-20 01:15:05 -04:00
Canyon Robins
29e055ccb9 camelCase 2025-05-19 20:26:06 -07:00
Canyon Robins
599e1c35fd fix failing tests 2025-05-19 19:49:31 -07:00
Canyon Robins
01bdc53eb1 update sliding-window tests 2025-05-19 19:37:26 -07:00
Canyon Robins
9765612b28 add unit tests for condense 2025-05-19 19:30:12 -07:00
Canyon Robins
0fb8075d8c nit 2025-05-19 19:15:38 -07:00
Canyon Robins
f4a263db57 nit 2025-05-19 19:14:05 -07:00
Canyon Robins
65f7f350ea account for system prompt when estimating new context size 2025-05-19 18:28:30 -07:00
Canyon Robins
95bd6cb87f Add UI component 2025-05-19 18:20:04 -07:00
Canyon Robins
603d2eface [Condense Context] Track metrics around context condensing and show in UI 2025-05-19 17:36:17 -07:00
xyOz
cf445c3e54
Log Cleanup to Remove Cline (#3704)
* Rename Errors & Fix Spelling Mistake

* Update src/core/task/Task.ts

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

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-17 13:49:24 -07:00
Chris Estreich
dc694efdb2
Import settings bug fix / improvements (#3657) 2025-05-15 23:21:55 -07:00
Chris Estreich
433a564cce
Revert "Switch to the new Roo message parser" (#3649) 2025-05-15 21:28:44 -07:00
Matt Rubens
1ff8a56e7a
Fix how custom instructions are loaded into the API request (#3638)p 2025-05-15 16:44:10 -04:00
Matt Rubens
669b239c22
v3.17.0 (#3622) 2025-05-14 17:33:55 -04:00
Canyon Robins
7c1185ed33
[Condense] Condense messages with an LLM rather than truncating (#3582)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-14 16:44:01 -04:00
Hannes Rudolph
855a5e213d
Refactor: Update new_task tool description and mode examples (#3586)
The description for the `new_task` tool has been simplified for clarity.
Additionally, the example modes listed for the `mode` parameter have been updated to include "debug" instead of "ask".
2025-05-13 20:26:02 -04:00
Hannes Rudolph
4aa448b7e8
Refactor: Update custom instructions for 'ask' mode (#3583)
This commit refines the custom instructions for the 'ask' mode. The changes aim to provide clearer guidance to the AI, emphasizing thoroughness in answering questions and caution against prematurely switching to code implementation.

Specifically, the instructions were updated as follows:

- Changed "Make sure to answer the user's questions" to "Always answer the user’s questions thoroughly"
- Changed "don't rush to switch to implementing code" to "do not switch to implementing code unless explicitly requested by the user"
- Changed "Include Mermaid diagrams if they help make your response clearer" to "Include Mermaid diagrams when they clarify your response"

These changes are reflected in both [`src/shared/modes.ts`](src/shared/modes.ts:80) and its corresponding snapshot file [`src/core/prompts/__tests__/__snapshots__/system.test.ts.snap`](src/core/prompts/__tests__/__snapshots__/system.test.ts.snap:5458).
2025-05-13 20:10:48 -04:00
Matt Rubens
751afaa6ac
Add a 'when to use' section to mode definitions (#3571)
* Add a 'when to use' section to mode definitions

* Remove defaults for now
2025-05-13 18:39:02 -04:00
Chris Estreich
26eae7e303
Switch to the new Roo message parser (#3567) 2025-05-13 12:40:30 -07:00
Chris Estreich
d3c469391f
Show LLM streaming file write content (#3241) 2025-05-13 09:47:33 -07:00
Chris Estreich
0f9691ab27
Revert "Accidental execution of tool syntax fix" (#3560) 2025-05-13 09:36:23 -07:00
xyOz
07db3c8824
Accidental execution of tool syntax fix (#3456)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-13 09:20:32 -07:00
Chris Estreich
72358f2742
Add tests + benchmark for parseAssistantMessage V1 + 2 (#3538) 2025-05-13 08:05:41 -07:00
Xudong Zhang
f6cae4df05
fix(task): temporary fix for the ask error (#3471)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-12 21:38:36 -07:00
Sam Hoang Van
6db30afc74
make apply_diff can deduce when line number in search part fix #2990 (#3329) 2025-05-12 23:11:01 -04:00
xyOz
86a03798d5
Greyscreen fix (#3474)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-12 22:39:07 -04:00
Daniel
9ffdc7879e
Use the provider-specific model info for the OpenRouter provider (#3430) 2025-05-12 18:23:32 -07:00
Chris Estreich
20fab97b4d
Gemini implicit caching (#3515) 2025-05-12 14:16:27 -07:00
John Richmond
8a1cc06b54
fix: get model id from ApiHandler (#3512)
Not all handlers/providers use apiModelId, but they do all return a
model id from getModel().
2025-05-12 14:12:11 -07:00
John Richmond
8cb5c4e9e3
Restore profile management work + fix #3434 (#3449)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-12 15:47:09 -04:00
Wojciech Kordalski
6416118f74
ClineProvider.finishSubTask should wait for unpausing the parent task (#1870) 2025-05-12 12:27:23 -07:00
KJ7LNW
7d75536741
fix: webview terminal output processing error (#3028) 2025-05-11 17:51:22 -07:00
Matt Rubens
730d037a12
Revert "Improve provider profile management in the external API (#3386)" (#3440) 2025-05-10 08:27:37 -04:00
Chris Estreich
ce4ce17cb2
Improve provider profile management in the external API (#3386)
Co-authored-by: John Richmond <5629+jr@users.noreply.github.com>
2025-05-09 10:05:34 -07:00
Chris Estreich
302dc2dcba
Export more types to the external API (#3383) 2025-05-09 00:05:29 -07:00
Chris Estreich
c21aa230e3
Get rid of ApiConfiguration type alias, rename ApiConfigMeta to ProviderSettingsEntry (#3380) 2025-05-08 23:52:18 -07:00
Chris Estreich
55b72a530c
Simplify the process of setting the "active" provider profile (#3366)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-08 20:59:59 -07:00
KJ7LNW
1688bd66c0
fix: handle unsupported language errors gracefully in read_file tool (#3359)
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-08 22:51:44 -04:00
Murilo Pires
fb807c1056
fix: Prevent terminal focus theft on paste after command execution (#3356) 2025-05-08 22:43:06 -04:00
John Richmond
a79d18739a
Stop leaking other provider settings (#3357)
* Stop leaking other provider settings

* Also filter out leaked properties on export
2025-05-08 17:49:07 -07:00
Chris Estreich
1a78be3bfa
Rename Cline to Task (#3352) 2025-05-08 12:47:50 -07:00