makecindy / makecindy/cindy

ask_user_question 选择器支持真正的多选

Open
#1,381 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**客户端版本**: 0.1.26
**反馈类型**: feature

---

## 使用场景

当 Agent 通过 `ask_user_question` 同时提供多个可选项时,用户有时需要一次选择多个互不排斥的选项,例如同时选择“悬停预览”和“快速跳转”。

## 诉求

为 `ask_user_question` 增加真正的多选模式:

- Agent 可以声明当前问题允许多选;
- 用户可以同时勾选多个选项;
- 提交后向 Agent 返回完整、结构化的选中项数组;
- 单选模式继续保持现有行为,避免影响已有问题。

## 建议方案

可以为问题增加 `multiple` / `multiSelect` 一类的布尔参数,并在 UI 中使用复选框或等价的多选交互。提交结果应明确区分单选值和多选数组。

## 当前实际行为

当前问答控件只能选择一个选项。把多个功能组合成一个选项只能绕过交互,不能提供真正的多选体验;用户也容易误以为已经支持多选。

## 相关 issue

#1323 关注的是选择器勾选后结果未回传,与本功能建议相关但问题不同。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start at the ask_user_question entry point and trace the current selector UI and submission result path. Check how single-select questions are represented and returned; done means agents can declare multi-select, users can select several options, structured arrays are returned, and existing single-select behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.