Repository navigation
Fix Local browser links for person-only MCP approvals - #133
Merged
Merged
Conversation
Release-note: Fix: Person-only approvals from model and automatic MCP connections now open in the Local dashboard.
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.
Closes #123.
Local now includes the caller mode in person-only approval links from model and automatic MCP connections. The paired dashboard can inspect and answer those requests only within the authenticated grant and mode. Mode-less browser approval links still work.
Verification
d8bf97f4e):nice -n 19 bun run e2e:local --test-name '^Local person-only approval binds' --workers 1failed both scenarios:model link carries its mode: expected null to be 'model'.nice -n 19 bun run e2e:prepare: the same selector passed 2/2. This covers OAuth and the Local administrator key, both caller modes, refusal of mismatched links and agent self-approval, and successful approval by the paired operator.nice -n 19 bun run e2e:local --test-name '^Local MCP model, browser and automatic modes return an account-free tool' --workers 1passed 1/1.nice -n 19 bun run format,nice -n 19 bun run check(17/17; typecheck 9/9), andactionlint .github/workflows/fork-ci.ymlpassed.