Repository navigation
docs: route lilbox keybindings over Mirror with remote-invoke - #124
Merged
Merged
Conversation
herdr-mirror v0.2.0 ships `remote-invoke`, which forwards any plugin action to the mirrored host behind the focused pane. That removes the gap the "Driving it over Herdr Mirror" section documented since #100: a locally-bound key can now open a box on the remote host directly. Lead with the remote-invoke flow (bound as a `shell` command, since `plugin_action` can't carry the action argument, plus the `remote-actions` / `bind` / `unbind` helpers), gated on herdr-mirror >= v0.2.0, and keep the mirrored-remote-pane and `herdr --remote --remote-keybindings server` routes as fallbacks for older versions. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WVWQzi2PPmxfNpC5ef6KWx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The herdr plugin README's "Driving it over Herdr Mirror" section said a
plugin_actionkeybinding can't reach a remote box under Mirror — true for stock herdr-mirror, and the reason #100 documented the remote-pane workaround. That's no longer the case.herdr-mirror v0.2.0 ships
remote-invoke, which forwards any plugin action to the mirrored host behind the focused pane, handing it that pane's remote workspace and cwd (nikok6/herdr-mirror#28, plus nikok6's follow-ups #33/#34/#35 for the CLI link, failure toasts, and thebind/unbind/remote-actionshelpers).Changes
remote-invokeflow, gated on herdr-mirror ≥ v0.2.0.shellcommand with the absolute~/.local/bin/herdr-mirrorpath —plugin_actioncan't carry the action argument, and herdr runs shell bindings through a loginshthat never reads your shell rc.herdr-mirror remote-actions/bind/unbindroute as the no-hand-editing alternative.remote-invokefalls back to the local herdr, which for lilbox is the machine that deliberately has no plugin — so expect a toast, not a box.herdr --remote --remote-keybindings serverroutes as fallbacks, now labelled as the only options on herdr-mirror < 0.2.0.Docs only — no code touched,
worktree.removedteardown note unchanged.🤖 Generated with Claude Code