tecfancy/dsh-dock-terminal
An in-place terminal popover for the DSH web client: one terminal per tab, docked under the composer, running on the host through node-pty.
Puts a real terminal where the work is, without leaving the conversation: a terminal:open dock button under the composer card expands a popover, and clicking again — or the close button — collapses it while the shells keep running. The distinction is deliberate: collapsing hides the panel, the tab × closes a shell for real. Each tab hosts one terminal, with a tab bar to open, switch and close shells, and keyboard input that is not valid JSON is written straight to the pty, so interactive programs behave as they do in a normal terminal. It publishes into the dock host's dockButtons registry and mounts into conversation.composer.dock, which is what keeps it inside the composer band rather than floating over the page, and its optional model-facing terminal tools are registered through the official seam rather than by patching the client.
Install
dsh plugin --profile web add @tecfancy/dsh-dock-terminalThe npm line. It needs a compatible dock host: the README requires dsh-dock-host >= 0.2.1 for the client service its button renders through (older hosts show it as a text glyph), and @deepseek-ai/cordis ^4.0.1 as a peer dependency. Node >= 22.19.0 and npm 10.9+.
Compatibility
The plugin is intentionally atomic — terminals only — and its architecture note says so: the shell runs on the dsh host through node-pty, the browser renders it with xterm.js over a WebSocket bridge, host and client are physically isolated (the host never uses JSX or React, the client never touches window or document directly). On Windows it resolves a shell and only falls back to cmd.exe when the preferred ones are absent; on POSIX it uses the POSIX default. No shellArgs are needed for an explicit shell, because the plugin only adds what that shell needs (-NoLogo on PowerShell). Tabs are capped per conversation by maxPerSession, three by default, with 0 meaning unlimited, and a fourth tab shows the cap banner instead of opening.
Details
- Repo: tecfancy/dsh-dock-terminal
- Category: Web UI Enhancements
- Stars: 0
- Version: 0.5.3 (npm)
Alternatives
wandymapn/dsh-bottom-terminal · btsd321/dsh-oh-my-terminal · ThraceShah/dsh-terminal-mobile