Files
coder/agent
Mathias Fredriksson d00ffbd828 feat(agent): unify session env via EnvInfoer (#26099)
The agent resolved the session home directory two ways. agentssh went
through usershell, while agentproc called os.UserHomeDir directly and
skipped its user.Current fallback. Routing both through a single
usershell.EnvInfoer makes the resolution consistent, and agentproc
now gets the same fallback as the rest of the agent.

The shared seam is injectable, so SSH session tests can drive
environment resolution without touching real system state.
2026-06-05 21:22:23 +03:00
..