chore: add AI-tasks-specific fields to codersdk.WorkspaceBuild (#18436)

This will be needed by the frontend on the `/task/$id` page to display
the app in the sidebar.

Related to https://github.com/coder/coder/issues/18158
This commit is contained in:
Hugo Dutka
2025-06-20 10:59:34 +02:00
committed by GitHub
parent d788ab9e55
commit 32239b29cb
8 changed files with 60 additions and 0 deletions

7
coderd/apidoc/docs.go generated
View File

@ -18091,6 +18091,10 @@ const docTemplate = `{
"codersdk.WorkspaceBuild": {
"type": "object",
"properties": {
"ai_task_sidebar_app_id": {
"type": "string",
"format": "uuid"
},
"build_number": {
"type": "integer"
},
@ -18105,6 +18109,9 @@ const docTemplate = `{
"type": "string",
"format": "date-time"
},
"has_ai_task": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"