---
title: v0.40.0 — Trustworthy OAuth Pill and Plugin Cleanup
date: 2026-04-29
version: v0.40.0
---

## New features

**Trustworthy OAuth usage pill** — the rate-limit pill now recognises six new Anthropic windows (`seven_day_opus`, `seven_day_omelette`, `seven_day_oauth_apps`, `seven_day_cowork`, plus extras), groups tiers by kind in the tooltip (Session / Weekly windows / Additional / Extra usage), and hides any bucket whose utilization is unknown or that has been quietly decommissioned. Goodbye misleading "Weekly Sonnet 0%, no reset" pill.

**Multi-currency `extra_usage`** — non-USD spend (EUR, etc.) renders correctly with the actual currency code instead of a fabricated dollar sign.

**Subagent attribution metadata recognised** — Claude Code 2.1.123 added `attributionAgent`, `attributionSkill`, and `attributionPlugin` to sidechain JSONL entries. claude-view's evidence audit now baselines these so future schema additions don't break the integrity gate while we work on surfacing the data in the UI.

## Improvements

- **Plugin: `/usage` renamed to `/cv-usage`.** Claude Code shipped a built-in `/usage` skill that shadowed the plugin's. Updating it to `cv-usage` (matching the npm package) keeps both addressable. Update bookmarks and aliases.
- **Legacy Tantivy session-search index fully removed.** Post-v0.39.0 cleanup — the search migration is complete.
- **Webhook engine integration test stabilised.** Bumped the poll deadline from 5s to 15s to fix a race that surfaced under full nextest load on M-series hardware.
- **Plugin SKILL.md reference tables now match the live OpenAPI spec.** OAuth endpoint descriptions are concrete paths (`GET /api/oauth/usage`) instead of generic labels.
- **Backend OAuth handler split into 5 focused files** (`oauth/{mod,anthropic,tiers,identity,handlers}.rs`), and the OAuth pill component into 6 (`oauth-usage-pill/{format,statusline-overlay,tier-row,tooltip-content,types}`). Both well inside the CLAUDE.md size ceilings.

## Getting started

```bash
npx claude-view@latest
```
