You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
OMP / Oh My Pi detection (AgentTypeOMP): first-class support for Oh My Pi, a fork of Pi that installs under ~/.omp and ships an omp binary. OMPAgent detects via its own binary in the exec path and AGENT_ENV=omp / oh-my-pi, resolves config at ~/.omp (project .omp), reads AGENTS.md/CLAUDE.md/SYSTEM.md, and is registered in the default registry.
OMP/Pi mutual exclusion: OMP inherits Pi's PI_CODING_AGENT runtime marker from the shared cli.ts ancestry, so the two runtime detectors are made mutually exclusive by construction — PiAgent.DetectRuntime now yields when the launching binary is omp. The registry stores agents in a map with no ordering guarantee, so relying on registration order to break the tie would be nondeterministic. Detection is best-effort for a node-launched OMP process that only exports the inherited PI_CODING_AGENT; AGENT_ENV=omp (which the ox integration always sets) or DetectByType is authoritative there.