agent-zero/plugins/code_execution
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
..
extensions refactor: move input tool and prompt into code execution plugin 2026-03-08 23:45:15 +08:00
helpers refactor: Extract code execution tool to plugin 2026-03-08 09:52:17 +08:00
prompts refactor: move input tool and prompt into code execution plugin 2026-03-08 23:45:15 +08:00
tools refactor: move input tool and prompt into code execution plugin 2026-03-08 23:45:15 +08:00
webui Use prototype-based context for plugin settings 2026-03-09 21:19:55 +01:00
default_config.yaml fix: restore RFC SSH defaults for dockerized dev sessions 2026-03-08 19:28:02 +08:00
plugin.yaml Update plugin.yaml 2026-03-08 18:41:11 +01:00