Skip to main content

Claude Code v2.1.141: Enhanced Agent Management and UI Improvements

Claude Code v2.1.141 introduces terminal sequence hooks, improved agent management, better permission handling, and numerous bug fixes for a smoother coding experience.

May 14, 2026 10 min read By ClaudeWorld

The latest Claude Code release brings significant improvements to agent management, terminal interactions, and user interface enhancements that make development workflows more efficient and intuitive.

What’s New

Enhanced Terminal and Hook Support

  • Terminal Sequence Hooks: Added terminalSequence field to hook JSON output, enabling hooks to emit desktop notifications, window titles, and bells without requiring a controlling terminal
  • HTTPS Plugin Support: New CLAUDE_CODE_PLUGIN_PREFER_HTTPS environment variable allows cloning GitHub plugin sources over HTTPS instead of SSH, perfect for environments without GitHub SSH keys

Improved Agent Management

  • Directory-Scoped Sessions: Use claude agents --cwd <path> to view sessions specific to a particular directory
  • Enhanced Feedback System: The /feedback command now includes recent sessions (last 24 hours or 7 days) for tracking issues that span multiple sessions
  • Better Agent Status Tracking: Agents that complete work but leave background shells running now properly move to “Completed” status instead of remaining under “Working”
  • Background Agent Permissions: Agents launched via /bg or ←← now preserve your current permission mode instead of reverting to defaults

User Interface Enhancements

  • Visual Thinking Indicator: Improved spinner feedback during long thinking periods—the spinner warms to amber after 10 seconds to show Claude is still actively working
  • Enhanced Plugin Navigation: Better keyboard navigation with /Tab to switch tabs, to move to tab strip, and clickable headers in fullscreen mode
  • Rewind Functionality: New “Summarize up to here” option in the rewind menu compresses earlier context while keeping recent turns intact
  • IDE Integration: Restored “view diff in your IDE” option on file-edit permission prompts when an IDE is connected

Enterprise and Security Features

  • Workspace Identity Federation: Added ANTHROPIC_WORKSPACE_ID environment variable for workload identity federation, scoping minted tokens to specific workspaces
  • Improved Permission Dialogs: Auto mode permission dialogs now clearly explain when a permissions.ask rule triggered the prompt

Bug Fixes and Stability

  • Fixed background side-queries on Bedrock/Vertex/Foundry/gateway when no small model override is set
  • Resolved Windows-specific issues with claude daemon status and /doctor commands
  • Fixed markdown table rendering regression that affected cell wrapping
  • Improved error handling for crashed sessions and deleted working directories
  • Fixed various permission prompt and model switching issues

How to Update

To update to Claude Code v2.1.141, follow the standard update process for your installation method. The update includes automatic migration of existing configurations and sessions.