-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
[BUG] Desktop session history not visible on mobile — only new messages from mobile are synced
Problem
When a session is started via happy on desktop and tasks are completed there, the conversation history is not synced to the mobile app. The mobile app only shows messages that originate from the phone itself — desktop input/output is invisible on mobile.
This breaks the core handoff workflow: I cannot see what Claude already did on desktop before I continue from my phone.
Steps to Reproduce
- Run
happyon desktop — session is created - On desktop: send a message / trigger Task A
- Claude Code executes and completes Task A on desktop
- Open the mobile app and navigate to the same session
- Mobile shows no history — Task A input and output are not visible
- On mobile: send a message / trigger Task B
- Desktop terminal switches to
remotemode and correctly displays Task B's execution in real time
Expected Behavior
At step 4, the mobile app should display the full conversation history of the session, including Task A's input and Claude's response — so the user has full context before continuing from mobile.
At minimum, a plain-text rendering of previous messages would be sufficient. Rich formatting is not required.
Actual Behavior
- Mobile app shows no history from desktop interactions
- Mobile-originated messages (Task B onwards) are correctly synced back to desktop in real time
- The sync is one-directional: mobile → desktop works, but desktop → mobile history does not load
Why This Matters
The Real-Time Sync docs state:
"Claude Code's response shows up on both devices simultaneously."
"When your phone gets signal again, it catches up on everything it missed."
The current behavior contradicts both of these claims. Without seeing what Claude already did, it is impossible to meaningfully continue a task from mobile — the user has no context and risks duplicating or undoing work already completed on desktop.
Environment
- OS: Windows 11
- Claude Code version: v2.1.76
- happy-coder CLI : latest
- happy app version : 1.5.0
- Mobile: IOS
- Claude Code plan: Team plan
Additional Context
The reverse direction (mobile → desktop) appears to work correctly, which suggests the sync infrastructure is functional but the desktop → mobile message history is not being pushed or loaded when the mobile client joins an existing session.
A potential fix: when the mobile app connects to an already-active session, fetch and render the existing encrypted message blobs from the relay server before showing the live feed.
Happy to test any fixes or provide logs. Thanks for the great project! 🙏