()
| 165 | }, |
| 166 | shouldDefer: true, |
| 167 | isEnabled() { |
| 168 | // When --channels is active the user is likely on Telegram/Discord, not |
| 169 | // watching the TUI. The plan-approval dialog would hang. Paired with the |
| 170 | // same gate on EnterPlanMode so plan mode isn't a trap. |
| 171 | if ( |
| 172 | (feature('KAIROS') || feature('KAIROS_CHANNELS')) && |
| 173 | getAllowedChannels().length > 0 |
| 174 | ) { |
| 175 | return false |
| 176 | } |
| 177 | return true |
| 178 | }, |
| 179 | isConcurrencySafe() { |
| 180 | return true |
| 181 | }, |
nothing calls this directly
no test coverage detected