a2ui-project / a2ui-project/a2ui
Create clear API to observe who's turn it is.
- 主要语言
- TypeScript
- 星标
- 16.4k
- 派生
- 1.3k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 134
描述
_↴ Ported from [flutter/genui#847](https://github.com/flutter/genui/issues/847) — originally opened by [polina-c](https://github.com/polina-c) on 2026-04-01._
_Original labels: P2, front-line-handled, a: api-simplicity_
---
Define observable, explicit and easy to discover way to detect if it is agent's or user's turn to say something in conversation.
Details: https://github.com/flutter/genui/pull/846#discussion_r3019205909
贡献指南
调研方向
Review the linked discussion in the original PR to understand the context. Look for existing conversation state management in the codebase, likely in a module handling agent/user turns. Identify where turn-taking logic is currently implemented and design an observable API (e.g., using an event emitter or reactive stream) that exposes whose turn it is. Ensure the API is explicit and easy to discover, then write tests to verify the observable behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100