Skip to main content

Crate terraphim_hooks

Crate terraphim_hooks 

Source
Expand description

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.

Structs§

HookResult
Result of a replacement operation.
Matched
Re-export key types from terraphim_automata for convenience.
ReplacementService
Unified replacement service using Terraphim knowledge graphs.
Thesaurus
A thesaurus is a dictionary with synonyms which map to upper-level concepts.

Enums§

BinaryLocation
Location where terraphim-agent was found.
LinkType
Re-export LinkType for convenience.

Functions§

discover_binary
Discover terraphim-agent binary location.