Status: Shipped
Package: beep/sessions/
Persist chat and agent history locally; list, export, delete; compact long histories.
| Module | Role |
|---|---|
manager.py |
SessionManager |
history_support.py |
JSONL scan, atomic writes |
compactor.py, memory_watch.py |
Compaction |
commands/sessions.py |
CLI |
beep sessions list|export|delete- REPL
/sessions,/resume,/compact
- Agent runs persisted to JSONL with terminal meta (Phase 7)
- Automatic compaction on save path
- Export formats: markdown, json
| ID | Enhancement | Priority | Verification |
|---|---|---|---|
| SE-1 | Encrypt session store at rest (optional) | P3 | Config flag test |
| SE-2 | Import session from export file | P2 | CLI sessions import |
| SE-3 | Server-side session sync when API available | P3 | Integration |
| SE-4 | Session search by keyword | P2 | List filter test |