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

Interface HookCommand

src/types/hooks.ts:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 */
4
5export interface HookCommand {
6 type: 'command';
7 command: string;
8 timeout?: number; // Optional timeout in seconds (default: 60)
9}
10
11export interface HookMatcher {
12 matcher?: string; // Pattern to match tool names (regex supported)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected