feat(extensions): add programmatic search command#22586
feat(extensions): add programmatic search command#22586mattKorwel wants to merge 2 commits intomainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the Gemini CLI's extension management capabilities by introducing programmatic search functionality, making it easier for users to discover and install extensions directly from the command line. It also refines the existing exploration command to provide a more intuitive browser-based experience. Concurrently, the PR improves internal maintainer tooling by establishing a high-performance remote offload system, complete with Docker images and onboarding documentation, streamlining development and review processes. Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Size Change: +4.33 kB (+0.02%) Total Size: 26.1 MB
ℹ️ View Unchanged
|
9564140 to
2eb8c0f
Compare
mattKorwel
left a comment
There was a problem hiding this comment.
🤖 Automated Review Assessment (via Gemini CLI)
Functional verification and behavioral analysis for this PR have completed successfully.
✅ Key Improvements
- Programmatic Search: The new search command was verified to correctly handle and return machine-readable output for extensions.
- Stability & Diagnostics: All automated checks, including build, CI, and local diagnostics (lint/typecheck), passed.
Recommendation: LGTM. Ready to merge.
Summary
This PR introduces programmatic extension searching and discovery directly within the Gemini CLI, while preserving the visual gallery exploration via the browser.
Details
/extensions search <query>command to both ACP and interactive UI. This command fetches the live registry fromhttps://geminicli.com/extensions.jsonand performs fuzzy matching./extensions exploreto its original purpose of opening the visual extension gallery in the default browser.[MCP, Skills, Hooks]) and direct installation commands.ExtensionRegistryClientfuzzy search selector to includerepoDescription. This ensures terms like "tmux" (which might only appear in the repo description) are correctly identified.repoDescriptionwhenextensionDescriptionis empty, ensuring consistency with the website gallery.GEMINI.mdwith an "Extension Management" section to guide agents on proactively searching and installing extensions for missing capabilities.Related Issues
N/A
How to Validate
Run
/extensions explore. It should openhttps://geminicli.com/extensions/in your browser.Run
/extensions search. It should display the top 10 ranked extensions.Run
/extensions search tmux. It should return 3 results (self-command, run-long-command, and gemini-sleep), correctly matching against the repository descriptions.npm test -w @google/gemini-cli -- src/acp/commands/extensions.test.tsPre-Merge Checklist