(response: {
id: string
approved: boolean
})
| 226 | await client.addToolResult(result) |
| 227 | } |
| 228 | const addToolApprovalResponse = async (response: { |
| 229 | id: string |
| 230 | approved: boolean |
| 231 | }) => { |
| 232 | await client.addToolApprovalResponse(response) |
| 233 | } |
| 234 | |
| 235 | // eslint-disable-next-line no-restricted-syntax -- return shape diverges from conditional InjectChatResult<TTools, TSchema>; TS can't structurally narrow the TSchema-gated partial/final signals |
| 236 | return { |
nothing calls this directly
no test coverage detected