Expand description
ccboard-core - Core library for ccboard
Provides parsers, models, store, and file watcher for Claude Code data.
Re-exports§
pub use analytics::compute_trends;pub use analytics::detect_patterns;pub use analytics::forecast_usage;pub use analytics::generate_insights;pub use analytics::AnalyticsData;pub use analytics::ForecastData;pub use analytics::Period;pub use analytics::TrendDirection;pub use analytics::TrendsData;pub use analytics::UsagePatterns;pub use error::CoreError;pub use error::DegradedState;pub use error::LoadReport;pub use event::DataEvent;pub use event::EventBus;pub use export::export_billing_blocks_to_csv;pub use export::export_sessions_to_csv;pub use export::export_sessions_to_json;pub use live_monitor::detect_live_sessions;pub use live_monitor::LiveSession;pub use store::DataStore;pub use store::ProjectLeaderboardEntry;pub use usage_estimator::calculate_usage_estimate;pub use usage_estimator::SubscriptionPlan;pub use usage_estimator::UsageEstimate;pub use watcher::FileWatcher;
Modules§
- analytics
- Advanced analytics module for Claude Code usage analysis
- cache
- Caching layer for ccboard-core
- error
- Error types for ccboard-core
- event
- Event bus for ccboard using tokio::broadcast
- export
- CSV/JSON export functionality for billing blocks and sessions
- live_
monitor - Live Claude Code session detection
- models
- Data models for ccboard
- parsers
- Parsers for Claude Code data files
- pricing
- Pricing calculations for Claude models based on official Anthropic pricing
- store
- Data store with DashMap + parking_lot::RwLock
- usage_
estimator - Usage estimation based on billing blocks and subscription plan
- watcher
- File watcher for Claude Code data changes