Traces CLI now supports Kimi Code, the coding harness from Moonshot AI. Your Kimi Code sessions now show up alongside every other agent in Traces.
Kimi Code stores every session under ~/.kimi-code/ (overridable with KIMI_CODE_HOME), with each session living in sessions/<workdir>/<session-id>/. Traces reads that on-disk data directly.
Each session directly holds a state.json (title, working directory, subagent map) and per-agent wire.jsonl event logs under agents/main/wire.jsonl. Traces trates a directory as a valid session only when both files are present. A session_index.jsonl at the root gives traces a fast list of session, and Traces falls back to scanning the filestystem when the index is missing.
Kimi's wire.jsonl is a "wire protocol" stream of events keyed by type, and Traces normalizes them into a common trace shape:
turn.prompt), assistant thinking and text (content.part with think/text), tool calls (tool.call), and results (tool.result) each map to their own trace event.error or isError in the results payload.congig.updates/llm.request events.traces share --agent kimi to publish a session. Traces resolves the right one from your working directory or you can pick one by ID. Subagent traces can be shared invidually via --list.kimi -- session <id> resuming a subagent trace targets its parent session.~/.kimi-code/config.toml(SessionStart,UserPromptSubmit, Stop, SessionEnd, so sessions get linked to your commits automatically).traces setup to install the Kimi hooks and connect sessions to your commits,traces share to publish a session and get a link.