Files
GeneralJerel 7176ea319f fix(generative-ui): make showcase + dashboard demos build
Resolve the install/build failures raised in PR review on the two flagged demos.

mcp-apps-generative-ui-showcase:
- Drop @copilotkit/core + @copilotkit/web-inspector (unpublished at the pinned
  version, unused in source; core resolves transitively)
- Bump @copilotkit/{react-core,runtime,shared} 1.51.0-next.4 -> 1.59.2 so the
  CopilotKit v2 API the demo uses actually exists
- Align @ag-ui/* (^0.0.53 / ^0.0.3) and hono (^4.12.23) with runtime 1.59.2
- Import v2 runtime symbols from @copilotkit/runtime/v2 (the main entry exports
  a different v1 CopilotRuntime)

ai-dashboard-canvas-agent:
- Bump @ag-ui/client ^0.0.38 -> ^0.0.53 to match the installed runtime
- Coerce the UserMessage content union to text before rendering
- Regenerate the stale pnpm-lock.yaml

Both demos verified locally: install + next build pass; dashboard
pnpm install --frozen-lockfile is consistent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 09:20:20 -07:00

37 lines
785 B
JSON

{
"name": "mcp-apps",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@ag-ui/client": "^0.0.53",
"@ag-ui/encoder": "^0.0.53",
"@ag-ui/mcp-apps-middleware": "^0.0.3",
"@copilotkit/react-core": "1.59.2",
"@copilotkit/runtime": "1.59.2",
"@copilotkit/shared": "1.59.2",
"hono": "^4.12.23",
"next": "16.1.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"zod": "^3.25.75"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4",
"typescript": "^5"
},
"pnpm": {
"overrides": {
"rxjs": "7.8.2"
}
}
}