feat: ship agent-first mission control v0.2.57
CI - Build & Test / Backend (.NET) (push) Successful in 42s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 2m46s
CI - Build & Test / Security Check (push) Successful in 3s
CI - Build & Test / Deploy Nexus (push) Successful in 56s

This commit is contained in:
AzuTear
2026-07-31 22:39:47 +02:00
parent 3bc7622977
commit f5552218bc
535 changed files with 95242 additions and 8791 deletions
+4 -30
View File
@@ -60,9 +60,13 @@ JWT_KEY=${ENV_JWT_KEY}
JWT_ISSUER=nexus
JWT_AUDIENCE=nexus-web
BOOTSTRAP_OWNER_EMAIL=vmbao62@hotmail.de
BOOTSTRAP_OWNER_PASSWORD=${ENV_BOOTSTRAP_OWNER_PASSWORD:-}
OPENCLAW_BASE_URL=http://host.docker.internal:18789
OPENCLAW_REQUIRED_VERSION=2026.7.1
OPENCLAW_GATEWAY_TOKEN=${ENV_OPENCLAW_TOKEN:-}
OPENCLAW_GATEWAY_PASSWORD=
OPENCLAW_EXTERNAL_CLIENT_ID_SUPPORTED=false
OPENCLAW_ALLOW_COMMAND_CRON=false
NEXUS_VERSION=${VERSION}
NEXUS_GIT_SHA=${GIT_SHA}
EOF_ENV
@@ -105,36 +109,6 @@ git archive --format=tar HEAD | docker run --rm -i \
chown -R "$dest_owner" /dest
'
# ── Sanitized agents config for Nexus (no secrets) ──
echo "Generating sanitized agents config for Nexus (no secrets from openclaw.json)"
AGENTS_SANITIZED_PATH="/home/projekte_bao/openclaw/data/openclaw/agents-sanitized.json"
OPENCLAW_CONFIG="/home/projekte_bao/openclaw/data/openclaw/openclaw.json"
OPENCLAW_CONFIG_DIR="/home/projekte_bao/openclaw/data/openclaw"
# Extract only "agents" key from openclaw.json using jq in an alpine container.
# This ensures NO secrets (gateway, channels, auth, etc.) leak into the sanitized file.
if docker run --rm \
-v "$OPENCLAW_CONFIG:/input/openclaw.json:ro" \
-v "$OPENCLAW_CONFIG_DIR:/output" \
alpine:3.20 \
sh -c '
if ! apk add --no-cache jq >/dev/null 2>&1; then
echo "WARNING: jq not available, agents-sanitized.json NOT regenerated" >&2
exit 1
fi
if [ ! -f /input/openclaw.json ]; then
echo "WARNING: openclaw.json not found — agents-sanitized.json NOT regenerated" >&2
exit 1
fi
jq "{agents: .agents}" /input/openclaw.json > /output/agents-sanitized.json
count=$(jq ".agents.list | length" /output/agents-sanitized.json 2>/dev/null || echo 0)
echo "Sanitized agents config written ($count agents)"
' 2>&1; then
echo "Sanitized agents config written to $AGENTS_SANITIZED_PATH"
else
echo "WARNING: Failed to generate agents-sanitized.json — Nexus will use fallback agent IDs" >&2
fi
echo "Building and starting Docker compose stack"
docker run --rm \
-v "$DEPLOY_PATH:/workspace/nexus" \