原生 DSH 相容層,透過一個橋接把未修改的 Pi 生態外掛當作 DSH 外掛執行。透過 `dsh plugin --profile web add pi2dsh` 安裝;重新啟動 dsh 以掛載。需要 Node.js 22.19+。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-08-23
授權條款
MIT
01它能幫你完成什麼?
Run Pi ecosystem plugins on DeepSeek Harness, unmodified
Pi npm packages mounted as native DSH plugins through a single bridge instance (one model directory, one login, one credential store)
DeepSeek Harness users who want Pi's mature plugin ecosystem (web search, memory, code nav, subagents, vision) without per-package adapters
02如何將外掛接入 DeepSeek Harness?
先決條件
- Node.js 22.19+
- DeepSeek Harness installed with the `dsh plugin` command
安裝步驟
- 01
Run `dsh plugin --profile web add pi2dsh` (and `dsh plugin --profile web add pi-mcp-adapter` for the MCP adapter)
$ dsh plugin --profile web add pi2dsh
- 02
Restart `dsh` — plugins mount at startup
$ dsh
驗證整合成功
作者未說明
復原
- Remove a plugin with `dsh plugin remove <pkg>` before removing the engine; upgrade the engine with `dsh plugin add pi2dsh@latest`. The README gives no explicit full-uninstall command beyond `dsh plugin remove`.
03DSH 整合程度與能力邊界
Native DSH compatibility layer: implements Pi's public extension ABI on top of DSH's native services so unmodified Pi packages run as DSH plugins.
Pi → DSH bridge (host + browser)
Unmodified Pi npm packages→Pi plugins surfaced through DSH's tool registry, models/llm config, skills, and user questions
One ABI gap fixed unlocks every package that hits it; the bridge keeps no per-package special casesTools go to DSH's tool registry; questions go to DSH's user questions — no second bridge-owned implementation of a DSH-native capabilityMCP adapter (pi-mcp-adapter)
Host-configured MCP server definitions→Full-screen MCP server manager with stdio/Streamable HTTP/SSE, discovery, proxy tools, resources, prompts
The Pi adapter's `/pi-mcp` runs beside DSH's native `/mcp`; both stay availableCompatibility CLI helpers
Package names / versions→`npx pi2dsh inspect <pkg>@<version>` (pre-upgrade report), `npx pi2dsh matrix --json` (capability matrix), `npx pi2dsh mcp-config` (Pi → DSH MCP entries)
`npx pi2dsh mcp-config` translates Pi mcpServers config into @deepseek-ai/dsh-mcp-client patch entries; plaintext keys trigger a warning
04適合誰?何時不該用?
適合
- DeepSeek Harness users who want Pi's mature plugin ecosystem (web search, memory, code nav, subagents, vision) without per-package adapters
不適合
- pnpm blocks dependency build scripts by default; if an add fails with ERR_PNPM_IGNORED_BUILDS, run `pnpm approve-builds` inside $DSH_HOME/profiles/web or allow them in pnpm-workspace.yaml.
- Where the bridge must bypass, degrade, or cannot express a Pi capability, it reports a known architectural gap rather than faking success; some Pi capabilities have no safe DSH mapping and are marked unusable with a removal hint.
05相容性、維護與安全提醒
- Plugins mount only at DSH startup, so you must restart `dsh` after adding pi2dsh or any Pi plugin for it to take effect.
- pnpm blocks dependency build scripts by default; if an add fails with ERR_PNPM_IGNORED_BUILDS, run `pnpm approve-builds` inside $DSH_HOME/profiles/web or allow them in pnpm-workspace.yaml.
- Where the bridge must bypass, degrade, or cannot express a Pi capability, it reports a known architectural gap rather than faking success; some Pi capabilities have no safe DSH mapping and are marked unusable with a removal hint.
MIT · 由 facts pack 抓取(README 分支 main)
06常見問題
怎麼安裝 pi2dsh?
執行 `dsh plugin --profile web add pi2dsh`(想要 MCP 管理器則再加 `dsh plugin --profile web add pi-mcp-adapter`),然後重新啟動 `dsh`。外掛在啟動時掛載。
需要修改 Pi 外掛嗎?
不需要。pi2dsh 在 DSH 原生服務之上實作 Pi 的公開擴充 ABI,Pi 套件以原樣發布方式執行——不分叉、不打補丁、無需逐套件轉接器。
為什麼新增時出現 ERR_PNPM_IGNORED_BUILDS?
pnpm 預設攔截依賴的建置指令碼。在 $DSH_HOME/profiles/web 內執行 `pnpm approve-builds`(或在該 profile 的 pnpm-workspace.yaml 的 allowBuilds 下放行這些套件),再重新執行新增。
MCP 轉接器有什麼用?
`pi-mcp-adapter` 提供全螢幕 MCP 伺服器管理器(stdio / Streamable HTTP / SSE、發現、代理工具、資源、提示),作為 `/pi-mcp` 與 DSH 原生的 `/mcp` 並存。
07相關的 DSH 工作流程
distilly
作者 titanwings
Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).
dsh-market
作者 dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 視覺化外掛市場
ai_animation
作者 unclecheng-li
本專案整理了用於生成[炫酷 HTML 動畫網頁]的 AI Prompts,涵蓋動畫效果、3D 視覺化、PPT 風格演示、UI 美化等多個類別。
aegis
作者 ganyuanran
讓 AI 編碼智慧體具備架構意識:基線優先、證據驗證、漂移檢查,保障長任務安全。
08資料與來源
pi2dsh is one compatibility layer that implements Pi's public extension ABI on
dsh plugin --profile web add pi2dsh
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-23。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
