Skip to content

loadHooksConfig

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/session/hook-registry.ts

Load a hooks config from a JSON file. Returns null if the file doesn't exist or can't be parsed.

Signature

ts
function loadHooksConfig(filePath: string): HooksConfig | null

Parameters

NameType
filePathstring

Returns: HooksConfig | null

Was this page helpful?

Download as PDF