sandbox-agent/server
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
..
packages fix(agent-management): pass env vars to agent in spawn_streaming 2026-01-29 17:05:24 -05:00
AGENTS.md feat: expand api snapshots and schema tooling 2026-01-26 00:13:17 -08:00
ARCHITECTURE.md docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00
CLAUDE.md docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00