Port the SMS rate limiter from github.com/yibaiba/vohive:
- sms_rate_limit.go: limiter with first-hour (3) and daily (10) quotas,
local-midnight daily reset
- server.go: smsLimiter field + lazy smsRateLimiter(); handleSendSMS returns
429 sms_rate_limited before the backend send
- sms_rate_limit_test.go: 4 tests (first-hour block, daily block, midnight
reset, backend not invoked when limited)
Why: brings vohive-open up to date with the latest public vohive while
keeping the rewritten vowifi-go.
Why this works: all 25 packages pass; 4 new limiter tests green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replace third_party/vowifi-go with the reverse-engineered rewrite that
matches the v1.5.5 binary's actual vowifi-go (internal/vowifi/imscore +
internal/vowifi/voice), and adapt the host code to its API:
- device: modemAdapter/qmiModemAdapter implement runtimehost.Modem
(Capabilities, IMSIdentityProvider) and identity.Access; SetLogger uses
slog.Default()
- api: GetSMSDeliveryStatus passes ctx
- platform shims so the Linux-targeted code compiles on macOS for tests:
SO_BINDTODEVICE consts (netprobe/proxy/qmi), qmi control-device-holder
stub, udev build-tag + no-op stub
- test modems implement the runtimehost.Modem interface
Result: 25 packages pass on macOS; only internal/web + cmd/vohive fail on
the pre-existing missing web dist assets (//go:embed all:dist). The
vowifi-go module itself builds on both macOS and Linux.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>