{
  "buildCommand": "cd ../.. && if [ \"$VERCEL_ENV\" = preview ] && [ \"$IS_OAUTH_PROXY_SERVER\" != true ]; then NEXT_PUBLIC_BASE_URL=https://$VERCEL_URL turbo run build --force --filter={apps/web}...; else turbo run build --filter={apps/web}...; fi",
  "installCommand": "cd ../.. && corepack enable && bash clone-marketing.sh && pnpm install --no-frozen-lockfile",
  "ignoreCommand": "bash scripts/vercel-ignore-build.sh",
  "functions": {
    "app/api/follow-up-reminders/account/queue/route.ts": {
      "experimentalTriggers": [
        {
          "type": "queue/v2beta",
          "topic": "follow-up-reminders-account",
          "retryAfterSeconds": 60
        }
      ]
    },
    "app/api/ai/digest/queue/route.ts": {
      "experimentalTriggers": [
        {
          "type": "queue/v2beta",
          "topic": "ai-digest",
          "retryAfterSeconds": 60
        }
      ]
    },
    "app/api/automation-jobs/execute/queue/route.ts": {
      "experimentalTriggers": [
        {
          "type": "queue/v2beta",
          "topic": "automation-jobs-execute",
          "retryAfterSeconds": 60
        }
      ]
    },
    "app/api/resend/digest/queue/route.ts": {
      "experimentalTriggers": [
        {
          "type": "queue/v2beta",
          "topic": "resend-digest",
          "retryAfterSeconds": 60
        }
      ]
    },
    "app/api/resend/summary/queue/route.ts": {
      "experimentalTriggers": [
        {
          "type": "queue/v2beta",
          "topic": "resend-summary",
          "retryAfterSeconds": 60
        }
      ]
    }
  },
  "rewrites": [
    {
      "source": "/tools",
      "destination": "https://mini-apps-cyan.vercel.app/tools"
    },
    {
      "source": "/tools/:path+",
      "destination": "https://mini-apps-cyan.vercel.app/tools/:path+"
    }
  ],
  "crons": [
    {
      "path": "/api/cron/scheduled-actions",
      "schedule": "* * * * *"
    },
    {
      "path": "/api/watch/all",
      "schedule": "0 * * * *"
    },
    {
      "path": "/api/resend/digest/all",
      "schedule": "0 * * * *"
    },
    {
      "path": "/api/meeting-briefs",
      "schedule": "*/15 * * * *"
    },
    {
      "path": "/api/follow-up-reminders",
      "schedule": "0 * * * *"
    },
    {
      "path": "/api/cron/automation-jobs",
      "schedule": "*/15 * * * *"
    },
    {
      "path": "/api/cron/reasoning-retention",
      "schedule": "0 3 * * *"
    },
    {
      "path": "/api/cron/draft-cleanup",
      "schedule": "0 4 * * *"
    }
  ]
}
