use std::path::Path;
use tracevault_protocol::streaming::StreamEventRequest;
use super::HookAdapter;
pub struct OpenCodeAdapter;
impl HookAdapter for OpenCodeAdapter {
fn tool_name(&self) -> &str {
"opencode"
}
fn parse_event(&self, _raw: &str) -> Result<StreamEventRequest, String> {
Err("OpenCode capture uses the bundled plugin + stamp_agent".to_string())
}
fn parse_transcript(&self, _path: &Path) -> Result<Vec<serde_json::Value>, String> {
Err("OpenCode capture uses the bundled plugin + stamp_agent".to_string())
}
}