Expand description
What srv tells a UI about the machine it runs on: sent as the srvinfo
event on every WebSocket connect (server/websocket.rs). A UI shows these
names and builds paths from the home directory, and the paths have to be
srv’s, which is only the same machine as the UI’s when the UI is the
desktop app.
Structs§
- SrvInfo
- The
srvinfoevent: srv’s version, and the machine it runs on.
Statics§
- HOME_
DIR 🔒 - The account-wide AgentMux root (
~/.agentmux, or its override) as it was when srv started. Read before startup setsAGENTMUX_DATA_HOMEto the data directory (bootstrap/stores.rs), after which the same resolver answers with the data directory instead.
Functions§
- agentmux_
home - The account-wide AgentMux root captured at startup (
capture_home_dir). - capture_
home_ dir - Record the AgentMux root. Call first thing in
main, before anything changes the environment. - srv_
info - The
dataof thesrvinfoevent.