* feat: add inline image and video rendering in terminal UI Use sharp to render images as half-block character grids directly in the terminal when media tool results are displayed, with ffmpeg fallback for video thumbnail extraction. * feat: auto-open generated media in OS viewer instead of inline rendering Replace pixelated half-block terminal image rendering with native OS viewer (`open` on macOS, `xdg-open` on Linux). Generated images and videos now open automatically in full quality. Remove sharp dependency and inline rendering utilities. * bump version * fix: use execFile instead of exec to prevent shell injection * fix: remove auto-open from MediaToolResultView, keep only in MediaAutoOpenView
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "grok-dev",
|
|
"version": "1.1.4",
|
|
"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",
|
|
"build:binary": "bun build --compile --outfile dist/grok-standalone ./src/index.ts",
|
|
"start": "bun run dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bunx vitest run",
|
|
"test:watch": "bunx vitest",
|
|
"lint": "biome check src/",
|
|
"format": "biome format src/",
|
|
"format:fix": "biome format --write src/",
|
|
"lint:fix": "biome check --fix src/",
|
|
"pre-commit": "lint-staged",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,mjs,cjs,json}": "biome check --write --no-errors-on-unmatched"
|
|
},
|
|
"keywords": [
|
|
"cli",
|
|
"agent",
|
|
"grok",
|
|
"ai",
|
|
"coding",
|
|
"terminal",
|
|
"opentui"
|
|
],
|
|
"author": "Vibe Kit",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@ai-sdk/mcp": "^1.0.25",
|
|
"@ai-sdk/provider-utils": "^4.0.21",
|
|
"@ai-sdk/xai": "^3.0.67",
|
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
"@opentui/core": "^0.1.88",
|
|
"@opentui/react": "^0.1.88",
|
|
"agent-desktop": "^0.1.11",
|
|
"ai": "^6.0.116",
|
|
"commander": "^12.1.0",
|
|
"diff": "^8.0.3",
|
|
"dotenv": "^16.6.1",
|
|
"grammy": "^1.41.1",
|
|
"react": "^19.2.4",
|
|
"semver": "^7.7.4",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.8",
|
|
"@types/diff": "^8.0.0",
|
|
"@types/node": "^22.19.15",
|
|
"@types/react": "^19.2.14",
|
|
"@types/semver": "^7.7.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"preferGlobal": true
|
|
}
|