Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 08:44
· 18 commits to main since this release
v0.7.0
b5e45cd

tmag 0.7 reads a session's last turns, each prompt beside its reply, for a client that shows a session as a conversation.

Read a session's turns

  • tmag read ID --turns N prints a session's last turns, 1 to 20, oldest first, in any state: each turn's prompts, the one that started it and those that arrived while it ran, then its reply. Once a turn ends, its reply is the one read --last gives; while it runs, what the transcript holds so far. A prompt the transcript says someone other than the person sent is marked (peer) for another session's message or (task) for a background task's notice. Each text is cut at 16 KiB, and tmag keeps nothing of them. --json gives the session and turns, each with its id, prompts and reply.
  • tmag serve gives the same through GET /v2/read?turns=1..20.

Smaller changes

  • read --last reads a transcript as --turns does. A Claude Code local command such as /model no longer stands in for the last turn, so --last gives the reply of the turn before it, and an interrupted Codex turn's no_reply says that the turn ended without a reply.

Contract

  • /v2/read takes turns beside last and lines, one of the three. The schema stays tmag/v2, and the state directory keeps its layout: 0.6 state carries over as it is.

What's Changed

Full Changelog: v0.6.0...v0.7.0