acp: Always pass env to builtin agents (#46946)

Closes #40327

The env vars were only getting added if a custom command was provided.
But it makes sense in either case to be able to specify your env vars,
so now these are applied regardless.

Closes #ISSUE

Release Notes:

- acp: Fix for env vars not being properly applied to built-in ACP
agents.
5c622e3e46Ben Brandt committed on 1/15/2026, 8:51:10 PM· committed by GitHubparent3ce386a
1 file changedLine totals unavailable