Skip to main content

rippy_cli/
mode.rs

1/// Which AI coding tool is invoking rippy.
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum Mode {
4    Claude,
5    Gemini,
6    Cursor,
7    Codex,
8}
9
10/// Whether the hook fires before or after tool execution.
11#[derive(Debug, Clone, Copy, PartialEq, Eq)]
12pub enum HookType {
13    PreToolUse,
14    PostToolUse,
15}