返回目錄

dsh-win32

編輯精選維護狀態: 活躍

sjh9714/dsh-win32

在原生 Windows 上修復與診斷 DeepSeek Harness,提供官方 PowerShell、工作區寫入、快捷鍵與舊預設修復,無需 WSL。

前往 GitHub專案首頁
$ npx dsh-win32 setup

31

星數

2

Fork

TypeScript

語言

MIT

授權條款

2026-08-15

建立於

2026-09-05

最近推送

適用於 DeepSeek Harness 的原生 Windows 修復與驗證工具集:一條指令完成安裝,對已知故障做可證安全的修復,產生桌面捷徑,並對已安裝的 DSH 技術棧做無模型的 `verify` 驗收。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-09-06

授權條款

MIT

01它能幫你完成什麼?

  • 在原生 Windows 上修復並診斷 DeepSeek Harness(無需 WSL)

    經過驗證的官方技術棧、按可證安全方式修復的已知 Windows 故障,以及一個 DeepSeek Harness 桌面捷徑

    在 Windows 上執行 DeepSeek Harness、遇到啟動 / ACL / PowerShell 故障,並希望修復且不更動官方 profile/preset 的使用者

  • 透過無模型的驗收執行證明已安裝的 DSH 技術棧確實可用

    一份通過 / 失敗報告,實測 PowerShell 7、PTY 狀態保持、Workspace Write 策略與 Windows ACL 隔離

    需要即時證據證明已安裝的 PowerShell / Workspace Write / ACL 元件可用、且無需模型請求或 API 金鑰的 Windows 使用者與 CI 流水線

02如何將外掛接入 DeepSeek Harness?

先決條件

  • 需要原生 Windows 以及 DSH 支援的 Node 版本;Node 23 明確不被支援。
  • 已安裝 `@deepseek-ai/dsh`(DeepSeek Harness)——`verify` 針對已安裝的依賴樹執行。
  • 建議使用 PowerShell 7,但 dsh-win32 不會替你安裝。

安裝步驟

  1. 01

    `npx dsh-win32 setup` —— 檢查官方持久 PowerShell 與 Workspace Write 套件,並建立 DeepSeek Harness 桌面捷徑。

    $ npx dsh-win32 setup

  2. 02

    `npx dsh-win32 setup --profile desktop --no-shortcut` —— 使用其他 profile 且不建立捷徑。

    $ npx dsh-win32 setup --profile desktop --no-shortcut

  3. 03

    `npx dsh-win32 setup --legacy` —— 修復舊版 Git Bash / busybox preset。

    $ npx dsh-win32 setup --legacy

驗證整合成功

  • `npx dsh-win32 verify` —— 對已安裝技術棧做無模型、無 API 金鑰的驗收執行。
  • `npx dsh-win32 verify --json` —— 同樣的檢查,輸出機器可讀結果。

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

直接修復並驗證官方原生 Windows DSH 技術棧(持久 PowerShell + Windows ACL 沙箱)——無需 WSL

  • 官方技術棧檢查與安全修復

    Windows 上已安裝的 `@deepseek-ai/dsh`按可證安全方式修復已知 Windows 故障;profile 保留在官方 Minimal preset

  • 桌面捷徑

    已安裝 DSH 的 Web profile一個 `DeepSeek Harness` 桌面捷徑

  • 即時驗證(`verify`)

    已安裝的 `@deepseek-ai/dsh` 依賴樹針對 PowerShell / Workspace Write / ACL 元件的無模型、無 API 金鑰驗收報告

  • Doctor 與 koffi 修復

    已發佈的 DSH Windows 套件契約與已安裝的 koffi 執行環境`doctor` 的 JSON(`dsh-doctor/v1`)以及只修復已知損壞 koffi 版本的 `fix`

  • 舊版 preset 修復

    DSH rc.6 及更早版本(Git Bash / busybox preset)針對舊版 Windows preset 的 `setup --legacy` / `doctor --legacy`

04適合誰?何時不該用?

適合

  • 在 Windows 上執行 DeepSeek Harness、遇到啟動 / ACL / PowerShell 故障,並希望修復且不更動官方 profile/preset 的使用者
  • 需要即時證據證明已安裝的 PowerShell / Workspace Write / ACL 元件可用、且無需模型請求或 API 金鑰的 Windows 使用者與 CI 流水線

不適合

  • 需要原生 Windows 以及 DSH 支援的 Node 版本;Node 23 明確不被支援。建議使用 PowerShell 7,但 dsh-win32 不會替你安裝。
  • dsh-win32 只在原生 Windows 上修復 DSH,不使用 WSL;它也不會在目前的路徑安裝 Git、PowerShell、busybox、WSL 或其他 DSH 套件。
  • 舊版 Git Bash preset 需要 `danger-full-access`,這會移除常規的 Windows ACL 隔離。
  • 在另一個 Workspace Write / Windows ACL 沙箱內部執行 `verify` 可能在 PowerShell 啟動前卡住;需僅為本次 verify 指令批准一次無沙箱 / 完全存取執行。

05相容性、維護與安全提醒

  • 需要原生 Windows 以及 DSH 支援的 Node 版本;Node 23 明確不被支援。建議使用 PowerShell 7,但 dsh-win32 不會替你安裝。
  • dsh-win32 只在原生 Windows 上修復 DSH,不使用 WSL;它也不會在目前的路徑安裝 Git、PowerShell、busybox、WSL 或其他 DSH 套件。
  • 舊版 Git Bash preset 需要 `danger-full-access`,這會移除常規的 Windows ACL 隔離。
  • 在另一個 Workspace Write / Windows ACL 沙箱內部執行 `verify` 可能在 PowerShell 啟動前卡住;需僅為本次 verify 指令批准一次無沙箱 / 完全存取執行。
作者未說明作者未說明v0.17.7

readme_verified

06常見問題

執行 dsh-win32 需要 WSL 嗎?

不需要。dsh-win32 在原生的 Windows 上修復 DeepSeek Harness,且明確不會安裝 WSL(也不會安裝 Git、PowerShell、busybox 或其他 DSH 套件)。

`npx dsh-win32 setup` 會做什麼?

它會檢查官方的持久化 PowerShell 與 Workspace Write 套件,建立 DeepSeek Harness 桌面捷徑,並把設定保留在官方的 Minimal 預設上。建議使用 PowerShell 7,但 dsh-win32 不會替你安裝。

`verify` 與 `doctor` 有什麼不同?

`doctor` 驗證已發佈的 DSH Windows 套件契約並從套件中繼資料檢查本地故障;`verify` 則是針對你已安裝的 `@deepseek-ai/dsh` 依賴樹、無需模型與 API 金鑰的驗收執行,會實測 PowerShell / Workspace Write / ACL 元件。

`verify` 需要 API 金鑰或模型存取嗎?

不需要。`verify` 是無模型、無 API 金鑰的驗收執行,只測試已安裝的技術棧,不會發起模型請求,也不把登錄檔中繼資料當作證明。

支援哪些 Windows 版本與 Node 版本?

需要原生 Windows 以及 DSH 支援的 Node 版本;Node 23 明確不被支援。建議使用 PowerShell 7,但 dsh-win32 不會安裝。

08資料與來源

  • 作者聲明github.com7401db4567f9…

    Current DeepSeek Harness already includes persistent PowerShell and a Windows ACL sandbox.

  • 作者聲明github.com7401db4567f9…

    **Official PowerShell. Workspace Write. One command.**

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

🏆

最佳 DeepSeek Harness 外掛

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

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

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