Skip to content

[Feature] 交互式提问默认不超时并支持配置超时时间 #354

Description

@ViCrack

Affected area

Desktop UI (agent-gui / React)

Problem statement (what should this solve)

当前提问会在 3 分钟未作答后自动采用推荐项并继续执行。实际使用中,用户可能暂时离开、切换到其他窗口,或者没有及时注意到提问卡片。此时系统会在未经用户确认的情况下代替用户选择,并继续完成后续任务。

自动选择错误答案可能导致 Agent 按错误方向执行,产生无效工作,甚至需要撤销已经完成的修改。

甚至可能超时导致自动触发执行了危险动作。

Image

Proposed behavior

  • 默认不设置应答超时,交互式提问应持续等待用户明确提交答案。
  • 在设置中增加交互式提问超时时间配置,并将不超时作为默认值。
  • 用户自主启用超时后,可以自定义等待时长。
  • 当 Windows 窗口未聚焦时,闪烁任务栏图标并发送系统通知,避免用户错过提问

Estimated change scope

Alternatives considered

Pre-submit checklist

  • I searched existing issues and pull requests and found no duplicates.
  • This proposal is focused on a single feature or improvement.
  • I understand a PR should come after this issue is confirmed by maintainers, otherwise it will be converted to draft.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions