dash-tui
DASH — Deepseek Agentic Service Harness. oh-my-pi style TUI on the DSH agent kernel, run in the terminal via `dsh --profile dash`.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:songqikong/dash说明文档
阅读完整 README ↗DASH — Deepseek Agentic Service Harness (terminal edition)
oh-my-pi 的 TUI 使用逻辑 + DeepSeek Harness 的完整 agent 内核,跑在终端里。
像 dsh-cc-tui 一样通过官方
dsh CLI 以 profile 方式启动,但按键与界面遵循 oh-my-pi 的习惯。
内核完全是 DSH:插件通过官方工厂 ctx.agents.create() 创建真实 Agent,
agent.followup() 驱动回合、agent.cancel() 中断、session/event 事件流
渲染流式输出 —— 工具调用、思考、会话持久化、compaction 全部走 DSH 官方服务。
UI 是零依赖的 raw-ANSI 终端渲染(无 React/Ink),整个插件只有一个
index.js。
安装
前置:官方 dsh CLI(npm install -g @deepseek-ai/dsh)。
git clone https://github.com/songqikong/dash.git
cd dash
sh install.sh # 创建 ~/.dsh/profiles/dash + ~/.local/bin/dash
dash # 启动(等价于 dsh --profile dash)
本地开发:改完 index.js 等源码后重跑 sh install.sh 生效(会复制进
~/.dsh/profiles/dash/node_modules/dash-tui/)。
按键(oh-my-pi 习惯)
| 键 | 行为 |
|---|---|
Enter | 发送(流式中排队为后续消息) |
Ctrl+Enter / Ctrl+Q | 排队后续消息 |
Esc / Ctrl+C | 中断生成(空闲时 Ctrl+C 退出,Esc 需确认) |
Ctrl+P / Alt+P | 循环切换模型 |
Alt+M | 模型选择器(j/k 移动 · Tab 切栏 · Enter 选中) |
Alt+R | 重发上一条指令 |
Ctrl+R / ↑ | 输入历史 |
Ctrl+N | 新会话(/new) |
Ctrl+T | 显隐思考过程 |
Ctrl+O | 工具参数展开/折叠 |
Ctrl+L | 重置显示 |
PgUp/PgDn · Alt+↑/↓ | 滚动历史 |
| `/help /clear /models /new /exit /model | |
| / /status` | 斜杠命令 |
/plan /goal /compact 等 |