isPreToolHookSummary static method
Check if a message is a pre-tool hook summary.
Implementation
static bool isPreToolHookSummary(RenderableMessage msg) {
return msg.type == 'system' &&
msg.subtype == 'stop_hook_summary' &&
msg.hookLabel == 'PreToolUse';
}