KB / Daily / 2026-08-20
Inbox 2026-08-20
- 09:28 — AnyRouter native CLI (public anyrouter-dev/cli): device+paste login, persist key, account/keys switch, models use, --install agents, color TUI menu. Auto-upgrade + GitHub Releases already shipped.
- 09:45 — AnyRouter CLI CI builds linux/mac/windows + wasm32; size/startup bench on PRs and GitHub Releases; live WASM playground at anyrouter-dev.github.io/cli and /cli page iframe.
- 12:10 — Pi coding agent (
@mariozechner/pi-coding-agent) has no PI_MODELS_JSON env. Custom providers live in ~/.pi/agent/models.json or $PI_CODING_AGENT_DIR/models.json. apiKey is an env var name (ANYROUTER_API_KEY), not $VAR and not the secret. ar pi writes ~/.anyrouter/pi and sets PI_CODING_AGENT_DIR.
- 12:40 — Claude Code maps
/model opus/sonnet/haiku via ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL. If all three are set to the same id, the picker collapses to one entry. ar claude keeps them independent; session default is anyrouter/auto.
- 12:50 — AnyRouter device login already returns
verification_uri_complete (/cli/device?code=). CLI should print and open that URL, not ask the user to type the code.
- 12:47 — AnyRouter CLI public page is anyrouter.dev/cli only. Dropped GitHub Pages WASM playground (anyrouter-dev.github.io/cli). wasm32 still built for size benches; anyr.wasm still ships on releases.
- 13:20 — AnyRouter CLI GitHub Releases use the release-please CHANGELOG (this version plus older versions, commit links). Not a short handwritten blurb.