feat(api): expose process output over websocket

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-03 12:23:48 +08:00
co-authored by Claude
parent 11ccdda579
commit 7cd05ba98a
5 changed files with 196 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ func NewRouter(workspaces *service.WorkspaceService, files *service.FileService,
api.POST("/workspaces/:id/process/stop", procHandler.stop)
api.POST("/workspaces/:id/process/restart", procHandler.restart)
api.GET("/workspaces/:id/process/status", procHandler.status)
api.GET("/workspaces/:id/process/ws", procHandler.ws)
return r
}