Claude Code v2.1.248
What's changed Added `--restricted` (or `CLAUDE_CODE_RESTRICTED=1`): removes the built-in tools that run commands or code and `WebFetch` (unless named in `--tools`), keeps file tools inside the working directory…
github.com·tool·119 items·last fetched
What's changed Added `--restricted` (or `CLAUDE_CODE_RESTRICTED=1`): removes the built-in tools that run commands or code and `WebFetch` (unless named in `--tools`), keeps file tools inside the working directory…
What's changed Added the `SendFeedback` tool: when something goes wrong in a session, Claude can draft a feedback report for you to review and send from `/feedback` (turn off with the `feedbackDrafts` setting) Added…
What's changed Added a startup warning for Bash allow rules with a wildcard before the subcommand (e.g. `Bash(git * main)`), since they also match options inserted before the subcommand Added an Auto mode tab to…
What's changed Fixed a crash on startup on Linux distributions that ship glibc 2.44 (for example Arch Linux, CachyOS and Fedora Rawhide)
What's changed Added a Loops breakdown to `/usage`: per-loop run count, total tokens, tokens per run, and last run, so runaway or chatty `/loop` tasks are easy to spot Added `modelPicker` setting: curate the `/model`…
What's changed Bug fixes and reliability improvements
What's changed Bug fixes and reliability improvements
What's changed Cost estimates (`/cost`, status line, `--max-budget-usd`) now include the 1.1× US-only-inference premium for data-residency workspaces Added the one-time fullscreen renderer offer on Bedrock, Vertex…
What's changed Added a `keybindingFlavor` setting: set it to `"readline"` to make Ctrl+W in the prompt delete back to the previous whitespace, as in Bash; the default (`"classic"`) is unchanged Plugin marketplaces…
What's changed Fixed prompt caching for sessions using an LLM gateway or custom base URL Added a built-in "Concise" output style: Claude leads with results and skips preamble and narration, while doing the work just as…
What's changed Added `ANTHROPIC_DEFAULT_MODEL` environment variable: sets the model new sessions start on, while a `/model` pick still overrides it and persists across restarts (unlike `ANTHROPIC_MODEL`) Added…
What's changed Added an optional `spellcheck` setting that underlines misspelled words in the prompt input as you type, using your installed `aspell`, `hunspell`, or `ispell` Fixed whole-prompt-cache invalidation when…
What's changed Added the optional `CLAUDE_CODE_PROJECT_DIR_NAME` environment variable: hosts that give each session its own config directory can choose a short name for the per-project transcript directory Added the…
What's changed Added GitLab merge request URL support to the `--worktree` flag and the `claude agents` view (where MRs display as `!N`) Added an opt-in `forward_user_identity` apps gateway setting on Anthropic…
What's changed Subagent forking is now on by default: a `subagent_type: "fork"` subagent inherits the full conversation and prompt cache, and non-teammate agent spawns in interactive sessions now run in the background…
What's changed Fixed MCP OAuth sign-in failing with a redirect URI mismatch for servers that use a pre-registered OAuth client, such as Slack
What's changed Documented `claude remote-control --continue` for resuming the most recent Remote Control session Added server-supplied Claude Code hook support for self-hosted runner sessions, matching…
What's changed Fixed interactive sessions that could stop redrawing entirely, while the process kept running, after a rare internal layout error Fixed `git` / Git Bash not being found on Windows when Claude Code is…
What's changed Fixed feature flags being evaluated without the user's subscription tier when a session started with an expired login token, which could wrongly prompt Max plan users to enable usage credits for Fable…
What's changed Bug fixes and reliability improvements
What's changed Added gateway spend-limit support to Claude Code's usage warning; the limit-reached message now names the cap, its reset time, and the operator's message (requires the gateway on 2.1.225) Added a…
What's changed Added self-hosted environments: `claude self-hosted-runner` turns your own machines or containers into a place Claude Code web, mobile, and desktop sessions can run, on Team and Enterprise plans Added…
What's changed Added owner wildcard entries (`"owner/*"`) to the `strictKnownMarketplaces` and `blockedMarketplaces` managed settings for allowing or blocking all marketplace repos under a GitHub org Added a warning…
What's changed Fixed worktree-isolated sessions and their subagents being able to run destructive git commands against the main checkout; isolation now applies to file edits and Bash in every session type Fixed…
What's changed [VSCode] Added Focus view: a chat-menu toggle that hides tool activity behind an expandable per-turn summary with a live running-tool indicator, toggled with `Ctrl+Alt+F` or the "Claude Code: Toggle…
What's changed Bug fixes and reliability improvements
What's changed Added Claude Opus 5 (`claude-opus-5`), now the default Opus model — 1M context, fast mode at $10/$50 per Mtok Added `sandbox.network.strictAllowlist` setting to deny non-allowlisted hosts for sandboxed…
What's changed Changed `/code-review` to run as a background subagent, so review work no longer fills your conversation and keeps stacked slash commands as its review target Added screen-reader announcements of deleted…
What's changed Added emoji shortcode autocomplete in the prompt input: type `:heart:` to insert ❤️, or `:hea` for suggestions — disable with the `emojiCompletionEnabled` setting Added warnings when transcript writes…
What's changed Added `sandbox.filesystem.disabled` setting to skip filesystem isolation while keeping network egress control Fixed a slowdown in long sessions where message normalization cost grew quadratically with…
What's changed Claude no longer runs the `/verify` and `/code-review` skills on its own; invoke them with `/verify` or `/code-review` when you want them
What's changed Fixed single-segment `dir/` allow rules like `Edit(src/)` auto-approving writes to nested `dir/` directories anywhere in the tree instead of only `/dir` Fixed a permission-check bypass affecting commands…
What's changed `/fork` now copies your conversation into a new background session (its own row in `claude agents`) while you keep working; the in-session subagent it used to launch is now `/subtask` Added `claude…
What's changed Added `--forward-subagent-text` flag and `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT` environment variable to include subagent text and thinking in stream-json output Fixed permission previews relayed to chat…
What's changed Added a live elapsed-time counter to the collapsed tool summary line so long-running tool calls visibly tick instead of looking stuck Added a startup warning for `Write(path)`, `NotebookEdit(path)`, and…
What's changed Fixed /model and other dialogs being blocked in `claude agents` background sessions (reverts an overly broad guard)
What's changed Added screen reader mode: opt-in plain-text rendering for screen reader users. Run `claude --ax-screen-reader`, set CLAUDE_AX_SCREEN_READER=1, or add "axScreenReader": true to settings. Added…
What's changed Auto mode is now available without `CLAUDE_CODE_ENABLE_AUTO_MODE` opt-in on Bedrock, Vertex AI, and Foundry; disable via `disableAutoMode` in settings Fixed the terminal freezing and keystrokes lagging…
What's changed Added directory path suggestions to `/cd`, matching `/add-dir` behavior Added a `/doctor` check that proposes trimming checked-in `CLAUDE.md` files by cutting content Claude could derive from the…
What's changed Added an auto mode rule that blocks tampering with session transcript files Fixed `--json-schema` silently producing unstructured output when the schema was invalid, and schemas using the `format`…
What's changed Fixed hook events not streaming during SessionStart hooks in headless sessions, which could cause remote workers to be idle-reaped mid-hook
What's changed Added a warning when your login is about to expire, so you can re-authenticate before background sessions are interrupted Added a grey ⏸ badge to the footer when in manual permission mode, making the…
What's changed Added a "Dynamic workflow size" setting in `/config` for controlling how large Claude generally makes dynamic workflows (small/medium/large agent counts) — an advisory guideline, not an enforced cap…
What's changed Claude Sonnet 5 sessions no longer use the mid-conversation system role for harness reminders
What's changed Changed `AskUserQuestion` dialogs to no longer auto-continue by default; opt into an idle timeout via `/config` Changed the "default" permission mode to "Manual" across the CLI, `--help`, VS Code, and…
What's changed Stacked slash-skill invocations like `/skill-a /skill-b do XYZ` now load all leading skills (up to 5), not just the first Fixed SSL certificate errors (TLS-inspecting proxies, missing…
What's changed Claude in Chrome is now generally available Added background agent notifications in `claude agents` — sessions that need input or finish now fire the `Notification` hook (`agent_needs_input` /…
What's changed Introducing Claude Sonnet 5: now the default model in Claude Code, with a native 1M-token context window and promotional pricing of $2/$10 per Mtok through August 31. Update to version 2.1.197 for…
What's changed Added support for organization default models — admins set it in the org console; it shows as "Org default" (or "Role default") in `/model` when you haven't picked one yourself Added readable default…
What's changed Added `CLAUDE_CODE_DISABLE_MOUSE_CLICKS` to disable mouse click/drag/hover in fullscreen mode while keeping wheel scroll Fixed hook matchers with hyphenated identifiers (e.g. `code-reviewer`…