Skip to content

Releases: leolionart/CLIProxyAPI-Dashboard

v2.5.1 — fix usage metrics overflow

Choose a tag to compare

@leolionart leolionart released this 07 Mar 07:43

Features

  • None.

Fixes

  • Expand database capacity for usage metrics by upgrading cost fields to NUMERIC(20,6) and request counters to BIGINT across usage_snapshots, model_usage, and daily_stats.
  • Add migration 0003_expand_numeric_capacity.sql so existing deployments auto-apply schema updates at collector startup.

Docs

  • None.

Chores

  • Bump version to v2.5.1.

v2.5.0 — Skills Panel Redesign

Choose a tag to compare

@leolionart leolionart released this 06 Mar 16:29

Features

  • Redesigned Top Skills — replaced horizontal bar chart with ranked list that handles long skill names and many entries gracefully, with sort tabs (Runs / Tokens / Cost)
  • Sortable Recent Runs table — click column headers to sort by any field (asc/desc)
  • Project trackingproject_dir now included in skill runs query, displayed in Recent Runs table
  • URL param navigation?tab=skills opens Claude Skills tab directly
  • Boot sequence animation — loading screen with AI-themed boot messages

Fixes

  • Remove duplicate hooks reference from plugin manifest

Chores

  • Cleaned up leftover debug screenshots from repo root
  • Removed unused custom CSS (.skill-sort-tabs) in favor of existing design system classes

v2.4.0 — Skill Tracking & Mobile Header Redesign

Choose a tag to compare

@leolionart leolionart released this 06 Mar 15:59

Features

  • Claude Code Skill Tracking: New collector endpoint, DB schema migration, SkillsPanel UI with webhook setup guide and plugin system

Improvements

  • Mobile Header Redesign: CSS Grid app bar layout — menu pinned left, logo centered, theme toggle right; controls row with date picker, refresh (icon-only), and updated time
  • Light Mode Drawer Fix: Solid white background on mobile (was transparent)
  • Mobile Padding: Reduced from 40px to 12px side padding

Fixes

  • Order usage legends by cost (descending)
  • Sort cost legend by cost value

v2.3.3 — Fix cached/reasoning tokens missing from multi-day view

Choose a tag to compare

@leolionart leolionart released this 05 Mar 00:30

Fixes

  • Collector gate condition drops cached/reasoning tokens: breakdown_deltas previously skipped models when d_req == 0 and d_cost == 0, even if d_cached or d_reasoning was positive. This caused cached/reasoning token deltas to be silently lost — most notably on the first snapshot after the column migration where values jumped from DEFAULT 0 to their full cumulative amounts while no new requests occurred in that 5-minute window. Fixed by extending the gate to also pass when d_cached > 0 or d_reasoning > 0.
  • Backfilled today's daily_stats.breakdown on production DB with correct cached/reasoning values per model (one-time manual fix).

v2.3.2 — Fix token type legend values and tooltip clipping

Choose a tag to compare

@leolionart leolionart released this 05 Mar 00:11

Fixes

  • Token type legend showing all zeros: Legend was reading cached_tokens/reasoning_tokens from model_usage table (historical rows have DEFAULT 0 after column migration) instead of from daily_stats.breakdown JSONB which the chart bars use. Fixed by computing per-model, per-type totals (tokenTrendTotals) in the same useMemo pass as tokenTrendData, ensuring chart and legend always share the same data source.
  • Tooltip clipped horizontally on right edge: allowEscapeViewBox x: false → true on the token types chart so the tooltip can escape the chart area and remain fully visible.

v2.3.1 — Fix tooltip clipping in Usage Trends chart

Choose a tag to compare

@leolionart leolionart released this 04 Mar 23:42

Fixes

  • Fix tooltip clipped by sibling cards: Removed overflow: hidden from .chart-card and .chart-split-main so Recharts tooltips can escape container boundaries. Added z-index: 1 baseline + z-index: 10 on hover so the active card rises above adjacent cards in stacking order.

v2.3.0 — Auto schema migration runner

Choose a tag to compare

@leolionart leolionart released this 04 Mar 21:51

Features

  • Auto schema migration runner: Collector tự apply pending SQL migrations khi startup — không cần SSH tay khi deploy. Migrations được track trong table schema_migrations, mỗi file chỉ chạy đúng một lần.
  • Thêm collector/migrations/ với file 0001_add_reasoning_cached_tokens.sql

Fixes

  • Fix lỗi unsupported operand type: Decimal + float khi collector đọc giá trị cost/count từ PostgreSQL (psycopg2 trả decimal.Decimal, code dùng trực tiếp với float)

Style

  • Tăng chiều rộng sidebar credential detail lên 35% để khớp với legend các chart card khác

Docs

  • Ghi rõ quy tắc schema migration trong CLAUDE.md

v2.2.4 — Fix mobile tab header layout

Choose a tag to compare

@leolionart leolionart released this 04 Mar 15:56

Fixes

  • Tab header jumps on mobile when switching views — Added width: 100% to .chart-controls in the mobile media query so the tab container always fills the full card width. Added flex: 1 to .chart-tabs inside .chart-controls so multiple tab groups (Models/Token Types and Hour/Day) share the row evenly. Prevents layout shift when the Hour/Day group appears or disappears on tab switch.

v2.2.3 — Fix charts blank on mobile Safari

Choose a tag to compare

@leolionart leolionart released this 04 Mar 15:49

Fixes

  • Charts blank on mobile Safari — Root cause: align-items: flex-start on column-direction flex container caused Safari to resolve width: 100% inside chart-split-main as 0 (circular dependency). Chrome handled this leniently; Safari followed the spec strictly. Fixed by adding explicit width: 100% to .chart-split-main in the mobile media query.
  • Removed stale wrapper <div> around token types AutoWidthChart (leftover from previous refactor).

Background

v2.2.2 replaced ResponsiveContainer with a custom AutoWidthChart using ResizeObserver to fix iOS Safari. That fix worked on Chrome mobile but Safari still showed blank charts due to the flex layout issue described above.

v2.2.2 — Fix charts on iOS Safari

Choose a tag to compare

@leolionart leolionart released this 04 Mar 15:30

Fixes

  • iOS Safari: Bọc tất cả ResponsiveContainer trong <div style={{ width: '100%', height: N }}> và dùng height="100%" thay vì truyền số — fix lỗi WebKit không tính được SVG width trong flex container