GetEngineSubAgentDir returns the relative directory (from repo root / tmp base) used to store inline sub-agent files for a given engine. The directory is derived from the engine's AgentManifestPathPrefixes: claude → .claude/agents codex → .codex/agents gemini → .gemini/agents
(engineID string)
| 59 | // pi → .pi/agents |
| 60 | // others → .github/agents (Copilot default) |
| 61 | func GetEngineSubAgentDir(engineID string) string { |
| 62 | return engineConfigBaseDir(engineID) + "/agents" |
| 63 | } |