diff --git a/CHANGELOG.md b/CHANGELOG.md index 897befa7f4..65a464448c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog -## Unreleased +## [Windows] 0.61.0 - Unreleased + +Windows port of upstream CodexBar **0.60.3 → 0.61.0**: new subscription and +spend providers (Nous Portal, Replicate, CodeRabbit, Muse Code), richer +allowances and per-model spending, clearer account switching, and steadier +menu-bar layout. ### Added - Grok: Settings and tray **Add account** flow matching Codex/Claude — isolated `grok login --oauth`, save current CLI login, switch, and remove without logging out the active session. diff --git a/apps/desktop-tauri/src/components/MenuCardDetails.tsx b/apps/desktop-tauri/src/components/MenuCardDetails.tsx index 5051fb56c4..0e648526ba 100644 --- a/apps/desktop-tauri/src/components/MenuCardDetails.tsx +++ b/apps/desktop-tauri/src/components/MenuCardDetails.tsx @@ -299,7 +299,7 @@ type MetricRowDisplay = { * Single metric row inside the card — mirrors upstream `MetricRow`: * • title (body / medium) * • UsageProgressBar (capsule, 6pt) - * • HStack: "N% used" ·· reset countdown (right-aligned, secondary) + * • HStack: "N% used" · · reset countdown (right-aligned, secondary) */ function MetricRow({ title, @@ -798,4 +798,4 @@ function DisplayDetailRow({ detail }: { detail: ProviderDisplayDetail }) { )} ); -} +} \ No newline at end of file diff --git a/apps/desktop-tauri/src/surfaces/settings/providers/sections/UsageSection.tsx b/apps/desktop-tauri/src/surfaces/settings/providers/sections/UsageSection.tsx index d5686dd69c..b2d24dbdfc 100644 --- a/apps/desktop-tauri/src/surfaces/settings/providers/sections/UsageSection.tsx +++ b/apps/desktop-tauri/src/surfaces/settings/providers/sections/UsageSection.tsx @@ -163,4 +163,4 @@ function UsageBar({ )} ); -} +} \ No newline at end of file diff --git a/rust/src/core/usage_snapshot.rs b/rust/src/core/usage_snapshot.rs index 8c7c883340..ebbdcb8c20 100755 --- a/rust/src/core/usage_snapshot.rs +++ b/rust/src/core/usage_snapshot.rs @@ -741,27 +741,6 @@ mod tests { assert!(decoded.inventory.is_empty()); } - #[test] - fn fetch_result_display_details_are_transient_and_validate_progress() { - let usage = UsageSnapshot::new(RateWindow::new(25.0)); - let result = ProviderFetchResult::new(usage, "web").with_display_detail( - ProviderDisplayDetail::new("credits", "Used this cycle", "12") - .and_then(|row| row.with_secondary_value("Monthly refill: 100")) - .and_then(|row| row.with_progress(12.0, 100.0)), - ); - - let details = result.display_details(); - assert_eq!(details.len(), 1); - assert!(details[0].progress().is_some()); - assert!( - ProviderDisplayDetail::new("invalid", "Invalid", "value") - .and_then(|row| row.with_progress(f64::NAN, 1.0)) - .is_none() - ); - let encoded = serde_json::to_value(&result).unwrap(); - assert!(encoded.get("display_details").is_none()); - } - #[test] fn display_details_reject_invalid_shapes_and_duplicate_ids() { let usage = UsageSnapshot::new(RateWindow::new(25.0)); diff --git a/version.env b/version.env index 215163a393..5b2c340e38 100755 --- a/version.env +++ b/version.env @@ -1,2 +1,2 @@ -MARKETING_VERSION=0.60.3 -BUILD_NUMBER=91 +MARKETING_VERSION=0.61.0 +BUILD_NUMBER=149