mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-21 17:23:37 -07:00
1c5646b68d
- Add TeamSelectionDialog component for team discovery UX - Intercept startup flow in AppContainer to show team selection if needed - Update DialogManager to orchestrate team selection UI - Add handleTeamSelect and isTeamSelectionActive to UI contexts - Fix pre-existing StyledLine compilation error in TableRenderer - Refactor promptProvider-teams.test.ts to resolve type errors - Add unit tests for TeamSelectionDialog - Fix ESLint warnings for exhaustive-deps in AppContainer - Resolve syntax corruptions in AppContainer.tsx and DialogManager.tsx
1.7 KiB
1.7 KiB
TASK-05: Active Team Visual Indicator and Sample Coding Team
Objective
Provide visual feedback to the user when a team is active and create a sample "Coding Team" to verify the end-to-end orchestration flow.
Implementation Details
1. Status Indicator (packages/cli/src/ui/components/StatusRow.tsx)
- Add an
ActiveTeamIndicatorcomponent. - Render the indicator within the
StatusRow(next to Shell or Approval mode indicators). - If a team is active, display:
[ Team: ${displayName} ]in a distinctive color. - Ensure that it is clearly visible during idle states.
2. Sample Coding Team
- Create
.gemini/teams/coding-team/. - Create
TEAM.md:- Frontmatter:
name: coding-team,display_name: Coding Team,description: A team of coder, reviewer, and tester agents. - Body:
You are managing a software development task. Use the 'coder' agent for implementing new code or major refactors. Use the 'tester' agent to write or run tests for the changes. Use the 'reviewer' agent to ensure the code and tests meet quality standards. Prioritize delegating to these specialists rather than performing the implementation yourself.
- Frontmatter:
- Create
.gemini/teams/coding-team/agents/:coder.md: Agent with code editing tools.reviewer.md: Agent with code review instructions.tester.md: Agent with test running tools.
Verification
- Manual verification of the active team indicator.
- End-to-end verification of the Coding Team by asking a complex task (e.g., "Implement feature X with tests and review").
- Verify that the top-level agent correctly delegates to the team agents as instructed.