zeroclaw/src/hooks/mod.rs
xj d95b2af649 feat(hooks): add CommandLoggerHook builtin
Add a built-in hook that logs tool calls for auditing, recording
tool name, duration, and success status with timestamps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 13:34:09 +08:00

11 lines
344 B
Rust

pub mod builtin;
mod runner;
mod traits;
pub use runner::HookRunner;
// HookHandler and HookResult are part of the crate's public hook API surface.
// They may appear unused internally but are intentionally re-exported for
// external integrations and future plugin authors.
#[allow(unused_imports)]
pub use traits::{HookHandler, HookResult};