vibe·code24/7
← all news
·4 minclaude-codeanthropicreleasessecurityagents

claude code v2.1.223: a teleport hint, a bash permission bypass fix, and other permission and sandbox fixes

Claude Code v2.1.223 (published on GitHub August 6, 2026) added a /teleport hint in cloud sessions showing how to continue locally, fixed a Bash permission bypass where a crafted command could hide parts of itself from permission checks, and fixed three other permission and sandbox gaps. It also made /review an alias of /code-review.

Claude Code v2.1.223 was published on GitHub on August 6, 2026, at 00:52 UTC. npm records the package a little earlier, on August 5 at 22:51 UTC. The release note runs to 19 lines: three additions, twelve fixes and four changes. Four of the fixes close gaps in permission checks or a sandbox, and one of the additions is a hint for moving a cloud session to your terminal.

/teleport — a hint for continuing a cloud session locally

The note added a /teleport hint in cloud sessions showing how to continue locally with claude --teleport <session id>. Only the hint was new. The v2.1.219 notes, published July 24, 2026, already improved claude --teleport.

As of November 6, 2026, the docs say that typing /teleportinside a cloud session makes Claude Code reply with the exact command for that session, ready to run from a checkout of the repository. That reply requires v2.1.223 or later in the session's environment.

The docs also say what the command moves. Claude verifies you are in the correct repository, fetches and checks out the branch from the cloud session, and loads the conversation into your terminal. If Claude Code has compacted the cloud session, which it does automatically in a long session, the earlier messages it summarized are not copied: Claude continues from the summary, and the originals stay readable in the cloud session on claude.ai or in the Claude mobile app. The branch must have been pushed to the remote, the checkout must be of the same repository and not a fork, and you must be signed in to the same claude.ai account. The terminal gets its own copy of the session, so new work there stays local and does not appear in the cloud session. An archived copy of the docs from August 4, 2026, before this release, describes the same checkout and requirements, and says the full conversation history loads.

Your working directory must have no uncommitted changes, and the docs say you will be prompted to stash them. For the direct claude --teleport <session> form, that offer came after this release: v2.1.243, published on npm on August 24, 2026, fixed the command exiting on uncommitted changes instead of offering to stash them and continue.

permission and sandbox fixes

The note gives each of these one line, with no severity rating and no ranking between them.

  • Bash permission bypass — a crafted command could hide parts of itself from permission checks.
  • Approval dialog — commands padded with tabs or invisible Unicode could hide part of the command from the approval dialog.
  • Workflow sandbox — workflow scripts could use dynamic import() to run code outside the workflow sandbox.
  • Org bypass policy — an agent definition's bypassPermissions mode ignored the org bypass-permissions disable policy.

One more sandbox line is about commands that would not run: sandboxed commands failed to start on Linux when sandbox.filesystem.denyWrite covered the working directory.

managed settings and models

  • Marketplace owner wildcards — the strictKnownMarketplaces and blockedMarketplaces managed settings gained "owner/*" entries for allowing or blocking all marketplace repos under a GitHub org.
  • Restricted model warning— a warning was added for when a workflow agent, forked skill, slash command or resumed background agent's requested subagent model is restricted and the parent model runs instead.
  • Managed env — server-delivered settings stopped disabling the env block of a machine-local managed-settings.json or MDM profile. As of November 6, 2026, the docs say admin env merges per variable across the admin sources, and that a few variables follow their own rules.
  • modelOverrides — keys that aren't Anthropic model IDs were being treated as the session's canonical model ID. Unknown keys are ignored, as documented.
  • Gateway model discovery — it was hiding Claude models registered under provider-prefixed IDs such as vertex_ai/claude-* or bedrock/anthropic.claude-*.

behavior changes

  • /review — it became an alias of /code-review, which reviews the current diff or a PR (/code-review <level> <pr#>). The note points to /code-review ultra for a deep cloud review.
  • /code-review with no level — it began reusing the level you typed last. Typing a level such as /code-review high changes it. As of November 6, 2026, the docs give the rules: the reused level is the last one from low through maxyou typed, the session's current effort applies if you never typed one, an ultra run neither uses nor updates it, and a level passed in a non-interactive -p run does not update it.
  • CLAUDE_CODE_DISABLE_1M_CONTEXT — it went from a fixed list to holding every Claude model with a native 1M window to 200K via auto-compaction. A startup warning was added for when auto-compaction isn't holding the session to 200K.
  • Unrecognized model IDs — auto-compact keeps these sessions within the assumed context window instead of letting them grow past it. Setting CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 restores the previous behavior.

other fixes in 2.1.223

  • Resume after /cd — resuming a session after a mid-session /cd was coming back empty.
  • Forked background agents— they could get stuck "already resuming" for the rest of the session when rebuilding the fork's parent prompt failed during resume.
  • Malformed diagnostics attachment — a resumed session whose history held one could fail every turn or leave the interactive app on an unresponsive error screen.
  • git push output — a rare hang when parsing unusual output.

later versions

v2.1.224 followed on npm on August 7, 2026. As of November 6, 2026, the npm registry's latest tag points at 2.1.318, next at 2.1.319 and stable at 2.1.311.