[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-nuxt":3,"mdc--u92e2z-key":32,"related-repo-vercel-labs-nuxt":2486,"related-org-vercel-labs-nuxt":2593},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"nuxt","embed emulators in Nuxt applications","Nuxt adapter for embedding emulators directly in a Nuxt app via @emulators\u002Fadapter-nuxt. Use when the user needs to embed emulators in Nuxt, set up same-origin OAuth for preview deployments, create an emulate catch-all server route, configure persistence for embedded Nuxt emulators, or wrap nuxt.config with withEmulate. Triggers include \"Nuxt emulator\", \"adapter-nuxt\", \"embedded emulator\", \"same-origin OAuth\", \"createEmulateHandler\", \"withEmulate\", or any task requiring emulators inside a Nuxt app.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,15,18],{"name":13,"slug":4,"type":14},"Nuxt","tag",{"name":16,"slug":17,"type":14},"Local Development","local-development",{"name":19,"slug":20,"type":14},"Testing","testing",1511,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Femulate","2026-07-17T06:08:53.148151",null,95,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":29},[],"Local API emulation for CI and no-network sandboxes","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Femulate\u002Ftree\u002FHEAD\u002Fskills\u002Fnuxt","---\nname: nuxt\ndescription: Nuxt adapter for embedding emulators directly in a Nuxt app via @emulators\u002Fadapter-nuxt. Use when the user needs to embed emulators in Nuxt, set up same-origin OAuth for preview deployments, create an emulate catch-all server route, configure persistence for embedded Nuxt emulators, or wrap nuxt.config with withEmulate. Triggers include \"Nuxt emulator\", \"adapter-nuxt\", \"embedded emulator\", \"same-origin OAuth\", \"createEmulateHandler\", \"withEmulate\", or any task requiring emulators inside a Nuxt app.\nallowed-tools: Bash(npx emulate:*)\n---\n\n# Nuxt Integration\n\nThe `@emulators\u002Fadapter-nuxt` package embeds emulators directly into a Nuxt app, running them on the same origin. This is useful for preview deployments where OAuth callback URLs change with every deployment.\n\n## Install\n\n```bash\nnpm install @emulators\u002Fadapter-nuxt @emulators\u002Fgithub @emulators\u002Fgoogle\n```\n\nOnly install the emulators you need. Each `@emulators\u002F*` package is published independently, keeping server bundles small.\n\n## Server Route\n\nCreate a named catch-all route that serves emulator traffic:\n\n```typescript\n\u002F\u002F server\u002Froutes\u002Femulate\u002F[...path].ts\nimport { createEmulateHandler } from '@emulators\u002Fadapter-nuxt'\nimport * as github from '@emulators\u002Fgithub'\nimport * as google from '@emulators\u002Fgoogle'\n\nexport default defineEventHandler(createEmulateHandler({\n  services: {\n    github: {\n      emulator: github,\n      seed: {\n        users: [{ login: 'octocat', name: 'The Octocat' }],\n        repos: [{ owner: 'octocat', name: 'hello-world', auto_init: true }],\n      },\n    },\n    google: {\n      emulator: google,\n      seed: {\n        users: [{ email: 'test@example.com', name: 'Test User' }],\n      },\n    },\n  },\n}))\n```\n\nThis creates these routes:\n\n- `\u002Femulate\u002Fgithub\u002F**` serves the GitHub emulator\n- `\u002Femulate\u002Fgoogle\u002F**` serves the Google emulator\n\n## Nuxt Config\n\nEmulator UI pages use bundled fonts. Wrap your Nuxt config so Nitro traces the core package assets into production builds:\n\n```typescript\n\u002F\u002F nuxt.config.ts\nimport { withEmulate } from '@emulators\u002Fadapter-nuxt'\n\nexport default defineNuxtConfig(withEmulate({\n  \u002F\u002F your normal Nuxt config\n}))\n```\n\n## OAuth Configuration\n\nPoint your OAuth provider at the emulator paths on the same origin:\n\n```typescript\nconst baseUrl = process.env.NUXT_PUBLIC_SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'\n\nexport const githubOAuth = {\n  clientId: 'any-value',\n  clientSecret: 'any-value',\n  authorizationUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Fauthorize`,\n  tokenUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Faccess_token`,\n  userInfoUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Fuser`,\n}\n```\n\nNo `oauth_apps` need to be seeded. When none are configured, the emulator skips `client_id`, `client_secret`, and `redirect_uri` validation.\n\n## Persistence\n\nBy default, emulator state is in-memory and resets on every cold start. To persist state across restarts, pass a `persistence` adapter.\n\n### Nitro Storage\n\n```typescript\nimport { createEmulateHandler } from '@emulators\u002Fadapter-nuxt'\nimport * as github from '@emulators\u002Fgithub'\n\nconst storageAdapter = {\n  async load() { return await useStorage('emulate').getItem\u003Cstring>('state') },\n  async save(data: string) { await useStorage('emulate').setItem('state', data) },\n}\n\nexport default defineEventHandler(createEmulateHandler({\n  services: { github: { emulator: github } },\n  persistence: storageAdapter,\n}))\n```\n\n### File Persistence\n\nFor local development, `@emulators\u002Fcore` ships a file-based adapter:\n\n```typescript\nimport { filePersistence } from '@emulators\u002Fcore'\n\npersistence: filePersistence('.emulate\u002Fstate.json'),\n```\n\n### How Persistence Works\n\n- **Cold start**: The adapter loads state from the persistence adapter. If found, it restores the full Store and token map. If not found, it seeds from config and saves the initial state.\n- **After mutating requests** (POST, PUT, PATCH, DELETE): State is saved. Saves are serialized via an internal queue to prevent race conditions.\n- **No persistence configured**: Falls back to pure in-memory. Seed data re-initializes on every cold start.\n\n## How It Works\n\n1. **Incoming request**: `\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Fauthorize?client_id=...`\n2. **Parse**: service = `github`, rest = `\u002Flogin\u002Foauth\u002Fauthorize`\n3. **Strip prefix**: A new `Request` is created with the stripped path and forwarded to the GitHub service app\n4. **Rewrite response**: HTML `action` and `href` attributes, CSS `url()` font references, and `Location` headers get the service prefix prepended\n5. **Persist**: After mutating requests, state is saved via the persistence adapter\n\n## Limitations\n\n- Requires a Node-compatible Nuxt server runtime since emulators use Node APIs\n- Concurrent serverless instances writing to the same persistence adapter use last write wins semantics, which is acceptable for dev and preview traffic\n\n## Config Reference\n\n### `createEmulateHandler(config, options?)`\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `services` | `Record\u003Cstring, EmulatorEntry>` | Map of service name to emulator config |\n| `persistence?` | `PersistenceAdapter` | Optional persistence adapter for state across cold starts |\n\nEach `EmulatorEntry`:\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `emulator` | `EmulatorModule` | The emulator package, such as `import * as github from '@emulators\u002Fgithub'` |\n| `seed?` | `Record\u003Cstring, unknown>` | Seed data matching the service's config schema |\n\nOptions:\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `param` | `string` | `\"path\"` | Named catch-all route param |\n| `routePrefix` | `string` | detected | Path prefix where the catch-all route is mounted |\n\n### `withEmulate(nuxtConfig)`\n\nWraps a Nuxt config to include `@emulators\u002Fcore` assets in Nitro's production trace. Call it inside `defineNuxtConfig` in `nuxt.config.ts`.\n\n### `PersistenceAdapter`\n\n```typescript\ninterface PersistenceAdapter {\n  load(): Promise\u003Cstring | null>\n  save(data: string): Promise\u003Cvoid>\n}\n```\n",{"data":33,"body":35},{"name":4,"description":6,"allowed-tools":34},"Bash(npx emulate:*)",{"type":36,"children":37},"root",[38,47,62,69,113,126,132,137,780,785,812,818,823,933,939,944,1223,1260,1266,1278,1285,1734,1740,1753,1843,1849,1883,1889,2003,2009,2022,2028,2038,2123,2135,2217,2222,2316,2326,2353,2362,2480],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"nuxt-integration",[44],{"type":45,"value":46},"text","Nuxt Integration",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51,53,60],{"type":45,"value":52},"The ",{"type":39,"tag":54,"props":55,"children":57},"code",{"className":56},[],[58],{"type":45,"value":59},"@emulators\u002Fadapter-nuxt",{"type":45,"value":61}," package embeds emulators directly into a Nuxt app, running them on the same origin. This is useful for preview deployments where OAuth callback URLs change with every deployment.",{"type":39,"tag":63,"props":64,"children":66},"h2",{"id":65},"install",[67],{"type":45,"value":68},"Install",{"type":39,"tag":70,"props":71,"children":76},"pre",{"className":72,"code":73,"language":74,"meta":75,"style":75},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @emulators\u002Fadapter-nuxt @emulators\u002Fgithub @emulators\u002Fgoogle\n","bash","",[77],{"type":39,"tag":54,"props":78,"children":79},{"__ignoreMap":75},[80],{"type":39,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,98,103,108],{"type":39,"tag":81,"props":87,"children":89},{"style":88},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[90],{"type":45,"value":91},"npm",{"type":39,"tag":81,"props":93,"children":95},{"style":94},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[96],{"type":45,"value":97}," install",{"type":39,"tag":81,"props":99,"children":100},{"style":94},[101],{"type":45,"value":102}," @emulators\u002Fadapter-nuxt",{"type":39,"tag":81,"props":104,"children":105},{"style":94},[106],{"type":45,"value":107}," @emulators\u002Fgithub",{"type":39,"tag":81,"props":109,"children":110},{"style":94},[111],{"type":45,"value":112}," @emulators\u002Fgoogle\n",{"type":39,"tag":48,"props":114,"children":115},{},[116,118,124],{"type":45,"value":117},"Only install the emulators you need. Each ",{"type":39,"tag":54,"props":119,"children":121},{"className":120},[],[122],{"type":45,"value":123},"@emulators\u002F*",{"type":45,"value":125}," package is published independently, keeping server bundles small.",{"type":39,"tag":63,"props":127,"children":129},{"id":128},"server-route",[130],{"type":45,"value":131},"Server Route",{"type":39,"tag":48,"props":133,"children":134},{},[135],{"type":45,"value":136},"Create a named catch-all route that serves emulator traffic:",{"type":39,"tag":70,"props":138,"children":142},{"className":139,"code":140,"language":141,"meta":75,"style":75},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F server\u002Froutes\u002Femulate\u002F[...path].ts\nimport { createEmulateHandler } from '@emulators\u002Fadapter-nuxt'\nimport * as github from '@emulators\u002Fgithub'\nimport * as google from '@emulators\u002Fgoogle'\n\nexport default defineEventHandler(createEmulateHandler({\n  services: {\n    github: {\n      emulator: github,\n      seed: {\n        users: [{ login: 'octocat', name: 'The Octocat' }],\n        repos: [{ owner: 'octocat', name: 'hello-world', auto_init: true }],\n      },\n    },\n    google: {\n      emulator: google,\n      seed: {\n        users: [{ email: 'test@example.com', name: 'Test User' }],\n      },\n    },\n  },\n}))\n","typescript",[143],{"type":39,"tag":54,"props":144,"children":145},{"__ignoreMap":75},[146,155,201,242,280,290,329,349,366,389,406,492,590,599,608,625,646,662,741,749,757,766],{"type":39,"tag":81,"props":147,"children":148},{"class":83,"line":84},[149],{"type":39,"tag":81,"props":150,"children":152},{"style":151},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[153],{"type":45,"value":154},"\u002F\u002F server\u002Froutes\u002Femulate\u002F[...path].ts\n",{"type":39,"tag":81,"props":156,"children":158},{"class":83,"line":157},2,[159,165,171,177,182,187,192,196],{"type":39,"tag":81,"props":160,"children":162},{"style":161},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[163],{"type":45,"value":164},"import",{"type":39,"tag":81,"props":166,"children":168},{"style":167},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[169],{"type":45,"value":170}," {",{"type":39,"tag":81,"props":172,"children":174},{"style":173},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[175],{"type":45,"value":176}," createEmulateHandler",{"type":39,"tag":81,"props":178,"children":179},{"style":167},[180],{"type":45,"value":181}," }",{"type":39,"tag":81,"props":183,"children":184},{"style":161},[185],{"type":45,"value":186}," from",{"type":39,"tag":81,"props":188,"children":189},{"style":167},[190],{"type":45,"value":191}," '",{"type":39,"tag":81,"props":193,"children":194},{"style":94},[195],{"type":45,"value":59},{"type":39,"tag":81,"props":197,"children":198},{"style":167},[199],{"type":45,"value":200},"'\n",{"type":39,"tag":81,"props":202,"children":204},{"class":83,"line":203},3,[205,209,214,219,224,229,233,238],{"type":39,"tag":81,"props":206,"children":207},{"style":161},[208],{"type":45,"value":164},{"type":39,"tag":81,"props":210,"children":211},{"style":167},[212],{"type":45,"value":213}," *",{"type":39,"tag":81,"props":215,"children":216},{"style":161},[217],{"type":45,"value":218}," as",{"type":39,"tag":81,"props":220,"children":221},{"style":173},[222],{"type":45,"value":223}," github ",{"type":39,"tag":81,"props":225,"children":226},{"style":161},[227],{"type":45,"value":228},"from",{"type":39,"tag":81,"props":230,"children":231},{"style":167},[232],{"type":45,"value":191},{"type":39,"tag":81,"props":234,"children":235},{"style":94},[236],{"type":45,"value":237},"@emulators\u002Fgithub",{"type":39,"tag":81,"props":239,"children":240},{"style":167},[241],{"type":45,"value":200},{"type":39,"tag":81,"props":243,"children":245},{"class":83,"line":244},4,[246,250,254,258,263,267,271,276],{"type":39,"tag":81,"props":247,"children":248},{"style":161},[249],{"type":45,"value":164},{"type":39,"tag":81,"props":251,"children":252},{"style":167},[253],{"type":45,"value":213},{"type":39,"tag":81,"props":255,"children":256},{"style":161},[257],{"type":45,"value":218},{"type":39,"tag":81,"props":259,"children":260},{"style":173},[261],{"type":45,"value":262}," google ",{"type":39,"tag":81,"props":264,"children":265},{"style":161},[266],{"type":45,"value":228},{"type":39,"tag":81,"props":268,"children":269},{"style":167},[270],{"type":45,"value":191},{"type":39,"tag":81,"props":272,"children":273},{"style":94},[274],{"type":45,"value":275},"@emulators\u002Fgoogle",{"type":39,"tag":81,"props":277,"children":278},{"style":167},[279],{"type":45,"value":200},{"type":39,"tag":81,"props":281,"children":283},{"class":83,"line":282},5,[284],{"type":39,"tag":81,"props":285,"children":287},{"emptyLinePlaceholder":286},true,[288],{"type":45,"value":289},"\n",{"type":39,"tag":81,"props":291,"children":293},{"class":83,"line":292},6,[294,299,304,310,315,320,324],{"type":39,"tag":81,"props":295,"children":296},{"style":161},[297],{"type":45,"value":298},"export",{"type":39,"tag":81,"props":300,"children":301},{"style":161},[302],{"type":45,"value":303}," default",{"type":39,"tag":81,"props":305,"children":307},{"style":306},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[308],{"type":45,"value":309}," defineEventHandler",{"type":39,"tag":81,"props":311,"children":312},{"style":173},[313],{"type":45,"value":314},"(",{"type":39,"tag":81,"props":316,"children":317},{"style":306},[318],{"type":45,"value":319},"createEmulateHandler",{"type":39,"tag":81,"props":321,"children":322},{"style":173},[323],{"type":45,"value":314},{"type":39,"tag":81,"props":325,"children":326},{"style":167},[327],{"type":45,"value":328},"{\n",{"type":39,"tag":81,"props":330,"children":332},{"class":83,"line":331},7,[333,339,344],{"type":39,"tag":81,"props":334,"children":336},{"style":335},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[337],{"type":45,"value":338},"  services",{"type":39,"tag":81,"props":340,"children":341},{"style":167},[342],{"type":45,"value":343},":",{"type":39,"tag":81,"props":345,"children":346},{"style":167},[347],{"type":45,"value":348}," {\n",{"type":39,"tag":81,"props":350,"children":352},{"class":83,"line":351},8,[353,358,362],{"type":39,"tag":81,"props":354,"children":355},{"style":335},[356],{"type":45,"value":357},"    github",{"type":39,"tag":81,"props":359,"children":360},{"style":167},[361],{"type":45,"value":343},{"type":39,"tag":81,"props":363,"children":364},{"style":167},[365],{"type":45,"value":348},{"type":39,"tag":81,"props":367,"children":369},{"class":83,"line":368},9,[370,375,379,384],{"type":39,"tag":81,"props":371,"children":372},{"style":335},[373],{"type":45,"value":374},"      emulator",{"type":39,"tag":81,"props":376,"children":377},{"style":167},[378],{"type":45,"value":343},{"type":39,"tag":81,"props":380,"children":381},{"style":173},[382],{"type":45,"value":383}," github",{"type":39,"tag":81,"props":385,"children":386},{"style":167},[387],{"type":45,"value":388},",\n",{"type":39,"tag":81,"props":390,"children":392},{"class":83,"line":391},10,[393,398,402],{"type":39,"tag":81,"props":394,"children":395},{"style":335},[396],{"type":45,"value":397},"      seed",{"type":39,"tag":81,"props":399,"children":400},{"style":167},[401],{"type":45,"value":343},{"type":39,"tag":81,"props":403,"children":404},{"style":167},[405],{"type":45,"value":348},{"type":39,"tag":81,"props":407,"children":409},{"class":83,"line":408},11,[410,415,419,424,429,434,438,442,447,452,457,462,466,470,475,479,483,488],{"type":39,"tag":81,"props":411,"children":412},{"style":335},[413],{"type":45,"value":414},"        users",{"type":39,"tag":81,"props":416,"children":417},{"style":167},[418],{"type":45,"value":343},{"type":39,"tag":81,"props":420,"children":421},{"style":173},[422],{"type":45,"value":423}," [",{"type":39,"tag":81,"props":425,"children":426},{"style":167},[427],{"type":45,"value":428},"{",{"type":39,"tag":81,"props":430,"children":431},{"style":335},[432],{"type":45,"value":433}," login",{"type":39,"tag":81,"props":435,"children":436},{"style":167},[437],{"type":45,"value":343},{"type":39,"tag":81,"props":439,"children":440},{"style":167},[441],{"type":45,"value":191},{"type":39,"tag":81,"props":443,"children":444},{"style":94},[445],{"type":45,"value":446},"octocat",{"type":39,"tag":81,"props":448,"children":449},{"style":167},[450],{"type":45,"value":451},"'",{"type":39,"tag":81,"props":453,"children":454},{"style":167},[455],{"type":45,"value":456},",",{"type":39,"tag":81,"props":458,"children":459},{"style":335},[460],{"type":45,"value":461}," name",{"type":39,"tag":81,"props":463,"children":464},{"style":167},[465],{"type":45,"value":343},{"type":39,"tag":81,"props":467,"children":468},{"style":167},[469],{"type":45,"value":191},{"type":39,"tag":81,"props":471,"children":472},{"style":94},[473],{"type":45,"value":474},"The Octocat",{"type":39,"tag":81,"props":476,"children":477},{"style":167},[478],{"type":45,"value":451},{"type":39,"tag":81,"props":480,"children":481},{"style":167},[482],{"type":45,"value":181},{"type":39,"tag":81,"props":484,"children":485},{"style":173},[486],{"type":45,"value":487},"]",{"type":39,"tag":81,"props":489,"children":490},{"style":167},[491],{"type":45,"value":388},{"type":39,"tag":81,"props":493,"children":495},{"class":83,"line":494},12,[496,501,505,509,513,518,522,526,530,534,538,542,546,550,555,559,563,568,572,578,582,586],{"type":39,"tag":81,"props":497,"children":498},{"style":335},[499],{"type":45,"value":500},"        repos",{"type":39,"tag":81,"props":502,"children":503},{"style":167},[504],{"type":45,"value":343},{"type":39,"tag":81,"props":506,"children":507},{"style":173},[508],{"type":45,"value":423},{"type":39,"tag":81,"props":510,"children":511},{"style":167},[512],{"type":45,"value":428},{"type":39,"tag":81,"props":514,"children":515},{"style":335},[516],{"type":45,"value":517}," owner",{"type":39,"tag":81,"props":519,"children":520},{"style":167},[521],{"type":45,"value":343},{"type":39,"tag":81,"props":523,"children":524},{"style":167},[525],{"type":45,"value":191},{"type":39,"tag":81,"props":527,"children":528},{"style":94},[529],{"type":45,"value":446},{"type":39,"tag":81,"props":531,"children":532},{"style":167},[533],{"type":45,"value":451},{"type":39,"tag":81,"props":535,"children":536},{"style":167},[537],{"type":45,"value":456},{"type":39,"tag":81,"props":539,"children":540},{"style":335},[541],{"type":45,"value":461},{"type":39,"tag":81,"props":543,"children":544},{"style":167},[545],{"type":45,"value":343},{"type":39,"tag":81,"props":547,"children":548},{"style":167},[549],{"type":45,"value":191},{"type":39,"tag":81,"props":551,"children":552},{"style":94},[553],{"type":45,"value":554},"hello-world",{"type":39,"tag":81,"props":556,"children":557},{"style":167},[558],{"type":45,"value":451},{"type":39,"tag":81,"props":560,"children":561},{"style":167},[562],{"type":45,"value":456},{"type":39,"tag":81,"props":564,"children":565},{"style":335},[566],{"type":45,"value":567}," auto_init",{"type":39,"tag":81,"props":569,"children":570},{"style":167},[571],{"type":45,"value":343},{"type":39,"tag":81,"props":573,"children":575},{"style":574},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[576],{"type":45,"value":577}," true",{"type":39,"tag":81,"props":579,"children":580},{"style":167},[581],{"type":45,"value":181},{"type":39,"tag":81,"props":583,"children":584},{"style":173},[585],{"type":45,"value":487},{"type":39,"tag":81,"props":587,"children":588},{"style":167},[589],{"type":45,"value":388},{"type":39,"tag":81,"props":591,"children":593},{"class":83,"line":592},13,[594],{"type":39,"tag":81,"props":595,"children":596},{"style":167},[597],{"type":45,"value":598},"      },\n",{"type":39,"tag":81,"props":600,"children":602},{"class":83,"line":601},14,[603],{"type":39,"tag":81,"props":604,"children":605},{"style":167},[606],{"type":45,"value":607},"    },\n",{"type":39,"tag":81,"props":609,"children":611},{"class":83,"line":610},15,[612,617,621],{"type":39,"tag":81,"props":613,"children":614},{"style":335},[615],{"type":45,"value":616},"    google",{"type":39,"tag":81,"props":618,"children":619},{"style":167},[620],{"type":45,"value":343},{"type":39,"tag":81,"props":622,"children":623},{"style":167},[624],{"type":45,"value":348},{"type":39,"tag":81,"props":626,"children":628},{"class":83,"line":627},16,[629,633,637,642],{"type":39,"tag":81,"props":630,"children":631},{"style":335},[632],{"type":45,"value":374},{"type":39,"tag":81,"props":634,"children":635},{"style":167},[636],{"type":45,"value":343},{"type":39,"tag":81,"props":638,"children":639},{"style":173},[640],{"type":45,"value":641}," google",{"type":39,"tag":81,"props":643,"children":644},{"style":167},[645],{"type":45,"value":388},{"type":39,"tag":81,"props":647,"children":649},{"class":83,"line":648},17,[650,654,658],{"type":39,"tag":81,"props":651,"children":652},{"style":335},[653],{"type":45,"value":397},{"type":39,"tag":81,"props":655,"children":656},{"style":167},[657],{"type":45,"value":343},{"type":39,"tag":81,"props":659,"children":660},{"style":167},[661],{"type":45,"value":348},{"type":39,"tag":81,"props":663,"children":665},{"class":83,"line":664},18,[666,670,674,678,682,687,691,695,700,704,708,712,716,720,725,729,733,737],{"type":39,"tag":81,"props":667,"children":668},{"style":335},[669],{"type":45,"value":414},{"type":39,"tag":81,"props":671,"children":672},{"style":167},[673],{"type":45,"value":343},{"type":39,"tag":81,"props":675,"children":676},{"style":173},[677],{"type":45,"value":423},{"type":39,"tag":81,"props":679,"children":680},{"style":167},[681],{"type":45,"value":428},{"type":39,"tag":81,"props":683,"children":684},{"style":335},[685],{"type":45,"value":686}," email",{"type":39,"tag":81,"props":688,"children":689},{"style":167},[690],{"type":45,"value":343},{"type":39,"tag":81,"props":692,"children":693},{"style":167},[694],{"type":45,"value":191},{"type":39,"tag":81,"props":696,"children":697},{"style":94},[698],{"type":45,"value":699},"test@example.com",{"type":39,"tag":81,"props":701,"children":702},{"style":167},[703],{"type":45,"value":451},{"type":39,"tag":81,"props":705,"children":706},{"style":167},[707],{"type":45,"value":456},{"type":39,"tag":81,"props":709,"children":710},{"style":335},[711],{"type":45,"value":461},{"type":39,"tag":81,"props":713,"children":714},{"style":167},[715],{"type":45,"value":343},{"type":39,"tag":81,"props":717,"children":718},{"style":167},[719],{"type":45,"value":191},{"type":39,"tag":81,"props":721,"children":722},{"style":94},[723],{"type":45,"value":724},"Test User",{"type":39,"tag":81,"props":726,"children":727},{"style":167},[728],{"type":45,"value":451},{"type":39,"tag":81,"props":730,"children":731},{"style":167},[732],{"type":45,"value":181},{"type":39,"tag":81,"props":734,"children":735},{"style":173},[736],{"type":45,"value":487},{"type":39,"tag":81,"props":738,"children":739},{"style":167},[740],{"type":45,"value":388},{"type":39,"tag":81,"props":742,"children":744},{"class":83,"line":743},19,[745],{"type":39,"tag":81,"props":746,"children":747},{"style":167},[748],{"type":45,"value":598},{"type":39,"tag":81,"props":750,"children":752},{"class":83,"line":751},20,[753],{"type":39,"tag":81,"props":754,"children":755},{"style":167},[756],{"type":45,"value":607},{"type":39,"tag":81,"props":758,"children":760},{"class":83,"line":759},21,[761],{"type":39,"tag":81,"props":762,"children":763},{"style":167},[764],{"type":45,"value":765},"  },\n",{"type":39,"tag":81,"props":767,"children":769},{"class":83,"line":768},22,[770,775],{"type":39,"tag":81,"props":771,"children":772},{"style":167},[773],{"type":45,"value":774},"}",{"type":39,"tag":81,"props":776,"children":777},{"style":173},[778],{"type":45,"value":779},"))\n",{"type":39,"tag":48,"props":781,"children":782},{},[783],{"type":45,"value":784},"This creates these routes:",{"type":39,"tag":786,"props":787,"children":788},"ul",{},[789,801],{"type":39,"tag":790,"props":791,"children":792},"li",{},[793,799],{"type":39,"tag":54,"props":794,"children":796},{"className":795},[],[797],{"type":45,"value":798},"\u002Femulate\u002Fgithub\u002F**",{"type":45,"value":800}," serves the GitHub emulator",{"type":39,"tag":790,"props":802,"children":803},{},[804,810],{"type":39,"tag":54,"props":805,"children":807},{"className":806},[],[808],{"type":45,"value":809},"\u002Femulate\u002Fgoogle\u002F**",{"type":45,"value":811}," serves the Google emulator",{"type":39,"tag":63,"props":813,"children":815},{"id":814},"nuxt-config",[816],{"type":45,"value":817},"Nuxt Config",{"type":39,"tag":48,"props":819,"children":820},{},[821],{"type":45,"value":822},"Emulator UI pages use bundled fonts. Wrap your Nuxt config so Nitro traces the core package assets into production builds:",{"type":39,"tag":70,"props":824,"children":826},{"className":139,"code":825,"language":141,"meta":75,"style":75},"\u002F\u002F nuxt.config.ts\nimport { withEmulate } from '@emulators\u002Fadapter-nuxt'\n\nexport default defineNuxtConfig(withEmulate({\n  \u002F\u002F your normal Nuxt config\n}))\n",[827],{"type":39,"tag":54,"props":828,"children":829},{"__ignoreMap":75},[830,838,874,881,914,922],{"type":39,"tag":81,"props":831,"children":832},{"class":83,"line":84},[833],{"type":39,"tag":81,"props":834,"children":835},{"style":151},[836],{"type":45,"value":837},"\u002F\u002F nuxt.config.ts\n",{"type":39,"tag":81,"props":839,"children":840},{"class":83,"line":157},[841,845,849,854,858,862,866,870],{"type":39,"tag":81,"props":842,"children":843},{"style":161},[844],{"type":45,"value":164},{"type":39,"tag":81,"props":846,"children":847},{"style":167},[848],{"type":45,"value":170},{"type":39,"tag":81,"props":850,"children":851},{"style":173},[852],{"type":45,"value":853}," withEmulate",{"type":39,"tag":81,"props":855,"children":856},{"style":167},[857],{"type":45,"value":181},{"type":39,"tag":81,"props":859,"children":860},{"style":161},[861],{"type":45,"value":186},{"type":39,"tag":81,"props":863,"children":864},{"style":167},[865],{"type":45,"value":191},{"type":39,"tag":81,"props":867,"children":868},{"style":94},[869],{"type":45,"value":59},{"type":39,"tag":81,"props":871,"children":872},{"style":167},[873],{"type":45,"value":200},{"type":39,"tag":81,"props":875,"children":876},{"class":83,"line":203},[877],{"type":39,"tag":81,"props":878,"children":879},{"emptyLinePlaceholder":286},[880],{"type":45,"value":289},{"type":39,"tag":81,"props":882,"children":883},{"class":83,"line":244},[884,888,892,897,901,906,910],{"type":39,"tag":81,"props":885,"children":886},{"style":161},[887],{"type":45,"value":298},{"type":39,"tag":81,"props":889,"children":890},{"style":161},[891],{"type":45,"value":303},{"type":39,"tag":81,"props":893,"children":894},{"style":306},[895],{"type":45,"value":896}," defineNuxtConfig",{"type":39,"tag":81,"props":898,"children":899},{"style":173},[900],{"type":45,"value":314},{"type":39,"tag":81,"props":902,"children":903},{"style":306},[904],{"type":45,"value":905},"withEmulate",{"type":39,"tag":81,"props":907,"children":908},{"style":173},[909],{"type":45,"value":314},{"type":39,"tag":81,"props":911,"children":912},{"style":167},[913],{"type":45,"value":328},{"type":39,"tag":81,"props":915,"children":916},{"class":83,"line":282},[917],{"type":39,"tag":81,"props":918,"children":919},{"style":151},[920],{"type":45,"value":921},"  \u002F\u002F your normal Nuxt config\n",{"type":39,"tag":81,"props":923,"children":924},{"class":83,"line":292},[925,929],{"type":39,"tag":81,"props":926,"children":927},{"style":167},[928],{"type":45,"value":774},{"type":39,"tag":81,"props":930,"children":931},{"style":173},[932],{"type":45,"value":779},{"type":39,"tag":63,"props":934,"children":936},{"id":935},"oauth-configuration",[937],{"type":45,"value":938},"OAuth Configuration",{"type":39,"tag":48,"props":940,"children":941},{},[942],{"type":45,"value":943},"Point your OAuth provider at the emulator paths on the same origin:",{"type":39,"tag":70,"props":945,"children":947},{"className":139,"code":946,"language":141,"meta":75,"style":75},"const baseUrl = process.env.NUXT_PUBLIC_SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'\n\nexport const githubOAuth = {\n  clientId: 'any-value',\n  clientSecret: 'any-value',\n  authorizationUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Fauthorize`,\n  tokenUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Faccess_token`,\n  userInfoUrl: `${baseUrl}\u002Femulate\u002Fgithub\u002Fuser`,\n}\n",[948],{"type":39,"tag":54,"props":949,"children":950},{"__ignoreMap":75},[951,1012,1019,1044,1073,1101,1141,1178,1215],{"type":39,"tag":81,"props":952,"children":953},{"class":83,"line":84},[954,960,965,970,975,980,985,989,994,999,1003,1008],{"type":39,"tag":81,"props":955,"children":957},{"style":956},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[958],{"type":45,"value":959},"const",{"type":39,"tag":81,"props":961,"children":962},{"style":173},[963],{"type":45,"value":964}," baseUrl ",{"type":39,"tag":81,"props":966,"children":967},{"style":167},[968],{"type":45,"value":969},"=",{"type":39,"tag":81,"props":971,"children":972},{"style":173},[973],{"type":45,"value":974}," process",{"type":39,"tag":81,"props":976,"children":977},{"style":167},[978],{"type":45,"value":979},".",{"type":39,"tag":81,"props":981,"children":982},{"style":173},[983],{"type":45,"value":984},"env",{"type":39,"tag":81,"props":986,"children":987},{"style":167},[988],{"type":45,"value":979},{"type":39,"tag":81,"props":990,"children":991},{"style":173},[992],{"type":45,"value":993},"NUXT_PUBLIC_SITE_URL ",{"type":39,"tag":81,"props":995,"children":996},{"style":167},[997],{"type":45,"value":998},"??",{"type":39,"tag":81,"props":1000,"children":1001},{"style":167},[1002],{"type":45,"value":191},{"type":39,"tag":81,"props":1004,"children":1005},{"style":94},[1006],{"type":45,"value":1007},"http:\u002F\u002Flocalhost:3000",{"type":39,"tag":81,"props":1009,"children":1010},{"style":167},[1011],{"type":45,"value":200},{"type":39,"tag":81,"props":1013,"children":1014},{"class":83,"line":157},[1015],{"type":39,"tag":81,"props":1016,"children":1017},{"emptyLinePlaceholder":286},[1018],{"type":45,"value":289},{"type":39,"tag":81,"props":1020,"children":1021},{"class":83,"line":203},[1022,1026,1031,1036,1040],{"type":39,"tag":81,"props":1023,"children":1024},{"style":161},[1025],{"type":45,"value":298},{"type":39,"tag":81,"props":1027,"children":1028},{"style":956},[1029],{"type":45,"value":1030}," const",{"type":39,"tag":81,"props":1032,"children":1033},{"style":173},[1034],{"type":45,"value":1035}," githubOAuth ",{"type":39,"tag":81,"props":1037,"children":1038},{"style":167},[1039],{"type":45,"value":969},{"type":39,"tag":81,"props":1041,"children":1042},{"style":167},[1043],{"type":45,"value":348},{"type":39,"tag":81,"props":1045,"children":1046},{"class":83,"line":244},[1047,1052,1056,1060,1065,1069],{"type":39,"tag":81,"props":1048,"children":1049},{"style":335},[1050],{"type":45,"value":1051},"  clientId",{"type":39,"tag":81,"props":1053,"children":1054},{"style":167},[1055],{"type":45,"value":343},{"type":39,"tag":81,"props":1057,"children":1058},{"style":167},[1059],{"type":45,"value":191},{"type":39,"tag":81,"props":1061,"children":1062},{"style":94},[1063],{"type":45,"value":1064},"any-value",{"type":39,"tag":81,"props":1066,"children":1067},{"style":167},[1068],{"type":45,"value":451},{"type":39,"tag":81,"props":1070,"children":1071},{"style":167},[1072],{"type":45,"value":388},{"type":39,"tag":81,"props":1074,"children":1075},{"class":83,"line":282},[1076,1081,1085,1089,1093,1097],{"type":39,"tag":81,"props":1077,"children":1078},{"style":335},[1079],{"type":45,"value":1080},"  clientSecret",{"type":39,"tag":81,"props":1082,"children":1083},{"style":167},[1084],{"type":45,"value":343},{"type":39,"tag":81,"props":1086,"children":1087},{"style":167},[1088],{"type":45,"value":191},{"type":39,"tag":81,"props":1090,"children":1091},{"style":94},[1092],{"type":45,"value":1064},{"type":39,"tag":81,"props":1094,"children":1095},{"style":167},[1096],{"type":45,"value":451},{"type":39,"tag":81,"props":1098,"children":1099},{"style":167},[1100],{"type":45,"value":388},{"type":39,"tag":81,"props":1102,"children":1103},{"class":83,"line":292},[1104,1109,1113,1118,1123,1127,1132,1137],{"type":39,"tag":81,"props":1105,"children":1106},{"style":335},[1107],{"type":45,"value":1108},"  authorizationUrl",{"type":39,"tag":81,"props":1110,"children":1111},{"style":167},[1112],{"type":45,"value":343},{"type":39,"tag":81,"props":1114,"children":1115},{"style":167},[1116],{"type":45,"value":1117}," `${",{"type":39,"tag":81,"props":1119,"children":1120},{"style":173},[1121],{"type":45,"value":1122},"baseUrl",{"type":39,"tag":81,"props":1124,"children":1125},{"style":167},[1126],{"type":45,"value":774},{"type":39,"tag":81,"props":1128,"children":1129},{"style":94},[1130],{"type":45,"value":1131},"\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Fauthorize",{"type":39,"tag":81,"props":1133,"children":1134},{"style":167},[1135],{"type":45,"value":1136},"`",{"type":39,"tag":81,"props":1138,"children":1139},{"style":167},[1140],{"type":45,"value":388},{"type":39,"tag":81,"props":1142,"children":1143},{"class":83,"line":331},[1144,1149,1153,1157,1161,1165,1170,1174],{"type":39,"tag":81,"props":1145,"children":1146},{"style":335},[1147],{"type":45,"value":1148},"  tokenUrl",{"type":39,"tag":81,"props":1150,"children":1151},{"style":167},[1152],{"type":45,"value":343},{"type":39,"tag":81,"props":1154,"children":1155},{"style":167},[1156],{"type":45,"value":1117},{"type":39,"tag":81,"props":1158,"children":1159},{"style":173},[1160],{"type":45,"value":1122},{"type":39,"tag":81,"props":1162,"children":1163},{"style":167},[1164],{"type":45,"value":774},{"type":39,"tag":81,"props":1166,"children":1167},{"style":94},[1168],{"type":45,"value":1169},"\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Faccess_token",{"type":39,"tag":81,"props":1171,"children":1172},{"style":167},[1173],{"type":45,"value":1136},{"type":39,"tag":81,"props":1175,"children":1176},{"style":167},[1177],{"type":45,"value":388},{"type":39,"tag":81,"props":1179,"children":1180},{"class":83,"line":351},[1181,1186,1190,1194,1198,1202,1207,1211],{"type":39,"tag":81,"props":1182,"children":1183},{"style":335},[1184],{"type":45,"value":1185},"  userInfoUrl",{"type":39,"tag":81,"props":1187,"children":1188},{"style":167},[1189],{"type":45,"value":343},{"type":39,"tag":81,"props":1191,"children":1192},{"style":167},[1193],{"type":45,"value":1117},{"type":39,"tag":81,"props":1195,"children":1196},{"style":173},[1197],{"type":45,"value":1122},{"type":39,"tag":81,"props":1199,"children":1200},{"style":167},[1201],{"type":45,"value":774},{"type":39,"tag":81,"props":1203,"children":1204},{"style":94},[1205],{"type":45,"value":1206},"\u002Femulate\u002Fgithub\u002Fuser",{"type":39,"tag":81,"props":1208,"children":1209},{"style":167},[1210],{"type":45,"value":1136},{"type":39,"tag":81,"props":1212,"children":1213},{"style":167},[1214],{"type":45,"value":388},{"type":39,"tag":81,"props":1216,"children":1217},{"class":83,"line":368},[1218],{"type":39,"tag":81,"props":1219,"children":1220},{"style":167},[1221],{"type":45,"value":1222},"}\n",{"type":39,"tag":48,"props":1224,"children":1225},{},[1226,1228,1234,1236,1242,1244,1250,1252,1258],{"type":45,"value":1227},"No ",{"type":39,"tag":54,"props":1229,"children":1231},{"className":1230},[],[1232],{"type":45,"value":1233},"oauth_apps",{"type":45,"value":1235}," need to be seeded. When none are configured, the emulator skips ",{"type":39,"tag":54,"props":1237,"children":1239},{"className":1238},[],[1240],{"type":45,"value":1241},"client_id",{"type":45,"value":1243},", ",{"type":39,"tag":54,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":45,"value":1249},"client_secret",{"type":45,"value":1251},", and ",{"type":39,"tag":54,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":45,"value":1257},"redirect_uri",{"type":45,"value":1259}," validation.",{"type":39,"tag":63,"props":1261,"children":1263},{"id":1262},"persistence",[1264],{"type":45,"value":1265},"Persistence",{"type":39,"tag":48,"props":1267,"children":1268},{},[1269,1271,1276],{"type":45,"value":1270},"By default, emulator state is in-memory and resets on every cold start. To persist state across restarts, pass a ",{"type":39,"tag":54,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":45,"value":1262},{"type":45,"value":1277}," adapter.",{"type":39,"tag":1279,"props":1280,"children":1282},"h3",{"id":1281},"nitro-storage",[1283],{"type":45,"value":1284},"Nitro Storage",{"type":39,"tag":70,"props":1286,"children":1288},{"className":139,"code":1287,"language":141,"meta":75,"style":75},"import { createEmulateHandler } from '@emulators\u002Fadapter-nuxt'\nimport * as github from '@emulators\u002Fgithub'\n\nconst storageAdapter = {\n  async load() { return await useStorage('emulate').getItem\u003Cstring>('state') },\n  async save(data: string) { await useStorage('emulate').setItem('state', data) },\n}\n\nexport default defineEventHandler(createEmulateHandler({\n  services: { github: { emulator: github } },\n  persistence: storageAdapter,\n}))\n",[1289],{"type":39,"tag":54,"props":1290,"children":1291},{"__ignoreMap":75},[1292,1327,1362,1369,1389,1499,1608,1615,1622,1653,1702,1723],{"type":39,"tag":81,"props":1293,"children":1294},{"class":83,"line":84},[1295,1299,1303,1307,1311,1315,1319,1323],{"type":39,"tag":81,"props":1296,"children":1297},{"style":161},[1298],{"type":45,"value":164},{"type":39,"tag":81,"props":1300,"children":1301},{"style":167},[1302],{"type":45,"value":170},{"type":39,"tag":81,"props":1304,"children":1305},{"style":173},[1306],{"type":45,"value":176},{"type":39,"tag":81,"props":1308,"children":1309},{"style":167},[1310],{"type":45,"value":181},{"type":39,"tag":81,"props":1312,"children":1313},{"style":161},[1314],{"type":45,"value":186},{"type":39,"tag":81,"props":1316,"children":1317},{"style":167},[1318],{"type":45,"value":191},{"type":39,"tag":81,"props":1320,"children":1321},{"style":94},[1322],{"type":45,"value":59},{"type":39,"tag":81,"props":1324,"children":1325},{"style":167},[1326],{"type":45,"value":200},{"type":39,"tag":81,"props":1328,"children":1329},{"class":83,"line":157},[1330,1334,1338,1342,1346,1350,1354,1358],{"type":39,"tag":81,"props":1331,"children":1332},{"style":161},[1333],{"type":45,"value":164},{"type":39,"tag":81,"props":1335,"children":1336},{"style":167},[1337],{"type":45,"value":213},{"type":39,"tag":81,"props":1339,"children":1340},{"style":161},[1341],{"type":45,"value":218},{"type":39,"tag":81,"props":1343,"children":1344},{"style":173},[1345],{"type":45,"value":223},{"type":39,"tag":81,"props":1347,"children":1348},{"style":161},[1349],{"type":45,"value":228},{"type":39,"tag":81,"props":1351,"children":1352},{"style":167},[1353],{"type":45,"value":191},{"type":39,"tag":81,"props":1355,"children":1356},{"style":94},[1357],{"type":45,"value":237},{"type":39,"tag":81,"props":1359,"children":1360},{"style":167},[1361],{"type":45,"value":200},{"type":39,"tag":81,"props":1363,"children":1364},{"class":83,"line":203},[1365],{"type":39,"tag":81,"props":1366,"children":1367},{"emptyLinePlaceholder":286},[1368],{"type":45,"value":289},{"type":39,"tag":81,"props":1370,"children":1371},{"class":83,"line":244},[1372,1376,1381,1385],{"type":39,"tag":81,"props":1373,"children":1374},{"style":956},[1375],{"type":45,"value":959},{"type":39,"tag":81,"props":1377,"children":1378},{"style":173},[1379],{"type":45,"value":1380}," storageAdapter ",{"type":39,"tag":81,"props":1382,"children":1383},{"style":167},[1384],{"type":45,"value":969},{"type":39,"tag":81,"props":1386,"children":1387},{"style":167},[1388],{"type":45,"value":348},{"type":39,"tag":81,"props":1390,"children":1391},{"class":83,"line":282},[1392,1397,1402,1407,1411,1416,1421,1426,1430,1434,1439,1443,1448,1452,1457,1462,1467,1472,1476,1480,1485,1489,1494],{"type":39,"tag":81,"props":1393,"children":1394},{"style":956},[1395],{"type":45,"value":1396},"  async",{"type":39,"tag":81,"props":1398,"children":1399},{"style":335},[1400],{"type":45,"value":1401}," load",{"type":39,"tag":81,"props":1403,"children":1404},{"style":167},[1405],{"type":45,"value":1406},"()",{"type":39,"tag":81,"props":1408,"children":1409},{"style":167},[1410],{"type":45,"value":170},{"type":39,"tag":81,"props":1412,"children":1413},{"style":161},[1414],{"type":45,"value":1415}," return",{"type":39,"tag":81,"props":1417,"children":1418},{"style":161},[1419],{"type":45,"value":1420}," await",{"type":39,"tag":81,"props":1422,"children":1423},{"style":306},[1424],{"type":45,"value":1425}," useStorage",{"type":39,"tag":81,"props":1427,"children":1428},{"style":335},[1429],{"type":45,"value":314},{"type":39,"tag":81,"props":1431,"children":1432},{"style":167},[1433],{"type":45,"value":451},{"type":39,"tag":81,"props":1435,"children":1436},{"style":94},[1437],{"type":45,"value":1438},"emulate",{"type":39,"tag":81,"props":1440,"children":1441},{"style":167},[1442],{"type":45,"value":451},{"type":39,"tag":81,"props":1444,"children":1445},{"style":335},[1446],{"type":45,"value":1447},")",{"type":39,"tag":81,"props":1449,"children":1450},{"style":167},[1451],{"type":45,"value":979},{"type":39,"tag":81,"props":1453,"children":1454},{"style":306},[1455],{"type":45,"value":1456},"getItem",{"type":39,"tag":81,"props":1458,"children":1459},{"style":167},[1460],{"type":45,"value":1461},"\u003C",{"type":39,"tag":81,"props":1463,"children":1464},{"style":88},[1465],{"type":45,"value":1466},"string",{"type":39,"tag":81,"props":1468,"children":1469},{"style":167},[1470],{"type":45,"value":1471},">",{"type":39,"tag":81,"props":1473,"children":1474},{"style":335},[1475],{"type":45,"value":314},{"type":39,"tag":81,"props":1477,"children":1478},{"style":167},[1479],{"type":45,"value":451},{"type":39,"tag":81,"props":1481,"children":1482},{"style":94},[1483],{"type":45,"value":1484},"state",{"type":39,"tag":81,"props":1486,"children":1487},{"style":167},[1488],{"type":45,"value":451},{"type":39,"tag":81,"props":1490,"children":1491},{"style":335},[1492],{"type":45,"value":1493},") ",{"type":39,"tag":81,"props":1495,"children":1496},{"style":167},[1497],{"type":45,"value":1498},"},\n",{"type":39,"tag":81,"props":1500,"children":1501},{"class":83,"line":292},[1502,1506,1511,1515,1521,1525,1530,1534,1538,1542,1546,1550,1554,1558,1562,1566,1570,1575,1579,1583,1587,1591,1595,1600,1604],{"type":39,"tag":81,"props":1503,"children":1504},{"style":956},[1505],{"type":45,"value":1396},{"type":39,"tag":81,"props":1507,"children":1508},{"style":335},[1509],{"type":45,"value":1510}," save",{"type":39,"tag":81,"props":1512,"children":1513},{"style":167},[1514],{"type":45,"value":314},{"type":39,"tag":81,"props":1516,"children":1518},{"style":1517},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1519],{"type":45,"value":1520},"data",{"type":39,"tag":81,"props":1522,"children":1523},{"style":167},[1524],{"type":45,"value":343},{"type":39,"tag":81,"props":1526,"children":1527},{"style":88},[1528],{"type":45,"value":1529}," string",{"type":39,"tag":81,"props":1531,"children":1532},{"style":167},[1533],{"type":45,"value":1447},{"type":39,"tag":81,"props":1535,"children":1536},{"style":167},[1537],{"type":45,"value":170},{"type":39,"tag":81,"props":1539,"children":1540},{"style":161},[1541],{"type":45,"value":1420},{"type":39,"tag":81,"props":1543,"children":1544},{"style":306},[1545],{"type":45,"value":1425},{"type":39,"tag":81,"props":1547,"children":1548},{"style":335},[1549],{"type":45,"value":314},{"type":39,"tag":81,"props":1551,"children":1552},{"style":167},[1553],{"type":45,"value":451},{"type":39,"tag":81,"props":1555,"children":1556},{"style":94},[1557],{"type":45,"value":1438},{"type":39,"tag":81,"props":1559,"children":1560},{"style":167},[1561],{"type":45,"value":451},{"type":39,"tag":81,"props":1563,"children":1564},{"style":335},[1565],{"type":45,"value":1447},{"type":39,"tag":81,"props":1567,"children":1568},{"style":167},[1569],{"type":45,"value":979},{"type":39,"tag":81,"props":1571,"children":1572},{"style":306},[1573],{"type":45,"value":1574},"setItem",{"type":39,"tag":81,"props":1576,"children":1577},{"style":335},[1578],{"type":45,"value":314},{"type":39,"tag":81,"props":1580,"children":1581},{"style":167},[1582],{"type":45,"value":451},{"type":39,"tag":81,"props":1584,"children":1585},{"style":94},[1586],{"type":45,"value":1484},{"type":39,"tag":81,"props":1588,"children":1589},{"style":167},[1590],{"type":45,"value":451},{"type":39,"tag":81,"props":1592,"children":1593},{"style":167},[1594],{"type":45,"value":456},{"type":39,"tag":81,"props":1596,"children":1597},{"style":173},[1598],{"type":45,"value":1599}," data",{"type":39,"tag":81,"props":1601,"children":1602},{"style":335},[1603],{"type":45,"value":1493},{"type":39,"tag":81,"props":1605,"children":1606},{"style":167},[1607],{"type":45,"value":1498},{"type":39,"tag":81,"props":1609,"children":1610},{"class":83,"line":331},[1611],{"type":39,"tag":81,"props":1612,"children":1613},{"style":167},[1614],{"type":45,"value":1222},{"type":39,"tag":81,"props":1616,"children":1617},{"class":83,"line":351},[1618],{"type":39,"tag":81,"props":1619,"children":1620},{"emptyLinePlaceholder":286},[1621],{"type":45,"value":289},{"type":39,"tag":81,"props":1623,"children":1624},{"class":83,"line":368},[1625,1629,1633,1637,1641,1645,1649],{"type":39,"tag":81,"props":1626,"children":1627},{"style":161},[1628],{"type":45,"value":298},{"type":39,"tag":81,"props":1630,"children":1631},{"style":161},[1632],{"type":45,"value":303},{"type":39,"tag":81,"props":1634,"children":1635},{"style":306},[1636],{"type":45,"value":309},{"type":39,"tag":81,"props":1638,"children":1639},{"style":173},[1640],{"type":45,"value":314},{"type":39,"tag":81,"props":1642,"children":1643},{"style":306},[1644],{"type":45,"value":319},{"type":39,"tag":81,"props":1646,"children":1647},{"style":173},[1648],{"type":45,"value":314},{"type":39,"tag":81,"props":1650,"children":1651},{"style":167},[1652],{"type":45,"value":328},{"type":39,"tag":81,"props":1654,"children":1655},{"class":83,"line":391},[1656,1660,1664,1668,1672,1676,1680,1685,1689,1693,1697],{"type":39,"tag":81,"props":1657,"children":1658},{"style":335},[1659],{"type":45,"value":338},{"type":39,"tag":81,"props":1661,"children":1662},{"style":167},[1663],{"type":45,"value":343},{"type":39,"tag":81,"props":1665,"children":1666},{"style":167},[1667],{"type":45,"value":170},{"type":39,"tag":81,"props":1669,"children":1670},{"style":335},[1671],{"type":45,"value":383},{"type":39,"tag":81,"props":1673,"children":1674},{"style":167},[1675],{"type":45,"value":343},{"type":39,"tag":81,"props":1677,"children":1678},{"style":167},[1679],{"type":45,"value":170},{"type":39,"tag":81,"props":1681,"children":1682},{"style":335},[1683],{"type":45,"value":1684}," emulator",{"type":39,"tag":81,"props":1686,"children":1687},{"style":167},[1688],{"type":45,"value":343},{"type":39,"tag":81,"props":1690,"children":1691},{"style":173},[1692],{"type":45,"value":223},{"type":39,"tag":81,"props":1694,"children":1695},{"style":167},[1696],{"type":45,"value":774},{"type":39,"tag":81,"props":1698,"children":1699},{"style":167},[1700],{"type":45,"value":1701}," },\n",{"type":39,"tag":81,"props":1703,"children":1704},{"class":83,"line":408},[1705,1710,1714,1719],{"type":39,"tag":81,"props":1706,"children":1707},{"style":335},[1708],{"type":45,"value":1709},"  persistence",{"type":39,"tag":81,"props":1711,"children":1712},{"style":167},[1713],{"type":45,"value":343},{"type":39,"tag":81,"props":1715,"children":1716},{"style":173},[1717],{"type":45,"value":1718}," storageAdapter",{"type":39,"tag":81,"props":1720,"children":1721},{"style":167},[1722],{"type":45,"value":388},{"type":39,"tag":81,"props":1724,"children":1725},{"class":83,"line":494},[1726,1730],{"type":39,"tag":81,"props":1727,"children":1728},{"style":167},[1729],{"type":45,"value":774},{"type":39,"tag":81,"props":1731,"children":1732},{"style":173},[1733],{"type":45,"value":779},{"type":39,"tag":1279,"props":1735,"children":1737},{"id":1736},"file-persistence",[1738],{"type":45,"value":1739},"File Persistence",{"type":39,"tag":48,"props":1741,"children":1742},{},[1743,1745,1751],{"type":45,"value":1744},"For local development, ",{"type":39,"tag":54,"props":1746,"children":1748},{"className":1747},[],[1749],{"type":45,"value":1750},"@emulators\u002Fcore",{"type":45,"value":1752}," ships a file-based adapter:",{"type":39,"tag":70,"props":1754,"children":1756},{"className":139,"code":1755,"language":141,"meta":75,"style":75},"import { filePersistence } from '@emulators\u002Fcore'\n\npersistence: filePersistence('.emulate\u002Fstate.json'),\n",[1757],{"type":39,"tag":54,"props":1758,"children":1759},{"__ignoreMap":75},[1760,1796,1803],{"type":39,"tag":81,"props":1761,"children":1762},{"class":83,"line":84},[1763,1767,1771,1776,1780,1784,1788,1792],{"type":39,"tag":81,"props":1764,"children":1765},{"style":161},[1766],{"type":45,"value":164},{"type":39,"tag":81,"props":1768,"children":1769},{"style":167},[1770],{"type":45,"value":170},{"type":39,"tag":81,"props":1772,"children":1773},{"style":173},[1774],{"type":45,"value":1775}," filePersistence",{"type":39,"tag":81,"props":1777,"children":1778},{"style":167},[1779],{"type":45,"value":181},{"type":39,"tag":81,"props":1781,"children":1782},{"style":161},[1783],{"type":45,"value":186},{"type":39,"tag":81,"props":1785,"children":1786},{"style":167},[1787],{"type":45,"value":191},{"type":39,"tag":81,"props":1789,"children":1790},{"style":94},[1791],{"type":45,"value":1750},{"type":39,"tag":81,"props":1793,"children":1794},{"style":167},[1795],{"type":45,"value":200},{"type":39,"tag":81,"props":1797,"children":1798},{"class":83,"line":157},[1799],{"type":39,"tag":81,"props":1800,"children":1801},{"emptyLinePlaceholder":286},[1802],{"type":45,"value":289},{"type":39,"tag":81,"props":1804,"children":1805},{"class":83,"line":203},[1806,1810,1814,1818,1822,1826,1831,1835,1839],{"type":39,"tag":81,"props":1807,"children":1808},{"style":88},[1809],{"type":45,"value":1262},{"type":39,"tag":81,"props":1811,"children":1812},{"style":167},[1813],{"type":45,"value":343},{"type":39,"tag":81,"props":1815,"children":1816},{"style":306},[1817],{"type":45,"value":1775},{"type":39,"tag":81,"props":1819,"children":1820},{"style":173},[1821],{"type":45,"value":314},{"type":39,"tag":81,"props":1823,"children":1824},{"style":167},[1825],{"type":45,"value":451},{"type":39,"tag":81,"props":1827,"children":1828},{"style":94},[1829],{"type":45,"value":1830},".emulate\u002Fstate.json",{"type":39,"tag":81,"props":1832,"children":1833},{"style":167},[1834],{"type":45,"value":451},{"type":39,"tag":81,"props":1836,"children":1837},{"style":173},[1838],{"type":45,"value":1447},{"type":39,"tag":81,"props":1840,"children":1841},{"style":167},[1842],{"type":45,"value":388},{"type":39,"tag":1279,"props":1844,"children":1846},{"id":1845},"how-persistence-works",[1847],{"type":45,"value":1848},"How Persistence Works",{"type":39,"tag":786,"props":1850,"children":1851},{},[1852,1863,1873],{"type":39,"tag":790,"props":1853,"children":1854},{},[1855,1861],{"type":39,"tag":1856,"props":1857,"children":1858},"strong",{},[1859],{"type":45,"value":1860},"Cold start",{"type":45,"value":1862},": The adapter loads state from the persistence adapter. If found, it restores the full Store and token map. If not found, it seeds from config and saves the initial state.",{"type":39,"tag":790,"props":1864,"children":1865},{},[1866,1871],{"type":39,"tag":1856,"props":1867,"children":1868},{},[1869],{"type":45,"value":1870},"After mutating requests",{"type":45,"value":1872}," (POST, PUT, PATCH, DELETE): State is saved. Saves are serialized via an internal queue to prevent race conditions.",{"type":39,"tag":790,"props":1874,"children":1875},{},[1876,1881],{"type":39,"tag":1856,"props":1877,"children":1878},{},[1879],{"type":45,"value":1880},"No persistence configured",{"type":45,"value":1882},": Falls back to pure in-memory. Seed data re-initializes on every cold start.",{"type":39,"tag":63,"props":1884,"children":1886},{"id":1885},"how-it-works",[1887],{"type":45,"value":1888},"How It Works",{"type":39,"tag":1890,"props":1891,"children":1892},"ol",{},[1893,1909,1933,1951,1993],{"type":39,"tag":790,"props":1894,"children":1895},{},[1896,1901,1903],{"type":39,"tag":1856,"props":1897,"children":1898},{},[1899],{"type":45,"value":1900},"Incoming request",{"type":45,"value":1902},": ",{"type":39,"tag":54,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":45,"value":1908},"\u002Femulate\u002Fgithub\u002Flogin\u002Foauth\u002Fauthorize?client_id=...",{"type":39,"tag":790,"props":1910,"children":1911},{},[1912,1917,1919,1925,1927],{"type":39,"tag":1856,"props":1913,"children":1914},{},[1915],{"type":45,"value":1916},"Parse",{"type":45,"value":1918},": service = ",{"type":39,"tag":54,"props":1920,"children":1922},{"className":1921},[],[1923],{"type":45,"value":1924},"github",{"type":45,"value":1926},", rest = ",{"type":39,"tag":54,"props":1928,"children":1930},{"className":1929},[],[1931],{"type":45,"value":1932},"\u002Flogin\u002Foauth\u002Fauthorize",{"type":39,"tag":790,"props":1934,"children":1935},{},[1936,1941,1943,1949],{"type":39,"tag":1856,"props":1937,"children":1938},{},[1939],{"type":45,"value":1940},"Strip prefix",{"type":45,"value":1942},": A new ",{"type":39,"tag":54,"props":1944,"children":1946},{"className":1945},[],[1947],{"type":45,"value":1948},"Request",{"type":45,"value":1950}," is created with the stripped path and forwarded to the GitHub service app",{"type":39,"tag":790,"props":1952,"children":1953},{},[1954,1959,1961,1967,1969,1975,1977,1983,1985,1991],{"type":39,"tag":1856,"props":1955,"children":1956},{},[1957],{"type":45,"value":1958},"Rewrite response",{"type":45,"value":1960},": HTML ",{"type":39,"tag":54,"props":1962,"children":1964},{"className":1963},[],[1965],{"type":45,"value":1966},"action",{"type":45,"value":1968}," and ",{"type":39,"tag":54,"props":1970,"children":1972},{"className":1971},[],[1973],{"type":45,"value":1974},"href",{"type":45,"value":1976}," attributes, CSS ",{"type":39,"tag":54,"props":1978,"children":1980},{"className":1979},[],[1981],{"type":45,"value":1982},"url()",{"type":45,"value":1984}," font references, and ",{"type":39,"tag":54,"props":1986,"children":1988},{"className":1987},[],[1989],{"type":45,"value":1990},"Location",{"type":45,"value":1992}," headers get the service prefix prepended",{"type":39,"tag":790,"props":1994,"children":1995},{},[1996,2001],{"type":39,"tag":1856,"props":1997,"children":1998},{},[1999],{"type":45,"value":2000},"Persist",{"type":45,"value":2002},": After mutating requests, state is saved via the persistence adapter",{"type":39,"tag":63,"props":2004,"children":2006},{"id":2005},"limitations",[2007],{"type":45,"value":2008},"Limitations",{"type":39,"tag":786,"props":2010,"children":2011},{},[2012,2017],{"type":39,"tag":790,"props":2013,"children":2014},{},[2015],{"type":45,"value":2016},"Requires a Node-compatible Nuxt server runtime since emulators use Node APIs",{"type":39,"tag":790,"props":2018,"children":2019},{},[2020],{"type":45,"value":2021},"Concurrent serverless instances writing to the same persistence adapter use last write wins semantics, which is acceptable for dev and preview traffic",{"type":39,"tag":63,"props":2023,"children":2025},{"id":2024},"config-reference",[2026],{"type":45,"value":2027},"Config Reference",{"type":39,"tag":1279,"props":2029,"children":2031},{"id":2030},"createemulatehandlerconfig-options",[2032],{"type":39,"tag":54,"props":2033,"children":2035},{"className":2034},[],[2036],{"type":45,"value":2037},"createEmulateHandler(config, options?)",{"type":39,"tag":2039,"props":2040,"children":2041},"table",{},[2042,2066],{"type":39,"tag":2043,"props":2044,"children":2045},"thead",{},[2046],{"type":39,"tag":2047,"props":2048,"children":2049},"tr",{},[2050,2056,2061],{"type":39,"tag":2051,"props":2052,"children":2053},"th",{},[2054],{"type":45,"value":2055},"Field",{"type":39,"tag":2051,"props":2057,"children":2058},{},[2059],{"type":45,"value":2060},"Type",{"type":39,"tag":2051,"props":2062,"children":2063},{},[2064],{"type":45,"value":2065},"Description",{"type":39,"tag":2067,"props":2068,"children":2069},"tbody",{},[2070,2097],{"type":39,"tag":2047,"props":2071,"children":2072},{},[2073,2083,2092],{"type":39,"tag":2074,"props":2075,"children":2076},"td",{},[2077],{"type":39,"tag":54,"props":2078,"children":2080},{"className":2079},[],[2081],{"type":45,"value":2082},"services",{"type":39,"tag":2074,"props":2084,"children":2085},{},[2086],{"type":39,"tag":54,"props":2087,"children":2089},{"className":2088},[],[2090],{"type":45,"value":2091},"Record\u003Cstring, EmulatorEntry>",{"type":39,"tag":2074,"props":2093,"children":2094},{},[2095],{"type":45,"value":2096},"Map of service name to emulator config",{"type":39,"tag":2047,"props":2098,"children":2099},{},[2100,2109,2118],{"type":39,"tag":2074,"props":2101,"children":2102},{},[2103],{"type":39,"tag":54,"props":2104,"children":2106},{"className":2105},[],[2107],{"type":45,"value":2108},"persistence?",{"type":39,"tag":2074,"props":2110,"children":2111},{},[2112],{"type":39,"tag":54,"props":2113,"children":2115},{"className":2114},[],[2116],{"type":45,"value":2117},"PersistenceAdapter",{"type":39,"tag":2074,"props":2119,"children":2120},{},[2121],{"type":45,"value":2122},"Optional persistence adapter for state across cold starts",{"type":39,"tag":48,"props":2124,"children":2125},{},[2126,2128,2134],{"type":45,"value":2127},"Each ",{"type":39,"tag":54,"props":2129,"children":2131},{"className":2130},[],[2132],{"type":45,"value":2133},"EmulatorEntry",{"type":45,"value":343},{"type":39,"tag":2039,"props":2136,"children":2137},{},[2138,2156],{"type":39,"tag":2043,"props":2139,"children":2140},{},[2141],{"type":39,"tag":2047,"props":2142,"children":2143},{},[2144,2148,2152],{"type":39,"tag":2051,"props":2145,"children":2146},{},[2147],{"type":45,"value":2055},{"type":39,"tag":2051,"props":2149,"children":2150},{},[2151],{"type":45,"value":2060},{"type":39,"tag":2051,"props":2153,"children":2154},{},[2155],{"type":45,"value":2065},{"type":39,"tag":2067,"props":2157,"children":2158},{},[2159,2191],{"type":39,"tag":2047,"props":2160,"children":2161},{},[2162,2171,2180],{"type":39,"tag":2074,"props":2163,"children":2164},{},[2165],{"type":39,"tag":54,"props":2166,"children":2168},{"className":2167},[],[2169],{"type":45,"value":2170},"emulator",{"type":39,"tag":2074,"props":2172,"children":2173},{},[2174],{"type":39,"tag":54,"props":2175,"children":2177},{"className":2176},[],[2178],{"type":45,"value":2179},"EmulatorModule",{"type":39,"tag":2074,"props":2181,"children":2182},{},[2183,2185],{"type":45,"value":2184},"The emulator package, such as ",{"type":39,"tag":54,"props":2186,"children":2188},{"className":2187},[],[2189],{"type":45,"value":2190},"import * as github from '@emulators\u002Fgithub'",{"type":39,"tag":2047,"props":2192,"children":2193},{},[2194,2203,2212],{"type":39,"tag":2074,"props":2195,"children":2196},{},[2197],{"type":39,"tag":54,"props":2198,"children":2200},{"className":2199},[],[2201],{"type":45,"value":2202},"seed?",{"type":39,"tag":2074,"props":2204,"children":2205},{},[2206],{"type":39,"tag":54,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":45,"value":2211},"Record\u003Cstring, unknown>",{"type":39,"tag":2074,"props":2213,"children":2214},{},[2215],{"type":45,"value":2216},"Seed data matching the service's config schema",{"type":39,"tag":48,"props":2218,"children":2219},{},[2220],{"type":45,"value":2221},"Options:",{"type":39,"tag":2039,"props":2223,"children":2224},{},[2225,2249],{"type":39,"tag":2043,"props":2226,"children":2227},{},[2228],{"type":39,"tag":2047,"props":2229,"children":2230},{},[2231,2236,2240,2245],{"type":39,"tag":2051,"props":2232,"children":2233},{},[2234],{"type":45,"value":2235},"Option",{"type":39,"tag":2051,"props":2237,"children":2238},{},[2239],{"type":45,"value":2060},{"type":39,"tag":2051,"props":2241,"children":2242},{},[2243],{"type":45,"value":2244},"Default",{"type":39,"tag":2051,"props":2246,"children":2247},{},[2248],{"type":45,"value":2065},{"type":39,"tag":2067,"props":2250,"children":2251},{},[2252,2286],{"type":39,"tag":2047,"props":2253,"children":2254},{},[2255,2264,2272,2281],{"type":39,"tag":2074,"props":2256,"children":2257},{},[2258],{"type":39,"tag":54,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":45,"value":2263},"param",{"type":39,"tag":2074,"props":2265,"children":2266},{},[2267],{"type":39,"tag":54,"props":2268,"children":2270},{"className":2269},[],[2271],{"type":45,"value":1466},{"type":39,"tag":2074,"props":2273,"children":2274},{},[2275],{"type":39,"tag":54,"props":2276,"children":2278},{"className":2277},[],[2279],{"type":45,"value":2280},"\"path\"",{"type":39,"tag":2074,"props":2282,"children":2283},{},[2284],{"type":45,"value":2285},"Named catch-all route param",{"type":39,"tag":2047,"props":2287,"children":2288},{},[2289,2298,2306,2311],{"type":39,"tag":2074,"props":2290,"children":2291},{},[2292],{"type":39,"tag":54,"props":2293,"children":2295},{"className":2294},[],[2296],{"type":45,"value":2297},"routePrefix",{"type":39,"tag":2074,"props":2299,"children":2300},{},[2301],{"type":39,"tag":54,"props":2302,"children":2304},{"className":2303},[],[2305],{"type":45,"value":1466},{"type":39,"tag":2074,"props":2307,"children":2308},{},[2309],{"type":45,"value":2310},"detected",{"type":39,"tag":2074,"props":2312,"children":2313},{},[2314],{"type":45,"value":2315},"Path prefix where the catch-all route is mounted",{"type":39,"tag":1279,"props":2317,"children":2319},{"id":2318},"withemulatenuxtconfig",[2320],{"type":39,"tag":54,"props":2321,"children":2323},{"className":2322},[],[2324],{"type":45,"value":2325},"withEmulate(nuxtConfig)",{"type":39,"tag":48,"props":2327,"children":2328},{},[2329,2331,2336,2338,2344,2346,2352],{"type":45,"value":2330},"Wraps a Nuxt config to include ",{"type":39,"tag":54,"props":2332,"children":2334},{"className":2333},[],[2335],{"type":45,"value":1750},{"type":45,"value":2337}," assets in Nitro's production trace. Call it inside ",{"type":39,"tag":54,"props":2339,"children":2341},{"className":2340},[],[2342],{"type":45,"value":2343},"defineNuxtConfig",{"type":45,"value":2345}," in ",{"type":39,"tag":54,"props":2347,"children":2349},{"className":2348},[],[2350],{"type":45,"value":2351},"nuxt.config.ts",{"type":45,"value":979},{"type":39,"tag":1279,"props":2354,"children":2356},{"id":2355},"persistenceadapter",[2357],{"type":39,"tag":54,"props":2358,"children":2360},{"className":2359},[],[2361],{"type":45,"value":2117},{"type":39,"tag":70,"props":2363,"children":2365},{"className":139,"code":2364,"language":141,"meta":75,"style":75},"interface PersistenceAdapter {\n  load(): Promise\u003Cstring | null>\n  save(data: string): Promise\u003Cvoid>\n}\n",[2366],{"type":39,"tag":54,"props":2367,"children":2368},{"__ignoreMap":75},[2369,2386,2427,2473],{"type":39,"tag":81,"props":2370,"children":2371},{"class":83,"line":84},[2372,2377,2382],{"type":39,"tag":81,"props":2373,"children":2374},{"style":956},[2375],{"type":45,"value":2376},"interface",{"type":39,"tag":81,"props":2378,"children":2379},{"style":88},[2380],{"type":45,"value":2381}," PersistenceAdapter",{"type":39,"tag":81,"props":2383,"children":2384},{"style":167},[2385],{"type":45,"value":348},{"type":39,"tag":81,"props":2387,"children":2388},{"class":83,"line":157},[2389,2394,2399,2404,2408,2412,2417,2422],{"type":39,"tag":81,"props":2390,"children":2391},{"style":335},[2392],{"type":45,"value":2393},"  load",{"type":39,"tag":81,"props":2395,"children":2396},{"style":167},[2397],{"type":45,"value":2398},"():",{"type":39,"tag":81,"props":2400,"children":2401},{"style":88},[2402],{"type":45,"value":2403}," Promise",{"type":39,"tag":81,"props":2405,"children":2406},{"style":167},[2407],{"type":45,"value":1461},{"type":39,"tag":81,"props":2409,"children":2410},{"style":88},[2411],{"type":45,"value":1466},{"type":39,"tag":81,"props":2413,"children":2414},{"style":167},[2415],{"type":45,"value":2416}," |",{"type":39,"tag":81,"props":2418,"children":2419},{"style":88},[2420],{"type":45,"value":2421}," null",{"type":39,"tag":81,"props":2423,"children":2424},{"style":167},[2425],{"type":45,"value":2426},">\n",{"type":39,"tag":81,"props":2428,"children":2429},{"class":83,"line":203},[2430,2435,2439,2443,2447,2451,2456,2460,2464,2469],{"type":39,"tag":81,"props":2431,"children":2432},{"style":335},[2433],{"type":45,"value":2434},"  save",{"type":39,"tag":81,"props":2436,"children":2437},{"style":167},[2438],{"type":45,"value":314},{"type":39,"tag":81,"props":2440,"children":2441},{"style":1517},[2442],{"type":45,"value":1520},{"type":39,"tag":81,"props":2444,"children":2445},{"style":167},[2446],{"type":45,"value":343},{"type":39,"tag":81,"props":2448,"children":2449},{"style":88},[2450],{"type":45,"value":1529},{"type":39,"tag":81,"props":2452,"children":2453},{"style":167},[2454],{"type":45,"value":2455},"):",{"type":39,"tag":81,"props":2457,"children":2458},{"style":88},[2459],{"type":45,"value":2403},{"type":39,"tag":81,"props":2461,"children":2462},{"style":167},[2463],{"type":45,"value":1461},{"type":39,"tag":81,"props":2465,"children":2466},{"style":88},[2467],{"type":45,"value":2468},"void",{"type":39,"tag":81,"props":2470,"children":2471},{"style":167},[2472],{"type":45,"value":2426},{"type":39,"tag":81,"props":2474,"children":2475},{"class":83,"line":244},[2476],{"type":39,"tag":81,"props":2477,"children":2478},{"style":167},[2479],{"type":45,"value":1222},{"type":39,"tag":2481,"props":2482,"children":2483},"style",{},[2484],{"type":45,"value":2485},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2487,"total":494},[2488,2502,2516,2540,2550,2573,2583],{"slug":2489,"name":2489,"fn":2490,"description":2491,"org":2492,"tags":2493,"stars":21,"repoUrl":22,"updatedAt":2501},"apple","emulate Apple Sign-in for local development","Emulated Sign in with Apple \u002F Apple OIDC for local development and testing. Use when the user needs to test Apple sign-in locally, emulate Apple OIDC discovery, handle Apple token exchange, configure Apple OAuth clients, or work with Apple userinfo without hitting real Apple APIs. Triggers include \"Apple OAuth\", \"emulate Apple\", \"mock Apple login\", \"test Apple sign-in\", \"Sign in with Apple\", \"Apple OIDC\", \"local Apple auth\", or any task requiring a local Apple OAuth\u002FOIDC provider.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2494,2496,2499,2500],{"name":2495,"slug":2489,"type":14},"Apple",{"name":2497,"slug":2498,"type":14},"Auth","auth",{"name":16,"slug":17,"type":14},{"name":19,"slug":20,"type":14},"2026-07-17T06:08:52.141606",{"slug":2503,"name":2503,"fn":2504,"description":2505,"org":2506,"tags":2507,"stars":21,"repoUrl":22,"updatedAt":2515},"aws","emulate AWS cloud services locally","Emulated AWS cloud services (S3, SQS, IAM, STS) for local development and testing. Use when the user needs to interact with AWS API endpoints locally, test S3 bucket and object operations, emulate SQS queues and messages, manage IAM users\u002Froles\u002Faccess keys, test STS assume role, or work without hitting real AWS APIs. Triggers include \"AWS emulator\", \"emulate AWS\", \"mock S3\", \"local SQS\", \"test IAM\", \"emulate S3\", \"AWS locally\", \"STS assume role\", or any task requiring local AWS service emulation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2508,2510,2513,2514],{"name":2509,"slug":2503,"type":14},"AWS",{"name":2511,"slug":2512,"type":14},"Cloud","cloud",{"name":16,"slug":17,"type":14},{"name":19,"slug":20,"type":14},"2026-07-17T06:08:52.818809",{"slug":1438,"name":1438,"fn":2517,"description":2518,"org":2519,"tags":2520,"stars":21,"repoUrl":22,"updatedAt":2539},"emulate developer APIs for local testing","Local drop-in API emulator for Vercel, GitHub, Google, Slack, Apple, Microsoft, AWS, Linear, and other developer APIs. Use when the user needs to start emulated services, configure seed data, write tests against local APIs, set up CI without network access, or work with the emulate CLI or programmatic API. Triggers include \"start the emulator\", \"emulate services\", \"mock API locally\", \"create emulator config\", \"test against local API\", \"npx emulate\", or any task requiring local service emulation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2521,2524,2525,2526,2528,2531,2532,2535,2538],{"name":2522,"slug":2523,"type":14},"API Development","api-development",{"name":2495,"slug":2489,"type":14},{"name":2509,"slug":2503,"type":14},{"name":2527,"slug":1924,"type":14},"GitHub",{"name":2529,"slug":2530,"type":14},"Linear","linear",{"name":16,"slug":17,"type":14},{"name":2533,"slug":2534,"type":14},"Microsoft","microsoft",{"name":2536,"slug":2537,"type":14},"Slack","slack",{"name":19,"slug":20,"type":14},"2026-07-17T06:08:59.816303",{"slug":1924,"name":1924,"fn":2541,"description":2542,"org":2543,"tags":2544,"stars":21,"repoUrl":22,"updatedAt":2549},"emulate GitHub API for local development","Emulated GitHub REST API for local development and testing. Use when the user needs to interact with GitHub API endpoints locally, test GitHub integrations, emulate repos\u002Fissues\u002FPRs, set up GitHub OAuth flows, configure GitHub Apps, test webhooks, or work with actions\u002Fchecks without hitting the real GitHub API. Triggers include \"GitHub API\", \"emulate GitHub\", \"mock GitHub\", \"test GitHub OAuth\", \"GitHub App JWT\", \"local GitHub\", or any task requiring a local GitHub API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2545,2546,2547,2548],{"name":2522,"slug":2523,"type":14},{"name":2527,"slug":1924,"type":14},{"name":16,"slug":17,"type":14},{"name":19,"slug":20,"type":14},"2026-07-17T06:05:55.104585",{"slug":2551,"name":2551,"fn":2552,"description":2553,"org":2554,"tags":2555,"stars":21,"repoUrl":22,"updatedAt":2572},"google","emulate Google services for local development","Emulated Google OAuth 2.0, OpenID Connect, Gmail, Calendar, and Drive for local development and testing. Use when the user needs to test Google sign-in locally, emulate OIDC discovery, handle Google token exchange, configure Google OAuth clients, work with Gmail messages\u002Fdrafts\u002Fthreads\u002Flabels, manage Calendar events, upload or list Drive files, or work with Google userinfo without hitting real Google APIs. Triggers include \"Google OAuth\", \"emulate Google\", \"mock Google login\", \"test Google sign-in\", \"OIDC emulator\", \"Google OIDC\", \"Gmail API\", \"Google Calendar\", \"Google Drive\", \"local Google auth\", or any task requiring a local Google API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2556,2557,2560,2562,2565,2568,2569],{"name":2497,"slug":2498,"type":14},{"name":2558,"slug":2559,"type":14},"Gmail","gmail",{"name":2561,"slug":2551,"type":14},"Google",{"name":2563,"slug":2564,"type":14},"Google Calendar","google-calendar",{"name":2566,"slug":2567,"type":14},"Google Drive","google-drive",{"name":16,"slug":17,"type":14},{"name":2570,"slug":2571,"type":14},"OAuth","oauth","2026-07-17T06:08:59.475325",{"slug":2530,"name":2530,"fn":2574,"description":2575,"org":2576,"tags":2577,"stars":21,"repoUrl":22,"updatedAt":2582},"emulate Linear API for local development","Emulated Linear GraphQL API for local development and testing. Use when the user needs to test Linear integrations locally, emulate Linear issues, comments, teams, workflow states, OAuth apps, webhooks, agent sessions, or work with the Linear API without hitting the real Linear service. Triggers include \"Linear API\", \"emulate Linear\", \"mock Linear\", \"test Linear OAuth\", \"Linear webhook\", \"Linear agent\", \"local Linear\", or any task requiring a local Linear API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2578,2579,2580,2581],{"name":2522,"slug":2523,"type":14},{"name":2529,"slug":2530,"type":14},{"name":16,"slug":17,"type":14},{"name":19,"slug":20,"type":14},"2026-07-17T06:04:11.495374",{"slug":2534,"name":2534,"fn":2584,"description":2585,"org":2586,"tags":2587,"stars":21,"repoUrl":22,"updatedAt":2592},"emulate Microsoft Entra ID for local development","Emulated Microsoft Entra ID (Azure AD) OAuth 2.0 \u002F OpenID Connect for local development and testing. Use when the user needs to test Microsoft sign-in locally, emulate Entra ID OIDC discovery, handle Microsoft token exchange, configure Azure AD OAuth clients, work with Microsoft Graph \u002Fme, or test PKCE\u002Fclient credentials flows without hitting real Microsoft APIs. Triggers include \"Microsoft OAuth\", \"Entra ID\", \"Azure AD\", \"emulate Microsoft\", \"mock Microsoft login\", \"test Microsoft sign-in\", \"Microsoft OIDC\", \"local Microsoft auth\", or any task requiring a local Microsoft OAuth\u002FOIDC provider.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2588,2589,2590,2591],{"name":2497,"slug":2498,"type":14},{"name":16,"slug":17,"type":14},{"name":2533,"slug":2534,"type":14},{"name":2570,"slug":2571,"type":14},"2026-07-17T06:08:55.822349",{"items":2594,"total":2758},[2595,2613,2623,2635,2648,2663,2675,2686,2699,2712,2724,2743],{"slug":2596,"name":2596,"fn":2597,"description":2598,"org":2599,"tags":2600,"stars":2610,"repoUrl":2611,"updatedAt":2612},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2601,2604,2607],{"name":2602,"slug":2603,"type":14},"Agents","agents",{"name":2605,"slug":2606,"type":14},"Automation","automation",{"name":2608,"slug":2609,"type":14},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":2614,"name":2614,"fn":2615,"description":2616,"org":2617,"tags":2618,"stars":2610,"repoUrl":2611,"updatedAt":2622},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2619,2620,2621],{"name":2605,"slug":2606,"type":14},{"name":2509,"slug":2503,"type":14},{"name":2608,"slug":2609,"type":14},"2026-07-17T06:08:33.665276",{"slug":2624,"name":2624,"fn":2625,"description":2626,"org":2627,"tags":2628,"stars":2610,"repoUrl":2611,"updatedAt":2634},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2629,2630,2631],{"name":2602,"slug":2603,"type":14},{"name":2608,"slug":2609,"type":14},{"name":2632,"slug":2633,"type":14},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":2636,"name":2636,"fn":2637,"description":2638,"org":2639,"tags":2640,"stars":2610,"repoUrl":2611,"updatedAt":2647},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2641,2642,2643,2644],{"name":2522,"slug":2523,"type":14},{"name":2605,"slug":2606,"type":14},{"name":2608,"slug":2609,"type":14},{"name":2645,"slug":2646,"type":14},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":2649,"name":2649,"fn":2650,"description":2651,"org":2652,"tags":2653,"stars":2610,"repoUrl":2611,"updatedAt":2662},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2654,2655,2658,2661],{"name":2608,"slug":2609,"type":14},{"name":2656,"slug":2657,"type":14},"Debugging","debugging",{"name":2659,"slug":2660,"type":14},"QA","qa",{"name":19,"slug":20,"type":14},"2026-07-17T06:07:41.421482",{"slug":2664,"name":2664,"fn":2665,"description":2666,"org":2667,"tags":2668,"stars":2610,"repoUrl":2611,"updatedAt":2674},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2669,2670,2671],{"name":2602,"slug":2603,"type":14},{"name":2608,"slug":2609,"type":14},{"name":2672,"slug":2673,"type":14},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":2537,"name":2537,"fn":2676,"description":2677,"org":2678,"tags":2679,"stars":2610,"repoUrl":2611,"updatedAt":2685},"interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2680,2681,2684],{"name":2608,"slug":2609,"type":14},{"name":2682,"slug":2683,"type":14},"Messaging","messaging",{"name":2536,"slug":2537,"type":14},"2026-07-17T06:08:27.679015",{"slug":2687,"name":2687,"fn":2688,"description":2689,"org":2690,"tags":2691,"stars":2610,"repoUrl":2611,"updatedAt":2698},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2692,2693,2694,2695],{"name":2605,"slug":2606,"type":14},{"name":2608,"slug":2609,"type":14},{"name":19,"slug":20,"type":14},{"name":2696,"slug":2697,"type":14},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":2700,"name":2700,"fn":2701,"description":2702,"org":2703,"tags":2704,"stars":2709,"repoUrl":2710,"updatedAt":2711},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2705,2708],{"name":2706,"slug":2707,"type":14},"Deployment","deployment",{"name":2696,"slug":2697,"type":14},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":2713,"name":2713,"fn":2714,"description":2715,"org":2716,"tags":2717,"stars":2709,"repoUrl":2710,"updatedAt":2723},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2718,2721,2722],{"name":2719,"slug":2720,"type":14},"CLI","cli",{"name":2706,"slug":2707,"type":14},{"name":2696,"slug":2697,"type":14},"2026-07-17T06:08:41.84179",{"slug":2725,"name":2725,"fn":2726,"description":2727,"org":2728,"tags":2729,"stars":2709,"repoUrl":2710,"updatedAt":2742},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2730,2733,2736,2739],{"name":2731,"slug":2732,"type":14},"Best Practices","best-practices",{"name":2734,"slug":2735,"type":14},"Frontend","frontend",{"name":2737,"slug":2738,"type":14},"React","react",{"name":2740,"slug":2741,"type":14},"UI Components","ui-components","2026-07-17T06:05:40.576913",{"slug":2744,"name":2744,"fn":2745,"description":2746,"org":2747,"tags":2748,"stars":2709,"repoUrl":2710,"updatedAt":2757},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2749,2752,2753,2756],{"name":2750,"slug":2751,"type":14},"Cost Optimization","cost-optimization",{"name":2706,"slug":2707,"type":14},{"name":2754,"slug":2755,"type":14},"Performance","performance",{"name":2696,"slug":2697,"type":14},"2026-07-17T06:04:08.327515",100]