Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shareAI-lab/learn-claude-code
/ code.py
File
code.py
s04_hooks/code.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
""
"
3
s04: Hooks — move extension logic out of the loop, onto hooks.
4
Callers
nothing calls this directly
Calls
3
register_hook
Function · 0.70
trigger_hooks
Function · 0.70
agent_loop
Function · 0.70
Tested by
no test coverage detected