gabriel / muse public
refactor patch dev
AI Agent gabriel · 157 days ago · Apr 19, 2026 · Diff

refactor: [t] pull, push, query, query_history — EnvelopeJson TypedDicts

pull.py: _PullJson(TypedDict) → _PullJson(EnvelopeJson); add elapsed + make_envelope to all 9 _PullJson() call sites. push.py: _PushJson(TypedDict) → _PushJson(EnvelopeJson); add elapsed + make_envelope to all 5 _PushJson() call sites. query.py: _QueryJson/_AllCommitsJson → EnvelopeJson; drop schema_version/ exit_code/duration_ms fields + __version__ import; fix 2 dict-literal output sites. query_history.py: all 3 TypedDicts → EnvelopeJson; drop schema_version/ exit_code/duration_ms + __version__ import; fix 3 dict-literal output sites.

sha256:7600dcdeeb29afe69be00b44c709b021d2f30ae9fc7a60da4158d8dc7aa5046e sha
+10 ~14 −2 symbols
sha256:cee52e9063bf9afec0949fb1225f15d727dd73c8457b55daac585c5785c45499 snapshot
+10
symbols added
~14
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 26 symbols
~ muse/cli/commands/pull.py .py 3 symbols added, 2 symbols modified
+ EnvelopeJson import import EnvelopeJson L51–51
+ make_envelope import import make_envelope L51–51
+ start_timer import import start_timer L58–58
~ run
~ muse/cli/commands/push.py .py 3 symbols added, 2 symbols modified
+ EnvelopeJson import import EnvelopeJson L87–87
+ make_envelope import import make_envelope L87–87
+ start_timer import import start_timer L101–101
~ run
~ muse/cli/commands/query.py .py 2 symbols added, 1 symbol removed, 3 symbols modified
− __version__ import import __version__ L63–63
+ EnvelopeJson import import EnvelopeJson L64–64
+ make_envelope import import make_envelope L64–64
~ run
~ muse/cli/commands/query_history.py .py 2 symbols added, 1 symbol removed, 4 symbols modified
− __version__ import import __version__ L83–83
+ EnvelopeJson import import EnvelopeJson L84–84
+ make_envelope import import make_envelope L84–84
~ run
← 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:7600dcdeeb29afe69be00b44c709b021d2f30ae9fc7a60da4158d8dc7aa5046e --body "your comment"