dsh-herdr-site: Enabling Herdr to Detect DSH Panel Status

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

  1. Status Reporting: Converts the dsh agent’s status into a format recognizable by Herdr.
  2. Status Mapping:
    • agent/status = running (currently running a conversation turn) -> working
    • agent/status = idle (no active drive) -> idle
    • ask_user_question pending (model waiting for input) -> blocked
  3. Interaction Enhancement: Supports Herdr’s pane jumping and --wait functionality.
  4. Custom Messages: Supports configuring blockMessage to display specific reasons when in the blocked state.

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-agent interfaces.
  • DSH Profile: Applicable to cc-tui and dsh-tui profiles.
  • 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-tui profile does not support the ask_user_question tool; therefore, the blocked state will not be triggered under this profile. It only supports working and idle.
  • Dependency Note: Only schemastery is 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

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye