()
| 93 | * Matches the agent loading directories for consistency. |
| 94 | */ |
| 95 | const getDefaultMcpConfigDirs = (): string[] => { |
| 96 | const cwdAgents = path.join(process.cwd(), '.agents') |
| 97 | const parentAgents = path.join(process.cwd(), '..', '.agents') |
| 98 | const homeAgents = path.join(os.homedir(), '.agents') |
| 99 | return [cwdAgents, parentAgents, homeAgents] |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Load MCP configuration from `mcp.json` files in `.agents` directories. |
no outgoing calls
no test coverage detected