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/codex.rs:810–812 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
808
use tempfile::TempDir;
809
810
fn make_hook() -> CodexHook {
811
CodexHook::new()
812
}
813
814
#[test]
815
fn test_name() {
Callers
15
test_supported_hooks
Function · 0.70
test_hook_verbs
Function · 0.70
test_parse_session_start
Function · 0.70
test_parse_session_start_uses_thread_id_fallback
Function · 0.70
test_parse_session_start_generates_fallback_session_id
Function · 0.70
test_parse_user_prompt_submit
Function · 0.70
test_parse_user_prompt_submit_empty_prompt_is_none
Function · 0.70
test_parse_stop_preserves_assistant_summary_and_finish_reason
Function · 0.70
test_parse_stop_active_is_not_treated_as_a_finish_reason
Function · 0.70
test_parse_stop_preserves_explicit_not_idle_signal
Function · 0.70
test_parse_pre_tool
Function · 0.70
test_parse_pre_tool_accepts_tool_call_id_alias
Function · 0.70
Calls
no outgoing calls
Tested by
15
test_supported_hooks
Function · 0.56
test_hook_verbs
Function · 0.56
test_parse_session_start
Function · 0.56
test_parse_session_start_uses_thread_id_fallback
Function · 0.56
test_parse_session_start_generates_fallback_session_id
Function · 0.56
test_parse_user_prompt_submit
Function · 0.56
test_parse_user_prompt_submit_empty_prompt_is_none
Function · 0.56
test_parse_stop_preserves_assistant_summary_and_finish_reason
Function · 0.56
test_parse_stop_active_is_not_treated_as_a_finish_reason
Function · 0.56
test_parse_stop_preserves_explicit_not_idle_signal
Function · 0.56
test_parse_pre_tool
Function · 0.56
test_parse_pre_tool_accepts_tool_call_id_alias
Function · 0.56