Introduction¶
When debugging agents in DSH, model requests occasionally fail. The common approach is to manually re-type the prompt or switch to another model and retry. These actions are repetitive and break your flow. Below is an introduction to a plugin that displays a “Continue” card above the input box after a model request fails. Simply click it to resend the current turn without having to retype anything.
What It Is¶
dsh-continue-on-failure is a Client-side plugin (half-zone plugin) developed by maintainer ink1219. It mounts a “Continue” card above the input box in DSH, which appears when the session is idle and the most recent model request has failed. Clicking the card resends the current message into the same session’s queue, allowing the Agent to continue based on the existing context. Additionally, each completed Assistant message displays a small “Retry” button, enabling you to regenerate that specific response on its own.
Core Features¶
-
Automatic failure detection. The plugin reads the termination reason of the most recent
turn/endevent from the session’s persistent log, staying consistent with the host Chat’s own failure determination (error/interrupted/ logout interruption). It only shows the prompt when the session is idle, so it won’t disturb you while a run is in progress. -
One-click continue. Clicking “Continue” dispatches a resend message (queue mode) to the same session, and the Agent picks up where it left off based on the original context. If the retry fails again, the button will reappear.
-
Native appearance. The card styling aligns with the host’s QueueDock panel (same rounded corners, frosted-glass background, hairline border, and control specifications), using theme tokens throughout for automatic light/dark mode adaptation.
-
Bonus retry button. Each completed Assistant message retains a small “Retry” button that lets you regenerate that particular response.
Installation & Activation¶
Open the plugin marketplace (dshmarket) in DSH and add this repository as a source, or simply tell your Agent:
Install the plugin from GitHub: https://github.com/your-username/dsh-continue-on-failure
Once installed, no configuration is required — it takes effect immediately.
Typical Usage¶
-
Start an agent session in DSH.
-
Have the Agent execute a request until a failure occurs (model request failure, interruption, or logout interruption, etc.).
-
Wait for the session to enter an idle state (the plugin only shows the prompt when idle).
-
A “Continue” card will automatically appear above the input box. Click it to resend the current message.
-
If you need to retry a specific completed Assistant message, click the small “Retry” button next to that message.
Use Cases & Notes¶
This plugin is ideal for debugging agents in DSH, especially in scenarios where you need to retry the same conversation turn multiple times. It is a pure Client-side plugin with no Host logic, no additional dependencies, and no persistent data writes. Before installing, it is recommended to review the source code and the license (MIT).
In Short¶
dsh-continue-on-failure simplifies the retry process after a model request failure by mounting a “Continue” card above the input box and a “Retry” button next to each message. No configuration is needed after installation — it works right out of the box.
- Plugin directory: https://www.skillhub.cn/plugins/ink1219/dsh-continue-on-failure
- GitHub repository: https://github.com/ink1219/dsh-continue-on-failure