All areas Feed Weekly digests

context

The tracked changes tagged context, newest release first. Every sentence is an item's summary.

30 items from 18 releases, 2 breaking Sources: Claude Code, MCP Python SDK, Codex, Gemini CLI Last change:

Goes with

Changes

Claude Code v2.1.332

  1. other

    Improved /context output in fullscreen to be shorter and names the legend unit once.

Claude Code v2.1.331

  1. fix

    [VSCode] Fixed the context usage indicator disappearing after an API error, Prompt is too long, or a slash command.

Claude Code v2.1.330

  1. fix

    Fixed /context undercounting system tools in Code Mode before Claude's first reply.

Claude Code v2.1.326

  1. fix

    The /context grid and API error and status messages are no longer cut off or jumbled in narrow terminals.

Claude Code v2.1.323

  1. breaking Breaking

    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.

  2. breaking Breaking

    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

  1. fix

    Context usage estimates no longer overcount tool definitions when exact token counts are unavailable.

  2. fix

    The git status given to Claude at session start now reads as unavailable when git status fails instead of reading as clean.

  3. fix

    The git status given to Claude at session start no longer shows the first listed file as staged when its changes are not staged.

  4. other

    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.

  5. other

    Background command notifications and TaskStop results show Claude only the start and end of commands over 1,000 characters.

Claude Code v2.1.319

  1. fix

    Fixed /context sending its full visual grid to Claude on every later turn; Claude now reads only the table.

  2. other

    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

  1. fix

    Automatic context compaction accounts for retained output from failed responses and responses with missing token usage data.

  2. fix

    Context token estimates are fixed for responses without usable usage data.

  3. other

    Additional context counts, sizes, and truncation metrics are recorded.

Gemini CLI Release v0.67.0

  1. fix

    IDE settings and GEMINI.md files are excluded from open file context.

Claude Code v2.1.314

  1. performance

    Improved /context speed in sessions with ten thousand or more MCP tools.

Codex 0.166.0

  1. other

    Added optional names to untrusted additional context.

  2. other

    Rendered untrusted additional context as named tool outputs.

Claude Code v2.1.311

  1. fix

    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

  1. fix

    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

  1. fix

    Switching to a model with a smaller context window no longer spends usage credits on a summary by the previous model without asking first.

  2. fix

    Conversations are no longer compacted repeatedly on an unselected model when an LLM gateway responds with a different model name than the one requested.

  3. fix

    In fullscreen mode, /compact and auto-compact no longer briefly freeze the UI while the visible transcript is rebuilt.

  4. performance

    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

  1. performance

    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

  1. fix

    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

  1. fix

    Context[AppState] annotations now work on prompts and resource templates, not only on tools.

Claude Code v2.1.283

  1. fix

    Fixed /context not counting MCP server instructions; they now appear as their own row and count toward the total.