gabriel / muse public
fix BREAKING dev
AI Agent gabriel · 115 days ago · May 16, 2026 · Diff

fix: complete pack.py→mpack.py and mpack.py→mwp.py renames; update all imports

sha256:4789c58553e0995f752ea360dbdc6cff6ec77f0bc93b0cca3eed2e8d9f8308dc sha
+101 ~303 −101 symbols
sha256:106b529df9ffd73e9e4df570c0fde1cb91c3e75d6cbb9109ba74e0a66ba1ca0c snapshot
+101
symbols added
~303
symbols modified
−101
symbols removed
0
dead code introduced
Semantic Changes 505 symbols
~ muse/core/mwp.py .py 48 symbols added
+ FRAME_ACK variable variable FRAME_ACK L150–150 ← moved from muse/core/mpack.py
+ FRAME_COMMIT_PACK variable variable FRAME_COMMIT_PACK L145–145 ← moved from muse/core/mpack.py
+ FRAME_END variable variable FRAME_END L146–146 ← moved from muse/core/mpack.py
+ FRAME_ERROR variable variable FRAME_ERROR L148–148 ← moved from muse/core/mpack.py
+ FRAME_HEADER variable variable FRAME_HEADER L143–143 ← moved from muse/core/mpack.py
+ FRAME_OBJECT variable variable FRAME_OBJECT L144–144 ← moved from muse/core/mpack.py
+ FRAME_PROGRESS variable variable FRAME_PROGRESS L147–147 ← moved from muse/core/mpack.py
+ FRAME_RESULT variable variable FRAME_RESULT L149–149 ← moved from muse/core/mpack.py
+ MPACK_CONTENT_TYPE variable variable MPACK_CONTENT_TYPE L105–105 ← moved from muse/core/mpack.py
+ MPACK_VERSION variable variable MPACK_VERSION L104–104 ← moved from muse/core/mpack.py
+ MPackAckFrame class class MPackAckFrame L262–272 ← moved from muse/core/mpack.py
+ MPackCommitPackFrame class class MPackCommitPackFrame L212–217 ← moved from muse/core/mpack.py
+ MPackEndFrame class class MPackEndFrame L219–229 ← moved from muse/core/mpack.py
+ MPackErrorFrame class class MPackErrorFrame L242–251 ← moved from muse/core/mpack.py
+ MPackHeaderFrame class class MPackHeaderFrame L161–192 ← moved from muse/core/mpack.py
+ MPackObjectFrame class class MPackObjectFrame L194–210 ← moved from muse/core/mpack.py
+ MPackProgressFrame class class MPackProgressFrame L231–240 ← moved from muse/core/mpack.py
+ MPackResultFrame class class MPackResultFrame L253–260 ← moved from muse/core/mpack.py
+ MPackStreamReader class class MPackStreamReader L677–775 ← moved from muse/core/mpack.py
+ __init__ method method __init__ L706–717 ← moved from muse/core/mpack.py
+ decompress_object method method decompress_object L745–775 ← moved from muse/core/mpack.py
+ feed method method feed L719–727 ← moved from muse/core/mpack.py
+ frames method method frames L729–743 ← moved from muse/core/mpack.py
+ MPackStreamWriter class class MPackStreamWriter L321–671 ← moved from muse/core/mpack.py
+ write_ack method method write_ack L651–671 ← moved from muse/core/mpack.py
+ write_commit_pack method method write_commit_pack L545–572 ← moved from muse/core/mpack.py
+ write_end method method write_end L574–591 ← moved from muse/core/mpack.py
+ write_error method method write_error L612–625 ← moved from muse/core/mpack.py
+ write_header method method write_header L348–437 ← moved from muse/core/mpack.py
+ write_object method method write_object L503–543 ← moved from muse/core/mpack.py
+ write_object_raw method method write_object_raw L439–501 ← moved from muse/core/mpack.py
+ write_progress method method write_progress L597–610 ← moved from muse/core/mpack.py
+ write_result method method write_result L627–649 ← moved from muse/core/mpack.py
+ MuseWireFrameWriter class class MuseWireFrameWriter L784–824 ← moved from muse/core/mpack.py
+ wrap method method wrap L805–824 ← moved from muse/core/mpack.py
+ WIRE_CONTENT_TYPE variable variable WIRE_CONTENT_TYPE L106–106 ← moved from muse/core/mpack.py
+ WireFrameError class class WireFrameError L781–782 ← moved from muse/core/mpack.py
+ _ALL_FRAME_TAGS variable variable _ALL_FRAME_TAGS L152–155 ← moved from muse/core/mpack.py
+ _canonical_header_payload function function _canonical_header_payload L278–315 ← moved from muse/core/mpack.py
+ apply_snapshot_delta function function apply_snapshot_delta L126–140 ← moved from muse/core/mpack.py
+ compute_snapshot_delta function function compute_snapshot_delta L108–124 ← moved from muse/core/mpack.py
+ CommitDict import import CommitDict L97–97
+ Iterator import import Iterator L93–93
+ MsgpackDict import import MsgpackDict L98–98 ← moved from muse/core/mpack.py
+ SnapshotDict import import SnapshotDict L97–97
+ TypedDict import import TypedDict L93–93 ← moved from muse/core/mpack.py
+ msgpack import import msgpack L95–95 ← moved from muse/core/mpack.py
+ struct import import struct L92–92 ← moved from muse/core/mpack.py
~ muse/core/pack.py .py 56 symbols removed
ApplyResult class class ApplyResult L239–252 → moved to muse/core/mpack.py
BundleMeta class class BundleMeta L109–127 → moved to muse/core/mpack.py
FetchRequest class class FetchRequest L228–237 → moved to muse/core/mpack.py
MPackBundle class class MPackBundle L179–209 → moved to muse/core/mpack.py
MPackSummary class class MPackSummary L129–148 → moved to muse/core/mpack.py
ObjectPayload class class ObjectPayload L78–98 → moved to muse/core/mpack.py
PushResult class class PushResult L220–226 → moved to muse/core/mpack.py
RemoteInfo class class RemoteInfo L211–218 → moved to muse/core/mpack.py
SnapshotDeltaDict class class SnapshotDeltaDict L150–176 → moved to muse/core/mpack.py
WireTag class class WireTag L100–107 → moved to muse/core/mpack.py
_ObjectPayloadBase class class _ObjectPayloadBase L72–76 → moved to muse/core/mpack.py
_WalkResult class class _WalkResult L258–281 → moved to muse/core/mpack.py
_apply_snapshot_deltas function function _apply_snapshot_deltas L472–538 → moved to muse/core/mpack.py
_build_snapshot_deltas function function _build_snapshot_deltas L419–469 → moved to muse/core/mpack.py
_tags_for_commits function function _tags_for_commits L646–663 → moved to muse/core/mpack.py
apply_mpack function function apply_mpack L830–1019 → moved to muse/core/mpack.py
build_mpack function function build_mpack L665–771 → moved to muse/core/mpack.py
build_mpack_from_walk function function build_mpack_from_walk L541–644 → moved to muse/core/mpack.py
collect_object_ids function function collect_object_ids L777–824 → moved to muse/core/mpack.py
collect_object_ids_from_deltas function function collect_object_ids_from_deltas L400–416 → moved to muse/core/mpack.py
collect_object_ids_from_walk function function collect_object_ids_from_walk L392–397 → moved to muse/core/mpack.py
BranchHeads import import BranchHeads L48–48
CommitDict import import CommitDict L49–49
CommitRecord import import CommitRecord L49–49
MAX_OBJECT_WRITE_BYTES import import MAX_OBJECT_WRITE_BYTES L42–42
MAX_PACK_OBJECTS import import MAX_PACK_OBJECTS L42–42
MissingParentError import import MissingParentError L49–49
ObjectState import import ObjectState L39–39
SnapshotDict import import SnapshotDict L49–49
SnapshotRecord import import SnapshotRecord L49–49
TagDict import import TagDict L49–49
TagRecord import import TagRecord L49–49
TypedDict import import TypedDict L36–36
collections import import collections L32–32 → moved to muse/core/mpack.py
compute_snapshot_id import import compute_snapshot_id L41–41 → moved to muse/core/mpack.py
datetime import import datetime L33–33 → moved to muse/core/mpack.py
get_all_tags import import get_all_tags L49–49
get_tags_for_commit import import get_tags_for_commit L49–49
iter_ancestors import import iter_ancestors L38–38 → moved to muse/core/mpack.py
load_promisor_remotes import import load_promisor_remotes L39–39
logging import import logging L34–34 → moved to muse/core/mpack.py
object_state import import object_state L39–39 → moved to muse/core/mpack.py
pathlib import import pathlib L35–35 → moved to muse/core/mpack.py
read_commit import import read_commit L49–49
read_object import import read_object L40–40
read_snapshot import import read_snapshot L49–49
short_id import import short_id L48–48 → moved to muse/core/mpack.py
validate_object_id import import validate_object_id L42–42
validate_workspace_path import import validate_workspace_path L42–42 → moved to muse/core/mpack.py
write_commit import import write_commit L49–49
write_object import import write_object L40–40 → moved to muse/core/mpack.py
write_snapshot import import write_snapshot L49–49
write_tag import import write_tag L49–49 → moved to muse/core/mpack.py
logger variable variable logger L66–66 → moved to muse/core/mpack.py
stream_object_chunks function function stream_object_chunks L362–390 → moved to muse/core/mpack.py
walk_commits function function walk_commits L283–360 → moved to muse/core/mpack.py
~ muse/cli/commands/pull.py .py 2 symbols modified
~ muse/core/mpack.py .py 53 symbols added, 45 symbols removed, 3 symbols modified
FRAME_ACK variable variable FRAME_ACK L150–150 → moved to muse/core/mwp.py
FRAME_COMMIT_PACK variable variable FRAME_COMMIT_PACK L145–145 → moved to muse/core/mwp.py
FRAME_END variable variable FRAME_END L146–146 → moved to muse/core/mwp.py
FRAME_ERROR variable variable FRAME_ERROR L148–148 → moved to muse/core/mwp.py
FRAME_HEADER variable variable FRAME_HEADER L143–143 → moved to muse/core/mwp.py
FRAME_OBJECT variable variable FRAME_OBJECT L144–144 → moved to muse/core/mwp.py
FRAME_PROGRESS variable variable FRAME_PROGRESS L147–147 → moved to muse/core/mwp.py
FRAME_RESULT variable variable FRAME_RESULT L149–149 → moved to muse/core/mwp.py
MPACK_CONTENT_TYPE variable variable MPACK_CONTENT_TYPE L105–105 → moved to muse/core/mwp.py
MPACK_VERSION variable variable MPACK_VERSION L104–104 → moved to muse/core/mwp.py
MPackAckFrame class class MPackAckFrame L262–272 → moved to muse/core/mwp.py
MPackCommitPackFrame class class MPackCommitPackFrame L212–217 → moved to muse/core/mwp.py
MPackEndFrame class class MPackEndFrame L219–229 → moved to muse/core/mwp.py
MPackErrorFrame class class MPackErrorFrame L242–251 → moved to muse/core/mwp.py
MPackHeaderFrame class class MPackHeaderFrame L161–192 → moved to muse/core/mwp.py
MPackObjectFrame class class MPackObjectFrame L194–210 → moved to muse/core/mwp.py
MPackProgressFrame class class MPackProgressFrame L231–240 → moved to muse/core/mwp.py
MPackResultFrame class class MPackResultFrame L253–260 → moved to muse/core/mwp.py
MPackStreamReader class class MPackStreamReader L677–775 → moved to muse/core/mwp.py
__init__ method method __init__ L706–717 → moved to muse/core/mwp.py
decompress_object method method decompress_object L745–775 → moved to muse/core/mwp.py
feed method method feed L719–727 → moved to muse/core/mwp.py
frames method method frames L729–743 → moved to muse/core/mwp.py
MPackStreamWriter class class MPackStreamWriter L321–671 → moved to muse/core/mwp.py
write_ack method method write_ack L651–671 → moved to muse/core/mwp.py
write_commit_pack method method write_commit_pack L545–572 → moved to muse/core/mwp.py
write_end method method write_end L574–591 → moved to muse/core/mwp.py
write_error method method write_error L612–625 → moved to muse/core/mwp.py
write_header method method write_header L348–437 → moved to muse/core/mwp.py
write_object method method write_object L503–543 → moved to muse/core/mwp.py
write_object_raw method method write_object_raw L439–501 → moved to muse/core/mwp.py
write_progress method method write_progress L597–610 → moved to muse/core/mwp.py
write_result method method write_result L627–649 → moved to muse/core/mwp.py
MuseWireFrameWriter class class MuseWireFrameWriter L784–824 → moved to muse/core/mwp.py
wrap method method wrap L805–824 → moved to muse/core/mwp.py
WIRE_CONTENT_TYPE variable variable WIRE_CONTENT_TYPE L106–106 → moved to muse/core/mwp.py
WireFrameError class class WireFrameError L781–782 → moved to muse/core/mwp.py
_ALL_FRAME_TAGS variable variable _ALL_FRAME_TAGS L152–155 → moved to muse/core/mwp.py
_canonical_header_payload function function _canonical_header_payload L278–315 → moved to muse/core/mwp.py
apply_snapshot_delta function function apply_snapshot_delta L126–140 → moved to muse/core/mwp.py
compute_snapshot_delta function function compute_snapshot_delta L108–124 → moved to muse/core/mwp.py
Iterator import import Iterator L93–93 → moved to muse/core/mwp.py
MsgpackDict import import MsgpackDict L98–98 → moved to muse/core/mwp.py
msgpack import import msgpack L95–95 → moved to muse/core/mwp.py
struct import import struct L92–92 → moved to muse/core/mwp.py
+ ApplyResult class class ApplyResult L239–252 ← moved from muse/core/pack.py
+ BundleMeta class class BundleMeta L109–127 ← moved from muse/core/pack.py
+ FetchRequest class class FetchRequest L228–237 ← moved from muse/core/pack.py
+ MPackBundle class class MPackBundle L179–209 ← moved from muse/core/pack.py
+ MPackSummary class class MPackSummary L129–148 ← moved from muse/core/pack.py
+ ObjectPayload class class ObjectPayload L78–98 ← moved from muse/core/pack.py
+ PushResult class class PushResult L220–226 ← moved from muse/core/pack.py
+ RemoteInfo class class RemoteInfo L211–218 ← moved from muse/core/pack.py
+ SnapshotDeltaDict class class SnapshotDeltaDict L150–176 ← moved from muse/core/pack.py
+ WireTag class class WireTag L100–107 ← moved from muse/core/pack.py
+ _ObjectPayloadBase class class _ObjectPayloadBase L72–76 ← moved from muse/core/pack.py
+ _WalkResult class class _WalkResult L258–281 ← moved from muse/core/pack.py
+ _apply_snapshot_deltas function function _apply_snapshot_deltas L472–538 ← moved from muse/core/pack.py
+ _build_snapshot_deltas function function _build_snapshot_deltas L419–469 ← moved from muse/core/pack.py
+ _tags_for_commits function function _tags_for_commits L646–663 ← moved from muse/core/pack.py
+ apply_mpack function function apply_mpack L830–1019 ← moved from muse/core/pack.py
+ build_mpack function function build_mpack L665–771 ← moved from muse/core/pack.py
+ build_mpack_from_walk function function build_mpack_from_walk L541–644 ← moved from muse/core/pack.py
+ collect_object_ids function function collect_object_ids L777–824 ← moved from muse/core/pack.py
+ collect_object_ids_from_deltas function function collect_object_ids_from_deltas L400–416 ← moved from muse/core/pack.py
+ collect_object_ids_from_walk function function collect_object_ids_from_walk L392–397 ← moved from muse/core/pack.py
+ BranchHeads import import BranchHeads L48–48
+ CommitRecord import import CommitRecord L49–49
+ MAX_OBJECT_WRITE_BYTES import import MAX_OBJECT_WRITE_BYTES L42–42
+ MAX_PACK_OBJECTS import import MAX_PACK_OBJECTS L42–42
+ MissingParentError import import MissingParentError L49–49
+ ObjectState import import ObjectState L39–39
+ SnapshotRecord import import SnapshotRecord L49–49
+ TagDict import import TagDict L49–49
+ TagRecord import import TagRecord L49–49
+ collections import import collections L32–32 ← moved from muse/core/pack.py
+ compute_snapshot_id import import compute_snapshot_id L41–41 ← moved from muse/core/pack.py
+ datetime import import datetime L33–33 ← moved from muse/core/pack.py
+ get_all_tags import import get_all_tags L49–49
+ get_tags_for_commit import import get_tags_for_commit L49–49
+ iter_ancestors import import iter_ancestors L38–38 ← moved from muse/core/pack.py
+ load_promisor_remotes import import load_promisor_remotes L39–39
+ logging import import logging L34–34 ← moved from muse/core/pack.py
+ object_state import import object_state L39–39 ← moved from muse/core/pack.py
+ pathlib import import pathlib L35–35 ← moved from muse/core/pack.py
+ read_commit import import read_commit L49–49
+ read_object import import read_object L40–40
+ read_snapshot import import read_snapshot L49–49
+ short_id import import short_id L48–48 ← moved from muse/core/pack.py
+ validate_object_id import import validate_object_id L42–42
+ validate_workspace_path import import validate_workspace_path L42–42 ← moved from muse/core/pack.py
+ write_commit import import write_commit L49–49
+ write_object import import write_object L40–40 ← moved from muse/core/pack.py
+ write_snapshot import import write_snapshot L49–49
+ write_tag import import write_tag L49–49 ← moved from muse/core/pack.py
+ logger variable variable logger L66–66 ← moved from muse/core/pack.py
+ stream_object_chunks function function stream_object_chunks L362–390 ← moved from muse/core/pack.py
+ walk_commits function function walk_commits L283–360 ← moved from muse/core/pack.py
~ tests/test_cli_inspect.py .py 1 symbol modified
~ tests/test_cmd_ls_remote.py .py 1 symbol modified
~ tests/test_core_transport.py .py 2 symbols modified
~ tests/test_mpack_frames.py .py 62 symbols modified
~ _doc
~ tests/test_wire_step2a_pack.py .py 1 symbol modified
← Older Oldest on dev
All commits
Newer → Latest on dev

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