Attach the phone to the machine's herdr - #117
Draft
frahlg wants to merge 3 commits into
Draft
Conversation
herdr 0.9.0 orchestrates machines in one TUI over SSH and still has no phone client. Re-measure observe/control on 0.9.0, specify the existing PWA as an agent inbox across paired machines, and keep the engine seam as the prerequisite rather than painting herdr into xterm. Co-authored-by: Fredrik Ahlgren <[email protected]>
mir up --engine herdr launches the user's existing herdr session (no private socket), persists the engine, and tells the PWA via HELLO so the tmux window strip stays hidden. Missing herdr refuses instead of falling back to tmux. The mobile keybar gains Prefix (^B). Co-authored-by: Fredrik Ahlgren <[email protected]>
Empty HELLO payloads must not clone the session machine, so a later rename cannot look like an engine change. Co-authored-by: Fredrik Ahlgren <[email protected]>
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.
Fredrik’s product ask: run every herdr from the phone. This slice is that path on the PWA we already ship, not an agent inbox.
On each box:
mir up --engine herdr(installs herdr if needed, pair as today). On the phone: open Miranda, tap the machine, land in that machine’s herdr — the same session as the desktop TUI.What landed
--engine herdr(persisted inconfig.json;--engine+--shellis an error)herdr.dev/latest.jsoninto~/.local/binHERDR_SOCKET_PATH— that would mint a second empty session)engine: herdrso the SPA hides the tmux window strip (the +/‹/› fallback is a lie on herdr)^B(Ctrl-B, shared by herdr and tmux)mir upnotice: strip andmir sharestay tmux-onlymir doctorwarns about a missing herdr only on machines set to that engineInbox, pane observe/control, and the Engine interface extract stay later. Miranda’s paired-machine list is the multi-machine layer; we do not implement
herdr machine add.Tests
cd go && go test ./...— passcd web && npm test— 171/171 passgofmt -l .empty,go vet ./...clean