|
Entropic 2.3.8
Local-first agentic inference engine
|
Processes tool directives via registry-based dispatch. More...
#include <entropic/core/directives.h>
Public Member Functions | |
| void | register_handler (entropic_directive_type_t dtype, DirectiveHandler handler) |
| Register a handler for a directive type. | |
| DirectiveResult | process (LoopContext &ctx, const std::vector< const Directive * > &directives) |
| Process a list of directives. | |
| void | set_hooks (const HookInterface &hooks) |
| Set the hook dispatch interface. | |
Processes tool directives via registry-based dispatch.
The engine registers handlers for each directive type. The processor iterates a directive list and dispatches each to the registered handler.
Definition at line 312 of file directives.h.
| DirectiveResult entropic::DirectiveProcessor::process | ( | LoopContext & | ctx, |
| const std::vector< const Directive * > & | directives | ||
| ) |
Process a list of directives.
Process a list of directives, dispatching to handlers.
| ctx | Current loop context. |
| directives | Typed directive list. |
| ctx | Current loop context. |
| directives | Typed directive list. |
Definition at line 39 of file directives.cpp.
| void entropic::DirectiveProcessor::register_handler | ( | entropic_directive_type_t | dtype, |
| DirectiveHandler | handler | ||
| ) |
Register a handler for a directive type.
| dtype | Directive type enum value. |
| handler | Handler function. |
| dtype | Directive type enum value. |
| handler | Handler function. |
Definition at line 25 of file directives.cpp.
|
inline |
Set the hook dispatch interface.
| hooks | Hook dispatch interface. @utility |
Definition at line 340 of file directives.h.