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

supercharge(grep): -j alias, exit_code, duration_ms, TypedDict, docstring

- Add from typing import Any, TypedDict - Add from muse.core.timing import start_timer - Add _GrepOutputJson TypedDict with source_ref, working_tree, pattern, total_matches, results, exit_code, duration_ms annotations - Add -j alias for --json (mutually exclusive group preserved) - Add elapsed = start_timer() at top of run() - Emit exit_code=0 and duration_ms=elapsed() in JSON output - Expand run() docstring with JSON envelope section - Add 41-test supercharge suite covering all agent-usability gaps

sha256:fba9cdc0fc3fdb4612115eb9ef03e75a08ef59a34f405051aa841114d5c73218 sha
sha256:ffbd4d881d2b85198c6c5b4de09c0af6bc9d758898e3f2df89c08ee43769d560 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:fba9cdc0fc3fdb4612115eb9ef03e75a08ef59a34f405051aa841114d5c73218 --body "your comment"