53 Commits
Author SHA1 Message Date
yibaiba 63c4b2743e fix(dashboard): keep runtime VoLTE phone mode on home cards
Dashboard overwrote worker config with yaml, so Unicom native VoLTE lost
phone_mode and rendered as VoWiFi. Take policy from runtime, attach
native_volte, and merge the same fields from the device list.
2026-09-09 23:25:21 +08:00
yibaiba 31c055c3b4 fix(web): show native VoLTE path on the dashboard
When phone_mode is volte, the home focus uses SIM/LTE/PDN/IMS/Voice instead of the unused VoWiFi stages.
2026-09-09 22:58:14 +08:00
yibaiba b8e470e3d7 fix: scope PCSC PIN retries to the current SIM 2026-09-09 20:11:50 +08:00
yibaiba 02c9d7a28d fix: preserve historical SMS unread state and IMS recovery attempts
Mark historical SMS windows by exact message IDs while retaining the latest-thread watermark API. Validate message ownership and update persisted unread counts atomically.

Match IMS recovery completion to the registered path and failure generation so stale REGISTER/downlink success cannot erase replacement backoff or Retry-After.

Validation: 294 frontend tests, typecheck, targeted lint, SMS backend tests, and IMS/runtime race checks passed. Added regression coverage for both failures; live carrier integration was not run.
2026-09-07 10:45:12 +08:00
yibaiba c9a63731a9 fix(sms): locate notification messages outside inbox windows 2026-09-06 23:49:47 +08:00
yibaiba 1cfc0d3d95 feat(sms): add global inbox notifications and unread count 2026-09-06 23:27:22 +08:00
yibaiba 34e5bdf959 fix: harden VoWiFi proxy recovery handling 2026-09-05 17:25:45 +08:00
yibaiba 261102cbad feat(vowifi): track WiFi Calling health 2026-09-04 11:37:16 +08:00
yibaiba 84ebdc8eab fix(esim): recover Lebara UK 204/04 identity without deleting the profile
When a Lebara UK eSIM flips to 20404, reset the same ICCID with Disable/Enable or a parking profile, wait for a stable 23487 IMSI, then start VoWiFi. Keep the RF lock. Do not start VoWiFi during recover or on classify-failure for unrelated cards.
2026-09-01 16:09:07 +08:00
yibaiba c01e6e5126 feat(ut): configure simservs through XCAP instead of USSI
Why: IR.92 2.3.2 requires Ut/XCAP for call forwarding, identity restriction, and barring; MMI codes are not Ut.
Why this works: GET/PUT simservs uses If-Match and one service per request; 404 retries an alternate XUI; missing XCAP PDN returns a visible error.
Remaining: production still needs the XCAP PDN transport wired to the second SWu; browser evidence was not collected in this session.
2026-08-31 14:12:18 +08:00
yibaibaandCursor 593cb967bc feat(vowifi): close SMS, hold, outbound, and SWu protocol gaps
Register now advertises outbound, prefers Service-Route then Path, and
tears down RFC 3680 subscriptions in-dialog. Voice adds hold/resume and
RFC 4028 timers; SWu sends AKA' bidding, IKE fragmentation, redirect
limits, and a correctly coded AUTS. Host SMS gets SMMA backpressure and
CS fallback without double-send.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 23:19:43 +08:00
yibaiba aaf774b8bc feat(esim): decode activation QR images and PDFs on the server
Upload screenshots or carrier PDFs to decode LPA:1$ payloads so install
no longer depends on the browser BarcodeDetector API.
2026-08-27 18:39:03 +08:00
yibaiba b5e785f32a fix(volte): stop treating native mode as WiFi calling
Card policy already stored phone_mode=volte with airplane off, but the
embedded UI still classified any non-cellular mode as WiFi calling and
locked flight. Device list also dropped PhoneMode when merging yaml.
2026-08-24 15:04:24 +08:00
yibaiba 38fa4d9d74 fix(sms): wait for VoWiFi recovery before sending 2026-08-20 14:59:41 +08:00
yibaiba d22874111d feat: add Lebara UK NextGen WiFi calling and radio lock
Add the 234/87 preset and keep shared eSIMs off domestic cells so a dual-IMSI flip to 20404 cannot kill UK WFC.
2026-08-19 14:58:04 +08:00
yibaiba 5295bd24e1 feat: bind Weixin on QR and add Feishu scan-to-create
Save the Weixin scanner as the default notify target and remind
users to message Weixin, WeCom, and Telegram bots after connect.
Add Feishu QR onboarding using the accounts registration flow
Hermes uses, then persist App ID and App Secret.
2026-08-19 09:30:36 +08:00
yibaiba 300098edef fix: camp without data and align radio/network UI
Airplane still turns the radio off. Network only starts a data session, so an idle card can stay registered with no traffic. Device list, card policy, overview, and the dialer now describe that split, including that a cellular call temporarily brings data up.
2026-08-17 15:48:14 +08:00
yibaiba 3069a9bd6a fix: say cellular needs Network instead of idle dial-ready
The dialer no longer labels an unnetworked cellular device as waiting to connect on call. API replies also tell the user to turn Network on before on_demand or always can camp.
2026-08-17 15:08:57 +08:00
yibaiba 588e16a992 fix: stop cellular idle VoWiFi recover and restore data toggle
Skip desired-state recover for cellular on_demand so idle devices
do not start SWu. Probe the cellular path before IMS and fall back
to the country proxy when the bearer cannot reach the internet.
Allow the network switch to stay on with cellular software phone.

Bump Docker image to 2.0.4.
2026-08-17 10:39:36 +08:00
yibaiba f45264f8ce fix: only restart software phone when mode actually changes
Compare previous phone_mode/data_strategy before RestartVoWiFi so a
repeat enable does not bounce an already-running stack. Cellular enable
no longer claims the device entered airplane mode.
2026-08-17 09:36:45 +08:00
yibaiba 3c0d79742a fix: harden docker runtime, PushPlus transport, and DB write logs
Align the Hub Dockerfile with Dockerfile.github so recordings keep
AMR/MP3 codecs and healthcheck. Send PushPlus over HTTPS with a timeout.
Log traffic rollup, SMS persist, and device IP update failures without
changing call/SMS success semantics.

Bump image to 2.0.3.
2026-08-17 01:35:52 +08:00
yibaiba 1401576259 feat(updater): check Docker Hub versions 2026-08-14 19:53:04 +08:00
yibaiba 0780cbee84 feat(server): make built-in https optional 2026-08-14 19:27:06 +08:00
yibaiba 7059e1335f feat(auth): guide first-login password changes 2026-08-14 17:39:16 +08:00
yibaiba 1d262da390 fix(notify): serialize QR credential finalization 2026-08-14 14:16:28 +08:00
yibaiba 8d54ab3767 fix(settings): serialize notification persistence 2026-08-14 13:45:13 +08:00
yibaiba 037a461911 feat(web): persist disclaimer acceptance in database 2026-08-14 12:57:55 +08:00
yibaiba 445c9c39f5 feat(notify): add QQ bot QR onboarding 2026-08-14 12:36:11 +08:00
yibaiba 42e1f2a695 feat(notify): add WeCom bot QR setup
Why: HiDeck needs the Hermes-compatible WeCom smart-robot onboarding flow without requiring OpenClaw or replacing the existing Webhook channel.

Why this works: use the WeCom admin QR endpoints, persist masked manual or scanned credentials, and keep wecom_bot configuration independent from legacy Webhook settings.

Remaining: the long-lived WebSocket command and media pipelines are implemented in the following mission rows.
2026-08-14 12:05:21 +08:00
yibaiba 045f455e46 refactor(go): move module to yibaiba/hideck 2026-08-14 11:48:09 +08:00
yibaiba 314aa1c2e5 feat(notify): add Weixin QR login flow
Why: VoHive needs native personal WeChat onboarding without requiring OpenClaw.

Why this works: authenticated settings routes drive an isolated iLink QR state machine with bounded refreshes, persist confirmed credentials through the private runtime store, and never return the bot token.

Remaining: real WeChat scanning needs a user account; inbound polling and media delivery follow in the active mission.
2026-08-14 11:36:11 +08:00
yibaiba 139b421075 feat(notify): add WeCom notification channel 2026-08-14 10:29:46 +08:00
yibaiba f22c499173 fix(sms): persist unread state and target ICCID 2026-08-13 20:23:32 +08:00
yibaiba 4919b0d080 feat(server): serve phone UI over managed HTTPS
Run HTTP and TLS listeners together, issue a persistent local CA certificate
with host SANs, support provided certificates, and expose only the CA public cert.
2026-08-13 14:35:18 +08:00
yibaiba ce33da3ce7 feat(phone): add leased call session API
Manage one active call per device, browser control leases, recovery,
terminal classification, SSE replay, history, and authenticated controls.
2026-08-13 13:56:26 +08:00
yibaiba 98a754efc3 feat(voice): persist playable MP3 call recordings 2026-08-13 11:40:20 +08:00
yibaiba f800dc6a2f feat(esim): add explicit profile disable flow 2026-08-13 11:26:58 +08:00
yibaiba 11e3239d43 feat(automation): add scheduled device tasks 2026-08-13 08:16:39 +08:00
yibaiba 1e80204b89 fix command center realtime balance flow 2026-08-12 08:08:07 +08:00
yibaiba 5e92ae29b5 [command-center-followup-01] align public API contract 2026-08-12 01:03:32 +08:00
yibaiba 85753711f3 [command-center-04] expose authenticated command APIs 2026-08-12 00:11:15 +08:00
yibaiba 1f43d077ea [fix-nine-regressions-08] add OpenWrt dynamic interface mapping 2026-08-11 16:21:18 +08:00
yibaiba 3f3693fe6b [fix-nine-regressions-07] make QMI MBIM switches transactional 2026-08-11 15:53:51 +08:00
yibaiba 4a748b1cf5 [fix-nine-regressions-04] bind modem SMS to explicit SIM identity 2026-08-11 13:53:01 +08:00
yibaiba ff2f1478a7 [fix-nine-regressions-02] render timestamps in device timezone 2026-08-11 13:19:24 +08:00
yibaiba 36fea12adb [fix-nine-regressions-01] persist card policy before runtime changes 2026-08-11 13:03:55 +08:00
yibaiba 3fcbaed1ed [restore-vowifi-37] restore root runtime host 2026-08-11 09:43:18 +08:00
yibaiba 3535d5c70b [test] allow disabling SMS rate limit 2026-08-10 12:57:34 +08:00
yibaiba 824305cec1 [rewrite-vowifi-sms-followup-21] restore IMS signaling keepalive 2026-08-08 17:37:57 +08:00
yibaiba 522cc2b870 [rewrite-vowifi-sms-followup-10] expose authenticated VoWiFi call API 2026-08-08 13:11:12 +08:00