( remoteTool: string, bridgeResult: BridgeToolResult, )
| 49 | } |
| 50 | |
| 51 | function bridgeResultToDaemonResult( |
| 52 | remoteTool: string, |
| 53 | bridgeResult: BridgeToolResult, |
| 54 | ): DaemonToolResult { |
| 55 | const result = toBridgeCallResultDomainResult(bridgeResult, remoteTool); |
| 56 | return { |
| 57 | structuredOutput: { |
| 58 | schema: 'xcodebuildmcp.output.xcode-bridge-call-result', |
| 59 | schemaVersion: '3', |
| 60 | result, |
| 61 | }, |
| 62 | isError: result.didError, |
| 63 | nextStepParams: bridgeResult.nextStepParams, |
| 64 | }; |
| 65 | } |
| 66 | |
| 67 | async function toolResponseToDaemonResult( |
| 68 | remoteTool: string, |
no test coverage detected