dsh-TUI: Terminal Interface for DeepSeek Harness

DeepSeek Harness head Cui Tianyi recommends dsh-TUI, a terminal UI plugin that adds streaming reasoning, context tracking, and session management to DSH.

cpaua3 min2
dsh-TUI: Terminal Interface for DeepSeek Harness

Cui Tianyi, the head of DeepSeek Harness, recommends dsh-TUI, a terminal user interface plugin for DeepSeek Harness (DSH). Developed since the closed testing phase, the tool provides a full-screen terminal experience similar to Claude Code, enabling users to manage AI agents and coding sessions with high performance and low overhead.

Visuals and Real-time Monitoring

The interface includes a pixel-whale header and a live state dashboard. Users can monitor streaming reasoning, agent work status, and a TPS gauge for generation speed. A context progress bar tracks backend occupancy, using colors to estimate content composition, while a separate meter shows cache hit rates and session cost estimates for both main agents and subagents.

For data visualization, dsh-TUI renders Mermaid diagrams as Unicode diagrams and supports LaTeX math formulas. Block and one-row inline formulas are typeset as terminal images on graphics-capable terminals. Image files referenced via @path follow the same resize and conversion policies as pasted images, with support for Kitty and Sixel thumbnails.

Session Control and Navigation

The plugin introduces a timeline rail where every turn is clickable, alongside a session manager accessible via commands like /resume, /home, /agentview, and /bg. Users can perform a "time rewind" to return a session to a previous step by pressing Esc twice. The workflow supports model hot-switching, session forking, and a fullscreen draft editor.

A side panel, toggled with Ctrl+B, allows the chat to be split into columns. This area contains eight built-in panels, including a todo panel that retains goal history. To keep the workspace clean, the prompt footer hides completed goals once the turn is idle, though these remain visible in the todo side panel.

System Integration and Notifications

dsh-TUI integrates with DSH presets, skills, MCP, and subagents. It handles account sign-in through pi-ai OAuth for services like ChatGPT, Codex, Claude, and Grok, or via DeepSeek browser sign-in for DSH 0.2.0-rc.1+. The tool also provides a VS Code selection channel that sends highlighted text directly to the prompt.

The notification system covers task completion, tool approvals, questions, and plan reviews. Depending on the terminal, notifications are delivered via OSC 777 on Ghostty/WezTerm, OSC 99 on Kitty, or as native system toasts on local Windows. These settings can be adjusted in the /settings menu under Conversation.

Installation and Setup

The plugin is written in TypeScript and distributed via npm. It functions as an app with its own entry point, loading DSH as a first-party backend without modifying the DSH core. This ensures that uninstalling the plugin leaves no patches behind.

To install dsh-TUI and the necessary harness, use the following command:

bash
npm i -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui

After installation, the interface is launched using:

bash
dsh-tui

First-time users are guided through a four-step wizard covering accounts, language, themes, and workspaces. This setup can be re-run at any time using the /setup command. For those looking to optimize their workflow, this tool complements other DeepSeek Harness plugins designed for context management.

Sources

x.com — content not available without authorization

ccch1mneyyy/dsh-TUIgithub.com/ccch1mneyyy/dsh-TUI
Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.