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

feat: supercharge muse code index — exit_code, duration_ms on all sub-commands

- Add start_timer import and elapsed() calls to run_status, run_rebuild, run_purge - status --json: wrap bare list in object with 'indexes', 'exit_code', 'duration_ms' (schema change — agents no longer need to iterate a raw list to check envelope) - rebuild --json: add exit_code=0, duration_ms to existing _RebuildResult TypedDict - purge --json: add exit_code=0, duration_ms via new _PurgeResult TypedDict - Add _StatusResult and _PurgeResult TypedDicts; expand _RebuildResult with docstring - Expand run_status, run_rebuild, run_purge docstrings with envelope section - Update module-level docstring to show new status --json envelope shape - Add test_index_supercharge.py — 49 tests across 5 classes

sha256:b41227c206f56d5e3b870397d6bef289d8d276bf36cd19229cb305c62215d232 sha
sha256:bf8f7d008e3b12a3686644ad4d735deb01a875a8b2b8c1ebb0a2e67792385332 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:b41227c206f56d5e3b870397d6bef289d8d276bf36cd19229cb305c62215d232 --body "your comment"