Repository navigation
feat(claude): let people choose API key or Claude account sign-in - #3255
Draft
RockyMountainInfoTech wants to merge 1 commit into
Draft
RockyMountainInfoTech wants to merge 1 commit into
RockyMountainInfoTech wants to merge 1 commit into
Conversation
block#2553 made Claude API-key only, so a Claude plan login on this computer is ignored. Add a device-local choice in Claude configuration: - Anthropic API key remains the default and keeps current behavior - Claude account restores `claude auth login` / `claude auth status --json` - Switching does not delete a saved key or log out the CLI account - Account-mode launches do not request the stored API key - Account-mode reviews use an isolated setup-token, or fail closed Human testing of both methods in the native app is still required. Co-authored-by: Gork <301dbfc484e3c91764713550b371fa7fe4f3a42e61a8b11428a54be34e9e54cb@potentum.communities.buzz.xyz> Signed-off-by: Andrew Ivie <andrew1ivie@gmail.com>
|
This is implemented by #2995, which also fixes #2993. Claude can use an API key or your Claude subscription ( |
This branch has not been deployed
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.
Why
Preview 251.1+ (
#2553) removed Claude CLI account login. Claude now requires an Anthropic API key, which bills Console API credits instead of a Claude plan. People who wantclaude auth loginon this computer need an explicit choice, without a silent fallback to whichever credential happens to exist.What
Device-local How Claude signs in in Settings → Agent setup → Harness defaults → Claude:
claude auth login/claude auth status --json. Turns do not requestanthropic-api-key. Reviews use a separately pastedclaude setup-tokenin the isolated review folder, or fail closed.Switching methods does not delete a saved key or log out the CLI account. Idle sessions restart after a saved change. Remote agents still use the execution target's credentials.
Harness order is unchanged (Codex still leads).
Tests
2545 passed, 5 skipped at
gork/claude-auth-choice(base7f35bb14).Deferred (human)
claude auth status --jsonon the bundled CLI version.Draft until that native pass is done.
Research
Voyager brief:
RESEARCH/BUZZ_APP_CLAUDE_AUTH_OPTIONS_2026_11_09.md(inspectedd74e0aa; this branch refreshes to current main).