Skip to content

feat: detect createAuthAdapter export and write to manifest [SMI-1160]#604

Merged
calclavia merged 2 commits intomainfrom
calclavia/detect-auth-adapter
Feb 7, 2026
Merged

feat: detect createAuthAdapter export and write to manifest [SMI-1160]#604
calclavia merged 2 commits intomainfrom
calclavia/detect-auth-adapter

Conversation

@calclavia
Copy link
Contributor

What's added in this PR?

Detects whether a server module exports createAuthAdapter and writes this information to manifest.json. The CLI now checks if createAuthAdapter is a function during the scan phase and includes this flag in the manifest, enabling Wellington to set requiresOAuth: true for 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 createAuthAdapter should have requiresOAuth: true so 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 stateful exports.

@calclavia calclavia changed the title feat: detect createAuthAdapter export and write to manifest feat: detect createAuthAdapter export and write to manifest [SMI-1160] Feb 6, 2026
Copy link
Contributor Author

calclavia commented Feb 7, 2026

Merge activity

  • Feb 7, 4:09 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 7, 4:10 AM UTC: Graphite rebased this pull request as part of a merge.
  • Feb 7, 4:10 AM UTC: @calclavia merged this pull request with Graphite.

calclavia and others added 2 commits February 7, 2026 04:09
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>
@calclavia calclavia force-pushed the calclavia/detect-auth-adapter branch from 4cac7a8 to dda814e Compare February 7, 2026 04:09
@calclavia calclavia merged commit f5f6b74 into main Feb 7, 2026
4 checks passed
@calclavia calclavia deleted the calclavia/detect-auth-adapter branch February 7, 2026 04:10
@smithery-chore-bot smithery-chore-bot bot mentioned this pull request Feb 7, 2026
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>
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