Skip to main content

Module claude

Module claude 

Source
Expand description

Claude Code agent driver.

Launches claude -p headless with a bidirectional stream-json transport: the initial user turn travels on the child’s stdin, and its events come back on stdout one JSON object per line. Claude runs headless — no trust dialogs, no user prompts.

Structs§

ClaudeDriver
The modular driver for Claude (37-02): owns the stream-json launch, legacy prompt rendering, the pre-31 single-document builder, and the checkpoint-resume relaunch command.