Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

Feature request: tap notification to focus tmux session #3

@standardtoaster

Description

@standardtoaster

Problem

When a Stop or Notification event fires and I receive a push notification on my iPhone, tapping it opens Moshi but doesn't navigate to the tmux window/pane where Claude Code is running.

Use case

I run Claude Code over mosh+tmux and monitor it from my phone via Moshi. When I get a "Task Complete" or "Permission Required" notification, I'd like tapping it to jump me directly to the relevant tmux session/window — rather than having to manually navigate to it.

Possible approach

Since Moshi already has native tmux support, the hooks could include a tmux session/window identifier in the event payload (or the app could track which session is associated with a given sessionId), and the notification tap action could focus that pane.

Alternatively, if Moshi supports a URL scheme (e.g. moshi://session/...), the notification could carry that as a deep link.

Environment

  • moshi-hooks installed via bunx moshi-hooks setup
  • Claude Code over mosh+tmux
  • Moshi app on iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions