Expand description
Reusable repository contracts and SQLite persistence for Agentty sessions.
Structs§
- AppRepositories
- App-layer repository bundle used for selective mock injection.
- Database
- Thin wrapper around a
SQLiteconnection pool. - Fork
Session Snapshot - Borrowed identifiers used to persist one forked session snapshot.
- Persisted
Orchestration Task - Values used to persist one planned orchestration task.
- Persisted
Session Creation - Borrowed values used to persist a newly created session with explicit provider identity and reasoning configuration.
- Project
List Row - Row returned when loading one project with aggregated session statistics.
- Project
Row - Row returned when loading a project from the
projecttable. - Session
Agent Model Row - Minimal provider/model row used to migrate active sessions across projects.
- Session
Detail Row - Transcript-detail row loaded lazily for the session being viewed.
- Session
Focused Review Row - Row returned when hydrating persisted focused-review cache entries.
- Session
List Row - Lightweight row returned when loading session-list metadata.
- Session
Message Row - Row returned when loading one persisted
session_message. - Session
Operation Row - Persisted operation lifecycle state for one session command.
- Session
Orchestration Metadata Row - Bulk-loaded controller progress and child adjacency for one session row.
- Session
Orchestration Row - Row returned when loading one
session_orchestration. - Session
Orchestration Task Row - Row returned when loading one
session_orchestration_task. - Session
Review Request Row - Row returned when loading one
session_review_request. - Session
Row - Row returned when loading a session from the
sessiontable. - Session
Turn Metadata - Transactional turn-metadata payload persisted after one completed agent turn.
- Session
Usage Row - Row returned when loading per-model token usage from the
session_usagetable.
Enums§
- DbError
- Typed error returned by database operations.
Traits§
- Activity
Repository - Session-activity persistence boundary used by app orchestration and tests.
- Operation
Repository - Session-operation persistence boundary used by app orchestration and tests.
- Orchestration
Repository - Orchestration persistence boundary used by the coordinator and tests.
- Project
Repository - Project-focused persistence boundary used by app orchestration and tests.
- Review
Repository - Review-request persistence boundary used by app orchestration and tests.
- Session
Repository - Session-focused persistence boundary used by app orchestration and tests.
- Setting
Repository - Settings-focused persistence boundary used by app orchestration and tests.
- Timestamp
Source - Supplies Unix timestamps for rows written by persistence adapters.
- Usage
Repository - Session-usage persistence boundary used by app orchestration and tests.