feat: better context files (#222)

feat: context files
This commit is contained in:
Carlos Florêncio
2026-02-14 20:13:11 +00:00
committed by GitHub
parent ee612a42c5
commit f4d1dfd3a7
49 changed files with 3809 additions and 801 deletions
+6
View File
@@ -126,6 +126,12 @@ type MessageAttachment struct {
MimeType string `json:"mime_type"` // MIME type (e.g., "image/png")
}
// ContextFileMeta represents a context file reference attached to a message
type ContextFileMeta struct {
Path string `json:"path"`
Name string `json:"name"`
}
// Message represents a message in a task session (user or agent)
type Message struct {
ID string `json:"id"`