dsh-extraworkspace:在 Windows 上爲 DSH 會話擴展可寫工作區

DSH 在 Windows 默認將子進程與文件工具限制在會話工作區與臨時目錄。dsh-extraworkspace 通過按會話的可寫目錄白名單,調用 registerWritableRoot 與 Windows ACL 低完整性授權,讓 write、edit 與沙箱 shell 在指定路徑合法寫入。依賴 DSH 0.2.2-rc.3,須在 workspace-write 模式下使用;支持標題欄面板配置、storage 持久化及可選 Forge Git/worktree 配套。適合跨盤協作又需保持誤寫防護的開發者。

閱讀全文
dsh-workspace-integrity:完全權限下把工作區完整性標籤從 Low 拉回 Medium

Windows 上 DSH 沙箱會在工作區根留下可繼承的 Low 完整性標籤,切到 danger-full-access 不會自動清除,導致從工作區啓動的程序寫 Medium 路徑失敗。.NET 加載、子進程權限等異常與此相關。K0L0banov 的 dsh-workspace-integrity 監聽 sandbox/mode,在完全權限時用 icacls 將標籤改回 Medium。本文說明機制、install_bundle 安裝、cordis.patch.yml 配置項及 WRITE_OWNER 邊界。MIT,Node 22+,日誌 ~/.dsh/workspace-integrity.log。

閱讀全文
dsh-sandbox-temp-guard:Windows ACL 沙箱臨時目錄自愈守衛

dsh-sandbox-temp-guard 是 wsm000 維護的 DSH admin-security 插件,針對 Windows 上 dsh-sandbox-local 緩存的 %TEMP%\dsh-XXXXXX 被系統清理後會話內持續 SANDBOX_UNAVAILABLE 的問題:在工具執行前與週期掃描中重建目錄並補 ACL,並對仍出現的後端失敗追加註解,避免 Agent 誤用 sandbox_permissions 提權。安裝可用 npx @deepseek-ai/dsh plugin --profile desktop add github:wsm000/dsh-sandbox-temp-guard;配置含 repairBeforeToolExecution、sweepIntervalMs、annotateBackendFailure。過渡方案,對應 deepseek-harness Discussion #8550。

閱讀全文
dsh-sandbox-console-fix:Windows 桌面版 workspace-write 沙箱控制台修復

介紹 TJZF-4j97 維護的 DSH bundle dsh-sandbox-console-fix:針對 Windows 桌面 Harness 0.2.0-rc.2 在 workspace-write 下 Shell 退出 0xC0000142 的問題,通過 console-shim 與 cordis patch 恢復受限 pwsh/cmd 啓動且不放寬 fs 沙箱。說明 2026-10-19 歸檔結論(非提升宿主通常無需安裝)、Plugin Manager 安裝步驟、驗證命令及 AI 未審閱風險提示。

閱讀全文
dsh-grantwrite-patch:修復 Windows 沙箱 grantWrite 失敗並靜默重試

在 Windows 上使用 dsh 的 workspace-write 沙箱時,若 ACL 鏈缺少 WRITE_DAC/WRITE_OWNER,grantWrite 會在 SetNamedSecurityInfoW 上以 Win32 5 失敗,導致該工作區所有受控命令無法 spawn。dsh-grantwrite-patch 攔截此錯誤,按工作區規模選擇內存 patch、大目錄一次性 grant 或 diagnose/icacls 兜底修復權限,並在 maxRetries 內重試命令。僅 Windows NTFS 生效,需 dsh >= 0.1.7-rc.1。安裝:dsh plugin --profile web add dsh-grantwrite-patch。

閱讀全文
dsh-sandbox-mxc:基於 MXC 的 DeepSeek Harness 沙箱提供者

`dsh-sandbox-mxc` 是 DeepSeek Harness 在 Windows 平臺上的沙箱提供者實現。它基於 Microsoft eXecution Containers (MXC),利用 `wxc-exec.exe` 包裝進程參數,無需內核補丁即可實現進程隔離。 該插件依賴 `@microsoft/mxc-sdk` 定位可執行文件,但通過不導入原生綁定,避開了 SDK 對 Node.js 版本(需 24 或 26)的限制,可在 Node.js 22+ 運行。安裝後禁用默認提供者,支持配置文件系統讀寫權限、網絡阻斷、超時及環境變量注入等功能,並具備自動過濾無效路徑的容錯機制。

閱讀全文