perrylink/dsh-library
Local-first document knowledge base: library_add/remove/list, semantic + keyword hybrid library_search (diversity rearrangement, relevance filtering, avoid lost-in-the-middle), citation-aware injection with library_cite_check/diagnose, SQLite index + local embedding, zero model download
A local-first document knowledge base for DeepSeek Harness: import, retrieve, verify — hybrid (semantic + keyword) search with citations your agent can check. library_add/remove/list manage documents, with semantic and keyword retrieval so answers carry verifiable references.
Install
dsh plugin --profile web add "github:PerryLink/dsh-library#main"dsh plugin --profile web add "github:PerryLink/dsh-library#main" (the prepare script builds with production dependencies only), or dsh plugin --profile web add dsh-library (npm dsh-library 0.2.0, verified on npm 2026-08-29). Requires Node ^22.19 || >=24. Also available via the 1024 store channel: npm i -g dsh1024 once, then dsh1024 plugin --profile web add dsh-library.
Compatibility
DSH web profile; Node ^22.19 || >=24; hybrid search with citations; Apache-2.0.
Details
- Repo: perrylink/dsh-library
- Category: Files & Data
- Stars: 2
- Version: npm dsh-library 0.2.0 (GitHub #main documented)
- Last push: 2026-08-18
- First seen: 2026-08-16
Recent updates
Local document KB; hybrid semantic+keyword search; agent-verifiable citations; library_add/remove/list tools; local-first.
FAQ
- Where are documents stored?
- Local-first — documents and indexes live on your machine; nothing leaves the deployment.
- What kind of search does it use?
- Hybrid search combining semantic and keyword retrieval, returning citations the agent can verify.
- How do I install it?
- dsh plugin --profile web add "github:PerryLink/dsh-library#main" or dsh plugin --profile web add dsh-library (npm 0.2.0).
Alternatives
KLRSL/dsh-biomemory · Phant0Meow/dsh-memory-meow · Relistencode/dsh-recall