Hook configuration for a running agent.
Holds the four resolved hook module atoms and the sidecar node used for
RPC dispatch. All fields are set once in init/1 and only read afterwards.
The dispatch wrappers (Planck.Agent.Hooks.Compactor, .Persistence,
.Prompt, .TurnEnd) take this struct (or its individual fields) instead
of the full agent state.
Summary
Functions
Return after_prompt/1 injection text, or nil.
Return before_prompt/1 injection text, or nil.
Build a Hooks struct from agent start opts.
Types
Functions
Return after_prompt/1 injection text, or nil.
Return before_prompt/1 injection text, or nil.
Build a Hooks struct from agent start opts.