This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryUpdates Cross-platform LLM-client installer, Also in this release, and Highlights across a mixed release.
Full changelog
Highlights
Cross-platform LLM-client installer (from #108)
install.pyorchestrator with thininstall.sh(Linux/macOS) andinstall.ps1(Windows) wrappers — one codebase, one behavior across every OS.- Auto-registers
knowledge-ragin 8 LLM clients: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot Chat), Cline, Gemini CLI, Zed — each with its canonical config path and correct JSON schema (mcpServers/servers/context_servers). - Idempotent JSON merge with automatic
.knowledge-rag.bakbackup; atomicos.replacewrites;--dry-runpreviews without touching disk. - Flags:
--for <clients>,--exclude <clients>,--dry-run,--list-clients,--pypi-version <ver>,--skip-init,--skip-model.
Hybrid search — category filter now applies to BM25 (from #109, thanks @Hohlas)
- Before this release,
search_knowledge(..., category="X")only filtered the semantic (Chroma) branch. The BM25 branch was queried globally, so keyword hits from other categories could leak into filtered results via RRF fusion. - Both leak paths are now closed:
- BM25 candidates are metadata-filtered before RRF fusion (with
top_kwidened tomax_results * 20to compensate for post-filter drop). - The fallback metadata fetch during fusion re-checks
categorybefore adding a chunk tocombined_scores.
- BM25 candidates are metadata-filtered before RRF fusion (with
- The
_route_by_keywords()-inferred routing now also filters BM25 (consistency with the semantic branch). If you rely on customconfig.yamlkeyword routes, this may change the mix of BM25 vs semantic candidates you see. - Restart your MCP server after upgrading to invalidate warm
query_cacheentries that may still contain stale (leaked) results.
Also in this release
- INSTALLER FIXES:
install.ps1now targets~/.claude.json(not the stale~/.claude/mcp.json); gains PyPI mode +mcp_server.server initparity withinstall.sh; MCP server spec uses standardcommand+cwd(no morecmd /c cd /d ... && python ...wrapper). - INSTALLER FIXES:
install.shguards againstsh install.sh; both scripts correctly advertise 13 MCP tools (was outdated at 12); Windows Python bootstrap preferswinget install Python.Python.3.12 --scope user. - TESTS: +23 (
tests/test_installer_no_data_loss.py× 22 +TestHybridCategoryFilter::test_bm25_results_respect_category_filter× 1). Baseline227 → 267.
Upgrade
PyPI
pip install --upgrade knowledge-rag
NPM
npx -y [email protected]
Docker
docker pull ghcr.io/lyonzin/knowledge-rag:4.4.0
Full CHANGELOG in README.md § v4.4.0.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About lyonzin/knowledge-rag
Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 12 MCP tools. Runs entirely offline with zero external servers.
Related context
Beta — feedback welcome: [email protected]