()
| 149 | |
| 150 | return { |
| 151 | closeTabInIDE() { |
| 152 | const ideClient = getConnectedIdeClient(toolUseContext.options.mcpClients) |
| 153 | |
| 154 | if (!ideClient) { |
| 155 | return Promise.resolve() |
| 156 | } |
| 157 | |
| 158 | return closeTabInIDE(tabName, ideClient) |
| 159 | }, |
| 160 | showingDiffInIDE: shouldShowDiffInIDE && !hasError, |
| 161 | ideName: ideName, |
| 162 | hasError, |
no test coverage detected