dsh-enter-guard: Prevent Accidental Messages by Pressing Enter Twice
dsh-enter-guard is an MIT plugin (v0.1.0) developed by Liyu147 for the DeepSeek Harness (DSH) web client. The first "Enter" press merely arms the composer and prompts the user to press again to send; the message is only sent upon the second "Enter" press, while any other key cancels the action. Ctrl/Cmd+Enter and the Send button continue to send messages immediately. Installation requires cloning the repository, running `dsh plugin --profile web add`, and restarting the dsh web client. This plugin relies on `data-composer-*` DOM anchors; if these fail, a fail-safe mechanism restores native Enter behavior. It is suitable for developers writing long drafts or concerned about accidental carriage returns. Please review the source code and permissions before installation.
Read More