fix: embedding migration, worker error handling, path traversal security, response mismatches (unread-count, plugins, manifests), frontend type safety
This commit is contained in:
@@ -50,7 +50,7 @@ async def list_plugins(
|
||||
"""List all plugins with their current status (discovered, installed, active, inactive)."""
|
||||
service = get_plugin_service()
|
||||
plugins = await service.list_plugins(db)
|
||||
return {"plugins": plugins, "total": len(plugins)}
|
||||
return plugins
|
||||
|
||||
|
||||
@router.get("/manifest")
|
||||
@@ -76,7 +76,7 @@ async def get_active_manifests(
|
||||
"""
|
||||
service = get_plugin_service()
|
||||
manifests = await service.get_active_manifests(db)
|
||||
return {"plugins": manifests, "total": len(manifests)}
|
||||
return manifests
|
||||
|
||||
|
||||
@router.get("/{name}/config")
|
||||
|
||||
Reference in New Issue
Block a user