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