Drop-in replacement for claude -p that drives the interactive TUI via PTY, preserving subscription billing
Find a file
jedarden fd7436b6a9 gap-review round 9: 7 gaps fixed
G-1 (HIGH): stream-json error output table now includes claude_version in inline example
G-2 (HIGH): build-musl rewritten as single-container bash script with git clone + mv renames
G-3 (HIGH): manual CI submission snippet now includes required repo parameter
G-4 (MEDIUM): revision parameter description corrected; git clone uses checkout for SHA support
G-5 (MEDIUM): Phase 2 entry adds OQ-5+OQ-6 gates; Phase 6 entry adds OQ-4 gate
G-6 (MEDIUM): Phase 9 completion criterion no longer requires GitHub Release (impossible pre-Phase 11)
G-7 (MEDIUM): AGENTS.md version compat clarified — claude_version absent in stream-json success path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 14:21:35 -04:00
docs gap-review round 9: 7 gaps fixed 2026-06-07 14:21:35 -04:00
README.md Remove prior art references; expand plan to full feature set and test coverage 2026-06-07 10:35:10 -04:00

claude-print

Drop-in replacement for claude -p (print/headless mode) that drives the Claude Code interactive TUI via PTY — preserving subscription billing after the June 15, 2026 Agent SDK credit split.

Why this exists

Starting June 15, 2026, Anthropic separates claude -p (headless) into a separate Agent SDK credit pool ($100$200/month on Max plans). Only the interactive TUI (cc_entrypoint=cli) continues drawing from the unlimited subscription. claude-print wraps the interactive TUI in a PTY so callers get claude -p wire-compatible output while billing against the subscription.

Structure

  • docs/notes/ — design decisions, constraints, integration details
  • docs/plan/plan.md — complete implementation plan