agent-zero/webui/components/plugins/AGENTS.md
Alessandro 48cba46181 Fix model preset reset flow
Add a confirmed Reset to default action to the preset editor and refresh its draft after resets from either entry point.

Resolve the toast helper at action time so resetting model settings cannot abort before removing the preset override. Rename the generic reset action for clarity and add regression coverage.
2026-07-13 14:46:11 +02:00

1 KiB

Plugin Components DOX

Purpose

  • Own core WebUI plugin settings, info, list, execution, and toggle components.

Ownership

  • Root plugin component files own shared plugin settings and info screens.
  • list/ owns plugin list and execute modal components.
  • toggle/ owns scoped plugin activation UI.
  • Store files own plugin modal and settings state.

Local Contracts

  • Keep plugin settings modals bound through $store.pluginSettingsPrototype conventions.
  • Preserve global and scoped toggle semantics using .toggle-1 and .toggle-0.
  • Use notification helpers for plugin UI feedback.
  • Label reset actions Reset to default and resolve notification globals when the action runs so late WebUI initialization cannot abort the reset lifecycle.

Work Guidance

  • Coordinate plugin API payload changes with helpers/plugins.py and plugin API handlers.

Verification

  • Smoke-test plugin list, settings, scoped toggles, plugin info, and execute modal after changes.

Child DOX Index

No child DOX files.