()
| 54 | }, |
| 55 | shouldDefer: true, |
| 56 | isEnabled() { |
| 57 | // When --channels is active, ExitPlanMode is disabled (its approval |
| 58 | // dialog needs the terminal). Disable entry too so plan mode isn't a |
| 59 | // trap the model can enter but never leave. |
| 60 | if ( |
| 61 | (feature('KAIROS') || feature('KAIROS_CHANNELS')) && |
| 62 | getAllowedChannels().length > 0 |
| 63 | ) { |
| 64 | return false |
| 65 | } |
| 66 | return true |
| 67 | }, |
| 68 | isConcurrencySafe() { |
| 69 | return true |
| 70 | }, |
nothing calls this directly
no test coverage detected