Skip to main content

fased hooks

Manage local lifecycle hooks from the CLI. Browser equivalent: Extensions > Hooks. Agent memory controls live in Agent > Memory. Related:

Inspect hooks

list shows discovered hooks from workspace, managed, and bundled sources. check summarizes eligibility.

Enable or disable

Restart the gateway after changing enabled hook code if the UI or CLI says the runtime has not reloaded. Plugin-owned hooks may show as plugin:<id>. Enable or disable the plugin instead of editing those hooks directly.

Install hook packs

Rules:
  • npm specs are registry-only
  • local folders and archives are supported for operator-controlled installs
  • Git, URL, and arbitrary remote specs are rejected
  • dependency installs run with --ignore-scripts
  • --pin records npm installs as an exact resolved package version
Update npm-backed hook packs:

Bundled hooks

Review rule

Hooks are executable code inside the gateway. Review hook source and dependency trees before enabling third-party hook packs.