UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

10 lines (9 loc) 412 B
/** * Returns true when `nx migrate` is itself being run from inside another AI * agent's terminal session. Used to short-circuit the agentic flow so we never * spawn an inner agent inside an outer agent. * * Native `isAiAgent()` covers all supported agents (Claude Code, Cursor, * OpenCode, Codex, Gemini, Replit) via parent-process env-var sniffing. */ export declare function isInsideAgent(): boolean;