Improve workflow UI, retain stage diffs, and add portable pipeline transfers
Make OpenCode authoring responsive and expand the managed skill references. Add conflict-aware import/export, real-provider reference workflows, and tracked V2 generation for reliable budget accounting.
This commit is contained in:
@@ -40,6 +40,7 @@ type RunSummary struct {
|
||||
}
|
||||
|
||||
type RunStep struct {
|
||||
FileChanges *StageFileChanges `json:"file_changes,omitempty"`
|
||||
Notifications []NotificationReceipt `json:"notifications,omitempty"`
|
||||
Sequence int `json:"sequence"`
|
||||
Stage string `json:"stage"`
|
||||
@@ -56,6 +57,27 @@ type RunStep struct {
|
||||
FinishedAt string `json:"finished_at"`
|
||||
}
|
||||
|
||||
// StageFileChanges is observed workspace evidence, not a model's claim of authorship.
|
||||
// Nil means no capture was retained (including historical steps).
|
||||
type StageFileChanges struct {
|
||||
Omitted int `json:"omitted,omitempty"`
|
||||
Scope string `json:"scope,omitempty"`
|
||||
Status string `json:"status"` // complete, partial, unavailable
|
||||
Files []FileChange `json:"files"`
|
||||
Skipped int `json:"skipped"`
|
||||
Diagnostic string `json:"diagnostic,omitempty"`
|
||||
}
|
||||
|
||||
type FileChange struct {
|
||||
Path string `json:"path"`
|
||||
Kind string `json:"kind"` // added, modified, deleted
|
||||
Patch string `json:"patch,omitempty"`
|
||||
Binary bool `json:"binary,omitempty"`
|
||||
Truncated bool `json:"truncated,omitempty"`
|
||||
BeforeMode string `json:"before_mode,omitempty"`
|
||||
AfterMode string `json:"after_mode,omitempty"`
|
||||
}
|
||||
|
||||
type NotificationReceipt struct {
|
||||
Destination string `json:"destination"`
|
||||
Status string `json:"status"`
|
||||
|
||||
Reference in New Issue
Block a user