Cotal TypeScript packages
    Preparing search index...

    Function verifiedCotalExecutables

    • Concrete durable cotal executables this host can prove exist and identify. This is deliberately NOT part of ordinary startup: it executes each candidate's side-effect-free --version surface, with a short timeout, only when a recovery path needs an executable rather than another bare cotal command that may resolve straight back to the failing binary.

      PATH entries are checked in order after transient npx bins are skipped, then the POSIX installer's default ~/.local/bin/cotal is checked even when a service supplied a reduced PATH. Candidates are deduped by real path. A file counts only when it exits cleanly and its first line is exactly cotal-ai <numeric semver>.

      Parameters

      • env: ProcessEnv = process.env

      Returns CotalExecutable[]