mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-23 10:13:12 -07:00
19b9e3e8e4
- Add RegistryTeam interface and TeamRegistryClient for remote/local discovery. - Enhance TeamScaffolder with installRegistryTeam supporting Git and metadata-only teams. - Refactor GitHub/Git utilities from cli to core for shared usage. - Add comprehensive unit tests for new services. TASK-09, TASK-10
1.2 KiB
1.2 KiB
TASK-12: Sample Teams Registry and End-to-End Integration
Objective
Finalize the "Browse Agent Teams" experience by providing a sample registry and verifying the full browsing and installation lifecycle.
Implementation Details
1. Sample Registry (packages/core/assets/teams-registry.json)
- Create a sample
teams.jsonregistry containing 2-3 experimental teams.- Team A (Local Only): "System Admin Team" (Shell + FS Expert agents).
- Team B (Multi-LLM): "Creative Polyglot" (Gemini + Claude Code).
- Team C (Remote): "Open Source Contributor" (Git source pointing to a repo).
2. Integration Testing
- Add an integration test in
integration-tests/agent-teams-browse.test.ts:- Mocks the registry endpoint.
- Verifies "Browse Agent Teams" lists the teams.
- Verifies "Install Team" correctly scaffolds the local directory and notifies the registry.
3. Polish
- Ensure all "Marketplace" strings are replaced with "Browse Agent Teams".
- Ensure the
/teamslash command also supports browsing/installing teams.
Verification
- Run
npm test -w @google/gemini-cli-corefor the new backend services. - Run
npm run test:e2efor the full browser and installation flow.