Skip to content

Simplify Smithery auth flow and fix connection runtime errors#55

Open
kamath wants to merge 1 commit intomainfrom
kamath/client-smithery-key
Open

Simplify Smithery auth flow and fix connection runtime errors#55
kamath wants to merge 1 commit intomainfrom
kamath/client-smithery-key

Conversation

@kamath
Copy link
Contributor

@kamath kamath commented Feb 25, 2026

This PR removes the token creation/sandbox fallback flow and makes Smithery auth use a server-provided API key passed into client state via SmitheryProvider/useSmithery. It deletes the server token action, updates app/docs entry points to pass process.env.SMITHERY_API_KEY, and simplifies the Tokens UI to namespace management plus masked API key display. It also migrates Smithery connection usage from experimental.connect.connections to the current client.connections API (including updated type imports) to fix runtime connect failures. Finally, it clamps connection ID masking to prevent negative String.repeat counts and resolves the RangeError seen in connections rendering.

@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openchat Error Error Feb 25, 2026 7:56pm

Request Review

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