(agent: {
source: SettingSource
agentType: string
})
| 145 | * Used when creating new agent files |
| 146 | */ |
| 147 | export function getNewAgentFilePath(agent: { |
| 148 | source: SettingSource |
| 149 | agentType: string |
| 150 | }): string { |
| 151 | const dirPath = getAgentDirectoryPath(agent.source) |
| 152 | return join(dirPath, `${agent.agentType}.md`) |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Gets the actual file path for an agent (handles filename vs agentType mismatch) |
no test coverage detected