Repository navigation
feat: add account personal access tokens and retire agent connections - #48
Merged
Merged
Conversation
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
Users can create account-wide personal access tokens directly in Account settings and delegate product management across their current organization memberships and roles. Tokens support one-time secret display, hash-only storage, expiration and revocation; password changes, token administration and platform administration remain session-only. GraphQL billing actions return hosted Stripe checkout/portal links, and account credentials expose 42 MCP tools.
Retire the redundant Agent connections page and organization Connect agent buttons. The old URL redirects to Account's token section, where all existing scoped and legacy credentials remain available for revocation. Explicitly refresh token history when a creation response is lost. Normalize Claude setup names so organization/account names with spaces no longer fail CLI validation.
Validation
A CI-only failure exposed existing watchdog cleanup deleting other suites' accounts. Limit cleanup to watchdog fixtures; an unrelated-account regression fixture now proves isolation. Worker runtime behavior is unchanged.
Release note
@systemvitals/mcpis still unpublished: npm returns E404. Generated npm-based MCP setup requires a package release; source-checkout MCP and direct GraphQL/cURL work without publication. This PR does not publish npm artifacts. Deploy the API before the frontend. No database migration or worker change is needed.Checklist