M
dsh-continue-button
mrgnum/dsh-continue-button
Adds a one-click Continue button beside Send that resumes a stopped turn by sending the "continue" prompt; hidden while a turn is running or the session is empty.
インストール
dsh plugin --profile web add github:mrgnum/dsh-continue-buttonREADME
dsh-continue-button
DSH Web UI plugin: adds a Continue (play) button next to the send icon
in the composer. A click sends the literal message continue to the current
session through the official conversation pipeline (the same
conversation.send the composer's default sink uses) — the draft is never
touched.
Visibility
- Hidden while the session is running — in that state the Stop button is
on duty (the same
runningsignal the InputBar uses). - Hidden for a blank (new) session — nothing to continue yet.
- In the hero / new-chat state the composer slot is not rendered at all.
Install
dsh plugin --profile web add MrGnUm/dsh-continue-button
Or install from a local checkout with link: (or a bare absolute path):
dsh plugin --profile web add link:/path/to/dsh-continue-button
Then refresh the web UI (or restart dsh web).
The button appears in the composer's right tool row, just before the send/stop cluster, with a native-looking play icon and a localized tooltip (en / ru).
Uninstall
dsh plugin --profile web remove dsh-continue-button
Implementation notes
- Client-only plugin (
dsh.client, platformweb); the host half is a no-opapply(). - Slot:
conversation.input.right(list, session-scoped) — the slot physically closest to the Send icon. - Send path:
ctx.sessions.scope(sessionId)→actx.get("conversation")→conversation.send("continue")(scoped-session prompt, modequeue, verbatim single text block; identical to typingcontinue+ Enter while the session is idle). - Show/hide:
useSession(s => s.running)anduseSession(s => s.blank)from the session snapshot. - Styles are self-contained (one idempotent
<style>node using the app's--dsw-*CSS variables, so light/dark themes follow automatically).
License
MIT