AythyaCrispus/dsh-minimal-msys2
AythyaCrispus★ 1JavaScriptLast synced: 2026-08-15
Windows Minimal Mode: persistent bash + str_replace_editor dsh plugin — registers an agent preset, provides a working persistent-bash backend on Windows, and exposes a GUI-editable bash path in the plugin-settings section (persisted via the credentials domain).
README excerpt
dsh-minimal-msys2 English 中文 Windows 极简模式 dsh 插件:在 Windows 上提供与官方极简模式工具定义完全一致的持久 bash 工具( command 参数、持久 shell 语义),外加 str replace editor 。 背景 官方 minimal (极简模式)preset 的持久 bash 在 Windows 上无法工作,有两层独立的平台限制: 1. dsh-subprocess-local 的终端分配依赖 POSIX 进程检查(Linux /proc、macOS ps),win32 直接抛 terminal inspection is unsupported on platform win32 ; 2. 即使绕过第一层,默认 workspace-write 沙箱会把 bash 包进 Windows ACL 受限令牌 runner,而 MSYS2/Cygwin 运行时在受限令牌下无法创建信号管道( bash: fatal error - couldn't create signal pipe, Win32 error 5 ),bash 启动即崩溃。 本插件提供 win32 原生 PTY spawn(node-pty/ConPTY,无 POSIX 进程检查),并复用官方 BashTerminalBackend 的会话逻辑,因此模型看到的 bash 工具定义与官方极简模式完全一致。 安装 然后 重启 dsh 。插件启动时会自动把 agent preset 复制到 $DSH HOME/.agent-presets/minimal-msys2 (已存在则不覆盖,保留你的修改)。 使用 1. 以 danger-full-access 模式启动/切换会话(MSYS2 bash 与 Windows 受限令牌不兼容,这是硬限制): 或在 Web UI 的会话设置中把沙箱模式切到 danger-full-access。 2. 新建会话,Agent 选择 Windows Minimal Mode (选择器里显示英文名)。 3. 工具列表应为 bash + str replace editor 。 配置 bash 路径(GUI) MSYS2 与 Git Bash 的安装路径不同,无需改配置文件: 1. 打开 Web GUI 设置 → 插件配置 →「Windows 极简模式」 (卡片标题跟随界面语言,中文界面显示「Windows 极简模式」,英文界面显示 "Windows Minimal Mode"); 2. 在 bash 路径 输入框填写你的 bash.exe 绝对路径(如 C:/msys64/usr/bin/bash.exe 或 C:/Program Files/Git/bin/bash.exe ),点击 保存 ; 3. …
View full README on GitHub →Category
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode / Hermes & 20+ CLIs via BYOK.
★ 86,705
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,317
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,834