Skip to content

android: Claude on Happy Cloud is a setup token only - #2019

Merged
ex3ndr merged 2 commits into
mainfrom
android-claude-setup-token-only
Nov 9, 2026
Merged

ex3ndr merged 2 commits into
mainfrom
android-claude-setup-token-only

Conversation

@ex3ndr

@ex3ndr ex3ndr commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Happy Cloud servers now return claudeSignIn: false, so on Android Claude is added with a setup token only.

  • The Claude page (CloudClaudePage) is now just the setup-token form. I removed CloudClaudeScreen, which had Open Claude, the pasted code field and "Use a setup token instead". Before this, a providers/add/anthropic link opened that sign-in screen and started a sign-in before the server's capabilities loaded. Now every route to Claude opens the token form.
  • The chooser entry reads "Use a Claude setup token", matching web, and appears when the server reports claudeSetupToken. It is translated in all 10 locales.
  • Removed CloudClaudeRoute.token, CloudCapabilities.claudeSignIn and the strings only that screen used.
  • The agent-layer Claude code endpoint (CloudProviders.sendCode) and its test are left in place and are no longer called. Removing them is a separate cleanup.

Verification (androids node)

  • assembleDebug built. :app:testDebugUnitTest + :crypto:test: 3,681 tests, 55 skipped, 0 failures.
  • Emulator against prod (QA account qa-batch-76eca2). On the build before this change, Add already showed "Add Claude setup token" and opened only the token form. On this build, Add shows "Use a Claude setup token", and it opens the token form (Save to, Setup token, Add, hint) with no Open Claude button and no code field.

Servers no longer offer Claude's browser sign-in (claudeSignIn is false),
so the Claude page is now just the setup-token form. Drop the Open
Claude / pasted-code branch, the route's token flag, the claudeSignIn
capability, and their strings. The chooser entry reads "Use a Claude
setup token" and shows when the server takes one.
@ex3ndr
ex3ndr merged commit 02a660a into main Nov 9, 2026
1 check passed
ex3ndr added a commit that referenced this pull request Nov 9, 2026
Matches Android (#2019) and Steve's rule rather than the server's
claudeSignIn flag: no Open Claude, code field, start/watch/send, or
Claude finish/cancel calls. The chooser offers Claude only with setup
tokens; ChatGPT's sign-in is unchanged.
ex3ndr added a commit that referenced this pull request Nov 9, 2026
* ios: offer Claude as a setup token, as web does

Claude is setup token only and the cloud now returns claudeSignIn:false,
so the chooser says "Use a Claude setup token" and its screen's one
button says "Add setup token", not "…instead". The live providers UI
test now expects that screen: no Claude page to open and no code field.

* ios: remove Claude's browser sign-in; the setup token is its only way in

Matches Android (#2019) and Steve's rule rather than the server's
claudeSignIn flag: no Open Claude, code field, start/watch/send, or
Claude finish/cancel calls. The chooser offers Claude only with setup
tokens; ChatGPT's sign-in is unchanged.

* ios: drop the Claude screen's dead follow cancel; rewrap the doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant