AI Agent Hub
Back to plugins
🖥️

dsh-opencode-tui

Client Updated 2026.08.24

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