Mixed-host tabs: tabs and splits from several daemons in one layout (M4 option a) #17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today a tab doesn't mix hosts (PLAN.md, M4: "Layout is per host; a tab doesn't mix hosts", decided 2026-10-01). Each daemon owns its own layout and the page switches between hosts. This milestone lets one screen hold tabs (and splits) whose terminals live on different daemons, for example a geek tab and a Mac tab side by side in one tab bar.
PLAN.md's deferred options:
hostnames another daemon. The client connects to each host directly for terminal bytes (the home daemon is still never a relay), and the tree has to cope with panes it can't reach (host down, sandbox asleep).(a) is the expected choice, since it keeps M1. The protocol was kept open for it: every block has a
host(M3b), and nothing incoreor the protocol may assume a pane's terminal lives on the daemon that owns the layout.To decide
illogical run --host mac --tabinto the home layout.Done when
Done: merged into main (Merge #17). PLAN.md: "#### #17" under M4, with each "To decide" item answered and dated 2026-10-02.
remoteblock {host, pane} holds another host's pane in the home layout, so saving, moving, docking, breaking out and closing work like any block.illogical --host H run --home [--split %N]. Closing from either side closes it on the host.Tests: hosts.rs a_remote_pane_runs_there_and_has_its_place_here, and web/e2e/remote.spec.ts (tab and split, sizes, two windows, drag both ways, host down and back with scrollback, closing from either side). CI green (743, 744).
Not covered: real separate machines (on #55 Needs Jake), control mode, the phone key bar for remote panes, pane-id reuse after a host's state is wiped.