* Register a callback invoked when a can_use_tool control_response arrives * from the SDK consumer (via stdin). Used by the bridge to cancel the * stale permission prompt on the remote client when the SDK consumer wins the race.
(
callback: ((requestId: string) => void) | undefined,
)
| 326 | * stale permission prompt on the remote client when the SDK consumer wins the race. |
| 327 | */ |
| 328 | setOnControlRequestResolved( |
| 329 | callback: ((requestId: string) => void) | undefined, |
| 330 | ): void { |
| 331 | this.onControlRequestResolved = callback |
| 332 | } |
| 333 | |
| 334 | private async processLine( |
| 335 | line: string, |
no outgoing calls
no test coverage detected