mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-20 08:42:39 -07:00
79cc1eb4f4
- Implement External Agent kind with personality overlays (Claude Code, Codex) - Enhance AgentLoader and Registry for external agent discovery and registration - Fix critical startup race condition in Config registry initialization - Add TeamSelectionDialog and ActiveTeamIndicator to CLI UI - Include comprehensive integration and unit tests for agent teams - Refactor SubagentToolWrapper for type-safe external agent invocation
2.0 KiB
2.0 KiB
TASK-07: External Agent Registry and Team Marketplace placeholders
Objective
Enable teams to include external agents and provide the "marketplace" UI placeholders that suggest where one might find or browse external agents.
Implementation Details
1. Team Discovery (packages/core/src/agents/teamLoader.ts)
- Ensure that
TEAM.mdcan specify agents withkind: externalandprovider. - If a team specifies an external agent that isn't found locally, provide a clear error message or auto-generate a polyfill definition.
2. Team Marketplace UI (packages/cli/src/ui/components/TeamSelectionDialog.tsx)
- Populate the "Browse Team Marketplace" and "Create New Team" placeholders from TASK-04.
- For the marketplace, show a list of "Curated Teams" (hardcoded for the
MVP) that include external agents.
- Example: "The Polyglot Team" (Gemini + Claude Code + Codex).
- Visual Language:
- Add color-coded tags next to agents in the team list:
- Anthropic Purple for Claude Code (
provider: 'claude-code'). - OpenAI Green for Codex (
provider: 'codex'). - Google Blue for Gemini agents.
- Anthropic Purple for Claude Code (
- Use a "Multi-Model" badge if a team contains agents from multiple providers.
- Add color-coded tags next to agents in the team list:
3. Team Builder/Creator (MVP)
- In the "Create New Team" placeholder, provide a simple prompt to create a
TEAM.mdin a new subdirectory. - Allow users to specify
providersfor their agents in this builder.
4. Status Indicator Enhancement (packages/cli/src/ui/components/StatusRow.tsx)
- If a team is active, the
ActiveTeamIndicatorshould show the "Provider" icons or tags for the agents in the team.- Example:
[ Team: Polyglot (G, C, X) ]where G/C/X are color-coded letters for Gemini/Claude/Codex.
- Example:
Verification
- Manual verification of the "Marketplace" and "Create Team" placeholders in the selection dialog.
- Verify that a team with an external Claude Code agent displays correctly and its instructions are correctly surfaced.