Merged
Conversation
This was referenced Apr 3, 2026
Collaborator
Author
This was referenced Apr 3, 2026
0362748 to
60a8b10
Compare
4c6c591 to
ab88544
Compare
b6f2b8a to
54f2002
Compare
380bfbc to
f3bb215
Compare
54f2002 to
f04298c
Compare
f3bb215 to
224b45f
Compare
f04298c to
7008292
Compare
224b45f to
a2a10ff
Compare
e536cdb to
c085697
Compare
7008292 to
6507936
Compare
c085697 to
0348dcb
Compare
6507936 to
4078c6b
Compare
Collaborator
Author
Merge activity
|
0348dcb to
516c2fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Adds
heygen auth status— verifies the stored API key is valid by callingGET /v3/user/meand outputting account info.skipAuth restructured: Moved
skipAuthannotation from theauthgroup toauth loginspecifically.auth statusintentionally resolves auth — if no key is configured, it fails with the standard auth error (exit 3) before the API call.auth logincontinues to skip auth as before.Reuses generated spec: Calls
ctx.client.Execute(gen.UserMeGet, ...)— same endpoint asheygen user me get. If the API path or response shape changes, both commands update together.Auth vs server errors: Distinguishable by exit code. Invalid key → exit 3 (
auth_error). Server down → exit 1 (server_error/network_error). Retry transport handles transient failures before surfacing.Stacked on PR #43 (SKILL.md).
Testing
3 tests: success (200 → exit 0, stdout has user email), invalid key (401 → exit 3, stderr has auth_error), no key (exit 3 with hint to set env var or run auth login).
Existing
TestAuthLogin_SkipsAuthcontinues passing — skipAuth annotation moved to login, not removed.All tests use
httptest.Server— no real API calls.