diff --git a/CHANGELOG.md b/CHANGELOG.md index 08daa402af..afd7c8bd77 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## [Windows] 0.45.2 - 2026-07-21 + +Windows port of upstream CodexBar **0.43.0 → 0.45.2** (providers, CLI, cost, and settings surfaces). +macOS-only shell polish (menu-bar layout editor, widgets, full hooks UI chrome) remains deferred. + +### Added +- Providers: ZenMux, ClinePass, LongCat, Neuralwatt, DeepInfra, and ai& (30-day spend from logs). +- Doubao: `arkcli usage plan` path with Coding / Agent / team plan windows. +- OpenRouter: multi-key token accounts and CLI `usage --account`. +- OpenCode Go: local-first Auto from `opencode.db` (web-first when scoped). +- CLI: `codexbar guard` quota automation gates; `codexbar hooks list|enable|disable|test`. +- CLI serve: optional `--host`, `--dashboard-token` / `CODEXBAR_DASHBOARD_TOKEN`, and `--allow-plain-http` for LAN binds. +- Settings: Usage & Spend tab (7d/30d) with sanitized PNG share-card export. +- Settings: Adaptive refresh cadence (activity/power-aware) with Windows coding-agent process detection. +- External hooks: opt-in `hooks.json` runner (no shell) with threshold-crossing dispatch. +- Cost: OMP (`~/.omp`) and pi-compatible (`~/.pi`) agent session logs without double-counting. +- Cursor: dashboard usage-events token-cost (per-model API-rate windows + metered totals). + +### Changed +- Soft-remove Kimi K2 and CrossModel (deprecated labels; hidden unless already enabled; CLI still resolves). +- Prefer active OpenRouter token-account keys over stored single API keys. + +### Fixed +- Claude: prefer `weekly_all` over misleading `seven_day.utilization`; last-good CLI usage on parse fail; probe session-id reuse (#210, #216). +- OpenCode: do not rescale sub-1% computed usage to 100% (#211, #215 / upstream #2331). +- Cursor: map Cli to web cookie path; clamp plan usage at 100% (#212, #217 / upstream #2255). +- Cost scanner: process incomplete final JSONL lines for Claude transcripts. + +--- + ## [Windows] 0.43.0 - 2026-07-17 ### Added diff --git a/Cargo.lock b/Cargo.lock index 143f49d566..f8b062cdb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -655,7 +655,7 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" [[package]] name = "codexbar" -version = "0.43.0" +version = "0.45.2" dependencies = [ "aes-gcm", "anyhow", @@ -696,7 +696,7 @@ dependencies = [ [[package]] name = "codexbar-desktop-tauri" -version = "0.43.0" +version = "0.45.2" dependencies = [ "chrono", "codexbar", diff --git a/apps/desktop-tauri/package.json b/apps/desktop-tauri/package.json index 3c52ce5bf5..e57dd4b1c7 100644 --- a/apps/desktop-tauri/package.json +++ b/apps/desktop-tauri/package.json @@ -1,7 +1,7 @@ { "name": "desktop-tauri", "private": true, - "version": "0.43.0", + "version": "0.45.2", "packageManager": "pnpm@10.18.1", "type": "module", "scripts": { diff --git a/apps/desktop-tauri/src-tauri/Cargo.toml b/apps/desktop-tauri/src-tauri/Cargo.toml index 845a259669..b94778eae3 100644 --- a/apps/desktop-tauri/src-tauri/Cargo.toml +++ b/apps/desktop-tauri/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codexbar-desktop-tauri" -version = "0.43.0" +version = "0.45.2" edition = "2024" publish = false diff --git a/apps/desktop-tauri/src-tauri/tauri.conf.json b/apps/desktop-tauri/src-tauri/tauri.conf.json index afbe05c1ef..2f1cec4d05 100644 --- a/apps/desktop-tauri/src-tauri/tauri.conf.json +++ b/apps/desktop-tauri/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "CodexBar Desktop", - "version": "0.43.0", + "version": "0.45.2", "identifier": "com.codexbar.desktop", "build": { "beforeDevCommand": "pnpm run dev", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 41dfb240c8..286d8a34b7 100755 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codexbar" -version = "0.43.0" +version = "0.45.2" edition = "2024" authors = ["CodexBar Contributors"] description = "Windows and WSL system tray app for monitoring AI provider usage limits" diff --git a/version.env b/version.env index 26c5b0fba5..64360fe6ae 100755 --- a/version.env +++ b/version.env @@ -1,2 +1,2 @@ -MARKETING_VERSION=0.43.0 -BUILD_NUMBER=86 +MARKETING_VERSION=0.45.2 +BUILD_NUMBER=87