v0.1.5
pi-serini v0.1.5
Patch release focused on runtime JSON validation hardening.
Fixed
- Added
ajvas the runtime validation backend while keeping@sinclair/typeboxas the schema authoring layer. - Hardened untrusted process-boundary JSON parsing for:
- BM25 helper RPC responses
- BM25 helper ping handshake payloads
- shared BM25 server readiness payloads
- pi JSON event lines consumed by benchmark and judge runners
- extension-side BM25
search,render_search_results, andread_documentresponses
- Replaced unchecked
JSON.parse(...) as Tcasts on those boundaries with schema-backed validation and clearer error messages. - Added regression tests that prove malformed payloads are rejected explicitly.
Scope
v0.1.5 does not change benchmark semantics or retrieval behavior. It makes runtime failures at JSON process boundaries more explicit and safer to diagnose.