Build, test, and maintain the agentscript repository.

Go commands

make fmt
make test
make vet
make build
make check

Docs commands

bun install
bun run dev
bun run check
bun run build

Parser reference

When working on parser behavior, clone claude-replay into the ignored local tmp/ folder:

mkdir -p tmp
git clone https://github.com/es617/claude-replay.git tmp/claude-replay

The Go parser and transcript features live in:

internal/transcript/parser.go      # Claude/Codex parsers
internal/transcript/render.go      # text, Markdown, JSON, HTML rendering + folding
internal/transcript/search.go      # advanced search
internal/transcript/analysis.go    # commands, files, changes, activity
internal/transcript/config.go      # built-in and user profiles
internal/transcript/slice.go       # block and turn slicing

CLI handlers

Command parsing lives in:

internal/app/app.go
internal/app/extra.go

Keep non-interactive flags first-class. Any TUI or picker behavior should have an equivalent flag-based workflow.