Plugin directory / Developer / dsh-interrupt-send
dsh-interrupt-send
Unverified Hyna-hla
What it does
A plugin in the Developer category for DeepSeek Harness.
Unverified — not yet verified
A plugin in the Developer category for DeepSeek Harness. Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-interrupt-send
客户端插件:在输入框工具行(发送按钮左侧)加一个 **「打断发送」** 按钮。 - AI 正在思考且草稿非空时按钮才出现; - 点击 = 中止当前回合(session.cancel(),Host 保留已排队内容并收敛)+ 立刻把草稿作为下一条消息发出去(走输入机正常提交管线,草稿自动清空、计入撤销历史);
- 普通回车保持原策略(排队/steer),按钮是**可选**的打断通道;
- 取消失败时兜底为普通排队发送,输入不丢。
实现要点
- 插槽:conversation.input.right(session 级 list 槽,owner share 为 InputZone:session 快照含 running,input 快照含 draft/phase)。
- 标准 kit:inputActions.submit() 提交草稿;useInput 未用(owner 骨架会在 store 变化时重渲染条目)。
- RPC:ctx.sessions.binding(sessionId)?.session.cancel() —— client 侧的取消动词,返回后 Host 达取消静止态。
- 纯客户端插件照 dsh-ambience 形态:host 仅 stub(保证组合行有效),dsh.client{platform:"web", inject:["slots","locale"], immediately:true}。
构建安装
``powershell
pnpm install
pnpm build
.\scripts\install-to-profile.ps1 -Name dsh-interrupt-send -SourceDir .
重启 DeepSeek Harness
``
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-interrupt-send for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:Hyna-hla/dsh-interrupt-send Headless (CLI) profile:
dsh plugin --profile headless add github:Hyna-hla/dsh-interrupt-send Test report
Not yet L3-verified — see failure note below if we already ran it.
Note: 验证: runtime-fail (0.1.0-rc.6) Browse all pending failures →
When to use it
Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.
Who it's for
Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.
For developers — extending it
The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.