Skip to content

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

ConfirmOptions

Options of PluginContext.confirm.

optional cancelLabel?: string

“Cancel” by default.


optional confirmLabel?: string

“OK” by default.


optional title?: string

The dialog’s title; the plugin’s name by default.

optional onCancel(): void

Runs when the user cancels or closes the dialog.

void


optional onConfirm(): void

Runs when the user confirms; it may edit the model.

void