Compact CLI and MCP output by default#2
Open
andrei-hasna wants to merge 1 commit into
Open
Conversation
andrei-hasna
force-pushed
the
improve-compact-cli-output
branch
from
June 24, 2026 06:07
e90b611 to
14edb82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hooks list,hooks search,hooks docs, and log list/search/tail/errors now show capped, scannable summaries with detail hints.--limit,--all,--verbose, existing--json,hooks info <name>, and full docs withhooks docs <name> --verbose.compact:falseorverbose:truefull-detail escape hatches.bun:sqlitedirectly for the local hook event DB sotsc --noEmituses the DB type expected by migrations/retention.Before / After
Worst noisy command captured before this branch:
Current
hooks listdefault now starts as:Current
hooks docs gitguardnow previews useful content instead of dumping the full README:Compatibility
--jsonpaths for list/search/docs remain full machine-readable outputs.compact:falseorverbose:true.compact:false.Validation
bun run typecheckbun test(660 pass,0 fail)bun run buildAdversarial reviewer focused on CLI compatibility, output ergonomics, and token bloat; required findings were reconciled before opening this PR.