dsh-plugin-onenote
在终端中运行以下命令:
dsh plugin install hestudio-community/dsh-plugin-onenote
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中运行 dsh plugin install hestudio-community/dsh-plugin-onenote 安装本插件(源码:https://github.com/hestudio-community/dsh-plugin-onenote),随后在「设置 → 插件 → OneNote」中登录并勾选可读笔记本。
插件介绍
Many people keep research notes, meeting minutes, and project context in Microsoft OneNote, yet an agent that can “read everything in the cloud” is hard to trust. This plugin brings only the notebooks you explicitly allow into DeepSeek Harness, and it checks that allow-list inside the plugin before every Microsoft Graph call—so even a page that tries to steer the model toward another notebook has no API path to reach it.
You sign in once in Settings → Plugins → OneNote and tick which notebooks are readable. The agent gets four read-only capabilities: check account and allowed scope, browse sections and pages, search by title and recent page openings (because Graph full-text search was retired), and read a single page as Markdown including headings, lists, tables, links, and code. Sign-in, sign-out, and the allow-list stay user-only actions in the settings card; the tools cannot change them.
Tokens, pending device-code sign-in, and your notebook list live under your DSH home directory with restrictive permissions—nothing is written into the project workspace. If you outgrow the bundled public Azure client, you can point the plugin at your own app registration with Notes.Read and related delegated permissions.
It fits individuals and small teams who already live in OneNote and want the harness to cite or summarize allowed notes without handing the model the keys to your entire notebook tree.
使用场景
- 让 Agent 在已授权的 OneNote 笔记本里查章节与页面
- 按标题或近期页面开头搜索笔记后再读取单页 Markdown
- 对照 onenote_status 确认当前账号与可读笔记本范围
适合人员
- 日常用 OneNote 记研究、会议与项目笔记的个人用户
- 希望 Agent 只读部分笔记本、而非整库的用户
- 在 DeepSeek Harness 里做知识检索与摘要的笔记重度用户