W-23057147: Skills and MCP support for Gemini, Antigravity, and Copilot CLI#575
Open
amit-kumar8-sf wants to merge 2 commits into
Open
W-23057147: Skills and MCP support for Gemini, Antigravity, and Copilot CLI#575amit-kumar8-sf wants to merge 2 commits into
amit-kumar8-sf wants to merge 2 commits into
Conversation
…ot CLI
Extend agent-skill installation and the b2c-dx-mcp MCP server to Gemini and
Google Antigravity, and round out the VS Code onboarding walkthrough so it can
set up skills + MCP for every supported AI tool (including GitHub Copilot CLI).
SDK / CLI
- Add gemini-cli and antigravity to the IdeType registry (IDE_CONFIGS,
ALL_IDE_TYPES) with their skill install paths:
gemini-cli project .gemini/skills global ~/.gemini/skills
antigravity project .agents/skills global ~/.gemini/config/skills
- b2c setup skills now accepts --ide gemini-cli and --ide antigravity; the flag
options derive from ALL_IDE_TYPES so the list stays in sync automatically.
Gemini CLI extension
- gemini-extension.json + GEMINI.md bundle the b2c-dx-mcp MCP server and B2C
project context for `gemini extensions install <repo>`.
- scripts/sync-plugin-versions.mjs pins the extension to the current
@salesforce/b2c-dx-mcp version.
VS Code walkthrough — "Set Up Agent Skills & MCP"
- Add Gemini CLI and Antigravity targets/icons.
- Add a dedicated GitHub Copilot CLI card that installs skills via the
marketplace-plugin command (`copilot plugin install`), since copilot-cli is
not a valid `b2c setup skills --ide` value. Its "Reinstall" uninstalls the
plugins first, then reinstalls (uninstall -> install), and `marketplace add`
is separated with `;` (not `&&`) so an "already registered" marketplace does
not abort the installs.
- Detect Copilot CLI skills via ~/.copilot/installed-plugins/<marketplace>/
(skillsMarkerDir), where `copilot plugin install` actually drops plugins, so
the card correctly flips to "Skills installed".
- Detect the VS Code (Copilot Chat) card via the VS Code user-data dir instead
of ~/.copilot, so it no longer collides with the Copilot CLI card.
- Add per-tool MCP-server detection (detectMcpStatus): parse each IDE's
documented MCP config and match a real b2c-dx-mcp entry inside an
mcpServers/servers container (a stray mention is not a false positive).
Tools with no documented MCP path show "MCP · manual" linking the setup
guide. The MCP action reads "Re-configure MCP" once a server is registered.
- Replace the single ambiguous "N skills installed" count with four labelled
stats (tools supported · detected here · with skills · with MCP) and drop the
redundant "Counts are per AI tool" legend; strengthen the ghost-button border.
VS Code walkthrough — "Install the B2C CLI"
- Render "Update CLI" as a disabled "Up to date" button when the installed CLI
is confirmed current (b2cCliOutdated === false); keep it enabled + primary
when a newer version exists, and enabled when the latest version can't be
resolved (offline) so an unverified update isn't blocked.
- Surface the detected b2c-cli version in the green "Quick actions" chip
(e.g. "b2c-cli v1.4.4") with a tooltip.
- Extract the action logic into a pure, exported buildInstallCliActions().
Docs
- Cover Gemini CLI, Gemini Code Assist, and Antigravity (IDE/CLI/SDK) in the
agent-skills guide, CLI setup reference, and MCP installation guide, with
explicit not-supported notes for the consumer Gemini and Microsoft Copilot
desktop apps.
Chore
- Bump tsx catalog floor to ^4.22.0 to fix the Node >= 22 DEP0205 warning at
its source (tsx switched to module.registerHooks); dev-only, dedupes esbuild.
Tests
- SDK registry/path coverage for the new IDEs; MCP schema-compat regression
guard ensuring every array param emits an items definition (GitHub Copilot
MCP requirement); VS-extension coverage for the Copilot CLI card invariant,
the VS Code detection path change, the MCP detection matrix, the install-cli
Update/version states, and the rendered summary counts + badges.
Scope note: Antigravity support was folded into this story alongside Gemini and
GitHub Copilot.
Contributor
📘 Docs previewYour documentation changes are published at: https://d3uhw92m2zac57.cloudfront.net/pr-575/ Commit This preview updates on every push and is removed when the PR is closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend agent-skill installation and the b2c-dx-mcp MCP server to Gemini and Google Antigravity, and round out the VS Code onboarding walkthrough so it can set up skills + MCP for every supported AI tool (including GitHub Copilot CLI).
SDK / CLI
gemini-cli project .gemini/skills global ~/.gemini/skills
antigravity project .agents/skills global ~/.gemini/config/skills
options derive from ALL_IDE_TYPES so the list stays in sync automatically.
Gemini CLI extension
gemini extensions install <repo>.VS Code walkthrough — "Set Up Agent Skills & MCP"
copilot plugin install), since copilot-cli is not a validb2c setup skills --idevalue. Its "Reinstall" uninstalls the plugins first, then reinstalls (uninstall -> install), andmarketplace addis separated with;(not&&) so an "already registered" marketplace does not abort the installs.copilot plugin installactually drops plugins, so the card correctly flips to "Skills installed".VS Code walkthrough — "Install the B2C CLI"
Docs
Chore
Tests
Summary
Brief description of what this PR does.
Testing
How was this tested?
Dependencies
3pl-approvedis set by a maintainerpnpm test)pnpm run format)