fightingFirefox/dsh-web-terminal ↗★ 0
dsh-web-terminal
Visible terminal panel for the DeepSeek Harness web GUI: one persistent PTY per conversation with a real prompt, echo and exit codes; Claude-styled themes; optional live_terminal_* tools.
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fightingFirefox/dsh-web-terminal配置
覆盖位置:~/.dsh/profiles/web/cordis.patch.yml 的 dsh-web-terminal 行。
| 键 | 默认 | 说明 |
|---|---|---|
interceptShellTools | true | 是否拦截 agent 前台 shell 调用 |
autoCloseCommandDelayMs | 8000 | 成功结束后自动关闭延迟;-1 永不 |
autoCloseFailedDelayMs | 30000 | 失败/超时/中止后关闭延迟 |
autoCloseToolTerminals | true | live_terminal_run 终端是否同样自动关闭 |
historySize | 20 | 历史条数上限 |
historyPath | /.dsh/dsh-web-terminal/history.json | 历史文件路径;空串禁用 |
historyPersist | true | 是否落盘 |
shellPath | null | 交互 shell;null 表示依次探测 pwsh → powershell → cmd |
scrollback | 2000 | 单终端回滚行数 |
maxOutputBytes | 262144 | 单会话保留输出上限 |
maxSessions | 16 | 全局终端数上限 |
perSessionMaxSessions | 8 | 单 DSH 会话终端数上限 |
commandTimeoutMs | 180000 | live_terminal_run(wait:true) 默认超时 |
requireSandbox | false | true 时在非 danger-full-access 下拒绝接管 |
allowUnconfined | true | 是否允许未套 DSH 沙箱的 agent 终端 |
portDetection | true | 识别 loopback 端口并生成链接 |