pub async fn call_post_tool(
hooks: &Arc<dyn Hooks>,
name: &str,
result: &str,
cancel: &CancellationToken,
) -> Option<String>Expand description
PostToolUse under the timeout and the cancel token, with the payload cap
applied HERE (pin #1) rather than trusted to each impl. Both fallbacks are
None: on a timeout or an interrupt the model sees the tool’s real output,
never a half-applied proposal.