* 获取基础命令
()
| 35 | /** |
| 36 | * 获取基础命令 |
| 37 | */ |
| 38 | const CURSOR_AGENT_COMMANDS = ['agent', 'cursor-agent'] as const; |
| 39 | |
| 40 | async function resolveCursorAgentCommand(): Promise<string | null> { |
| 41 | for (const command of CURSOR_AGENT_COMMANDS) { |
| 42 | if (await which(command)) return command; |
no outgoing calls
no test coverage detected