Files
OpenCode 68a9071cf1 feat: reconcile local master with origin (exa/hot-platform hunters, leaks ledger, latest results)
Local branch had diverged from origin/master (sibling commits on the same base). Rewrote local history linearly on top of origin/master, folding in all local content: exa/hot-platform discovery hunters, leaks ledger, nightly sweep orchestrator, updated .gitignore and skill docs, plus the latest hunt output and vault state. Remote-only files (vault keys, channel scripts) were restored rather than dropped, so the resulting tree is a full union of both sides.
2026-08-07 12:53:47 +08:00

1 line
1.5 KiB
JSON

{"repo": "bat52/herve", "files": {"llm/install_openclaw.sh": {"02f0e474107480258a7fbfea7c6485757ba5af52": {"t": 1786068349.2644596, "n": 1293, "h": "b3de12af8640e107", "c": "#!/usr/bin/env bash\nset -e\n\n# ---- Config ----\nREPO_URL=\"https://github.com/openclaw/openclaw.git\"\nINSTALL_DIR=\"$HOME/openclaw\"\nPYTHON_VERSION=\"3.12\"\n\necho \"[1/6] Installing system dependencies...\"\nsudo apt update\nsudo apt install -y \\\n git \\\n curl \\\n build-essential \\\n python${PYTHON_VERSION} \\\n python${PYTHON_VERSION}-venv \\\n python${PYTHON_VERSION}-dev \\\n pipx\n\necho \"[2/6] Cloning OpenClaw...\"\nrm -rf \"$INSTALL_DIR\"\ngit clone \"$REPO_URL\" \"$INSTALL_DIR\"\ncd \"$INSTALL_DIR\"\n\necho \"[3/6] Creating virtual environment...\"\npython${PYTHON_VERSION} -m venv .venv\nsource .venv/bin/activate\n\necho \"[4/6] Upgrading pip...\"\npip install --upgrade pip setuptools wheel\n\necho \"[5/6] Installing Python dependencies...\"\nif [ -f requirements.txt ]; then\n pip install -r requirements.txt\nelif [ -f pyproject.toml ]; then\n pip install .\nelse\n echo \"No dependency file found. Install manually.\"\nfi\n\necho \"[6/6] Setup environment variables...\"\ncat <<EOF > .env\n# Example config\nOPENCLAW_MODEL=deepseek-coder\nOPENCLAW_API_KEY=$DEEPSEEK_API_KEY\nEOF\n\necho \"\"\necho \"✅ OpenClaw installed in $INSTALL_DIR\"\necho \"\"\necho \"To start:\"\necho \" cd $INSTALL_DIR\"\necho \" source .venv/bin/activate\"\necho \" export \\$(cat .env | xargs)\"\necho \" python main.py # or entrypoint defined by repo\""}}}}