Commit Graph

23 Commits

Author SHA1 Message Date
Neil f441ee8f3d
chore(deps): bump deps to clear Dependabot alerts (#1526)
Run pnpm update in root + mobile to pull patched versions of vite, hono,
@hono/node-server, dompurify, uuid, picomatch, lodash, brace-expansion,
path-to-regexp, postcss, @xmldom/xmldom, and other transitive packages
flagged by Dependabot.

Co-authored-by: Orca <help@stably.ai>
2026-05-06 22:39:54 -07:00
Jinwoo Hong e83d92eede
Mobile: server-authoritative phone-fit state machine + race fixes + UX cleanup (#1518)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 21:54:23 -07:00
Neil db12df2ae5
feat(mobile): show detailed pairing log + cap connecting timeout (#1520)
When pairing fails (e.g. broken Tailscale route, firewall blocking the
WS, expired token, etc.) the mobile app previously got stuck on
'Connecting…' forever with no signal about *where* it stalled.

Adds a structured connection-log stream from the rpc client and renders
it under the 'Connecting…' spinner on both pair-scan and pair-confirm.
Each phase emits a timestamped, color-coded entry: Opening WebSocket,
WebSocket open, Sent e2ee_hello, Received e2ee_ready, Authenticated,
WebSocket closed / Reconnect scheduled / Connect timeout / Handshake
timeout, etc. The log auto-scrolls and stays visible after a failure so
the user can see the last successful step.

Also fixes the silent infinite spinner: pairing now has a 25s overall
timeout — rpc-client retries forever by design (right behaviour for
live sessions), but for the *initial* pair we want a hard ceiling that
surfaces an actionable error with the log visible instead of spinning.

- Adds ConnectionLogEntry / ConnectionLogSink to transport/types.ts
- connect() now accepts { onStateChange, onLog } (legacy fn form kept)
- New ConnectionLog component (mono, level-coloured, +Xs elapsed)
- Pair flows track logs in a ref and render them in connecting/error
- 25s pairing-overall timeout that closes the client and surfaces a
  'see log below for where it stalled' error

Co-authored-by: Orca <help@stably.ai>
2026-05-06 19:20:53 -07:00
Jinwoo Hong 9c24425504
fix(mobile): handle notification permission changes (#1506)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 11:57:42 -07:00
Jinwoo Hong bba744a8cb
fix(mobile): use neutral camera permission copy (#1504)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 11:45:37 -07:00
Jinwoo Hong 07d10c8e8d
fix(mobile): WS heartbeat to reap half-open mobile sockets (#1500)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 02:05:38 -07:00
Jinwoo Hong 97c8969246
Mobile: drop unused NSMicrophoneUsageDescription + bump iOS build to 9 (#1495)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 00:16:55 -07:00
Jinwoo Hong b95c338c58
chore(mobile): bump iOS buildNumber to 8 to ship updated app icon (#1492)
Picks up the icon update from #1490. Apple requires monotonically
increasing build numbers — 7 was already uploaded to TestFlight.

Co-authored-by: Orca <help@stably.ai>
2026-05-05 23:22:16 -07:00
Neil 3664507f85
mobile: update iOS app icon (#1490)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 22:32:04 -07:00
Jinwoo Hong 97b177d24c
Mobile: declare mass-market encryption exemption + bump iOS build to 7 (#1488)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 21:25:22 -07:00
Jinwoo Hong 82b078efa9
Mobile: App Store v0.0.4 prep + connection-stability fixes (#1486)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 20:46:56 -07:00
Jinwoo Hong 63e36d05fd
chore(mobile): App Store prep — privacy manifest, debug-log cleanup, and protocol-version compat block (#1440)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:23:56 -07:00
Jinwoo Hong a35b6f1495
chore(mobile): bump to v0.0.4 (build 5) (#1482)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:03:34 -07:00
Jinwoo Hong 087c00b02e
Mobile: stabilise connection + terminal-fit fixes + share one RpcClient per host (#1481)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 18:58:13 -07:00
Jinwoo Hong 7f2f39b804
feat(mobile): pairing paste flow + Keychain-backed device tokens + deep link (#1475)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 17:14:08 -07:00
Jinwoo Hong 4140d6a4c0
Revert "feat(mobile): pairing paste flow + Keychain-backed device tokens (#1452)" (#1474)
This reverts commit 55d3a42079.
2026-05-05 16:29:00 -07:00
Jinwoo Hong 1b25138e06
fix(mobile): remove dead-row gap above keyboard accessory bar (#1457)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:24:44 -07:00
Jinwoo Hong 55d3a42079
feat(mobile): pairing paste flow + Keychain-backed device tokens (#1452)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:09:26 -07:00
Jinwoo Hong f938ff185f
feat(mobile): account switcher and rate-limit usage on mobile (#1467)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:09:16 -07:00
Jinwoo Hong cdd21423eb
fix(mobile): unstick worktree spinner once agent exits, match desktop StatusIndicator (#1449)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 12:43:47 -07:00
Jinwoo Hong b7d6bcb00c
chore(mobile): bump to v0.0.2 and update Settings release link (#1427)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 00:03:43 -07:00
Jinwoo Hong d1b26e2eb7
Mobile improvements: scrollback hydration, keyboard layout, and worktree-creation polish (#1423)
Co-authored-by: Orca <help@stably.ai>
2026-05-04 23:24:22 -07:00
Jinwoo Hong fc578f5ea9
feat(mobile): Expo companion app [beta] (#1245)
Co-authored-by: Orca <help@stably.ai>
2026-05-04 13:08:27 -07:00