clauth 0.4.1

Simple Claude Code account switcher and usage monitor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod fetch;
mod scheduler;

pub(crate) use fetch::{
    ExtraUsage, PlanInfo, UsageInfo, UsageWindow, humanize_duration, iso_to_epoch_secs,
    now_epoch_secs, now_ms,
};
pub(crate) use scheduler::{
    ActivityKind, ActivityStore, ConsecutiveCacheHit, ConsecutiveOk, FetchStatus, Last429At,
    LastFetchedAt, LastRotatedWindow, LearnedIntervals, NextRefreshPerProfile, OpResult,
    OpResultReceiver, OpResultSender, PendingAutoStart, PendingSwitch, PendingWindowRotation,
    ProfileActivity, RefetchQueue, SERVER_CACHE_TTL_ESTIMATE_MS, StartupReceiver, StartupSender,
    StartupSignal, StatusStore, TokenEntry, TokenList, UsageStore, any_busy, clear_activity,
    default_fallback_threshold, fetch_all_into, is_idle, mark_activity, spawn_refresher,
};