jsoncode/dsh-single-terminal ↗★ 0
dsh-single-terminal
交互式终端抽屉双端插件:底部抽屉集成真实 PTY 终端(xterm.js),支持多标签页、Windows 终端选择器、停靠或悬浮模式,以及保持连接会话。
AI 分析
核心用途是在 DSH 界面内直接操作本地终端。适合需要在与 Agent 交互的同时,快速执行本地 Shell 命令或脚本的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jsoncode/dsh-single-terminal說明文件
閱讀完整 README ↗Configuration
Schemastery Config (renders on the host Plugins settings page), and / or the
profile cordis.patch.yml:
- insert:
- id: dsh-single-terminal
name: dsh-single-terminal
config:
defaultShell: powershell # powershell | pwsh | cmd | gitbash | wsl |
defaultCwd: home # home | workspace | absolute path
scrollbackLimit: 200000 # replay ring buffer, bytes per session
fontSize: 13
fontFamily: Consolas, "Cascadia Mono", "Courier New", monospace
customShells:
- id: nu
name: Nushell
command: nu # resolved through PATH
args: []
defaultShell— shell used by the+button; when unavailable it falls back (powershellon Windows,$SHELL/bashon POSIX).defaultCwd— start directory when there is no workspace context:home(default) starts in the user home;workspaceis reserved (currently resolves to home); an absolute path must exist. When the current session belongs to a workspace the workspace root takes precedence (see above).customShells— extra launchers;commandmay be an absolute path or a name resolved throughPATH(withPATHEXTon Windows).