victorwads/dsh-session-search-incremental

Experimental workaround for DSH 0.2.1-rc.2 session search that replaces whole-corpus reconciliation with bounded per-session index updates, trading completeness for speed.

Reuses the official SQLite FTS query and extraction implementation but replaces whole-corpus reconciliation with independent bounded session updates: each affected session is reread with its revision validated before and after, and stable sessions are committed on their own so a write or failure elsewhere no longer discards all progress. Searches read the last indexed state while a background queue catches up - cycles start about a second after the previous one finishes, listing refreshes at most every two seconds, and batches read at most two non-attached sessions with unseen sessions prioritized. The README is direct that results are eventually consistent and may be incomplete or stale, and that a fast search is not proof of completeness; it frames the plugin as an independent workaround, not an official DSH fix.

Sessions & Messages ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-session-search-incremental@latest

Copied verbatim from the README's "Install from npm" line. package dsh-session-search-incremental, whose latest dist-tag is 0.2.1-rc.2, and its repository field resolves back to github.com/victorwads/dsh-session-search-incremental. The README also documents installing it together with the companion dsh-deeplink.

Compatibility

Declares exactly DSH 0.2.1-rc.2, Node 22.23+, derived SQLite schema 8, and pins its DSH peers to 0.2.1-rc.2 and Cordis 4.0.5; other host versions, including the former alpha.3 target, are not declared compatible. The README states the plugin version must match the supported DSH version exactly and that it uses private engine methods, so DSH should be revalidated before upgrading.

Details

Alternatives

LeslieWylie/dsh-session-search-pro · GooDAnDReaDY/dsh-session-control · xiaoshenming/dsh-session-surgeon

More plugins in Sessions & Messages

Browse more in Sessions & Messages

Guides for Sessions & Messages plugins