iZY3/dsh-notebook-knowledge-studio
DeepSeek Harness 的本地知识插件
项目介绍Project Overview
Notebook Knowledge Studio 是运行于 DeepSeek Harness Web UI 的 NotebookLM 式本地知识工作台,双层 Cordis 插件。支持本地文件、URL、粘贴文本、网页搜索导入,BM25 检索加 LLM 问答并带来源引用,可生成思维导图、报告、闪卡、测验、幻灯等,知识以 OKF Markdown 本地存储,多模态经 Qwen-MM MCP 转写。适合个人知识库整理与带溯源研究;缺 LLM 或 MCP 时会降级,Windows 含空格路径安装需绕过。
Notebook Knowledge Studio is a NotebookLM-style local knowledge workbench running as a two-layer Cordis plugin in the DeepSeek Harness Web UI. It imports local files, URLs, pasted text, and web-search results; uses BM25 retrieval plus LLM chat with cited sources; and generates mind maps, reports, flashcards, quizzes, infographics, slides, and tables. Knowledge stays in local OKF Markdown, with multimodal sources transcribed via Qwen-MM MCP. Use it for traceable personal research; it degrades without LLM/MCP, and Windows spaced-path installs need a workaround.
请帮我了解并安装插件:【dsh-notebook-knowledge-studio】【https://github.com/iZY3/dsh-notebook-knowledge-studio】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:iZY3/dsh-notebook-knowledge-studio
把 iZY3/dsh-notebook-knowledge-studio 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
Notebook Knowledge Studio
NotebookLM 式本地知识工作台,以双层 Cordis 插件形式运行于 DeepSeek Harness (dsh) Web UI:
Notebook → Sources → Chat → Studio
- Sources:本地文件 / URL(抓取并提取正文)/ 粘贴文本 / 网页搜索发现;内容 hash 去重(update / anyway 策略);Web 来源可 Refresh
- Chat:BM25 检索(中文二元分词)+ LLM 生成,回答带
[n]引用,点引用打开来源抽屉并高亮引文;证据不足时明确说明,不杜撰 - Studio:思维导图 / 报告(BLUF·学习指南·FAQ·时间线等)/ 闪卡 / 测验 / 信息图 / 幻灯 / 数据表格(MD+CSV),按量化规范产出并带 provenance
- 知识存储:OKF v0.2 Markdown,local-first、可整体迁移;检索索引只是可重建缓存
- 多模态:图片/音视频/PDF 来源自动标记待转写,由已挂载的 Qwen-MM-Plugins MCP 处理后写回;未检测到时如实降级,不伪造
- UI:主界面
conversation.view视图标签;三栏可拖宽(键盘 ←/→ 可调,宽度记忆);窄容器自动堆叠
安装
dsh plugin --profile web add <本仓库路径或 github:用户名/仓库名>
已知问题:Windows 下
dsh plugin add对含空格的路径会拆断。绕过:在~/.dsh/profiles/web目录直接pnpm add "<绝对路径>",再把包名dsh-notebook-knowledge-studio追加进该目录 package.json 的dsh.profile.bundles数组。
数据根目录由本仓库 cordis.patch.yml 的 root 配置指定,改为你的工作区路径即可。
运行环境依赖
| 依赖 | 用途 | 缺失时的行为 |
|---|---|---|
| dsh web profile | 宿主:tools/webServer/llm/web 服务 | 无法运行 |
| LLM 路由(如 deepseek-official) | 问答与 Studio 生成质量 | 自动降级:抽取式回答/模板产物 |
| dsh web 服务(ctx.web) | URL 导入、网页搜索 | 相关操作报错,其余正常 |
| Qwen-MM-Plugins MCP | 多模态来源转写 | 停在待转写状态,不影响其他功能 |
| pnpm | 插件安装(dsh plugin add 转发) |
无法安装;已装插件不受影响 |
开发
npm test # 23 个单元/集成测试(node --test)
node scripts/e2e.mjs # API 端到端验收(需 dsh web 已启动)
- host 半(
lib/*.mjs+lib/index.js):零外部包导入,tools + HTTP API - client 半(
lib/client.js):纯 DOM,__ModuleLoader__工厂格式,无构建链
License: MIT
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS