MCPcopy Create free account
hub / github.com/Noumena-Network/code / isPreToolHookSummary

Function isPreToolHookSummary

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

Source from the content-addressed store, hash-verified

396}
397
398function isPreToolHookSummary(
399 msg: RenderableMessage,
400): msg is SystemStopHookSummaryMessage {
401 return (
402 msg.type === 'system' &&
403 msg.subtype === 'stop_hook_summary' &&
404 msg.hookLabel === 'PreToolUse'
405 )
406}
407
408/**
409 * 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