ClaudeProvider to connect Corsair to the Claude Agent SDK with an in-process MCP server. No HTTP transport needed.
Install
Usage
agent.ts
ClaudeProvider.build() is async — it dynamically imports the Claude Agent SDK as an optional peer dependency.
The Claude Agent SDK handles the tool-call loop automatically via query().