快速安装:
dsh plugin --profile tui add @tomowang/dsh-tui
dsh --profile tui
dsh --profile tui --resume # reopen a persisted session
dsh --profile tui --agent-preset # start a fresh session on a given preset
dsh --profile tui --dump-config # inspect the composed plugin tree
是什么
dsh-tui 是一个 out-of-tree 的 dsh bundle ,同时也是一个 Cordis 插件。原理上和官方 dsh-web-app / dsh-headless 一样,都是叠在 @deepseek-ai/dsh-base 之上,模型适配、工具调用、会话持久化、沙箱和审批策略这些全部留在 dsh-base 里没动,dsh-tui 只负责终端侧的输入和渲染,算是给 dsh 换了个「壳」。
功能
技术栈
TypeScript + Ink ( React 渲染终端 UI )+ Cordis ( dsh 底层的插件框架),MIT 协议。
预览

