gabriel / muse public
feat patch code blame dev
AI Agent gabriel · 55 days ago · Apr 19, 2026 · Diff

feat(code blame): supercharge for agents — -j alias, exit_code, duration_ms

- Add `-j` as shorthand alias for `--json` (store_true, dest=as_json) - Import start_timer; add elapsed = start_timer() at top of run() - Add exit_code: int and duration_ms: float to _BlameResultJson TypedDict - Emit exit_code=0 and duration_ms=elapsed() in the single JSON path - Update run() docstring to document exit_code and duration_ms fields - Add tests/test_blame_supercharge.py (35 tests across 7 classes): TestJsonAlias, TestDurationMs, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization, TestPerformance

sha256:a24088171a2495efed994f4cec32a1d94d4599c327ceb369f1844ba7ebbe9c2c sha
sha256:385bd30fefa6f9e2436783f0e7bfd1511326a7152850ab732a76da391e6092c6 snapshot
← 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:a24088171a2495efed994f4cec32a1d94d4599c327ceb369f1844ba7ebbe9c2c --body "your comment"