docs: clarify hook config and feishu policy

This commit is contained in:
Peter Steinberger
2026-04-27 23:30:52 +01:00
parent f3e8c50df3
commit ccfa0c1964
4 changed files with 10 additions and 5 deletions

View File

@@ -52,6 +52,11 @@ export default definePluginEntry({
Hook handlers run sequentially in descending `priority`. Same-priority hooks
keep registration order.
Each hook receives `event.context.pluginConfig`, the resolved config for the
plugin that registered that handler. Use it for hook decisions that need
current plugin options; OpenClaw injects it per handler without mutating the
shared event object seen by other plugins.
## Hook catalog
Hooks are grouped by the surface they extend. Names in **bold** accept a