( config: QodexConfig, cwd: string, )
| 339 | |
| 340 | /** One-shot: import agents + MCP servers + hooks from Claude Code into config (mutates). */ |
| 341 | export async function applyClaudeCodeIntegration( |
| 342 | config: QodexConfig, |
| 343 | cwd: string, |
| 344 | ): Promise<{ agents: number; mcp: number; hooks: number }> { |
| 345 | const agents = await mergeClaudeCodeAgentRoles(config, cwd); |
| 346 | const mcp = await mergeClaudeCodePluginMcp(config, cwd); |
| 347 | const hooks = await mergeClaudeCodePluginHooks(config, cwd); |
| 348 | return { agents, mcp, hooks }; |
| 349 | } |
no test coverage detected