Remote Control sessions between Claude Code CLI (Linux) and the Claude iOS app are unreliable when the phone app is backgrounded.
Behavior
- Connection works fine while the Claude iOS app is in the foreground — messages flow both ways
- Switching to another iOS app and returning to Claude kills the connection
- The app still shows the session as "active" but responses stop flowing
- Requires
/remote-control disconnect + reconnect from the CLI to restore the session
- After
/clear in the terminal, the phone shows a zombie session — appears active but won't connect at all
Feature requests
- Auto-reconnect on foreground resume — when the iOS app returns from background, it should automatically restore the WebSocket connection without requiring CLI-side intervention
- Delete archived sessions — old/dead remote sessions accumulate in the iOS app's archive with no way to remove them
- Graceful /clear handling — clearing conversation in CLI should either update the remote view or cleanly disconnect it, not leave it in a zombie state
Environment
- Claude Code CLI on Ubuntu Linux 6.17
- Claude iOS app (latest) on iPhone
- Same local WiFi network
- Connection is local (not routed through external services)
Remote Control sessions between Claude Code CLI (Linux) and the Claude iOS app are unreliable when the phone app is backgrounded.
Behavior
/remote-controldisconnect + reconnect from the CLI to restore the session/clearin the terminal, the phone shows a zombie session — appears active but won't connect at allFeature requests
Environment