| 1 | {
|
| 2 | "$schema": "https://openapi.vercel.sh/vercel.json",
|
| 3 | "buildCommand": "corepack pnpm build",
|
| 4 | "outputDirectory": "apps/dashboard/dist",
|
| 5 | "functions": {
|
| 6 | "api/index.ts": { "maxDuration": 60 },
|
| 7 | "api/mcp.ts": { "maxDuration": 60 },
|
| 8 | "api/cron-feedback.ts": { "maxDuration": 60 }
|
| 9 | },
|
| 10 | "crons": [{ "path": "/api/cron-feedback", "schedule": "0 0 * * *" }],
|
| 11 | "rewrites": [
|
| 12 | { "source": "/health", "destination": "/api/index?path=/health" },
|
| 13 | { "source": "/ready", "destination": "/api/index?path=/ready" },
|
| 14 | { "source": "/openapi.json", "destination": "/api/index?path=/openapi.json" },
|
| 15 | { "source": "/extensions/trust/v0.1", "destination": "/api/index?path=/extensions/trust/v0.1" },
|
| 16 | { "source": "/sessions/:id/events", "destination": "/api/index?path=/sessions/:id/events" },
|
| 17 | {
|
| 18 | "source": "/sessions/:id/completion-reports",
|
| 19 | "destination": "/api/index?path=/sessions/:id/completion-reports"
|
| 20 | },
|
| 21 | {
|
| 22 | "source": "/sessions/:id/feedback",
|
| 23 | "destination": "/api/index?path=/sessions/:id/feedback"
|
| 24 | },
|
| 25 | {
|
| 26 | "source": "/a2a/temporary/:id",
|
| 27 | "destination": "/api/index?path=/a2a/temporary/:id"
|
| 28 | },
|
| 29 | { "source": "/agents/:id/card.json", "destination": "/api/index?path=/agents/:id/card.json" },
|
| 30 | {
|
| 31 | "source": "/agents/:id/a2a-agent-card.json",
|
| 32 | "destination": "/api/index?path=/agents/:id/a2a-agent-card.json"
|
| 33 | },
|
| 34 | {
|
| 35 | "source": "/agents/:id/.well-known/openclasp-agent.json",
|
| 36 | "destination": "/api/index?path=/agents/:id/.well-known/openclasp-agent.json"
|
| 37 | },
|
| 38 | { "source": "/v0.1/:path*", "destination": "/api/index?path=/v0.1/:path*" },
|
| 39 | { "source": "/mcp", "destination": "/api/mcp" },
|
| 40 | {
|
| 41 | "source": "/.well-known/oauth-protected-resource",
|
| 42 | "destination": "/api/oauth-protected-resource"
|
| 43 | },
|
| 44 | {
|
| 45 | "source": "/.well-known/oauth-authorization-server",
|
| 46 | "destination": "/api/oauth-authorization-server"
|
| 47 | },
|
| 48 | {
|
| 49 | "source": "/.well-known/openclasp-session-key",
|
| 50 | "destination": "/api/index?path=/.well-known/openclasp-session-key"
|
| 51 | },
|
| 52 | { "source": "/login", "destination": "/" },
|
| 53 | { "source": "/sso-callback", "destination": "/" },
|
| 54 | { "source": "/dashboard", "destination": "/" },
|
| 55 | { "source": "/history", "destination": "/" },
|
| 56 | { "source": "/conversations", "destination": "/" },
|
| 57 | { "source": "/agents", "destination": "/" },
|
| 58 | { "source": "/insights", "destination": "/" },
|
| 59 | { "source": "/connect", "destination": "/" },
|
| 60 | { "source": "/settings", "destination": "/" }
|
| 61 | ]
|
| 62 | }
|