Skip to content
v0.5.0

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).

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.

SourceEventConfig keyDefault
TerminalA long-running command finishednotification.source.terminal.long_running_command.enabledoff
TerminalA program sent a message (OSC 9 or OSC 777)notification.source.terminal.osc9.enabledoff
Coding agentsstarts working, has a question, becomes ready, reports an errornotification.source.coding_agents.<event>.enabledoff
ErrorsCogno itself ran into an error and carried on (handled), or ran into an unexpected error (unhandled)notification.source.errors.handled.enabled, .unhandled.enabledoff

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 = true
notification.source.terminal.long_running_command.minimum_duration_seconds = 30

The notification shows the command, how long it ran and its exit code. A failed command appears as a warning.

ChannelWhat you getConfig keyDefault
In-appA toast inside Cogno. At most 3 are shown at once.notification.channel.app.enabledon
Operating systemA native system notification. Clicking it opens the terminal it came from.notification.channel.os.enabledoff
Tab badgeAn unread mark on the tab of the terminal the event belongs to, while that terminal is not focused.notification.channel.badge.enabledon
notification.channel.os.enabled = true
notification.channel.app.duration_seconds = 10

duration_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 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.

To open the panel with a different key, rebind open_notification, see Keybindings.