2
0

feat(mcp): add support for Content-Length framed JSON-RPC messages
All checks were successful
Release / build (amd64, windows) (push) Successful in 41s
Release / build (arm64, darwin) (push) Successful in 42s
Release / build (amd64, linux) (push) Successful in 46s
Release / build (arm64, linux) (push) Successful in 1m11s
Release / release (push) Successful in 19s
Release / build (amd64, darwin) (push) Successful in 1m4s

Implements readMessage function to handle both raw JSON lines and Content-Length framed messages. Claude Code uses HTTP-style framing (Content-Length: N\r\n\r\n{json}) while other clients may send raw JSON. Auto-detects format by peeking at first bytes. Adds .gitignore for compiled binaries.
This commit is contained in:
2026-04-05 02:24:17 -04:00
parent fd473c298c
commit 1d770b45c9
2 changed files with 67 additions and 1 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*.exe
*.dll
*.so
*.dylib