package claude import "time" type EventType string const ( EventTypeHistoryAppend EventType = "history.append" EventTypeFileChanged EventType = "file.changed" EventTypeServerNotice EventType = "server.notice" EventTypeServerError EventType = "server.error" ) type Event struct { ID int64 `json:"id"` TS time.Time `json:"ts"` Type EventType `json:"type"` Data any `json:"data"` }