Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

ChangeListener

ChangeListener = () => void | Promise<void>

A function a plugin’s change listener runs. It may be async, but its promises must settle during the run: only a command’s run can await PluginContext.fetch or a file dialog. Other code, such as a panel’s button, starts one without awaiting it; see PluginFiles.

void | Promise<void>