terraphim_hooks 1.16.34

Unified hooks infrastructure for Terraphim AI - knowledge graph-based text replacement and validation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Unified hooks infrastructure for Terraphim AI.
//!
//! This crate provides shared functionality for Claude Code hooks and Git hooks,
//! including text replacement via knowledge graphs and binary discovery utilities.

mod discovery;
mod replacement;
mod validation;
mod validation_types;

pub use discovery::{BinaryLocation, discover_binary};
pub use replacement::{HookResult, LinkType, ReplacementService};
pub use validation::ValidationService;
pub use validation_types::{ValidationError, ValidationOutcome, ValidationResult};

/// Re-export key types from terraphim_automata for convenience.
pub use terraphim_automata::Matched;
pub use terraphim_types::Thesaurus;