Reads a Claude session's transcript for what was said in it (from agent-tools, AGT-85)
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
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
|
||
| go.mod | ||
| README.md | ||
| transcript.go | ||
| transcript_test.go | ||
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.