dsh-edit-approval: Edit and Bash Approval Plugin for DeepSeek Harness

dsh-edit-approval is a DeepSeek Harness (DSH) plugin maintained by SiriLee, designed to provide an explicit approval mechanism for agent invocations. The plugin primarily targets the `write`, `edit`, `str_replace_editor`, and `bash` tools: the former displays a red-green line-level diff before writing a file, allowing users to choose to allow it once or reject it; the latter initiates approval before command execution, which is off by default but supports being enabled via settings with a configurable command prefix whitelist. The plugin adheres to the "everything is a plugin" philosophy, does not extend access permissions, and delegates sandbox handling under the `never` strategy. Installation requires using the `dsh plugin` command and meeting the Node `^22.19.0` or higher version requirement. It is suitable for those who wish to...

Read More