MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasAccessToIDEExtensionDiffFeature

Function hasAccessToIDEExtensionDiffFeature

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

Source from the content-addressed store, hash-verified

895}
896
897export function hasAccessToIDEExtensionDiffFeature(
898 mcpClients: MCPServerConnection[],
899): boolean {
900 // Check if there's a connected IDE client in the provided MCP clients list
901 return mcpClients.some(
902 client => client.type === 'connected' && client.name === 'ide',
903 )
904}
905
906const EXTENSION_ID =
907 isInternalBuild()

Callers 2

ConfigFunction · 0.85
useDiffInIDEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected