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 7c10533
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(host): read every configuration value from an explicit host (#3794)
Every non-test production read of the ambient command host for configuration
is replaced by an explicit HostEnvironment threaded from the composing
runtime (34 reads -> 0 outside the host-kit spawn domain).
- Platform plugins take the host per call: createInteractor(device, runner, host);
createAppleInteractor, createLinuxInteractor(host), createVegaInteractor,
createWebInteractor(host, provider?) bind it into their leaves.
- The Apple runner's host is per-runtime state seeded by the composition root.
- Local tool providers check executables against the caller's env
(whichCommand(cmd, env)); the Vega toolchain resolves and caches per env.
- CLI/MCP output formatting reads color env from the client's host
(AgentDeviceClient.host); formatCliOutput and doctorCliOutput take it.
- platform-web fails closed (web-provider-missing) where an un-scoped
process-bound fallback used to answer.
- New tests: two runtimes route the same macOS device by their own host;
the composed daemon route configures interactors from its host, not the
process.
Part of #3747.
Closes#3794.
0 commit comments