Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierUse it nowhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPlugin APIwhat it touches
KindImprovementsin v2.1.271,
Group of 2 Use it now

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

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 →