Turn them on
Session alerts are part of Pro. With Pro they are on from the start.
- Turn them on or off in Settings, Sessions: Session alerts.
- Allow notifications for Wardterm in the settings of your device if they are off.
When a notification arrives
Wardterm watches the SSH and Mosh sessions you have open but are not looking at, and sends a notification when:
- a command that ran for 30 seconds or more ends or fails, with its exit code. This needs shell integration for the server: see Shell integration.
- an AI tool in the terminal finishes its turn, asks for a permission or a choice, waits for you to sign in, or stops with an error.
- a program asks for a notification with the terminal's notification sequences.
While Wardterm is locked, the notification only says that something is new in a session.
Answer from the notification
Tap the notification to open the session. When an AI tool asks a clear yes or no question, the notification offers Yes and No, and your answer goes to the session. On a server with Environment set to Production, Wardterm asks first.
On iPhone and iPad
With Keep sessions open in background on, in Settings, Sessions, alerts arrive while you use other apps or the screen is locked.
With Show on Lock Screen and Dynamic Island on, the Live Activity also shows the session that needs you. To see AI agents and answer them there, see AI agents.