Adds server/proxy/service/protocol-mirror.js — the Protocol Mirror Engine that monitors Xray-core releases and manages automatic updates with: - GitHub API polling (every 6h) with result caching - Installed vs latest version comparison - TLS/Reality fingerprint consistency checks - LLM-powered update risk analysis via llm-router.js - Safe auto-update: download → backup → install → verify → restart - Failure protection: 3 consecutive failures triggers admin alert - Update summary generation for email-hub distribution - State persistence to data/protocol-mirror-status.json Runs as a PM2-managed service checking every 30 minutes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| age-os | ||
| app | ||
| nginx | ||
| proxy | ||
| scripts | ||
| setup | ||
| architecture.md | ||
| brain-server-profile.json | ||
| cn-server-profile.json | ||
| ecosystem.config.js | ||
| feimao-server-profile.json | ||
| migration-markers.json | ||
| migration-plan.md | ||
| persona-brain-architecture.md | ||
| zhuyuan-server-profile.json | ||