agent-zero/python
frdel d82b121bc9 Add extensible decorator and cache controls
Introduce an extensible extension point system and finer cache control. Added extensible decorator in python/helpers/extension.py to wrap sync/async functions, emit start/end extension points, detect Agent instances, and allow extensions to modify inputs/results/exceptions. Reworked extension loading to use the cache API and a dedicated cache area. Enhanced python/helpers/cache.py with global and per-area toggles and early-return behavior in add/get/remove. Updated API handler caching (python/helpers/api.py) to use the cache area toggle and simplify cache logic. Marked several initialization functions as @extension.extensible in initialize.py. Moved nest_asyncio.apply() from agent.py into python/helpers/runtime.py to ensure the event loop patch is applied at runtime initialization. Also applied small typing/formatting tweaks and path handling improvements.
2026-02-25 16:52:35 +01:00
..
api generic markdown modal and plugins wiring 2026-02-24 15:23:14 +01:00
extensions Detach memory and update config 2026-02-21 10:41:29 +01:00
helpers Add extensible decorator and cache controls 2026-02-25 16:52:35 +01:00
tools simplification and further memory decoupling 2026-02-15 03:25:33 +01:00
websocket_handlers better logging in websockets 2026-02-10 10:12:03 +01:00