* Handles an exitPlanMode.request callback from the runtime. * @internal
(request: ExitPlanModeRequest)
| 967 | * @internal |
| 968 | */ |
| 969 | async _handleExitPlanModeRequest(request: ExitPlanModeRequest): Promise<ExitPlanModeResult> { |
| 970 | if (!this.exitPlanModeHandler) { |
| 971 | return { approved: true }; |
| 972 | } |
| 973 | |
| 974 | return await this.exitPlanModeHandler(request, { sessionId: this.sessionId }); |
| 975 | } |
| 976 | |
| 977 | /** |
| 978 | * Handles an autoModeSwitch.request callback from the runtime. |
no outgoing calls
no test coverage detected