Files
Jerel John Velarde fe0e7cf28f feat(examples): add grok-generative-ui showcase
grok-4.6 runs xAI's X Search server-side, then composes the answer out of
real React components through five CopilotKit frontend tools. Every post
rendered is a real post the model found.

Registers next.config.ts in the build-config allowlist and adds the row to
the examples index.
2026-08-13 03:37:09 -07:00

34 lines
864 B
JSON

{
"name": "grok-generative-ui",
"version": "0.1.0",
"private": true,
"description": "grok-4.6 searches X server-side, then renders the answer as live UI through CopilotKit frontend tools.",
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"warm": "tsx scripts/warm-cache.ts"
},
"dependencies": {
"@ai-sdk/xai": "^3.0.120",
"@copilotkit/react-core": "^1.67.1",
"@copilotkit/react-ui": "^1.67.1",
"@copilotkit/runtime": "^1.67.1",
"next": "16.3.0",
"react": "19.2.8",
"react-dom": "19.2.8",
"zod": "^4.4.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv": "^17.4.2",
"tailwindcss": "^4",
"tsx": "^4.23.12",
"typescript": "^5"
}
}