DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

dsh-plugin-lab /

dsh-plugin-lab/dsh-dsml-rescue

Verified

Auto-continues turns stalled by DSML tool-call markup leaking into reasoning.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@d58e6849

dsh-dsml-rescue

dsh-dsml-rescue

A stalled turn gets another one

空转的轮次,替你续上

powered by dsh

CI npm MIT License

Per-version changes → Releases

English · 简体中文


Does this look familiar?

You asked for something. The model reasoned for a while. Then the turn simply ended — no answer, no tool call, nothing. The reasoning output ended with lines like these:

</||DSML|| parameter>
</||DSML|| invoke>
</||DSML|| calls>

DSML (DeepSeek Markup Language) is how DeepSeek formats a tool call. Some provider routes hand that markup back as ordinary reasoning text instead of an actual call, so the call never happens, the turn closes with no output, and everything waits for someone to type "continue".

This plugin types it.

What it does

  • Continues a stalled turn: DSML markup at the end of the reasoning, and nothing else produced.
  • Sends one short, neutral line — carry on, or wrap up if the work is done.
  • Backs off while you are typing.
  • Gives up after a few attempts instead of burning requests.
  • Covers subagents too, so a delegated task is not falsely reported as completed while it is stuck.

Install

dsh plugin --profile web add dsh-dsml-rescue

Then restart dsh --profile web. There is nothing to configure — the defaults are the intended behaviour.

Working from source: clone, pnpm install && pnpm run build, then dsh plugin --profile web add "$PWD".

What it will not do

  • It does not fix the cause. The markup leaks below the model, out of reach of any prompt. What it buys you is the wait, shortened.
  • It does not rescue other empty turns. No DSML markup, no rescue: a cancellation, a failed request, or a reply cut off at the output limit is left alone on purpose.
  • It does not touch your conversation. Nothing is rewritten or replayed; it adds one message and lets the host carry on.

Going deeper

  • Which three settings exist and what each one changes → docs/ARCHITECTURE.md
  • How a stalled turn is recognised, and the rules that must not be broken → docs/ARCHITECTURE.md
  • What the tests prove, and how to reproduce the whole thing locally → docs/VERIFICATION.md

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit d58e6849ad1e

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout