* 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 claude.ai when the SDK consumer wins the race.
(
callback: ((requestId: string) => void) | undefined,
)
| 325 | * stale permission prompt on claude.ai when the SDK consumer wins the race. |
| 326 | */ |
| 327 | setOnControlRequestResolved( |
| 328 | callback: ((requestId: string) => void) | undefined, |
| 329 | ): void { |
| 330 | this.onControlRequestResolved = callback |
| 331 | } |
| 332 | |
| 333 | private async processLine( |
| 334 | line: string, |
no outgoing calls
no test coverage detected