Notifications

Teklrn can play a sound, show a VS Code notification, or show a native operating system notification when a session needs your attention. All three are off by default.

Open Teklrn AI Settings with the gear icon () and select Notifications.

SettingKeyDefaultEffect
Enable Sound NotificationsTeklrn-code.new.attention.enabledfalsePlay a sound when a session completes, errors, or needs input.
SoundTeklrn-code.new.attention.sounddefaultSelect the sound. default uses a different sound per event; other choices use one sound for every event.
Enable OS NotificationsTeklrn-code.new.attention.OSNotificationsfalseShow a native notification when the VS Code window is not focused.
Enable VS Code NotificationsTeklrn-code.new.attention.notificationsfalseShow a VS Code notification when the affected session is not visible.

The sound picker and its Test button appear when sound notifications are enabled. Test plays the selected sound.

The Enable OS Notifications row appears on macOS, Linux, and Windows. Its Test button sends a real native notification and reports success or failure.

These settings are stored in your VS Code settings under Teklrn-code.new.attention.*. They are not part of Teklrn.jsonc.

When Teklrn notifies you

Teklrn alerts on these events:

  • A session completes a turn.
  • A session needs your input.
  • A session needs permission.
  • A session stops because of an error.

These rules apply to every channel:

  • Error notifications are held until the errored turn closes, so a retry that recovers reports completion instead of failure.
  • Completion alerts are suppressed while the session has an active goal.
  • A repeated request for the same question or permission alerts only once.
  • Manual aborts and auto-approved permissions do not alert.
  • Completion and error alerts come from root sessions only. Subagent turns do not alert.

Alert text is translated into the extension's supported display languages.

Channels

Each enabled channel decides independently. The OS notification follows window focus, and the VS Code notification follows session visibility.

VS Code windowAffected sessionNative OS notificationVS Code notification
FocusedVisibleNoNo
FocusedNot visibleNoYes
Not focusedVisibleYesNo
Not focusedNot visibleYesYes

Both channels can fire for the same event. The VS Code notification includes the workspace and session names and a Show button. Show focuses the Teklrn sidebar and opens the session at its latest message.

Native notification support

PlatformBackend
macOSosascript
Linuxnotify-send (libnotify)
WindowsPowerShell toast

On Windows, Teklrn reads the running editor's win32AppUserModelId from its product.json to attribute the toast. If that identity is missing or invalid, native notifications are unavailable and the Test button reports an error. VS Code notifications still work.