Repository navigation
fix(claude): recognize native OAuth links in sign-in output - #1123
Merged
Merged
Conversation
Co-authored-by: xxchan <[email protected]>
Contributor
Author
|
Post-merge CI failed on Newly failing: Run. Logs: |
stamp-build Bot
added a commit
that referenced
this pull request
Nov 22, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> (open-agent-runtime) opened via Stamp · <a href="https://stamp.build/review?receipt=prc_095fca5e9dabe50501af2b395f9db417"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View →</a></sup> --- <!-- /stamp:review:v1 --> ## OAR 0.129.1 ### Fixes - **Claude Code `2.1.330` manual sign-in URL recognition** (#1123). `claude auth login` on `2.1.330` prints its manual sign-in link on the line following the introduction and uses a compact `claude.ai/oauth/authorize` URL by default. OAR now recognizes Claude's compact and expanded HTTPS OAuth authorize links anywhere in stdout and relays the first matching URL unchanged as `auth_url`. If Claude's paste prompt arrives before any recognized link, OAR ends the login with `failed/process_failed` (`login_url_missing:...`) instead of prompting without a link. Keeps `auth login` as the path for native account selection and managed Console flows; verified on Linux with synthetic OAuth controls across `2.1.126`, `2.1.326`, and `2.1.330`. ### Other - **Community runtime marks and Cybion brand icon** (#1104). Sets `cybionBrand.icon` in `@botiverse/oar/community` (`packages/oar/src/community/cybion/index.ts`), adds `packages/oar/assets/brands/cybion.svg` and `NOTICE.md`, and lists the community runtimes with their marks in `README.md`. - **Docs and test hygiene** (#1120, #1121). Reaps test fixture processes that outlive their tests (#1120) and records the November 20 core runtime check in `experiments/runtime-version-checks/2026-11-20.md` (#1121). Full diff: v0.129.0...v0.129.1 Co-authored-by: Cindy <[email protected]>
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.
Claude Code 2.1.330 prints its manual sign-in link on the next stdout line and normally uses a compact Claude.ai authorize URL. OAR previously waited for a URL after a specific English label on the same line and asked for a code without giving the caller a link. With Raft Computer 1.25.10 and Claude 2.1.330, this affected remote web sign-in.
OAR now recognizes Claude's compact and expanded HTTPS OAuth authorize routes anywhere in stdout and preserves the first matching URL. If the native paste prompt arrives before a usable link, the driver ends the child with
failed/process_failedand detail starting withlogin_url_missing. This keeps the failure visible to hosts that validate the existing reason enum. The command remainsauth login, which honors native account selection and browser behavior. The structured authentication control refuses a managed Console case that the CLI handles.The Linux controls covered 2.1.126, 2.1.326 and 2.1.330. All nine synthetic exchanges verified PKCE and state, then read signed-in native status. The unchanged 2.1.330 remote handoff separately delivered the compact URL before the first paste prompt. The mock asks for an expanded link only to verify its synthetic exchanges. No real account or model requests. Reproduction and results.
Local validation passed 5,522 tests and 19 mock sea-trial cases.