Conductor Proxy T2: upstream supervisor engine (#94) - #105
Draft
ssbn wants to merge 1 commit into
Draft
Conversation
Shared supervisor that owns ONE connection per upstream MCP server and fans it out to every session -- N Claude/Codex instances share a single process per MCP instead of each spawning its own. - McpProxySupervisor: sync registry->entries, start/stop/restart, online/offline + error state, cache tools/list, re-list on upstream tools/list_changed, route callTool with a ProxyDispatchError code (covers the list->call race) - MCP SDK usage isolated in defaultConnectionFactory (stdio/sse/http), lazy require; supervisor logic is transport-agnostic + unit-testable via injected fake factory - mcp-proxy:changed internal event; started at boot / stopAll on quit in index.ts - 13 unit tests Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Converting to draft — a desktop-launch issue surfaced during verification: the interstitial loader shows but the main desktop UI never paints. Actively troubleshooting. Do not merge until fixed and a full desktop open-and-use test passes. |
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.
Part of the Conductor Proxy MCP epic (#101). Resolves #94.
Stacked PR — base:
feat/93-upstream-registry(merge #93 first; GitHub will retarget tobeta).Shared supervisor: one connection per upstream fanned out to every session.
McpProxySupervisor: start/stop/restart, online/offline+error, tool caching, re-list ontools/list_changed,callToolwith a race-safeProxyDispatchErrormcp-proxy:changedevent; started at boot / stopAll on quit🤖 Generated with Claude Code