github Arindam200/cc-lens v0.3.3
v0.3.3 — Prebuilt standalone bundle + accurate pricing

latest release: v0.4.0
27 days ago

Highlights

⚡ Instant first run

npx cc-lens no longer runs npm install + a cold dev compile on first launch. The package now ships a prebuilt Next.js standalone bundle, so the dashboard boots in ~0ms instead of minutes. Bundle size dropped from ~500MB-after-install (in ~/.cc-lens/) to ~69MB on disk.

💰 Accurate pricing defaults

Model pricing was refreshed against the current Anthropic table:

  • Opus 4.7 / 4.6 / 4.5 — $5 / $25 per MTok (was incorrectly $15 / $75, overstating Opus costs by ~3x)
  • Haiku 4.5 — $1 / $5 per MTok (was incorrectly using Haiku 3.5 rates)
  • Added: Opus 4.7, Sonnet 4.5, Opus 4.1, Haiku 3.5

If you see different prices on your dashboard after upgrading, that's why — the old numbers were wrong.

🛠 User pricing overrides

Drop a ~/.cc-lens/pricing.json to override prices for any model (or use $CC_LENS_CONFIG_DIR/pricing.json). Merge semantics, validated with warnings on bad entries. Example:

{
  "claude-opus-4-7": { "input": 5, "output": 25, "cacheWrite": 6.25, "cacheRead": 0.5 }
}

🔒 Loopback by default

The CLI now binds to 127.0.0.1 rather than 0.0.0.0, since the dashboard exposes private Claude history. Set HOSTNAME=0.0.0.0 if you really need LAN access.

🧹 Lint cleanup

Fixed react-hooks/static-components errors in ToolCallBadge by moving icon lookup to a static map. CI lint now passes with 0 errors.


Full diff: v0.3.2...v0.3.3

Don't miss a new cc-lens release

NewReleases is sending notifications on new releases.