( msg: RenderableMessage, )
| 4 | } from '../types/message.js' |
| 5 | |
| 6 | function isLabeledHookSummary( |
| 7 | msg: RenderableMessage, |
| 8 | ): msg is SystemStopHookSummaryMessage { |
| 9 | return ( |
| 10 | msg.type === 'system' && |
| 11 | msg.subtype === 'stop_hook_summary' && |
| 12 | msg.hookLabel !== undefined |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Collapses consecutive hook summary messages with the same hookLabel |
no outgoing calls
no test coverage detected