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>
11 lines
344 B
Rust
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};
|