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 工作流程
loopx
作者 loopx-project
面向 DeepSeek Harness、Codex、Claude Code 等代理工作流的長週期控制平面,支援持久、可治理的任務執行與自動化。
dsh-context
作者 bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details, understanding how the context is made of, and how it evolves. 一站式 DeepSeek Harness 上下文視覺化外掛,Context 面板及瀏覽器和側邊欄與 Context 命令,透視上下文組成、演進、壓縮、剪枝等事件與動作。
api-relay-audit
作者 toby-bridges
本地 AI API 中轉與 LLM 代理安全審計工具,可檢測提示注入、模型替換、工具呼叫篡改、SSE 異常與 Web3 錢包風險。
awesome-deepseek-harness-plugins
作者 zhiyuan-fan
DeepSeek Harness 外掛精選清單,收錄外掛、擴充套件、工具、技能、客戶端與整合資源,中英雙語。
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 個值得優先安裝的外掛,涵蓋各個分類。
