mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-03 06:10:21 +00:00
Extract helpers from the two largest undecomposed provider functions: - Hyperstack create_vm (104 -> 45 lines): extract _build_vm_request_body and _wait_for_vm_active - DigitalOcean create_server (97 -> 54 lines): extract _build_droplet_request_body and _wait_for_droplet_active Also fixes bash 3.x compat issue: ((attempt++)) -> attempt=$((attempt + 1)) Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||