Introduction¶
Every time DSH finishes a turn, you have to compose the next sentence: do you keep pressing with follow-ups, ask it to continue, or pivot in a new direction? This plugin uses the recent context of the current conversation to guess what you’ll want to say next, during the gap while your hands are still idle, and drops that suggestion directly into the input box’s placeholder area.
What It Is¶
dsh-saynext is a DSH composer plugin maintained by mantonlove. When a normal turn ends and you’re about to type your next message, it generates a draft suggestion based on the conversation context and displays it in the input box’s placeholder. The first Enter key accepts it into the input box as your text; the second Enter actually sends it.
It doesn’t produce filler responses like “Sure” or “OK.” Instead, it generates grounded suggestions aligned with the current goal. If the guess is right, one Enter press saves you from typing. If it’s wrong, you can ignore it or rewrite it. It will never decide to send on your behalf.
Core Features¶
A normal turn ends → a gray-text suggestion appears in the input box. Generation takes a moment; if a single generation attempt fails or times out, it’s skipped — no half-formed sentence gets injected.
Press Enter → the suggestion becomes your draft, cursor positioned at the end, nothing sent.
Edit it however you like, then press Enter again to actually send it.
When focus is not on the input box (sidebar search, settings fields, rename dialogs), the plugin leaves the Enter key alone — that control responds as normal.
The plugin provides a /saynext-goal command to view and correct the conversation goal. Typing /saynext-goal clear restores automatic goal extraction.
In DSH, open a session with an active conversation and click “Suggestion Stats” at the top to view cumulative or per-session statistics on this machine, including display coverage rate, ready-to-use rate, intent hit rate, and critical misclassification rate.
Installation & Activation¶
npm install (three steps):
cd ~/.dsh/profiles/desktop
pnpm add dsh-saynext
Then add dsh-saynext to the dsh.profile.bundles array in package.json and run pnpm install once.
Plugin marketplace install: Settings → Plugin Marketplace → search for dsh-saynext → Install.
Configuration lives in the mount block of ~/.dsh/profiles/desktop/cordis.patch.yml:
- insert:
- id: saynext
name: dsh-saynext
config:
enabled: true # Turning this off completely disables model calls
cooldownMs: 0 # Minimum interval between first requests on adjacent turns in the same session
minTranscriptChars: 40 # Don't bother asking if the conversation body is shorter than this
timeoutMs: 20000 # Per-generation timeout
After changing config, the plugin must be reloaded for changes to take effect (the simplest way is to restart the app). If you’re only changing UI-side settings, refreshing the window is sufficient.
Typical Usage¶
After a normal turn ends, a gray-text suggestion appears in the input box.
Press Enter to accept it into the input box — cursor at the end, nothing sent.
Edit it directly then press Enter to send; or just start typing and it will yield automatically.
Type /saynext-goal in the dialog to view the overall goal, confirmed requirements, assistant-reported progress, and open items.
Open a session with an active conversation and click “Suggestion Stats” at the top to view cumulative or per-session statistics on this machine.
Use Cases & Notes¶
Well suited for scenarios requiring frequent follow-up questions, asking the assistant to continue executing tasks, or making frequent revision requests during a conversation. The plugin is isolated per session — when multiple sessions are open simultaneously, each operates independently.
The plugin runs with the current DSH process’s permissions. Review the source code and license before installing. By default, diagnostic logs are written to ~/.dsh/saynext/trace.log. Set DSH_SAYNEXT_TRACE=0 to disable logging.
Conclusion¶
dsh-saynext turns the idle time between your hands into thinking time. A correct guess saves effort; a wrong one costs you nothing. It never sends on your behalf — it simply offers a reference draft when you need one. Browse the directory page and source code:
- Directory page: https://www.skillhub.cn/plugins/mantonlove/dsh-saynext
- GitHub: https://github.com/mantonlove/dsh-saynext