Commit graph

3944 commits

Author SHA1 Message Date
Chris Estreich
471caff000
Clean up types related to tools (#2719) 2025-04-17 13:31:48 -07:00
Hannes Rudolph
026091e432
Fix filename format in downloadTask function for markdown export (#2717)
* Fix filename format in downloadTask function for markdown export

* Update src/integrations/misc/export-markdown.ts

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

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-04-17 16:18:50 -04:00
Sam Hoang Van
1e0e01b9f3
feat: add append_to_file tool for appending content to files (#2712)
- Implemented the append_to_file tool to allow users to append content to existing files or create new ones if they do not exist.
- Updated the rules and instructions to include the new tool.
- Added tests for the append_to_file functionality, covering various scenarios including error handling and content preprocessing.
- Enhanced the experiment schema to include the new append_to_file experiment ID.
- Updated relevant interfaces and types to accommodate the new tool.
- Modified the UI to display the append_to_file tool in the appropriate sections.
2025-04-17 15:58:22 -04:00
Chris Estreich
d3c37eaec8
Add missing translation (#2714)
* Add missing translation

* More translation fixes
2025-04-17 10:23:19 -07:00
Sacha Sayan
159e4005e5
UI Glam Sesh: Makeover for TaskHeader, ChatView, HistoryPreview... (#2701)
* - UI Glam Session -> Makeover for TaskHeader, ChatView, HistoryPreview, WelcomeView
- In particular, display a "no tasks in workspace" message when no tasks are found.
- Clean up Inferface Settings (not needed now) on Settings View
- Copy updates throughout these areas.

* Apply suggestions from code review

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

* Missing translation string.

* Fix test

* Fix tests

* Improve translations / fix missing strings.

* Support xAI for evals (#2703)

* Make sure the slash commands only fire if they're the first character (#2702)

* Update contributors list (#2675)

docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>

* v3.12.3 (#2710)

* Changeset version bump (#2711)

* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Update translations

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: cte <cestreich@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <110429663+R00-B0T@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
2025-04-17 12:54:55 -04:00
R00-B0T
0736379ad0
Changeset version bump (#2711)
* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-17 10:45:43 -04:00
Matt Rubens
94842f21af
v3.12.3 (#2710) 2025-04-17 10:34:32 -04:00
github-actions[bot]
d3ba74c568
Update contributors list (#2675)
docs: update contributors list [skip ci]

Co-authored-by: mrubens <mrubens@users.noreply.github.com>
2025-04-17 10:26:50 -04:00
Matt Rubens
511ebb7a98
Make sure the slash commands only fire if they're the first character (#2702) 2025-04-17 07:55:53 -04:00
Chris Estreich
0374436fac
Support xAI for evals (#2703) 2025-04-16 23:08:58 -07:00
Matt Rubens
30c44ff14c
Support dragging and dropping tabs into chat text area (#2698) 2025-04-16 23:04:16 -04:00
Matt Rubens
ba5af60109
Fix diff escaping issues (#2694)
* Fix diff escaping issues

* Potential fix for code scanning alert no. 75: Double escaping or unescaping

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-16 18:05:04 -04:00
R00-B0T
4bf746d635
Changeset version bump (#2688)
* changeset version bump

* Update CHANGELOG.md

---------

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-16 14:52:22 -04:00
Matt Rubens
454df52462
v3.12.2 (#2693) 2025-04-16 14:47:35 -04:00
Matt Rubens
43668e0429
Add support for different reasoning effort (#2692) 2025-04-16 14:16:51 -04:00
Peter Dave Hello
250ea6867a
Add OpenAI o3 & 4o-mini (#2691)
Reference:
- https://platform.openai.com/docs/models/o3
- https://platform.openai.com/docs/models/o4-mini
- https://openai.com/index/introducing-o3-and-o4-mini/
2025-04-16 14:10:10 -04:00
Matt Rubens
9d761e23e2
Add consecutive mistake count to diff error telemetry (#2687) 2025-04-16 12:02:49 -04:00
Dicha Zelianivan Arkana
1d029ed0cb
refactor(context-menu): handle filename display better (#2684)
* refactor(context-menu): handle filename display better

* refactor(context-menu): reduce string computation
2025-04-16 09:46:06 -04:00
R00-B0T
c980662728
Changeset version bump (#2683)
* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-16 06:44:17 -04:00
Matt Rubens
2d360dc59e
Fix select dropdown styling (#2682) 2025-04-16 06:40:43 -04:00
R00-B0T
923e391bb8
Changeset version bump (#2676)
* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

* Update package.json

* Update package-lock.json

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <github-actions@github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-16 01:22:03 -04:00
Matt Rubens
e2d649dc50
v3.12.0 (#2674) 2025-04-16 01:16:06 -04:00
Matt Rubens
82df05a297
Fix configuration titles (#2672) 2025-04-15 23:09:18 -04:00
Aleksandr Kirillov
1cca4f47c7
feat: Add 'roo.acceptInput' command (#2598)
* feat: Add 'roo.acceptInput' command

* Update package.nls.json

* Update translations

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-15 23:01:45 -04:00
Matt Rubens
37f7d83792
Add xAI provider (#2667)
* Add xAI provider

* Add model reasoning effort

* DRY this up

* Handle undefined delta

* Cleanup getModel to fix test

* Add missing translations

* Small type cleanup

* Support temperature

---------

Co-authored-by: cte <cestreich@gmail.com>
2025-04-15 22:16:52 -04:00
Chris Estreich
3b19d7a455
Await checkpoint saves (except the initial) (#2665) 2025-04-15 16:57:12 -07:00
Matt Rubens
75a6bc100e
Safe JSON parse in ChatRow (#2666) 2025-04-15 19:49:25 -04:00
Dominik Oswald
7fab2f7738
feat: Cost Display in Task Header - Suppress Zero Cost Values and Ensure Visibility for Gemini, OpenAI, LM Studio, and Ollama (#2662)
test: Add unit tests for TaskHeader component cost display logic
2025-04-15 17:57:42 -04:00
KJ7LNW
da2ab6e388
test: limit Jest worker count to 40% per suite (#2658)
- Each test suite (extension/webview) limited to 40% CPU usage
- Total CPU utilization capped at 80% (40% x 2 suites)
- Reserves 20% CPU for system and user tasks
- Prevents memory thrashing and system slowdown
- Reduces risk of OOM kills on memory-constrained systems
- Maintains smooth UI responsiveness during test runs
- Improves test reliability while keeping parallel execution

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-15 14:37:27 -07:00
Chris Estreich
1bbfd2e8e6
DRY up the auto-approve toggles (#2664)
* DRY up the auto-approve toggles

* Better subtask icon per @joemanley201
2025-04-15 14:36:13 -07:00
Chris Estreich
e7a57ea774
Expose reasoning effort option for reasoning models on OpenRouter (#2483)
* Specify reasoning effort for OpenRouter reasoning models

* Add ReasoningEffort type

* Fix ReasoningEffort props

* Remove copypasta

* Set reasoning effort for Grok 3 Mini

* Use translations

* Add translations

* Remove this check
2025-04-15 13:51:52 -07:00
Matt Rubens
51bcade4c5
Better string normalization for diffs (#2659) 2025-04-15 16:20:20 -04:00
Matt Rubens
648c6e7d28
Move diff editing config to provider settings (#2655)
* Move diff editing config to provider settings

* Fix tests
2025-04-15 14:59:27 -04:00
github-actions[bot]
a3b2ebc026
Update contributors list (#2595)
docs: update contributors list [skip ci]

Co-authored-by: cte <cte@users.noreply.github.com>
2025-04-15 14:41:12 -04:00
Chris Estreich
a4d2de4534
Add pass / fail events for evals (#2656) 2025-04-15 11:29:38 -07:00
Matt Rubens
5f19ea4a06
Add telemetry for prompt enhancement (#2651) 2025-04-15 10:49:01 -04:00
Matt Rubens
31fd6e1470
Capture telemetry for usage of code actions (#2650) 2025-04-15 10:37:48 -04:00
Matt Rubens
afbf174e19
Add telemetry for consecutive mistake error (#2649) 2025-04-15 10:17:17 -04:00
Sam Hoang Van
84c574c947
Fuzzy search bar select dropdown (#2635)
* Revert "Revert "feat: implement fuzzy search and dropdown grouping in SelectDropdown component" (#2627)"

This reverts commit f1ad8ab751.

* Fix double scroll bar on provider select dropdown

* Update webview-ui/src/components/ui/select-dropdown.tsx

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-04-15 10:14:39 -04:00
R00-B0T
9a5023504c
Changeset version bump (#2629)
* changeset version bump

* Update CHANGELOG.md

---------

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-15 02:15:02 -04:00
Chris Estreich
6e567845cb
Remove auto-approve button useMemo (#2630) 2025-04-14 23:11:13 -07:00
Matt Rubens
249d53b30d
v3.11.17 (#2628) 2025-04-15 02:06:58 -04:00
Chris Estreich
f1ad8ab751
Revert "feat: implement fuzzy search and dropdown grouping in SelectDropdown component" (#2627)
Revert "feat: implement fuzzy search and dropdown grouping in SelectDropdown …"

This reverts commit 89107b82a3.
2025-04-14 22:53:52 -07:00
Chris Estreich
1cdedf3048
Update translations (#2623)
* Update translations

* Clean up the buttons
2025-04-14 22:47:27 -07:00
KJ7LNW
00609aa2f3
fix: race in short-running command output capture (#2624)
Previously, handlers for terminal output were registered after starting the process,
which could cause output to be missed for fast-executing commands that complete
before handlers are set up.

- Adds CommandCallbacks interface to register handlers upfront
- Moves handler registration before process start to ensure no output is missed
- Provides process instance in callbacks for direct control
- Adds debug logging to help diagnose timing issues

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-15 01:34:45 -04:00
Matt Rubens
4f5796c152
Add telemetry for diff errors (#2619) 2025-04-15 00:27:34 -04:00
Sacha Sayan
111ac9ca47
UI Fix: Approve Tool Use Grid Toggles. (#2487)
Improv auto approve layout + refactor.

Button grid layout. Consolidates shortNames and labels, includes translations.
2025-04-14 21:20:54 -07:00
Chris Estreich
5b48a2d708
More small evals tweaks (#2620) 2025-04-14 21:13:08 -07:00
Sam Hoang Van
89107b82a3
feat: implement fuzzy search and dropdown grouping in SelectDropdown component (#2431)
* feat: implement fuzzy search and dropdown grouping in SelectDropdown component

* refactor: optimize SelectDropdown component with memoization and improved performance

* Remove focus output and translate placeholder

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-15 00:05:42 -04:00
Matt Rubens
a64cab92dc
Fix openai cache tracking and cost estimates (#2616)
* fix(api): update cacheReadsPrice for OpenAI GPT-4.1 models (#2887)

Set correct cacheReadsPrice (cached input price) for gpt-4.1, gpt-4.1 mini, and gpt-4.1 nano based on official OpenAI pricing. No changes to cacheWritesPrice as per current OpenAI documentation. This ensures prompt caching costs are accurately reflected for these models in cost calculations.

* Update more OpenAI cache prices

* Track cache tokens and cost correctly for OpenAI

* Update tests

---------

Co-authored-by: monotykamary <tom81094@gmail.com>
2025-04-14 22:55:06 -04:00