Commit Graph

6 Commits

Author SHA1 Message Date
dekun abbaac9520 fix: multi-node online stats, per-node Hy2 ports, and panel reload stability
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 11:35:15 +08:00
dekun 33533d7ebc fix: unblock add-node API and improve online status detection
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 11:15:51 +08:00
dekun db251c39bf fix: stop panel stats from hanging on Clash /traffic WebSocket
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 10:59:45 +08:00
dekun 6d82c7eb07 fix: improve online detection when Clash API omits user metadata
Match connections by multiple auth keys, fall back to global traffic for
single-node setups, and document offline-status troubleshooting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 10:22:13 +08:00
dekun 6edba863b5 fix: use Clash API only for traffic stats on stock sing-box builds
Official sing-box binaries lack v2ray_api, so drop that config and grpcio
and track per-node traffic from Clash connection stats instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 10:02:41 +08:00
dekun ccf7e2a4c7 feat: show node connection status and traffic stats in admin panel
Enable sing-box Clash/V2Ray APIs for per-user metrics, persist cumulative
traffic in SQLite, and refresh the dashboard every five seconds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 09:57:16 +08:00