In RPC mode, `ctx.ui.custom()` returns `undefined as never`, causing `showInterviewRound` to return undefined and `Object.keys(result.answers)` to throw TypeError. When `showInterviewRound` returns undefined (RPC mode), fall back to sequential `ctx.ui.select()` calls for each question, forwarding the abort signal (#171) and supporting `allowMultiple` (#165). - Add `allowMultiple` to `ExtensionUIDialogOptions` - Widen `select()` return type to `string | string[] | undefined` - Add `allowMultiple` to RPC select request and `values` array to response - Update RPC `select()` to forward `allowMultiple` and parse array responses - Guard existing `ctx.ui.select()` callers against the widened return type Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||