DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@leether/getnote-toolbox

Getnote Toolbox

A native DeepSeek Harness Host plugin for GetNote (得到大脑): search, save, read, and organize notes, tags, and knowledge bases.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @leether/getnote-toolbox@1.2.1
READMECompatibilityVersions

Compatibility and provenance

Getnote Toolbox is published as @leether/getnote-toolbox and currently resolves to version 1.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
10/20/2026

Versions

1.2.1stable
10/20/2026

Related plugins

Loading related plugins…

Latest
1.2.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
61.2 kB
Files
9
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
10/20/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

GetNote Toolbox for DeepSeek Harness

A native DeepSeek Harness (DSH) Host plugin that turns the local getnote CLI into 15 structured tools for notes, tags, and knowledge bases.

中文说明为主;给英文读者的摘要:this is an MIT-licensed DSH Host bundle that wraps the local getnote CLI. It was created because the official GetNote DSH plugin did not support DSH Desktop when the project started. It never reads or echoes API keys. It is published on npm as @leether/getnote-toolbox. See Security.

状态

  • Version 1.2.1
  • 15 tools, Config schema, bundled guidance Skill
  • Node.js >= 20
  • Tests: pnpm test (28 tests, fake CLI, no network)
  • CI: Node 20/22, Linux/macOS
  • 仓库:https://github.com/leether/getnote-toolbox
  • 已发布到 npm:https://www.npmjs.com/package/@leether/getnote-toolbox
  • 当前 npm 版本:1.2.1;源码与 npm tarball 均为 MIT

为什么做这个

开发开始时,官方 @getnote/dsh-plugin 还不支持 DSH Desktop。Desktop 是日常使用的主要入口,所以我们补了一个能在本地 Desktop profile 里真正使用的 bundle,并优先处理 Desktop 的 locale/icon 展示、CLI 发现和 Plugin Manager 可见性。

这不是要替代官方插件。如果官方版本已经覆盖你的环境和需求,优先使用官方版本。

能力

Tool作用
getnote_auth_status检查本机 GetNote 登录状态(不读取、不回显凭证)
getnote_search语义搜索笔记,可限定知识库
getnote_save保存文字、网页链接或本地图片,可设标题和标签
getnote_recent_notes列出最近笔记
getnote_note按 ID 读取笔记详情与正文
getnote_update_note更新标题、正文或标签
getnote_delete_note移入回收站(必须显式 confirm: true)
getnote_tag查看 / 添加 / 按标签 ID 删除标签
getnote_list_knowledge_bases列出自有或订阅的知识库
getnote_kb_notes列出某个知识库内的笔记
getnote_create_kb创建个人知识库
getnote_add_notes_to_kb把一条或多条笔记加入知识库
getnote_remove_notes_from_kb从知识库移除笔记(不删除笔记本身)
getnote_task查询保存任务的异步进度
getnote_quota查看 API 读写配额

另带一个内置引导 Skill getnote-toolbox,让 Agent 优先选择原生工具,并在写操作、 标签覆盖、删除确认和登录提示上遵循统一规则。

前置条件

  • DeepSeek Harness Desktop / Host,支持本地 bundle;
  • Node.js >= 20;
  • 本机已安装并登录 GetNote CLI:
getnote auth status
getnote auth login   # 未登录时

插件不保存 API Key,也不直接调用得到大脑 API;认证由本机 getnote CLI 负责。

安装

已发布为 npm bundle,优先在 DSH Plugin Manager 中安装:

@leether/getnote-toolbox

开发或调试时,也可以克隆源码,用你所用 DSH 版本的本地 bundle / link 流程安装本目录, 并确认 cordis.patch.yml 被加载:

git clone https://github.com/leether/getnote-toolbox.git

插件按以下顺序查找可执行文件:

  1. Config 的 binaryPath(最高优先级)
  2. 环境变量 GETNOTE_BIN(绝对路径)
  3. PATH 中的 getnote
  4. 常见安装目录(/opt/homebrew/bin、/usr/local/bin、~/.local/bin 等)
  5. npx --yes --package @getnote/cli@latest -- getnote 兜底

如果 PATH 里有多个 getnote,建议显式设置 binaryPath,避免版本错位。

与官方插件冲突

本插件使用 getnote_* 工具名,与官方 @getnote/dsh-plugin 相同。不要在同一个 profile 里同时安装两者,否则后注册者会产生工具名冲突。

配置

插件导出 Config schema,可在 profile 的 cordis.patch.yml 覆盖:

- id: getnote-toolbox
  config:
    binaryPath: /opt/homebrew/bin/getnote
    apiUrl: http://127.0.0.1:8080
    timeoutMs: 120000
    maxOutputBytes: 16777216
字段默认说明
binaryPath自动发现getnote 可执行文件绝对路径;优先于 GETNOTE_BIN 和 PATH
apiUrlCLI 默认设置 GETNOTE_API_URL,仅用于联调/私有环境
timeoutMs120000单次命令超时(最小 1000)
maxOutputBytes16777216单次命令输出上限(最小 1024)

覆盖某个 entry 的 config 会替换整份配置;要保留的字段请一并写上。

环境变量作为兜底(Config > 环境变量 > 内置默认):

变量默认值说明
GETNOTE_BIN自动发现getnote 可执行文件绝对路径
GETNOTE_TIMEOUT_MS120000单次命令超时
GETNOTE_MAX_OUTPUT_BYTES16777216单次命令输出上限

Security

  • 参数通过数组传给 spawn,不经过 Shell;
  • 不提供任意命令入口,只暴露明确的 getnote_* 操作;
  • 不读取、不缓存、不回显 API Key;认证由本地 CLI 管理;
  • 删除笔记必须显式 confirm: true;
  • 单次命令有超时和输出体积上限;
  • 插件会把 Host 进程环境传给 getnote 子进程,因此应把 CLI 本身视为受信任边界;
  • npx 兜底会下载 @getnote/cli@latest;如果在意供应链风险,请用 binaryPath 固定本地版本。

发现安全问题请先看 SECURITY.md。不要在公开 issue 里贴 API Key、真实笔记 ID、标题或正文。

开发

pnpm install
pnpm run check
pnpm test
npm pack --dry-run

测试使用 test/fixtures/fake-getnote.mjs,不访问网络、不需要真实账号。

可选的只读真实 CLI 冒烟测试:

node scripts/smoke.mjs

它会在终端打印少量真实搜索结果/笔记片段。运行后不要把输出直接贴到 issue 或聊天中。

已知限制

  • 与官方 @getnote/dsh-plugin 工具名冲突,不能同时安装;
  • 列表的 limit 在旧 CLI 上可能只是分页大小,插件会按返回结果自行截断;
  • 本地图片请用绝对路径;~/ 会展开;
  • CLI 没有公开的笔记链接字段,插件不拼造链接;
  • 已在 getnote 1.1.1 和 1.8.0 上验证;建议使用 1.5.3+;
  • 内置 Skill 仅在 Harness 提供 skills 服务时注册。

设计文档

  • docs/DESIGN.md:CLI / Tool / Skill 分层、契约、安全与测试
  • CHANGELOG.md:版本变化
  • RELEASING.md:打包与本地/registry 发布流程

致谢

架构参考了官方 @getnote/dsh-plugin (MIT,Copyright GetNote);本项目是独立重写,并扩展了写操作、Config schema、内置 Skill 和兼容性处理。

延伸阅读

这本书把本插件的制作过程写成了一节案例,包含能力审计、契约设计、测试和公开前的隐私审查:

  • 中文:https://leether.github.io/dsh-book/ch09.html
  • English: https://leether.github.io/dsh-book/en/ch09.html

License

MIT,见 LICENSE。书稿正文的 CC BY-NC-ND 许可不适用于本代码仓库。