Repository navigation
v0.7.0
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 Nprints 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 oneread --lastgives; 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.--jsongives the session andturns, each with itsid,promptsandreply.tmag servegives the same throughGET /v2/read?turns=1..20.
Smaller changes
read --lastreads a transcript as--turnsdoes. A Claude Code local command such as/modelno longer stands in for the last turn, so--lastgives the reply of the turn before it, and an interrupted Codex turn'sno_replysays that the turn ended without a reply.
Contract
/v2/readtakesturnsbesidelastandlines, one of the three. The schema staystmag/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