fix: add Message field to session.Entry and check marshal error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mathias Bergqvist
2026-04-17 20:43:01 +02:00
parent 9cfce8f700
commit a2889645fc
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ type Entry struct {
FilePath string `json:"file_path,omitempty"`
ModelUsed string `json:"model_used,omitempty"`
DurationMs int64 `json:"duration_ms,omitempty"`
Message string `json:"message,omitempty"`
}
// Attempt represents one subprocess invocation within a skill call.