This commit is contained in:
Rongsong Shen 2026-07-23 12:35:10 +08:00
commit ff1be48001
38 changed files with 2292 additions and 35 deletions

View file

@ -522,3 +522,18 @@ func (e *ExitStatusValue) UnmarshalJSON(data []byte) error {
*e = ExitStatusValue(s)
return nil
}
// JobOutputResponse represents the response from the job output API.
type JobOutputResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data JobOutputData `json:"data"`
}
// JobOutputData represents the payload in a job output response.
type JobOutputData struct {
Content string `json:"content"`
Offset int64 `json:"offset"`
JobStatus string `json:"job_status"`
Done bool `json:"done"`
}