Work
Alerts
hup tells you when an agent finishes or needs an answer: with a notification at your desk, and with an alert on your phone when you’re away.
Accurate for hup Mac 0.1.483iPad and iPhone 1.1.3
At your desk
A pane’s tab shows a spinner while its agent reports that it’s working. When an agent finishes or asks for something, your Mac shows a notification, and a click on it takes you to that pane. hup never notifies you about the pane you’re looking at.
⌘K shows every session with what it’s doing, and hup in the menu bar counts the agents waiting for you.
Answer from the notification
A notification from hup has Reply. Type your answer there and send it: hup types it into the pane that asked and presses Return, and hup stays in the background.
hup doesn’t send your reply in three cases: you opened that pane after the notification arrived, the pane has sent a newer notification, or the agent has quit. A second notification tells you the reply wasn’t sent.
On your iPad or iPhone, while hup is open
hup on an iPad or iPhone notifies you when an agent in a tab you aren’t looking at finishes or asks for something. The first time, the device asks whether hup may send notifications. You can also allow them in Settings ▸ Alerts.
Touch and hold the notification to type an answer. hup types it into that agent’s pane and presses Return. A reply isn’t sent in the same three cases as on the Mac.
These notifications come from hup on the device. They arrive while hup is open, and for about half a minute after you leave it. To be told later than that, set up alerts on your phone.
Set up your agent
hup shows the notifications a program sends from its terminal. Most agents can send them, and some need a setting turned on.
Claude Code
Run /config, and set Notifications to iterm2 or ghostty. hup understands both.
Codex
In ~/.codex/config.toml:
[tui]
notifications = true
notification_method = "osc9"
notification_condition = "always"
On your phone
With alerts on, the machine an agent runs on sends the alert to your phone through ntfy, even when hup isn’t open on any device.
In Settings ▸ Alerts, turn on Alerts on your phone. hup makes a random topic name and puts it on each of your hosts.
In the ntfy app on your phone, tap + and subscribe to that topic.
Back in hup, choose Send a Test and check that it reaches your phone.
Each alert has a link that opens the session in hup.
When one is sent
| An agent needs you or finishes | It sent a notification, or rang the bell from a program running in the shell. |
|---|---|
| Work it reported ends | After at least 15 seconds of work, or when the work fails. |
| A long command ends | One that ran for two minutes or more, unless you set another length. |
An alert waits a minute before it goes. If you type in that pane in the meantime, or you’re looking at it, it isn’t sent.
What you can change
| Wait for an answer first | How long an alert waits before it goes, from 30 seconds to 5 minutes, in case you get to the pane yourself. |
|---|---|
| A command finished, after | How long a command has to run before hup sends an alert when it ends, from 1 minute to 30. |
| Say what’s asked | Put the question in the alert, read off the pane’s screen. With it off, an alert says only which agent is asking, and where. |
Who can read them
An alert goes through the ntfy server, and anyone who knows your topic can read what’s sent to it. The public server at ntfy.sh keeps messages for 12 hours. If you run your own ntfy server, give hup that address as the topic’s, and your alerts stay on your own server.