Skip to content

0.2.0

Latest

Choose a tag to compare

@sunsided sunsided released this 28 Oct 00:40
· 1 commit to main since this release
dc87e70

Highlights

  • AI_AGENT support. Agents that announce themselves via the emerging AI_AGENT convention are detected first, including ones this crate does not know by name (reported as unknown). Both value formats are parsed, so AI_AGENT=claude-code_2-1-312_agent yields version 2.1.312 and mode agent, and devin@1 yields version 1.
  • 13 new agents: Kilo Code, Pi, OpenHands, Cline, Roo Code, Amazon Q Developer CLI, GitHub Copilot CLI, Claude Cowork, Goose, Junie, Kiro (CLI and IDE), Trae, Windsurf Cascade, plus Warp's cloud agent and Devin.
  • Signals verified against agent source code and docs, with confidence levels (high, medium, low) reflecting the evidence behind each one.
  • detect_all() lists every matching agent, for agents running inside other agents.
  • New fs-markers feature checks Devin's /opt/.devin file. It is off by default, and the *_with_env functions never touch the file system.

Fixes

  • Zed's agent terminal is now detected. It sets PAGER="" and GIT_PAGER=cat; the old PAGER=cat rule never matched.
  • Detection order is corrected for agents that build on other agents: Amp before Claude Code, Kilo before OpenCode, Qwen Code before Gemini CLI.
  • The GitHub Copilot CLI is detected outside GitHub Actions.
  • Reading the process environment no longer panics on non-UTF-8 variables.

Breaking changes

  • DetectedAgent gains confidence, signal, version, mode and ai_agent. It and AgentKind are now #[non_exhaustive]; AgentKind is now Copy.
  • Aider is no longer detected: AIDER_API_KEY is user configuration, not a signal Aider injects, and caused false positives.
  • windsurf now means the interactive IDE terminal; the agent is windsurf-cascade.
  • The local Copilot CLI is reported as copilot-cli; copilot-cloud-agent still requires GITHUB_ACTIONS=true.
  • OPENCODE_BIN_PATH, OPENCODE_SERVER, OPENCODE_APP_INFO, OPENCODE_MODES and ANTIGRAVITY_PROJECT_ID are no longer used; the agents do not inject them.

See the README's "Migrating from 0.1" section for details.

What's Changed

  • Bump advanced-security/spdx-dependency-submission-action from 0.2.0 to 0.3.1 in the actions-minor-and-patch group by @dependabot[bot] in #5

Full Changelog: v0.1.1...v0.2.0