Add Workflow tab and run-progress API for workflow runs

This commit is contained in:
Ian Gulliver
2026-10-16 11:01:53 -07:00
parent eb0c80a645
commit ec169583ff
19 changed files with 1285 additions and 209 deletions
+9
View File
@@ -63,3 +63,12 @@ func (s *Server) GetTaskWorkflow(w http.ResponseWriter, r *http.Request, taskID
}
writeJSON(w, http.StatusOK, tw)
}
func (s *Server) GetWorkflowRun(w http.ResponseWriter, r *http.Request, taskID string) {
run, err := s.agents.WorkflowRun(r.Context(), taskID)
if err != nil {
writeAgentError(w, err)
return
}
writeJSON(w, http.StatusOK, run)
}