the runtime your coding agents live on
Rust agentagent-orchestrationaiai-agentsclaude-codeclicodexcoding-agentsdeveloper-toolsdevtoolsmultiplexerrustterminalterminal-multiplexerterminal-uitmuxtuiworkspace-manager
fix: detect copilot process name
Ogulcan Celikc3d74be01e6c
diff --git a/.pi/docs/CHANGELOG.md b/.pi/docs/CHANGELOG.mdindex f47a5ff4b..ef523fab7 100644--- a/.pi/docs/CHANGELOG.md+++ b/.pi/docs/CHANGELOG.md@@ -2,8 +2,8 @@## Unreleased-### Changed-- Moved next-release changelog work into `.pi/docs/CHANGELOG.md` and replaced the end-of-cycle draft prompt with a pre-release audit flow that verifies changelog and documentation coverage before release.+### Fixed+- GitHub Copilot is now correctly detected when its process name is `copilot`.## [0.5.9] - 2026-05-15diff --git a/src/detect.rs b/src/detect.rsindex 2bd1fea70..9c98a1b9f 100644--- a/src/detect.rs+++ b/src/detect.rs@@ -79,7 +79,7 @@ pub fn identify_agent(process_name: &str) -> Option<Agent> {"cursor" => Some(Agent::Cursor),"cline" => Some(Agent::Cline),"opencode" | "open-code" => Some(Agent::OpenCode),- "github-copilot" | "ghcs" => Some(Agent::GithubCopilot),+ "copilot" | "github-copilot" | "ghcs" => Some(Agent::GithubCopilot),"kimi" => Some(Agent::Kimi),"droid" => Some(Agent::Droid),"amp" | "amp-local" => Some(Agent::Amp),@@ -687,6 +687,7 @@ mod tests {assert_eq!(identify_agent("cline"), Some(Agent::Cline));assert_eq!(identify_agent("opencode"), Some(Agent::OpenCode));assert_eq!(identify_agent("kimi"), Some(Agent::Kimi));+ assert_eq!(identify_agent("copilot"), Some(Agent::GithubCopilot));assert_eq!(identify_agent("ghcs"), Some(Agent::GithubCopilot));}