DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-plugin-terminal

s

dsh-plugin-terminal

Manifest valid★ 7

Bottom multi-tab terminal panel (node-pty + xterm.js) pinned to the viewport bottom, always below the input box.

UI (client)hasBundlePatch

dsh-plugin-terminal

Bottom terminal panel for the DeepSeek Harness (DSH) Web GUI — an interactive multi-tab shell pinned to the bottom of the page (ConPTY on Windows, openpty on Linux/macOS).

中文 · MIT

Install

dsh plugin --profile web add dsh-plugin-terminal && dsh web

Note: this is a DSH (DeepSeek Harness) plugin — do not use plain npm i dsh-plugin-terminal; it must be installed through dsh plugin to activate.

Screenshots

CollapsedExpandedMulti-tab
collapsedpanelmultitab

Features

  • Bottom panel pinned to the viewport, aligned with the conversation column; the input box always stays above the terminal
  • Configurable shortcut toggles (default Ctrl+``, e.g. Ctrl+J`); drag the top grip to resize (120px–78% viewport, remembered)
  • Multi-tab: + new, ✕ close, ⟳ restart; processes keep running on tab switch; live sessions restore after refresh or workspace switch
  • Every terminal remembers its working directory: new tabs start in the current DSH workspace; after a dsh web restart, ⟳ brings the process back in its original directory instead of the server launch directory
  • Terminals survive dsh web restarts: session metadata + scrollback are persisted live to $DSH_HOME/plugin-data/terminal/; after a restart they come back as "exited" history tabs (full screen replay, one-click restart of the process); tabs you closed stay closed
  • xterm.js 6: colors, blinking cursor, alternate screen, Unicode v11 (CJK width tables), 10000-line scrollback
  • WebSocket duplex channel to the PTY; dark terminal surface in both light and dark themes
  • Copy/paste: select with the mouse and release to copy, right-click to paste; Ctrl+V pastes, Ctrl+Shift+C / Ctrl+Shift+V copy/paste when the clipboard API is available
    • ⚠️ When the GUI is opened over remote http (not https / not localhost) browsers disable navigator.clipboard (insecure context) - the plugin falls back to execCommand copy and lets the browser's native context-menu Paste through, so both still work

Configuration

Plugin behavior lives in the DSH settings document ($DSH_HOME/settings.yaml, section terminal), editable from the GUI at Settings → Plugins. Changes apply to sessions created afterwards — no restart needed; tabs that already exist keep the command they started with.

FieldDefaultMeaning
toggleShortcut`ctrl+``Keyboard shortcut toggling the bottom panel. Format: `[ctrl
shellCommand(empty — auto-detect)Command line used to start new terminal sessions. Empty means the platform default (pwsh/powershell/cmd on Windows, $SHELL on POSIX).

Example — launch cmder on Windows and bind the panel to Ctrl+J:

terminal:
  toggleShortcut: ctrl+j
  shellCommand: cmd.exe /k "C:\cmder\vendor\init.bat"

Notes:

  • shellCommand is used verbatim (no flags are injected): the command line is split on spaces with double quotes honored, so quoted paths work.
  • If the shortcut is a key the terminal also consumes (Ctrl+J is the shell's line feed), a press while a terminal pane has focus goes to the shell instead of toggling the panel.
  • Operator override: the environment variables DSH_PLUGIN_TERMINAL_TOGGLE_SHORTCUT and DSH_PLUGIN_TERMINAL_SHELL_COMMAND take precedence over the settings document (and are the only way to configure headless compositions without the settings service).

Running codex / claude code in the panel

These AI coding CLIs are full-screen TUIs (ANSI escapes + alternate screen + truecolor) and demand a lot from the terminal link. The plugin is tuned for them:

  • Child env gets TERM=xterm-256color and COLORTERM=truecolor (when unset), plus LANG/LC_ALL=en_US.UTF-8 and PYTHONIOENCODING=utf-8 on non-Windows, preventing 256-color fallback and CJK mojibake
  • xterm.js 6 answers OSC 10/11/12 queries out of the box (Codex theme detection via background-color query just works)
  • unicodeVersion "11" keeps mixed CN/EN output aligned; drawBoldTextInBrightColors: false keeps true colors on bold text; CJK fallbacks in the font stack; 10000-line scrollback (500k-char server ring buffer)

If rendering still misbehaves:

  • Claude Code: run /tui fullscreen in the session (or CLAUDE_CODE_NO_FLICKER=1 claude) to switch to the flicker-free fullscreen renderer; /tui default reverts
  • Inside tmux: make sure TERM=tmux-256color and tmux >= 3.4, add set -ga terminal-overrides ',xterm-256color:RGB' if needed
  • Windows mojibake: use Windows Terminal, chcp 65001, enable the "Beta: Use Unicode UTF-8" system option; fall back to WSL if it persists
  • Update the CLI: most rendering bugs are regressions already fixed in newer versions

License

MIT

Compatibility

DSH 0.2.0-rc.2: failedDSH 0.2.1-rc.1: failedDSH 0.2.1-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.1.12——
0.2.0——
0.1.11——
0.1.13——
0.1.3——
0.1.9——

Comments

Loading…

Similar plugins

dsh-oh-my-terminal

Bottom terminal panel for the DSH Web GUI, providing multi-tab interactive terminals powered by node-pty (Windows ConPTY / POSIX openpty) with split panes, a side terminal list, and a dropdown new/spl

UI & ExperienceTerminal & ClientsManifest valid

★ 1

Apache-2.0

JavaScript

dsh plugin --profile web add dsh-oh-my-terminal

by emircanerkul

Workspace-aware web terminal plugin for the DeepSeek Harness (dsh). Runs a streaming PTY terminal at /terminal and embeds a split-pane terminal dock powered by xterm.js.

Manifest valid

★ 0

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add dsh-terminal

by giiiiiithub

Real PTY terminal panel for the DSH Web UI: host half spawns shells with node-pty (cmd.exe default on Windows), rendered in the browser with xterm.js; multi-tab sessions, dock/floating window, clipboa

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 122/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-terminal

by yangbobo2021

Provider-neutral interactive terminal bottom-view plugin for DeepSeek Harness Workbench.

Manifest valid

★ 0

MIT

JavaScript

Sep 3, 2026

dsh plugin --profile web add relay-dsh-plugin-terminal

by whiteS18

Embedded terminal for DeepSeek Harness: opens an in-app terminal panel in the right sidebar (DockKit) or bottom composer dock, with PSReadLine geometry protection and full theme sync.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-terminal-button

by EasyTZ

终端面板:在当前工作区敲命令、看实时输出,多标签页、Tab 补全、Ctrl+C 中断。Terminal panel for DeepSeek Harness: run commands with streaming output, tabs, completion.

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 5, 2026

dsh plugin --profile web add @easytz/dsh-terminal-panel