(workspaceId: string, toolCallId: string, result: unknown)
| 7782 | } |
| 7783 | |
| 7784 | answerDelegatedToolCall(workspaceId: string, toolCallId: string, result: unknown): Result<void> { |
| 7785 | try { |
| 7786 | delegatedToolCallManager.answer(workspaceId, toolCallId, result); |
| 7787 | return Ok(undefined); |
| 7788 | } catch (error) { |
| 7789 | const errorMessage = getErrorMessage(error); |
| 7790 | return Err(`Failed to answer delegated tool call: ${errorMessage}`); |
| 7791 | } |
| 7792 | } |
| 7793 | |
| 7794 | clearQueue(workspaceId: string, options?: { cancelReason?: string }): Result<void> { |
| 7795 | try { |
no test coverage detected