Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Dialog buttons can now be marked as cancel, close or secret

Each choice in a dialog can now be marked as a cancel option, a close option or a secret entry, alongside the existing dismiss marker

Under the hood Internal Changes
JSON All of v2.1.337
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
DialogsArea: what it touches
Internal ChangesKind: in v2.1.337,
Internal ChangesSection of the release

Unclear It is not clear what reads these new markers, so their visible effect on dialogs is unknown.

What

Each choice in a dialog Claude Code shows now carries more markers than before. It used to carry only one marker saying whether picking it dismisses the dialog. It can now also say:

  • Cancel: picking it cancels the dialog.
  • Close: picking it closes the dialog. This is set when the choice's role is "dismiss".
  • Secret: the choice holds something that should be kept hidden.

The existing dismiss marker is still there, but it is now worked out from a different value.

Why

These markers could change how a program hosting Claude Code, or one built with the SDK (the toolkit for driving Claude Code from your own code), handles dialogs.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what reads these new markers, so their visible effect on dialogs is unknown.

See this entry in the whole of v2.1.337 →

Feedback