mingzhicode/dsh-interactive-terminal ↗★ 1

dsh-interactive-terminal

Interactive terminal plugin for DeepSeek Harness 在Web界面中集成交互式终端,适合需要在DSH环境中直接执行Bash命令的Linux或macOS用户。

パッケージ
dsh-interactive-terminal
互換性
未検証
Harness ピア範囲
^0.1.0-rc.8
Cordis ピア範囲
^4.0.2
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/18

インストール

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

ドキュメント

README 全文を読む ↗

Configuration

Add an override to ~/.dsh/profiles/web/cordis.patch.yml, or $DSH_HOME/profiles/web/cordis.patch.yml when using a custom home:

- id: dsh-interactive-terminal
  config:
    shellPath: /bin/bash
    shellArgs: [--noprofile, --norc, -i]
    rows: 40
    cols: 160

A patch replaces the row's entire config; include all custom values you want to retain. Omitted fields use the defaults below. Resetting the terminal creates a new shell and loses its in-memory state.

FieldDefaultMeaning
shellPath/bin/bashBash executable; other shells are rejected.
shellArgs--noprofile --norc -iInteractive-shell arguments; no empty arguments.
rows40Fixed PTY rows.
cols160Fixed PTY columns.
scrollbackLines10000Retained history lines, excluding the viewport.
scrollbackMaxBytes4194304UTF-8 limit for serialized ANSI history, excluding the viewport.
maxToolOutputBytes262144Complete tool-result JSON limit; at least 1024, no greater than scrollbackMaxBytes.
maxInputBytes65536Input bytes per model send or accepted human input lease.
maxQueuedOperations128Accepted mutations per Agent, including the active operation.
maxSessions32Maximum live Agent terminals.
pollIntervalMs50Delay after each foreground check before the next check.
operationTimeoutMs30000Model mutation deadline before interrupt recovery.
interruptTimeoutMs5000Controlled-prompt recovery deadline after SIGINT.
disconnectGraceMs15000Controller disconnect grace before human-input recovery.
disposeGraceMs3000Process-tree termination grace during reset or teardown.