dsh-branch-inbox-guard
Run the following command in DeepSeek Harness:
dsh plugin install xine2009cn/dsh-branch-inbox-guard
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xine2009cn/dsh-branch-inbox-guard in the DeepSeek Harness terminal to install, source: https://github.com/xine2009cn/dsh-branch-inbox-guard
About this plugin
In DSH, a branch session (fork child) seeds its log with the parent completed-turn prefix, which can carry undelivered agent/inbox/spliced events the parent had queued. The practical effect: a question you type in the branch gets appended behind those leftover prompts, and the very first turn claims the parent message. Your new question appears to vanish.
dsh-branch-inbox-guard inspects the pending queue on every agent/created event and drops exactly the items whose inserting spliced event lies inside the inherited prefix of the session. Each removal is recorded as a standard cancel event appended to the log, so the queue stays clean across restarts. The operation is idempotent and conservative, clearing only entries it can prove originated from the fork parent. It is a pure host-side plugin: no core-file patching, no client half, no configuration.
Best for DSH users who work with branch or fork sessions and queue prompts while an agent is still running. Should a future DSH release fix the inbox projection upstream, the plugin simply finds nothing to remove and can be uninstalled with no residue.
Use Cases
- Queueing prompts while an agent is running, then branching from a completed turn
- A branch session first turn executes a leftover parent prompt instead of your new question
- Fixing fork-inherited queue pollution without patching any core files
Best For
- Heavy DSH users who rely on branch or fork sessions daily
- Developers who queue multiple prompts while an agent is still running
- Teams that prefer host-side plugins over core-file modifications
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.