Commit graph

2009 commits

Author SHA1 Message Date
Canyon Robins
fd8825d042 [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-24 13:39:33 -06:00
Matt Rubens
4b974f623c Use yaml as default custom modes format (#3749) 2025-05-24 13:39:33 -06:00
Matt Rubens
452ec95465 Moved repo to new org (#3756) 2025-05-24 13:39:33 -06:00
Chris Hasson
211e5decb5 Auto-reload core changes in dev mode (#3284)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-24 13:39:33 -06:00
ChuKhaLi
d608f41b59 Move error message for settings import failure into the correct position (#3752)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
2025-05-24 13:39:32 -06:00
Chris Hasson
76cd5f1aec 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-24 13:39:32 -06:00
R-omk
34c8b09b04 Add YAML support for .roomode files alongside JSON processing (#3711) 2025-05-24 13:39:32 -06:00
Noritaka Kobayashi
e8daf6298c refactor: import multiple times (#3745) 2025-05-24 13:39:32 -06:00
மனோஜ்குமார் பழனிச்சாமி
a5c59241b3 feat: move play audio to webview to ensure cross-platform (#3659)
Co-authored-by: sam hoang <samhv.ict@gmail.com>
2025-05-24 13:39:32 -06:00
Canyon Robins
b69d389e33 camelCase 2025-05-24 13:39:31 -06:00
Canyon Robins
80f5549c49 fix failing tests 2025-05-24 13:39:31 -06:00
Canyon Robins
0ed3cbb09a add getApiMetrics.test.ts 2025-05-24 13:39:31 -06:00
Canyon Robins
be67640b53 update sliding-window tests 2025-05-24 13:39:31 -06:00
Canyon Robins
abe39a3062 add unit tests for condense 2025-05-24 13:39:31 -06:00
Canyon Robins
397d032e77 nit 2025-05-24 13:39:30 -06:00
Canyon Robins
de08095db0 nit 2025-05-24 13:39:30 -06:00
Canyon Robins
c9871b68ad bug fix 2025-05-24 13:39:30 -06:00
Canyon Robins
46fcd370c5 account for system prompt when estimating new context size 2025-05-24 13:39:30 -06:00
Canyon Robins
440ed6e79c Add UI component 2025-05-24 13:39:30 -06:00
Canyon Robins
fe606e3f06 [Condense Context] Track metrics around context condensing and show in UI 2025-05-24 13:39:30 -06:00
avtc
af6eb1fc4d LM studio reasoning support (thinking block) (#3719)
lmstudio reasoning support (thinking block)

Similar to ollama implementation in #1080
2025-05-24 13:39:30 -06:00
Remon Oldenbeuving
82a87b30a9 fix(webview): Fix links to filename:0 (#3727)
* fix(webview): Fix links to filename:0

* Add changeset
2025-05-24 13:39:30 -06:00
zeo
4cb9b4ea37 Add Qwen3 model series to the Chutes provider (#3710)
* Add Qwen3 model series to the Chutes provider

New models for the Chutes provider:

- Qwen/Qwen3-235B-A22B
- Qwen/Qwen3-32B
- Qwen/Qwen3-30B-A3B
- Qwen/Qwen3-14B
- Qwen/Qwen3-8B

* add changeset
2025-05-24 13:39:29 -06:00
pugazhendhi-m
a0a399722d Adds refresh models button for Unbound provider (#3663)
* Adds refresh models button for Unbound provider

* Adds changeset

* Optimizes code to prevent memory leak, add error messages

* Adds unbound messages to all supported languages

---------

Co-authored-by: Pugazhendhi <pugazhendhi@unboundsecurity.ai>
2025-05-24 13:39:29 -06:00
xyOz
a4f5bbec4c 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-24 13:39:29 -06:00
Chris Estreich
36aff9fdc6 Export ProviderName type to Roo-Code-Types (#3675) 2025-05-24 13:39:29 -06:00
Chris Estreich
69d63b9502 Import settings bug fix / improvements (#3657) 2025-05-24 13:39:29 -06:00
Chris Estreich
6e59aaed23 Revert "Switch to the new Roo message parser" (#3649) 2025-05-24 13:39:29 -06:00
Matt Rubens
fed23f4b6d Fix how custom instructions are loaded into the API request (#3638)p 2025-05-24 13:39:28 -06:00
Matt Rubens
92acc3fda6 v3.17.0 (#3622) 2025-05-24 13:39:28 -06:00
Canyon Robins
9a1cc39ad1 [Condense] Condense messages with an LLM rather than truncating (#3582)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-24 13:39:27 -06:00
Hannes Rudolph
effe617cfc 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-24 13:39:27 -06:00
Hannes Rudolph
6e8abe0e35 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-24 13:39:26 -06:00
Matt Rubens
1d3a44e058 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-24 13:39:26 -06:00
Chris Estreich
65d25ddf1b Fix linter warning + run prettier on everything (#3581) 2025-05-24 13:39:26 -06:00
Chris Estreich
d8750edb94 Switch to the new Roo message parser (#3567) 2025-05-24 13:39:26 -06:00
Chris Estreich
d59a39f598 Add IPC types to roo-code.d.ts (#3568) 2025-05-24 13:39:26 -06:00
Chris Estreich
867c6c1c6b Show LLM streaming file write content (#3241) 2025-05-24 13:39:25 -06:00
Chris Estreich
7ea934c93d Focus improvements (#3539) 2025-05-24 13:39:25 -06:00
Chris Estreich
e3cef8e53c Revert "Accidental execution of tool syntax fix" (#3560) 2025-05-24 13:39:25 -06:00
xyOz
1bc4a2db16 Accidental execution of tool syntax fix (#3456)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-24 13:39:25 -06:00
Chris Estreich
f7629d8a49 Add tests + benchmark for parseAssistantMessage V1 + 2 (#3538) 2025-05-24 13:39:24 -06:00
Daniel Trugman
d3e67d2881 Requesty: Only report final usage (#3542) 2025-05-24 13:39:24 -06:00
Xudong Zhang
00cf39e010 fix(task): temporary fix for the ask error (#3471)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-24 13:39:24 -06:00
Sam Hoang Van
77341ed1e8 make apply_diff can deduce when line number in search part fix #2990 (#3329) 2025-05-24 13:39:24 -06:00
xyOz
bd66b4cd77 Greyscreen fix (#3474)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-24 13:39:23 -06:00
Daniel
4c68b14c2f Use the provider-specific model info for the OpenRouter provider (#3430) 2025-05-24 13:39:23 -06:00
Daniel
f8ab4d6379 Handle directory URI on diagnostics (#3457) 2025-05-24 13:39:23 -06:00
Chris Estreich
fdb7b89959 Gemini implicit caching (#3515) 2025-05-24 13:39:23 -06:00
John Richmond
4d6667ba35 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-24 13:39:23 -06:00