v0.1.8: Bounded batch concurrency and validated env config
Bounded batch concurrency and validated env config
osv_query_batch now drains through a bounded worker pool instead of fanning every package out at once; server env config is validated at startup.
Added:
OSV_BATCH_CONCURRENCYenv var (positive integer, default 10) caps concurrent OSV.dev requests inosv_query_batch(#6)- Startup validation of
OSV_REQUEST_TIMEOUT_MSandOSV_BATCH_CONCURRENCYviasrc/config/server-config.ts; invalid, zero, or negative values fail startup with a ConfigurationError naming the variable (#7)
Changed:
osv_query_batchruns per-package queries through a bounded worker pool (default 10 in flight) instead of up to 1000 concurrent requests; positional results and per-package partial-success unchanged (#6)
Dependencies:
@cyanheads/mcp-ts-core^0.10.9 → ^0.10.10 (clears transitive js-yaml GHSA-h67p-54hq-rp68; bun audit clean)
55 tests pass; bun run devcheck clean.