UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

11 lines (10 loc) 321 B
//#region src/hooks/config.ts function resolveHookConfig(config, hookKey) { const hooks = config?.hooks?.internal?.entries; if (!hooks || typeof hooks !== "object") return; const entry = hooks[hookKey]; if (!entry || typeof entry !== "object") return; return entry; } //#endregion export { resolveHookConfig as t };