Files
grok-cli/package.json
T
Ismail Pelaseyed 87bddb4cb3 feat: migrate to Vercel AI SDK with xAI provider
- Replace custom OpenAI client with AI SDK streamText + @ai-sdk/xai
- Add standalone search_web and search_x tools via chat completions
- Fix follow-up messages by using isProcessingRef to avoid stale closures
- Fallback message history when result.response fails after stream errors
- Remove post-response status line, adjust input padding

Made-with: Cursor
2026-03-18 19:58:09 +01:00

57 lines
1.2 KiB
JSON

{
"name": "@vibe-kit/grok-cli",
"version": "1.0.0",
"description": "An open-source AI coding agent powered by Grok, built with Bun and OpenTUI.",
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"bin": {
"grok": "dist/index.js"
},
"scripts": {
"dev": "bun run src/index.ts",
"build": "tsc",
"start": "bun run dist/index.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc --noEmit"
},
"keywords": [
"cli",
"agent",
"grok",
"ai",
"coding",
"terminal",
"opentui"
],
"author": "Vibe Kit",
"license": "MIT",
"dependencies": {
"@ai-sdk/xai": "^3.0.67",
"@opentui/core": "^0.1.88",
"@opentui/react": "^0.1.88",
"ai": "^6.0.116",
"commander": "^12.0.0",
"dotenv": "^16.4.0",
"react": "^19.1.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^19.1.0",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"eslint": "^9.31.0",
"typescript": "^5.8.0"
},
"engines": {
"node": ">=18.0.0"
},
"preferGlobal": true
}