Skip to main content

Module threads

Module threads 

Source
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.
AmpMessageState
Assistant message state.
AmpRelationship
Relationship to another thread (handoff, fork, or mention).
AmpThreadDetail
Full Amp thread with all messages.
AmpThreadIndex
Pre-sorted, in-memory index of all Amp thread summaries.
AmpThreadSummary
Summary of a single Amp thread (excludes message bodies).
AmpToolRun
Tool execution result.
AmpUsage
Token usage for an assistant turn.

Enums§

AmpContentBlock
A content block within a message.