- 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 |
||
|---|---|---|
| .. | ||
| agent | ||
| auth | ||
| bus | ||
| channels | ||
| config | ||
| constants | ||
| cron | ||
| devices | ||
| health | ||
| heartbeat | ||
| logger | ||
| mcp | ||
| migrate | ||
| providers | ||
| session | ||
| skills | ||
| state | ||
| tools | ||
| utils | ||
| voice | ||