MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _kind

Function _kind

tests/test_hook_compact.py:86–90  ·  view source on GitHub ↗
(out)

Source from the content-addressed store, hash-verified

84
85
86def _kind(out):
87 if not out.strip():
88 return "silent"
89 hso = json.loads(out)["hookSpecificOutput"]
90 return "deny" if hso.get("permissionDecision") == "deny" else "nudge"
91
92
93def _markers(tmp_path):

Calls 1

getMethod · 0.45

Tested by

no test coverage detected