Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 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 Internal Changes
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
Internal ChangesKind: in v2.1.271,
What probably matters to youSection of the release

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