DSH Personal Knowledge Base Plugin: Local Tree-Structured Repository with AI-Powered Search & Chat
Introduction to @xiaofanzhao/dsh-plugin-knowledge-base, a DSH plugin maintained by FSNH: organizes local files into a tree-structured knowledge base with default data stored in ~/.dsh/kb. Supports Office/PDF documents in original layout or plain-text mode, SQLite FTS5-based bilingual (Chinese/English) full-text search, and optional vector search and image understanding. AI models retrieve content via kb_list, kb_search, and kb_read, and interact through the "Ask AI" dialog on document pages. Includes npm installation instructions, key configuration points, and usage notes.
Read Moredsh-plugin-knowledge-base: A Local Markdown Knowledge Base for DSH Agents
dsh-plugin-knowledge-base is a DSH memory plugin maintained by thegabopacheco-sudo (v0.1.0, MIT license). It stores guides and FAQs locally in Markdown, supports text search, and passes matched results as context to the agent. It connects to a single-file server.mjs over MCP stdio. The plugin is read-only by default; writes require confirm:true. You can enforce a strict read-only mode by setting DSH_KNOWLEDGE_BASE_MODE=read-only, and all write operations are audited to cache/knowledge-base/audit.jsonl. To install, use the DSH settings page or run: dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-knowledge-base. Note that the plugin runs with the same permissions as the dsh process; it is recommended to review the source code before installing.
Read More