Skip to main content

Module claude_code

Module claude_code 

Source
Expand description

Claude Code backend – spawns agents via the cc-sdk interactive client.

Each session owns a subprocess running claude-code (found via PATH or auto-downloaded), communicating through the SDK’s transport layer. A dedicated session task owns the client exclusively and processes commands from the session handle via an mpsc channel, forwarding output events through a separate mpsc channel that the orchestrator can select! on.

Structs§

ClaudeCodeBackend
Factory that creates Claude Code agent sessions using cc-sdk.