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

feat(deps): supercharge for agent usability

- Add -j alias for --json in register() - Add from typing import TypedDict + from muse.core.timing import start_timer - Add _DepsFileJson and _DepsSymbolJson TypedDicts documenting all fields - Add elapsed = start_timer() at top of run() - Add exit_code=0 and duration_ms=elapsed() to all 6 JSON emit paths: file-forward, file-reverse, symbol-forward-depth1, symbol-forward-transitive, symbol-reverse-depth1, symbol-reverse-transitive - Expand run() docstring with JSON envelope section (exit_code, duration_ms) - Add tests/test_deps_supercharge.py: 45 tests across 7 classes (TestJsonAlias, TestDurationMs, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization, TestPerformance)

sha256:06f2d3d2ce67f2a55e2e533132ba88a8c531321a49ed68e17bbcd906a108759e sha
sha256:4b4e832a2a5ee365a35a20a1f377807857b26305a81d450eb334ad2f5de6de99 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:06f2d3d2ce67f2a55e2e533132ba88a8c531321a49ed68e17bbcd906a108759e --body "your comment"