agent-zero/extensions/python/agent_init
frdel ab9fc4ee7f Refactor extensions to async/sync API
Redesign extension handling to support explicit async/sync execution. helpers/extension.py rewrites the extensible decorator, adds call_extensions_async / call_extensions_sync, and a helper to gather extension classes; caching flag adjusted. Updated call sites across the codebase (agent, APIs, plugins, tools, settings, extensions) to use extension.extensible and the new call_extensions_async/sync API, and converted several extension handlers from async to sync. Also small frontend tweaks (use globalThis.runtimeInfo) and minor import updates (csrf_protect in run_ui). This centralizes extension discovery/execution and avoids previously scattered asyncio.run usage.
2026-03-06 11:32:08 +01:00
..
.gitkeep BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_10_initial_message.py Refactor extensions to async/sync API 2026-03-06 11:32:08 +01:00
_15_load_profile_settings.py Refactor extensions to async/sync API 2026-03-06 11:32:08 +01:00