dsh-fs-allowlist: Write to allowlisted directories without approval
dsh-fs-allowlist is a community DSH plugin maintained by wzn16 (MIT, v0.3.0). On top of the default sandbox, it grants write/edit operations without approval for trusted directories configured under extraWritableRoots, and automatically enables allowed-once for bash escalation requests related to the allowlist via pre-execute and approval/request. It provides a Settings → Plugins → Directory Allowlist UI and supports hot reload through fs-allowlist.json. Install via dsh plugin --profile web add <local-path> or github:wzn16/dsh-fs-allowlist#main; a DSH Desktop restart is required. Keep the allowlist narrow; the plugin runs with the DSH process’s privileges, so review the source code before installation.
Read Moredsh-fs-allowlist: Writing to Allowlisted Directories Without Approval
The DSH plugin `dsh-fs-allowlist` is designed to resolve the “access denied → escalation retry → manual approval” deadlock that an agent may enter when writing outside the workspace. It intercepts write operations, grants approval-free access to allowlisted directories, and provides automatic approval for Bash commands. Core features include: 1. **File tools**: write requests to allowlisted directories are passed through directly; 2. **Bash commands**: automatic approval is achieved by heuristically matching allowlisted paths in the command text. Users can configure directory allowlists through the GUI or configuration files, with support for hot reloading. Note that allowlists should be managed carefully under the MIT license, and the plugin depends on DSH internal interfaces, which may become invalid if a version upgrade refactors them.
Read More