Description
I authenticated successfully with GitHub CLI using gh auth login, but OpenUsage still fails to detect the GitHub account and continues to ask me to login.
Found the following log messages:
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:copilot] OpenUsage keychain read failed: TypeError: Error calling function with 1 argument(s) while 2 where expected
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:copilot] gh CLI keychain read failed: TypeError: Error calling function with 1 argument(s) while 2 where expected
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:codex] auth loaded from file: ~/.codex/auth.json
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:codex] HTTP GET https://chatgpt.com/backend-api/wham/usage
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][DEBUG] [http] proxy not used
[2026-06-03][15:20:32][openusage_lib][WARN] probe copilot completed with error
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:claude] keychain read: service=Claude Code-credentials, account=[REDACTED]
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:cursor] keychain read failed for cursor-access-token: TypeError: Error calling function with 1 argument(s) while 2 where expected
[2026-06-03][15:20:32][openusage_lib::plugin_engine::host_api][INFO] [plugin:cursor] keychain read failed for cursor-refresh-token: TypeError: Error calling function with 1 argument(s) while 2 where expected
Steps to Reproduce
- Install OpenUsage on macOS.
- Install GitHub CLI (gh).
- Run
gh auth login in Terminal.
- Select GitHub.com when prompted.
- Complete the authentication flow (web browser or SSH).
- Verify authentication is successful with:
gh auth status
- Launch OpenUsage.
- Check the Copilot usage.
Expected Behavior
OpenUsage should detect the existing GitHub CLI authentication and successfully read the required credentials from Keychain.
Actual Behavior
OpenUsage does not recognize the GitHub authentication state.
OpenUsage Version
v0.6.25
Operating System
macOS (Apple Silicon)
Screenshots
Additional Context
No response
Description
I authenticated successfully with GitHub CLI using
gh auth login, but OpenUsage still fails to detect the GitHub account and continues to ask me to login.Found the following log messages:
Steps to Reproduce
gh auth loginin Terminal.gh auth statusExpected Behavior
OpenUsage should detect the existing GitHub CLI authentication and successfully read the required credentials from Keychain.
Actual Behavior
OpenUsage does not recognize the GitHub authentication state.
OpenUsage Version
v0.6.25
Operating System
macOS (Apple Silicon)
Screenshots
Additional Context
No response