agent-zero/webui/components/plugins
frdel a807e2458b Use prototype-based context for plugin settings
Refactor plugin settings to use a per-modal prototype/context instead of binding directly to the global store. Introduces pluginSettingsPrototype (renamed export) and a lightweight instantiate helper (Alpine.magic('instantiate')) to clone the prototype into a modal-local context. Plugin config HTMLs (code_execution, infection_check, memory, text_editor) now bind UI fields to config.* and use context.* for modal-level state and actions; plugin settings components (plugin-settings.html, plugin-configs.html, plugin-settings-store.js, pluginListStore.js) were updated to create and consume the local context and to pass context into nested modals. Documentation and the SKILL guide were updated to describe the new modal contract and usage. This change scopes settings UI state to modal instances, enabling safer local state and easier integration with core-setting wrappers (use context.saveMode = 'core').
2026-03-09 21:19:55 +01:00
..
list Use prototype-based context for plugin settings 2026-03-09 21:19:55 +01:00
toggle redesign plugin marketplace; simplify API 2026-03-08 16:27:46 +01:00
plugin-configs.html Use prototype-based context for plugin settings 2026-03-09 21:19:55 +01:00
plugin-info.html refactor memory to standalone config and unify plugin UI 2026-02-20 09:10:16 +01:00
plugin-settings-store.js Use prototype-based context for plugin settings 2026-03-09 21:19:55 +01:00
plugin-settings.html Use prototype-based context for plugin settings 2026-03-09 21:19:55 +01:00