feat(coding-agent): marked child processes as agent-driven

- Set AGENT=1 through the shared non-interactive child environment.

- Covered the marker through the bash executor integration path.

Fixes #7847
This commit is contained in:
roboomp
2026-08-06 18:45:58 +00:00
parent 3a8591a8af
commit 2fe1d1991a
3 changed files with 7 additions and 2 deletions
@@ -24,6 +24,7 @@ export const NON_INTERACTIVE_ENV: Readonly<Record<string, string>> = {
GIT_TERMINAL_PROMPT: "0",
SSH_ASKPASS: "/usr/bin/false",
CI: "1",
AGENT: "1",
// Package manager defaults for unattended execution.
npm_config_yes: "true",
npm_config_update_notifier: "false",