Claude Code 2.1.157
- 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
Source: Claude Code changelog (view original)