tirith 0.3.3

Terminal security - catches homograph attacks, pipe-to-shell, ANSI injection
1
2
3
4
5
6
7
8
9
10
11
12
/// Run `tirith hook-event`: log a hook telemetry event (always exits 0).
/// Called by shell/Python/TypeScript hooks at each decision point.
pub fn run(
    integration: &str,
    hook_type: &str,
    event: &str,
    elapsed_ms: Option<f64>,
    detail: Option<&str>,
) -> i32 {
    tirith_core::audit::log_hook_event(integration, hook_type, event, elapsed_ms, detail);
    0
}