astrid-hooks 0.10.2

Hook system for Astrid secure agent runtime
Documentation
//! Prelude module - commonly used types for convenient import.
//!
//! Use `use astrid_hooks::prelude::*;` to import all essential types.
//!
//! # Example
//!
//! ```rust,ignore
//! use astrid_hooks::prelude::*;
//!
//! let mut manager = HookManager::new();
//!
//! let hook = Hook::new(HookEvent::PreToolCall)
//!     .with_handler(HookHandler::Command {
//!         command: "echo".to_string(),
//!         args: vec!["Tool called: $TOOL_NAME".to_string()],
//!         env: Default::default(),
//!     });
//!
//! manager.register(hook);
//! ```

// Core hook types
pub use crate::{Hook, HookEvent, HookHandler};

// Result type
pub use crate::HookResult;