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
* Upgrade regex dependency to 1.11.3
* Upgrade Rust to 1.90
* Remove unused Docker manifest structs
* Use RegexSet for skip_tools list in runtime config
The change converts skip_tools from Vec<String> to RegexSet to support
pattern matching. This includes regex serialization, deserialization
with anchoring, and comprehensive test coverage for various matching
scenarios.
* Add skip_tools test fixtures
* Add skip tools pattern guide and enhance docs
The commit adds comprehensive documentation for the new regex-based
skip_tools feature. It includes a full pattern guide, updates
configuration examples, and enhances the runtime config documentation
with pattern matching details.
Key changes include: - New SKIP_TOOLS_GUIDE.md with detailed pattern
examples - Enhanced skip_tools docs in RUNTIME_CONFIG.md - Updated
config examples with pattern matching - Added skip tools guide link to
README.md
Copy file name to clipboardExpand all lines: RUNTIME_CONFIG.md
+87-3Lines changed: 87 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The configuration is structured as follows:
8
8
-**plugins**: A map of plugin names to plugin configuration objects.
9
9
-**path** (`string`): OCI path or HTTP URL or local path for the plugin.
10
10
-**runtime_config** (`object`, optional): Plugin-specific runtime configuration. The available fields are:
11
-
-**skip_tools** (`array[string]`, optional): List of tool names to skip loading at runtime.
11
+
-**skip_tools** (`array[string]`, optional): List of regex patterns for tool names to skip loading at runtime. Each pattern is automatically anchored to match the entire tool name (equivalent to wrapping with `^` and `$`). Supports full regex syntax for powerful pattern matching.
12
12
-**allowed_hosts** (`array[string]`, optional): List of allowed hosts for the plugin (e.g., `["1.1.1.1"]` or `["*"]`).
13
13
-**allowed_paths** (`array[string]`, optional): List of allowed file system paths.
14
14
-**env_vars** (`object`, optional): Key-value pairs of environment variables for the plugin.
@@ -322,7 +322,10 @@ plugins:
322
322
allowed_hosts:
323
323
- "1.1.1.1"
324
324
skip_tools:
325
-
- "debug"
325
+
- "debug_tool" # Skip exact tool name
326
+
- "temp_.*" # Skip tools starting with "temp_"
327
+
- ".*_backup" # Skip tools ending with "_backup"
328
+
- "test_[0-9]+" # Skip tools like "test_1", "test_42"
0 commit comments