dsh-tui
开发工具 活跃维护

dsh-tui

riesbri/dsh-tui

轻量级终端交互工具,依托零依赖渲染器实现进程内大模型调用能力,无需额外安装依赖即可在终端快速发起交互请求,操作简洁适配开发调试场景。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
3
Open Issues
TypeScript
主要语言
MIT
开源协议
781 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:riesbri/dsh-tui
git clone https://github.com/riesbri/dsh-tui.git
git clone git@github.com:riesbri/dsh-tui.git
README.md main

dsh-tui: a terminal-native frontend for DeepSeek Harness. Harness plugins flow through capability contracts into native terminal UI.

dsh-tui

The terminal-native frontend for the DeepSeek Harness plugin ecosystem.

npm
CI
OpenSSF Scorecard
license

Install

dsh plugin --profile tui add @riesbri/dsh-tui
dsh --profile tui

See Install for requirements, verification, the dshtui launcher, and source installs.

[!WARNING]
Tool permissions and sandbox policy come from the active Harness profile. In a standard setup, ordinary tool calls can run in the working folder without review. Read Permissions and the sandbox before using it on code you care about.

Why dsh-tui?

Harness plugins publish capabilities; dsh-tui presents supported capabilities natively in the terminal. It runs in-process and consumes Harness contracts rather than creating separate provider runtimes, state stores, or policy.

Harness plugin → standard capability → dsh-tui presentation adapter → native terminal UI

Harness owns capabilities, state, runtime, persistence, and policy. dsh-tui owns terminal presentation.

Capability flow from DeepSeek Harness plugins through standard capability surfaces and dsh-tui adapters to a native terminal UI with real scrollback.

Generic capability integration

dsh-tui prefers standard Harness capability surfaces over provider-specific implementations. This boundary guides both current presentations and future work, from Work and session projections to the ctx.sessionQuery session browser, the /connect provider browser over ctx.llm, ctx.settings, ctx.credentials, and ctx.authorization, and on to planned attachments, instead of becoming a collection of separate engines.

It ships no provider list and no login protocol: /connect offers whatever the mounted adapters declare configurable and runs whatever flows Harness has registered, so the same providers are reachable from the terminal and from the official web Models page, over one settings document and one credential store.

See Architecture for the capability model and current adapter boundaries.

Native terminal by design

Finished output is committed to real terminal scrollback and never rewritten. Normal scrolling, selection, and copying keep working while dsh-tui redraws only a bounded live region. The Harness-independent renderer stays small, dependency-light, and focused on terminal correctness: widths, Unicode, escaping, keys, and safe redraws.

See Design for the terminal invariants and Comparison for the trade-offs.

Use and contribute

Type / to discover the commands and capabilities available in the active Harness profile. Usage covers keys, sessions, commands, and permission guidance.

Contributions are welcome, especially generic capability adapters, terminal robustness, cross-platform verification, Unicode/CJK correctness, sessions, attachments, and focused UX improvements. Start with CONTRIBUTING.md, then read AGENTS.md and the canonical Roadmap.

Documentation

License

MIT. Not affiliated with or endorsed by DeepSeek.