MCPcopy Index your code
hub / github.com/codeaashu/claude-code / hasAccessToIDEExtensionDiffFeature

Function hasAccessToIDEExtensionDiffFeature

src/utils/ide.ts:838–845  ·  view source on GitHub ↗
(
  mcpClients: MCPServerConnection[],
)

Source from the content-addressed store, hash-verified

836}
837
838export function hasAccessToIDEExtensionDiffFeature(
839 mcpClients: MCPServerConnection[],
840): boolean {
841 // Check if there's a connected IDE client in the provided MCP clients list
842 return mcpClients.some(
843 client => client.type === 'connected' && client.name === 'ide',
844 )
845}
846
847const EXTENSION_ID =
848 process.env.USER_TYPE === 'ant'

Callers 2

ConfigFunction · 0.85
useDiffInIDEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected