Reads a Claude session's transcript for what was said in it (from agent-tools, AGT-85)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nelson ad6482b214
All checks were successful
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / scope (push) Successful in 27s
Suite release / finalize (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / reserve (push) Has been skipped
Suite release / module (push) Successful in 51s
transcript moves in from agent-tools, unchanged (#1)
2026-11-29 23:34:35 -08:00
go.mod transcript moves in from agent-tools, unchanged (#1) 2026-11-29 23:34:35 -08:00
README.md transcript moves in from agent-tools, unchanged (#1) 2026-11-29 23:34:35 -08:00
transcript.go transcript moves in from agent-tools, unchanged (#1) 2026-11-29 23:34:35 -08:00
transcript_test.go transcript moves in from agent-tools, unchanged (#1) 2026-11-29 23:34:35 -08:00

transcript

Reads a Claude session's transcript for what was said in it: the messages sent, carrying on from where a read stopped, the last reply and the folder it ran in, and a prompt as it was typed. claude-pane and tmux-strip read transcripts with it.

It was agent-tools' transcript package until shared packages got repositories of their own (AGT-85, AHT-258).

Using it

require forgejo.romaine.life/romaine-life/transcript v0.1.0
import "forgejo.romaine.life/romaine-life/transcript"

reply, cwd, err := transcript.LastReply(path)

Testing

go test ./..., on sample transcripts.

Shipping

A library: the release-module topic in pipeline-templates' fleet.json tags each merge that changes the code, and every fleet repository whose go.mod requires it gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to builds outside CI.