(mode: CursorPermissionMode | undefined)
| 11 | } |
| 12 | |
| 13 | export function toCursorAcpMode(mode: CursorPermissionMode | undefined): CursorAcpMode { |
| 14 | if (mode === 'plan') return 'plan'; |
| 15 | if (mode === 'ask') return 'ask'; |
| 16 | if (mode === 'debug') return 'debug'; |
| 17 | return 'agent'; |
| 18 | } |
| 19 | |
| 20 | function resolveAcpModeConfigValue( |
| 21 | mode: CursorPermissionMode | undefined, |
no outgoing calls
no test coverage detected