ctx.notify (PluginNotifier) shows a toast or plays a sound. You describe what to show and which sound to play, and the shell renders it.
ctx.dialog or ctx.prompt instead.
toast()
Show a non-blocking toast notification in the shell UI.
playSound(name)
Play one of the shell’s built-in semantic sounds. name is a BuiltInSound:
playCustomSound(assetPath)
Play a sound file bundled inside your plugin. assetPath is relative to the plugin root (e.g. "assets/DepGateAlert.wav").
Requirements:
- The file must live under
assets/in your plugin directory — anything underassets/is shipped with the plugin bundle automatically. - Allowed file types:
wav,mp3,ogg,m4a,aac. - Obeys the user’s notification-sound setting.