Releases: WinterOne-hub/ai-monitor
Releases · WinterOne-hub/ai-monitor
Release list
v0.1.5
AI Monitor v0.1.5
🐛 Bug Fixes / 修复
- ⏱️ Auto-collect interval now actually applies — recursive setTimeout reads
collect_interval_minutesevery cycle; setting 1-minute interval previously only ran every 30 min- 修复:自动采集间隔真正生效(此前无论设置多少分钟,实际固定 30 分钟才采集一次)
- 💸 Negative daily cost fixed — Anthropic-compatible endpoints (e.g. DeepSeek) return session-cumulative
cache_creation_input_tokens; now onlycache_read_input_tokenscounts, withmin(input)guard- 修复:今日消费出现负数(cache_creation 被当作本次增量,累计 1900 万导致费用 -34 元)
- 💰 Daily cost no longer stuck at 0 — proxy record writes estimated cost into
costcolumn (was hardcoded 0, and balance-diff sync skipped proxy days)- 修复:今日消费一直不变(代理记账 cost 固定写 0,余额差值同步被跳过)
- 🧹 Historical cost backfill runs once — migration marked in settings; no longer re-runs with hardcoded DeepSeek prices on every startup
- 修复:历史费用回填只在首次执行,不再每次启动覆盖
- 🚨 Low-balance alert detects further drops — during cooldown, if balance drops another 50%, alert again
- 增强:余额告警冷却期内若继续大幅下跌,会再次提醒
- 🛡️ Record-miss logging — proxy prints a clear warning when an API key matches no account and no default is set (was silent data loss)
- 增强:记账账户未匹配时打印明确日志,不再静默丢失统计
- 🔄 Stream usage for more platforms —
stream_options.include_usageinjected for all OpenAI-compatible providers (OpenRouter / SiliconFlow / Moonshot / DeepSeek), not just OpenAI- 增强:流式 token 统计覆盖更多 OpenAI 兼容平台
- ⚡ Auto-collect race fixed — guard against duplicate timers when changing interval while a schedule is pending
- 修复:修改采集间隔与调度中可能产生双定时器的竞态
💰 Balance & spend now stay in sync / 余额与消费同步
v0.1.4
AI Monitor v0.1.4
✨ New Features / 新增功能
- 📊 Usage analytics — monthly bill, per-model cost ranking, CSV export
- 用量分析:月度账单、模型费用排行、CSV 导出
- ⌨️ Global shortcuts — Cmd+Shift+Space toggle overlay, Cmd+Shift+O open dashboard
- 全局快捷键:Cmd+Shift+Space 呼出/隐藏悬浮卡,Cmd+Shift+O 打开面板
- 🖥️ Tray states — dynamic tray title shows live balance / today's spend
- 托盘状态:托盘标题实时显示余额与今日花费
- 🧾 Cost reconciliation — proxy-recorded cost vs balance-diff, latest balance via GROUP BY MAX(id)
- 费用校准:代理记账与余额差值对账,余额按最新快照展示
- 🔒 x-proxy-secret — optional secret header for proxy access control
- 代理密钥:可选 x-proxy-secret 请求头保护本地代理
- 📦 Auto-updater — tauri-plugin-updater integration
- 自动更新:接入 tauri 更新插件
- 🖥️ Multi-monitor position persistence
- 多显示器位置记忆
- 📈 Monthly bill + model ranking + CSV export in Usage tab
- 用量页新增月度账单、模型排行、CSV 导出
- 🚨 Low-balance pulse — overlay pulses when balance hits threshold
- 低余额闪烁提醒:余额低于阈值时悬浮卡闪烁
- 🎨 CSS design tokens — consistent theming across overlay & dashboard
- 设计令牌:统一悬浮卡与面板主题
- ✨ Collection error banner — visible banner when balance collection fails
- 采集失败提示条:余额采集异常时面板显示提示
🐛 Bug Fixes / 修复
- ECharts tree-shaking; overlay reuses dashboardStore (single source of truth)
- 修复:ECharts 按需引入;悬浮卡与面板共用数据源
- Esc collapses overlay; overlay/dashboard mutual exclusion enforced
- 修复:Esc 收起悬浮卡;悬浮卡与面板互斥
- Swap global shortcuts off Alt (macOS IME conflict)
- 修复:全局快捷键避开 Alt 键(macOS 输入法冲突)
- Preserve proxy-recorded daily cost vs balance-diff
- 修复:代理记账与余额差值数据互不覆盖
- Global auto-collect guard (shared last_collect_at)
- 修复:全局自动采集防抖(共享 last_collect_at)
- Revert vibrancy; island/dashboard coexistence fixed
- 修复:回退毛玻璃效果,悬浮岛与面板共存问题
🧹 Chores / 其他
- Lint / typecheck / format toolchain (ESLint + Prettier + vue-tsc)
- 新增代码规范工具链
- Promo & docs: xiaohongshu cards, integration checklist
- 新增小红书推广素材与接入清单文档
v0.1.3
AI Monitor v0.1.3
✨ New Features / 新增功能
- 📊 Composite trend chart — balance line + token line on one time axis (dual Y-axis)
- 复合趋势图:余额折线 + token 折线(双 Y 轴时间轴)
- 🕐 Minute-level token tracking — every proxied call records exact timestamp + tokens
- 分钟级 token 追踪(每次调用记录精确时间)
- 🔍 Natural time-axis zoom — wheel/pinch to zoom, drag to pan, double-click to reset
- 时间轴自然缩放:滚轮/手势缩放、拖拽平移、双击重置
- 📅 Custom date range — pick start + end dates (future dates disabled)
- 自定义日期范围(起止可选,未来日期不可选)
- 🗓️ Default chart range = 1 day
- 默认图表范围改为近 1 日
🐛 Bug Fixes / 修复
- Safari/WKWebView date parsing (space→T ISO format)
- 修复:Safari 日期解析问题
- Chart range switching not working (unified absolute-date query path)
- 修复:图表范围切换不生效(统一绝对日期查询)
- Token line invisible with few data points; legend/label overlap
- 修复:token 线不显示、图例/坐标重叠
- Island interaction: capsule draggable, snap-to-edge both modes, panel/island mutual exclusion
- 修复:灵动岛交互(胶囊可拖、触边即收、面板/岛互斥)
- Removed screenshots containing real user data (privacy)
- 隐私:移除含真实数据的截图
v0.1.2
AI Monitor v0.1.2
✨ New Features / 新增功能
- 🌐 i18n internationalization — auto-detects system language (中文/English)
- 国际化:系统语言自动切换中英文
- 🧩 SiliconFlow dynamic model pricing — 87+ model prices auto-synced from official site (daily + manual)
- 硅基流动动态模型价格同步(87+ 模型自动抓取,每日更新)
- 💵 Aggregator-platform spend — balance-diff unavailable → falls back to token × model price
- 聚合平台消耗统计:余额差值不可用时回退 token×单价估算
- 📉 SiliconFlow balance projection — recharge balance − accumulated estimated spend
- 硅基流动余额动态推算(充值余额 − 累计消耗)
- 🔄 Proxy Anthropic format — /v1/messages + catch-all routing (/v1/models etc.)
- 代理支持 Anthropic 格式与全路径转发
- 👥 Auto account matching — requests recorded to the account whose key matches (multi-account split)
- 多账户自动分流(按平台 + Key 匹配记账账户)
🐛 Bug Fixes / 修复
- SiliconFlow balance used wrong field (chargeBalance is the usable balance, not coupon)
- 修复:硅基流动余额字段错误(充值余额才是可用值)
- Proxy 404 for /v1/models & other OpenAI-compatible paths
- 修复:代理对 /v1/models 等路径 404
- Balance refresh lag (proxy calls now trigger refresh; default interval 10min)
- 修复:余额刷新滞后(代理调用触发 + 默认 10 分钟采集)
v0.1.1
AI Monitor v0.1.1
✨ New Features / 新增功能
- 🎴 Hover interaction — hover to expand, move away to collapse
- 灵动岛 hover 交互:悬停展开、移走自动收起
- 🎞️ Drawer-style expand animation — smooth pull-down, no flicker
- 抽屉式展开动画(丝滑无闪烁)
- 📊 Trend chart ranges — 1-day / 7-day / 30-day / custom
- 余额趋势图支持 1日/7日/30日/自定义范围
- 🔤 Unified font size for balance & spend
- 余额与消耗金额字号统一
- 📝 English-first README with API integration tutorials
- README 重写为英文为主(含 API 接入教程)
🐛 Bug Fixes / 修复
- Island expanded state auto-collapse after clicking expand
- 修复:展开后自动折回
- Overlay data not refreshing automatically (proxy writes now push updates)
- 修复:悬浮卡数据不自动刷新(代理记账后即时推送)
AI Monitor v0.1.0
AI Monitor v0.1.0 — First Release 🎉
The first public release of the desktop Dynamic-Island overlay that monitors your AI account balances & token usage.
首个公开版本:桌面灵动岛悬浮卡片,实时监控 AI 账户余额与 token 用量。
✨ New Features / 新增功能
- 🎴 Dynamic Island overlay — click to expand, drag to screen edge to dock as half-circle
- 灵动岛悬浮卡片:点击展开、拖到屏幕边缘折叠为半圆
- 💰 Multi-platform balance monitoring — DeepSeek / Kimi / SiliconFlow / OpenRouter auto balance query
- 多平台余额监控(官方接口自动查询)
- 🔢 Unified proxy for token tracking — local proxy records every API call (OpenAI format)
- 统一代理自动统计 token(OpenAI 兼容格式)
- 📊 Balance trend chart — 30-day curve
- 30 天余额趋势图
- 🚨 Balance alerts — system notifications + Webhook (ServerChan/Feishu/DingTalk/Bark)
- 余额告警(系统通知 + 多种 Webhook)
- 🔒 Security — API keys encrypted in OS keychain
- API Key 加密存系统钥匙串
- 📦 Dual-platform packages — macOS .dmg & Windows .exe
- 双平台安装包
🐛 Bug Fixes / 修复
- Initial release fixes: CORS refresh failure, keyring macOS native support, addAccount lastInsertId
- 首次发布基础修复:CORS 刷新失败、keyring macOS 支持、账户 id 获取