mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 23:50:48 +00:00
Split the two longest functions in the codebase into focused sub-functions: Contabo create_server (108 -> 52 lines): - _contabo_get_ssh_secret_ids: fetch SSH secret IDs from API - _contabo_build_instance_body: construct API request JSON - _contabo_wait_for_instance: poll until instance is running Genesis Cloud create_server (91 -> 42 lines): - _genesis_get_ssh_key_ids: fetch SSH key IDs from API - _genesis_build_instance_body: construct API request JSON - _genesis_wait_for_instance: poll until instance is active No behavioral changes - pure restructuring for readability. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| claude.sh | ||