AI Agent Hub
Back to plugins
⚙️

dsh-ask-guard

Workflow Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Q1hangL/dsh-ask-guard

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run the command dsh plugin install Q1hangL/dsh-ask-guard or obtain the source from the GitHub repository at https://github.com/Q1hangL/dsh-ask-guard.

About this plugin

In DeepSeek Harness, when user questions are delivered via the browser, issues like page backgrounding, device sleep, or half-open connections can cause questions to be lost or unanswered, leading the ask_user_question tool to hang indefinitely and stall the entire turn for hours. This severely impacts workflow reliability and user experience. The dsh-ask-guard plugin addresses this by registering a tools/execute wrapper that arms a cooperative timeout (default 300 seconds) for each question dispatch. On timeout, it cleans up stuck resources and resolves the error into a structured ASK_TIMEOUT, allowing the agent to end the turn gracefully without blocking. It's ideal for developers and users of DeepSeek Harness, especially those relying on interactive Q&A who face hanging issues. By enhancing system robustness, it ensures workflows continue smoothly in abnormal scenarios without manual intervention.

Use Cases

  • When the ask_user_question tool hangs due to browser backgrounding or connection disruptions.
  • In interactive Q&A sessions where unanswered questions block the entire turn for extended periods.
  • To handle abnormal timeouts in DeepSeek Harness workflows and prevent system stalls.

Best For

  • Developers and users working with DeepSeek Harness.
  • Teams relying on interactive Q&A who face hanging issues.
  • System integrators seeking to enhance workflow reliability and robustness.