Local document knowledge base for DeepSeek Harness
PerryLink/dsh-library · tools
Local document knowledge base for DeepSeek Harness: libraryadd/remove/list, hybrid semantic+keyword librarysearch with diversity re-ranking, relevance filtering and lost-in-the-middle avoidance, citation-aware injection.
★ 7GitHub stars
0Forks
2026-09-07Last updated
TypeScriptLanguage
Apache-2.0License
Key features
- Local document knowledge base for DeepSeek Harness.
- 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.
- Permissionsthe plugin only reads files you point library_add at (through the harness filesystem service and its policy) and writes into its own dsh_library storage domain.
- Zero model downloads, zero network calls — scoring is deterministic hashing and token math.
- Import, retrieve, verify — hybrid search with citations your agent can check.
Requirements
- The built-in hash embedder scores surface similarity, not meaning
- retrieval quality on paraphrases is lower than a real embedding model — configure embedding.command (any subprocess embedder) or embedding.provider: ollama (a local Ollama embedding model) for stronger semantics.
Install command
dsh plugin --profile web add github:PerryLink/dsh-library