mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 10:15:40 +00:00
fix(websearch): use correct @vibe-kit/grok-cli package
- Update install command to npm install -g @vibe-kit/grok-cli - Update docs URL to github.com/superagent-ai/grok-cli - Fix env var from XAI_API_KEY to GROK_API_KEY - Update description to reflect AI coding agent capabilities
This commit is contained in:
1 parent
c0938e1c82
commit
b6c1ae48ba
2 files changed
+8
-8
No files matched your search
@@ -268,11 +268,11 @@ export function getWebSearchCliProviders(): WebSearchCliInfo[] {
|
|||||||
command: 'grok',
|
command: 'grok',
|
||||||
installed: grokStatus.installed,
|
installed: grokStatus.installed,
|
||||||
version: grokStatus.version,
|
version: grokStatus.version,
|
||||||
installCommand: 'npm install -g grok-cli',
|
installCommand: 'npm install -g @vibe-kit/grok-cli',
|
||||||
docsUrl: 'https://github.com/lalomorales22/grok-4-cli',
|
docsUrl: 'https://github.com/superagent-ai/grok-cli',
|
||||||
requiresApiKey: true,
|
requiresApiKey: true,
|
||||||
apiKeyEnvVar: 'XAI_API_KEY',
|
apiKeyEnvVar: 'GROK_API_KEY',
|
||||||
description: 'xAI Grok with web + X search (requires API key)',
|
description: 'xAI Grok CLI with AI coding agent capabilities',
|
||||||
freeTier: false,
|
freeTier: false,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@@ -296,7 +296,7 @@ export function getCliInstallHints(): string[] {
|
|||||||
return [
|
return [
|
||||||
'[i] WebSearch: No CLI tools installed',
|
'[i] WebSearch: No CLI tools installed',
|
||||||
' Gemini CLI (FREE): npm i -g @google/gemini-cli',
|
' Gemini CLI (FREE): npm i -g @google/gemini-cli',
|
||||||
' Grok CLI (paid): npm i -g grok-cli',
|
' Grok CLI (paid): npm i -g @vibe-kit/grok-cli',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ export function SettingsPage() {
|
|||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<p className="font-mono font-medium">grok</p>
|
<p className="font-mono font-medium">grok</p>
|
||||||
<span className="text-xs px-1.5 py-0.5 rounded bg-blue-500/10 text-blue-600 font-medium">
|
<span className="text-xs px-1.5 py-0.5 rounded bg-blue-500/10 text-blue-600 font-medium">
|
||||||
XAI_API_KEY
|
GROK_API_KEY
|
||||||
</span>
|
</span>
|
||||||
{status?.grokCli?.installed ? (
|
{status?.grokCli?.installed ? (
|
||||||
<span className="text-xs px-1.5 py-0.5 rounded bg-green-500/10 text-green-600 font-medium">
|
<span className="text-xs px-1.5 py-0.5 rounded bg-green-500/10 text-green-600 font-medium">
|
||||||
@@ -402,11 +402,11 @@ export function SettingsPage() {
|
|||||||
Install globally (requires xAI API key):
|
Install globally (requires xAI API key):
|
||||||
</p>
|
</p>
|
||||||
<code className="text-sm bg-blue-100 dark:bg-blue-900/40 px-2 py-1 rounded font-mono">
|
<code className="text-sm bg-blue-100 dark:bg-blue-900/40 px-2 py-1 rounded font-mono">
|
||||||
npm install -g grok-cli
|
npm install -g @vibe-kit/grok-cli
|
||||||
</code>
|
</code>
|
||||||
<div className="mt-3">
|
<div className="mt-3">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/lalomorales22/grok-4-cli"
|
href="https://github.com/superagent-ai/grok-cli"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="text-sm text-blue-700 dark:text-blue-300 hover:underline inline-flex items-center gap-1"
|
className="text-sm text-blue-700 dark:text-blue-300 hover:underline inline-flex items-center gap-1"
|
||||||
|
|||||||
Reference in new issue
Block a user