Repository navigation
docs(multi-pc): design for driving several remotes at once - #835
Conversation
The destination is said on the master's hook -> agent hop only (a Host event before each Enter), split and stripped by the master's agent: remotes of any version are unaffected. The hook says InputHosts, the agent answers with the machines it can reach (Drivable); without either, the one-selected-remote rule stays. Covers the crossing between two remotes, the selection, the per-machine end of a hop (InputReset, service reset, UIPI), the indicator, the lock keys, the clipboard (not relayed between remotes) and two masters on one remote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hat never ran Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mgth
left a comment
There was a problem hiding this comment.
Le compte rendu distingue bien l’essai TLS sur boucle locale avec un hook simulé des parcours qui restent à essayer sur matériel. Il manque une règle de transition pour le service Windows, également visible dans l’implémentation de #839.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mgth
left a comment
There was a problem hiding this comment.
Le compte rendu ajouté dans 3e407a3b décrit le passage Linux → vm124 → Linux et le suivi du curseur sur la VM. Il précise que le service Windows reste à essayer. La règle demandée dans le contrat reste à écrire : lorsque la machine pilotée garde le même identifiant mais change de relais, préciser qui délivre Leave à l’ancienne cible et quand la nouvelle peut recevoir Enter.
… the Leaves it is owed Review of #835. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mgth
left a comment
There was a problem hiding this comment.
Vérifié dans 88e821a9. Le contrat couvre les deux sens de la bascule agent/service. Pour la machine pilotée, l’ancien relais reçoit Leave avant toute nouvelle session et le nouveau attend un Enter. Une bascule sur une machine inactive laisse le pointeur sur la machine en cours. La remarque est traitée.
Design first, as asked: docs/multi-pc.md, "Several remotes at once", plus a pointer from
docs/multi-pc-etat.md§6. No code in this PR; the code follows in two independent PRs tov6(hook, then agent).In short
Host { id }before everyEnter. The master's agent splits each batch at itsHostevents and relays each run to that machine's link without it. Remotes, of any version, see exactly what they see today — so the networkHelloneeds no new capability.InputHostsin itsHello; the agent answers on every hook connection withDrivable { Hosts }, the machines it can reach now. A remote's zones are enterable only while it is in that set. Without either side, the current "one selected remote" rule stays in force.hook::crossing: remote → remote isLeave(first machine) +Host+Enter+Locksin one batch; keyboards stay grabbed, cursor stays hidden; what the first machine held is released by itsLeave.SelectedRemoteabsent from the state, which old and new frontends already read as "merge them all"). One connection to the hook for all remotes. The end of a hop becomes per machine: full queue,InputReset, service reset, UIPI block bring the pointer home only from the machine it is on.Also in this PR
docs/multi-pc.mdonv6still held the conflict markers of the #821/#817 merges (two blocks). Resolved by keeping both sides, as a separate commit.🤖 Generated with Claude Code