You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced-usage/available-tools/search-files.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
2
2
# search_files
3
3
4
-
The `search_files` tool performs regex searches across multiple files in your project. It helps Roo locate specific code patterns, text, or other content throughout your codebase with contextual results.
4
+
The `search_files` tool performs regex searches across multiple files within your project's workspace. For security, it cannot search outside the current workspace directory. It helps Roo locate specific code patterns, text, or other content throughout your codebase with contextual results.
5
5
6
6
---
7
7
8
8
## Parameters
9
9
10
10
The tool accepts these parameters:
11
11
12
-
-`path` (required): The path of the directory to search in, relative to the current working directory
12
+
-`path` (required): The path of the directory to search in, relative to the current workspace directory. The search is confined to the workspace.
13
13
-`regex` (required): The regular expression pattern to search for (uses Rust regex syntax)
14
14
-`file_pattern` (optional): Glob pattern to filter files (e.g., '*.ts' for TypeScript files)
15
15
@@ -51,6 +51,7 @@ This tool searches across files in a specified directory using regular expressio
51
51
- Cannot search within compressed files or archives
52
52
- Default context size is fixed (1 line before and after)
53
53
- May display varying context sizes when matches are close together due to result grouping
54
+
- For security, searches are strictly limited to the current workspace and cannot access parent directories or other locations on the file system.
Copy file name to clipboardExpand all lines: docs/update-notes/v3.20.mdx
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,15 @@ Navigate your prompt history with a terminal-like experience using the arrow key
41
41
42
42
## QOL Improvements
43
43
44
-
***MCP Execution**: The user experience for MCP execution has been improved (thanks samhvw8!).
44
+
***MCP Execution**: The user experience for MCP execution has been improved (thanks samhvw8!). ([#4615](https://github.com/RooCodeInc/Roo-Code/pull/4615))
45
45
***Magic Variables**: Added support for magic variables for MCPs, including `workspaceFolder` injection (thanks NamesMT!) ([#4442](https://github.com/RooCodeInc/Roo-Code/pull/4442)).
46
46
***Context Mentions**: Added support for escaping context mentions (thanks KJ7LNW!).
47
47
***Mermaid Diagrams**: Added buttons to Mermaid diagrams for zooming, copying, and viewing the code (thanks qdaxb!) ([#4547](https://github.com/RooCodeInc/Roo-Code/pull/4547)).
48
48
49
49
## Provider Updates
50
50
51
51
***[DeepSeek](/providers/deepseek)**: Added DeepSeek R1 support to the Chutes provider.
52
-
***[Bedrock](/providers/bedrock)**: Added reasoning budget support to Bedrock models for extended thinking ([#4481](https://github.com/RooCodeInc/Roo-Code/pull/4481)).
52
+
***[Bedrock](/providers/bedrock)**: Temporarily revert thinking support for Bedrock models ([#4626](https://github.com/RooCodeInc/Roo-Code/pull/4626)).
53
53
***[XAI](/providers/xai)**: Updated XAI models and pricing (thanks edwin-truthsearch-io!).
54
54
***[O3](/providers/openai)**: Updated O3 model pricing ([#4580](https://github.com/RooCodeInc/Roo-Code/pull/4580)).
55
55
***[OpenAI-Compatible](/providers/openai-compatible)**: Added manual OpenAI-compatible format specification and parsing (thanks dflatline!) ([#4463](https://github.com/RooCodeInc/Roo-Code/pull/4463)).
@@ -61,11 +61,30 @@ Navigate your prompt history with a terminal-like experience using the arrow key
61
61
***TaskItem Display**: Fixed display and copy issues with HTML tags in task messages (thanks forestyoo!) ([#4444](https://github.com/RooCodeInc/Roo-Code/pull/4444)).
62
62
***Terminal Busy State**: Fixed an issue where the terminal busy state was not reset after manual commands completed ([#4583](https://github.com/RooCodeInc/Roo-Code/pull/4583)).
63
63
***[`apply_diff`](/advanced-usage/available-tools/apply-diff)**: Fixed an issue with undefined output on multi-file `apply_diff` operations (thanks daniel-lxs!) ([#4608](https://github.com/RooCodeInc/Roo-Code/pull/4608)).
64
+
***Security**:
65
+
* Force `tar-fs >=2.1.3` to fix a security vulnerability ([#4629](https://github.com/RooCodeInc/Roo-Code/pull/4629))
66
+
* Limit `search_files` to workspace for improved security ([#4642](https://github.com/RooCodeInc/Roo-Code/pull/4642))
67
+
***UI**:
68
+
* Sync `BatchDiffApproval` styling with `BatchFilePermission` for UI consistency (thanks @samhvw8!) ([#4640](https://github.com/RooCodeInc/Roo-Code/pull/4640))
69
+
* Add max height constraint to MCP execution response for better UX (thanks @samhvw8!) ([#4644](https://github.com/RooCodeInc/Roo-Code/pull/4644))
70
+
* Prevent MCP 'installed' label from being squeezed (thanks @daniel-lxs!) ([#4649](https://github.com/RooCodeInc/Roo-Code/pull/4649))
71
+
* Add indexing status badge to chat view ([#4532](https://github.com/RooCodeInc/Roo-Code/pull/4532))
72
+
***Bedrock**: Reapply reasoning for bedrock with fix (thanks @daniel-lxs!) ([#4645](https://github.com/RooCodeInc/Roo-Code/pull/4645))
0 commit comments