Skip to content

Releases: samfoy/pi-session-search

v1.3.2

Choose a tag to compare

@samfoy samfoy released this 11 May 22:27

Fix

  • FTS5 availability probe. pi-session-search now fails init fast with an actionable error on Node runtimes where node:sqlite doesn't include FTS5 (Node 22's bundled SQLite). Previously the missing module caused CREATE VIRTUAL TABLE to fail silently and left an empty DB, surfacing the cryptic Error: no such table: sessions instead. Now you see:

    SQLite FTS5 is not available in this Node runtime. pi-session-search requires Node 24+ (where node:sqlite ships with FTS5 compiled in). Current: Node 22.x. Upgrade Node and restart pi.

  • README updated: Node 24+ is now required.

  • Init failures now null out the index handle so downstream tool calls don't hit a half-initialized object.

Refs samfoy/pi-total-recall#4.

v1.2.1

Choose a tag to compare

@samfoy samfoy released this 07 May 02:34

Fixes

  • #8: pi -p --no-session no longer crashes on exit with a stale-ctx error.

The extension was scheduling setTimeout callbacks (5s status-clears, 10min sync race-timeout) that fired after session_shutdown, tried to touch ctx.ui, and hit assertActive() — producing non-zero exit codes that broke shell scripts piping pi output.

All one-shot timers now route through a tracked scheduleTimer() wrapper. session_shutdown cancels every pending timer and sets a shuttingDown flag so any racing microtask bails before touching ctx.

v1.0.0

Choose a tag to compare

@samfoy samfoy released this 21 Apr 20:04

What's Changed

  • Add FTS5 baseline + hybrid RRF search (zero-config by default) by @mikeyobrien in #1

New Contributors

Full Changelog: https://github.com/samfoy/pi-session-search/commits/v1.0.0