Files
picoclaw/pkg/tools
yuchou87 20f8bb200b refactor(tools): use MCPManager interface in NewMCPTool constructor
- Change NewMCPTool to accept MCPManager interface instead of concrete *mcp.Manager
- Remove unused mcpPkg import from mcp_tool.go
- Remove newMCPToolForTest helper function as NewMCPTool now accepts interface
- Update all tests to use NewMCPTool directly with MockMCPManager
- Improves testability and follows dependency inversion principle
2026-02-16 19:43:05 +08:00
..
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-14 16:24:20 +08:00