pub fn resolve_agents_dir(global: bool) -> Result<PathBuf>
Resolve the .agents/ directory.
.agents/
If global is true, returns ~/.agents/. Otherwise returns <cwd>/.agents/.
global
~/.agents/
<cwd>/.agents/