MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / build_command_graph

Function build_command_graph

claw-code/src/command_graph.py:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def build_command_graph() -> CommandGraph:
30 commands = get_commands()
31 builtins = tuple(module for module in commands if 'plugin' not in module.source_hint.lower() and 'skills' not in module.source_hint.lower())
32 plugin_like = tuple(module for module in commands if 'plugin' in module.source_hint.lower())
33 skill_like = tuple(module for module in commands if 'skills' in module.source_hint.lower())
34 return CommandGraph(builtins=builtins, plugin_like=plugin_like, skill_like=skill_like)

Callers 1

mainFunction · 0.85

Calls 2

get_commandsFunction · 0.85
CommandGraphClass · 0.85

Tested by

no test coverage detected