am-i-vibing@0.2.0
Minor Changes
-
#72
c4b182aThanks @ascorbic! - Add env-var detection for Gemini CLI (GEMINI_CLI=1), OpenAI Codex (CODEX_THREAD_ID), and Crush (CRUSH=1,AGENT=crush,AI_AGENT=crush). These providers previously relied on process-tree inspection, which was the main reasonam-i-vibingreached for the process tree at all.Process-ancestry detection is now opt-in. Reading the process tree spawns a subprocess and is slow on Windows, so by default the library only consults environment variables. Pass
{ checkProcesses: true }todetectAgenticEnvironment(or use the new--check-processesCLI flag) to restore the previous behaviour. Octofriend, which exposes no identifying env var, requires this flag.The detector functions also gain an options-object signature:
detectAgenticEnvironment({ env, processAncestry, checkProcesses }). The legacy positional signature(env, processAncestry)continues to work and is treated as opt-in for process checks for backwards compatibility.