feat: WebSocket Fast (Codex 1.5x) + MCP hub; fix: loopback & crash-safe usage stats#193
Open
drvcode-code wants to merge 2 commits into
Open
feat: WebSocket Fast (Codex 1.5x) + MCP hub; fix: loopback & crash-safe usage stats#193drvcode-code wants to merge 2 commits into
drvcode-code wants to merge 2 commits into
Conversation
- WebSocket transport for OpenAI Responses to unlock Codex fast (1.5x), which only takes effect over WS with codex client identity; strips Codex-unsupported fields, first-frame probe, HTTP fallback with cooldown, plus a stream keepalive to avoid Cursor reconnecting on long reasoning. - MCP hub (internal/mcphub): aggregate multiple MCP backends into one endpoint exposing list-all-tools + call-tool to bypass Cursor's per-session tool cap; multi-instance safe via serverName routing; management UI.
- mitm proxy forwards loopback (127.0.0.1/localhost) directly instead of intercepting, so Cursor can reach local MCP servers when the proxy is configured as http.proxy. - atomic file write fsyncs data before rename (fixes usage.json becoming all-NUL after a hard crash on NTFS); usage readers self-heal on corruption.
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.
两个特性 + 两个修复,已 rebase 到最新 main,go build ./... 通过。
特性
修复