MCPcopy
hub / github.com/Fission-AI/OpenSpec / has

Method has

src/core/command-generation/registry.ts:102–104  ·  view source on GitHub ↗

* Check if an adapter is registered for a tool. * @param toolId - The tool identifier * @returns True if an adapter exists

(toolId: string)

Source from the content-addressed store, hash-verified

100 * @returns True if an adapter exists
101 */
102 static has(toolId: string): boolean {
103 return CommandAdapterRegistry.adapters.has(toolId);
104 }
105}

Callers 15

walkFilesFunction · 0.80
walkFunction · 0.80
assertRegistryParityFunction · 0.80
registry.test.tsFile · 0.80
state.test.tsFile · 0.80
stableWorkflowOrderFunction · 0.80
diffProfileStateFunction · 0.80

Calls

no outgoing calls

Tested by 3

walkFilesFunction · 0.64
walkFunction · 0.64
assertRegistryParityFunction · 0.64