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/grok.rs:444–446 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
442
use crate::event::HookType;
443
444
fn make_hook() -> GrokHook {
445
GrokHook::new()
446
}
447
448
#[test]
449
fn test_name_and_display() {
Callers
15
test_name_and_display
Function · 0.70
test_supported_hooks_and_verbs
Function · 0.70
test_parse_session_start_camel_case
Function · 0.70
test_parse_session_start_snake_case_alias
Function · 0.70
test_parse_session_end
Function · 0.70
test_parse_user_prompt_submit
Function · 0.70
test_parse_user_prompt_strips_user_query_envelope
Function · 0.70
test_parse_user_prompt_strips_envelope_short_yes
Function · 0.70
test_parse_stop_end_turn
Function · 0.70
test_parse_stop_session_end_fire
Function · 0.70
test_parse_pre_tool_use
Function · 0.70
test_parse_post_tool_use
Function · 0.70
Calls
no outgoing calls
Tested by
15
test_name_and_display
Function · 0.56
test_supported_hooks_and_verbs
Function · 0.56
test_parse_session_start_camel_case
Function · 0.56
test_parse_session_start_snake_case_alias
Function · 0.56
test_parse_session_end
Function · 0.56
test_parse_user_prompt_submit
Function · 0.56
test_parse_user_prompt_strips_user_query_envelope
Function · 0.56
test_parse_user_prompt_strips_envelope_short_yes
Function · 0.56
test_parse_stop_end_turn
Function · 0.56
test_parse_stop_session_end_fire
Function · 0.56
test_parse_pre_tool_use
Function · 0.56
test_parse_post_tool_use
Function · 0.56