Claude Code's new Code Mode lets Claude write JavaScript to call its tools
2 days ago
Claude Code v2.1.322 to v2.1.323 adds Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools. Also: fast mode on Google Cloud Vertex AI, a 1M context window for models Claude Code doesn't recognize, a menu when you hit a usage limit, and fixes for permission gaps, sign-in errors and /compact. https://github.com/anthropics/claude-code/releases/tag/v2.1.323 https://github.com/anthropics/claude-code/releases/tag/v2.1.322 https://code.claude.com/docs/en/code-mode https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md https://github.com/anthropics/claude-code/compare/v2.1.321...v2.1.323
Ask about this presentation
Chapters
Show transcriptHide transcript
Claude Code has a new Code Mode. Turn it on, and Claude writes JavaScript that calls its tools. It is experimental and stays off until you opt in, and an organization can switch it off.
If you run Claude Code through Google Cloud Vertex AI, fast mode now works there, in the global, United States and Europe regions. When Vertex refuses fast mode, you drop to standard speed instead.
Claude Code now assumes a million tokens of context for a model it doesn't recognize, up from two hundred thousand. On another vendor's smaller model, turn that off before it fills, or every turn can fail.
When a model needs usage credits you have turned off or used up, a menu now lets you stop, switch to credits, or upgrade. Fable's weekly limit also shows when it resets.
A wildcard allow rule could skip the prompt. Deny rules missed commands run through sudo or env. Both are fixed. And when auto mode is unavailable, Claude Code now starts in Manual mode, which asks first.
On a Mac, Not logged in no longer comes back right after you log in. An expired MCP token now asks you to sign in again. And Bedrock tells you to enable a refused model.
Running /compact twice no longer summarizes away a message Claude hadn't answered. Changing a very large file no longer spikes memory. And Remote Control stays connected when you switch wifi or reconnect a VPN.
The Claude Code changelog lists over two hundred more changes. If you write Bash allow rules with wildcards, I'd update today, for the permission fixes alone.
Up next
1:28Claude Code v2.1.325 now asks before sandboxed Bash commands run
@claude-code
1 day ago
1:29Claude Code v2.1.321 makes Fable 5.2 the default, with 1M context
@claude-code
5 days ago
1:52Claude Code v2.1.319 moves slow MCP tool calls to the background
@claude-code
1 week ago
1:39Claude Code v2.1.318 now tells you when your claude.ai sign-in ends
@claude-code
1 week ago
1:42Claude Code now asks before a tool call sends your email address
@claude-code
1 week ago
2:05Claude Code can now block writes outside your project, and Opus 4.8 fast mode ends
@claude-code
1 week ago
2:06Claude Code v2.1.311 runs ultrathink at xhigh effort, even mid-turn
@claude-code
2 weeks ago
1:35Claude Code v2.1.310 brings the Monitor tool to Bedrock, Vertex and Foundry
@claude-code
3 weeks ago
1:44Claude Code's sandbox stops running your shell startup files outside it
@claude-code
3 weeks ago
1:39Claude Code's /claude-api now moves your code to the new Claude API version
@claude-code
3 weeks ago
1:30Claude Code v2.1.305 works again on Vertex and Bedrock, and its Linux sandbox can run Chromium
@claude-code
3 weeks ago
1:35Claude Code’s /auto-mode-setup teaches auto mode your project, and resume warns before it eats your 5-hour limit
@claude-code
3 weeks ago







