Expand description
Anthropic statuspage poller. Pulls the public summary endpoint and classifies whether Claude Code or the underlying Claude API is in a degraded state.
Re-exportsΒ§
use serde::Deserialize;πuse serde::Deserialize;πuse std::time::Duration;π
StructsΒ§
- Component π
- Incident π
- Incident
Component π - Service
Issue - A classified Anthropic service-status issue from the Statuspage summary endpoint.
- Summary
Response π
EnumsΒ§
- Service
Severity - Severity of a detected service-status issue. Mirrored to views by
SessionUpdate::ServiceStatus.
ConstantsΒ§
- RELEVANT_
COMPONENTS π - Component names we care about. βClaude Codeβ is the primary component; βClaude APIβ is included because Claude Code depends on it.
- SERVICE_
STATUS_ πTIMEOUT - STATUSPAGE_
SUMMARY_ πURL
FunctionsΒ§
- classify_
component_ πstatus - classify_
summary π - fetch_
service_ status - Fetch + classify the public statuspage summary. Returns
Noneif every relevant component is operational, or if the request fails. - is_
relevant_ πcomponent