Introduction¶
When composing unsent plain text in DeepSeek Harness Web, you might suddenly want to handle a temporary issue first. Clearing the input box directly will lose the current content, while copying it temporarily to another location lacks a clear recovery point.
dsh-prompt-stash is a local input stash plugin for DeepSeek Harness Web that pushes unsent plain text into the current session’s LIFO stash stack, allowing you to handle the temporary issue first and then restore the original input.
What is this¶
dsh-prompt-stash is maintained by Wine-Red, licensed under MIT, and the project repository can be found at GitHub.
It solves a specific scenario in the DSH Web input process: there is already a block of plain text in the current input box, but you don’t want to send it immediately; instead, you want to ask a temporary question first and then return to the original input content.
Core Features¶
- Saved independently for each DSH session; newest content is prioritized, with a maximum retention of 10 items.
- Immediately displays a collapsible bar above the input box after stashing; it can be expanded to preview, restore, delete, or clear.
- Does not directly overwrite when the current input is non-empty; you must confirm to stash the current content before restoring.
- Uses the official DSH
inputActions.setDraft()for clearing and restoring, without manipulating thetextareaor internal Store. - Stashed content is only saved in the current browser’s
localStorage; shortcut key configuration is saved via DSH Host settings and takes effect across refreshes and browsers. - Supports Chinese and English, light and dark themes, keyboard operations, and DSH native queue composite layout.
- Single keys or combination keys can be configured in “Settings → Plugins → Plugin Configuration”; defaults to
Ctrl+S.
Installation and Usage¶
Requirements:
- DeepSeek Harness
0.1.0-rc.6,0.1.0-rc.7, or0.1.0-rc.8 - Web profile
- Node.js 20 or higher (required for source code development only)
Installation command:
dsh plugin --profile web add dsh-prompt-stash
Typical Usage¶
- Compose a block of plain text in the input box.
- Click “Stash” in the toolbar, or press the stash shortcut key inside the message input box. The input box will be cleared, and a collapsible stash message bar will immediately appear above.
- Type and send the temporary question.
- Expand the stash message and click the target content to restore.
- If the input box already has content, select “Stash current content and restore this item”, or cancel the operation.
The default shortcut key is Ctrl+S, but it can also be configured to single keys like F8. The shortcut key configuration entry is:
Settings → Plugins → Plugin Configuration
Pressing the shortcut key when the message input box is empty will restore and pop up the latest stash.
If the content remains unchanged after restoration, continuing to press the same shortcut key will cycle through other stashes in the order of “Latest → Older”.
Applicable Scenarios and Notes¶
Suitable for scenarios where you need to ask a temporary question in DSH Web but don’t want to lose the current plain text input.
Please note the following boundaries:
- The current version only supports plain text; inputs with images, attachments, or file references will not be stashed.
- Stashed content is only saved in the current browser’s
localStorage; stashed content does not send network requests and does not collect telemetry. - When browser site data is cleared, the stashed content will also be deleted.
- Uninstalling the plugin will not actively delete existing
dsh.promptStash.v1data in the browser. - Storage key is
dsh.promptStash.v1; settings namespace isdsh-prompt-stash; isolated bysessionId. - Using a single printable character as a shortcut key will occupy the original input behavior of that character.
- The plugin runs with the permissions of the current DSH process; you should check the source code and the
MITlicense before installing.
Conclusion¶
dsh-prompt-stash provides local, session-isolated, and recoverable plain text stashing capabilities, suitable for temporary switching and content rollback during the DeepSeek Harness Web input process.
Project Repository: https://github.com/Wine-Red/dsh-prompt-stash