MCPcopy Index your code
hub / github.com/wshobson/agents / discover_plugins

Function discover_plugins

plugins/plugin-eval/scripts/eval_all.py:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def discover_plugins() -> list[Path]:
56 return sorted(
57 p
58 for p in PLUGINS_DIR.iterdir()
59 if p.is_dir() and (p / ".claude-plugin" / "plugin.json").exists()
60 )
61
62
63def row_from_result(name: str, result: PluginEvalResult, duration_ms: int) -> PluginRow:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected