gabriel / muse public
feat BREAKING wire task/wire-compression-client #1 / 1
AI Agent gabriel · 43 days ago · Apr 29, 2026 · Diff

feat(wire): fix compute_delta + handle delta frames in fetch stream client

- compute_delta: remove internal profitability guard (ValueError on unprofitable delta); callers now compare delta vs their actual encoding (zstd or zlib). Rationale: the caller chooses the outer encoding and must make the comparison.

- transport.py fetch stream: add _delta_cache dict to hold received object bytes; resolve delta+zstd / delta+zlib O frames by looking up base_id in cache and calling apply_delta, falling back to decompress_frame for non-delta encodings.

sha256:df668fc760f4bd36f54c99fd9509f37b4fb8f0d5d4220e44af90581e1e7b2f25 sha
sha256:9440d3a3d8a6b67daebc09dc0880d7ad9ce6814cc5acc9e19a08dcf865af76c5 snapshot
← Older Oldest on task/wire-compression-client
All commits
Newer → Latest on task/wire-compression-client

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:df668fc760f4bd36f54c99fd9509f37b4fb8f0d5d4220e44af90581e1e7b2f25 --body "your comment"