Introduction¶
In DSH (DeepSeek Harness) conversational development, the model’s response in each turn often stays confined to the current task, lacking a clear follow-up action. Developers must manually decide “what to do next,” which is both repetitive and prone to omissions. Existing approaches either repeatedly emphasize workflow in the prompt or rely on external documentation lookups, both of which tend to interrupt the conversational flow.
dsh-next-move presents a set of clickable next-step suggestions below each turn’s reply. Every suggestion is derived from the tool-call results of that turn, and clicking one sends it directly. The plugin projects suggestions per turn—historical turns remain frozen in place, and a new turn does not inherit the buttons from the previous one.
What Is It¶
dsh-next-move is a DSH workflow plugin produced by maintainer xiaoxiaolelang-ai. It registers a suggest_next_steps tool and, at the end of each turn, requests the model to return next-step actions, which the plugin then renders as clickable buttons in a 2×2 grid. The plugin does not share cross-turn state; each turn displays only the suggestions generated for that turn.
Core Features¶
Per-Turn Suggestion Projection¶
The plugin checks the [turn.start.seq, turn.end.seq] range at the end of each turn for any suggest_next_steps tool results. Historical turns remain frozen, and a new turn reads only its own results without inheriting the previous turn’s buttons. This design avoids side effects caused by shared state.
2×2 Layout & Visual Hierarchy¶
Up to four suggestions are displayed at a time:
- 1 suggestion fills the entire row
- 2 suggestions sit side by side
- 3 suggestions with the last one spanning columns
- 4 suggestions in a standard 2×2 grid
Three visual tiers:
- Recommended: DeepSeek blue at 16% background overlay, 55% border, 3px left accent bar
- Standard: primary text color at 8% background overlay
- stop: 5% background overlay, secondary text
All based on theme tokens with alpha compositing, automatically adapting to the host theme.
Click Interactions¶
- Click: sends the suggestion text as a message (via the input box’s
setDraft→ commit →submit) - Shift+Click: fills the input box only without sending; appends to existing draft (newline-separated)
- After successful send, the button is locked (grayed out, others disabled)
- On submission failure, the reason is displayed and the lock is released, allowing retry
- Hover shows the full
prompt(when the text is longer than the button label) and a “Shift+Click to fill only” hint - Accessibility:
role="group"region with localized title “Next step suggestions” / “Next steps”
Configuration & Behavior¶
Configured in the profile’s cordis.patch.yml:
- id: next-move
config:
maxActions: 4 # 1-4, default 4
history: latest # latest=show only on the most recent turn (default); all=show that turn's suggestions on every turn
prompt: always # always=register a persistent instruction so the model calls the tool at the end of every turn; off=do not register
Suggestions originate from tool-call results. With prompt: always enabled, the plugin registers a persistent instruction near the end of the system prompt (approximately position 9899), instructing the model to call suggest_next_steps at the end of every turn. The prompt contains 6 rules, approximately 116 words, and avoids overfitting to specific scenarios (e.g., release / pipeline / merge), making it applicable to general workflows such as writing code, looking up references, and authoring documentation.
The model may skip the call in a given turn; in that case, no buttons are displayed for that turn. The plugin makes no hard guarantee—the observed call rate is approximately 70% across turns where the prompt is active.
Installation & Activation¶
Install command:
dsh plugin add dsh-next-move
Or add dsh-next-move via the plugin manager.
The plugin declares a dependency on DSH >= 0.2.2-rc.1, has zero external dependencies, does not import any @deepseek-ai/* packages, and registers its tool with a plain-text JSON Schema.
Typical Usage¶
After enabling the plugin, perform a multi-step task in the conversation (e.g., “pull data from API A, write it to file B, then call API C”). At the end of each turn, the model returns a suggest_next_steps tool call. The plugin renders these results as buttons—click to proceed to the next step. If a turn has no tool-call result, no buttons are displayed for that turn.
Use Cases & Notes¶
Best suited for developers who need to maintain task continuity within a conversation and want to reduce manual input and judgment. The plugin runs with the current DSH process’s permissions; review the source code and license (MIT) before installing.
Closing¶
dsh-next-move projects suggestions per turn, turning the next action from manual judgment into a one-click trigger, making conversational development more seamless. Directory page: https://www.skillhub.cn/plugins/xiaoxiaolelang-ai/dsh-next-move; GitHub: https://github.com/xiaoxiaolelang-ai/dsh-next-move