* Register a callback invoked whenever a can_use_tool control_request * is written to stdout. Used by the bridge to forward permission * requests to the remote client.
(
callback: ((request: SDKControlRequest) => void) | undefined,
)
| 315 | * requests to the remote client. |
| 316 | */ |
| 317 | setOnControlRequestSent( |
| 318 | callback: ((request: SDKControlRequest) => void) | undefined, |
| 319 | ): void { |
| 320 | this.onControlRequestSent = callback |
| 321 | } |
| 322 | |
| 323 | /** |
| 324 | * Register a callback invoked when a can_use_tool control_response arrives |
no outgoing calls
no test coverage detected