MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / hook_codex_post_tool_use

Function hook_codex_post_tool_use

src/hooks/codex.rs:180–186  ·  view source on GitHub ↗

Codex `PostToolUse` hook handler used to keep the graph fresh.

()

Source from the content-addressed store, hash-verified

178
179/// Codex `PostToolUse` hook handler used to keep the graph fresh.
180pub 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///

Callers 1

handle_hook_commandFunction · 0.85

Calls 3

record_hook_invokedFunction · 0.85
notify_post_tool_useFunction · 0.85

Tested by

no test coverage detected