agent-zero/docs/developer
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
..
architecture.md optimize media; README.md; change structure 2026-02-10 17:38:02 +01:00
connectivity.md optimize media; README.md; change structure 2026-02-10 17:38:02 +01:00
contributing-skills.md BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
extensions.md BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
mcp-configuration.md optimize media; README.md; change structure 2026-02-10 17:38:02 +01:00
notifications.md BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
plugins.md marketplace polish; add confirm-dialog extension hook and plugin_scan marketplace note 2026-03-09 11:41:10 +01:00
websockets.md BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00