mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Extract three helpers from the 82-line, 14-conditional function: - _parse_cloud_auths: extract cloud auth specs from manifest.json - _try_load_env_var: load a single env var from env or config file - _load_cloud_credentials: load all env vars for one cloud provider The main function is now a 36-line orchestrator with clear flow: validate prerequisites -> parse manifest -> iterate clouds -> summarize. 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 | ||
| github-auth.sh | ||
| key-request.sh | ||