Skip to main content

Module detect

Module detect 

Source
Expand description

Detect which agents are present on the machine, and whether the Zenith skill is already installed for them.

Functions§

detect_present
All agents detected as present, in stable order.
is_installed
True when the skill is already present for (agent, scope).
is_present
True when agent appears to be in use in either the project or user scope.
marker_dir
The directory whose existence signals that agent is in use, for a scope. Detection markers are intentionally the agent’s config dir, which may differ from where the skill is written.