diff options
Diffstat (limited to 'internal/task/task.go')
| -rw-r--r-- | internal/task/task.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/task/task.go b/internal/task/task.go index 69da5f3..6a9d1db 100644 --- a/internal/task/task.go +++ b/internal/task/task.go @@ -48,6 +48,19 @@ type RetryConfig struct { Backoff string `yaml:"backoff" json:"backoff"` // "linear", "exponential" } +// GitCommit represents a single git commit created during a task execution. +type GitCommit struct { + Hash string `json:"hash"` + Message string `json:"message"` +} + +// Changestats records file/line change metrics from an agent execution. +type Changestats struct { + FilesChanged int `json:"files_changed"` + LinesAdded int `json:"lines_added"` + LinesRemoved int `json:"lines_removed"` +} + // Interaction records a single question/answer exchange between an agent and the user. type Interaction struct { QuestionText string `json:"question_text"` |
