mirror of
https://github.com/supabase/supabase.git
synced 2026-09-06 09:59:03 +08:00
## What this does Adds **Grok** (Grok Build) across the Supabase AI-tools docs, and fixes two logo gaps. - **Plugin docs** (`AgentPluginsPanel`) — Grok client + `grok plugin install …` / in-session `/plugins` steps. - **MCP docs** (`McpUrlBuilder`) — Grok under "AI Agent CLI": `~/.grok/config.toml` (`[mcp_servers.supabase]`), `grok mcp add … --transport http`, OAuth steps. - **"Pick your agent" grid** — add the Grok logo, and fix **Warp**'s pre-existing missing logo (both were absent from the grid's `ICON_ASSETS` map). - **Fix**: the plugins-page Cursor entry was missing `hasDistinctDarkIcon`, so its dark-mode logo fell back to the light mark — aligned with the MCP list. - Adds Grok + Warp agent logos (light + dark). ## Testing Verified against grok `1.0.5`: `grok plugin install …` works; the generated `config.toml` and `grok mcp add` command are both parsed by `grok mcp list`. Pairs with supabase-community/supabase-plugin#45 (the `.grok-plugin` surface); merge after that lands. ## Preview [Agent Plugin page](https://docs-git-pedrorodrigues-ai-932-add-grok-agent-p-12402b-supabase.vercel.app/docs/guides/ai-tools/plugins#manual-installation) <img width="877" height="378" alt="image" src="https://github.com/user-attachments/assets/8fd9e112-5c11-412b-bd8c-611912043e6d" /> [MCP page](https://docs-git-pedrorodrigues-ai-932-add-grok-agent-p-12402b-supabase.vercel.app/docs/guides/ai-tools/mcp#remote-mcp-installation) <img width="877" height="513" alt="image" src="https://github.com/user-attachments/assets/459de070-5049-433a-929f-9902222e157d" /> [AI Tools main page](https://docs-git-pedrorodrigues-ai-932-add-grok-agent-p-12402b-supabase.vercel.app/docs/guides/ai-tools#pick-your-agent) <img width="877" height="642" alt="image" src="https://github.com/user-attachments/assets/e6ca40d2-e9c9-466c-a837-dbda4bdc09f7" /> Closes AI-932, AI-974 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## New Features - Added Grok as a supported AI tool and MCP client. - Added Grok installation instructions, CLI setup, authentication, and connection verification guidance. - Added Grok icons for light and dark themes. - Added support for custom documentation link text in plugin panels. - Added Warp to the available icon assets. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
74 lines
2.1 KiB
TypeScript
74 lines
2.1 KiB
TypeScript
import type { McpClient } from 'ui-patterns/McpUrlBuilder'
|
|
|
|
export interface PluginClient extends McpClient {
|
|
repoUrl?: string
|
|
docsUrl?: string
|
|
docsLinkText?: string
|
|
}
|
|
|
|
export const PLUGIN_CLIENTS: PluginClient[] = [
|
|
{
|
|
key: 'claude-code',
|
|
label: 'Claude Code',
|
|
icon: 'claude',
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl: 'https://code.claude.com/docs/en/discover-plugins',
|
|
},
|
|
{
|
|
key: 'codex',
|
|
label: 'Codex',
|
|
icon: 'openai',
|
|
hasDistinctDarkIcon: true,
|
|
repoUrl: 'https://github.com/supabase-community/codex-plugin',
|
|
docsUrl: 'https://developers.openai.com/codex/plugins',
|
|
},
|
|
{
|
|
key: 'cursor',
|
|
label: 'Cursor',
|
|
icon: 'cursor',
|
|
hasDistinctDarkIcon: true,
|
|
repoUrl: 'https://github.com/supabase-community/cursor-plugin',
|
|
docsUrl: 'https://cursor.com/docs/plugins',
|
|
},
|
|
{
|
|
key: 'gemini-cli',
|
|
label: 'Gemini CLI',
|
|
icon: 'gemini-cli',
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl: 'https://geminicli.com/docs/extensions/',
|
|
},
|
|
{
|
|
key: 'github-copilot',
|
|
label: 'GitHub Copilot',
|
|
icon: 'copilot',
|
|
hasDistinctDarkIcon: true,
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl:
|
|
'https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing',
|
|
},
|
|
{
|
|
key: 'grok',
|
|
label: 'Grok',
|
|
icon: 'grok',
|
|
hasDistinctDarkIcon: true,
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl: 'https://docs.x.ai/build/features/skills-plugins-marketplaces#plugins',
|
|
docsLinkText: 'View Grok plugins docs',
|
|
},
|
|
{
|
|
key: 'kimi',
|
|
label: 'Kimi Code',
|
|
icon: 'kimi',
|
|
hasDistinctDarkIcon: true,
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl: 'https://www.kimi.com/code/docs/en/kimi-code-cli/customization/plugins.html',
|
|
},
|
|
{
|
|
key: 'vscode',
|
|
label: 'VS Code',
|
|
icon: 'vscode',
|
|
repoUrl: 'https://github.com/supabase-community/supabase-plugin',
|
|
docsUrl: 'https://code.visualstudio.com/docs/agent-customization/agent-plugins',
|
|
},
|
|
]
|