Returns directories to search for the repository root, derived from the parsed event, if the agent's hooks do not run with the workspace as the process working directory. Most agents execute hooks in the workspace, so the default (`None`) means "resolve from the current directory". Antigravity executes plugin hooks with the plugin's install directory as cwd, so its adapter returns the event's `wo
(&self, event: &TurnEvent)
| 279 | /// adapter returns the event's `workspacePaths` instead. The first |
| 280 | /// directory containing a repository (or sandbox pointer) wins. |
| 281 | fn repo_root_hints(&self, event: &TurnEvent) -> Option<Vec<std::path::PathBuf>> { |
| 282 | let _ = event; |
| 283 | None |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | // AgentRegistry |
nothing calls this directly
no outgoing calls
no test coverage detected