Roo-Code/src/core
Chiranjeevisantosh Madugundi 5db2062d0c
feat: show aggregated +/− line counts in FileChangesPanel header (#11618)
* feat: show aggregated +/− line counts in FileChangesPanel header

* feat(FileChangesPanel): show merged diff relative to final file state

* fix(webview): restrict readFileContent to paths inside the workspace

* fix: add workspace-boundary validation to readFileContent to prevent path traversal

* fix(tests): mock isPathOutsideWorkspace in readFileContent spec

* fix(tests): mock isPathOutsideWorkspace in readFileContent spec

* fix: use path.resolve/path.sep in readFileContent test mock for cross-platform compatibility

The isPathOutsideWorkspace mock used hardcoded Unix-style path comparisons
(/mock/workspace with forward slashes), which fails on Windows where
path.resolve() produces paths with drive letters (C:\mock\workspace\...).

Replace manual string normalization with path.resolve() and path.sep so the
mock behaves correctly on both Windows and Unix.

---------

Co-authored-by: Roo Code <roomote@roocode.com>
2026-02-19 23:22:20 -07:00
..
assistant-message feat: add timeout parameter to execute_command tool (#11622) 2026-02-19 23:43:09 -05:00
auto-approval Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
checkpoints Add some functionality to @roo-code/core for the cli (#10584) 2026-01-09 13:05:15 -08:00
condense fix: preserve condensation summary during task resume (#11487) (#11488) 2026-02-16 10:21:52 -07:00
config Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
context/context-management Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
context-management Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
context-tracking feat(condense v2.1): add smart code folding (#10942) 2026-01-27 18:47:24 -05:00
diff refactor: remove legacy XML tool calling code (getToolDescription) (#10929) 2026-01-23 19:13:55 -05:00
environment Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
ignore Follow symlinks in rooignore checks (#7405) 2025-08-26 10:12:20 -04:00
mentions Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
message-manager Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
message-queue Move message queue to the extension host (#7604) 2025-09-02 19:12:18 -07:00
prompts feat: add timeout parameter to execute_command tool (#11622) 2026-02-19 23:43:09 -05:00
protect Mark code-workspace files as protected (#7403) 2025-08-26 00:09:14 -04:00
task feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
task-persistence feat: add per-task file-based history store for cross-instance safety (#11490) 2026-02-19 00:01:31 -07:00
tools feat: show aggregated +/− line counts in FileChangesPanel header (#11618) 2026-02-19 23:22:20 -07:00
webview feat: show aggregated +/− line counts in FileChangesPanel header (#11618) 2026-02-19 23:22:20 -07:00