gabriel / muse public
refactor BREAKING task/grpc-only-wire #1 / 1
AI Agent gabriel · 49 days ago · Apr 23, 2026 · Diff

refactor: enforce gRPC framing on all MWP wire traffic

- Add GrpcFrameReader to muse/core/mpack.py — strips 5-byte gRPC prefix before msgpack-decoding; same feed()/frames()/decompress_object() interface as MPackStreamReader - transport.py push: swap MPackStreamReader → GrpcFrameReader for response parsing; Accept header: MPACK_CONTENT_TYPE → GRPC_CONTENT_TYPE - transport.py fetch: wrap request body in grpc_frame(); Content-Type and Accept both GRPC_CONTENT_TYPE; swap MPackStreamReader → GrpcFrameReader for response parsing - Delete all references to application/x-muse-packstream in docstrings

sha256:6ec1b8be3c9284fa9ad77d53bbe6fbc919e58f01324cb8ab7868dc56d7e70ea0 sha
sha256:7d9c2195c9b03fd6d391406e312f62c59154d545b8f0dd10d3ee7acfe9152d45 snapshot
← Older Oldest on task/grpc-only-wire
All commits
Newer → Latest on task/grpc-only-wire

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:6ec1b8be3c9284fa9ad77d53bbe6fbc919e58f01324cb8ab7868dc56d7e70ea0 --body "your comment"