( invocationSignal: AbortSignal, childSignal: AbortSignal | undefined, )
| 311 | 'Client Capability tools require the Bypass execution boundary because their client-side effects cannot be sandboxed by the Host. Switch this Session to Bypass and retry.'; |
| 312 | |
| 313 | function composeChildAbortSignal( |
| 314 | invocationSignal: AbortSignal, |
| 315 | childSignal: AbortSignal | undefined, |
| 316 | ): AbortSignal { |
| 317 | if (!childSignal || childSignal === invocationSignal) return invocationSignal; |
| 318 | return AbortSignal.any([invocationSignal, childSignal]); |
| 319 | } |
| 320 | |
| 321 | export interface ToolRuntimeInput { |
| 322 | sessionId: string; |
no outgoing calls
no test coverage detected