mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat: add app status tracking to the backend (#17163)
This does ~95% of the backend work required to integrate the AI work. Most left to integrate from the tasks branch is just frontend, which will be a lot smaller I believe. The real difference between this branch and that one is the abstraction -- this now attaches statuses to apps, and returns the latest status reported as part of a workspace. This change enables us to have a similar UX to in the tasks branch, but for agents other than Claude Code as well. Any app can report status now.
This commit is contained in:
@ -55,6 +55,7 @@ const (
|
||||
WorkspaceEventKindAgentFirstLogs WorkspaceEventKind = "agt_first_logs"
|
||||
WorkspaceEventKindAgentLogsOverflow WorkspaceEventKind = "agt_logs_overflow"
|
||||
WorkspaceEventKindAgentTimeout WorkspaceEventKind = "agt_timeout"
|
||||
WorkspaceEventKindAgentAppStatusUpdate WorkspaceEventKind = "agt_app_status_update"
|
||||
)
|
||||
|
||||
func (w *WorkspaceEvent) Validate() error {
|
||||
|
Reference in New Issue
Block a user