MIT 授權的 DeepSeek Harness 插件雛形(TypeScript),產生一對主機+客戶端插件並暴露 Typert Remote,已預置建置、測試與 CI。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-08-30
授權條款
MIT
01它能幫你完成什麼?
Scaffold a dual-side DeepSeek Harness plugin (host + client) from a working reference
A ready-to-build template that registers a `greet` Remote — the host composes `"Hello, <name>"` and the client renders it in a new "Greet" tab
Plugin developers building for the DeepSeek Harness runtime who want the full plugin surface wired up (type-checking, linting, tests, CI, publishing)
Learn how a DeepSeek Harness host plugin and Web client plugin connect end to end
Annotated `src/` layout, `dsh.plugin.json` registry manifest, `cordis.patch.yml` profile mount, and `build.mjs` dual build
Developers who want a concrete reference for the Harness plugin surface before writing their own plugin
02如何將外掛接入 DeepSeek Harness?
先決條件
- Node.js >= 22.19 (or >= 24)
- pnpm >= 9
- DeepSeek Harness >=0.1.0-rc.6
安裝步驟
- 01
pnpm install
- 02
pnpm run build
- 03
$ dsh plugin --profile web add .
- 04
Restart the Web Harness after rebuilding the plugin
驗證整合成功
- A "Greet" tab appears in the session view ring showing `Hello, DSH`
復原
- dsh plugin --profile web remove dsh-plugin-template
03DSH 整合程度與能力邊界
Built for the DeepSeek Harness runtime: a host plugin exposes a Typert `greet` Remote and a client plugin mounts it into a React view; install via `dsh plugin --profile web add .`.
Host plugin: greet Remote (Typert)
configurable prefix via the Config schema→composes `"Hello, <name>"` string from the prefix and the name
Client plugin: Greet tab (React view)
the greet Remote result→renders `Hello, <name>` in a new "Greet" tab of the session view ring
mounts the Remote into the Web harness module loader and adds a "Greet" tab to the session view ringDual build & CI
TypeScript sources in src/ and tests/→host ESM + client CJS bundles plus type declarations; vitest unit tests; CI on push
04適合誰?何時不該用?
適合
- Plugin developers building for the DeepSeek Harness runtime who want the full plugin surface wired up (type-checking, linting, tests, CI, publishing)
- Developers who want a concrete reference for the Harness plugin surface before writing their own plugin
不適合
- A Git install (`dsh plugin --profile web add github:...`) fetches sources, not built artifacts, so pnpm runs `prepare` to build `lib/`. pnpm >=10 blocks that build until you set `allowBuilds`; that allowance lets the package run code at install time, so only allow packages you trust and pin a commit.
05相容性、維護與安全提醒
- A Git install (`dsh plugin --profile web add github:...`) fetches sources, not built artifacts, so pnpm runs `prepare` to build `lib/`. pnpm >=10 blocks that build until you set `allowBuilds`; that allowance lets the package run code at install time, so only allow packages you trust and pin a commit.
MIT licensed DeepSeek Harness plugin template (sources: ours); last push 2026-08-27; no tagged GitHub release
06常見問題
如何用 DeepSeek Harness 安裝 dsh-plugin-template?
在本地倉庫執行 `pnpm install`、`pnpm run build`,再執行 `dsh plugin --profile web add .` 並重新啟動 Web Harness。會出現一個顯示 `Hello, DSH` 的「Greet」分頁。
安裝前置條件是什麼?
Node.js >= 22.19(或 >= 24)、pnpm >= 9,以及 DeepSeek Harness >=0.1.0-rc.6。
範本如何連接到 DeepSeek Harness?
它內含一個對外暴露 Typert Remote(greet)的主機插件,以及一個把該 Remote 掛載進 React 視圖的客戶端插件;Harness 只需 `package.json` 這份清單,另加供 dsh.so 註冊表使用的 `dsh.plugin.json`。
如何移除?
執行 `dsh plugin --profile web remove dsh-plugin-template`。
Git 安裝為什麼要求設定 allowBuilds?
Git 安裝取得的是原始碼而非構建產物,因此 pnpm 會執行 `prepare` 腳本來構建 `lib/`。pnpm >= 10 預設會擋下該構建,直到你在 profile 的 `pnpm-workspace.yaml` 加入 `allowBuilds: dsh-plugin-template: true`;此授權會讓套件在安裝時執行程式碼,因此只授權你信任的套件並固定提交。
07相關的 DSH 工作流程
dsh-context
作者 bowenliang123
A context insight plugin officially recommended by DeepSeek Harness, for context composition, evolution and Multi-Agent details. DeepSeek Harness官方推薦的上下文洞察外掛,透視上下文組成與演進,以及多Agent 協作與通訊。
deepseek-harness-control-center
作者 feibi-mochi
DeepSeek Harness control center for balance, usage, peak/off-peak pricing, encrypted multi-account switching, health checks, reminders, recharge, and session controls. / 餘額、用量、峰谷計費、加密多賬戶、健康檢查、提醒、充值與會話控制
dsh-context-doctor
作者 zhenyu98
DSH 上下文注入審計外掛:統計 AGENTS.md 指令鏈/技能目錄/工具 schema 的 token 成本,檢測重複與衝突;Web UI 圓環面板 + context_audit 工具。Context Doctor for DeepSeek Harness: audit instruction-chain / skill catalog / tool schemas token cost.
dsh-balance-plugin
作者 yxxbc
deepSeek 餘額監控與用量統計(DSH 動態 Cordis 外掛):餘額監控 · 官方充值入口 · 用量統計 · 三方外掛管理
08資料與來源
A complete dual-side [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin template.
a **host** plugin exposing a Typert Remote, and a **client** plugin mounting that Remote into a React view
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-30。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
