Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,11 @@ def _init_toolsets(self, toolsets):
if toolsets and "all" not in toolsets and "*" not in toolsets:
# MCP server names only resolve after discover_mcp_tools runs; skip them here.
mcp_names = set((CLI_CONFIG.get("mcp_servers") or {}).keys())
invalid = [t for t in toolsets if not validate_toolset(t) and t not in mcp_names]
# Same for plugin toolsets: the registry is only walked later (_get_platform_tools),
# so validate_toolset() still says no for a plugin the user explicitly enabled.
plugin_names = set(parse_config_string_list((CLI_CONFIG.get("plugins") or {}).get("enabled")) or [])
invalid = [t for t in toolsets
if not validate_toolset(t) and t not in mcp_names and t not in plugin_names]
if invalid:
self._console_print(f"[bold red]Warning: Unknown toolsets: {', '.join(invalid)}[/]")

Expand Down