terraphim_hooks/
lib.rs

1//! Unified hooks infrastructure for Terraphim AI.
2//!
3//! This crate provides shared functionality for Claude Code hooks and Git hooks,
4//! including text replacement via knowledge graphs and binary discovery utilities.
5
6mod discovery;
7mod replacement;
8
9pub use discovery::{BinaryLocation, discover_binary};
10pub use replacement::{HookResult, LinkType, ReplacementService};
11
12/// Re-export key types from terraphim_automata for convenience.
13pub use terraphim_automata::Matched;
14pub use terraphim_types::Thesaurus;