From 5954ece9f7e13346a9ae6e7bcabda307280c26ea Mon Sep 17 00:00:00 2001 From: LaneBirmingham <150401101+LaneBirmingham@users.noreply.github.com> Date: Sat, 23 May 2026 10:12:56 +1000 Subject: feat: add state detection heuristics for GitHub Copilot CLI (#256) * feat: add github copilot cli state detection Add robust state detection heuristics for the GitHub Copilot CLI by matching specific interactive prompt combinations, freeform inputs, and thinking status frames. refs #232 * docs: keep copilot docs staged for next release --------- Co-authored-by: Can Celik --- src/platform/macos.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/platform') diff --git a/src/platform/macos.rs b/src/platform/macos.rs index add51aa4..bfce664a 100644 --- a/src/platform/macos.rs +++ b/src/platform/macos.rs @@ -103,6 +103,7 @@ pub fn foreground_process_group_id(pid: u32) -> Option { let fg = info.e_tpgid; if fg > 0 { + #[allow(clippy::unnecessary_cast)] // info.e_tpgid (pid_t) type is platform-dependent Some(fg as u32) } else { None -- cgit v1.2.3