Observe native Claude automations and preserve pending timers

This commit is contained in:
2026-11-08 15:52:22 +00:00
parent 9d3358be47
commit 3fbfb85ace
17 changed files with 757 additions and 34 deletions
+5 -1
View File
@@ -158,7 +158,11 @@ type ChatAutomationInfo struct {
Provider string `json:"provider"`
Status string `json:"status"`
ActiveCount *int `json:"active_count,omitempty"`
Reason string `json:"reason,omitempty"`
// ObservedAtMS is when the provider reported its last native snapshot. It
// is not the time this read was performed and therefore never implies a
// live query.
ObservedAtMS int64 `json:"observed_at_ms,omitempty"`
Reason string `json:"reason,omitempty"`
}
// Content part types carried by ChatPart.Type and ChatEvent.Kind.