claudecode

command
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL