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 自动驱动终端执行任务,同时保留随时手动接管权限的用户。

패키지
@huanlin/dsh-plugin-sidebar-terminal-tools
호환성
미검증
Harness peer 범위
^0.2.0-rc.1
Cordis peer 범위
^4.0.1
버전
0.1.0
라이선스
NOASSERTION
최근 업데이트
2026. 9. 30.

설치

$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):

字段默认说明
transcriptLines5000每终端保留转录行数
transcriptBytes1048576每终端保留转录字节上限(1 MiB)
defaultTimeoutMs10000wait_for 缺省超时
minTimeoutMs / maxTimeoutMs100 / 600000wait_for 超时钳制边界
pollIntervalMs150wait_for 轮询间隔
tailLines / maxLineTextChars / maxTailBytes30 / 1000 / 8192wait_for 摘录边界
maxMessageChars2000用户接管提醒的长度上限

Client half(web 客户端配置层)可配 pollIntervalMs(侧栏自动打开的轮询间隔,默认 3000ms,最小 250ms)。