Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ make_hook
Function
make_hook
atomic-agent/src/hooks/opencode.rs:679–681 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
677
use tempfile::TempDir;
678
679
fn make_hook() -> OpenCodeHook {
680
OpenCodeHook::new()
681
}
682
683
// Basic trait method tests
684
Callers
15
test_name
Function · 0.70
test_display_name
Function · 0.70
test_supported_hooks
Function · 0.70
test_hook_verbs
Function · 0.70
test_debug
Function · 0.70
test_parse_session_start
Function · 0.70
test_parse_session_start_with_model
Function · 0.70
test_parse_session_end
Function · 0.70
test_parse_user_prompt
Function · 0.70
test_parse_user_prompt_no_prompt
Function · 0.70
test_parse_user_prompt_with_model
Function · 0.70
test_parse_stop
Function · 0.70
Calls
no outgoing calls
Tested by
15
test_name
Function · 0.56
test_display_name
Function · 0.56
test_supported_hooks
Function · 0.56
test_hook_verbs
Function · 0.56
test_debug
Function · 0.56
test_parse_session_start
Function · 0.56
test_parse_session_start_with_model
Function · 0.56
test_parse_session_end
Function · 0.56
test_parse_user_prompt
Function · 0.56
test_parse_user_prompt_no_prompt
Function · 0.56
test_parse_user_prompt_with_model
Function · 0.56
test_parse_stop
Function · 0.56