Claude Code v2.1.299: come back from a break without reprocessing your whole session
1 month ago
Claude Code 2.1.299 compacts a long idle terminal session before its one-hour prompt cache expires, so your next message doesn't reprocess the whole conversation. It also lets an @ file mention pass just the path, runs prompt hooks before skills expand, narrows MCP allow rules to the server they name, closes a sandbox gap through plugin folders, and stops sending a third-party gateway's API key to Anthropic.
Links
Ask about this presentation
Chapters
Show transcriptHide transcript
Step away from a long Claude Code session, and it now compacts itself before the one-hour prompt cache runs out. That covers conversations past 200K tokens, so your next message skips reprocessing all of it.
An at-sign file mention no longer has to paste the whole file into your prompt. With one new environment variable, Claude gets the path and reads the file itself. Mentioned PDFs also stay out of the transcript.
Prompt hooks now run before a skill or custom slash command expands. So when your UserPromptSubmit hook blocks a prompt, the shell commands embedded in that command stop with it.
An MCP allow rule now reaches only the server it names. A rule for one server used to cover other servers whose names began the same way. An agent's tool list now follows the same rule.
The sandbox closes a way out. A sandboxed command could write into a plugin folder that Claude Code reloads and runs outside the sandbox. On macOS, denied paths were also reachable through symlinks.
If you run Claude Code through a third-party gateway, its API key now stays with that gateway. Startup, feature flag and feedback requests to Anthropic had been carrying it. Anthropic API keys are still sent.
The usage meter stops climbing past a hundred percent. A reply cut off at the output limit no longer ends the turn in silence. And scheduled tasks stop firing every turn when daylight saving time ends.
About 190 changes shipped in this build, many for mods, Remote Control, cloud sessions and Claude in Slack. The Claude Code changelog on GitHub lists every one.
Up next
1:21Claude Code now loads skills from your MCP servers, and Code Mode runs on Bedrock
@claude-code
3 days ago
1:38Claude Code v2.1.330 draws charts for you with easel, and loops now run 30 days
@claude-code
1 week ago
1:36Claude Code v2.1.329 shows your scheduled tasks, loops and forks in /tasks
@claude-code
1 week ago
1:40Claude Code v2.1.328 brings auto mode to Bedrock, Foundry and Google Cloud
@claude-code
1 week ago
1:52Claude Code v2.1.327 makes /status list what is broken in your setup
@claude-code
1 week ago
1:29Claude Code v2.1.326 streams Remote Control replies to your phone as they are written
@claude-code
1 week ago
1:28Claude Code v2.1.325 now asks before sandboxed Bash commands run
@claude-code
2 weeks ago
1:49Claude Code's new Code Mode lets Claude write JavaScript to call its tools
@claude-code
2 weeks ago
1:29Claude Code v2.1.321 makes Fable 5.2 the default, with 1M context
@claude-code
2 weeks ago
1:52Claude Code v2.1.319 moves slow MCP tool calls to the background
@claude-code
3 weeks ago
1:39Claude Code v2.1.318 now tells you when your claude.ai sign-in ends
@claude-code
3 weeks ago
1:42Claude Code now asks before a tool call sends your email address
@claude-code
3 weeks ago







