Claude Code v2.1.157
Released May 29, 2026 (3 months ago).
37 issues reference this build
1 still open
36 resolved (97%)
"References this build" means the issue body mentions running 2.1.157 (from the
bug-report template). It reflects report volume, not a proven defect count — an issue may mention a
version without being caused by it. First-party data from the anthropics/claude-code tracker.
Top issues reported on v2.1.157
Ranked by community engagement (reactions and comments).
- [BUG] Calling advisor tool crash or stop the claude code with following API error Unsupported content type: server_tool_use
- [BUG] Regression in 2.1.158: claude spirals into redundant/invented tool calls during file reads (2.1.157 clean)
- [Feature Request] Allow "workflow" as non-reserved word in prompts
- Server withholds stream bytes after accepting request — frequent slow-first-byte and 180s idle-timeout aborts (2.1.157, Opus 4.8)
- Opus 4.8 / xhigh / Claude Code: model asserts specific tool-output values BEFORE the tool calls return — model self-diagnoses the bug in-context but keeps doing it
- [BUG] macOS: documented per-prompt dismissals for the `workflow` keyword trigger (alt+w, backspace) don't work
- [BUG] Opus 4.8: Repeated/duplicated output blocks in Claude Code CLI, worsening with session length
- [BUG] claude plugin list --json --available truncates stdout at 65536 bytes when piped (process.exit before pipe drains)
- `claude --bg` code-writing sessions stall on permission prompts with no non-interactive way to reply (acceptEdits insufficient)
- [Bug] Tool/sub-agent results deliver with multi-minute buffering delay causing model busy-wait polling
- [Bug] opus 4.8 hangs indefinitely on tool calls after extended usage, freezes on messages ending with "let me..."
- [BUG] Remote-control sessions (browser/mobile) silently drop attachments — shown as sent, never reach the model
- [BUG] TypeError "undefined is not an object (evaluating 'H.replace')" replaces Bash tool output
- Resumed session duplicates the last message's first line(s) into scrollback when the transcript overflows the terminal (inline mode, 2.1.168)
- [Bug] Claude fabricates security findings and proposes destructive remediation before tool output returns
- [BUG] CC CLAUDE_CODE_DISABLE_1M_CONTEXT doesn't get respected
- Claude deleted production database record without user permission
- [BUG] /model opus (bare alias) resolves to 1M context instead of 200K (v2.1.157 / v2.1.158)
- [Bug] Auto-update failed error
- [BUG] lspServers restartOnCrash (documented field) fails LSP init: "not yet implemented"
- [BUG] Korean/CJK IME preedit composes at parked cursor (bottom-left) in `claude agents` view; CLAUDE_CODE_NATIVE_CURSOR=1 is silently negated
- [BUG] CC Switch "关于"页面显示 claude.cmd 无法运行 — 路径引号嵌套问题 (Windows) [BUG] CC Switch "About" page shows claude.cmd cannot run — path quoting issue on Windows
- [Bug] Session transcript corruption when executing commands during server tool execution
- [BUG] /model switch to standard context doesn't clear 1M context credits gate — /compact still fails after switching back
- Wrong Charges of extra credits!!
- Docs: clarify that `claude --bg` / background dispatch sessions do not carry `agent_id` in hook payloads
- [Bug] Unable to compact context at 100% usage
- [Bug] Tool call parsing fails with unrecoverable error
- Windows: background daemon keeps a directory handle after `claude rm`, blocking directory deletion
- [BUG] agent stuck: git-rebase preference + auto-mode -> blocked force pushes -> requires human intervention
Changelog
What's changed
- Plugins in
.claude/skillsdirectories are now automatically loaded, no marketplace required - Added
claude plugin init <name>to scaffold a new plugin in.claude/skills - Added autocomplete for
/pluginarguments: subcommands, installed plugin names, and plugins from known marketplaces claude agents: theagentfield insettings.jsonis now honored for dispatched sessions, with--agent <name>to override itEnterWorktreecan now switch between Claude-managed worktrees mid-sessiontool_decisiontelemetry events now includetool_parameters(bash commands, MCP/skill names) whenOTEL_LOG_TOOL_DETAILS=1- Worktrees managed by Claude are now left unlocked when the agent finishes, so
git worktree remove/prunecan clean them up - Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder
- Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK
- Fixed
claude agentscompleted sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell - Fixed
claude agentspressing Esc not cancelling a slow "opening…", leaving the list unresponsive - Fixed background agent worktrees under
.claude/worktrees/being orphaned after the 30-day job retention sweep - Fixed background sessions re-attached after a sleep/wake not telling the model the correct date
- Fixed copy-on-select in
claude agentsnot reaching the system clipboard inside tmux withset-clipboard on(regression in 2.1.153) - Fixed
--resumenot reporting background subagents that were running when the previous Claude Code process exited - Fixed the
--resumesession picker leaving its contents on the terminal after exiting in fullscreen mode - Fixed
--worktreeand--worktree --tmuxreturning to the canonical repo root instead of the current linked worktree - Fixed the
/modelpicker showing an incorrect "Newer version available" hint when the selected model is already the newest in its family; the pinned-model row now shows the model's description instead of its raw ID - Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode
- Fixed the terminal freezing after approving the managed-settings security dialog at startup
- Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws
- Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals
- WSL: fixed image paste (
alt+vkeybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer - Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations
/terminal-setupnow disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering- The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt
claude agents: slash-command autocomplete in the dispatch input now matches substrings- Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in
/statusand when a command is blocked - Removed the "/ide for …" startup hint toast
- [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it
- [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8
- Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character
- Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow