dsh-win32

@sjh9714 · 开发
检测有风险提示无安装脚本来源一致接管安全关键能力

让 DSH Minimal 模式在原生 Windows 上可用,含沙盒兼容的持久 shell 预设

v0.15.1版本
npm 预构建包安装方式
2026-08-21最近更新
14 · 6,351Star · 周下载
dsh plugin --profile web add dsh-win32查看仓库

插件介绍

根据仓库资料整理 · commit 07eb4fd

主要功能

  • 补上官方缺失的 win32 进程探测能力,使持久 shell 能在 Windows 上真正启动
  • 提供 busybox ash 沙盒预设,其持久 shell 能在 workspace-write 受限令牌下存活(MSYS 系 shell 在此会崩溃)
  • 基于 ConPTY 控制台进程列表解析前台命令
  • 自动读取 GBK/UTF-16 编码的文件
  • 提供 doctor/fix 命令,列出并修复常见 Windows 安装陷阱
  • 另提供基于 Git Bash 的备用预设(需 danger-full-access 权限)

适合什么时候用

  • 在 Windows 上使用 DSH Minimal 模式,但持久 shell 无法启动时
  • 需要在 Workspace Write 受限权限下稳定运行持久 shell 的 Windows 用户
  • 需要处理 GBK/UTF-16 编码源码文件的 Windows 开发者

安装后会多出什么

命令dsh-win32 setupdsh-win32 setup --sandboxeddsh-win32 doctordsh-win32 fix

使用前需要

  • 仅支持 Windows (win32) 操作系统
  • 依赖 @deepseek-ai/cordis、dsh-fs-local、dsh-fs-sandbox、dsh-subprocess-local
  • 使用 Git Bash 预设时需先安装 Git for Windows,并授予 danger-full-access 权限

在 GitHub 阅读完整 README

权限与能力

安装后它能碰到什么
覆盖 1 个宿主行 · 其中 1 个安全关键
改写 子进程执行
宿主能力
Agent 控制浏览器 UI环境变量文件系统外部网络宿主子进程
能力是范围不是结论:很多能力是功能所需。

基本信息

仓库sjh9714/dsh-win32npmdsh-win32@0.15.0安装方式npm 预构建包收录日期2026-08-15固定 commit07eb4fda852c · 2026-08-21
dsh plugin --profile web add dsh-win32