-
Notifications
You must be signed in to change notification settings - Fork 108
chore: allows ConnectionManager to be injected via TransportRunner MCP-131 #481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
himanshusinghs
merged 17 commits into
main
from
chore/MCP-131-injectable-connection-manager
Aug 29, 2025
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2372930
chore: rename connectionManager to mcpConnectionManager
himanshusinghs 47c6a56
chore: extract abstract ConnectionManager
himanshusinghs 2573a45
chore: awaitable connection manager factory
himanshusinghs b7ac578
chore: bring ctor back on runner implementations
himanshusinghs 871be6f
chore: remove generic from abstract ConnectionManager
himanshusinghs b4cbe99
chore: further harmonisation with old code
himanshusinghs 3637c4c
chore: changeState does not have to be public
himanshusinghs 65c5332
chore: PR feedback
himanshusinghs 71680ab
chore: test check fixes
himanshusinghs b079a6d
chore: further feedback
himanshusinghs 437a731
Merge remote-tracking branch 'origin/main' into chore/MCP-131-injecta…
himanshusinghs be508a6
Merge remote-tracking branch 'origin/main' into chore/MCP-131-injecta…
himanshusinghs c178465
chore: further feedback
himanshusinghs bea4835
Merge remote-tracking branch 'origin/main' into chore/MCP-131-injecta…
himanshusinghs b6ade3c
chore: have a default connection manager factory
himanshusinghs 25008ec
Merge remote-tracking branch 'origin/main' into chore/MCP-131-injecta…
himanshusinghs 280d8b1
chore: use default factory in tests
himanshusinghs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
export { Server, type ServerOptions } from "./server.js"; | ||
export { Telemetry } from "./telemetry/telemetry.js"; | ||
export { Session, type SessionOptions } from "./common/session.js"; | ||
export { type UserConfig, defaultUserConfig } from "./common/config.js"; | ||
export { defaultUserConfig, type UserConfig } from "./common/config.js"; | ||
export { LoggerBase, CompositeLogger, type LogPayload, type LoggerType, type LogLevel } from "./common/logger.js"; | ||
export { StreamableHttpRunner } from "./transports/streamableHttp.js"; | ||
export { LoggerBase } from "./common/logger.js"; | ||
export type { LogPayload, LoggerType, LogLevel } from "./common/logger.js"; | ||
export { type ConnectionManagerFactoryFn } from "./transports/base.js"; | ||
export { | ||
ConnectionManager, | ||
type AnyConnectionState, | ||
type ConnectionState, | ||
type ConnectionStateConnected, | ||
type ConnectionStateConnecting, | ||
type ConnectionStateDisconnected, | ||
type ConnectionStateErrored, | ||
himanshusinghs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} from "./common/connectionManager.js"; | ||
export { Telemetry } from "./telemetry/telemetry.js"; |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.