This extension reads that file in-memory using sql.js (pure WebAssembly SQLite — no native bindings required). It uses FTS5 full-text search for speed, falling back to a LIKE scan when FTS5 is unavailable.
Session titles and turns from currently-open sessions (not yet written to the database) are read directly from the per-workspace chatSessions/*.jsonl files.