Preface¶
Herdr is a terminal workspace manager for AI coding agents. It only recognizes agents discovered by built-in detectors (such as opencode, claude, codex, etc.). Since dsh/cc-tui is not in Herdr’s default list, panels using dsh appear as ordinary terminal processes in Herdr, lacking status display, pane jumping, or support for the --wait parameter.
The dsh-herdr-site plugin solves the above issues by reporting the status of the dsh agent to Herdr via Herdr’s custom-integration protocol.
Plugin Overview¶
Maintained by WuJiaoJue and licensed under MIT, this plugin primarily addresses the issue of DSH panels becoming “disconnected” within Herdr. By integrating protocols, it allows Herdr to perceive the actual running status of the agent.
Core Features¶
- Status Reporting: Converts the dsh agent’s status into a format recognizable by Herdr.
- Status Mapping:
agent/status = running(currently running a conversation turn) ->workingagent/status = idle(no active drive) ->idleask_user_questionpending (model waiting for input) ->blocked
- Interaction Enhancement: Supports Herdr’s pane jumping and
--waitfunctionality. - Custom Messages: Supports configuring
blockMessageto display specific reasons when in theblockedstate.
Installation and Activation¶
Before installation, ensure that DeepSeek Harness (DSH) is installed and a dsh-cc-tui or dsh-base profile is configured.
Use the official installation command (recommended, includes pre-built packages):
dsh plugin --profile cc-tui add dsh-herdr-site
Alternatively, install from GitHub:
dsh plugin --profile cc-tui add github:WuJiaoJue/dsh-herdr-site
Upon completion of the installation, the plugin is automatically added to the bundle layer stack of the profile via dsh.bundle.patch.
Configuration¶
The plugin supports displaying prompt information when the agent is in the blocked state through the blockMessage configuration item. This configuration must be written in the profile’s cordis.patch.yml:
- id: herdr-site
config:
blockMessage: 'Model is waiting for your answer'
Compatibility and Limitations¶
- Herdr Version: Requires Herdr v0.8.0 or higher, with implementation of the
pane report-agent/pane release-agentinterfaces. - DSH Profile: Applicable to
cc-tuianddsh-tuiprofiles. - Kernel Version: Strictly limited to one of the following versions; caret ranges are not used to avoid version conflicts:
- 0.1.0-rc.6
- 0.1.1-rc.2
- 0.1.2-rc.1
- 0.2.0-rc.2
- dsh-tui Limitation: The
dsh-tuiprofile does not support theask_user_questiontool; therefore, theblockedstate will not be triggered under this profile. It only supportsworkingandidle. - Dependency Note: Only
schemasteryis a runtime dependency; others are type dependencies.
Summary¶
dsh-herdr-site acts as a bridge connecting DSH and Herdr. It achieves status synchronization and restores interactive functionalities via standard protocols. For developers who require Herdr to manage all their AI agents, this is an essential integration tool.
Plugin Details and Source Code: https://github.com/dsh-plugin-collection/dsh-herdr-site