mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-08 01:51:14 +00:00
Make install_agent() check exit codes and fail fast when installation commands return non-zero. Previously, the function would silently continue even when installations failed due to bash || operators returning 0. This fix ensures that installation failures (network timeouts, missing dependencies, package not found) are caught immediately with actionable error messages instead of confusing runtime errors during session launch. Affected ~30 agent scripts using patterns like: - pip install X 2>/dev/null || pip3 install X - command -v bun && bun install X || npm install X Agent: code-health Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||
| github-auth.sh | ||
| key-request.sh | ||