tracevault_cli/hooks/
amp.rs1use std::path::Path;
2use tracevault_protocol::streaming::StreamEventRequest;
3
4use super::HookAdapter;
5
6pub struct AmpAdapter;
10
11impl HookAdapter for AmpAdapter {
12 fn tool_name(&self) -> &str {
13 "amp"
14 }
15
16 fn parse_event(&self, _raw: &str) -> Result<StreamEventRequest, String> {
17 Err("Amp capture uses the bundled plugin + stamp_agent".to_string())
18 }
19
20 fn parse_transcript(&self, _path: &Path) -> Result<Vec<serde_json::Value>, String> {
21 Err("Amp capture uses the bundled plugin + stamp_agent".to_string())
22 }
23}