huiliyi37/dsh-tianshu-tui

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

What it solves

Using an AI coding agent normally means juggling a messy terminal: raw text output, no way to see tool calls, no session management, and no visual feedback for images or diffs. This project builds a complete, polished terminal interface on top of the official DeepSeek Harness so you can chat with the agent, watch it work, and control it with keyboard shortcuts and slash commands — all without leaving the terminal.

How it works

It is a pure presentation layer plugin. It does not run its own agent loop, inject hidden prompts, or add tools to the model. Instead, it subscribes to the session event stream coming from DeepSeek Harness and renders every piece of state from those events — streaming Markdown, reasoning blocks, tool call groupings, diffs, token counts, and more. It includes a lightweight custom ANSI rendering engine and a full set of UI panels: session history (restore, fork, rewind, export), approval cards for tool actions, plan mode, task/subagent status, LSP diagnostics, project memory, MCP browsing, and a visual bridge that lets text-only models receive image descriptions. You interact through slash commands (/session, /model, /rerun, etc.), keyboard shortcuts (Ctrl+N new session, Ctrl+S restore, Ctrl+E edit, etc.), and optional Vim keybindings.

Who it's for

Developers who use DeepSeek Harness and want a richer, more productive terminal experience. It's especially useful for people who work in a terminal all day and need a fast, keyboard-driven way to manage AI coding sessions, review changes, and monitor agent activity. The README notes it requires Node.js >= 24.9.0, pnpm, and a specific version of DeepSeek Harness (the npm next channel).

Highlights

  • Full session workspace: create, switch, fork, rewind, and export sessions; queue tasks or redirect mid-turn with /steer
  • Rich visual feedback: streaming Markdown, collapsible reasoning, grouped parallel tool calls, structured diffs, and per-turn timing/token metrics
  • Image & vision support: paste and preview images inline, send them to vision models, or get automatic descriptions for text-only models via a vision bridge
  • Agent control panel: approve diffs, switch modes (normal/plan/always-approve), see goals, tasks, skills, subagents, and workflow status at a glance
  • 16 themes, LSP diagnostics, project memory, MCP browsing, and hot-switching models and reasoning effort

All features are grounded in the README; no extras were invented.

Related

  • Project
  • Project
  • Project
  • Project