feat(agentcompat): expose dashboard capability routes

Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
This commit is contained in:
naibaandnaiba/CloudCode committed 2026-07-20 04:30:50 +00:00
1 parent 0c6eb416a5
commit 2640b86d3a
42 files changed
+4083 -271

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ func routers(r *gin.Engine, frontendDist fs.FS) {
r.DELETE("/mcp", mcpOriginGuard(), mcpMethodNotAllowed)
r.GET("/mcp/download/:token", mcpOriginGuard(), transferDownloadHandler)
r.POST("/mcp/upload/:token", mcpOriginGuard(), transferUploadHandler)
registerAgentcompatRoutes(r)
api := r.Group("api/v1")
api.POST("/login", authMiddleware.LoginHandler)