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+ 运行。安装后禁用默认提供者,支持配置文件系统读写权限、网络阻断、超时及环境变量注入等功能,并具备自动过滤无效路径的容错机制。
阅读全文