context
The tracked changes tagged context, newest release first. Every sentence is an item's summary.
Goes with
Changes
Claude Code v2.1.332
-
Improved /context output in fullscreen to be shorter and names the legend unit once.
Claude Code v2.1.331
-
[VSCode] Fixed the context usage indicator disappearing after an API error, Prompt is too long, or a slash command.
Claude Code v2.1.330
-
Fixed /context undercounting system tools in Code Mode before Claude's first reply.
Claude Code v2.1.326
-
The /context grid and API error and status messages are no longer cut off or jumbled in narrow terminals.
Claude Code v2.1.323
-
Changed the context window assumed for unrecognized model IDs from 200K to 1M; use /autocompact or CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to keep 200K.
-
Changed sessions on other vendors' models with smaller windows so they can fail every turn once full until /clear; set CLAUDE_CODE_DISABLE_1M_CONTEXT=1 before they fill.
Claude Code v2.1.321
-
Context usage estimates no longer overcount tool definitions when exact token counts are unavailable.
-
The git status given to Claude at session start now reads as unavailable when git status fails instead of reading as clean.
-
The git status given to Claude at session start no longer shows the first listed file as staged when its changes are not staged.
-
Sessions with more images than fit in one request now tell Claude whether it has already seen a dropped image, and limit repeat reads of unchanged images.
-
Background command notifications and TaskStop results show Claude only the start and end of commands over 1,000 characters.
Claude Code v2.1.319
-
Fixed /context sending its full visual grid to Claude on every later turn; Claude now reads only the table.
-
Improved /context in the terminal so each list keeps its 10 largest rows, and on-demand MCP tools share one row per server until called.
Codex 0.167.0
-
Automatic context compaction accounts for retained output from failed responses and responses with missing token usage data.
-
Context token estimates are fixed for responses without usable usage data.
-
Additional context counts, sizes, and truncation metrics are recorded.
Gemini CLI Release v0.67.0
-
IDE settings and GEMINI.md files are excluded from open file context.
Claude Code v2.1.314
-
Improved /context speed in sessions with ten thousand or more MCP tools.
Codex 0.166.0
-
Added optional names to untrusted additional context.
-
Rendered untrusted additional context as named tool outputs.
Claude Code v2.1.311
-
Fixed standard-context sessions stopping with a usage credits error when a request ran over 200K tokens; Claude Code now compacts the conversation and continues.
Claude Code v2.1.309
-
Sessions no longer compact repeatedly after reading files under a very large nested CLAUDE.md; a nested CLAUDE.md over the size limit now loads only its start.
Claude Code v2.1.301
-
Switching to a model with a smaller context window no longer spends usage credits on a summary by the previous model without asking first.
-
Conversations are no longer compacted repeatedly on an unselected model when an LLM gateway responds with a different model name than the one requested.
-
In fullscreen mode, /compact and auto-compact no longer briefly freeze the UI while the visible transcript is rebuilt.
-
Switching to a model with a smaller context window now summarizes a conversation that is too long for the new model using the previous model first.
Claude Code v2.1.295
-
Improved token counts behind the gateway on Amazon Bedrock, which now use AWS CountTokens instead of a one-token model request; bedrock:CountTokens permission is needed.
Claude Code v2.1.293
-
Fixed Claude sometimes treating its own last actions before a context compaction as done after it, and retracting or redoing finished work.
MCP Python SDK v2.3.0
-
Context[AppState] annotations now work on prompts and resource templates, not only on tools.
Claude Code v2.1.283
-
Fixed /context not counting MCP server instructions; they now appear as their own row and count toward the total.