widgetful Try 7 days free Buy

How-to Agents

Know when Claude Code waits for you

Updated 16 November 2026

Claude Code stops and waits when it needs a permission or an answer from you. If you are in a different window, the session can wait for an hour before you see it. This guide shows how to see a wait at once.

The short answer

Claude Code runs a hook for each Notification event. Add a hook that shows a macOS notice. Open ~/.claude/settings.json and add this hooks entry:

{
  "hooks": {
    "Notification": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"A session waits for you\" with title \"Claude Code\"'"
          }
        ]
      }
    ]
  }
}

Caution: Do not replace the full file. Add the hooks entry to the settings that you have now. If the file already has a hooks entry, add Notification inside it.

Start a new Claude Code session. The next permission request shows a notice.

The limits of a notice

  • A notice does not tell you which session waits, when you run more than one.
  • A notice goes away. After you come back, nothing shows the sessions that still wait.
  • The hook does not tell you when a session is done.

With Widgetful

Widgetful connects Claude Code and Codex with their own hooks. You see the exact change to each settings file first. Then:

  • The menu bar icon looks up, and its light turns orange, while a session waits.
  • The session list shows each session with its folder and its state: working, waits for you or done.
  • One click on a session brings back its terminal tab.

Widgetful reads only the state that the hooks send. It never reads your prompts, your code or the replies.

Widgetful also does this