mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-10 03:59:20 +00:00
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. |
||
|---|---|---|
| .. | ||
| AlpineStore.js | ||
| api.js | ||
| cache.js | ||
| components.js | ||
| confirmClick.js | ||
| confirmDialog.js | ||
| css.js | ||
| device.js | ||
| extensions.js | ||
| initFw.js | ||
| initializer.js | ||
| manifest.json | ||
| messages.js | ||
| modals.js | ||
| scroller.js | ||
| shortcuts.js | ||
| sleep.js | ||
| speech_browser.js | ||
| sw.js | ||
| time-utils.js | ||
| timeout.js | ||
| transformers@3.0.2.js | ||
| websocket.js | ||