mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-01 01:16:17 +02:00
On desktop, localDaemonId is fetched async, so on first paint the only machines available are remotes — the existing auto-select picks the first remote, then sticks because subsequent renders see selectedMachineId still in the list. Result: the local Mac never gets the default focus even though it sorts first. Re-evaluate the default on every machines change, preferring the local section. Honor a user pick once it's been made. Co-authored-by: multica-agent <github@multica.ai>