dsh-better-session-query: Chunk-Level Parallel Indexing for Session History
dsh-better-session-query is a DSH community plugin maintained by leolee9086 (v0.1.1, MIT). Beyond the official session-query event-level index, it leverages node:sqlite FTS5 to build a block-level parallel index for session history. Blocks such as text, reasoning, and tool-call each occupy their own row, enabling full-text search and filtering by length, type, time, and workspace. It provides session_blocks_* tools and the ctx.sessionBlockQuery service. It does not replace the official provider nor modify DSH source code; it requires Node ≥22.19.0 and is mounted via the profile's cordis.patch.yml. It is suitable for developers who need block-level memory recall across multiple sessions and workspaces.
Read More