Expand description
JSONL-based session persistence for channel conversations.
Each session (keyed by channel_sender or channel_thread_sender) is stored
as an append-only JSONL file in {workspace}/sessions/. Messages are appended
one-per-line as JSON, never modifying old lines. On daemon restart, sessions
are loaded from disk to restore conversation context.
Structs§
- Session
Store - Append-only JSONL session store for channel conversations.
Functions§
- sanitize_
session_ key - Replace every character outside
[A-Za-z0-9_-]with_. Idempotent.