pub trait HookAdapter: Send + Sync {
// Required methods
fn tool_name(&self) -> &str;
fn parse_event(&self, raw: &str) -> Result<StreamEventRequest, String>;
fn parse_transcript(&self, path: &Path) -> Result<Vec<Value>, String>;
}pub trait HookAdapter: Send + Sync {
// Required methods
fn tool_name(&self) -> &str;
fn parse_event(&self, raw: &str) -> Result<StreamEventRequest, String>;
fn parse_transcript(&self, path: &Path) -> Result<Vec<Value>, String>;
}