jsoncode/dsh-single-terminal0

dsh-single-terminal

交互式终端抽屉双端插件:底部抽屉集成真实 PTY 终端(xterm.js),支持多标签页、Windows 终端选择器、停靠或悬浮模式,以及保持连接会话。

AI 分析

核心用途是在 DSH 界面内直接操作本地终端。适合需要在与 Agent 交互的同时,快速执行本地 Shell 命令或脚本的开发者。

包名
dsh-single-terminal
版本
0.1.3
最近更新
2026年9月3日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jsoncode/dsh-single-terminal

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 (powershell on Windows, $SHELL/bash on POSIX).
  • defaultCwd — start directory when there is no workspace context: home (default) starts in the user home; workspace is 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; command may be an absolute path or a name resolved through PATH (with PATHEXT on Windows).