MCPcopy Index your code
hub / github.com/winfunc/opcode / HookMatcher

Interface HookMatcher

src/types/hooks.ts:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11export interface HookMatcher {
12 matcher?: string; // Pattern to match tool names (regex supported)
13 hooks: HookCommand[];
14}
15
16export interface HooksConfiguration {
17 PreToolUse?: HookMatcher[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected