siberiah2o/dsh-plugin-terminal 预览 preview

siberiah2o/dsh-plugin-terminal

Plugin插件 Native原生 ⭐ 7 MIT Dev Workflow开发与代码工作流

DeepSeek Harness(DSH Web GUI)的底部终端面板插件

Project Overview项目介绍

This is a native plugin built exclusively for the DeepSeek Harness (DSH) web GUI that adds an interactive multi-tab terminal panel pinned to the bottom of the viewport. It uses ConPTY on Windows systems and openpty on Linux and macOS to handle pseudoterminal connections, and links to the frontend xterm.js 6 terminal implementation via a WebSocket duplex channel. You cannot install this plugin with a plain npm install command; you must install it through the DSH CLI with the command dsh plugin --profile web add dsh-plugin-terminal to activate it properly after installation.

This plugin is built for developers who want to run terminal commands and AI coding CLIs directly inside the DSH interface without switching to an external terminal window. It comes with a default toggle shortcut of Ctrl+` to show or hide the panel, but users can reconfigure the shortcut to any valid key combination in the plugin settings. Users can drag the top grip of the panel to resize it between 120px and 78% of the viewport height, and the plugin remembers your preferred size across sessions. Multiple terminal tabs can be created, closed, or restarted, and running processes continue to execute even when you switch between open tabs.

All plugin configuration lives in the DSH settings.yaml file under the terminal section, and environment variable overrides are also available for headless deployments. The plugin is specifically tuned to work well with full-screen TUI AI coding CLIs like Claude Code and Codex, with built-in fixes for common issues like 256-color rendering and CJK character mojibake. It is released under the permissive open source MIT license, and if you access the DSH GUI over unsecure remote HTTP, the plugin automatically falls back to a working copy-paste method when the browser clipboard API is disabled by browser security rules.

这是一款专为 DeepSeek Harness (DSH) Web 界面开发的原生插件,为 DSH 添加了固定在页面底部的交互式多标签终端面板。它在 Windows 平台使用 ConPTY,在 Linux/macOS 平台使用 openpty,通过 WebSocket 双工通道对接前端的 xterm.js 6,支持色彩、Unicode 排版、万行回滚等完整终端功能。该插件不能通过普通 npm 安装,必须使用 DSH 的插件命令 dsh plugin --profile web add dsh-plugin-terminal 安装激活。

该插件面向需要在 DSH 界面中直接运行终端命令、启动 AI 编码 CLI 的开发者。默认使用 Ctrl+` 快捷键唤起/收起面板,也支持自定义快捷键,可拖拽顶部手柄调整面板大小,尺寸会被记忆。支持新建、关闭、重启标签页,切换标签页时进程保持运行,刷新或重启 DSH 后所有终端会话都能完整恢复。

插件配置通过 DSH 的 settings.yaml 文件管理,也支持环境变量覆盖配置,修改配置无需重启 DSH。针对 Claude Code、Codex 等全屏 TUI 类型 AI 编码 CLI 做了专门优化,可避免颜色乱码、排版错位问题。插件采用 MIT 许可开源,远程 HTTP 场景下浏览器剪贴板 API 不可用时,会自动降级到兼容方案。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 siberiah2o/dsh-plugin-terminal 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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

Collapsed Expanded Multi-tab
collapsed panel multitab

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

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev HDSL 下一个 Next SumSec-Skills →