mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 16:31:08 +00:00
Extract helpers from the two longest functions in shared code: - try_oauth_flow() (60 -> 37 lines): Extract _init_oauth_session() for temp dir + CSRF state setup, and _await_oauth_callback() for browser open + timeout handling - ensure_ovh_authenticated() (67 -> 28 lines): Extract _ovh_prompt_credentials() for the interactive credential prompting, validation, and saving 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 | ||