Initial commit
This commit is contained in:
23
hooks/utils/index.ts
Normal file
23
hooks/utils/index.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* 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';
|
||||
Reference in New Issue
Block a user