dsh-steer
Manifest valid在大模型思考过程中,随时向当前会话注入纠偏/引导信息,或打断当前回合 — DSH bundle。
思考引导面板(dsh-steer)
在大模型思考过程中随时向当前会话注入纠偏/引导信息,或打断当前回合 —— 而不是等整个任务跑完才能再次输入对话。DSH bundle 插件。
能力
- 发送引导(steer):不打断当前回合,把纠偏信息注入正在运行的会话,模型在下一步边界读取(保留已完成的工作)。
- 打断(cancel):停止当前回合(保留排队中的消息)。
- 左下角悬浮球 🧭 带状态点:绿点 = 有会话正在思考,灰点 = 空闲。
- 自动列出并选中「正在思考」的会话;多个会话并行时可手动切换目标。
文件
index.js— Host 半部分:webServer路由 +sessionController(steer / cancel / list)client.js— 浏览器半部分:shell.overlay悬浮面板cordis.patch.yml— host 组合插件行package.json— bundle 元数据
接口(同源 HTTP,仅本机回环 + 同源校验)
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /api/steer/sessions | 会话列表(含 running 标志) |
| POST | /api/steer/message | { sessionId, text, mode? },mode 默认 steer,失败退化为 queue |
| POST | /api/steer/cancel | { sessionId } 打断当前回合 |
原理
依赖 DSH 宿主 sessionController 的编排层 steer 通道:
prompt({ requestId, sessionId, mode: 'steer', content })注入引导(消息以steering节点进入实时收件箱);prompt(..., mode: 'queue')排队;cancel({ sessionId })打断当前回合。
注:steer 的生效粒度是「下一步边界」,不是打断正在流式输出的 token。若模型卡在长时间工具调用里,引导需等该步自然结束才被读取;要立即全停请用「打断」。
安装
让 DSH 调用 plugin_forge_install(dir 指向本目录),或手动:
- 拷贝本目录到 web profile 的
node_modules/dsh-steer/ - profile
package.json注册dependencies+dsh.profile.bundles - 重启 DSH Desktop 生效(bundle 需重启才被加载器扫入)
维护
改代码 → 改本目录源文件 → 重新 plugin_forge_install(重新拷入 node_modules)→ 重启 DSH Desktop。
Comments
Loading…
Similar plugins
by Frog755
DSH client plugin: auto-sends 「继续」 when a turn is interrupted/errored/overlong. No model/provider switching. Ships with a settings card.
★ 3
↓ 102/wk
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add @frog755/dsh-client-auto-retryby DosterBool
Tell DeepSeek:快捷键打断当前生成,载入纠偏提示(steer 注入);继续时思考链回填以可折叠上下文行呈现
★ 0
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-shutupby Momojie-S
DSH plugin: steer_subagent - insert a new instruction into a running background subagent's current turn (step-boundary steering) or hard-restart its turn; send_message queueing stays the default
★ 0
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add @momojie-s/dsh-subagent-steerby Hugo16
用于 DSH 的会话轮换插件。 当 DSH 完成一次自动或手动 Compact 后,插件会生成新的 Session ID,让代理 API 将下一次请求识别为新会话,从而触发账号轮询。
★ 0
MIT
JavaScript
Sep 19, 2026
dsh plugin --profile web add dsh-session-rotate-on-compactby qwert702
Commander mode for the dsh web GUI: a one-click session header button injects a protocol brief into the session, then parses and auto-executes task blocks in the model reply — separating the strategis
★ 4
↓ 45/wk
JavaScript
Sep 19, 2026
dsh plugin --profile web add dsh-commanderby XSJUSTC
DSH (DeepSeek Harness) conversation rewind plugin - rewind to any user message, interrupt a running turn, hide the tail from chat view and model context, cancel freely before sending.
★ 6
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add @xsj/dsh-rewind