DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@dsh-xhl/dsh-plugin-terminal

Plugin Terminal

DeepSeek Harness Web GUI 的底部终端面板插件(由 node-pty 驱动,在 Windows 上通过 ConPTY 工作)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @dsh-xhl/dsh-plugin-terminal@0.2.9
README兼容性版本

兼容性与来源证明

Plugin Terminal 以 @dsh-xhl/dsh-plugin-terminal 发布,当前版本为 0.2.9。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/5

版本

0.2.9stable
2026/9/29
0.2.8stable
2026/9/17
0.2.7stable
2026/9/5
查看其余 8 个版本收起版本
0.2.6stable
2026/9/5
0.2.5stable
2026/9/5
0.2.4stable
2026/9/4
0.2.3stable
2026/9/4
0.2.2stable
2026/9/4
0.2.1stable
2026/9/4
0.2.0stable
2026/9/3
0.1.12stable
2026/8/24

相关插件

正在加载相关插件…

最新版
0.2.9
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
1.1 MB
文件数
14
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
25
最近提交
2026/9/5
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

@dsh-xhl/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-xhl/dsh-plugin-terminal && dsh web

Note: this is a DSH (DeepSeek Harness) plugin — do not use plain npm i @dsh-xhl/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.

DSH compatibility. DSH 0.2.x reshaped @deepseek-ai/dsh-settings: the register() / get() / watch() trio is gone, and the service now owns schema projection itself (describe() / update() / replace() / mutate()), keyed by profile entry id. This plugin detects which shape is present and registers its form only where that API exists. On 0.2.x the settings form is therefore the plugin's own Config, and the two fields below are configured through the profile patch (cordis.patch.yml) or the environment variables below. The terminal itself — PTY sessions, WebSocket routes, and the panel — never depends on the settings service, so it works on both. The peer range is declared as >=0.1.2-rc.1 <0.3.0 accordingly.

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
  • Volta's injected tool-image dirs are stripped from the child PATH, so node/npm/pnpm inside the terminal switch per project (package.json "volta", .node-version) instead of staying pinned to the Node version the dsh host itself runs under
  • 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