inject_muxbus_env

Function inject_muxbus_env 

Source
pub fn inject_muxbus_env(wstore: &Store, env_vars: &mut HashMap<String, String>)
Expand description

Inject MUXBUS_TOKEN into spawn env if credentials are stored and valid. Token refresh is async — this path just injects whatever is currently stored. Agents should re-spawn after the user refreshes via muxbus.login if the token expires.