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
}
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
}
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.