Repository navigation
Description
Hub: DeepSeekBot mobile app — native Expo client for a home Host
Product outcome
The Human leaves the computer that runs their DSH Host and keeps working with their PersonaBots from a phone, in an app that feels native: scroll, keyboard, gestures, haptics and notifications behave like a first-class iOS/Android app, not a desktop web page in a browser. Agents, Channels, memory and every authority stay on the Human's computer; the phone is a paired remote client that reads and acts through the Host.
Confirmed Human decisions
- Expo React Native, native UI written for mobile. Not a full-screen WebView shell and not a PWA (decided in the 2026-10-14 project thread, revising the Phase 2 "WebView shell" plan of docs: 移动端接入策略调研入库(Tailscale+PWA 先行,Expo 后置) #219).
- t3code is the reference implementation for app structure and UX quality: pingdotgg/t3code
apps/mobile(MIT; Expo, native modules for Markdown, composer and notifications; pairing + multi-route connection model indocs/user/remote-access.md). Borrowed code keeps its license notice. - Data comes from the Human's computer. The phone caches; it never becomes an authority for messages, approvals, PersonaBots or Sessions.
- Milestone v2.0. Large effort, split into workstreams below.
Architecture in one picture
Phone (Expo app) ──HTTPS + WebSocket──► route (Tailscale HTTPS first; LAN; Cloudflare Tunnel later)
──► DSH Host (loopback) ──► BotHarness Host modules
Host ──content-free push──► Expo Push Service ──► APNs / FCM ──► phone wakes, then reads over the route
- Not peer-to-peer at the application layer: the Host is the server, the phone is a client. Tailscale's WireGuard mesh handles NAT traversal below us; we write no WebRTC, signaling or TURN.
- Reads use the existing typed live streams (
followRoster,followActivity,followChannel, ADR-0181) and existing Client bridge methods; writes use the same bridge methods the live CLI already calls over the DSH HTTP unary carrier (ADR-0159). - No BotHarness-hosted relay in v2.0. A T3 Connect–style hosted control plane (account, managed tunnels, relay push) is a later, separate decision.
Workstreams (sub-issues)
- Device pairing and remote access to the Host — Host side: durable per-device credential, QR pairing, revocation, routes. Contains the one open architecture question (how a paired device is admitted by DSH across Host restarts).
- Mobile app foundation and native Bot DM —
apps/mobileExpo workspace, connection, Roster, native Human–PersonaBot DM with live replies, "open full client" fallback. - Mobile Human Inbox, approvals and push — native Human questions and Tool approvals, Human Inbox list, content-free push notifications.
Later sequencing (not tickets yet): native Activity Center overview and Group Channels; Cloudflare Tunnel and learned LAN routes; DSH-native Session history (blocked on a stable DSH API; until then viewed through the full Web Client); hosted relay for zero-install distribution; tablet layouts.
Authority boundaries
- BotHarness-owned facts (PersonaBots, Channels, DMs, Inbox Admissions, Human Inbox, Activity) are read and written only through their owning Host modules and existing bridge/stream methods. No mobile-specific store, replay log or permission path.
- DSH-owned facts (Session execution history, tool-call detail) stay behind DSH's own surfaces; the app does not chase DSH's unversioned internal
/apifor them. dsh webstays loopback-bound; remote reach is only through an authenticated route (existing phone QA runbook,--trusted-host).
Delivery and Human gates
Tracer bullets per AGENTS.md: workstream 2's first slice must be a real phone talking to a real isolated Host and a real PersonaBot reply. Pause for Human QA on a physical device after each first slice before broadening.
Research
docs/research/2026-10-14-mobile-native-client-survey.md(PR docs: research how agent apps ship mobile clients, and a native path for DSH #1642): t3code / Happy / opencode comparison.docs/research/2026-09-23-mobile-remote-access-strategy.md(docs: 移动端接入策略调研入库(Tailscale+PWA 先行,Expo 后置) #219),docs/agents/phone-qa-tunnel.md.
Tracking
Sub-issues attached natively.
Activity
DoodleBears commentedon Oct 14, 2026
New slice: #1687, "Mobile 6: Bot Browser and Computer viewers work inside the in-app full client". It is a follow-up to #1654 (merged in #1671), a sub-issue of #1645, and in milestone v2.0.
Generated by Claude Code
Make the mobile composer compact: one row or two stacked rows
Add zoom and swipe-to-close gestures to the mobile image viewer (#1719)
13 remaining items
Load mobile chat images through expo-image, and add haptics and copy (#…
Answer Inbox questions and approvals in place, one post at a time (#1765
Give mobile fills one layer model that mirrors the Web Client (#1774)
Add filter chips and pinned section headers to the mobile Activity tab (