Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

$.session.usage() plugin call now accepts and validates options

The plugin $.session.usage() call now takes breakdown and columns options, validated before running

Group of 2 Use it now Improvements
JSON All of v2.1.271
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Plugin APIArea: what it touches
ImprovementsKind: in v2.1.271,
What probably matters to youSection of the release

Unclear The finding doesn't say what values breakdown and columns accept or how they change the returned usage data.

What The $.session.usage() call available to plugins previously took no arguments. It now accepts an optional options object with:

A new validation step checks these values (and rejects unknown keys) before the call runs, instead of running unchecked.

Why Plugin authors get immediate, clear errors if they pass invalid options to session.usage(), instead of the call silently misbehaving or failing later.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding doesn't say what values `breakdown` and `columns` accept or how they change the returned usage data.

See this entry in the whole of v2.1.271 →

Feedback