Expand description
Claude Code adapter.
Supports two modes:
- Print mode (
-p --output-format stream-json): for automated runs where structured JSON output enables reliable completion/error detection. - Interactive mode (no
-p): for supervised runs where the user can see and type into Claude’s native TUI. Batty supervises on top without breaking the interactive experience.
The supervisor decides which mode to use. The adapter provides spawn configs and prompt patterns for both.
Structs§
- Claude
Code Adapter - Adapter for Claude Code CLI.
Enums§
- Claude
Mode - How to run Claude Code.