Skip to main content

Module json_config

Module json_config 

Source
Expand description

Hooks JSON configuration loading — mirrors the MCP config pattern.

Hooks are configured in JSON files:

  • $ATOMCODE_HOME/hooks.json — global hooks
  • <project>/.hooks.json — project-level hooks (override global by name)

Project hooks override global hooks with the same name. Hooks with "disabled": true are skipped.

Functions§

load_hooks_config
Load and merge hooks from global ($ATOMCODE_HOME/hooks.json) and project (.hooks.json) config files.