{
  "name": "G0DM0D3 Mobile",
  "target": "iPhone app recreation",
  "source_url": "Cloudflare Pages deployment URL for /hosted/index.html",
  "design": {
    "style": "dark terminal chat, neon green, compact ChatGPT-like mobile flow",
    "layout": "single column, sticky top brand/status, status pairing card, scrollable chat, fixed bottom composer",
    "colors": {
      "background": "#020402",
      "panel": "#061106",
      "line": "#134a1e",
      "accent": "#00ff41",
      "text": "#d8ffe0",
      "muted": "#79bc84",
      "danger": "#ff6b6b"
    },
    "typography": "monospace system font, zero letter spacing, compact readable chat"
  },
  "bridge_contract": {
    "pair": {
      "method": "POST",
      "path": "/pairing/exchange",
      "body": {
        "code": "PAIR_CODE_FROM_WINDOWS_APP"
      },
      "response_fields": ["pairing_token", "bridge_url", "public_bridge_url", "tunnel_status", "tunnel_provider"]
    },
    "health": {
      "method": "GET",
      "path": "/health"
    },
    "models": {
      "method": "GET",
      "path": "/v1/models",
      "headers": {
        "X-G0DM0D3-Pairing": "pairing_token"
      }
    },
    "chat": {
      "method": "POST",
      "path": "/v1/chat/completions",
      "headers": {
        "Content-Type": "application/json",
        "X-G0DM0D3-Pairing": "pairing_token"
      },
      "body": {
        "stream": false,
        "messages": [
          { "role": "system", "content": "You are connected through the user's G0DM0D3 Windows bridge. Answer clearly and directly." },
          { "role": "user", "content": "User prompt" }
        ]
      }
    }
  },
  "storage": {
    "key": "g0dm0d3-mobile-bridge-v1",
    "fields": ["bridgeUrl", "token", "pairedAt"]
  },
  "query_params": {
    "bridge": "pre-fills the Cloudflare tunnel URL",
    "code": "auto-pairs with the Windows app pairing code"
  }
}
