mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 23:50:48 +00:00
Extract helper functions from the two largest create_server functions: Linode (99 lines -> 30-line orchestrator): - _linode_fetch_ssh_keys: fetch authorized SSH public keys - _linode_build_create_payload: build userdata, root password, request body - _linode_wait_for_active: poll until instance is running GenesisCloud (92 lines -> 28-line orchestrator): - _genesis_fetch_ssh_key_ids: fetch SSH key IDs - _genesis_build_create_payload: build userdata and request body - _genesis_wait_for_active: poll until instance is active Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||