repo_description: Agent Zero AI framework
repo_topics: agent ai assistant autonomous linux zero
code: from helpers.api import ApiHandler, Request, Response
  from helpers import extension
  
  
  class LoadWebuiExtensions(ApiHandler):
      """
      API endpoint for Welcome Screen banners.
      Add checks as extension scripts in python/extensions/banners/ or usr/extensions/banners/
      """
  
      async def process(self, input: dict, request: Request) -> dict | Response:
          extension_point = input.get("extension_point", [])
          filters = input.get("filters", [])
  
          if not extension_point:
              return Response(status=400, response="Missing extension_point")
          
          exts = extension.get_webui_extensions(agent=None, extension_point=extension_point, filters=filters)
          
          return {"extensions": exts or []}
  