Returns the response body the agent expects on hook stdout, if any. Most agents ignore hook stdout (or display it to the user), so the default is `None` — stay quiet. Some agents read a JSON object from stdout as part of their hook contract (e.g., Antigravity's `PostToolUse` expects `{}`); adapters for those agents return the body to print after the event is dispatched.
(&self, hook_type: HookType)
| 265 | /// `PostToolUse` expects `{}`); adapters for those agents return the |
| 266 | /// body to print after the event is dispatched. |
| 267 | fn stdout_response(&self, hook_type: HookType) -> Option<&'static str> { |
| 268 | let _ = hook_type; |
| 269 | None |
| 270 | } |
| 271 | |
| 272 | /// Returns directories to search for the repository root, derived from |
| 273 | /// the parsed event, if the agent's hooks do not run with the workspace |
nothing calls this directly
no outgoing calls
no test coverage detected