* Registers a user input handler for ask_user requests. * * When the agent needs input from the user (via ask_user tool), * this handler is called to provide the response. * * @param handler - The user input handler function, or undefined to remove the handler * @intern
(handler?: UserInputHandler)
| 1117 | * @internal This method is typically called internally when creating a session. |
| 1118 | */ |
| 1119 | registerUserInputHandler(handler?: UserInputHandler): void { |
| 1120 | this.userInputHandler = handler; |
| 1121 | } |
| 1122 | |
| 1123 | /** |
| 1124 | * Registers hook handlers for session lifecycle events. |
no outgoing calls
no test coverage detected