fix(d3): ARCH-055/056/057 — errors.py error.user_agent statt nicht existierendem userAgent (AttributeError zur Laufzeit); roles.py SYSTEM_PERMISSIONS aus CORE_PERMISSIONS abgeleitet (47 statt 36 Permissions, Drift behoben, category→system für Frontend-Gruppierung); registry._plugins→öffentliche API list_discovered()+get_plugin()

This commit is contained in:
Agent Zero
2026-08-24 08:28:35 +02:00
parent 56e401969e
commit 0768cfb29a
2 changed files with 16 additions and 41 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ async def report_error(error: ErrorReport, request: Request) -> Response:
"error_stack": error.stack,
"error_context": sanitized_context,
"error_url": error.url,
"error_user_agent": error.userAgent,
"error_user_agent": error.user_agent,
"client_ip": client_ip,
},
)
@@ -128,7 +128,7 @@ async def report_error(error: ErrorReport, request: Request) -> Response:
"message": error.message,
"stack": error.stack,
"url": error.url,
"userAgent": error.userAgent,
"userAgent": error.user_agent,
"timestamp": error.timestamp,
"context": sanitized_context,
}