From aec8d601cb18593b0632e0ad917273fd8fd3cc5e Mon Sep 17 00:00:00 2001 From: CD Date: Sat, 28 Mar 2026 23:41:54 +0900 Subject: [PATCH] fix(critical): remove rogue global NPM installations to strictly enforce Zero-Pollution architecture --- .agent/env/package.json | 2 +- bootstrap.bat | 5 ++--- bootstrap.sh | 5 ++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.agent/env/package.json b/.agent/env/package.json index 27ad05e..63705a6 100644 --- a/.agent/env/package.json +++ b/.agent/env/package.json @@ -8,7 +8,7 @@ "update:all-agents": "npm run update:submodules && npm run install:uipro && npm run install:gsd", "update:submodules": "cmd /c \"cd ..\\.. && git submodule update --remote --merge\"", "install:uipro": "cmd /c \"npx uipro update\"", - "install:gsd": "cmd /c \"npm install -g get-shit-done-cc@latest\"" + "install:gsd": "cmd /c \"npm install get-shit-done-cc@latest --save-dev\"" }, "keywords": [], "author": "", diff --git a/bootstrap.bat b/bootstrap.bat index 76ae02d..b44421e 100644 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -24,9 +24,8 @@ cd .agent\env call npm install cd ..\.. -echo [4/4] Installing Universal AI Workflow Tool (get-shit-done-cc) Globally... -call npm install -g get-shit-done-cc@latest - +echo [4/4] Bypassing Global Installation (Zero-Pollution Enforced) +:: All tools are already safely installed locally in .agent\env\node_modules echo. echo ======================================================== echo [OK] Zero-Click Bootstrap Complete. AI Agents are ready! diff --git a/bootstrap.sh b/bootstrap.sh index fcbb4db..ef7648b 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -23,9 +23,8 @@ cd .agent/env || exit npm install cd ../.. -echo "[4/4] Installing Universal AI Workflow Tool (get-shit-done-cc) Globally..." -npm install -g get-shit-done-cc@latest - +echo "[4/4] Bypassing Global Installation (Zero-Pollution Enforced)" +# All tools are already safely installed locally in .agent/env/node_modules echo "" echo "========================================================" echo "[OK] Zero-Click Bootstrap Complete. AI Agents are ready!"