The plugin-facing UI framework gains validated Input, Select, and Link component types: Input enforces character limits and control-character checks, Select requires unique option values and detects duplicate keys, and Link validates its href as a canonical URL. On the terminal side, new ui.input and ui.select events dispatch to handlers, logging timing and settling handler chains.
Documented inclaude-code/plugins/mods/interface
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up ui.select, on Draw in the interface with a mod.
A test presses or types into a control by its `key`, so give each control one. Each use of a control also fires [`ui.press`, `ui.input`, or `ui.select`](/docs/en/plugins/mods/reference#interface) with the `key` in `e.element`, and another …plugins/mods/interface see the edit
Confirmed since
Anthropic's documentation has since written up ui.input, on Draw in the interface with a mod.
A test presses or types into a control by its `key`, so give each control one. Each use of a control also fires [`ui.press`, `ui.input`, or `ui.select`](/docs/en/plugins/mods/reference#interface) with the `key` in `e.element`, and another …plugins/mods/interface see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up ui.input, on Draw in the interface with a mod.