返回目录
模型与 MCP 插件

dsh-dsml-rescue

dsh-plugin-lab/dsh-dsml-rescue

DSH Plugin: Auto-continues turns that stall on leaked DSML tool-call markup, wherever the route puts it — the reasoning or the visible text. | 当 DSML 工具调用标记泄漏在消息末尾(推理或正文皆可)导致回合停滞时,自动续跑。

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:dsh-plugin-lab/dsh-dsml-rescue

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-dsml-rescue

dsh-dsml-rescue

A turn stalled by leaked DSML markup gets another one

DSML 泄漏导致的空转,替你续上

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. What it produced ended with lines like these:

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

The web UI after a stalled turn: what the model produced ends with leaked DSML markup, then the turn stops with no answer

DSML (DeepSeek Markup Language) is how DeepSeek formats a tool call. Some provider routes hand that markup back as ordinary message content instead of an actual call — in the reasoning, or in the visible reply. Either way 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 where the message ends, and no tool call. Both halves are needed — an empty turn without the markup is a different failure.
  • Sends one short, neutral line: take the next step — never an offer to declare the work finished.
  • Backs off while you are typing.
  • Gives up after a few failed 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 you need 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

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm、deepseek、deepseek-harness。