deepseek-harness-tui
DeepSeek Harness 的终端用户界面(TUI)插件:一个受 opencode 启发的命令行聊天客户端,作为 dsh profile 应用插件启动。
AI 分析
核心用途是为 DSH 用户提供复古且高效的终端聊天面板。适合终端爱好者,支持通过命令行参数直接指定模型、服务商或恢复特定会话,并提供丰富的快捷键支持。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:rayafriandion/dsh-oclike說明文件
閱讀完整 README ↗Usage
| Flag | Effect |
|---|---|
--resume | Resume a persisted session by id. |
--model | Default model id for new sessions. |
| `--provider | |
| ` | Default provider route for new sessions. |
--sidebar / --no-sidebar | Show (default) or hide the session sidebar. |
--help | Print the TUI's own flag help. |
Keybindings
| Key | Action |
|---|---|
| Enter | send message |
| Ctrl+Enter / Shift+Enter / Alt+Enter | insert a newline |
| Ctrl+C | clear a non-empty prompt, cancel a running turn, or press twice while idle to exit |
| Ctrl+P | open the settings menu |
| Ctrl+E | toggle the thinking slider below the input box |
| Tab | cycle the thinking intensity (session page); switch the settings left menu (settings page) |
| Ctrl+N | new session |
| Ctrl+D | delete the focused session in Settings → Manage sessions |
| Ctrl+L | clear the transcript view |
| Up / Down | move the caret across multi-line input; on the first/last row they step through input history |
| Left / Right | move the caret left/right in the input box |
| PgUp / PgDn | scroll the transcript |
| Esc | close the context-meter panel / thinking slider / help, or cancel an approval prompt |
| y / n | answer an inline approval prompt |
Mouse: the wheel scrolls the transcript (or the settings window when Settings is open — it no longer moves the settings focus). Hold the left button and drag across the transcript to select text, then press the right button to copy the selection to the clipboard.
Commands
/help /settings /new /resume /model /provider /clear /cancel /quit
Harness human commands (/compact, /goal, ...) are forwarded to ctx.commands and run without a model turn.