返回目錄

pi2dsh

編輯精選維護狀態: 活躍

weijiafu14/pi2dsh

Bridge the Pi and DeepSeek Harness ecosystems: one Pi Host ABI runs unmodified Pi extensions as native DSH plugins. 打通 Pi 與 DSH 生態。

前往 GitHub
$ dsh plugin --profile web add pi2dsh

188

星數

32

Fork

TypeScript

語言

MIT

授權條款

2026-08-13

建立於

2026-08-30

最近推送

原生 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

安裝步驟

  1. 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

  2. 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 整合程度與能力邊界

DSH 整合原生執行環境

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 packagesPi 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 capability
  • MCP adapter (pi-mcp-adapter)

    Host-configured MCP server definitionsFull-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 available
  • Compatibility 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.
2026-08-132026-08-22v0.12.4

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` 並存。

08資料與來源

  • 作者聲明github.com13543a929b13…

    pi2dsh is one compatibility layer that implements Pi's public extension ABI on

  • 作者聲明github.com13543a929b13…

    dsh plugin --profile web add pi2dsh

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-23。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。