Files
gabrielvidalandClaude Opus 5.5 65f3eb3468 feat(converters): pi, opencode and agy write v1 transcripts
runner/cli.mjs (pi), sidecar/opencode_mirror.py and sidecar/agy_mirror.py
write v1 events (docs/transcript-format.md) instead of Claude-Code-shaped
records: a header naming the harness, each model step whole — its call, its
blocks, its usage, in one append — tool calls under their neutral name with
the harness's own in `native`, the hub envelopes (author tag, inbox note)
unwrapped and the old text conventions said as events. Shared Python helpers
in sidecar/transcript_v1.py (Out: header, moved facts, dedup keys rebuilt
from the file, a v1 header before the first v1 line appended to an
old-format file); backend/test_converter_tables.py keeps its copies of the
hub's tables equal to the hub's.

- opencode: a step goes out once it has ended (its tokens come then, after
  its tools ran), so a step seen while it streamed no longer splits into
  content + a late usage record (quirk a). A step still running when its
  turn ends (idle, a new turn, the next step) goes out as it stands; a step
  that failed or was aborted and left nothing is not written (its error, or
  the interrupt, says it).
- agy: what closes a turn (turn_end, the interrupt, the interrupted results,
  the API-error call) carries the latest time agy recorded in it, never the
  mirror's clock (quirk c).
- pi: a fork copies its source's v1 history under the new id.
- gen_progress.tool_running reads v1 transcripts too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 11:13:21 +01:00
..