Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 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

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPlugin APIwhat it touches
KindInternal Changesin v2.1.271,
Group of 2 Under the hood

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.

See this entry in the whole of v2.1.271 →

Feedback