Expand description
Amp thread reading — parses local Amp CLI thread JSON files.
Reads thread JSON files from ~/.local/share/amp/threads/ into
in-memory domain types. The management ConnectRPC service (see
handler::management) converts these to proto types at its boundary.
Structs§
- AmpMessage
- A single message within an Amp thread.
- AmpMessage
State - Assistant message state.
- AmpRelationship
- Relationship to another thread (handoff, fork, or mention).
- AmpThread
Detail - Full Amp thread with all messages.
- AmpThread
Index - Pre-sorted, in-memory index of all Amp thread summaries.
- AmpThread
Summary - Summary of a single Amp thread (excludes message bodies).
- AmpTool
Run - Tool execution result.
- AmpUsage
- Token usage for an assistant turn.
Enums§
- AmpContent
Block - A content block within a message.