• Tech Dev NotesTech Dev Notes
Apps
  • Lookup
  • Compare
Market movement
  • Charts
  • Rankings
Visual proof
  • Screens
  • Store listings
  • Icons
Stacks and releases
  • Tech stacks
  • Tool releases
  • Developers
More
  • X feature flags
  • Grokipedia
  • Grok companions
  • Blog
  • Follow on X
Skip to content
ChartsRankingsMoversCompareLookupScreensTech stacksReleases

© 2026 Tech Dev Notes

RSSAboutAPIStatusSecurityPrivacyTermsSitemap@techdevnotes
Claude Code

Anthropic · CLI

Claude Code 2.1.222

2.1.221→2.1.222·August 4, 2026 at 1:46 AM UTC

Patch release: adds an import CLI subcommand and refines agent guidance around worktrees, focus mode, context summarization, and subagent behavior.

Changelog

  • [new] Added an import CLI subcommand.
  • [changed] Clearer handling when a session’s worktree binding is cleared — the agent continues in the current directory without worktree isolation.
  • [changed] Improved focus-mode behavior: when focus mode is on, only the final text of each response is shown, so intermediate tool chatter is skipped and everything the user needs lands in that final message.
  • [changed] Context summarization guidance now distinguishes full-session summaries from summaries of only the recent (unretained) portion, so long conversations can continue without premature wrap-up.
  • [changed] Stronger correction and disagreement handling: follow-ups are not treated as proof of error by default; when the user reaffirms a request after a concern, the agent proceeds; real mistakes are corrected plainly.
  • [changed] Subagent instructions clarified for background vs synchronous runs (run_in_background), naming limits for teammates, and remote CCR isolation.
  • [changed] GitHub PR flow still offers optional Slack posting when CLAUDE.md mentions it, only after user confirmation when a Slack tool is available.
  • [changed] Thread listings surface threads with comments directed at you first (order is not strictly chronological).
  • [changed] Safer git stash guidance in multi-worktree / multi-session setups: avoid bare stash/pop; prefer tagged stashes or temporary WIP commits.
  • [changed] SDK compatibility range updated (wrapper coverage through 0.3.221; older 0.3.181 dropped from the tested set).

Models & prompts

  • Plan-mode, permission-denial, and tool-rejection prompts tightened so the agent stops cleanly and waits for direction instead of pushing ahead.
  • Computer-use MCP guidance retained for desktop screenshot/input control when that MCP is available.
  • Auto-mode classifier review prompts and onboarding-guide helper text refreshed for clarity and stricter block-first classification where applicable.
  • Chrome extension decline path unchanged in spirit: don’t re-prompt that session; fall back to read-only web tools or manual steps (/chrome to revisit).

Under the hood

  • New internal/experimental knobs for session naming, scroll speed, API base URL overrides, container identity, brief upload, append-subagent-prompt, observer agents, Perforce-related mode, fast-mode network-error skipping, post-compact hooks, and related timeouts.
  • Feature gates added for worktree resume rejection, preserving parked/reverted state across shutdown, bridge self-heal heartbeats, streaming close-after-complete, remote tool-result rendering, and remote auto-mode handling of destructive MCP tools.
  • Assorted older env flags removed or renamed (custom headers helper, mouse disable, SDK file checkpointing, fork/child-session and related bridge/session-kind toggles) as part of internal cleanup.

Upgrade notes

  • If you pin SDK wrapper versions, note tested compatibility now includes 0.3.221 and no longer lists 0.3.181.
  • Experimental environment variables from prior builds may have been renamed or removed; drop obsolete CLAUDE_CODE_* overrides if you relied on undocumented flags.

content/

Browse captured content/

Same tree as claude-code/latest/content for this version. Open the full browser for sidebar navigation between docs and other files.

Open content/ browser →

8 listed · 8 in tree

content/ browserNavigate docs, prompts, and root filesFolder index plus per-file pages with prev/next and a full file sidebar.
README.mdDocs2 KBpackage.jsonMetadata1.4 KBmanifest.jsonMetadata2 KBversion.jsonMetadata172 Bcli-wrapper.cjsCJS4.9 KBinstall.cjsCJS7 KBsdk-tools.d.tsTS145.6 KBLICENSE.mdDocs147 B
Older release← 2.1.221Newer release→ 2.1.223
All Claude Code releases →