Codex `PostToolUse` hook handler used to keep the graph fresh.
()
| 178 | |
| 179 | /// Codex `PostToolUse` hook handler used to keep the graph fresh. |
| 180 | pub async fn hook_codex_post_tool_use() -> i32 { |
| 181 | let event = read_hook_event!(); |
| 182 | let root = codex_project_root_from_event(&event); |
| 183 | record_hook_invoked(root.as_deref(), HintAgent::Codex, "PostToolUse", &event); |
| 184 | notify_post_tool_use(&CODEX_POST_TOOL_USE_SPEC, &event).await; |
| 185 | 0 |
| 186 | } |
| 187 | |
| 188 | /// Codex `PostCompact` hook handler. |
| 189 | /// |
no test coverage detected