* Handle unknown ask types.
(ts: number, ask: ClineAsk, text: string)
| 270 | * Handle unknown ask types. |
| 271 | */ |
| 272 | private async handleUnknownAsk(ts: number, ask: ClineAsk, text: string): Promise<AskHandleResult> { |
| 273 | if (this.nonInteractive) { |
| 274 | if (text) { |
| 275 | this.outputManager.output(`\n[${ask}]`, text) |
| 276 | } |
| 277 | return { handled: true } |
| 278 | } |
| 279 | |
| 280 | return await this.handleGenericApproval(ts, ask, text) |
| 281 | } |
| 282 | |
| 283 | // =========================================================================== |
| 284 | // Specific Ask Handlers |
no test coverage detected