Commit graph

4813 commits

Author SHA1 Message Date
hannesrudolph
968f748970 refactor: address PR review feedback - eliminate code duplication and add enhancements
- Extract shared timeout logic into timeout-utils.ts module
- Add comprehensive documentation for regex capture groups
- Make timeout configurable via constructor parameters (default 30s)
- Add realistic XML test cases including user's problematic example
- Implement performance monitoring with detailed logging
- Fix TypeScript error in test file

All tests passing (2,338 tests), no linting errors
2025-06-18 18:11:56 -06:00
hannesrudolph
4a662f249e fix: resolve apply_diff infinite hangs on complex XML content (#4852)
- Add timeout protection mechanism with 30-second limit to prevent regex catastrophic backtracking
- Fix regex capture group indexing (groups 3, 7, 8 instead of 2, 6, 7)
- Add content trimming to remove leading newlines from captured content
- Apply fixes to both MultiSearchReplaceDiffStrategy and MultiFileSearchReplaceDiffStrategy
- Add comprehensive test suite for timeout protection scenarios
- Maintain full backward compatibility with existing functionality

The original issue was caused by complex regex patterns with lazy quantifiers
causing exponential backtracking on nested XML content, not file size.
This fix transforms infinite hangs into graceful failures with helpful error messages.
2025-06-18 17:38:21 -06:00
Chris Estreich
775457c59a
Yield the cost in usage data for Anthropic (#4849) 2025-06-18 11:59:11 -07:00
Hannes Rudolph
48ebb06841
feat: streamline feature request template to focus on problem reporting (#4847) 2025-06-18 13:30:31 -04:00
Matt Rubens
ff1b150955
Fix a couple security vulnerabilities for dependabot (#4844) 2025-06-18 12:45:57 -04:00
Olwer Altuve
4b2b05f262
Rate limit when starting a subtask (#4453)
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-06-18 12:45:36 -04:00
roomote
db4f7f3320
Fix #4837: Default 'Enable MCP Server Creation' to false (#4838) 2025-06-18 12:08:54 -04:00
Hannes Rudolph
9b18b145b4
fix: improve error handling for codebase search embeddings (#4432)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-06-18 11:19:02 -04:00
Hannes Rudolph
bdc60fa4e4
fix: resolve MCP server execution on Windows with node version managers (#1246) (#4711)
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-06-18 11:18:26 -04:00
renovate[bot]
347a29233b
chore(deps): update dependency lint-staged to v16.1.2 (#4804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:37:52 -07:00
renovate[bot]
a8b9f4ab17
chore(deps): update dependency knip to v5.61.1 (#4606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:37:30 -07:00
renovate[bot]
b909643684
fix(deps): update dependency openai to v5 (#4650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:36:23 -07:00
renovate[bot]
60bbf6d258
fix(deps): update radix-ui-primitives monorepo (#4708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:34:39 -07:00
renovate[bot]
a68fa6589c
fix(deps): update dependency pkce-challenge to v5 (#4653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:34:16 -07:00
renovate[bot]
8d61bfb16f
fix(deps): update dependency lucide-react to ^0.516.0 (#4612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:33:47 -07:00
renovate[bot]
28f39db925
chore(deps): update docker/build-push-action action to v6 (#4613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 15:33:17 -07:00
Chris Estreich
44f3a8418b
Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
github-actions[bot]
0d2878193b
Changeset version bump (#4801)
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-06-17 17:58:47 -04:00
github-actions[bot]
c6e5bab8d4
Update contributors list (#4699)
Co-authored-by: mrubens <2600+mrubens@users.noreply.github.com>
2025-06-17 17:55:31 -04:00
Matt Rubens
e93fd12f69
v3.21.0 (#4800) 2025-06-17 17:53:59 -04:00
Chris Hasson
e484bfff32
Reapply "Always focus the panel when clicked to ensure menu buttons are visible" (#4598)
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-06-17 16:51:56 -04:00
Daniel
f18cf3d7ea
feat: add Gemini 2.5 models (Pro, Flash and Flash Lite) (#4798) 2025-06-17 16:36:37 -04:00
feifei
5c5ee8c324
Fix/4100 subtask completion mismatch (#4738)
Co-authored-by: yansheng3 <yansheng3@staff.weibo.com>
2025-06-17 15:06:44 -04:00
Hannes Rudolph
80dd3b8320
fix: update wording in GitHub MCP tool usage guide (#4789)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-17 15:05:45 -04:00
Chris Estreich
e4e75648d3
Ignore logs in git (#4797) 2025-06-17 12:03:00 -07:00
Matt Rubens
d8b468adbf
Remove warning about commands switching working directory (#4795) 2025-06-17 14:58:03 -04:00
Dicha Zelianivan Arkana
b8505fe175
fix: ambiguous model id error (#4306) 2025-06-17 11:32:08 -07:00
Steven T. Cramer
fca4bea7c3
Update evals Docker setup to work on Windows. (#4656) 2025-06-17 11:23:43 -07:00
KJ7LNW
9b605c997c
Add proper error handling for API conversation history issues (#4312)
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-06-17 14:20:40 -04:00
Daniel
38c7f360ac
fix: normalize Windows paths in MCP variable injection (#4739) (#4741) 2025-06-17 14:13:55 -04:00
KanTakahiro
64dc3fc7e0
update provider models and prices for Groq & Mistral (#4588)
Co-authored-by: Kan <yihong.han@feat-ltd.jp>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2025-06-17 14:13:26 -04:00
Christiaan Arnoldus
bbbff7344b
feat(tools): Support for Excel (.xlsx) files (#4668) 2025-06-17 14:12:33 -04:00
Matt Rubens
7b5a1d987d
Turn on marketplace (#4788) 2025-06-17 14:00:27 -04:00
Matt Rubens
3e2aec2ca7
Update test mode for Vitest (#4778) 2025-06-17 11:55:01 -04:00
Matt Rubens
a13fd1cb7d
Include the cwd in the terminal details (#4783) 2025-06-17 11:53:49 -04:00
Matt Rubens
9d0c636b21
Add telemetry for marketplace tab views and install clicks (#4781) 2025-06-17 11:44:25 -04:00
Matt Rubens
48c9bd5fae
Encourage use of start_line in multi-file diff to match legacy diff (#4777) 2025-06-17 10:40:37 -04:00
Matt Rubens
e95c1e88d7
MDM check improvements (#4770)
* Better check for production clerk

* Send to account tab if required

* Fix tests
2025-06-17 07:35:20 -04:00
Chris Estreich
62c3914034
Farewell jest (#4607)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-16 21:39:45 -07:00
Matt Rubens
c10fbbc3a7
Fix typo in mdm.json (#4767)
* Fix typo in mdm.json

* Update src/services/mdm/MdmService.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-06-16 19:20:23 -04:00
Matt Rubens
8dd99a0254
Support config policies that require use of cloud (#4762)
* Support config policies that require use of cloud

* Switch to vitest
2025-06-16 18:31:22 -04:00
Matt Rubens
322a15ee5d
Fetch organization info in the extension (#4751) 2025-06-16 14:58:49 -04:00
Daniel
2e2f83be60
fix: align codebase indexing with list-files hidden directory filtering (#4709) 2025-06-15 15:43:46 -04:00
Matt Rubens
10143ba712
Adjust position within context menus to be near Copilot (#4718) 2025-06-15 07:51:13 -04:00
SannidhyaSah
829fe8ff2a
fix: update marketplace branding to 'Roo Marketplace' (#4706) (#4717) 2025-06-14 23:57:46 -04:00
SmirnovDev
bfe2274813
Add max tokens checkbox option for OpenAI compatible provider (#4467)
Co-authored-by: AlexandruSmirnov <test@example.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-06-14 23:28:09 -04:00
Hannes Rudolph
58888d5d14
refactor: reorganize implementation plan step in workflow (#4710) 2025-06-14 20:45:13 -04:00
Chris Hasson
54edab571a
Fix the save/discard/revert flow for Prompt Settings (#4623)
Add support for the save/discard flow for support prompt setting page

Normally when you edit things on the settings pages, the save button lights up,
allowing you to discard your changes. Currently the prompts page doesn't support this flow-
the prompts are immediately saved when they change.

With this change, we use the normal cachedState system in the SettingView, allowing users to dicard changes to their prompts like any other setting.
This removed the need for the resetSupportPrompt event since we send the entire state of the support prompts (same as before).

Test plan:
* Manually verified prompts can be saved/discarded for different types of support prompts.
2025-06-14 10:36:14 -04:00
Hannes Rudolph
69ffa43bab
Add Mode Writer mode to repo (#4600) 2025-06-13 22:32:09 -06:00
Dicha Zelianivan Arkana
e618fa958c
refactor: more consistent history UI (#4684) 2025-06-13 23:53:58 -04:00