把本地 Markdown 库拆成两个由用户在设置页选择的文件夹:知识库由 DSH 在对话中写入笔记,记忆库作为 agent 的长期记忆,按回合召回、回合结束沉淀候选。纯 Markdown 加 frontmatter、BM25 检索、可逆归档,并用路径隔离拒绝穿越、绝对路径与符号链接逃逸。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.