pub struct DaemonHook {
pub memory: InMemory,
pub skills: SkillHandler,
pub mcp: McpHandler,
}Expand description
Stateful Hook implementation for the daemon.
Composes memory, skill, and MCP sub-hooks. Each sub-hook
self-registers its tools via on_register_tools.
Fields§
§memory: InMemory§skills: SkillHandler§mcp: McpHandlerImplementations§
Trait Implementations§
Source§impl Hook for DaemonHook
impl Hook for DaemonHook
Source§fn on_build_agent(&self, config: AgentConfig) -> AgentConfig
fn on_build_agent(&self, config: AgentConfig) -> AgentConfig
Source§async fn on_register_tools(&self, tools: &mut ToolRegistry)
async fn on_register_tools(&self, tools: &mut ToolRegistry)
Called by
Runtime::new() to register tools into the shared registry. Read moreAuto Trait Implementations§
impl !Freeze for DaemonHook
impl !RefUnwindSafe for DaemonHook
impl Send for DaemonHook
impl Sync for DaemonHook
impl Unpin for DaemonHook
impl UnsafeUnpin for DaemonHook
impl !UnwindSafe for DaemonHook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more