Module context

Module context 

Source
Expand description

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)

Re-exports§

pub use git::GitBranchInfo;
pub use git::get_branch_info;
pub use git::get_current_branch;
pub use git::get_github_repo;
pub use git::get_local_git_dir;
pub use git::get_worktree_root;
pub use git::is_branch_changing_command;
pub use git::parse_branch_info;
pub use git::parse_github_repo_from_remote_url;
pub use github::SessionContextUpdate;Deprecated
pub use github::GitContextUpdate;
pub use github::extract_context;
pub use github::split_chained_commands;
pub use process::ClaudeProcessInfo;
pub use process::find_claude_process;
pub use process::get_parent_pid;
pub use process::is_process_alive;

Modules§

git
Git branch tracking utilities for mi6.
github
GitHub context extraction from Bash tool events.
process
Process tree utilities for finding and checking process status.