Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v0.2.40 Home All releases olderv0.2.39 v0.2.41newer
Claude Code v0.2.40

New Features

Interactive Confirmation Prompts

  • Added a new ConfirmInput component that provides Y/n prompts for user confirmations
  • Supports customizable default choices and keyboard shortcuts (Y/n or y/N)
  • Automatically submits on Enter key based on the default choice

Enhanced Shell Prompt Integration (OSC 133)

  • Added support for OSC 133 terminal sequences for better shell integration
  • New prompt markers automatically inserted to track command execution:
  • OSC 133;A - marks prompt start
  • OSC 133;B - marks prompt end
  • OSC 133;C - marks command start
  • OSC 133;D - marks command end
  • Includes bracketed paste mode support (OSC ?2026h/l)
  • Improves terminal experience with better command boundary detection

Improved Allowed Tools Management

  • Redesigned the /approved-tools interface with better visual feedback
  • Added confirmation dialogs when deleting allowed tools
  • Shows "Press [key] again to exit" hints for better UX
  • Improved escape key handling throughout the permission flows

See this entry in the whole of v0.2.40 →