MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / has

Function has

src/windsurf.js:769–769  ·  view source on GitHub ↗
(...aliases)

Source from the content-addressed store, hash-verified

767 .map(v => String(v || '').trim())
768 .filter(Boolean));
769 const has = (...aliases) => aliases.some(name => names.has(name));
770 return {
771 runCommand: has('run_command', 'shell_command', 'shell', 'Bash'),
772 viewFile: has('view_file', 'read_file', 'Read'),

Callers 1

nativeToolConfigSwitchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected