(session_id: &str, tool: &str)
| 415 | use crate::hooks::events::PreToolUseEvent; |
| 416 | |
| 417 | fn make_pre_tool_event(session_id: &str, tool: &str) -> HookEvent { |
| 418 | HookEvent::PreToolUse(PreToolUseEvent { |
| 419 | session_id: session_id.to_string(), |
| 420 | tool: tool.to_string(), |
| 421 | args: serde_json::json!({}), |
| 422 | working_directory: "/workspace".to_string(), |
| 423 | recent_tools: vec![], |
| 424 | }) |
| 425 | } |
| 426 | |
| 427 | #[test] |
| 428 | fn test_hook_config_default() { |
no outgoing calls