(agent: {
source: SettingSource
agentType: string
})
| 90 | * Used when creating new agent files |
| 91 | */ |
| 92 | export function getNewAgentFilePath(agent: { |
| 93 | source: SettingSource |
| 94 | agentType: string |
| 95 | }): string { |
| 96 | const dirPath = getAgentDirectoryPath(agent.source) |
| 97 | return join(dirPath, `${agent.agentType}.md`) |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Gets the actual file path for an agent (handles filename vs agentType mismatch) |
no test coverage detected