Expand description
Common helper functions for framework adapters.
This module provides shared logic used by multiple framework adapters, reducing code duplication across Claude, Gemini, and Codex adapters.
Structs§
- Parsed
Hook Input Builder - Builder for extracting fields from JSON into
ParsedHookInput.
Functions§
- get_
first_ array_ element - Extract the first array element from a JSON path as a string.
- is_
framework_ installed - Check if a framework is installed on the system.
- is_
mi6_ command - Check if a command string is an mi6 hook command.
- merge_
json_ hooks - Merge generated hooks into existing JSON settings, preserving user hooks.
- remove_
json_ hooks - Remove mi6 hooks from JSON settings.