Notifications
Cogno tells you when something happens in a terminal you are not looking at, and keeps a list of those events.
Open the list with Ctrl+Alt+N (Command+Control+N on macOS).
One place for all of it
Section titled “One place for all of it”Notifications have sources and channels. A source is where an event comes from: the terminal, the coding agents, Cogno’s own errors. A channel is where you are told: a toast inside Cogno, a system notification, the badge on a terminal’s tab.
You pick which events notify you per source, and which channels are used for all of them.
Both are in the Settings panel (the gear at the bottom of the side menu, or Cmd+,), under
Notification, like every other setting.
Every switch there is a line in your config, so you can also set it in the file. The bell in a terminal’s header shows the unread mark and opens the list of notifications.
What can notify you
Section titled “What can notify you”| Source | Event | Config key | Default |
|---|---|---|---|
| Terminal | A long-running command finished | notification.source.terminal.long_running_command.enabled | off |
| Terminal | A program sent a message (OSC 9 or OSC 777) | notification.source.terminal.osc9.enabled | off |
| Coding agents | starts working, has a question, becomes ready, reports an error | notification.source.coding_agents.<event>.enabled | off |
| Errors | Cogno itself ran into an error and carried on (handled), or ran into an unexpected error (unhandled) | notification.source.errors.handled.enabled, .unhandled.enabled | off |
The most useful one to switch on is the first: start a build, work in another tab, and Cogno tells you when it is done.
notification.source.terminal.long_running_command.enabled = truenotification.source.terminal.long_running_command.minimum_duration_seconds = 30The notification shows the command, how long it ran and its exit code. A failed command appears as a warning.
How you are notified
Section titled “How you are notified”| Channel | What you get | Config key | Default |
|---|---|---|---|
| In-app | A toast inside Cogno. At most 3 are shown at once. | notification.channel.app.enabled | on |
| Operating system | A native system notification. Clicking it opens the terminal it came from. | notification.channel.os.enabled | off |
| Tab badge | An unread mark on the tab of the terminal the event belongs to, while that terminal is not focused. | notification.channel.badge.enabled | on |
notification.channel.os.enabled = truenotification.channel.app.duration_seconds = 10duration_seconds is how long a toast stays. unlimited keeps it until you dismiss it;
0 shows no toasts at all.
If the operating system denies permission, Cogno shows an in-app warning instead.
The list
Section titled “The list”The panel lists notifications newest first. Identical ones are merged into a single entry with a counter.
- Click an entry to jump to the workspace, tab and terminal it came from.
- Remove single entries, or empty the list with Clear.
- The bell icon in the side menu shows a badge while there are unread notifications.
The list keeps the 30 newest entries. Change that with
feature.notification_overview.max_items; unlimited keeps them all.
Settings
Section titled “Settings”notification.source.*— which events of which source notify younotification.channel.*— the in-app, operating system and tab badge channelsfeature.notification_overview.*— the panel:mode = offremoves it,ordersets its side-menu position,max_itemsits length
To open the panel with a different key, rebind open_notification, see
Keybindings.