Send new instructions to a running DSH task through Herdr

Send new instructions to a running DSH task through Herdr

If a DeepSeek Harness task needs another constraint while it is still working, another coding agent can now send it through Herdr. The bridge's November 11 commit history records support for steering running turns. Its current documentation says messages sent during work join the active turn, rather than serving only as a follow-up after completion.

Get the session into the terminal list first

dsh-herdr-bridge connects DSH Desktop or dsh web to Herdr Core. Each connected session becomes an hc terminal. Other agents can launch a task, send follow-ups, read replies, or take over a session originally opened in DSH. The connection also works in the other direction: DSH can start helper agents and receive their reports.

  1. Quit Desktop, then run dsh plugin --profile desktop add dsh-herdr-bridge. For the web service, stop it first and replace desktop with web in that command.
  2. Reopen DSH and send a message. A session appears in Herdr when it first runs; enter /herdr to connect one that has not run yet. Use hc ls to confirm the destination session's name.
  3. For a target named fix, run hc send --wait fix "Also cover the edge cases". If that session is working, the request enters its current turn. An agent issuing commands can read the hc instructions through hc --skill.

If a session is missing from the list, inspect the plugin log and whether DSH can find hc. If the terminal exists but is absent from the app, check the plugin's placement setting.

Approval answers travel across the connection too

You can answer an approval request in the DSH window or through hc. The first response wins and closes the other dialog. Unlike an ordinary follow-up message, answering a waiting session requires --force: hc send --force fix y allows once; replacing y with n rejects. The repository also makes the access boundary explicit: anything that can use your hc can drive a DSH session, and those messages reach the model as user messages. This is more than another status display.

Our recommendation is to start with a small, reversible task and check message delivery, reports, and approvals before leaving agents unattended. For instructions sent mid-task, verify the destination session as well. A functioning connection does not protect you from steering the wrong job.

Start with the tested setup

The repository lists DSH 0.2.2-rc.1 and hc 0.1.20 as tested versions, with hc on your login shell's PATH. These are tested versions, not stated minimum requirements. The project reports testing on macOS. Windows and Linux support is implemented but untested. Desktop and the web service cannot both connect to Herdr at once; whichever starts first gets the connection. DSH's changing plugin interfaces may also require a bridge update after an upgrade.

The bridge uses the MIT license, which is not a promise of free model usage. If you only need a terminal job to survive closing its window, Herdr Core itself already offers persistent terminals. Add the DSH bridge when you need delegation in both directions, not merely to keep a process alive.

Share this article