herdr terminal workspaces¶
herdr is a supported terminal workspace manager. Preloop can show where an agent session lives and whether its pane is working, idle, blocked at a native dialog, done, or closed. The adapter runs inside the existing local runner service and uses its authenticated inventory channel.
Enable observation¶
Install herdr and enroll a local runner, then opt in on that device:
preloop herdr enable --observe
preloop herdr status
preloop sessions list --wide
preloop sessions list --json
Observation is off by default. The runner checks snapshots on its normal
heartbeat, approximately every 15 seconds, and reports changed observations.
Protocol 22 is supported. An unknown protocol produces
herdr_protocol_unsupported once and disables observation until a supported
snapshot is available. A switch change is reported on the next heartbeat. If
the executable is missing or the snapshot fails then, the runner reports
snapshot_unavailable and retains the last observed pane locations.
The console session list and session page show one compact place and state chip. Use the workspace filter to narrow the session list. A confirmed closure shows the pane as closed even if its last turn was working. Pending approvals remain in the session record. An open blocked pane with no Preloop approval is waiting at a dialog in the terminal. Resolve that dialog locally.
To bring a session's pane to the front on this device:
The runner's device inventory also lists agent panes without a matching Preloop session. These unmanaged entries show harness, directory, and place. They have no transcript, and observing them does not create a session or enroll an agent.
Prompt permission¶
Observation does not grant permission to type into panes. Enable the separate local prompt switch on an observing device to permit the Talk adapter:
The server cannot enable this switch. Prompt delivery also requires an available Talk route, session authorization, and the device's fresh identity and state checks. A switch alone does not make a session reachable.
Open a linked session in the console and send a message through Talk. When a
sidecar owns the session, a follow-up is a prompt on that conversation. A
working terminal session can receive a note. For an idle session, Talk can use
an eligible herdr pane when a sidecar is unavailable. Each pane prompt uses the
existing operator command audit with delivery route herdr_pane.
Pane prompts must target the same native harness session in a fresh snapshot.
Only idle or done agents are eligible. Working agents receive ordinary operator
notes; blocked, replaced, missing, and shell panes refuse prompts. Native
permission and question dialogs must be handled locally. The adapter never
answers those dialogs or uses send-keys.
Prompts are limited to 16 KiB and control characters are removed. A timeout, stalled prompt, or lost result leaves delivery uncertain: check the session before sending another command. Device replay does not repeat an accepted prompt, even after a restart. Replies appear only through the existing governed session record, never through a terminal scrape.
Privacy and disabling¶
Only session identity, harness, directory, pane state, and terminal location metadata are reported. Titles and labels are bounded display strings. Preloop does not read or upload terminal output. Session location metadata follows the session's retention; governed replies remain in the normal session record.
Disable observation independently, or disable both permissions. The next runner report removes terminal locations without marking those sessions ended:
See Agent Control architecture for the delivery and security boundary.