Introduction¶
When running an agent in DeepSeek Harness, it is sometimes necessary to halt the current task and issue new instructions. Sending a message directly would leave a user message; dsh-interrupt-button turns “interrupt” into a button: it silently stops the current turn at runtime, allows the agent to summarize progress via an assistant message, and then asks for new requirements and suggestions.
What is This¶
dsh-interrupt-button is a DeepSeek Harness plugin maintained by guo-ziao under the MIT license. It provides a green interrupt button next to the send box. When clicked at runtime, the current turn is silently interrupted in the background, and no simulated user message is generated in the transcript. The agent subsequently stops working, briefly summarizes the completed content, and asks for new requirements.
Core Features¶
Green Interrupt Button¶
The button is located next to the DeepSeek Harness send box.
Runtime Silent Interrupt¶
After clicking the button at runtime, the current turn is silently interrupted in the background, and no simulated user message is generated in the transcript.
Forced Pause¶
Forced pause aborts the active turn, terminates background tasks and terminals owned by the agent, interrupts sub-agents, and disarms armed goals. Queue messages are kept (keepInBox).
Assistant-style Reply¶
The agent stops with an assistant message, briefly summarizes progress, and asks for new requirements.
Custom Interrupt Prompt¶
Clicking the button when idle opens a dialog box where you can edit the model-facing instruction, save, or save and send immediately.
Theme Adaptive¶
The dialog box supports light/dark themes and adapts via DSH theme tokens.
Installation and Enablement¶
Run the following command to install the plugin:
dsh plugin --profile web add guo-ziao/dsh-interrupt-button
After installation, you can see the green interrupt button next to the DeepSeek Harness send box.
Typical Usage¶
Runtime Interruption¶
Click the green button while the agent is running. The agent will immediately stop the current work, summarize the completed content, and ask: “Do you have any new requirements and suggestions?”
The default interrupt prompt requires the progress summary to be no more than three sentences, with the last sentence exactly: “Do you have any new requirements and suggestions?”
Edit Interrupt Prompt When Idle¶
When there are no active tasks, click the green button to open a dialog box where you can edit the model-facing instruction, save, or save and send immediately.
Applicable Scenarios and Notes¶
This plugin is suitable for users who need to quickly adjust the agent’s direction in DeepSeek Harness: interrupting at runtime to let the agent summarize current progress, and then submit new requirements and suggestions.
Notes before use:
- Forced pause terminates background tasks and terminals owned by the agent, interrupts sub-agents, and disarms armed goals; queue messages are kept (keepInBox).
- The plugin runs with the permissions of the current dsh process. It is recommended to check the source code and the MIT license before installing and to confirm that the forced pause behavior meets your expectations.
Ending¶
dsh-interrupt-button provides a lightweight entry point: silent interruption at runtime, and adjustment of the interrupt prompt when idle. To find it in the DSH community directory, search for dsh-interrupt-button; GitHub page: https://github.com/guo-ziao/dsh-interrupt-button