HuanLinOTO/dsh-plugin-sidebar-terminal-tools ↗★ 0
@huanlin/dsh-plugin-sidebar-terminal-tools
DSH plugin bridging the official sidebar terminal stack to the model: sidebar_terminal_open/send/read/wait_for/close/list drive ctx.terminalController, terminals auto-appear as native sidebar tabs, and the user can take over at any time. 适合需要让 Agent 自动驱动终端执行任务,同时保留随时手动接管权限的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-sidebar-terminal-tools配置 / Configuration
在 DSH GUI 设置页或 cordis.patch.yml 中配置(host half):
| 字段 | 默认 | 说明 |
|---|---|---|
transcriptLines | 5000 | 每终端保留转录行数 |
transcriptBytes | 1048576 | 每终端保留转录字节上限(1 MiB) |
defaultTimeoutMs | 10000 | wait_for 缺省超时 |
minTimeoutMs / maxTimeoutMs | 100 / 600000 | wait_for 超时钳制边界 |
pollIntervalMs | 150 | wait_for 轮询间隔 |
tailLines / maxLineTextChars / maxTailBytes | 30 / 1000 / 8192 | wait_for 摘录边界 |
maxMessageChars | 2000 | 用户接管提醒的长度上限 |
Client half(web 客户端配置层)可配 pollIntervalMs(侧栏自动打开的轮询间隔,默认 3000ms,最小 250ms)。