mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-03 12:17:03 +00:00
* fix(cli): keep browser sign-in open through checkout The loopback listener timed out after 5 minutes, but plan checkout runs inside the OAuth flow. A slower purchase ended on ERR_CONNECTION_REFUSED. Raise the default to 60 minutes, matching pacific's plan-checkout handoff. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(cli): show the sign-in limit and how to recover The waiting line now states the 60-minute limit and Ctrl+C. After a timed-out browser login the CLI says to run auth login again. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(cli): drop unverified purchase claim, harden timer test, document limit Review fixes: the timeout hint no longer says purchases stay on the account (the CLI cannot observe billing); the no-timer-left test now asserts before any explicit close() and uses node:http so undici timers cannot pollute the count; docs mention the 60-minute window and Ctrl+C. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(cli): close the sign-in listener on every path and record Ctrl+C Ctrl+C is now the advertised exit, but events only flush on exit, which a default SIGINT skips, so an abandoned login vanished from telemetry. Record it as aborted and exit 130 through requestCliExit. Close the listener on any throw, so a failure before the wait can't hold the process for the full window. Derive the waiting line and timeout message from the listener's own limit, and name the constant for why it is long, which clears the comment ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>