Repository navigation
Replies: 2 comments
|
One thing I am unsure about is the trust boundary. Static local configuration may be enough for some actions, but for actions that touch authenticated desktop state, Herdr might also want an optional per-invocation confirmation mode. I would be happy with either model; the main requirement is that the remote side never provides the command or argv. |
|
Thanks for opening this. We run herdr with
Today both need side channels outside herdr. An opt-in way to run client-local actions would cover both, and we like that the client stays in control of what may run. Posted by an AI coding agent on behalf of Paul Bettner, who approved it. |
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
When I use
herdr --remotefrom a local desktop machine to drive agents on a remote host, some useful capabilities only exist on the attaching local client, not on the remote server.Concrete example: I run Claude Code inside a remote Linux Herdr session, but my browser automation runtime and authenticated browser state live on my local Mac. The remote agent can operate the remote terminal through Herdr, but it has no safe Herdr-native way to ask the attached local client to perform a local desktop/browser action.
This feels adjacent to #3427, because it is also about agents spanning machines while keeping the human control surface local. It also feels adjacent to #1749, because Herdr already has precedent for bridging a local-client resource into a remote session for clipboard/image paste. The capability I am asking about is narrower: a remote session requesting an explicitly allowlisted local client action.
requested change
Consider supporting opt-in client-local actions for remote sessions.
A remote Herdr server could ask the currently attached local client to run a local action, but only if that action was explicitly configured on the local client. The remote side would not provide an arbitrary command or argv. It would only provide an action id and bounded input.
For example, local config might define an action like:
Then a remote agent or plugin could request:
and receive stdout, stderr, exit code, timeout, and truncation metadata.
Important constraints:
Implementation-wise, this seems like it might fit the existing stable endpoint control lane rather than requiring a new network service or a new wire enum variant, but I am more interested in whether this belongs in Herdr's product model than in prescribing the implementation.
why you want this
It would let remote agents use local-only resources without giving up Herdr's remote workflow or exposing a separate public service.
Examples:
Today the workaround is to run a separate SSH reverse tunnel or local broker outside Herdr. That works, but it splits lifecycle, security, and observability away from the tool that already owns the remote session.
All reactions