Sference Switch v0.1.6 (Beta)
Pre-releaseSference Switch v0.1.6
Fixes the v0.1.4/v0.1.5 regression that made most 1M-context models
unusable from Claude Code's /model picker, and removes the stale-daemon
trap that caused it.
1M models route again. Claude Code treats [1m] as a client-side context
selection and strips it before building the request, so a picker entry
of "…-kimi-k3[1m]" arrives at the gateway as the bare id. When a model
also had a hand-written alias in gateway.yaml, that bare id had been
removed from the routing set, and the pick 400'd — on every release
since the [1m] entries shipped. The bare id routes again; the picker
still lists one entry per model.
Upgrades no longer leave the TLS door a build behind. launchd keeps the
root daemon on the inode it booted from, so after every release the
daemon kept serving the previous build's picker injection until a
reboot or a manual kickstart. restart and upgrade --restart now
detect a stale daemon — unprivileged, by comparing its start time with
the binary's mtime — and adopt it with a single password prompt, silent
when there is nothing to adopt. A declined prompt prints the manual fix
and never fails the restart.
Also: the Overview page now shows the running router build and the
on-disk CLI build, with the difference called out when they diverge.
Upgrade from v0.1.5 is strongly recommended.