DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Cherry Kb — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

@wanghuiym123/dsh-cherry-kb

Cherry Kb

dsh web 的知识库和记忆开关:编辑器工具栏中(模型选择器左侧)的三档记忆按钮,以及「我的知识库」和「Cherry Studio 知识库」设置页面。主机端负责协调本地的 我的知识库 工具链(记忆开关 / idx / cherry),既不重新实现索引,也不重新实现记忆

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:wanghuiym123/dsh-cherry-kb#fbb0ff00af24413eaa24887a2ea90d8c19d96c5a
README兼容性版本

说明

dsh web 的知识库和记忆开关:编辑器工具栏中(模型选择器左侧)的三档记忆按钮,以及「我的知识库」和「Cherry Studio 知识库」设置页面。主机端负责协调本地的 我的知识库 工具链(记忆开关 / idx / cherry),既不重新实现索引,也不重新实现记忆。需要该工具链;将 DSH_KB_ROOT 指向它。

兼容性与来源证明

Cherry Kb 以 @wanghuiym123/dsh-cherry-kb 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/21

版本

0.2.0stable
2026/9/21

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/21
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。

README

dsh-cherry-kb

Local knowledge base and memory switch for DeepSeek Harness (dsh web).

Two controls in the composer's trailing tool row (left of the model selector), and two pages under Settings. The host half orchestrates an external knowledge-base toolchain; it re-implements neither indexing nor memory.


⚠️ Read this first: external prerequisite

This plugin is not self-contained. It contains no chunking, no FTS, no embedding, no AGENTS.md rendering and no memory logic. Every operation is a spawn of three executables that already exist on your machine:

ExecutableUsed for
我的知识库/记忆开关reading and setting the three-position memory mode
我的知识库/idxstatus, sources, indexing, search, embedding models, index library
我的知识库/cherryread-only access to Cherry Studio's own knowledge bases

The knowledge-base root is resolved in this order:

  1. DSH_KB_ROOT (environment variable), or an explicit override;
  2. otherwise <built lib/>/../../../../我的知识库, then one level further up.

The first candidate that actually contains an idx file wins.

Without that toolchain installed, the plugin still installs and renders, but every route fails with a "cannot find the CLI" error. The package does not ship the toolchain, and there is no public distribution of it.


Install

dsh plugin --profile web add @wanghuiym123/dsh-cherry-kb

Point it at your knowledge base if it does not sit four levels above the installed package:

DSH_KB_ROOT=/path/to/我的知识库 dsh web

What it registers

Composer tool row — slot conversation.input.right, both left of the model selector as one cluster of "what this conversation gets to see":

Seat idOrderRole
kb-chat-kb90Which knowledge base this conversation uses
kb-memory100Three-position memory switch (always shows the current position)

Settings — slot settings.section:

Section idOrderRole
my-knowledge-base50Source list, native folder picker, one-click reindex with staged progress, index library, per-source memory, embedding-model picker, local model service
cherry-studio-kb55Read-only view of Cherry Studio's knowledge bases

Both composer seats share one store, so the button and the settings page cannot disagree about the current position.

Host half — 22 routes under /dsh/kb/*:

status  toggle  update  progress  stop  token
sources  search  select  source-memory
indexes  index-delete  rebuild-vectors  models
model/service  model/list  model/loaded  model/load  model/unload
cherry/list  cherry/search  cherry/select

Routes that write require a token; KbToken.ts issues it to loopback same-origin requests only.

Boundaries

  • Cherry Studio's bases are read-only. They belong to another application; the plugin never builds, moves, rewrites or vacuums them. This is enforced by keeping the Cherry family in a separate module (KbCherry.ts) from the workspace family (KbSources.ts).
  • Adding a source registers it; it does not index it. Confirming an add writes 我的知识库/03_证据层/来源清单.json and nothing else.
  • The plugin never moves the memory switch on its own. It is changed only by a user gesture in the UI.
  • The plugin holds no persistent state of its own; every status shown is read live from the CLIs.

Verify

Both checks are offline — no dsh process, no browser, no network:

node scripts/verify-bundle.mjs   # client artifact + host route table
node scripts/verify-host.mjs     # route handlers against stub CLIs

verify-host.mjs runs entirely against bash stubs; it does not exercise the real CLIs or the HTTP adapter layer. Read its closing note before treating a green run as end-to-end coverage.

Build

tsc -b tsconfig.json && tsc -b tsconfig.host.json   # types (client / host)
node <tsdown entry>                                  # lib/client.js + lib/index.js

The two tsconfig files are standalone on purpose: no extends into the dsh checkout and no project references, so tsc -b never writes outside this package.

License

MIT