Commit Graph
50 Commits
Author SHA1 Message Date
yibaiba 95f360128e docs(notify): document QR channel setup 2026-08-14 13:13:07 +08:00
yibaiba 8cba2d78af fix(api): hide disclaimer storage errors
Log internal persistence failures server-side while returning stable operation-specific messages to authenticated clients.
2026-08-14 13:08:14 +08:00
yibaiba 3152749b4b feat(settings): add notification QR onboarding 2026-08-14 13:04:05 +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 cf86a08a93 refactor(runtime): adopt HiDeck identifiers 2026-08-14 11:55:59 +08:00
yibaiba 93b8da01ea feat(notify): connect Weixin command channel
Why: QR credentials were persisted but could not yet receive commands or deliver notifications.

Why this works: a cancellable iLink long poll processes authorized messages before advancing its durable cursor, binds only the first direct user, echoes context tokens, and routes commands through the shared handlers.

Remaining: production WeChat message verification needs a scanned account, and media upload follows in the next mission issue.
2026-08-14 11:48:45 +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 743d5a55c4 feat(notify): persist channel runtime state
Why: QR-based channels need durable cursors and chat bindings without rewriting the full application config for every message.

Why this works: the notification manager receives an atomic 0600 JSON state store, while stable channel settings remain in the existing atomic YAML config and secrets are masked on read.

Remaining: channel-specific QR sessions and transports consume this state in later mission issues.
2026-08-14 11:26:30 +08:00
yibaiba 139b421075 feat(notify): add WeCom notification channel 2026-08-14 10:29:46 +08:00
yibaiba 3bc24e00be fix(web): improve carrier rule tray controls
Expose built-in rule editing beside refresh, keep all effective rules reachable, and restore database overrides through the existing backend contract.
2026-08-14 07:44:14 +08:00
yibaiba c1906b23dd fix(balance): keep manual values directly addressable 2026-08-14 01:09:10 +08:00
yibaiba 02dbbf1448 feat(api): support manual device balances 2026-08-14 00:46:06 +08:00
yibaiba f22c499173 fix(sms): persist unread state and target ICCID 2026-08-13 20:23:32 +08:00
yibaiba debf38477a docs(phone): document real-time call API 2026-08-13 15:16:02 +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 8ca49afdf5 feat(phone): record mixed call audio and publish MP3
Capture both browser and IMS audio into a call-owned PCM mix, retain paired
IMS PCAP metadata, surface recording failures, and support ranged playback.
2026-08-13 14:29:23 +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 e1d90291f8 fix(openapi): repair eSIM route assertions 2026-08-13 11:34:50 +08:00
yibaiba ca249ec6c0 fix(automation): use the active physical SIM 2026-08-13 11:29:20 +08:00
yibaiba f800dc6a2f feat(esim): add explicit profile disable flow 2026-08-13 11:26:58 +08:00
yibaiba 958407d2fd fix(esim): return empty state for physical SIMs 2026-08-13 11:16:46 +08:00
yibaiba 11e3239d43 feat(automation): add scheduled device tasks 2026-08-13 08:16:39 +08:00
yibaiba fbb9780cc6 feat(device): add PCSC reader mode 2026-08-13 06:52:34 +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 7a0fdab524 [command-center-05] build web command workspace 2026-08-12 00:28:06 +08:00
yibaiba 85753711f3 [command-center-04] expose authenticated command APIs 2026-08-12 00:11:15 +08:00
yibaiba e1897d5e7a [fix-nine-regressions-10] implement MBIM protocol state machine 2026-08-11 22:16:24 +08:00
yibaiba 4acdd8cfac [fix-nine-regressions-10] harden backend rebind and IMS readiness 2026-08-11 21:04:59 +08:00
yibaiba e8c1339f80 [fix-ui-vowifi-state] preserve readiness stages and carrier flags 2026-08-11 19:09:40 +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 1b4de4072e [fix-nine-regressions-06] route MBIM SMS through AT scheduler 2026-08-11 15:11:14 +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 0586c9101a [restore-vowifi-36] restore voice host gateway 2026-08-11 08:30:41 +08:00
yibaiba e8be5383b5 [restore-vowifi-25.08] reconcile degraded SMS inbox 2026-08-10 15:10:52 +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
yibaiba 7d86d97aff [rewrite-vowifi-sms-01] restore truthful SMS readiness 2026-08-08 06:13:48 +08:00
yibaibaandClaude Fable 5 6a55aceeb9 feat(api): add SMS rate limiting (hourly 3 / daily 10)
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>
2026-08-07 09:59:32 +08:00
yibaibaandClaude Fable 5 320ef758c0 feat: integrate rewritten vowifi-go (binary-faithful imscore/voice API)
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>
2026-08-07 01:21:47 +08:00
windloom de689a554d Assemble source-integrated VoHive 2026-07-06 04:30:39 +08:00