feat: detect createAuthAdapter export and write to manifest [SMI-1160]#604
Merged
feat: detect createAuthAdapter export and write to manifest [SMI-1160]#604
Conversation
Contributor
Author
Merge activity
|
Add detection of createAuthAdapter export during module scan and include it in manifest.json. Enables Wellington to set requiresOAuth: true for servers with auth adapters, avoiding unnecessary dispatch attempts. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update @smithery/api to 0.39.0 which adds hasAuthAdapter to DeployPayload. Detect createAuthAdapter export during module scan and include it in the deploy payload for both shttp and stdio bundles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4cac7a8 to
dda814e
Compare
Merged
calclavia
pushed a commit
that referenced
this pull request
Feb 8, 2026
Automated Release PR --- ## [3.18.0](v3.17.0...v3.18.0) (2026-02-08) ### Features * add skills view command ([#609](#609)) ([e0d3e65](e0d3e65)) * detect createAuthAdapter export and write to manifest [SMI-1160] ([#604](#604)) ([f5f6b74](f5f6b74)) ### Bug Fixes * keep skill required, only make agent optional ([#611](#611)) ([714b7f8](714b7f8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: smithery-chore-bot[bot] <259537197+smithery-chore-bot[bot]@users.noreply.github.com>
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.
What's added in this PR?
Detects whether a server module exports
createAuthAdapterand writes this information tomanifest.json. The CLI now checks ifcreateAuthAdapteris a function during the scan phase and includes this flag in the manifest, enabling Wellington to setrequiresOAuth: truefor servers with auth adapters.What's the issues or discussion related to this PR?
This implements the CLI-side detection for the auth adapter feature. Servers exporting
createAuthAdaptershould haverequiresOAuth: trueso auth dispatch is attempted. The bootstrap already returns 404 for workers without an adapter, but setting this correctly avoids unnecessary dispatch attempts.The changes follow the existing pattern used for detecting
statefulexports.