What's New
FTS5 highlight()-based snippet extraction (#18)
Replaced indexOf-based snippet extraction with positions derived from FTS5 highlight() markers. Stemmed matches (e.g., query "configure" matching content "configuration") now produce correct snippet windows instead of falling back to blind prefix truncation.
- Added
highlight(chunks, 1, char(2), char(3))to search SQL queries extractSnippetparses STX/ETX markers to find match positions- Falls back to
indexOfwhenhighlightedfield is absent - 14 new tests covering stemmed matching, multi-term windows, and edge cases
Upgrade fixes (v0.9.11–v0.9.15)
- In-place upgrade with registry sync
- Self-healing hook: directory rename, registry + hooks path fix, start.mjs shim creation
- Removed SKILL.md registry verification step (shell escaping errors)
Upgrade
```
/context-mode:upgrade
```