| 177 | #[derive(Debug, Deserialize)] |
| 178 | #[allow(dead_code)] |
| 179 | struct AfterAgentInput { |
| 180 | #[serde(default)] |
| 181 | session_id: Option<String>, |
| 182 | #[serde(default)] |
| 183 | transcript_path: Option<String>, |
| 184 | #[serde(default)] |
| 185 | prompt: Option<String>, |
| 186 | #[serde(default)] |
| 187 | prompt_response: Option<String>, |
| 188 | #[serde(default)] |
| 189 | stop_hook_active: Option<bool>, |
| 190 | } |
| 191 | |
| 192 | /// JSON input for BeforeTool hook (PreToolUse). |
| 193 | #[derive(Debug, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected