We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6570674 commit 7d5267aCopy full SHA for 7d5267a
1 file changed
packages/nx/bin/nx.ts
@@ -21,8 +21,17 @@ import { performance } from 'perf_hooks';
21
import { setupWorkspaceContext } from '../src/utils/workspace-context';
22
import { daemonClient } from '../src/daemon/client/client';
23
import { removeDbConnections } from '../src/utils/db-connection';
24
+import { isAiAgent } from '../src/native';
25
+
26
+function handleAgenticSandbox() {
27
+ if (isAiAgent() && process.env['SANDBOX_RUNTIME'] === '1') {
28
+ process.env['NX_DAEMON'] = 'false';
29
+ process.env['NX_ISOLATE_PLUGINS'] = 'false';
30
+ }
31
+}
32
33
async function main() {
34
+ handleAgenticSandbox();
35
if (
36
process.argv[2] !== 'report' &&
37
process.argv[2] !== '--version' &&
0 commit comments