sandbox-agent/server/packages/agent-management
Greg Ceccarelli c4b033a5c0 fix(agent-management): pass env vars to agent in spawn_streaming
The spawn_streaming() function was not passing environment variables
from SpawnOptions.env to the spawned process. This caused agents like
Claude to not receive ANTHROPIC_API_KEY, resulting in silent
authentication failures.

The non-streaming spawn() method correctly passes env vars (lines 298-300),
but spawn_streaming() was missing this code path.

This fix adds the same env var loop to spawn_streaming(), ensuring that
credentials extracted from the host environment are properly passed to
spawned agents.
2026-01-29 17:05:24 -05:00
..
src fix(agent-management): pass env vars to agent in spawn_streaming 2026-01-29 17:05:24 -05:00
Cargo.toml fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00