Skip to content

v0.3.3 — Runtime resilience, modular backend, current pricing

Choose a tag to compare

@Hitheshkaranth Hitheshkaranth released this 28 Apr 01:04
· 43 commits to main since this release

Highlights

This release focuses on runtime resilience, a cleaner backend layout, and current Q1 2026 model pricing.

🛡️ Runtime fixes

  • Claude OAuth no longer drops to local mode after a single hiccup. Success and failure cooldowns are now separate (120 s / 25 s), so a transient 429 won't pin the UI to local-log mode for two minutes.
  • Gemini windows now reflect reality. The fictitious 4-hour "session" window has been replaced with the real free-tier quotas: 60 requests/minute, 1,000 requests/day, midnight Pacific reset.
  • Single-instance enforcement. Autostart copy + manual launch will no longer fight over the SQLite store — the second launch focuses the existing window.
  • Bundled WebView2 bootstrapper. The Windows installer now ships the WebView2 bootstrapper, so the app installs cleanly on machines that don't have it pre-installed.
  • Landing page GPU fix. Particle background throttled to 30 FPS, paused on tab hide, particle count cut on small screens, respects prefers-reduced-motion. Drops idle GPU usage from 25–30% to near-zero.

💸 Cost rates updated to Q1 2026 published prices

All per-model rates moved into a single source of truth: src-tauri/src/pricing.rs.

Model family Notable change
Claude Haiku 4.5 $0.25/$1.25 → $1.00/$5.00
GPT-4.1 cached input $0.20/M → $0.50/M
GPT-4.1-mini cached input $0.04/M → $0.10/M
Added o3, o3-mini, o4-mini, GPT-4.1-nano
Added Gemini 2.5 Pro / Flash / Flash-Lite

🧱 Backend refactor

  • lib.rs trimmed from 640 → ~210 lines (composition root only).
  • New modules: commands.rs (Tauri handlers), tray.rs, alerts.rs, autostart.rs, pricing.rs.
  • All gates green: cargo fmt --check, cargo clippy --lib --tests -- -D warnings, cargo test --lib (23/23), tsc --noEmit.

⚛️ Frontend refactor

  • App.tsx side-effects extracted into focused hooks: useKeyboardShortcuts, useWidgetResize, useLaunchAtStartupSync.

📚 Docs

  • ARCHITECTURE.md updated with the new module map and a how-to for updating cost rates.
  • README.md rewritten in modern GitHub style — badges, tech-stack table, architecture diagram, privacy section, roadmap.

Install

Windows: download OpenTokenMonitor_0.3.3_x64-setup.exe below and run it. The WebView2 bootstrapper is bundled, so no extra prerequisites are needed.

macOS / Linux: build from source for now — see the README.md. Pre-built artifacts will return in a follow-up release.

Upgrading

If you have an autostart copy running from an earlier version, quit it from the tray menu before installing 0.3.3. After install the single-instance enforcement will keep this from being an issue going forward.

🤖 Generated with Claude Code