Canonical durable store for sessions.
SQLite stores hot operational rows, refs, and transaction batches. BlobStore stores payloads: message text, code, requests/responses, finals, snapshots, vars, and raw errors. Datahike is a rebuildable Datalog index derived from SQLite transaction batches plus blob identity facts.
The local filesystem is only the physical backend for SQLite, Datahike index files, and content-addressed blob bytes. Per-session filesystem homes are not part of the domain model.
Canonical durable store for sessions. SQLite stores hot operational rows, refs, and transaction batches. BlobStore stores payloads: message text, code, requests/responses, finals, snapshots, vars, and raw errors. Datahike is a rebuildable Datalog index derived from SQLite transaction batches plus blob identity facts. The local filesystem is only the physical backend for SQLite, Datahike index files, and content-addressed blob bytes. Per-session filesystem homes are not part of the domain model.
(event-view root session-id)Compact audit/history view from SQLite rows. This is not a replay source for current state; current reads dereference head-state roots.
Compact audit/history view from SQLite rows. This is not a replay source for current state; current reads dereference head-state roots.
(high-water-counters root session-id)Session-local high-water counters from canonical facts. Restoring from an older head must continue above abandoned historical ids, not from that head's local counter value.
Session-local high-water counters from canonical facts. Restoring from an older head must continue above abandoned historical ids, not from that head's local counter value.
(history-view root session-id)Audit/history view. Events are the complete event log; heads/invocations are read directly from SQLite rows so abandoned branches remain visible.
Audit/history view. Events are the complete event log; heads/invocations are read directly from SQLite rows so abandoned branches remain visible.
(message-records root session-id)(message-records root session-id {:keys [include-content?]})(view root session-id)(view root session-id opts)Current/head view for a session. If a head is selected, dereference that immutable head state. Otherwise dereference session/current-head. The event fold remains available through history-view/event-view.
Current/head view for a session. If a head is selected, dereference that immutable head state. Otherwise dereference session/current-head. The event fold remains available through history-view/event-view.
(write-alias! root alias session-id)(write-alias! root alias session-id _extra)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |