feat(cat): supercharge for agents — -j alias, exit_code, _CatOutputJson TypedDict
- Add -j alias to --json (--format json) - Add _CatOutputJson TypedDict documenting the full JSON envelope - Add exit_code to JSON output (0=success, 1=any error present) - Update run() docstring with exit_code and duration_ms documentation - Extend test_cat_supercharge.py with 27 new tests: TestJsonAlias, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization - All 104 cat tests pass (77 existing + 27 new)
sha256:5cd5818a2d8e51ae53e2937faa3eadaafbac12350ce248987c9e0ba3d188d644
sha
sha256:e5ebfcbae53783f47e150617b7cf51d30c23ff90b50b6db62f7b9661e6e9d1f9
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:5cd5818a2d8e51ae53e2937faa3eadaafbac12350ce248987c9e0ba3d188d644 --body "your comment"
No comments yet. Be the first to start the discussion.