MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isPreToolHookSummary

Function isPreToolHookSummary

src/utils/collapseReadSearch.ts:370–378  ·  view source on GitHub ↗
(
  msg: RenderableMessage,
)

Source from the content-addressed store, hash-verified

368}
369
370function isPreToolHookSummary(
371 msg: RenderableMessage,
372): msg is SystemStopHookSummaryMessage {
373 return (
374 msg.type === 'system' &&
375 msg.subtype === 'stop_hook_summary' &&
376 msg.hookLabel === 'PreToolUse'
377 )
378}
379
380/**
381 * Check if a message should be skipped (not break the group, just passed through).

Callers 1

collapseReadSearchGroupsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected