Repository navigation
feat(web): profiles, client bindings, token profile, explainer and Viewing chip (Spec 108-i) - #1444
Merged
Merged
Conversation
…itor (Spec 108-i) Structured REST errors (ApiError keeps code, field, used_by, bindings, fixes, skipped; a 403 is not an auth error), the Profiles v3 methods, the profiles, clients and clientBindings stores with the profiles.changed and client.binding_changed invalidations, the /profiles and /profiles/:name routes, and the Profiles page with the policy editor, per-tool table, Try it, rename and delete dialogs.
…file, anonymous setting and the Viewing chip (Spec 108-i) The Clients page gains the profile chip, credential badge, warnings banner, bulk move, admin-key upgrade, custom client with a show-once credential, staged rotate, forget and Explain access. The connect dialog gains the profile picker, lock switch, masked client credential and the management-tools notice. The token dialog leads with a profile. Settings gains Anonymous callers. The header Viewing chip replaces the v2 profile switcher.
…d in live QA (Spec 108-i)
…es in the a11y and navigation sweeps (Spec 108-i)
…width (Spec 108-i)
…, current impact lists (Spec 108-i review round 1)
… profiles sweep (Spec 108-i)
Deploying mcpproxy-docs with
|
| Latest commit: |
a05cc2e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a660ce58.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://108-i-webui-profiles-clients.mcpproxy-docs.pages.dev |
F3.2: a guard refusal of a bulk connect now renders its bindings and fix buttons in a bulk-refusals list (there is no per-client preview panel). F3.3: the connect dialog's GuardRefusal closes the dialog on navigate so the Settings fix is reachable. F4.1: the bulk-move preview counts the unscoped client list, since bulk-assign moves every client on the from-profile instance-wide.
# Conflicts: # ROADMAP.md # specs/108-profiles-v3/research.md
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 36800336394 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…e refetch, save refusal focus (Spec 108-i live QA)
14 tasks
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.
Summary
Spec 108 PR 108-i: the Web UI for profiles, client bindings, token profiles, the access explainer and the header Viewing chip. It is frontend-only (plus the e2e sweep, scripts/docs and spec docs). REST, CLI, MCP and the macOS app are unchanged here: the REST surface is 108-f (#1439), the CLI and MCP tool are 108-g and 108-h, the macOS app is 108-k.
Spec:
specs/108-profiles-v3(FR-005, FR-008a, FR-021 to FR-026, FR-040 to FR-046; tasks T090 to T103 including T042w and T098a; decisions recorded as D35 in research.md). Audit group108-i; it removes the header "Profile:" switcher that read as agent scoping (P1) and gives the admin-key remediation a Web path (P4).What changes for the user
Profiles page (
/profiles)?profile=through the link map.+ Addand the palette via?create=1) creates a profile in one dialog: name, title, servers and a starting point (Read-only, Read + write, Everything, Custom).used_by.Profile editor (
/profiles/:name)effective-tools: tier, the access reason in words, Allow and Deny toggles, Classify for unannotated tools, and the stale-classification marker "classification ignored — tool is now annotated"./profiles/try. Rename and Delete list what moves first (clients with mode, tokens,switchable_toreferences, anonymous callers); delete requires a target unless "leave them without a profile" is chosen, which is not offered for the anonymous profile.?focus=server:toolrings the row, setsaria-current, focuses its Allow toggle and announces it; if the server is not in the profile it offers to add it.profiles.changedevent never overwrites an unsaved draft; it shows "This profile changed elsewhere" with Reload.Clients page
Work · Read-only · locked by credential(orswitchable), a Locked switch, the credential badge and blocked calls. Selecting a profile sends the binding without a mode.role="status", severity in text) for every warning code, each with its action.GET /clientsandGET /tokens.Connect dialog (T042w): profile picker and Locked switch, the masked
mcp_cli_••••credential and the notice that the admin key is never written, the management-tools notice, a keyless option only while authentication is off, guard and token-name-conflict errors, and the same profile for a bulk connect.Token dialog: Profile first, with "None — legacy scope" enabling the legacy fields; the list shows Kind, Profile, Mode and a Legacy scope badge; client-credential rows are read-only with a pointer to Clients.
Settings → Security: "Anonymous callers" profile selector with the binding-guard explanation. A guard fix button navigates here with the value preselected and never saves.
Header: the Viewing chip replaces the profile switcher. It reads and writes the URL filter contract, never calls a binding route, collapses to an icon below 1100 px, and is hidden for tenants and when there is nothing to filter by.
Deviations from the plan (recorded in research.md D35)
setAnonymousProfileAPI method (PATCH/config) instead ofpatchConfig, becausepatchConfigdrops the 409 body.explain_blocked.jsonalready has the F24 shape, so the conditional Go fixture change did not happen and this PR changes no Go file.Settings.vuealready highlights?focus=<key>rows, soSettingsSectionneeded nofocusprop./tokensredirect route gets the nametokensthat the link map already assumed.Tests
New vitest specs:
profiles-page,profile-policy-editor,client-binding-controls,token-dialog-profile,access-explainer,viewing-filter,contract-fixtures,connect-profile-fields,settings-anonymous-profile,api-error-body,profiles-sse-refresh. New Playwright spece2e/web-ui-sweep/profiles-clients.spec.ts(seeded over REST byprofiles-seed.ts), listed inscripts/run-web-smoke.sh;visual-a11y-sweep.spec.tsgains the Profiles, editor and Clients routes in both themes;navigation-consistency.spec.tsnow expects the Profiles sidebar entry and the Profile item in the Add menu.Existing specs updated:
header-layout,top-header-tenant-gating(the profile population gate moved to the chip),auth-shell-recovery,connect-preview(credential notice replaces the API-key notice). Deleted with the component:profile-switcherandprofile-switcher-hidden.Follow-ups
The Tools and Activity entry points of the explainer and the Tools view-as and Activity attribution UI are 108-j.