//! Runtime context enrichment.
//!
//! This module provides utilities for enriching events with contextual data:
//! - [`git`]: Git branch information
//! - [`github`]: GitHub issue/PR context extraction
//! - [`process`]: Process state utilities (checking if processes are alive)

pub mod git;
pub mod github;
pub mod process;

pub use git::{
    GitBranchInfo, get_branch_info, get_current_branch, get_github_repo, get_local_git_dir,
    get_worktree_root, is_branch_changing_command, parse_branch_info,
    parse_github_repo_from_remote_url,
};
#[expect(
    deprecated,
    reason = "re-exporting deprecated type alias for backwards compatibility"
)]
pub use github::SessionContextUpdate;
pub use github::{GitContextUpdate, extract_context, split_chained_commands};
pub use process::{ClaudeProcessInfo, find_claude_process, get_parent_pid, is_process_alive};
