claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Remote Control: option to send mobile push notifications even while the terminal is focused

Open shokitakeda opened this issue 2 months ago • 2 comments

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Remote Control intentionally skips mobile push notifications while the connected terminal is focused/typed-in (documented behavior since v2.1.181). But "terminal is focused" doesn't always mean "I'm actually at the machine" — e.g. I leave the terminal window frontmost on my Mac and step away, checking progress from my phone. In that case I never get a push, even though I'm not actually watching the terminal.

Proposed Solution

Add an opt-in toggle (alongside the existing /config options "Push when Claude decides" and "Push when actions required") to always send Remote Control mobile pushes regardless of local terminal focus state.

Alternative Solutions

CLAUDE_CLIENT_PRESENCE_FILE exists, but it only widens suppression (skips pushes even in other windows while "present"), which is the opposite of what I need.

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

  1. I kick off a long task in Claude Code on my Mac and leave the terminal window open/frontmost.
  2. I walk away and check progress from my phone via Remote Control.
  3. Because the terminal is still "focused" on the Mac, no push arrives, so I have no way to know the task finished without manually reopening the session.

Additional Context

Related: #79617 (presence-aware notification control, closed/stale) discusses similar presence-check plumbing for terminal-channel notifications.

shokitakeda avatar Sep 13 '26 13:09 shokitakeda

+1, and some extra data from the Claude desktop app on Windows 11 (Code tab, Remote Control on, iPhone Claude app):

  • With the Claude window frontmost on an unattended PC (no input for ~60 s), PushNotification returns "Not sent — this terminal is active". Minimizing the window or locking the screen makes it return "Mobile push requested", and the push arrives on the phone.
  • After I answer a question from the phone, the desktop window comes back to the foreground on its own (3 out of 3 times today), so the next push is suppressed again even though I'm still away from the PC.
  • My usual setup: two PCs running the desktop app, me waiting on the iPhone. Minimizing or locking them isn't practical, so an opt-in "always push to mobile" toggle (or presence based on recent keyboard/mouse input instead of window focus) would solve this.

HH-smallbear avatar Oct 15 '26 02:10 HH-smallbear

When I walk away I give AI my phone number. With the number you get from callmemcp.com we basically support ANY AI agent, from chatgpt dots to claude to grok bot. in the meantime the "terminal still frontmost, no push" case doesnt apply to it, claude code just calls your iphone when it needs you whatever window has focus. take it hands free in the car or on a walk and claude carries on from what you said. you pay for the app, iphone only

radres avatar Oct 26 '26 08:10 radres