(model: string | null | undefined)
| 11 | } |
| 12 | |
| 13 | function isDefaultSpawnModel(model: string | null | undefined): boolean { |
| 14 | if (!model) return true; |
| 15 | const normalized = model.trim().toLowerCase(); |
| 16 | return normalized === 'auto' || normalized === 'default' || normalized === 'default[]'; |
| 17 | } |
| 18 | |
| 19 | export function createCursorAcpBackend(opts: { cwd: string; model?: string | null }): AcpSdkBackend { |
| 20 | const args = ['acp']; |
no outgoing calls
no test coverage detected