Commit 6ce742d
committed
refactor: Use ToolsetRegistry pattern for DefaultToolsetGroup
Refactor DefaultToolsetGroup to use the new ToolsetRegistry pattern:
- Add NewDefaultToolsetRegistry() that creates a registry with all tools
- Tools are now self-describing (toolset + read/write from metadata)
- No more manual AddReadTools/AddWriteTools categorization
- DefaultToolsetGroup uses the registry with ToolsetGroupConfig
- Resource templates and prompts handled separately (not tools)
This enables scope-aware tool filtering when creating ToolsetGroups.1 parent 2f0ef4a commit 6ce742d
1 file changed
+175
-211
lines changed
0 commit comments