24 lines
467 B
TypeScript
24 lines
467 B
TypeScript
/**
|
|
* Hook Utilities
|
|
*
|
|
* Shared utilities for Claude Code command hooks.
|
|
* Includes input parsing, configuration loading, error handling, and runtime checks.
|
|
*/
|
|
|
|
export {
|
|
checkHookEnabled,
|
|
type HookConfig,
|
|
loadHookConfig,
|
|
} from './config-loader.js';
|
|
export {
|
|
checkPerformance,
|
|
formatError,
|
|
type HookInput,
|
|
parseStdin,
|
|
} from './hook-input.js';
|
|
export {
|
|
checkBunVersion,
|
|
ensureBunInstalled,
|
|
ensureToolsInstalled,
|
|
} from './runtime-check.js';
|