Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v0.2.40 ·

New Features

Entry
JSON All of v0.2.40
EntryKind: in v0.2.40,
ChangesSection of the release

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 →

Feedback