UNIEPOpep/dsh-attempt-recover ↗★ 1
@uniepopep/dsh-attempt-recover
Show the model output that DeepSeek Harness generated but discarded when a request failed, and let you put it back into the conversation context.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:UNIEPOpep/dsh-attempt-recover說明文件
閱讀完整 README ↗配置与边界
没有配置项。 装上就生效,不做任何持久化设置。
明确不做的事:
- 只处理
assistant/attempt。 正常完成的回复本来就会显示,不需要它。 - 两段都为空的 attempt 不渲染。 一个字都没产出的失败不该制造噪音。
- 不自动重试、不自动加回。 加不加回是你的判断,插件不猜。
- 不绕过鉴权。 加回走
/api/attempt-recover,受 Harness 的浏览器鉴权保护。 - 不改 Harness 源码。 只用公开的插件扩展点。
已知限制:
- 历史
assistant/attempt事件在重启 DSH 后才会重新扫描;页面刷新足以让已有事件重新匹配。 - 同一轮里若有多条失败的 attempt(重试多次都失败),它们按 seq 顺序堆在轮末尾,各自的展开状态独立。
- 需要 DSH 0.2.2-rc.2 及以上。更早的版本 可能 没有
assistant/attempt事件,插件装了也不会有东西可显示。