iamsee123/dsh-web-terminal

iamsee123★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

README 摘要

dsh-web-terminal A local terminal plugin for the DeepSeek Harness web GUI. Adds a sidebar Terminal entry with a multi-tab xterm.js panel; every tab runs a real PTY shell on the host process via node-pty, streamed over a WebSocket route. Features: - Real pseudo-terminal shells — interactive programs ( vim , top , htop ), Ctrl-C, resize all work - Multi-tab terminal panel with new / close / disconnect / reconnect / clear controls - Auto-fit on panel open, window resize, and container changes - Shell and working directory configurable (settings panel or patch yaml) - Loopback-only trust fence on every route - Hot-pluggable: no dsh source changes, mounts through the web profile bundle list (same dual-face plugin pattern as dsh-ssh) Architecture Half Entry Responsibility host (node) lib/index.js ( src/index.ts ) node-pty shell sessions, /api/dsh-terminal/info route, /api/dsh-terminal/terminal WebSocket upgrade, system-prompt announcement, settings namespace (shell/cwd) client (browser) lib/client.js ( src/client/index.ts ) sidebar Terminal entry (DOM injection, self-healing), multi-tab terminal panel (React + xterm.js) Wire protocol ( src/protocol.ts ): - client → host: {type:"input",da…

在 GitHub 查看完整 README →
终端/TUIdeepseek-harnessdshdsh-plugindsh-pluginsterminalsidebar

分类