Skip to main content

Module claude_code

Module claude_code 

Source
Expand description

Claude Code adapter (CONTEXT.md §9, §16).

Drives the native claude -p --output-format json call, which honors the Pro/Max subscription login — never the ACP adapter, which would force an Anthropic API key (CONTEXT.md §9). The footgun guard for a stray ANTHROPIC_API_KEY lives in doctor (Phase 1).

Functions§

worker
Construct a Claude Code harness worker.