Commit graph

1852 commits

Author SHA1 Message Date
Smartsheet-JB-Brown
c27aa9c370 heap cleanup 2025-04-16 21:11:51 -07:00
Smartsheet-JB-Brown
b7033133ad try a path change to see if it helps the CI build pass in the GitHub environment 2025-04-16 20:36:46 -07:00
Smartsheet-JB-Brown
981c7a1270 rework git test to see if it helps in the CI build 2025-04-16 20:27:20 -07:00
Smartsheet-JB-Brown
9a24ed46a2 allow custom git domains to support internal dns at companies 2025-04-16 18:02:38 -07:00
Smartsheet-JB-Brown
c2d840cc47 remove console log statements used to debug tests 2025-04-16 17:08:43 -07:00
Smartsheet-JB-Brown
f04487cd3e All but 1 test passing 2025-04-16 14:35:39 -07:00
Smartsheet-JB-Brown
a575d25252 Merge branch 'main' into jbbrown/package-manager
* main: (161 commits)
  Changeset version bump (#2688)
  v3.12.2 (#2693)
  Add support for different reasoning effort (#2692)
  Add OpenAI o3 & 4o-mini (#2691)
  Add consecutive mistake count to diff error telemetry (#2687)
  refactor(context-menu): handle filename display better (#2684)
  Changeset version bump (#2683)
  Fix select dropdown styling (#2682)
  Changeset version bump (#2676)
  v3.12.0 (#2674)
  Fix configuration titles (#2672)
  feat: Add 'roo.acceptInput' command (#2598)
  Add xAI provider (#2667)
  Await checkpoint saves (except the initial) (#2665)
  Safe JSON parse in ChatRow (#2666)
  feat: Cost Display in Task Header - Suppress Zero Cost Values and Ensure Visibility for Gemini, OpenAI, LM Studio, and Ollama (#2662)
  test: limit Jest worker count to 40% per suite (#2658)
  DRY up the auto-approve toggles (#2664)
  Expose reasoning effort option for reasoning models on OpenRouter (#2483)
  Better string normalization for diffs (#2659)
  ...
2025-04-16 12:43:51 -07:00
Smartsheet-JB-Brown
0caf685b4f rolled back unintended changes not related or needed to support package manager. first phases of build pass, but fail at type checking on things that don't seem related to what I've done 2025-04-16 12:35:01 -07: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
Smartsheet-JB-Brown
b669edd82b fix author and authorUrl display 2025-04-15 13:38:38 -07:00
Matt Rubens
51bcade4c5
Better string normalization for diffs (#2659) 2025-04-15 16:20:20 -04:00
Smartsheet-JB-Brown
f5b97baac4 translations 2025-04-15 13:15:05 -07:00
Smartsheet-JB-Brown
c0672358c7 Remove problematic debounce logic 2025-04-15 12:47:00 -07: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
Smartsheet-JB-Brown
d966884b1d card item buttons working again 2025-04-15 10:01:57 -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
Smartsheet-JB-Brown
f551fe2476 All display of items seems to work properly 2025-04-15 07:26:27 -07: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
Smartsheet-JB-Brown
4c88e930e9 all package manager related tests passing together 2025-04-14 22:24:41 -07:00
Smartsheet-JB-Brown
c05d760747 PackageManagerView tests all passing 2025-04-14 21:59:39 -07: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
Smartsheet-JB-Brown
72d9be2a6c packagemanagermanager tests passing 2025-04-14 17:13:26 -07:00
Smartsheet-JB-Brown
e1c590442c PackageManagerSourceValidation, GitFetcher, and MetadataScanner tests all pass 2025-04-14 17:10:09 -07:00
Smartsheet-JB-Brown
39332513ae documentation updates 2025-04-14 15:00:14 -07:00
Chris Estreich
6f8f8c6a1d
Parse providers individually (#2611)
* Parse providers individually

* Remove .strict()

* Clean up tests
2025-04-14 14:51:53 -07:00
Matt Rubens
b196489b97
Fix overdependence on start/end lines in diff strategy (#2567)
* Add test for issue #2556

* Fix overdependence on start/end lines in diff strategy
2025-04-14 17:09:38 -04:00
Smartsheet-JB-Brown
af6c27bdff locale fixes for metadata 2025-04-14 13:33:58 -07:00
Matt Rubens
ab7ca17f29
Fix test (#2607) 2025-04-14 13:27:33 -04:00
Matt Rubens
929503a4c8
Add GPT 4.1 (#2605) 2025-04-14 13:21:47 -04:00
Smartsheet-JB-Brown
2ca7a85c20 consolidate packagemanager test files 2025-04-14 10:13:48 -07:00
Smartsheet-JB-Brown
dee7510ed7 searching finds items in components of a pcakage and shows which ones match 2025-04-14 09:18:48 -07:00
Hannes Rudolph
8cf3c532cf
Update log messages for Cline instances to Roo Code instances in regi… (#2604)
Update log messages for Cline instances to Roo Code instances in registerCommands.ts and corresponding test adjustments
2025-04-14 11:58:52 -04:00
Smartsheet-JB-Brown
81304a22ea package details visible in expandable section 2025-04-14 06:54:17 -07:00
feifei
4fe0b3c419
feat: Add modelId support when exporting tasks (#2142)
Added modelId to the task export process.

Signed-off-by: feifei <liuyansheng1121@gmail.com>
2025-04-14 07:20:40 -04:00
Smartsheet-JB-Brown
965a7ae90c refactor(search): simplify to basic string contains match while preserving subcomponent handling
- Replace complex word boundary/regex matching with simple string.includes()
- Maintain all subcomponents in search results
- Preserve proper matchInfo for packages and subcomponents
2025-04-13 21:01:47 -07:00
Smartsheet-JB-Brown
df5be205f5 test: add comprehensive substring matching tests for package manager search
- Add test cases for case-insensitive matching
- Add test cases for partial string matching
- Add test cases using real data from package-manager-template
- Verify search behavior with actual component data
2025-04-13 20:35:42 -07:00
Smartsheet-JB-Brown
dff42d28c0 feat(package-manager): enhance subcomponent metadata scanning
- Add recursive scanning for nested components
- Fix path handling for nested directories
- Improve test coverage for package subcomponents
- Fix timestamp handling in git-based dates
2025-04-13 12:24:48 -07:00
Matt Rubens
ff92a61281
Revert "Add o1-pro to api.ts" (#2574)
Revert "Add o1-pro to api.ts (#2433)"

This reverts commit 16d8f14371.
2025-04-13 13:51:14 -04:00
Sam Hoang Van
494af3090a
fix: normalize file paths to POSIX format in search results (#2569) 2025-04-13 13:44:03 -04:00