Is a durablecotal executable resolvable on PATH? A pure PATH scan (no exec):
User-facing hints also only resolve files. The --version exec probe stays in
verifiedCotalExecutables for the recovery path.
Skips npx's transient shim: npm exec (npx) prepends the package's own
<cache>/_npx/<hash>/node_modules/.bin to PATH, and since cotal-ai declares a cotal bin,
that dir holds a throwaway cotal. Counting it would make a bare npx cotal-ai setup conclude
cotal is already installed — skipping the global-install offer and printing cotal … hints
the user can't run once npx exits. That shim is exactly what we're offering to make permanent.
Is a durable
cotalexecutable resolvable on PATH? A pure PATH scan (no exec): User-facing hints also only resolve files. The--versionexec probe stays in verifiedCotalExecutables for the recovery path. Skips npx's transient shim:npm exec(npx) prepends the package's own<cache>/_npx/<hash>/node_modules/.binto PATH, and sincecotal-aideclares acotalbin, that dir holds a throwawaycotal. Counting it would make a barenpx cotal-ai setupconcludecotalis already installed — skipping the global-install offer and printingcotal …hints the user can't run once npx exits. That shim is exactly what we're offering to make permanent.