sandbox-agent/server/packages
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
..
agent-credentials fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
agent-management fix(agent-management): pass env vars to agent in spawn_streaming 2026-01-29 17:05:24 -05:00
error fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
extracted-agent-schemas feat: move api cli commands under api subcommand 2026-01-28 01:11:57 -08:00
openapi-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
sandbox-agent fix: add read_stderr stub to Windows AgentServerLogs 2026-01-29 07:51:11 -08:00
universal-agent-schema feat: add Claude adapter improvements for HITL support (#30) 2026-01-29 07:19:10 -08:00
universal-schema-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00