fix(#1282): require capability consent for plugin updates (#1295)

This commit is contained in:
m57
2026-09-26 21:03:53 +03:00
committed by GitHub
parent 89858fc35d
commit ee487e0087
6 changed files with 247 additions and 16 deletions
@@ -670,7 +670,8 @@ interface HermesApiService : KanbanApiService {
@POST("api/dashboard/agent-plugins/{name}/update")
suspend fun updatePlugin(
@Path("name", encoded = true) name: String,
): Response<Unit>
@Body body: com.m57.hermescontrol.data.model.PluginUpdateRequest,
): Response<com.m57.hermescontrol.data.model.PluginUpdateResult>
@POST("api/dashboard/agent-plugins/{name}/enable")
suspend fun enablePlugin(