Runtime + origin registry
A NotifyProxy ready to route notify.* envelopes
import { createNotifyProxy, originRegistry, createShellBridge } from '@kehto/shell';
const bridge = createShellBridge(hooks);
const notifyProxy = createNotifyProxy({
runtime: bridge.runtime,
originRegistry,
});
// Shell-UI notifies napplet that user clicked its toast:
notifyProxy.emit('win-chat', {
type: 'notify.clicked',
notificationId: 'shell-42',
});
Factory for the canonical notify-domain proxy.