Commit graph

22 commits

Author SHA1 Message Date
Chris Estreich
43fa77ca94 Fix linter errors (#3821) 2025-05-24 13:39:36 -06:00
Canyon Robins
329ef4ff0f [Condense] Track telemetry for condense and truncate operations (#3796)
* [Condense] Track telemetry for condense and truncate operations

* update tests

* test fix nits
2025-05-24 13:39:35 -06:00
Canyon Robins
3f85e5e4e0 [Condense] Add a slider for the context condense threshold (#3790)
* [Condense] Add a slider for the context condense threshold

* slider UI

* condense if we reach the threshold

* fixes

* test typing fixes

* add more truncate tests

* changeset

* update translations

* fix missing type
2025-05-24 13:39:34 -06:00
Canyon Robins
9c8c3d26bc [Condense] Fix double counting last message when condensing (#3763) 2025-05-24 13:39:33 -06:00
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
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
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
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
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
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
Chris Estreich
d8750edb94 Switch to the new Roo message parser (#3567) 2025-05-24 13:39:26 -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
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
Chris Estreich
fdb7b89959 Gemini implicit caching (#3515) 2025-05-24 13:39:23 -06:00
John Richmond
25fef10b2a Restore profile management work + fix #3434 (#3449)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-24 13:39:22 -06:00
Matt Rubens
996adc1483 Revert "Improve provider profile management in the external API (#3386)" (#3440) 2025-05-24 13:39:21 -06:00
Chris Estreich
ddd8ebf856 Get rid of ApiConfiguration type alias, rename ApiConfigMeta to ProviderSettingsEntry (#3380) 2025-05-24 13:39:20 -06:00
Chris Estreich
6af9fad180 Rename Cline to Task (#3352) 2025-05-24 13:39:19 -06:00
Renamed from src/core/Cline.ts (Browse further)