Expand description
Persistent state management for conversation threads, messages, and jobs.
The StateStore is the primary entry point, backed by a SQLite database and an
append-only JSONL session index file. It provides CRUD operations for:
- Threads — conversation metadata, archival, and session indexing.
- Messages — append-only message storage with tree-structured branching.
- Checkpoints — named state snapshots for restoring conversation progress.
- Jobs — background task tracking with status and progress.
- Dynamic tools — per-thread tool registrations.
Structs§
- Checkpoint
Record - A named checkpoint capturing the state of a thread at a point in time.
- Dynamic
Tool Record - A dynamically registered tool associated with a thread.
- JobState
Record - Persisted state of a background job.
- Message
Record - A single message entry in a conversation thread.
- State
Store - Persistent storage for conversation threads, messages, checkpoints, and jobs.
- Thread
List Filters - Filters for listing conversation threads.
- Thread
Metadata - Metadata for a persisted conversation thread.
Enums§
- JobState
Status - Status of a background job.
- Session
Source - Indicates how a session was initiated.
- Thread
Status - Lifecycle status of a conversation thread.