Skip to main content

Module cursor

Module cursor 

Source
Expand description

Cursor agent sessions: ~/.cursor/chats/<md5(workspace)>/<id>/store.db.

Cursor’s resumable store is a small SQLite database with content-addressed blobs. JSON message blobs carry the conversation; non-JSON/protobuf blobs carry Cursor’s internal graph state. This harness preserves every blob byte for native load/save, while converting JSON message blobs through Common.

Structs§

Cursor
The Cursor harness marker.
CursorBlob
One row in Cursor’s blobs table. id is SHA-256 of data.
CursorDb
Faithful in-memory representation of store.db, plus sibling meta.json.
CursorMetaEntry
One row in Cursor’s meta table.
CursorStore
Reads and writes Cursor chat stores under a chats root (default ~/.cursor/chats).