dsh-opencode-tui
Run the following command in DeepSeek Harness:
dsh plugin install LittleFishStars/dsh-opencode-tui
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install LittleFishStars/dsh-opencode-tui in your terminal to install; the source is available at https://github.com/LittleFishStars/dsh-opencode-tui .
About this plugin
DSH has long lacked a first-class terminal interface: the web console is great for configuration and review, but the daily coding loop still lives best in the terminal. dsh-opencode-tui solves this by slotting the native opencode TUI directly into DSH. Session lists, message streams, tool cards, thinking collapse, mouse interaction, and theming all come from the opencode UI, while agent orchestration, session storage, tool execution, and permission approval are fully driven by DSH, with each system doing what it does best.
Under the hood the plugin runs an opencode server protocol compatibility layer inside the dsh plugin process. It intercepts every REST request and SSE stream the TUI emits, maps both legacy paths and v2 /api/* endpoints onto DSH's agent and session models, and translates DSH session events into opencode events (message.updated, session.status, etc.) that drive real-time rendering of the message flow, thinking blocks, and tool cards. Approvals travel the v2 PermissionRequest event chain, and historical sessions are hydrated from DSH's persistent store so that reopening an old session and sending a new message resumes the original DSH conversation seamlessly.
This plugin is for developers who already orchestrate agents with DSH and want the opencode terminal experience without a separate server. It mounts with a single profile command, ships a trimmed-down build of the official opencode TUI rebranded as DSH, and feels indistinguishable from native opencode in day-to-day use.
Use Cases
- Drive DSH agents from the terminal via the opencode TUI for a complete daily coding and tool-call loop
- Review full context through TUI message streams and thinking collapse, with history hydrated and resumed from DSH
- Handle tool approvals and permission-mode switching in the terminal without switching to the web console
Best For
- Developers who already orchestrate agents with DSH and prefer a terminal-first workflow
- Engineers familiar with the opencode TUI who want to bridge it into the DSH ecosystem
- AI developers seeking a lightweight terminal interface for high-frequency agent conversations
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.