v1.2.0
Threadlens v1.2.0: index freshness
Threadlens now shows how current your search index is, and can refresh inline.
Added
- Freshness on search: every search prints
index: last checked Xh ago, plus a one-line nudge to runthreadlens refreshonce the index is over a day old. It is a stored timestamp, so it costs a cheap SELECT with no filesystem scan. threadlens search --fresh: refresh the relevant sources (built-ins and custom profiles) before searching, in one command.--jsonfields: results now carryindex_checked_atandindex_age_seconds, for scripts and agents.
Unchanged
- Search ranking and recall are identical to v1.1.2 (recall@5 0.980, p95 ~90ms). This release is display and metadata only.
Upgrade
- Your existing index is preserved: the new
source_refresh_statetable is added automatically on first run (additive, no re-index, no migration; covered by a regression test). - Update with
uv tool upgrade threadlens,pipx upgrade threadlens, ornpm install -g threadlens@latest.