You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b74b5f6
Browse filesBrowse the repository at this point in the historyBrowse files
feat(environments): draw each environment as the machine it runs on
Every remote environment used to wear the same cloud or server glyph, so a
Mac mini, a laptop, and a Hetzner VM were indistinguishable in the sidebar,
the Run on picker, the pull request filters, and the mobile lists. In the
hosted app, where every environment is remote, rows carried no marker at all.
Servers now detect their hardware at startup (IOKit product name or hw.model
on macOS, DMI chassis type and virtualization markers on Linux) and publish
it as platform.machine. A nullable environmentIcon server setting lets the
user override it from Settings -> Connections, stored on that server so every
device agrees. resolveEnvironmentMachineKind in contracts holds the
precedence so web and mobile cannot drift, and platform.machine decodes
forward-compatibly so a kind from a newer server falls back to a server
glyph instead of failing the descriptor.
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments