mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-31 21:40:28 +00:00
- Changed 'set -e' to 'set -euo pipefail' in all 35 agent scripts
- Provides better error handling:
- 'e': Exit on command failure
- 'u': Exit on undefined variable usage
- 'o pipefail': Exit on any pipe command failure
- Improves script reliability and debugging
- All tests pass (42/42)
Affected files:
- sprite/{aider,claude,codex,goose,interpreter,nanoclaw,openclaw}.sh
- hetzner/{aider,claude,codex,goose,interpreter,nanoclaw,openclaw}.sh
- digitalocean/{aider,claude,codex,goose,interpreter,nanoclaw,openclaw}.sh
- linode/{aider,claude,codex,goose,interpreter,nanoclaw,openclaw}.sh
- vultr/{aider,claude,codex,goose,interpreter,nanoclaw,openclaw}.sh
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| claude.sh | ||
| codex.sh | ||
| goose.sh | ||
| interpreter.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||