Documentation
¶
Overview ¶
Command claudecode runs one real turn through the Claude Code turn executor (ipc/model/claudecode) and prints the turn report: every event in and out, as one JSON log record per line, each carrying the turn trace, its own span, the session, the turn number, the event type and the elapsed time.
go run ./examples/claudecode -prompt "Reply with exactly one word: pong"
The turn runs with every built-in tool disabled (--tools ""), so the proof reads nothing and changes nothing on the machine. It needs an installed, signed-in claude on PATH.
Click to show internal directories.
Click to hide internal directories.