agent-zero/plugins/plugin_installer
Alessandro ae62cfc1ca marketplace polish; add confirm-dialog extension hook and plugin_scan marketplace note
Add a generic JS extension point for the shared confirm dialog so plugins can
augment the warning body and footer without hardcoding scanner logic in the
installer.

- webui/js/confirmDialog.js: call callJsExtensions('confirm_dialog_after_render')
  with dialog/body/footer nodes and optional extensionContext; defer show until
  extensions run; add isClosed guard and Enter key handling for extension buttons.
- plugins/plugin_installer: pass extensionContext only from installFromIndex()
  (kind: marketplace_plugin_install_warning, gitUrl, etc.); ZIP/Git install
  flows unchanged.
- plugins/plugin_scan: new extension confirm_dialog_after_render that, for
  marketplace install warnings, appends recommendation text and a "Scan with A0"
  button that closes the dialog and opens the scanner modal with the repo URL.
- webui/css/modals.css: margin for .confirm-dialog-extension-note.
- docs: document confirm_dialog_after_render and when to use JS hooks vs HTML
  breakpoints (AGENTS.plugins.md, developer/plugins.md).
2026-03-09 11:41:10 +01:00
..
api redesign plugin marketplace; simplify API 2026-03-08 16:27:46 +01:00
extensions/webui/plugins-list-header-buttons feat: simplify install button + add tab state and management methods to store 2026-03-03 23:39:29 -05:00
helpers redesign plugin marketplace; simplify API 2026-03-08 16:27:46 +01:00
webui marketplace polish; add confirm-dialog extension hook and plugin_scan marketplace note 2026-03-09 11:41:10 +01:00
plugin.yaml feat: add plugin installer with support for ZIP and Git installations 2026-03-03 10:53:35 -05:00