Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CheckInterval time.Duration
TokenThreshold time.Duration
NotificationsOn bool
AttentionThreshold time.Duration
NotifyOn []string
QuietHoursStart string
QuietHoursEnd string
ContainerPrefix string
}
Config holds daemon configuration
type ContainerState ¶
type ContainerState struct {
Name string
AttentionStarted *time.Time
LastNotified *time.Time
LastActivity time.Time
LastTokenCheck time.Time
NotificationSent bool
LastTaskCheck time.Time
HadOpenTasks bool // Whether container had incomplete tasks last check
LastTaskProgress string // Last seen task progress (e.g., "2/5")
TaskCompletionNotified bool // Whether we've notified about task completion
}
ContainerState tracks container monitoring state
type Credentials ¶
type Credentials struct {
ClaudeAiOauth struct {
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
ExpiresAt int64 `json:"expiresAt"`
Scopes []string `json:"scopes"`
SubscriptionType string `json:"subscriptionType"`
} `json:"claudeAiOauth"`
}
Credentials represents OAuth credentials
Click to show internal directories.
Click to hide internal directories.