summaryrefslogtreecommitdiff
path: root/internal/task/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/task/task.go')
-rw-r--r--internal/task/task.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/task/task.go b/internal/task/task.go
index 69da5f3..b85b07c 100644
--- a/internal/task/task.go
+++ b/internal/task/task.go
@@ -48,6 +48,13 @@ type RetryConfig struct {
Backoff string `yaml:"backoff" json:"backoff"` // "linear", "exponential"
}
+// 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"`