DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
B

dsh-bce

Bce

通过配置的 BCE MCP 增量索引当前工作区并增强 composer 提示的 DeepSeek Harness 插件。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:linqiu919/dsh-bce#22475960f30f4f148b6d155b42e69a72a47d7f16
README兼容性版本

兼容性与来源证明

Bce 以 dsh-bce 发布,当前版本为 0.1.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.4stable
2026/11/5
0.1.3stable
2026/11/5
0.1.2stable
2026/11/5
查看其余 2 个版本收起版本
0.1.1stable
2026/10/29
0.1.0stable
2026/10/29

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Remote Bridge@linxin666/dsh-remote-bridgeDSH 远程桥接:主机端通过唯一且精确的 /ios/v1 WebSocket 路由提供协议 v1——会话列表、历史记录基线、提示、包含工具活动的实时回合增量、中断以及进程内代理审批——连接到通过一次性配对的设备Ds Botds-botDS Bot:DeepSeek Harness 的一组长期运行的 Bot,支持主 Bot、Bot 间消息和群聊Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:27 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel/You.com 无需密钥;通过 MCP 支持 Zhihu 全局/站内搜索,以及 Perplexity/SerpBase/DeepSeek(官方 + 原生工具/搜索)/Baidu/Kimi/Aliyun/Douba)Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。

README

DeepSeek Harness and Better Context Engine

dsh-bce

Context-aware prompt enhancement for the DeepSeek Harness composer, powered by your Better Context Engine MCP.

English · 简体中文

Friends · 查看图片 EnsoCode

Demo · Features · How it works · Installation · EnsoCode · Usage · FAQ


dsh-bce adds an enhance icon next to the composer's attach button. One click incrementally indexes the current workspace through the Better Context Engine (BCE) MCP server already configured in your profile, then rewrites the draft into a context-rich prompt.

[!NOTE] The plugin stores no BCE base URL or token. Credentials live only in the active profile's MCP entry and are used by bce-tool on the host; they are never sent to the UI (the web page or the Desktop window).

Demo

DeepSeek Harness: click the enhance icon, wait for indexing, and the draft is replaced by the enhanced prompt
DeepSeek Harness · 2× speed · Download MP4

EnsoCode: the same enhance icon in the composer rewrites the draft with code context
EnsoCode · 2× speed · Download MP4

Features

  • One-click enhancement – the icon sits on conversation.input.left (order -40), right next to the attach button.
  • Workspace-aware – runs an incremental search_context before enhance_prompt, so the rewrite is grounded in your code.
  • Clear feedback – disabled on an empty draft; while running it shows Enhancing prompt…, an animated edge ring, and locks further clicks.
  • Reversible – Restore original brings back the pre-enhancement draft.
  • Zero extra config – reuses the profile's bce-tool MCP; no plugin-side BCE settings form.
  • One bundle – web and Desktop share the same client build.

Overview

ItemValue
HostDeepSeek Harness (web / Desktop)
EngineBetter Context Engine
MCP serverbce-tool (search_context, enhance_prompt)
Client platformdsh.client.platform: web (shared by web and Desktop)
Enhance timeout90 s (ENHANCE_TIMEOUT_MS)
Index timeoutMCP toolCallTimeoutMs

How it works

sequenceDiagram
  participant UI as Composer (enhance icon)
  participant Host as dsh-bce Host RPC
  participant MCP as bce-tool MCP
  participant BCE as Better Context Engine
  UI->>Host: dsh-bce.enhance(draft, workspace)
  Host->>MCP: search_context
  MCP->>BCE: incremental index + retrieval
  Host->>MCP: enhance_prompt
  MCP->>BCE: rewrite prompt
  Host-->>UI: enhanced prompt
  UI->>UI: setDraft (original kept for Restore)
  1. The client reads the composer draft and resolves the workspace path.
  2. Host RPC dsh-bce.enhance locates mcp__*__search_context and mcp__*__enhance_prompt; servers whose name contains bce are preferred.
  3. search_context performs incremental indexing and retrieval.
  4. enhance_prompt rewrites the prompt, aborted after 90 s.
  5. The enhanced text replaces the draft. Restore original writes back the previous prompt.

[!IMPORTANT] bce-tool must be started with --no-webbrowser-enhance-prompt. Without it, enhance_prompt waits on a local review page and the request times out.

Requirements

ComponentConstraint
Node.js^22.19 or >=24
DeepSeek Harness0.1.1-rc.2 – 0.2.2-rc.1, web CLI or official Desktop
BCEReachable HTTP API and a valid token
bce-tool MCPSame profile as the plugin, with --no-webbrowser-enhance-prompt
WorkspaceGit repository, unless the MCP is started with --allow-non-git

Web and Desktop profiles do not share MCP servers or plugin installs. Configure each one separately.

Installation

1. Register the bce-tool MCP

Add the following to the target profile's cordis.patch.yml:

- insert:
  - id: mcp-bce
    name: '@deepseek-ai/dsh-mcp-client'
    config:
      serverName: bce
      transport: stdio
      command: npx
      args:
        - -y
        - bce-tool
        - --base-url
        - 'https://your-bce-host'
        - --token
        - '***'
        - --allow-non-git
        - --no-webbrowser-enhance-prompt
      env:
        PATH: /usr/local/bin:/usr/bin
      toolCallTimeoutMs: 120000
      failOnStartupError: false
FieldNotes
serverNameAny name. Discovery matches tool-name suffixes; names containing bce are preferred.
commandOn Desktop / Electron, use an absolute npx path — the GUI PATH usually omits nvm.
toolCallTimeoutMsIndexing budget, independent of the plugin's 90 s enhance abort.

2. Install the plugin

Install the prebuilt package from npm. No local build is required.

# web
dsh plugin --profile web add dsh-bce

# official Desktop: launch once, quit completely, then run
dsh plugin --profile desktop add dsh-bce

If the packaged Desktop app boots the web profile under its own data directory, install into that profile instead.

To update later, run the same command with dsh-bce@latest.

3. Restart

Quit DeepSeek Harness completely and start it again.

[!TIP] Host and client plugins load at process start. A soft reload of the window is not enough.

Build from source (optional)

git clone https://github.com/linqiu919/dsh-bce.git
cd dsh-bce
pnpm install && pnpm build
dsh plugin --profile web add "$(pwd)"

EnsoCode

The same enhance icon is also an EnsoCode plugin in enso/. It keeps the DeepSeek Harness interaction — the sparkle "B" icon, the conic-gradient ring, status colors, restore, and the zh/en copy — uses a 25px rounded-square button that matches Enso's native composer buttons, and calls Enso's plugin APIs instead of the DSH host RPC. It needs EnsoCode 0.2.13 or newer. The files in enso/ are plain ESM, including icon.png, so installing from GitHub does not build this package. Enso 0.2.14 shows that icon in Settings.

1. Register the bce-tool MCP

In Settings → MCP, add bce-tool and enable it. On Desktop, point command at an absolute npx — the GUI PATH usually omits nvm.

FieldValue
Commandnpx
Args-y bce-tool --base-url https://your-bce-host --token *** --no-webbrowser-enhance-prompt

--no-webbrowser-enhance-prompt is required. Without it, enhance_prompt waits on a local review page and times out. Add --allow-non-git when the folder is not a Git repository. The BCE URL and token stay in this MCP entry; the plugin never reads them.

If more than one server exposes enhance_prompt, open the plugin settings (the gear on its row) and set MCP server. Leave it empty to prefer a server whose name contains bce, otherwise the first match.

2. Install and enable

Settings → Plugins → Enso plugins → paste this link:

https://github.com/linqiu919/dsh-bce/tree/main/enso

A newly installed plugin stays off until you enable it. From a shell:

enso-server plugin install https://github.com/linqiu919/dsh-bce/tree/main/enso
enso-server plugin enable dsh.bce

The id is dsh.bce. Enso requires a dotted reverse-DNS id (^[a-z][a-z0-9]*(\.[a-z0-9]+)+$), so the bare name dshbce is rejected. Enso's update check compares the manifest version and does not install on its own.

3. Use it

Open a project, type a non-empty draft, and click the enhance icon on the left of the composer. Restore original puts back the first draft of this enhancement chain. Another click, without editing in between, keeps that same original.

Differences from the DeepSeek Harness build

DeepSeek HarnessEnsoCode
Slotconversation.input.leftcomposer.left
WorkspaceSession cwd and the workspace registryThe session's projectRoot. A session with no local project shows Open a workspace first.
Draft writesetDraft (outside the undo stack)replaceDraft, checked against the generation and rev read before the call. If the draft changed, or it contains file or session references, it is left as it is.
Index and enhance budgetIndexing follows MCP toolCallTimeoutMs; the rewrite is aborted at 90sOne 90s cap for the whole click (timeoutMs: 90000). The plugin reports the timeout 1.5s early so the message stays specific. mcp.call still has no abort handle, so the in-flight tool is cancelled when that 90s host budget fires.
Drafts with references, or over 32KBsetDraft writes the textreadDraft returns plain text only, plus hasReferences. There is no segment, patch, or partial-edit API, and replaceDraft refuses drafts that contain file or session references. setText would drop the chips. The plugin then leaves the draft alone and offers Copy enhanced text (host clipboard, 1MB).
LanguageProfile locale (zh / en)enso.locale when the host exposes one. Enso 0.2.13 does not, so the button uses the page language, then the browser language.
Installdsh plugin addThe GitHub directory link above. Install and enable are separate steps.

Cmd/Ctrl+Z still does not undo a replaced draft. Use Restore original.

Usage

  1. Open a workspace.
  2. Type a non-empty prompt in the composer.
  3. Click the enhance icon. The status reads Enhancing prompt…
  4. When it finishes, the draft is replaced. Click Restore original to go back.

FAQ

SymptomCauseResolution
BCE MCP was not foundenhance_prompt is not loaded in this profileAdd the MCP entry above with --no-webbrowser-enhance-prompt, then restart. Configure web and Desktop separately.
Open a workspace firstThe session has no workspace rootSelect a workspace and retry.
Enhancement is slowLatency is tied directly to the enhancement model configured in the BCE engine: enhance_prompt is generated by that model, so duration depends on its inference speed, output length, and upstream loadSwitch to a faster enhancement model in the BCE engine, or check the model service load. The plugin only calls the tool and writes back the result; it does not affect generation time.
Enhancement timed out (90 s)Review page blocking, or a slow BCE enhancement modelMake sure --no-webbrowser-enhance-prompt is set; if it still times out, switch to a faster enhancement model in the BCE engine. Indexing is governed by toolCallTimeoutMs, not the 90 s cap.
Not a Git repositorybce-tool defaultAdd --allow-non-git.
Project too large to indexbce-tool size limitNarrow the tree with .gitignore / .bceignore.
No response after an updateStale processQuit completely and reopen.
Cmd/Ctrl+Z does not revertsetDraft is outside the composer undo stackUse Restore original.
Markdown is not rendered in the composerThe composer is a plain-text draft with file-reference chipsKeep enhancer output as plain text.

Why doesn't the UI call BCE directly? The BCE service has no CORS layer, and the token must stay on the host. The enhance icon calls the host RPC, which executes the configured MCP tools.

License

MIT