sunny0826/dsh-plugin-herdr0

dsh-plugin-herdr

Herdr control-plane plugin for DeepSeek Harness (DSH): observe and drive Herdr — a terminal workspace manager for AI coding agents — from DSH sessions

包名
dsh-plugin-herdr
版本
0.1.0
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sunny0826/dsh-plugin-herdr

Configuration

KeyTypeDefaultDescription
socketPathstringherdr socket path (HERDR_SOCKET_PATH); POSIX only
sessionstringherdr session name (HERDR_SESSION)
timeoutMsnumber30000per-command timeout
allowBackgroundbooleanfalseexpose run_in_background on pane run
events.enabledbooleanfalsesubscribe to Herdr events
events.maxReconnectMsnumber30000event subscription reconnect cap
reportStatebooleantruereport DSH→Herdr state inside a pane (HERDR_ENV)
projectRootstringproject directory for server-side filtering; defaults to process.cwd()

Preset configuration (presets/herdr/agent.cordis.yml, herdr-session-mode):

KeyDefaultDescription
paneId''Fixed pane binding shared by all sessions; empty = every session creates its own dedicated workspace
label''Display label override; empty = auto `dsh:
(cwd basename, falls back todsh:`)
cwdWorkspace working directory; empty = the session's project directory

Output limits (CA-014):

  • Per-command output is capped at 1 MiB per stream; pane_read/pane_run report truncated: true when the cap is hit (the server-reported truncated flag is surfaced as-is).

Platform support: the plugin is POSIX-only — all control-plane interaction goes over the herdr Unix-domain socket (JSONL), and the panel's start button spawns herdr server from PATH as the single bootstrap exception. Windows (named pipe) is not supported: the plugin refuses to load without a resolvable socket path. Use POSIX (macOS/Linux).

Example patch (cordis.patch.yml):

- id: dsh-plugin-herdr-client
  name: dsh-plugin-herdr/client-entry
  config:
    timeoutMs: 15000
- id: dsh-plugin-herdr
  name: dsh-plugin-herdr
  config:
    timeoutMs: 15000