mirror of
https://github.com/przeprogramowani/10x-cli.git
synced 2026-09-19 03:30:01 +08:00
8006da8efb
New public command (no auth) that fetches the preprocessed top-10 leaderboard from https://10xbench.ai/api/leaderboard.json and renders color-coded score bars on stderr, or the standard JSON envelope when piped. The bench client is deliberately separate from api-client.ts: its own strict BENCH_BASE_URL allowlist, and non-JSON 200 responses (the static site's catch-all) surface as bench_unavailable. Colors are hand-rolled ANSI gated on stderr TTY + NO_COLOR; remote strings are sanitized before printing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>