{
  "source": "Executor v2: apps/hosted/cloud/src/contracts/edge-contract.json, generated by apps/hosted/cloud/scripts/edge-contract.ts from productionEdgeForwards",
  "origin": "https://executor.sh",
  "oauthStatePrefix": "x2.",
  "telemetry": {
    "analyticsProxy": "/api/00e2e1f082a6ef17",
    "errorTunnel": "/api/fd6fab1fbb4883e1/submit"
  },
  "rules": [
    "/.well-known/oauth-authorization-server/api/auth",
    "/api/auth/callback/<provider>",
    "/api/oauth/callback, when state starts with x2.",
    "/git/*",
    "/ (without a v1 session)",
    "/home",
    "/pricing",
    "/pricing.md",
    "/index.md",
    "/setup-prompt.md",
    "/llms.txt",
    "/about-executor",
    "/google-workspace",
    "/blog",
    "/blog/*",
    "/docs",
    "/docs/*",
    "/apps",
    "/apps/*",
    "/experiments/*",
    "/_astro/*",
    "/authors/*",
    "/og-image.png",
    "/pattern-graph-paper.svg",
    "/.well-known/agent-skills/*",
    "/api/00e2e1f082a6ef17/*",
    "/api/fd6fab1fbb4883e1/submit"
  ],
  "cases": [
    {
      "method": "GET",
      "target": "/.well-known/oauth-authorization-server/api/auth",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/api/auth/callback/google?code=c&state=s",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/api/auth/callback/github",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/api/oauth/callback?code=c&state=x2.abc",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/git/acme/site.git/info/refs?service=git-upload-pack",
      "forwards": true
    },
    {
      "method": "POST",
      "target": "/git/acme/site.git/git-receive-pack",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/home",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/pricing",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/pricing.md",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/index.md",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/setup-prompt.md",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/llms.txt",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/about-executor",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/google-workspace",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/blog",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/blog/",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/blog/a-post",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/docs",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/docs/",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/docs/quickstart",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/apps",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/apps/detail",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/experiments/hero/a",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/experiments/demo/posthog",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/_astro/page.abc123.js",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/authors/author.png",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/og-image.png",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/pattern-graph-paper.svg",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/.well-known/agent-skills/index.json",
      "forwards": true
    },
    {
      "method": "POST",
      "target": "/api/00e2e1f082a6ef17/e/?ip=0",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/api/00e2e1f082a6ef17/static/array.js",
      "forwards": true
    },
    {
      "method": "POST",
      "target": "/api/fd6fab1fbb4883e1/submit",
      "forwards": true
    },
    {
      "method": "GET",
      "target": "/api/auth/.well-known/openid-configuration",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/.well-known/oauth-authorization-server",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/.well-known/oauth-protected-resource",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/auth/callback?code=c&state=s",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/auth/callback/google/extra",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/auth/login",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/oauth/callback?code=c&state=abc",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/oauth/callback?code=c",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/oauth/client-metadata.json",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/oauth/client-id-metadata.json",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/git",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/gitlab/repo",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/demo",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/demo/posthog",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/experiments",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/privacy",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/terms",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/google-oauth",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/_v1-marketing/style.css",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/favicon-32.png",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/favicon-192.png",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/apple-touch-icon.png",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/favicon.ico",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/pricing/extra",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/home/extra",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/about-executor/extra",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/google-workspace/extra",
      "forwards": false
    },
    {
      "method": "POST",
      "target": "/pricing/",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/login",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/sign-up",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/signup",
      "forwards": false
    },
    {
      "method": "POST",
      "target": "/mcp",
      "forwards": false
    },
    {
      "method": "POST",
      "target": "/acme/mcp",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/acme",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/00e2e1f082a6ef17",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/fd6fab1fbb4883e1",
      "forwards": false
    },
    {
      "method": "POST",
      "target": "/api/fd6fab1fbb4883e1/submit/extra",
      "forwards": false
    },
    {
      "method": "GET",
      "target": "/api/0123456789abcdef/e/",
      "forwards": false
    },
    {
      "method": "POST",
      "target": "/api/webhooks/workos",
      "forwards": false
    }
  ],
  "slashRedirects": {
    "rule": "GET or HEAD <page>/ answers 308 to <page>, query kept, for each of pages",
    "pages": ["/home", "/pricing", "/about-executor", "/google-workspace"],
    "cases": [
      {
        "target": "/pricing/",
        "location": "/pricing"
      },
      {
        "target": "/pricing/?ref=hn",
        "location": "/pricing?ref=hn"
      },
      {
        "target": "/home/",
        "location": "/home"
      },
      {
        "target": "/about-executor/",
        "location": "/about-executor"
      },
      {
        "target": "/google-workspace/",
        "location": "/google-workspace"
      }
    ]
  }
}
