mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 09:28:56 +00:00
Start a permission-restricted Unix JSON socket alongside the WebUI, with file-discovered core/plugin handlers and a standard-library CLI. Reuse explicit JSON API operations for local administration and plugin workflows. Allow long operations without a default execution deadline, configure JSON and transfer limits, and keep blocking operations off the transport loop. Preserve HTTP authentication, multipart behavior, RFC, and startup/update health probes. Validation: 44 socket/adapter tests and 8 plugin compatibility tests pass; syntax, handler mapping, skill examples and DOX checks pass. Full WebUI integration was unavailable without installed framework dependencies.
7 lines
152 B
Python
7 lines
152 B
Python
from helpers import socket_handlers
|
|
|
|
|
|
class CreateChat(socket_handlers.JsonApiHandler):
|
|
api_module = "api.chat_create"
|
|
api_class = "CreateChat"
|