Highlights
- Add StatsAPI, an opt-in built-in HTTP presentation addon backed by FlowStats.
- Keep StatsServer as a backward-compatible name for StatsAPI.
- Allow StatsAPI to expose an application-owned FlowStats instance without double-counting flows.
- Add the /errors endpoint for observed addon error counters.
- Document StatsAPI composition in English and Chinese docs.
Validation
- ruff check
- ruff format --check
- pyright
- pytest: 267 passed
- uv build
- Docker smoke test with /health, /stats, and SOCKS greeting