pub fn claude_post_tool_use_target(input: &str) -> Option<PostToolUseTarget>Expand description
Decide whether a Claude Code PostToolUse payload is worth compressing: a Bash call the PreToolUse hook didn’t already pipe through sqz, with text output that Claude Code hasn’t truncated. Claude Code only runs PostToolUse after a command exits 0; a failure goes to PostToolUseFailure, which can’t replace output.