Skip to main content
F

dsh-quick-buttons

fukewang/dsh-quick-buttons

Adds one-click prompt and shell-command buttons that belong to a single conversation.

Install

dsh plugin --profile web add github:fukewang/dsh-quick-buttons

README

Quick buttons

One-click prompt and shell-command buttons that belong to a single conversation. The agent creates them; you click them; the result appears in a popup that closes itself.

The quick-buttons panel in a conversation

What it does

  • Per-conversation buttons. A button is stored with the conversation that created it and never appears in another conversation. A small floating pill (⚡ with the count) at the right edge opens the panel; the message composer is not resized or covered.
  • Prompt buttons send their saved instruction to the open session as an ordinary user message.
  • Bash buttons run their saved shell command in the open session's working directory through the Harness shell executor, with a per-button timeout (30 seconds by default). A command row shows the exact command and marks itself with $.
  • Results appear in a toast at the bottom right: commands show a live running state, then the exit state, duration and output tail; the toast dismisses itself after about 15 seconds (hover or focus pauses it). Nothing is added to the conversation log.
  • You delete the button from the panel's ×, with an inline confirmation naming the button.

The agent tool is quick_buttons with create, list, update, and delete actions. Buttons created by a subagent belong to the parent conversation at the root of the agent tree.

Install

dsh plugin --profile web add dsh-quick-buttons

Or install it from the Plugins page. Requires the DSH Web GUI (the tool also works headless, without the floating panel).

Notes

  • The HTTP routes require the authenticated Web GUI session, so another local process cannot trigger a stored command.
  • Command output is shown in the page only; the model does not see it.
  • Bash buttons are fire-and-forget: no interactive stdin, no cancel, no long-running daemons. The timeout is the stop.

License

MIT. See LICENSE.

Related plugins