chore: pause work and save context handoff

This commit is contained in:
2026-03-30 07:32:23 +09:00
parent 509d6cae57
commit add7f40894
577 changed files with 90979 additions and 39 deletions

View File

@@ -3,7 +3,7 @@
# Prevent git from hanging on auth prompts for submodules
export GIT_TERMINAL_PROMPT=0
echo "[1/4] Checking and Initializing Agent Config (.env.agent)..."
echo "[1/5] Checking and Initializing Agent Config (.env.agent)..."
if [ ! -f ".agent/config/.env.agent" ]; then
if [ -f ".agent/config/.env.agent.template" ]; then
cp ".agent/config/.env.agent.template" ".agent/config/.env.agent"
@@ -15,15 +15,31 @@ else
echo " -> .env.agent already exists."
fi
echo "[2/4] Updating Git Submodules..."
echo "[2/5] Updating Git Submodules..."
git submodule update --init --recursive
echo "[3/4] Bypassing Restrictions and Installing AI Local Dependencies..."
echo "[3/5] Bypassing Restrictions and Installing AI Local Dependencies..."
cd .agent/env || exit
npm install
cd ../..
echo "[4/4] Bypassing Global Installation (Zero-Pollution Enforced)"
echo "[4/5] Checking and Installing Python MCP Dependencies..."
if [ -n "$AGENT_PYTHON_PATH" ]; then
echo " -> Using AGENT_PYTHON_PATH: $AGENT_PYTHON_PATH"
if [ -f ".agent/vendor/browser_use/requirements.txt" ]; then
"$AGENT_PYTHON_PATH" -m pip install -r ".agent/vendor/browser_use/requirements.txt"
fi
if [ -f ".agent/services/claude-mem/requirements.txt" ]; then
"$AGENT_PYTHON_PATH" -m pip install -r ".agent/services/claude-mem/requirements.txt"
fi
if [ -f ".agent/services/mini-swe/requirements.txt" ]; then
"$AGENT_PYTHON_PATH" -m pip install -r ".agent/services/mini-swe/requirements.txt"
fi
else
echo " -> Warning: AGENT_PYTHON_PATH is not defined. Skipping Python dependencies installation."
fi
echo "[5/5] Bypassing Global Installation (Zero-Pollution Enforced)"
# All tools are already safely installed locally in .agent/env/node_modules
echo ""
echo "========================================================"