feat: add plugin setup script and env template

scripts/setup-plugins.sh reads sensitive config from .env (gitignored),
initialises submodules, installs npm deps, and runs each plugin's own
install script. Supports --uninstall, --skip-deps, and per-plugin
selection. .env.example documents all available variables.
This commit is contained in:
2026-04-16 07:58:53 +00:00
parent 8d0504c837
commit 7eb3d177e0
3 changed files with 230 additions and 0 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# HangmanLab.Server.T2 — Plugin Configuration
# Copy to .env and fill in values. This file is gitignored.
# ── OpenClaw ─────────────────────────────────────────────────────────────────
OPENCLAW_PATH=~/.openclaw
# ── HarborForge Plugin ───────────────────────────────────────────────────────
HF_BACKEND_URL=https://hf-api.hangman-lab.top
HF_API_KEY=
HF_MONITOR_IDENTIFIER=
# ── Yonexus.Server ───────────────────────────────────────────────────────────
YONEXUS_PORT=18900
YONEXUS_SECRET=
# ── ContractorAgent ──────────────────────────────────────────────────────────
CONTRACTOR_BRIDGE_PORT=18800
CONTRACTOR_BRIDGE_API_KEY=