/context now attaches exact machine-readable token numbers alongside its rendered report.
What's wrong with this entry?
The /context command now attaches machine-readable usage data to its message alongside the text, so the context report carries exact numbers rather than only rendered output.
- The payload includes the model,
total_tokens,raw_max_tokens, a percentage, and an optional over-limit block giving how many tokens over and of what kind. - Separate breakdowns for categories, MCP tools, memory files and agents.
- Each category is classified by a new helper as free, buffer, deferred or used.
- The field flows through to the transcript and to the assistant message yielded to the caller. No such field existed in the previous build.
raw_max_tokens
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.229
Session context is built lazily and cached per project root
Both mention context
-
v2.1.248
/context can hide the memory-files section
Both mention context
-
v2.1.248
/context remote failures can hide the raw error
Both mention context