Repository navigation
agentpile 0.3.0
A reader for the session files Claude Code writes, with their subagent files, and the trace_commons dataset of 28 public sessions read with it. The record format and every existing reader are unchanged.
Added
- A reader for the session files Claude Code writes under
~/.claude/projects/<project>/<session>.jsonl, registered asclaude-code-jsonl, soap.load(path)reads a local session and every existing output (run.events(), tables,to_chat,to_otlp,show) works on it. Claude Code writes one record per content block; the records of one message become one agent step, placed at the message's first line, and each tool result pairs with its call by id even when Claude Code wrote the result before the rest of the message. Subagent files under<session>/subagents/load with the session as subagent trajectories, linked to the Agent call that names their id or the Workflow call that names their folder. Attachments are kept verbatim; other bookkeeping records are counted, every line of the file is accounted for inrun.dataset["accounting"], and an index of every record'suuidand parent keeps the session's tree, including edited or rewound branches, which are labelled and never pruned. The format is Claude Code's own and has no public specification; the reader was built on 2.1.x files. - The
trace_commonsdataset: the 28 Claude Code sessions oftrace-commons/agent-traces, read with the new reader at a pinned revision.