spawn/packages
B 55e639a134 refactor(digitalocean): extract 3 helpers from 260-line tryDoOAuth
Split tryDoOAuth() into focused helpers:
- startOAuthCallbackServer(): HTTP server setup + port scanning
- waitForOAuthCallback(): 120s timeout + extended wait + escape-key
- exchangeOAuthCode(): authorization code → access token exchange

tryDoOAuth() is now a 45-line orchestrator that delegates to each.

Agent: complexity-hunter
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-14 14:51:44 +00:00
..
cli refactor(digitalocean): extract 3 helpers from 260-line tryDoOAuth 2026-05-14 14:51:44 +00:00
shared fix: rethrow normalized Error in tryCatchIf/asyncTryCatchIf (#2930) 2026-03-23 19:33:05 -07:00