PerryLink/dsh-library

PerryLink★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

Local document knowledge base for DeepSeek Harness: library_add/remove/list, hybrid semantic+keyword library_search with diversity re-ranking, relevance filtering and lost-in-the-middle avoidance, citation-aware injection, library_cite_check and library_diagnose 鈥?SQLite-backed index via the storage domain, local embedding, zero model downloads

README excerpt

📚 dsh-library Local document knowledge base for DeepSeek Harness. Import, retrieve, verify — hybrid search with citations your agent can check. English · 简体中文 · Español · Português · हिन्दी Compatibility Surface Status Harness DeepSeek Harness 0.1.0-rc.6 (compat declared for 0.1.0-rc.5 – 0.1.0-rc.6 ) Node ^22.19.0 \ \ =24.0.0 Storage Any storage-domain backend (JSON or SQLite); the index lives in the host's storage domain Models None required — the built-in embedder is deterministic hashing (zero downloads) What you get dsh-library turns local md/txt documents into a queryable knowledge base with a quality pipeline your agent can trust: - library add / library remove / library list — import a document by path (chunked and embedded), remove one with purge verification (signatures of the removed content are probed against the remaining index and any residue is reported), and list document metadata. - library search — hybrid semantic + keyword ranking, maximal-marginal-relevance diversity re-rank, relevance filtering, and lost-in-the-middle avoidance (strongest chunks pinned to head and tail). With inject: true the result page is injected into the calling agent; every hit carries a […

View full README on GitHub →
Searchcitation-validationcordisdeepseekdeepseek-harnessdocument-librarydshdsh-pluginembedding

Category