MCPcopy
hub / github.com/wshobson/agents / _source_command_count

Function _source_command_count

tools/tests/test_round_trip.py:53–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52
53def _source_command_count() -> int:
54 n = 0
55 for name in list_plugins():
56 plugin = load_plugin(name)
57 if plugin:
58 n += len(plugin.commands)
59 return n
60
61
62# ── Per-harness output checks ────────────────────────────────────────────────

Calls 2

list_pluginsFunction · 0.90
load_pluginFunction · 0.90

Tested by

no test coverage detected