import { JupyterFrontEndPlugin } from '@jupyterlab/application'; /** * Turns the notifications coding agents already emit (OSC 9, OSC 777, the bell) * into desktop notifications. JupyterLab's xterm renders these sequences but * never forwards them to the OS, so this plugin hooks each terminal and bridges * them through `window.xtralab.notify` (desktop) or the web Notifications API. * * A notification is suppressed while its terminal is the focused, active tab, * and throttled per terminal. The desktop shell advertises * `TERM_PROGRAM=iTerm.app` so agents emit OSC 9 in the first place, and the * session name is forwarded so clicking a notification focuses the terminal * that fired it. */ declare const plugin: JupyterFrontEndPlugin; export default plugin;