Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Handle approvals and user input changedagent-sdk/user-input

Nearest release: v2.1.273, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+6added
Lines−6removed
From line 540 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 540, old and new numbered
/
lines
from line 540
540540 
541541The input contains Claude's generated questions in a `questions` array. Each question has these fields:
542542 
543| Field | Description |
544| ------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
545| `question` | The full question text to display |
546| `header` | Short label for the question (max 12 characters) |
547| `options` | Array of 2-4 choices, each with `label` and `description`. TypeScript: optionally `preview` (see [below](#option-previews-typescript)) |
548| `multiSelect` | If `true`, users can select multiple options |
543| Field | Description |
544| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
545| `question` | The full question text to display |
546| `header` | Short label for the question (max 12 characters) |
547| `options` | Array of 2-4 choices, each with `label` and `description`. TypeScript: optionally `preview`. See [Option previews](#option-previews-typescript). |
548| `multiSelect` | If `true`, users can select multiple options |
549549 
550550The structure your callback receives:
551551 
Feedback