- Add read_file, write_file, edit_file tools with diff generation - Inline diff viewer with line numbers, colored add/remove, and unmodified-lines separators (OpenCode-style) - Lightweight markdown renderer for assistant messages: headings, bold, italic, inline code, code blocks, lists, blockquotes, links - Update agent system prompts with terminal environment guidance - Install diff package for unified diff computation Made-with: Cursor
59 lines
1.3 KiB
JSON
59 lines
1.3 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",
|
|
"diff": "^8.0.3",
|
|
"dotenv": "^16.4.0",
|
|
"react": "^19.1.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "^8.0.0",
|
|
"@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
|
|
}
|