feat(coding-agent): set PI_CODING_AGENT=true env var at startup

closes #2868
This commit is contained in:
Mario Zechner
2026-04-09 03:03:08 +02:00
parent 82ecc1300f
commit 61015830ed
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
* Test with: npx tsx src/cli-new.ts [args...]
*/
process.title = "pi";
process.env.PI_CODING_AGENT = "true";
process.emitWarning = (() => {}) as typeof process.emitWarning;
import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";