πŸͺ Subsystem Deep Dive

components/hooks/

πŸ“ components/hooks/ πŸ“„ 7 files

Tutorial: hooks

The Hooks project provides a terminal-based interface for browsing and inspecting configured lifecycle hooks. The central Hooks Config Menu acts as a read-only file explorer, allowing users to drill down through Events (like PreToolUse), Matchers (specific tools), and individual Hooks to view their details. It also includes a standalone Prompt Dialog component used at runtime to handle user interactions for prompt-based hooks.

flowchart TD A0["Hooks Config Menu"] A1["Event Selection Mode"] A2["Matcher Selection Mode"] A3["Hook Selection Mode"] A4["Hook Detail View"] A5["Prompt Dialog"] A0 -->|"Renders and passes metadata"| A1 A1 -->|"Triggers event selection"| A0 A0 -->|"Renders with matcher data"| A2 A2 -->|"Triggers matcher selection"| A0 A0 -->|"Renders with hook list"| A3 A3 -->|"Triggers hook selection"| A0 A0 -->|"Renders hook details"| A4 A4 -->|"Triggers navigation back"| A0

Chapters

  1. Hooks Config Menu
  2. Event Selection Mode
  3. Matcher Selection Mode
  4. Hook Selection Mode
  5. Hook Detail View
  6. Prompt Dialog

Generated by Code IQ

Files in this section