Commit graph

2395 commits

Author SHA1 Message Date
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
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
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
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
47230d5a5c
fix(action): handle edge case for add to context action (#2780) 2025-04-20 21:46:01 -04: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
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
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
Chris Estreich
5abea50cf1
Support Gemini 2.5 Flash thinking (#2752) 2025-04-18 12:26:17 -07: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
Nico Bihan
b5a77e34a4
Fixes maximum token limit for Gemini provider 2.5 pro exp (#2737)
Corrects the maximum token limit for the "gemini-2.5-pro-exp-03-25" model, ensuring accurate configuration.
2025-04-18 00:35:06 -04:00
Matt Rubens
fffebf1a2e
Remove experiment for append block (#2738)
* Remove experiment for append block

* Fix bugs in experiment lookups
2025-04-18 00:28:55 -04:00
Nico Bihan
bea36c8977
Gemini 2.5 Flash Preview fix Max Tokens Count (#2735)
Gemini 2.5 Flash Preview fix Max Tokens
2025-04-17 23:19:40 -04:00
Smartsheet-JB-Brown
b077267b4a
fixes image support in bedrock. regression from prompt cache implementation (#2723)
fixes image support in bedrock. regression created during prompt caching implementation
2025-04-17 15:25:11 -07:00
Matt Rubens
d86d601104
Add gemini 2.5 flash preview (#2720) 2025-04-17 16:39:00 -04:00
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
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
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
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
Matt Rubens
e2d649dc50
v3.12.0 (#2674) 2025-04-16 01:16:06 -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
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
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
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
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
Matt Rubens
1eb29be33d
Remove the end_line from the multi_diff instructions and logic (#2615) 2025-04-14 20:39:27 -04:00