(remoteTool: DynamicBridgeTool)
| 96 | } |
| 97 | |
| 98 | function createCliXcodeProxyTool(remoteTool: DynamicBridgeTool): ToolDefinition { |
| 99 | const cliSchema = jsonSchemaToToolSchemaShape(remoteTool.inputSchema); |
| 100 | |
| 101 | return { |
| 102 | cliName: toKebabCase(remoteTool.name), |
| 103 | mcpName: toLocalToolName(remoteTool.name), |
| 104 | workflow: 'xcode-ide', |
| 105 | description: remoteTool.description ?? '', |
| 106 | annotations: remoteTool.annotations, |
| 107 | mcpSchema: cliSchema, |
| 108 | cliSchema, |
| 109 | stateful: false, |
| 110 | xcodeIdeRemoteToolName: remoteTool.name, |
| 111 | handler: async (params, ctx): Promise<void> => { |
| 112 | return invokeRemoteToolOneShot(remoteTool.name, params, ctx); |
| 113 | }, |
| 114 | }; |
| 115 | } |
| 116 | |
| 117 | async function loadDaemonBackedXcodeProxyTools( |
| 118 | opts: BuildCliToolCatalogOptions, |
no test coverage detected