mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-10-22 14:16:31 +00:00
Poll results, threshold crossings and the alert cooldown now return values instead of calling the tray, so they run under unit tests. The bubble and panel payloads carry every display string and colour from Rust, and the context menu is a plain tree with string ids that parse back into commands. The update-check schedule and countdown delay are plain functions of the stored times.
11 lines
213 B
Rust
11 lines
213 B
Rust
//! Portable logic with no OS or Tauri dependency, unit-tested on every host.
|
|
|
|
pub mod color;
|
|
pub mod geom;
|
|
pub mod i18n;
|
|
pub mod menu_model;
|
|
pub mod payload;
|
|
pub mod settings;
|
|
pub mod state;
|
|
pub mod usage_color;
|