Expand description
Finding installed agent CLIs (design §6.3.1).
okbot usually runs on a VPS where CLIs live in user-level directories that a service’s PATH
misses, so detection also looks in the usual install locations and records absolute paths.
Structs§
- Detected
Cli - One installed CLI.
- Search
Paths - Where to look.
Enums§
- Login
- Whether a CLI is logged in.
Functions§
- detect
- Detects every known CLI, ready ones first, otherwise in
PROVIDERSorder. - detect_
one - Detects one CLI.
- detect_
one_ with_ env - Detects one CLI, checking its login with extra environment (a bot’s separate agent home).
- detect_
path - Checks exactly this executable, including custom names and paths outside
PATH.