[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-nostics":3,"mdc--9wqujx-key":39,"related-repo-vercel-labs-nostics":3576,"related-org-vercel-labs-nostics":3594},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":34,"sourceUrl":37,"mdContent":38},"nostics","implement typed diagnostic codes in TypeScript","Structured diagnostic code library for JavaScript\u002FTypeScript. Turns errors and other conditions into typed, machine-readable `Diagnostic` instances with stable codes, docs URLs, and actionable fields. Use this skill whenever the project imports `nostics`, or works with `defineDiagnostics`\u002F`defineProdDiagnostics`, the `Diagnostic` class, diagnostic code registries, or structured error handling. Also covers reporters (`createConsoleReporter`, `createFetchReporter` from nostics\u002Freporters\u002Ffetch, `createFileReporter` from nostics\u002Freporters\u002Fnode, `createDevReporter` from nostics\u002Freporters\u002Fdev), formatters (`formatDiagnostic`, `ansiFormatter`, `jsonFormatter`), and Vite plugins (`nosticsStrip` from @nostics\u002Funplugin\u002Fstrip-transform, `nosticsCollector` from @nostics\u002Funplugin\u002Fdev-server-collector). Also use when migrating a library's existing `console.warn`\u002F`console.error`\u002F`warn()` helpers or thrown `Error`s to diagnostics: follow `references\u002Fmigration.md`.",{"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,16,19,22],{"name":13,"slug":14,"type":15},"TypeScript","typescript","tag",{"name":17,"slug":18,"type":15},"JavaScript","javascript",{"name":20,"slug":21,"type":15},"Code Analysis","code-analysis",{"name":23,"slug":24,"type":15},"Debugging","debugging",120,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fnostics","2026-07-20T05:57:38.711924","MIT",3,[31,32,33],"agents","dev","errors",{"repoUrl":26,"stars":25,"forks":29,"topics":35,"description":36},[31,32,33],"🩺 Errors that are worth reading","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fnostics\u002Ftree\u002FHEAD\u002Fskills\u002Fnostics","---\nname: nostics\ndescription: \"Structured diagnostic code library for JavaScript\u002FTypeScript. Turns errors and other conditions into typed, machine-readable `Diagnostic` instances with stable codes, docs URLs, and actionable fields. Use this skill whenever the project imports `nostics`, or works with `defineDiagnostics`\u002F`defineProdDiagnostics`, the `Diagnostic` class, diagnostic code registries, or structured error handling. Also covers reporters (`createConsoleReporter`, `createFetchReporter` from nostics\u002Freporters\u002Ffetch, `createFileReporter` from nostics\u002Freporters\u002Fnode, `createDevReporter` from nostics\u002Freporters\u002Fdev), formatters (`formatDiagnostic`, `ansiFormatter`, `jsonFormatter`), and Vite plugins (`nosticsStrip` from @nostics\u002Funplugin\u002Fstrip-transform, `nosticsCollector` from @nostics\u002Funplugin\u002Fdev-server-collector). Also use when migrating a library's existing `console.warn`\u002F`console.error`\u002F`warn()` helpers or thrown `Error`s to diagnostics: follow `references\u002Fmigration.md`.\"\nlicense: MIT\n---\n\n# nostics\n\nEvery error condition becomes a typed `Diagnostic` (extends `Error`) with a stable code, docs URL, and actionable `fix`. Serializable via `toJSON()`.\n\n`Diagnostic`: `name` (the code), `message`\u002F`why` (interpolated text), `fix?`, `docs?`, `sources?` (`'file:line:column'`), `cause?`, `toJSON()`. Throw it, catch it with `instanceof Diagnostic`, send `toJSON()` across process boundaries.\n\n## defineDiagnostics\n\nReturns one callable handle per code. Calling a handle builds a fresh `Diagnostic`, fires every reporter in order, and returns it. `throw` the return value to raise (reporters still run, so a thrown diagnostic also reports).\n\n```ts\nimport { createConsoleReporter, defineDiagnostics } from 'nostics'\n\nconst diagnostics = \u002F*#__PURE__*\u002F defineDiagnostics({\n  docsBase: (code) => `https:\u002F\u002Fnuxt.com\u002Fe\u002F${code.replace('NUXT_', '').toLowerCase()}`,\n  reporters: [\u002F*#__PURE__*\u002F createConsoleReporter()],\n  codes: {\n    NUXT_B1001: {\n      why: 'Could not compile template.',\n      fix: 'Check the template for syntax errors.',\n    },\n    NUXT_B2011: {\n      why: (p: { src: string }) => `Invalid plugin \"${p.src}\". src option is required.`,\n      fix: 'Pass a string path or an object with a `src` to `addPlugin()`.',\n    },\n    NUXT_W9001: { why: 'message', docs: false }, \u002F\u002F per-code: string overrides docsBase, false opts out\n  },\n})\n```\n\n- **`docsBase`** `string | (code) => string | undefined`: string appends `\u002F${code.toLowerCase()}`; function returns the full URL (or `undefined` to omit).\n- **`codes`**: each definition needs `why` (`string | (params) => string`, the only required field, becomes `Error.message`); optional `fix` (`string | (params) => string`) and `docs` (`string | false`).\n- **`reporters`**: fired on every call; optional. Their `options` types are intersected; required reporter options become required at the call site. Omit it (or pass `[]`) for a catalog whose codes are only ever `throw`n: the thrown `Diagnostic` already carries the message, so a console reporter would print it once and surface it again from the uncaught error, a visible duplicate. Keep report-only warnings and fatal throws in separate catalogs when one needs a reporter and the other does not.\n- **Param inference**: params from `why` and `fix` are intersected and required at the call site. If `why` needs `{ src }` and `fix` needs `{ date }`, the call requires `{ src, date }`.\n\n## Call sites\n\n```ts\ndiagnostics.NUXT_B1001() \u002F\u002F no params: report only\ndiagnostics.NUXT_B2011({ src: '\u002Fplugins\u002Fbad.ts' }) \u002F\u002F params first\ndiagnostics.NUXT_B2011({\n  src,\n  cause: originalError,\n  sources: ['nuxt.config.ts:42:3'],\n}) \u002F\u002F runtime fields merge in\ndiagnostics.NUXT_B2011({ src }, { method: 'error' }) \u002F\u002F reporter options second\nthrow diagnostics.NUXT_B2011({ src }) \u002F\u002F raise\n```\n\n`cause`\u002F`sources` go in the params object; `sources` matters most for build\u002Fconfig diagnostics where the JS stack points inside the library. Catch with `if (err instanceof Diagnostic)` then read `.name`, `.message`, `.fix`, `.docs`.\n\n## Reporters\n\n`(diagnostic: Diagnostic, options?: Opts) => void`. Declaring a required `options` type makes the second call-site argument required and typed.\n\n| Reporter                          | Import                    | Description                                                                                                                                                                            |\n| --------------------------------- | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createConsoleReporter(options?)` | `nostics`                 | `console[method](formatter(d))`. `method` defaults `'warn'` (`'log'\\|'warn'\\|'error'`), `formatter` defaults `formatDiagnostic`; both via options, `method` also overridable per call. |\n| `createFetchReporter(url)`        | `nostics\u002Freporters\u002Ffetch` | POSTs diagnostic JSON to the URL; failures swallowed.                                                                                                                                  |\n| `createFileReporter(options?)`    | `nostics\u002Freporters\u002Fnode`  | Appends NDJSON to a local file (default `.nostics.log`).                                                                                                                               |\n| `createDevReporter()`             | `nostics\u002Freporters\u002Fdev`   | Sends `toJSON()` to the Vite dev server via `import.meta.hot.send()`.                                                                                                                  |\n\n```ts\nimport type { DiagnosticReporter } from 'nostics'\nconst sentryReporter: DiagnosticReporter = (d) =>\n  sentry.captureMessage(d.message, { tags: { code: d.name } })\nconst audited: DiagnosticReporter\u003C{ priority: number }> = (d, o) =>\n  audit.log({ name: d.name, priority: o.priority })\n\u002F\u002F → audited makes diagnostics.X({...}, { priority: 1 }) required and type-checked.\n```\n\n## Formatters\n\n| Formatter               | Import                    | Description                                                                                                |\n| ----------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------- |\n| `formatDiagnostic`      | `nostics`                 | Plain unicode-decorated string (built-in reporters use it).                                                |\n| `ansiFormatter(colors)` | `nostics\u002Fformatters\u002Fansi` | Colorized; accepts a `Colors` interface (`red`\u002F`yellow`\u002F`cyan`\u002F`gray`\u002F`bold`\u002F`dim`, each `(s) => string`). |\n| `jsonFormatter`         | `nostics\u002Fformatters\u002Fjson` | `JSON.stringify(diagnostic)` via `toJSON()`.                                                               |\n\n`formatDiagnostic` output, detail order fixed `fix` → `sources` → `see`, missing fields omitted:\n\n```\n[NUXT_B2011] Invalid plugin `\u002Fplugins\u002Fbad.ts`. src option is required.\n├▶ fix: Pass a string path or an object with a `src` to `addPlugin()`.\n├▶ sources: nuxt.config.ts:42:3\n╰▶ see: https:\u002F\u002Fnuxt.com\u002Fe\u002Fb2011\n```\n\n## Vite plugins (`@nostics\u002Funplugin`, dev dependency)\n\n`@nostics\u002Funplugin\u002Fstrip-transform` (library authors, build optimization) and `@nostics\u002Funplugin\u002Fdev-server-collector` (app developers, dev-time collection). Both unplugin-based: `.vite()`, `.webpack()`, `.rollup()`, etc.\n\n- **`nosticsStrip`** marks `defineDiagnostics()` `\u002F*#__PURE__*\u002F` and wraps bare diagnostic expression statements with a `NODE_ENV` guard so they tree-shake out of production. Option `packageName?` (default `'nostics'`). Throws\u002Freturns\u002Fassignments stay (they are behavior). For tracking: relative imports, export the catalog directly, no factory wrappers or deep barrels.\n  - The plugin is optional. The same production output happens with no build transform if the catalog is annotated by hand: put `\u002F*#__PURE__*\u002F` before `defineDiagnostics(` and before each reporter factory call inside it (as in every example here), and dev-guard each report-only call site (`process.env.NODE_ENV !== 'production' && diagnostics.CODE(p)`). Always write the annotations in source; reach for the plugin when report-only call sites are unguarded and you want stripping without touching them.\n- **`nosticsCollector`** listens for `createDevReporter()` diagnostics over the Vite WebSocket and writes them as NDJSON via `createFileReporter`. Vite-only. Options `logFile?` (default `.nostics.log`), `debug?` (default `!!process.env.DEBUG`).\n\n```ts\n\u002F\u002F vite.config.ts\nimport { nosticsStrip } from '@nostics\u002Funplugin\u002Fstrip-transform'\nimport { nosticsCollector } from '@nostics\u002Funplugin\u002Fdev-server-collector'\nexport default defineConfig({\n  plugins: [nosticsStrip.vite(), nosticsCollector.vite()],\n})\n\n\u002F\u002F src\u002Fdiagnostics.ts — pair the collector with createDevReporter()\nimport { createConsoleReporter, defineDiagnostics } from 'nostics'\nimport { createDevReporter } from 'nostics\u002Freporters\u002Fdev'\nexport const diagnostics = \u002F*#__PURE__*\u002F defineDiagnostics({\n  reporters: [\u002F*#__PURE__*\u002F createConsoleReporter(), \u002F*#__PURE__*\u002F createDevReporter()],\n  codes: {\n    \u002F* ... *\u002F\n  },\n})\n```\n\n## Production builds\n\n- **Report-only** diagnostics (bare `diagnostics.X()`) should disappear: `nosticsStrip` or hand annotations drop them, then the unused catalog tree-shakes.\n- **Surviving** diagnostics (`throw`\u002F`return`\u002Fassigned\u002Fargument) stay, and each keeps the _whole_ catalog reachable, so every `why`\u002F`fix` ships. Not every library throws in production: if yours only reports, stripping is enough, stop here.\n\nWhen a library _does_ `throw` in production, pick `defineProdDiagnostics` at definition time with a `NODE_ENV` ternary, so a consumer bundler drops the dev branch (all catalog text):\n\n```ts\nimport { defineDiagnostics, defineProdDiagnostics } from 'nostics'\nexport const diagnostics =\n  process.env.NODE_ENV === 'production'\n    ? \u002F*#__PURE__*\u002F defineProdDiagnostics({ docsBase })\n    : \u002F*#__PURE__*\u002F defineDiagnostics({\n        docsBase,\n        reporters: [\n          \u002F* ... *\u002F\n        ],\n        codes: {\n          \u002F* text *\u002F\n        },\n      })\n```\n\nThe accessed code becomes the instance `name`, `docs` still derives from `docsBase`, `why` points to the docs URL when one exists (empty otherwise), no `why`\u002F`fix` text ships. No `reporters` by default (so a surviving `throw` doesn't also log and then resurface as the uncaught error); pass `reporters` to keep prod telemetry. `nosticsStrip` tracks this ternary like a direct catalog export.\n\n## Conventions\n\n- **Codes** are stable, fully-qualified `PREFIX_XNNNN` (`B` build, `R` runtime, `C` config, `D` deprecation). Never reuse or reassign a published code.\n- Always provide `why`; provide `fix` whenever the solution is known (the most actionable field for humans and agents). Use parameterized templates for runtime values, not string concatenation outside the factory.\n- **`why` is the diagnosis, `fix` is the remedy — split them, don't overlap them.** `why` states only what is wrong; `fix` states only what to do. The reporter prints both, so any wording that appears in both is dead weight. When a single source sentence carries both (`\"A hash must start with '#'. Prefix it with '#'.\"`), cut it in two — diagnosis to `why`, remedy to `fix` — rather than pasting the whole thing into `why` and echoing it in `fix`. `fix` accepts a param function too (`(p) => ...`), so move value-bearing remedies (`use \"#${p.hash}\"`) into it instead of leaving them in `why`.\n- Pass `cause` when re-raising; pass `sources` when the JS stack doesn't reflect the user's source.\n- Split large catalogs by domain (`diagnostics\u002Fbuild.ts`, `runtime.ts`, `config.ts`, re-exported from `index.ts`), each `defineDiagnostics()` sharing `docsBase` with its own code range.\n\n## References\n\n- **Migrating an existing library** to nostics (replacing `console.warn`\u002F`console.error`\u002F`warn()`\u002Fthrown `Error`s with diagnostic codes, without changing runtime behavior): follow `references\u002Fmigration.md` start to finish.\n- Building the error-code documentation site (page template, deployment, agent optimization): `references\u002Fdocumentation-site.md`.\n",{"data":40,"body":41},{"name":4,"description":6,"license":28},{"type":42,"children":43},"root",[44,51,90,184,191,211,828,1039,1045,1366,1427,1432,1450,1657,1994,2000,2171,2202,2212,2226,2267,2409,2805,2811,2884,2917,3186,3258,3264,3502,3508,3570],{"type":45,"tag":46,"props":47,"children":48},"element","h1",{"id":4},[49],{"type":50,"value":4},"text",{"type":45,"tag":52,"props":53,"children":54},"p",{},[55,57,64,66,72,74,80,82,88],{"type":50,"value":56},"Every error condition becomes a typed ",{"type":45,"tag":58,"props":59,"children":61},"code",{"className":60},[],[62],{"type":50,"value":63},"Diagnostic",{"type":50,"value":65}," (extends ",{"type":45,"tag":58,"props":67,"children":69},{"className":68},[],[70],{"type":50,"value":71},"Error",{"type":50,"value":73},") with a stable code, docs URL, and actionable ",{"type":45,"tag":58,"props":75,"children":77},{"className":76},[],[78],{"type":50,"value":79},"fix",{"type":50,"value":81},". Serializable via ",{"type":45,"tag":58,"props":83,"children":85},{"className":84},[],[86],{"type":50,"value":87},"toJSON()",{"type":50,"value":89},".",{"type":45,"tag":52,"props":91,"children":92},{},[93,98,100,106,108,114,116,122,124,130,132,138,139,145,147,153,155,161,162,167,169,175,177,182],{"type":45,"tag":58,"props":94,"children":96},{"className":95},[],[97],{"type":50,"value":63},{"type":50,"value":99},": ",{"type":45,"tag":58,"props":101,"children":103},{"className":102},[],[104],{"type":50,"value":105},"name",{"type":50,"value":107}," (the code), ",{"type":45,"tag":58,"props":109,"children":111},{"className":110},[],[112],{"type":50,"value":113},"message",{"type":50,"value":115},"\u002F",{"type":45,"tag":58,"props":117,"children":119},{"className":118},[],[120],{"type":50,"value":121},"why",{"type":50,"value":123}," (interpolated text), ",{"type":45,"tag":58,"props":125,"children":127},{"className":126},[],[128],{"type":50,"value":129},"fix?",{"type":50,"value":131},", ",{"type":45,"tag":58,"props":133,"children":135},{"className":134},[],[136],{"type":50,"value":137},"docs?",{"type":50,"value":131},{"type":45,"tag":58,"props":140,"children":142},{"className":141},[],[143],{"type":50,"value":144},"sources?",{"type":50,"value":146}," (",{"type":45,"tag":58,"props":148,"children":150},{"className":149},[],[151],{"type":50,"value":152},"'file:line:column'",{"type":50,"value":154},"), ",{"type":45,"tag":58,"props":156,"children":158},{"className":157},[],[159],{"type":50,"value":160},"cause?",{"type":50,"value":131},{"type":45,"tag":58,"props":163,"children":165},{"className":164},[],[166],{"type":50,"value":87},{"type":50,"value":168},". Throw it, catch it with ",{"type":45,"tag":58,"props":170,"children":172},{"className":171},[],[173],{"type":50,"value":174},"instanceof Diagnostic",{"type":50,"value":176},", send ",{"type":45,"tag":58,"props":178,"children":180},{"className":179},[],[181],{"type":50,"value":87},{"type":50,"value":183}," across process boundaries.",{"type":45,"tag":185,"props":186,"children":188},"h2",{"id":187},"definediagnostics",[189],{"type":50,"value":190},"defineDiagnostics",{"type":45,"tag":52,"props":192,"children":193},{},[194,196,201,203,209],{"type":50,"value":195},"Returns one callable handle per code. Calling a handle builds a fresh ",{"type":45,"tag":58,"props":197,"children":199},{"className":198},[],[200],{"type":50,"value":63},{"type":50,"value":202},", fires every reporter in order, and returns it. ",{"type":45,"tag":58,"props":204,"children":206},{"className":205},[],[207],{"type":50,"value":208},"throw",{"type":50,"value":210}," the return value to raise (reporters still run, so a thrown diagnostic also reports).",{"type":45,"tag":212,"props":213,"children":218},"pre",{"className":214,"code":215,"language":216,"meta":217,"style":217},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createConsoleReporter, defineDiagnostics } from 'nostics'\n\nconst diagnostics = \u002F*#__PURE__*\u002F defineDiagnostics({\n  docsBase: (code) => `https:\u002F\u002Fnuxt.com\u002Fe\u002F${code.replace('NUXT_', '').toLowerCase()}`,\n  reporters: [\u002F*#__PURE__*\u002F createConsoleReporter()],\n  codes: {\n    NUXT_B1001: {\n      why: 'Could not compile template.',\n      fix: 'Check the template for syntax errors.',\n    },\n    NUXT_B2011: {\n      why: (p: { src: string }) => `Invalid plugin \"${p.src}\". src option is required.`,\n      fix: 'Pass a string path or an object with a `src` to `addPlugin()`.',\n    },\n    NUXT_W9001: { why: 'message', docs: false }, \u002F\u002F per-code: string overrides docsBase, false opts out\n  },\n})\n","ts","",[219],{"type":45,"tag":58,"props":220,"children":221},{"__ignoreMap":217},[222,281,291,331,447,484,502,519,549,579,588,605,702,731,739,806,815],{"type":45,"tag":223,"props":224,"children":227},"span",{"class":225,"line":226},"line",1,[228,234,240,246,251,256,261,266,271,276],{"type":45,"tag":223,"props":229,"children":231},{"style":230},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[232],{"type":50,"value":233},"import",{"type":45,"tag":223,"props":235,"children":237},{"style":236},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[238],{"type":50,"value":239}," {",{"type":45,"tag":223,"props":241,"children":243},{"style":242},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[244],{"type":50,"value":245}," createConsoleReporter",{"type":45,"tag":223,"props":247,"children":248},{"style":236},[249],{"type":50,"value":250},",",{"type":45,"tag":223,"props":252,"children":253},{"style":242},[254],{"type":50,"value":255}," defineDiagnostics",{"type":45,"tag":223,"props":257,"children":258},{"style":236},[259],{"type":50,"value":260}," }",{"type":45,"tag":223,"props":262,"children":263},{"style":230},[264],{"type":50,"value":265}," from",{"type":45,"tag":223,"props":267,"children":268},{"style":236},[269],{"type":50,"value":270}," '",{"type":45,"tag":223,"props":272,"children":274},{"style":273},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[275],{"type":50,"value":4},{"type":45,"tag":223,"props":277,"children":278},{"style":236},[279],{"type":50,"value":280},"'\n",{"type":45,"tag":223,"props":282,"children":284},{"class":225,"line":283},2,[285],{"type":45,"tag":223,"props":286,"children":288},{"emptyLinePlaceholder":287},true,[289],{"type":50,"value":290},"\n",{"type":45,"tag":223,"props":292,"children":293},{"class":225,"line":29},[294,300,305,310,316,321,326],{"type":45,"tag":223,"props":295,"children":297},{"style":296},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[298],{"type":50,"value":299},"const",{"type":45,"tag":223,"props":301,"children":302},{"style":242},[303],{"type":50,"value":304}," diagnostics ",{"type":45,"tag":223,"props":306,"children":307},{"style":236},[308],{"type":50,"value":309},"=",{"type":45,"tag":223,"props":311,"children":313},{"style":312},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[314],{"type":50,"value":315}," \u002F*#__PURE__*\u002F",{"type":45,"tag":223,"props":317,"children":319},{"style":318},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[320],{"type":50,"value":255},{"type":45,"tag":223,"props":322,"children":323},{"style":242},[324],{"type":50,"value":325},"(",{"type":45,"tag":223,"props":327,"children":328},{"style":236},[329],{"type":50,"value":330},"{\n",{"type":45,"tag":223,"props":332,"children":334},{"class":225,"line":333},4,[335,340,345,349,354,359,364,369,374,379,383,387,392,396,401,406,410,414,419,423,427,432,437,442],{"type":45,"tag":223,"props":336,"children":337},{"style":318},[338],{"type":50,"value":339},"  docsBase",{"type":45,"tag":223,"props":341,"children":342},{"style":236},[343],{"type":50,"value":344},":",{"type":45,"tag":223,"props":346,"children":347},{"style":236},[348],{"type":50,"value":146},{"type":45,"tag":223,"props":350,"children":352},{"style":351},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[353],{"type":50,"value":58},{"type":45,"tag":223,"props":355,"children":356},{"style":236},[357],{"type":50,"value":358},")",{"type":45,"tag":223,"props":360,"children":361},{"style":296},[362],{"type":50,"value":363}," =>",{"type":45,"tag":223,"props":365,"children":366},{"style":236},[367],{"type":50,"value":368}," `",{"type":45,"tag":223,"props":370,"children":371},{"style":273},[372],{"type":50,"value":373},"https:\u002F\u002Fnuxt.com\u002Fe\u002F",{"type":45,"tag":223,"props":375,"children":376},{"style":236},[377],{"type":50,"value":378},"${",{"type":45,"tag":223,"props":380,"children":381},{"style":242},[382],{"type":50,"value":58},{"type":45,"tag":223,"props":384,"children":385},{"style":236},[386],{"type":50,"value":89},{"type":45,"tag":223,"props":388,"children":389},{"style":318},[390],{"type":50,"value":391},"replace",{"type":45,"tag":223,"props":393,"children":394},{"style":242},[395],{"type":50,"value":325},{"type":45,"tag":223,"props":397,"children":398},{"style":236},[399],{"type":50,"value":400},"'",{"type":45,"tag":223,"props":402,"children":403},{"style":273},[404],{"type":50,"value":405},"NUXT_",{"type":45,"tag":223,"props":407,"children":408},{"style":236},[409],{"type":50,"value":400},{"type":45,"tag":223,"props":411,"children":412},{"style":236},[413],{"type":50,"value":250},{"type":45,"tag":223,"props":415,"children":416},{"style":236},[417],{"type":50,"value":418}," ''",{"type":45,"tag":223,"props":420,"children":421},{"style":242},[422],{"type":50,"value":358},{"type":45,"tag":223,"props":424,"children":425},{"style":236},[426],{"type":50,"value":89},{"type":45,"tag":223,"props":428,"children":429},{"style":318},[430],{"type":50,"value":431},"toLowerCase",{"type":45,"tag":223,"props":433,"children":434},{"style":242},[435],{"type":50,"value":436},"()",{"type":45,"tag":223,"props":438,"children":439},{"style":236},[440],{"type":50,"value":441},"}`",{"type":45,"tag":223,"props":443,"children":444},{"style":236},[445],{"type":50,"value":446},",\n",{"type":45,"tag":223,"props":448,"children":450},{"class":225,"line":449},5,[451,457,461,466,471,475,480],{"type":45,"tag":223,"props":452,"children":454},{"style":453},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[455],{"type":50,"value":456},"  reporters",{"type":45,"tag":223,"props":458,"children":459},{"style":236},[460],{"type":50,"value":344},{"type":45,"tag":223,"props":462,"children":463},{"style":242},[464],{"type":50,"value":465}," [",{"type":45,"tag":223,"props":467,"children":468},{"style":312},[469],{"type":50,"value":470},"\u002F*#__PURE__*\u002F",{"type":45,"tag":223,"props":472,"children":473},{"style":318},[474],{"type":50,"value":245},{"type":45,"tag":223,"props":476,"children":477},{"style":242},[478],{"type":50,"value":479},"()]",{"type":45,"tag":223,"props":481,"children":482},{"style":236},[483],{"type":50,"value":446},{"type":45,"tag":223,"props":485,"children":487},{"class":225,"line":486},6,[488,493,497],{"type":45,"tag":223,"props":489,"children":490},{"style":453},[491],{"type":50,"value":492},"  codes",{"type":45,"tag":223,"props":494,"children":495},{"style":236},[496],{"type":50,"value":344},{"type":45,"tag":223,"props":498,"children":499},{"style":236},[500],{"type":50,"value":501}," {\n",{"type":45,"tag":223,"props":503,"children":505},{"class":225,"line":504},7,[506,511,515],{"type":45,"tag":223,"props":507,"children":508},{"style":453},[509],{"type":50,"value":510},"    NUXT_B1001",{"type":45,"tag":223,"props":512,"children":513},{"style":236},[514],{"type":50,"value":344},{"type":45,"tag":223,"props":516,"children":517},{"style":236},[518],{"type":50,"value":501},{"type":45,"tag":223,"props":520,"children":522},{"class":225,"line":521},8,[523,528,532,536,541,545],{"type":45,"tag":223,"props":524,"children":525},{"style":453},[526],{"type":50,"value":527},"      why",{"type":45,"tag":223,"props":529,"children":530},{"style":236},[531],{"type":50,"value":344},{"type":45,"tag":223,"props":533,"children":534},{"style":236},[535],{"type":50,"value":270},{"type":45,"tag":223,"props":537,"children":538},{"style":273},[539],{"type":50,"value":540},"Could not compile template.",{"type":45,"tag":223,"props":542,"children":543},{"style":236},[544],{"type":50,"value":400},{"type":45,"tag":223,"props":546,"children":547},{"style":236},[548],{"type":50,"value":446},{"type":45,"tag":223,"props":550,"children":552},{"class":225,"line":551},9,[553,558,562,566,571,575],{"type":45,"tag":223,"props":554,"children":555},{"style":453},[556],{"type":50,"value":557},"      fix",{"type":45,"tag":223,"props":559,"children":560},{"style":236},[561],{"type":50,"value":344},{"type":45,"tag":223,"props":563,"children":564},{"style":236},[565],{"type":50,"value":270},{"type":45,"tag":223,"props":567,"children":568},{"style":273},[569],{"type":50,"value":570},"Check the template for syntax errors.",{"type":45,"tag":223,"props":572,"children":573},{"style":236},[574],{"type":50,"value":400},{"type":45,"tag":223,"props":576,"children":577},{"style":236},[578],{"type":50,"value":446},{"type":45,"tag":223,"props":580,"children":582},{"class":225,"line":581},10,[583],{"type":45,"tag":223,"props":584,"children":585},{"style":236},[586],{"type":50,"value":587},"    },\n",{"type":45,"tag":223,"props":589,"children":591},{"class":225,"line":590},11,[592,597,601],{"type":45,"tag":223,"props":593,"children":594},{"style":453},[595],{"type":50,"value":596},"    NUXT_B2011",{"type":45,"tag":223,"props":598,"children":599},{"style":236},[600],{"type":50,"value":344},{"type":45,"tag":223,"props":602,"children":603},{"style":236},[604],{"type":50,"value":501},{"type":45,"tag":223,"props":606,"children":608},{"class":225,"line":607},12,[609,613,617,621,625,629,633,638,642,648,653,657,661,666,670,674,678,683,688,693,698],{"type":45,"tag":223,"props":610,"children":611},{"style":318},[612],{"type":50,"value":527},{"type":45,"tag":223,"props":614,"children":615},{"style":236},[616],{"type":50,"value":344},{"type":45,"tag":223,"props":618,"children":619},{"style":236},[620],{"type":50,"value":146},{"type":45,"tag":223,"props":622,"children":623},{"style":351},[624],{"type":50,"value":52},{"type":45,"tag":223,"props":626,"children":627},{"style":236},[628],{"type":50,"value":344},{"type":45,"tag":223,"props":630,"children":631},{"style":236},[632],{"type":50,"value":239},{"type":45,"tag":223,"props":634,"children":635},{"style":453},[636],{"type":50,"value":637}," src",{"type":45,"tag":223,"props":639,"children":640},{"style":236},[641],{"type":50,"value":344},{"type":45,"tag":223,"props":643,"children":645},{"style":644},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[646],{"type":50,"value":647}," string",{"type":45,"tag":223,"props":649,"children":650},{"style":236},[651],{"type":50,"value":652}," })",{"type":45,"tag":223,"props":654,"children":655},{"style":296},[656],{"type":50,"value":363},{"type":45,"tag":223,"props":658,"children":659},{"style":236},[660],{"type":50,"value":368},{"type":45,"tag":223,"props":662,"children":663},{"style":273},[664],{"type":50,"value":665},"Invalid plugin \"",{"type":45,"tag":223,"props":667,"children":668},{"style":236},[669],{"type":50,"value":378},{"type":45,"tag":223,"props":671,"children":672},{"style":242},[673],{"type":50,"value":52},{"type":45,"tag":223,"props":675,"children":676},{"style":236},[677],{"type":50,"value":89},{"type":45,"tag":223,"props":679,"children":680},{"style":242},[681],{"type":50,"value":682},"src",{"type":45,"tag":223,"props":684,"children":685},{"style":236},[686],{"type":50,"value":687},"}",{"type":45,"tag":223,"props":689,"children":690},{"style":273},[691],{"type":50,"value":692},"\". src option is required.",{"type":45,"tag":223,"props":694,"children":695},{"style":236},[696],{"type":50,"value":697},"`",{"type":45,"tag":223,"props":699,"children":700},{"style":236},[701],{"type":50,"value":446},{"type":45,"tag":223,"props":703,"children":705},{"class":225,"line":704},13,[706,710,714,718,723,727],{"type":45,"tag":223,"props":707,"children":708},{"style":453},[709],{"type":50,"value":557},{"type":45,"tag":223,"props":711,"children":712},{"style":236},[713],{"type":50,"value":344},{"type":45,"tag":223,"props":715,"children":716},{"style":236},[717],{"type":50,"value":270},{"type":45,"tag":223,"props":719,"children":720},{"style":273},[721],{"type":50,"value":722},"Pass a string path or an object with a `src` to `addPlugin()`.",{"type":45,"tag":223,"props":724,"children":725},{"style":236},[726],{"type":50,"value":400},{"type":45,"tag":223,"props":728,"children":729},{"style":236},[730],{"type":50,"value":446},{"type":45,"tag":223,"props":732,"children":734},{"class":225,"line":733},14,[735],{"type":45,"tag":223,"props":736,"children":737},{"style":236},[738],{"type":50,"value":587},{"type":45,"tag":223,"props":740,"children":742},{"class":225,"line":741},15,[743,748,752,756,761,765,769,773,777,781,786,790,796,801],{"type":45,"tag":223,"props":744,"children":745},{"style":453},[746],{"type":50,"value":747},"    NUXT_W9001",{"type":45,"tag":223,"props":749,"children":750},{"style":236},[751],{"type":50,"value":344},{"type":45,"tag":223,"props":753,"children":754},{"style":236},[755],{"type":50,"value":239},{"type":45,"tag":223,"props":757,"children":758},{"style":453},[759],{"type":50,"value":760}," why",{"type":45,"tag":223,"props":762,"children":763},{"style":236},[764],{"type":50,"value":344},{"type":45,"tag":223,"props":766,"children":767},{"style":236},[768],{"type":50,"value":270},{"type":45,"tag":223,"props":770,"children":771},{"style":273},[772],{"type":50,"value":113},{"type":45,"tag":223,"props":774,"children":775},{"style":236},[776],{"type":50,"value":400},{"type":45,"tag":223,"props":778,"children":779},{"style":236},[780],{"type":50,"value":250},{"type":45,"tag":223,"props":782,"children":783},{"style":453},[784],{"type":50,"value":785}," docs",{"type":45,"tag":223,"props":787,"children":788},{"style":236},[789],{"type":50,"value":344},{"type":45,"tag":223,"props":791,"children":793},{"style":792},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[794],{"type":50,"value":795}," false",{"type":45,"tag":223,"props":797,"children":798},{"style":236},[799],{"type":50,"value":800}," },",{"type":45,"tag":223,"props":802,"children":803},{"style":312},[804],{"type":50,"value":805}," \u002F\u002F per-code: string overrides docsBase, false opts out\n",{"type":45,"tag":223,"props":807,"children":809},{"class":225,"line":808},16,[810],{"type":45,"tag":223,"props":811,"children":812},{"style":236},[813],{"type":50,"value":814},"  },\n",{"type":45,"tag":223,"props":816,"children":818},{"class":225,"line":817},17,[819,823],{"type":45,"tag":223,"props":820,"children":821},{"style":236},[822],{"type":50,"value":687},{"type":45,"tag":223,"props":824,"children":825},{"style":242},[826],{"type":50,"value":827},")\n",{"type":45,"tag":829,"props":830,"children":831},"ul",{},[832,872,936,980],{"type":45,"tag":833,"props":834,"children":835},"li",{},[836,846,848,854,856,862,864,870],{"type":45,"tag":837,"props":838,"children":839},"strong",{},[840],{"type":45,"tag":58,"props":841,"children":843},{"className":842},[],[844],{"type":50,"value":845},"docsBase",{"type":50,"value":847}," ",{"type":45,"tag":58,"props":849,"children":851},{"className":850},[],[852],{"type":50,"value":853},"string | (code) => string | undefined",{"type":50,"value":855},": string appends ",{"type":45,"tag":58,"props":857,"children":859},{"className":858},[],[860],{"type":50,"value":861},"\u002F${code.toLowerCase()}",{"type":50,"value":863},"; function returns the full URL (or ",{"type":45,"tag":58,"props":865,"children":867},{"className":866},[],[868],{"type":50,"value":869},"undefined",{"type":50,"value":871}," to omit).",{"type":45,"tag":833,"props":873,"children":874},{},[875,884,886,891,892,898,900,906,908,913,914,919,921,927,928,934],{"type":45,"tag":837,"props":876,"children":877},{},[878],{"type":45,"tag":58,"props":879,"children":881},{"className":880},[],[882],{"type":50,"value":883},"codes",{"type":50,"value":885},": each definition needs ",{"type":45,"tag":58,"props":887,"children":889},{"className":888},[],[890],{"type":50,"value":121},{"type":50,"value":146},{"type":45,"tag":58,"props":893,"children":895},{"className":894},[],[896],{"type":50,"value":897},"string | (params) => string",{"type":50,"value":899},", the only required field, becomes ",{"type":45,"tag":58,"props":901,"children":903},{"className":902},[],[904],{"type":50,"value":905},"Error.message",{"type":50,"value":907},"); optional ",{"type":45,"tag":58,"props":909,"children":911},{"className":910},[],[912],{"type":50,"value":79},{"type":50,"value":146},{"type":45,"tag":58,"props":915,"children":917},{"className":916},[],[918],{"type":50,"value":897},{"type":50,"value":920},") and ",{"type":45,"tag":58,"props":922,"children":924},{"className":923},[],[925],{"type":50,"value":926},"docs",{"type":50,"value":146},{"type":45,"tag":58,"props":929,"children":931},{"className":930},[],[932],{"type":50,"value":933},"string | false",{"type":50,"value":935},").",{"type":45,"tag":833,"props":937,"children":938},{},[939,948,950,956,958,964,966,971,973,978],{"type":45,"tag":837,"props":940,"children":941},{},[942],{"type":45,"tag":58,"props":943,"children":945},{"className":944},[],[946],{"type":50,"value":947},"reporters",{"type":50,"value":949},": fired on every call; optional. Their ",{"type":45,"tag":58,"props":951,"children":953},{"className":952},[],[954],{"type":50,"value":955},"options",{"type":50,"value":957}," types are intersected; required reporter options become required at the call site. Omit it (or pass ",{"type":45,"tag":58,"props":959,"children":961},{"className":960},[],[962],{"type":50,"value":963},"[]",{"type":50,"value":965},") for a catalog whose codes are only ever ",{"type":45,"tag":58,"props":967,"children":969},{"className":968},[],[970],{"type":50,"value":208},{"type":50,"value":972},"n: the thrown ",{"type":45,"tag":58,"props":974,"children":976},{"className":975},[],[977],{"type":50,"value":63},{"type":50,"value":979}," already carries the message, so a console reporter would print it once and surface it again from the uncaught error, a visible duplicate. Keep report-only warnings and fatal throws in separate catalogs when one needs a reporter and the other does not.",{"type":45,"tag":833,"props":981,"children":982},{},[983,988,990,995,997,1002,1004,1009,1011,1017,1018,1023,1024,1030,1032,1038],{"type":45,"tag":837,"props":984,"children":985},{},[986],{"type":50,"value":987},"Param inference",{"type":50,"value":989},": params from ",{"type":45,"tag":58,"props":991,"children":993},{"className":992},[],[994],{"type":50,"value":121},{"type":50,"value":996}," and ",{"type":45,"tag":58,"props":998,"children":1000},{"className":999},[],[1001],{"type":50,"value":79},{"type":50,"value":1003}," are intersected and required at the call site. If ",{"type":45,"tag":58,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":50,"value":121},{"type":50,"value":1010}," needs ",{"type":45,"tag":58,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":50,"value":1016},"{ src }",{"type":50,"value":996},{"type":45,"tag":58,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":50,"value":79},{"type":50,"value":1010},{"type":45,"tag":58,"props":1025,"children":1027},{"className":1026},[],[1028],{"type":50,"value":1029},"{ date }",{"type":50,"value":1031},", the call requires ",{"type":45,"tag":58,"props":1033,"children":1035},{"className":1034},[],[1036],{"type":50,"value":1037},"{ src, date }",{"type":50,"value":89},{"type":45,"tag":185,"props":1040,"children":1042},{"id":1041},"call-sites",[1043],{"type":50,"value":1044},"Call sites",{"type":45,"tag":212,"props":1046,"children":1048},{"className":214,"code":1047,"language":216,"meta":217,"style":217},"diagnostics.NUXT_B1001() \u002F\u002F no params: report only\ndiagnostics.NUXT_B2011({ src: '\u002Fplugins\u002Fbad.ts' }) \u002F\u002F params first\ndiagnostics.NUXT_B2011({\n  src,\n  cause: originalError,\n  sources: ['nuxt.config.ts:42:3'],\n}) \u002F\u002F runtime fields merge in\ndiagnostics.NUXT_B2011({ src }, { method: 'error' }) \u002F\u002F reporter options second\nthrow diagnostics.NUXT_B2011({ src }) \u002F\u002F raise\n",[1049],{"type":45,"tag":58,"props":1050,"children":1051},{"__ignoreMap":217},[1052,1079,1139,1162,1174,1195,1233,1249,1321],{"type":45,"tag":223,"props":1053,"children":1054},{"class":225,"line":226},[1055,1060,1064,1069,1074],{"type":45,"tag":223,"props":1056,"children":1057},{"style":242},[1058],{"type":50,"value":1059},"diagnostics",{"type":45,"tag":223,"props":1061,"children":1062},{"style":236},[1063],{"type":50,"value":89},{"type":45,"tag":223,"props":1065,"children":1066},{"style":318},[1067],{"type":50,"value":1068},"NUXT_B1001",{"type":45,"tag":223,"props":1070,"children":1071},{"style":242},[1072],{"type":50,"value":1073},"() ",{"type":45,"tag":223,"props":1075,"children":1076},{"style":312},[1077],{"type":50,"value":1078},"\u002F\u002F no params: report only\n",{"type":45,"tag":223,"props":1080,"children":1081},{"class":225,"line":283},[1082,1086,1090,1095,1099,1104,1108,1112,1116,1121,1125,1129,1134],{"type":45,"tag":223,"props":1083,"children":1084},{"style":242},[1085],{"type":50,"value":1059},{"type":45,"tag":223,"props":1087,"children":1088},{"style":236},[1089],{"type":50,"value":89},{"type":45,"tag":223,"props":1091,"children":1092},{"style":318},[1093],{"type":50,"value":1094},"NUXT_B2011",{"type":45,"tag":223,"props":1096,"children":1097},{"style":242},[1098],{"type":50,"value":325},{"type":45,"tag":223,"props":1100,"children":1101},{"style":236},[1102],{"type":50,"value":1103},"{",{"type":45,"tag":223,"props":1105,"children":1106},{"style":453},[1107],{"type":50,"value":637},{"type":45,"tag":223,"props":1109,"children":1110},{"style":236},[1111],{"type":50,"value":344},{"type":45,"tag":223,"props":1113,"children":1114},{"style":236},[1115],{"type":50,"value":270},{"type":45,"tag":223,"props":1117,"children":1118},{"style":273},[1119],{"type":50,"value":1120},"\u002Fplugins\u002Fbad.ts",{"type":45,"tag":223,"props":1122,"children":1123},{"style":236},[1124],{"type":50,"value":400},{"type":45,"tag":223,"props":1126,"children":1127},{"style":236},[1128],{"type":50,"value":260},{"type":45,"tag":223,"props":1130,"children":1131},{"style":242},[1132],{"type":50,"value":1133},") ",{"type":45,"tag":223,"props":1135,"children":1136},{"style":312},[1137],{"type":50,"value":1138},"\u002F\u002F params first\n",{"type":45,"tag":223,"props":1140,"children":1141},{"class":225,"line":29},[1142,1146,1150,1154,1158],{"type":45,"tag":223,"props":1143,"children":1144},{"style":242},[1145],{"type":50,"value":1059},{"type":45,"tag":223,"props":1147,"children":1148},{"style":236},[1149],{"type":50,"value":89},{"type":45,"tag":223,"props":1151,"children":1152},{"style":318},[1153],{"type":50,"value":1094},{"type":45,"tag":223,"props":1155,"children":1156},{"style":242},[1157],{"type":50,"value":325},{"type":45,"tag":223,"props":1159,"children":1160},{"style":236},[1161],{"type":50,"value":330},{"type":45,"tag":223,"props":1163,"children":1164},{"class":225,"line":333},[1165,1170],{"type":45,"tag":223,"props":1166,"children":1167},{"style":242},[1168],{"type":50,"value":1169},"  src",{"type":45,"tag":223,"props":1171,"children":1172},{"style":236},[1173],{"type":50,"value":446},{"type":45,"tag":223,"props":1175,"children":1176},{"class":225,"line":449},[1177,1182,1186,1191],{"type":45,"tag":223,"props":1178,"children":1179},{"style":453},[1180],{"type":50,"value":1181},"  cause",{"type":45,"tag":223,"props":1183,"children":1184},{"style":236},[1185],{"type":50,"value":344},{"type":45,"tag":223,"props":1187,"children":1188},{"style":242},[1189],{"type":50,"value":1190}," originalError",{"type":45,"tag":223,"props":1192,"children":1193},{"style":236},[1194],{"type":50,"value":446},{"type":45,"tag":223,"props":1196,"children":1197},{"class":225,"line":486},[1198,1203,1207,1211,1215,1220,1224,1229],{"type":45,"tag":223,"props":1199,"children":1200},{"style":453},[1201],{"type":50,"value":1202},"  sources",{"type":45,"tag":223,"props":1204,"children":1205},{"style":236},[1206],{"type":50,"value":344},{"type":45,"tag":223,"props":1208,"children":1209},{"style":242},[1210],{"type":50,"value":465},{"type":45,"tag":223,"props":1212,"children":1213},{"style":236},[1214],{"type":50,"value":400},{"type":45,"tag":223,"props":1216,"children":1217},{"style":273},[1218],{"type":50,"value":1219},"nuxt.config.ts:42:3",{"type":45,"tag":223,"props":1221,"children":1222},{"style":236},[1223],{"type":50,"value":400},{"type":45,"tag":223,"props":1225,"children":1226},{"style":242},[1227],{"type":50,"value":1228},"]",{"type":45,"tag":223,"props":1230,"children":1231},{"style":236},[1232],{"type":50,"value":446},{"type":45,"tag":223,"props":1234,"children":1235},{"class":225,"line":504},[1236,1240,1244],{"type":45,"tag":223,"props":1237,"children":1238},{"style":236},[1239],{"type":50,"value":687},{"type":45,"tag":223,"props":1241,"children":1242},{"style":242},[1243],{"type":50,"value":1133},{"type":45,"tag":223,"props":1245,"children":1246},{"style":312},[1247],{"type":50,"value":1248},"\u002F\u002F runtime fields merge in\n",{"type":45,"tag":223,"props":1250,"children":1251},{"class":225,"line":521},[1252,1256,1260,1264,1268,1272,1277,1282,1286,1291,1295,1299,1304,1308,1312,1316],{"type":45,"tag":223,"props":1253,"children":1254},{"style":242},[1255],{"type":50,"value":1059},{"type":45,"tag":223,"props":1257,"children":1258},{"style":236},[1259],{"type":50,"value":89},{"type":45,"tag":223,"props":1261,"children":1262},{"style":318},[1263],{"type":50,"value":1094},{"type":45,"tag":223,"props":1265,"children":1266},{"style":242},[1267],{"type":50,"value":325},{"type":45,"tag":223,"props":1269,"children":1270},{"style":236},[1271],{"type":50,"value":1103},{"type":45,"tag":223,"props":1273,"children":1274},{"style":242},[1275],{"type":50,"value":1276}," src ",{"type":45,"tag":223,"props":1278,"children":1279},{"style":236},[1280],{"type":50,"value":1281},"},",{"type":45,"tag":223,"props":1283,"children":1284},{"style":236},[1285],{"type":50,"value":239},{"type":45,"tag":223,"props":1287,"children":1288},{"style":453},[1289],{"type":50,"value":1290}," method",{"type":45,"tag":223,"props":1292,"children":1293},{"style":236},[1294],{"type":50,"value":344},{"type":45,"tag":223,"props":1296,"children":1297},{"style":236},[1298],{"type":50,"value":270},{"type":45,"tag":223,"props":1300,"children":1301},{"style":273},[1302],{"type":50,"value":1303},"error",{"type":45,"tag":223,"props":1305,"children":1306},{"style":236},[1307],{"type":50,"value":400},{"type":45,"tag":223,"props":1309,"children":1310},{"style":236},[1311],{"type":50,"value":260},{"type":45,"tag":223,"props":1313,"children":1314},{"style":242},[1315],{"type":50,"value":1133},{"type":45,"tag":223,"props":1317,"children":1318},{"style":312},[1319],{"type":50,"value":1320},"\u002F\u002F reporter options second\n",{"type":45,"tag":223,"props":1322,"children":1323},{"class":225,"line":551},[1324,1328,1333,1337,1341,1345,1349,1353,1357,1361],{"type":45,"tag":223,"props":1325,"children":1326},{"style":230},[1327],{"type":50,"value":208},{"type":45,"tag":223,"props":1329,"children":1330},{"style":242},[1331],{"type":50,"value":1332}," diagnostics",{"type":45,"tag":223,"props":1334,"children":1335},{"style":236},[1336],{"type":50,"value":89},{"type":45,"tag":223,"props":1338,"children":1339},{"style":318},[1340],{"type":50,"value":1094},{"type":45,"tag":223,"props":1342,"children":1343},{"style":242},[1344],{"type":50,"value":325},{"type":45,"tag":223,"props":1346,"children":1347},{"style":236},[1348],{"type":50,"value":1103},{"type":45,"tag":223,"props":1350,"children":1351},{"style":242},[1352],{"type":50,"value":1276},{"type":45,"tag":223,"props":1354,"children":1355},{"style":236},[1356],{"type":50,"value":687},{"type":45,"tag":223,"props":1358,"children":1359},{"style":242},[1360],{"type":50,"value":1133},{"type":45,"tag":223,"props":1362,"children":1363},{"style":312},[1364],{"type":50,"value":1365},"\u002F\u002F raise\n",{"type":45,"tag":52,"props":1367,"children":1368},{},[1369,1375,1376,1382,1384,1389,1391,1397,1399,1405,1406,1412,1413,1419,1420,1426],{"type":45,"tag":58,"props":1370,"children":1372},{"className":1371},[],[1373],{"type":50,"value":1374},"cause",{"type":50,"value":115},{"type":45,"tag":58,"props":1377,"children":1379},{"className":1378},[],[1380],{"type":50,"value":1381},"sources",{"type":50,"value":1383}," go in the params object; ",{"type":45,"tag":58,"props":1385,"children":1387},{"className":1386},[],[1388],{"type":50,"value":1381},{"type":50,"value":1390}," matters most for build\u002Fconfig diagnostics where the JS stack points inside the library. Catch with ",{"type":45,"tag":58,"props":1392,"children":1394},{"className":1393},[],[1395],{"type":50,"value":1396},"if (err instanceof Diagnostic)",{"type":50,"value":1398}," then read ",{"type":45,"tag":58,"props":1400,"children":1402},{"className":1401},[],[1403],{"type":50,"value":1404},".name",{"type":50,"value":131},{"type":45,"tag":58,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":50,"value":1411},".message",{"type":50,"value":131},{"type":45,"tag":58,"props":1414,"children":1416},{"className":1415},[],[1417],{"type":50,"value":1418},".fix",{"type":50,"value":131},{"type":45,"tag":58,"props":1421,"children":1423},{"className":1422},[],[1424],{"type":50,"value":1425},".docs",{"type":50,"value":89},{"type":45,"tag":185,"props":1428,"children":1429},{"id":947},[1430],{"type":50,"value":1431},"Reporters",{"type":45,"tag":52,"props":1433,"children":1434},{},[1435,1441,1443,1448],{"type":45,"tag":58,"props":1436,"children":1438},{"className":1437},[],[1439],{"type":50,"value":1440},"(diagnostic: Diagnostic, options?: Opts) => void",{"type":50,"value":1442},". Declaring a required ",{"type":45,"tag":58,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":50,"value":955},{"type":50,"value":1449}," type makes the second call-site argument required and typed.",{"type":45,"tag":1451,"props":1452,"children":1453},"table",{},[1454,1478],{"type":45,"tag":1455,"props":1456,"children":1457},"thead",{},[1458],{"type":45,"tag":1459,"props":1460,"children":1461},"tr",{},[1462,1468,1473],{"type":45,"tag":1463,"props":1464,"children":1465},"th",{},[1466],{"type":50,"value":1467},"Reporter",{"type":45,"tag":1463,"props":1469,"children":1470},{},[1471],{"type":50,"value":1472},"Import",{"type":45,"tag":1463,"props":1474,"children":1475},{},[1476],{"type":50,"value":1477},"Description",{"type":45,"tag":1479,"props":1480,"children":1481},"tbody",{},[1482,1558,1584,1617],{"type":45,"tag":1459,"props":1483,"children":1484},{},[1485,1495,1503],{"type":45,"tag":1486,"props":1487,"children":1488},"td",{},[1489],{"type":45,"tag":58,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":50,"value":1494},"createConsoleReporter(options?)",{"type":45,"tag":1486,"props":1496,"children":1497},{},[1498],{"type":45,"tag":58,"props":1499,"children":1501},{"className":1500},[],[1502],{"type":50,"value":4},{"type":45,"tag":1486,"props":1504,"children":1505},{},[1506,1512,1514,1520,1522,1528,1529,1535,1536,1542,1543,1549,1551,1556],{"type":45,"tag":58,"props":1507,"children":1509},{"className":1508},[],[1510],{"type":50,"value":1511},"console[method](formatter(d))",{"type":50,"value":1513},". ",{"type":45,"tag":58,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":50,"value":1519},"method",{"type":50,"value":1521}," defaults ",{"type":45,"tag":58,"props":1523,"children":1525},{"className":1524},[],[1526],{"type":50,"value":1527},"'warn'",{"type":50,"value":146},{"type":45,"tag":58,"props":1530,"children":1532},{"className":1531},[],[1533],{"type":50,"value":1534},"'log'|'warn'|'error'",{"type":50,"value":154},{"type":45,"tag":58,"props":1537,"children":1539},{"className":1538},[],[1540],{"type":50,"value":1541},"formatter",{"type":50,"value":1521},{"type":45,"tag":58,"props":1544,"children":1546},{"className":1545},[],[1547],{"type":50,"value":1548},"formatDiagnostic",{"type":50,"value":1550},"; both via options, ",{"type":45,"tag":58,"props":1552,"children":1554},{"className":1553},[],[1555],{"type":50,"value":1519},{"type":50,"value":1557}," also overridable per call.",{"type":45,"tag":1459,"props":1559,"children":1560},{},[1561,1570,1579],{"type":45,"tag":1486,"props":1562,"children":1563},{},[1564],{"type":45,"tag":58,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":50,"value":1569},"createFetchReporter(url)",{"type":45,"tag":1486,"props":1571,"children":1572},{},[1573],{"type":45,"tag":58,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":50,"value":1578},"nostics\u002Freporters\u002Ffetch",{"type":45,"tag":1486,"props":1580,"children":1581},{},[1582],{"type":50,"value":1583},"POSTs diagnostic JSON to the URL; failures swallowed.",{"type":45,"tag":1459,"props":1585,"children":1586},{},[1587,1596,1605],{"type":45,"tag":1486,"props":1588,"children":1589},{},[1590],{"type":45,"tag":58,"props":1591,"children":1593},{"className":1592},[],[1594],{"type":50,"value":1595},"createFileReporter(options?)",{"type":45,"tag":1486,"props":1597,"children":1598},{},[1599],{"type":45,"tag":58,"props":1600,"children":1602},{"className":1601},[],[1603],{"type":50,"value":1604},"nostics\u002Freporters\u002Fnode",{"type":45,"tag":1486,"props":1606,"children":1607},{},[1608,1610,1616],{"type":50,"value":1609},"Appends NDJSON to a local file (default ",{"type":45,"tag":58,"props":1611,"children":1613},{"className":1612},[],[1614],{"type":50,"value":1615},".nostics.log",{"type":50,"value":935},{"type":45,"tag":1459,"props":1618,"children":1619},{},[1620,1629,1638],{"type":45,"tag":1486,"props":1621,"children":1622},{},[1623],{"type":45,"tag":58,"props":1624,"children":1626},{"className":1625},[],[1627],{"type":50,"value":1628},"createDevReporter()",{"type":45,"tag":1486,"props":1630,"children":1631},{},[1632],{"type":45,"tag":58,"props":1633,"children":1635},{"className":1634},[],[1636],{"type":50,"value":1637},"nostics\u002Freporters\u002Fdev",{"type":45,"tag":1486,"props":1639,"children":1640},{},[1641,1643,1648,1650,1656],{"type":50,"value":1642},"Sends ",{"type":45,"tag":58,"props":1644,"children":1646},{"className":1645},[],[1647],{"type":50,"value":87},{"type":50,"value":1649}," to the Vite dev server via ",{"type":45,"tag":58,"props":1651,"children":1653},{"className":1652},[],[1654],{"type":50,"value":1655},"import.meta.hot.send()",{"type":50,"value":89},{"type":45,"tag":212,"props":1658,"children":1660},{"className":214,"code":1659,"language":216,"meta":217,"style":217},"import type { DiagnosticReporter } from 'nostics'\nconst sentryReporter: DiagnosticReporter = (d) =>\n  sentry.captureMessage(d.message, { tags: { code: d.name } })\nconst audited: DiagnosticReporter\u003C{ priority: number }> = (d, o) =>\n  audit.log({ name: d.name, priority: o.priority })\n\u002F\u002F → audited makes diagnostics.X({...}, { priority: 1 }) required and type-checked.\n",[1661],{"type":45,"tag":58,"props":1662,"children":1663},{"__ignoreMap":217},[1664,1705,1748,1834,1907,1986],{"type":45,"tag":223,"props":1665,"children":1666},{"class":225,"line":226},[1667,1671,1676,1680,1685,1689,1693,1697,1701],{"type":45,"tag":223,"props":1668,"children":1669},{"style":230},[1670],{"type":50,"value":233},{"type":45,"tag":223,"props":1672,"children":1673},{"style":230},[1674],{"type":50,"value":1675}," type",{"type":45,"tag":223,"props":1677,"children":1678},{"style":236},[1679],{"type":50,"value":239},{"type":45,"tag":223,"props":1681,"children":1682},{"style":242},[1683],{"type":50,"value":1684}," DiagnosticReporter",{"type":45,"tag":223,"props":1686,"children":1687},{"style":236},[1688],{"type":50,"value":260},{"type":45,"tag":223,"props":1690,"children":1691},{"style":230},[1692],{"type":50,"value":265},{"type":45,"tag":223,"props":1694,"children":1695},{"style":236},[1696],{"type":50,"value":270},{"type":45,"tag":223,"props":1698,"children":1699},{"style":273},[1700],{"type":50,"value":4},{"type":45,"tag":223,"props":1702,"children":1703},{"style":236},[1704],{"type":50,"value":280},{"type":45,"tag":223,"props":1706,"children":1707},{"class":225,"line":283},[1708,1712,1717,1721,1725,1730,1734,1739,1743],{"type":45,"tag":223,"props":1709,"children":1710},{"style":296},[1711],{"type":50,"value":299},{"type":45,"tag":223,"props":1713,"children":1714},{"style":242},[1715],{"type":50,"value":1716}," sentryReporter",{"type":45,"tag":223,"props":1718,"children":1719},{"style":236},[1720],{"type":50,"value":344},{"type":45,"tag":223,"props":1722,"children":1723},{"style":644},[1724],{"type":50,"value":1684},{"type":45,"tag":223,"props":1726,"children":1727},{"style":236},[1728],{"type":50,"value":1729}," =",{"type":45,"tag":223,"props":1731,"children":1732},{"style":236},[1733],{"type":50,"value":146},{"type":45,"tag":223,"props":1735,"children":1736},{"style":351},[1737],{"type":50,"value":1738},"d",{"type":45,"tag":223,"props":1740,"children":1741},{"style":236},[1742],{"type":50,"value":358},{"type":45,"tag":223,"props":1744,"children":1745},{"style":296},[1746],{"type":50,"value":1747}," =>\n",{"type":45,"tag":223,"props":1749,"children":1750},{"class":225,"line":29},[1751,1756,1760,1765,1770,1774,1778,1782,1786,1791,1795,1799,1804,1808,1813,1817,1822,1826,1830],{"type":45,"tag":223,"props":1752,"children":1753},{"style":242},[1754],{"type":50,"value":1755},"  sentry",{"type":45,"tag":223,"props":1757,"children":1758},{"style":236},[1759],{"type":50,"value":89},{"type":45,"tag":223,"props":1761,"children":1762},{"style":318},[1763],{"type":50,"value":1764},"captureMessage",{"type":45,"tag":223,"props":1766,"children":1767},{"style":242},[1768],{"type":50,"value":1769},"(d",{"type":45,"tag":223,"props":1771,"children":1772},{"style":236},[1773],{"type":50,"value":89},{"type":45,"tag":223,"props":1775,"children":1776},{"style":242},[1777],{"type":50,"value":113},{"type":45,"tag":223,"props":1779,"children":1780},{"style":236},[1781],{"type":50,"value":250},{"type":45,"tag":223,"props":1783,"children":1784},{"style":236},[1785],{"type":50,"value":239},{"type":45,"tag":223,"props":1787,"children":1788},{"style":453},[1789],{"type":50,"value":1790}," tags",{"type":45,"tag":223,"props":1792,"children":1793},{"style":236},[1794],{"type":50,"value":344},{"type":45,"tag":223,"props":1796,"children":1797},{"style":236},[1798],{"type":50,"value":239},{"type":45,"tag":223,"props":1800,"children":1801},{"style":453},[1802],{"type":50,"value":1803}," code",{"type":45,"tag":223,"props":1805,"children":1806},{"style":236},[1807],{"type":50,"value":344},{"type":45,"tag":223,"props":1809,"children":1810},{"style":242},[1811],{"type":50,"value":1812}," d",{"type":45,"tag":223,"props":1814,"children":1815},{"style":236},[1816],{"type":50,"value":89},{"type":45,"tag":223,"props":1818,"children":1819},{"style":242},[1820],{"type":50,"value":1821},"name ",{"type":45,"tag":223,"props":1823,"children":1824},{"style":236},[1825],{"type":50,"value":687},{"type":45,"tag":223,"props":1827,"children":1828},{"style":236},[1829],{"type":50,"value":260},{"type":45,"tag":223,"props":1831,"children":1832},{"style":242},[1833],{"type":50,"value":827},{"type":45,"tag":223,"props":1835,"children":1836},{"class":225,"line":333},[1837,1841,1846,1850,1854,1859,1864,1868,1873,1878,1882,1886,1890,1894,1899,1903],{"type":45,"tag":223,"props":1838,"children":1839},{"style":296},[1840],{"type":50,"value":299},{"type":45,"tag":223,"props":1842,"children":1843},{"style":242},[1844],{"type":50,"value":1845}," audited",{"type":45,"tag":223,"props":1847,"children":1848},{"style":236},[1849],{"type":50,"value":344},{"type":45,"tag":223,"props":1851,"children":1852},{"style":644},[1853],{"type":50,"value":1684},{"type":45,"tag":223,"props":1855,"children":1856},{"style":236},[1857],{"type":50,"value":1858},"\u003C{",{"type":45,"tag":223,"props":1860,"children":1861},{"style":453},[1862],{"type":50,"value":1863}," priority",{"type":45,"tag":223,"props":1865,"children":1866},{"style":236},[1867],{"type":50,"value":344},{"type":45,"tag":223,"props":1869,"children":1870},{"style":644},[1871],{"type":50,"value":1872}," number",{"type":45,"tag":223,"props":1874,"children":1875},{"style":236},[1876],{"type":50,"value":1877}," }>",{"type":45,"tag":223,"props":1879,"children":1880},{"style":236},[1881],{"type":50,"value":1729},{"type":45,"tag":223,"props":1883,"children":1884},{"style":236},[1885],{"type":50,"value":146},{"type":45,"tag":223,"props":1887,"children":1888},{"style":351},[1889],{"type":50,"value":1738},{"type":45,"tag":223,"props":1891,"children":1892},{"style":236},[1893],{"type":50,"value":250},{"type":45,"tag":223,"props":1895,"children":1896},{"style":351},[1897],{"type":50,"value":1898}," o",{"type":45,"tag":223,"props":1900,"children":1901},{"style":236},[1902],{"type":50,"value":358},{"type":45,"tag":223,"props":1904,"children":1905},{"style":296},[1906],{"type":50,"value":1747},{"type":45,"tag":223,"props":1908,"children":1909},{"class":225,"line":449},[1910,1915,1919,1924,1928,1932,1937,1941,1945,1949,1953,1957,1961,1965,1969,1973,1978,1982],{"type":45,"tag":223,"props":1911,"children":1912},{"style":242},[1913],{"type":50,"value":1914},"  audit",{"type":45,"tag":223,"props":1916,"children":1917},{"style":236},[1918],{"type":50,"value":89},{"type":45,"tag":223,"props":1920,"children":1921},{"style":318},[1922],{"type":50,"value":1923},"log",{"type":45,"tag":223,"props":1925,"children":1926},{"style":242},[1927],{"type":50,"value":325},{"type":45,"tag":223,"props":1929,"children":1930},{"style":236},[1931],{"type":50,"value":1103},{"type":45,"tag":223,"props":1933,"children":1934},{"style":453},[1935],{"type":50,"value":1936}," name",{"type":45,"tag":223,"props":1938,"children":1939},{"style":236},[1940],{"type":50,"value":344},{"type":45,"tag":223,"props":1942,"children":1943},{"style":242},[1944],{"type":50,"value":1812},{"type":45,"tag":223,"props":1946,"children":1947},{"style":236},[1948],{"type":50,"value":89},{"type":45,"tag":223,"props":1950,"children":1951},{"style":242},[1952],{"type":50,"value":105},{"type":45,"tag":223,"props":1954,"children":1955},{"style":236},[1956],{"type":50,"value":250},{"type":45,"tag":223,"props":1958,"children":1959},{"style":453},[1960],{"type":50,"value":1863},{"type":45,"tag":223,"props":1962,"children":1963},{"style":236},[1964],{"type":50,"value":344},{"type":45,"tag":223,"props":1966,"children":1967},{"style":242},[1968],{"type":50,"value":1898},{"type":45,"tag":223,"props":1970,"children":1971},{"style":236},[1972],{"type":50,"value":89},{"type":45,"tag":223,"props":1974,"children":1975},{"style":242},[1976],{"type":50,"value":1977},"priority ",{"type":45,"tag":223,"props":1979,"children":1980},{"style":236},[1981],{"type":50,"value":687},{"type":45,"tag":223,"props":1983,"children":1984},{"style":242},[1985],{"type":50,"value":827},{"type":45,"tag":223,"props":1987,"children":1988},{"class":225,"line":486},[1989],{"type":45,"tag":223,"props":1990,"children":1991},{"style":312},[1992],{"type":50,"value":1993},"\u002F\u002F → audited makes diagnostics.X({...}, { priority: 1 }) required and type-checked.\n",{"type":45,"tag":185,"props":1995,"children":1997},{"id":1996},"formatters",[1998],{"type":50,"value":1999},"Formatters",{"type":45,"tag":1451,"props":2001,"children":2002},{},[2003,2022],{"type":45,"tag":1455,"props":2004,"children":2005},{},[2006],{"type":45,"tag":1459,"props":2007,"children":2008},{},[2009,2014,2018],{"type":45,"tag":1463,"props":2010,"children":2011},{},[2012],{"type":50,"value":2013},"Formatter",{"type":45,"tag":1463,"props":2015,"children":2016},{},[2017],{"type":50,"value":1472},{"type":45,"tag":1463,"props":2019,"children":2020},{},[2021],{"type":50,"value":1477},{"type":45,"tag":1479,"props":2023,"children":2024},{},[2025,2049,2133],{"type":45,"tag":1459,"props":2026,"children":2027},{},[2028,2036,2044],{"type":45,"tag":1486,"props":2029,"children":2030},{},[2031],{"type":45,"tag":58,"props":2032,"children":2034},{"className":2033},[],[2035],{"type":50,"value":1548},{"type":45,"tag":1486,"props":2037,"children":2038},{},[2039],{"type":45,"tag":58,"props":2040,"children":2042},{"className":2041},[],[2043],{"type":50,"value":4},{"type":45,"tag":1486,"props":2045,"children":2046},{},[2047],{"type":50,"value":2048},"Plain unicode-decorated string (built-in reporters use it).",{"type":45,"tag":1459,"props":2050,"children":2051},{},[2052,2061,2070],{"type":45,"tag":1486,"props":2053,"children":2054},{},[2055],{"type":45,"tag":58,"props":2056,"children":2058},{"className":2057},[],[2059],{"type":50,"value":2060},"ansiFormatter(colors)",{"type":45,"tag":1486,"props":2062,"children":2063},{},[2064],{"type":45,"tag":58,"props":2065,"children":2067},{"className":2066},[],[2068],{"type":50,"value":2069},"nostics\u002Fformatters\u002Fansi",{"type":45,"tag":1486,"props":2071,"children":2072},{},[2073,2075,2081,2083,2089,2090,2096,2097,2103,2104,2110,2111,2117,2118,2124,2126,2132],{"type":50,"value":2074},"Colorized; accepts a ",{"type":45,"tag":58,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":50,"value":2080},"Colors",{"type":50,"value":2082}," interface (",{"type":45,"tag":58,"props":2084,"children":2086},{"className":2085},[],[2087],{"type":50,"value":2088},"red",{"type":50,"value":115},{"type":45,"tag":58,"props":2091,"children":2093},{"className":2092},[],[2094],{"type":50,"value":2095},"yellow",{"type":50,"value":115},{"type":45,"tag":58,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":50,"value":2102},"cyan",{"type":50,"value":115},{"type":45,"tag":58,"props":2105,"children":2107},{"className":2106},[],[2108],{"type":50,"value":2109},"gray",{"type":50,"value":115},{"type":45,"tag":58,"props":2112,"children":2114},{"className":2113},[],[2115],{"type":50,"value":2116},"bold",{"type":50,"value":115},{"type":45,"tag":58,"props":2119,"children":2121},{"className":2120},[],[2122],{"type":50,"value":2123},"dim",{"type":50,"value":2125},", each ",{"type":45,"tag":58,"props":2127,"children":2129},{"className":2128},[],[2130],{"type":50,"value":2131},"(s) => string",{"type":50,"value":935},{"type":45,"tag":1459,"props":2134,"children":2135},{},[2136,2145,2154],{"type":45,"tag":1486,"props":2137,"children":2138},{},[2139],{"type":45,"tag":58,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":50,"value":2144},"jsonFormatter",{"type":45,"tag":1486,"props":2146,"children":2147},{},[2148],{"type":45,"tag":58,"props":2149,"children":2151},{"className":2150},[],[2152],{"type":50,"value":2153},"nostics\u002Fformatters\u002Fjson",{"type":45,"tag":1486,"props":2155,"children":2156},{},[2157,2163,2165,2170],{"type":45,"tag":58,"props":2158,"children":2160},{"className":2159},[],[2161],{"type":50,"value":2162},"JSON.stringify(diagnostic)",{"type":50,"value":2164}," via ",{"type":45,"tag":58,"props":2166,"children":2168},{"className":2167},[],[2169],{"type":50,"value":87},{"type":50,"value":89},{"type":45,"tag":52,"props":2172,"children":2173},{},[2174,2179,2181,2186,2188,2193,2194,2200],{"type":45,"tag":58,"props":2175,"children":2177},{"className":2176},[],[2178],{"type":50,"value":1548},{"type":50,"value":2180}," output, detail order fixed ",{"type":45,"tag":58,"props":2182,"children":2184},{"className":2183},[],[2185],{"type":50,"value":79},{"type":50,"value":2187}," → ",{"type":45,"tag":58,"props":2189,"children":2191},{"className":2190},[],[2192],{"type":50,"value":1381},{"type":50,"value":2187},{"type":45,"tag":58,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":50,"value":2199},"see",{"type":50,"value":2201},", missing fields omitted:",{"type":45,"tag":212,"props":2203,"children":2207},{"className":2204,"code":2206,"language":50},[2205],"language-text","[NUXT_B2011] Invalid plugin `\u002Fplugins\u002Fbad.ts`. src option is required.\n├▶ fix: Pass a string path or an object with a `src` to `addPlugin()`.\n├▶ sources: nuxt.config.ts:42:3\n╰▶ see: https:\u002F\u002Fnuxt.com\u002Fe\u002Fb2011\n",[2208],{"type":45,"tag":58,"props":2209,"children":2210},{"__ignoreMap":217},[2211],{"type":50,"value":2206},{"type":45,"tag":185,"props":2213,"children":2215},{"id":2214},"vite-plugins-nosticsunplugin-dev-dependency",[2216,2218,2224],{"type":50,"value":2217},"Vite plugins (",{"type":45,"tag":58,"props":2219,"children":2221},{"className":2220},[],[2222],{"type":50,"value":2223},"@nostics\u002Funplugin",{"type":50,"value":2225},", dev dependency)",{"type":45,"tag":52,"props":2227,"children":2228},{},[2229,2235,2237,2243,2245,2251,2252,2258,2259,2265],{"type":45,"tag":58,"props":2230,"children":2232},{"className":2231},[],[2233],{"type":50,"value":2234},"@nostics\u002Funplugin\u002Fstrip-transform",{"type":50,"value":2236}," (library authors, build optimization) and ",{"type":45,"tag":58,"props":2238,"children":2240},{"className":2239},[],[2241],{"type":50,"value":2242},"@nostics\u002Funplugin\u002Fdev-server-collector",{"type":50,"value":2244}," (app developers, dev-time collection). Both unplugin-based: ",{"type":45,"tag":58,"props":2246,"children":2248},{"className":2247},[],[2249],{"type":50,"value":2250},".vite()",{"type":50,"value":131},{"type":45,"tag":58,"props":2253,"children":2255},{"className":2254},[],[2256],{"type":50,"value":2257},".webpack()",{"type":50,"value":131},{"type":45,"tag":58,"props":2260,"children":2262},{"className":2261},[],[2263],{"type":50,"value":2264},".rollup()",{"type":50,"value":2266},", etc.",{"type":45,"tag":829,"props":2268,"children":2269},{},[2270,2353],{"type":45,"tag":833,"props":2271,"children":2272},{},[2273,2282,2284,2290,2291,2296,2298,2304,2306,2312,2314,2320,2322],{"type":45,"tag":837,"props":2274,"children":2275},{},[2276],{"type":45,"tag":58,"props":2277,"children":2279},{"className":2278},[],[2280],{"type":50,"value":2281},"nosticsStrip",{"type":50,"value":2283}," marks ",{"type":45,"tag":58,"props":2285,"children":2287},{"className":2286},[],[2288],{"type":50,"value":2289},"defineDiagnostics()",{"type":50,"value":847},{"type":45,"tag":58,"props":2292,"children":2294},{"className":2293},[],[2295],{"type":50,"value":470},{"type":50,"value":2297}," and wraps bare diagnostic expression statements with a ",{"type":45,"tag":58,"props":2299,"children":2301},{"className":2300},[],[2302],{"type":50,"value":2303},"NODE_ENV",{"type":50,"value":2305}," guard so they tree-shake out of production. Option ",{"type":45,"tag":58,"props":2307,"children":2309},{"className":2308},[],[2310],{"type":50,"value":2311},"packageName?",{"type":50,"value":2313}," (default ",{"type":45,"tag":58,"props":2315,"children":2317},{"className":2316},[],[2318],{"type":50,"value":2319},"'nostics'",{"type":50,"value":2321},"). Throws\u002Freturns\u002Fassignments stay (they are behavior). For tracking: relative imports, export the catalog directly, no factory wrappers or deep barrels.\n",{"type":45,"tag":829,"props":2323,"children":2324},{},[2325],{"type":45,"tag":833,"props":2326,"children":2327},{},[2328,2330,2335,2337,2343,2345,2351],{"type":50,"value":2329},"The plugin is optional. The same production output happens with no build transform if the catalog is annotated by hand: put ",{"type":45,"tag":58,"props":2331,"children":2333},{"className":2332},[],[2334],{"type":50,"value":470},{"type":50,"value":2336}," before ",{"type":45,"tag":58,"props":2338,"children":2340},{"className":2339},[],[2341],{"type":50,"value":2342},"defineDiagnostics(",{"type":50,"value":2344}," and before each reporter factory call inside it (as in every example here), and dev-guard each report-only call site (",{"type":45,"tag":58,"props":2346,"children":2348},{"className":2347},[],[2349],{"type":50,"value":2350},"process.env.NODE_ENV !== 'production' && diagnostics.CODE(p)",{"type":50,"value":2352},"). Always write the annotations in source; reach for the plugin when report-only call sites are unguarded and you want stripping without touching them.",{"type":45,"tag":833,"props":2354,"children":2355},{},[2356,2365,2367,2372,2374,2380,2382,2388,2389,2394,2395,2401,2402,2408],{"type":45,"tag":837,"props":2357,"children":2358},{},[2359],{"type":45,"tag":58,"props":2360,"children":2362},{"className":2361},[],[2363],{"type":50,"value":2364},"nosticsCollector",{"type":50,"value":2366}," listens for ",{"type":45,"tag":58,"props":2368,"children":2370},{"className":2369},[],[2371],{"type":50,"value":1628},{"type":50,"value":2373}," diagnostics over the Vite WebSocket and writes them as NDJSON via ",{"type":45,"tag":58,"props":2375,"children":2377},{"className":2376},[],[2378],{"type":50,"value":2379},"createFileReporter",{"type":50,"value":2381},". Vite-only. Options ",{"type":45,"tag":58,"props":2383,"children":2385},{"className":2384},[],[2386],{"type":50,"value":2387},"logFile?",{"type":50,"value":2313},{"type":45,"tag":58,"props":2390,"children":2392},{"className":2391},[],[2393],{"type":50,"value":1615},{"type":50,"value":154},{"type":45,"tag":58,"props":2396,"children":2398},{"className":2397},[],[2399],{"type":50,"value":2400},"debug?",{"type":50,"value":2313},{"type":45,"tag":58,"props":2403,"children":2405},{"className":2404},[],[2406],{"type":50,"value":2407},"!!process.env.DEBUG",{"type":50,"value":935},{"type":45,"tag":212,"props":2410,"children":2412},{"className":214,"code":2411,"language":216,"meta":217,"style":217},"\u002F\u002F vite.config.ts\nimport { nosticsStrip } from '@nostics\u002Funplugin\u002Fstrip-transform'\nimport { nosticsCollector } from '@nostics\u002Funplugin\u002Fdev-server-collector'\nexport default defineConfig({\n  plugins: [nosticsStrip.vite(), nosticsCollector.vite()],\n})\n\n\u002F\u002F src\u002Fdiagnostics.ts — pair the collector with createDevReporter()\nimport { createConsoleReporter, defineDiagnostics } from 'nostics'\nimport { createDevReporter } from 'nostics\u002Freporters\u002Fdev'\nexport const diagnostics = \u002F*#__PURE__*\u002F defineDiagnostics({\n  reporters: [\u002F*#__PURE__*\u002F createConsoleReporter(), \u002F*#__PURE__*\u002F createDevReporter()],\n  codes: {\n    \u002F* ... *\u002F\n  },\n})\n",[2413],{"type":45,"tag":58,"props":2414,"children":2415},{"__ignoreMap":217},[2416,2424,2460,2496,2522,2576,2587,2594,2602,2645,2681,2717,2764,2779,2787,2794],{"type":45,"tag":223,"props":2417,"children":2418},{"class":225,"line":226},[2419],{"type":45,"tag":223,"props":2420,"children":2421},{"style":312},[2422],{"type":50,"value":2423},"\u002F\u002F vite.config.ts\n",{"type":45,"tag":223,"props":2425,"children":2426},{"class":225,"line":283},[2427,2431,2435,2440,2444,2448,2452,2456],{"type":45,"tag":223,"props":2428,"children":2429},{"style":230},[2430],{"type":50,"value":233},{"type":45,"tag":223,"props":2432,"children":2433},{"style":236},[2434],{"type":50,"value":239},{"type":45,"tag":223,"props":2436,"children":2437},{"style":242},[2438],{"type":50,"value":2439}," nosticsStrip",{"type":45,"tag":223,"props":2441,"children":2442},{"style":236},[2443],{"type":50,"value":260},{"type":45,"tag":223,"props":2445,"children":2446},{"style":230},[2447],{"type":50,"value":265},{"type":45,"tag":223,"props":2449,"children":2450},{"style":236},[2451],{"type":50,"value":270},{"type":45,"tag":223,"props":2453,"children":2454},{"style":273},[2455],{"type":50,"value":2234},{"type":45,"tag":223,"props":2457,"children":2458},{"style":236},[2459],{"type":50,"value":280},{"type":45,"tag":223,"props":2461,"children":2462},{"class":225,"line":29},[2463,2467,2471,2476,2480,2484,2488,2492],{"type":45,"tag":223,"props":2464,"children":2465},{"style":230},[2466],{"type":50,"value":233},{"type":45,"tag":223,"props":2468,"children":2469},{"style":236},[2470],{"type":50,"value":239},{"type":45,"tag":223,"props":2472,"children":2473},{"style":242},[2474],{"type":50,"value":2475}," nosticsCollector",{"type":45,"tag":223,"props":2477,"children":2478},{"style":236},[2479],{"type":50,"value":260},{"type":45,"tag":223,"props":2481,"children":2482},{"style":230},[2483],{"type":50,"value":265},{"type":45,"tag":223,"props":2485,"children":2486},{"style":236},[2487],{"type":50,"value":270},{"type":45,"tag":223,"props":2489,"children":2490},{"style":273},[2491],{"type":50,"value":2242},{"type":45,"tag":223,"props":2493,"children":2494},{"style":236},[2495],{"type":50,"value":280},{"type":45,"tag":223,"props":2497,"children":2498},{"class":225,"line":333},[2499,2504,2509,2514,2518],{"type":45,"tag":223,"props":2500,"children":2501},{"style":230},[2502],{"type":50,"value":2503},"export",{"type":45,"tag":223,"props":2505,"children":2506},{"style":230},[2507],{"type":50,"value":2508}," default",{"type":45,"tag":223,"props":2510,"children":2511},{"style":318},[2512],{"type":50,"value":2513}," defineConfig",{"type":45,"tag":223,"props":2515,"children":2516},{"style":242},[2517],{"type":50,"value":325},{"type":45,"tag":223,"props":2519,"children":2520},{"style":236},[2521],{"type":50,"value":330},{"type":45,"tag":223,"props":2523,"children":2524},{"class":225,"line":449},[2525,2530,2534,2539,2543,2548,2552,2556,2560,2564,2568,2572],{"type":45,"tag":223,"props":2526,"children":2527},{"style":453},[2528],{"type":50,"value":2529},"  plugins",{"type":45,"tag":223,"props":2531,"children":2532},{"style":236},[2533],{"type":50,"value":344},{"type":45,"tag":223,"props":2535,"children":2536},{"style":242},[2537],{"type":50,"value":2538}," [nosticsStrip",{"type":45,"tag":223,"props":2540,"children":2541},{"style":236},[2542],{"type":50,"value":89},{"type":45,"tag":223,"props":2544,"children":2545},{"style":318},[2546],{"type":50,"value":2547},"vite",{"type":45,"tag":223,"props":2549,"children":2550},{"style":242},[2551],{"type":50,"value":436},{"type":45,"tag":223,"props":2553,"children":2554},{"style":236},[2555],{"type":50,"value":250},{"type":45,"tag":223,"props":2557,"children":2558},{"style":242},[2559],{"type":50,"value":2475},{"type":45,"tag":223,"props":2561,"children":2562},{"style":236},[2563],{"type":50,"value":89},{"type":45,"tag":223,"props":2565,"children":2566},{"style":318},[2567],{"type":50,"value":2547},{"type":45,"tag":223,"props":2569,"children":2570},{"style":242},[2571],{"type":50,"value":479},{"type":45,"tag":223,"props":2573,"children":2574},{"style":236},[2575],{"type":50,"value":446},{"type":45,"tag":223,"props":2577,"children":2578},{"class":225,"line":486},[2579,2583],{"type":45,"tag":223,"props":2580,"children":2581},{"style":236},[2582],{"type":50,"value":687},{"type":45,"tag":223,"props":2584,"children":2585},{"style":242},[2586],{"type":50,"value":827},{"type":45,"tag":223,"props":2588,"children":2589},{"class":225,"line":504},[2590],{"type":45,"tag":223,"props":2591,"children":2592},{"emptyLinePlaceholder":287},[2593],{"type":50,"value":290},{"type":45,"tag":223,"props":2595,"children":2596},{"class":225,"line":521},[2597],{"type":45,"tag":223,"props":2598,"children":2599},{"style":312},[2600],{"type":50,"value":2601},"\u002F\u002F src\u002Fdiagnostics.ts — pair the collector with createDevReporter()\n",{"type":45,"tag":223,"props":2603,"children":2604},{"class":225,"line":551},[2605,2609,2613,2617,2621,2625,2629,2633,2637,2641],{"type":45,"tag":223,"props":2606,"children":2607},{"style":230},[2608],{"type":50,"value":233},{"type":45,"tag":223,"props":2610,"children":2611},{"style":236},[2612],{"type":50,"value":239},{"type":45,"tag":223,"props":2614,"children":2615},{"style":242},[2616],{"type":50,"value":245},{"type":45,"tag":223,"props":2618,"children":2619},{"style":236},[2620],{"type":50,"value":250},{"type":45,"tag":223,"props":2622,"children":2623},{"style":242},[2624],{"type":50,"value":255},{"type":45,"tag":223,"props":2626,"children":2627},{"style":236},[2628],{"type":50,"value":260},{"type":45,"tag":223,"props":2630,"children":2631},{"style":230},[2632],{"type":50,"value":265},{"type":45,"tag":223,"props":2634,"children":2635},{"style":236},[2636],{"type":50,"value":270},{"type":45,"tag":223,"props":2638,"children":2639},{"style":273},[2640],{"type":50,"value":4},{"type":45,"tag":223,"props":2642,"children":2643},{"style":236},[2644],{"type":50,"value":280},{"type":45,"tag":223,"props":2646,"children":2647},{"class":225,"line":581},[2648,2652,2656,2661,2665,2669,2673,2677],{"type":45,"tag":223,"props":2649,"children":2650},{"style":230},[2651],{"type":50,"value":233},{"type":45,"tag":223,"props":2653,"children":2654},{"style":236},[2655],{"type":50,"value":239},{"type":45,"tag":223,"props":2657,"children":2658},{"style":242},[2659],{"type":50,"value":2660}," createDevReporter",{"type":45,"tag":223,"props":2662,"children":2663},{"style":236},[2664],{"type":50,"value":260},{"type":45,"tag":223,"props":2666,"children":2667},{"style":230},[2668],{"type":50,"value":265},{"type":45,"tag":223,"props":2670,"children":2671},{"style":236},[2672],{"type":50,"value":270},{"type":45,"tag":223,"props":2674,"children":2675},{"style":273},[2676],{"type":50,"value":1637},{"type":45,"tag":223,"props":2678,"children":2679},{"style":236},[2680],{"type":50,"value":280},{"type":45,"tag":223,"props":2682,"children":2683},{"class":225,"line":590},[2684,2688,2693,2697,2701,2705,2709,2713],{"type":45,"tag":223,"props":2685,"children":2686},{"style":230},[2687],{"type":50,"value":2503},{"type":45,"tag":223,"props":2689,"children":2690},{"style":296},[2691],{"type":50,"value":2692}," const",{"type":45,"tag":223,"props":2694,"children":2695},{"style":242},[2696],{"type":50,"value":304},{"type":45,"tag":223,"props":2698,"children":2699},{"style":236},[2700],{"type":50,"value":309},{"type":45,"tag":223,"props":2702,"children":2703},{"style":312},[2704],{"type":50,"value":315},{"type":45,"tag":223,"props":2706,"children":2707},{"style":318},[2708],{"type":50,"value":255},{"type":45,"tag":223,"props":2710,"children":2711},{"style":242},[2712],{"type":50,"value":325},{"type":45,"tag":223,"props":2714,"children":2715},{"style":236},[2716],{"type":50,"value":330},{"type":45,"tag":223,"props":2718,"children":2719},{"class":225,"line":607},[2720,2724,2728,2732,2736,2740,2744,2748,2752,2756,2760],{"type":45,"tag":223,"props":2721,"children":2722},{"style":453},[2723],{"type":50,"value":456},{"type":45,"tag":223,"props":2725,"children":2726},{"style":236},[2727],{"type":50,"value":344},{"type":45,"tag":223,"props":2729,"children":2730},{"style":242},[2731],{"type":50,"value":465},{"type":45,"tag":223,"props":2733,"children":2734},{"style":312},[2735],{"type":50,"value":470},{"type":45,"tag":223,"props":2737,"children":2738},{"style":318},[2739],{"type":50,"value":245},{"type":45,"tag":223,"props":2741,"children":2742},{"style":242},[2743],{"type":50,"value":436},{"type":45,"tag":223,"props":2745,"children":2746},{"style":236},[2747],{"type":50,"value":250},{"type":45,"tag":223,"props":2749,"children":2750},{"style":312},[2751],{"type":50,"value":315},{"type":45,"tag":223,"props":2753,"children":2754},{"style":318},[2755],{"type":50,"value":2660},{"type":45,"tag":223,"props":2757,"children":2758},{"style":242},[2759],{"type":50,"value":479},{"type":45,"tag":223,"props":2761,"children":2762},{"style":236},[2763],{"type":50,"value":446},{"type":45,"tag":223,"props":2765,"children":2766},{"class":225,"line":704},[2767,2771,2775],{"type":45,"tag":223,"props":2768,"children":2769},{"style":453},[2770],{"type":50,"value":492},{"type":45,"tag":223,"props":2772,"children":2773},{"style":236},[2774],{"type":50,"value":344},{"type":45,"tag":223,"props":2776,"children":2777},{"style":236},[2778],{"type":50,"value":501},{"type":45,"tag":223,"props":2780,"children":2781},{"class":225,"line":733},[2782],{"type":45,"tag":223,"props":2783,"children":2784},{"style":312},[2785],{"type":50,"value":2786},"    \u002F* ... *\u002F\n",{"type":45,"tag":223,"props":2788,"children":2789},{"class":225,"line":741},[2790],{"type":45,"tag":223,"props":2791,"children":2792},{"style":236},[2793],{"type":50,"value":814},{"type":45,"tag":223,"props":2795,"children":2796},{"class":225,"line":808},[2797,2801],{"type":45,"tag":223,"props":2798,"children":2799},{"style":236},[2800],{"type":50,"value":687},{"type":45,"tag":223,"props":2802,"children":2803},{"style":242},[2804],{"type":50,"value":827},{"type":45,"tag":185,"props":2806,"children":2808},{"id":2807},"production-builds",[2809],{"type":50,"value":2810},"Production builds",{"type":45,"tag":829,"props":2812,"children":2813},{},[2814,2839],{"type":45,"tag":833,"props":2815,"children":2816},{},[2817,2822,2824,2830,2832,2837],{"type":45,"tag":837,"props":2818,"children":2819},{},[2820],{"type":50,"value":2821},"Report-only",{"type":50,"value":2823}," diagnostics (bare ",{"type":45,"tag":58,"props":2825,"children":2827},{"className":2826},[],[2828],{"type":50,"value":2829},"diagnostics.X()",{"type":50,"value":2831},") should disappear: ",{"type":45,"tag":58,"props":2833,"children":2835},{"className":2834},[],[2836],{"type":50,"value":2281},{"type":50,"value":2838}," or hand annotations drop them, then the unused catalog tree-shakes.",{"type":45,"tag":833,"props":2840,"children":2841},{},[2842,2847,2849,2854,2855,2861,2863,2869,2871,2876,2877,2882],{"type":45,"tag":837,"props":2843,"children":2844},{},[2845],{"type":50,"value":2846},"Surviving",{"type":50,"value":2848}," diagnostics (",{"type":45,"tag":58,"props":2850,"children":2852},{"className":2851},[],[2853],{"type":50,"value":208},{"type":50,"value":115},{"type":45,"tag":58,"props":2856,"children":2858},{"className":2857},[],[2859],{"type":50,"value":2860},"return",{"type":50,"value":2862},"\u002Fassigned\u002Fargument) stay, and each keeps the ",{"type":45,"tag":2864,"props":2865,"children":2866},"em",{},[2867],{"type":50,"value":2868},"whole",{"type":50,"value":2870}," catalog reachable, so every ",{"type":45,"tag":58,"props":2872,"children":2874},{"className":2873},[],[2875],{"type":50,"value":121},{"type":50,"value":115},{"type":45,"tag":58,"props":2878,"children":2880},{"className":2879},[],[2881],{"type":50,"value":79},{"type":50,"value":2883}," ships. Not every library throws in production: if yours only reports, stripping is enough, stop here.",{"type":45,"tag":52,"props":2885,"children":2886},{},[2887,2889,2894,2895,2900,2902,2908,2910,2915],{"type":50,"value":2888},"When a library ",{"type":45,"tag":2864,"props":2890,"children":2891},{},[2892],{"type":50,"value":2893},"does",{"type":50,"value":847},{"type":45,"tag":58,"props":2896,"children":2898},{"className":2897},[],[2899],{"type":50,"value":208},{"type":50,"value":2901}," in production, pick ",{"type":45,"tag":58,"props":2903,"children":2905},{"className":2904},[],[2906],{"type":50,"value":2907},"defineProdDiagnostics",{"type":50,"value":2909}," at definition time with a ",{"type":45,"tag":58,"props":2911,"children":2913},{"className":2912},[],[2914],{"type":50,"value":2303},{"type":50,"value":2916}," ternary, so a consumer bundler drops the dev branch (all catalog text):",{"type":45,"tag":212,"props":2918,"children":2920},{"className":214,"code":2919,"language":216,"meta":217,"style":217},"import { defineDiagnostics, defineProdDiagnostics } from 'nostics'\nexport const diagnostics =\n  process.env.NODE_ENV === 'production'\n    ? \u002F*#__PURE__*\u002F defineProdDiagnostics({ docsBase })\n    : \u002F*#__PURE__*\u002F defineDiagnostics({\n        docsBase,\n        reporters: [\n          \u002F* ... *\u002F\n        ],\n        codes: {\n          \u002F* text *\u002F\n        },\n      })\n",[2921],{"type":45,"tag":58,"props":2922,"children":2923},{"__ignoreMap":217},[2924,2968,2988,3032,3069,3093,3105,3122,3130,3142,3158,3166,3174],{"type":45,"tag":223,"props":2925,"children":2926},{"class":225,"line":226},[2927,2931,2935,2939,2943,2948,2952,2956,2960,2964],{"type":45,"tag":223,"props":2928,"children":2929},{"style":230},[2930],{"type":50,"value":233},{"type":45,"tag":223,"props":2932,"children":2933},{"style":236},[2934],{"type":50,"value":239},{"type":45,"tag":223,"props":2936,"children":2937},{"style":242},[2938],{"type":50,"value":255},{"type":45,"tag":223,"props":2940,"children":2941},{"style":236},[2942],{"type":50,"value":250},{"type":45,"tag":223,"props":2944,"children":2945},{"style":242},[2946],{"type":50,"value":2947}," defineProdDiagnostics",{"type":45,"tag":223,"props":2949,"children":2950},{"style":236},[2951],{"type":50,"value":260},{"type":45,"tag":223,"props":2953,"children":2954},{"style":230},[2955],{"type":50,"value":265},{"type":45,"tag":223,"props":2957,"children":2958},{"style":236},[2959],{"type":50,"value":270},{"type":45,"tag":223,"props":2961,"children":2962},{"style":273},[2963],{"type":50,"value":4},{"type":45,"tag":223,"props":2965,"children":2966},{"style":236},[2967],{"type":50,"value":280},{"type":45,"tag":223,"props":2969,"children":2970},{"class":225,"line":283},[2971,2975,2979,2983],{"type":45,"tag":223,"props":2972,"children":2973},{"style":230},[2974],{"type":50,"value":2503},{"type":45,"tag":223,"props":2976,"children":2977},{"style":296},[2978],{"type":50,"value":2692},{"type":45,"tag":223,"props":2980,"children":2981},{"style":242},[2982],{"type":50,"value":304},{"type":45,"tag":223,"props":2984,"children":2985},{"style":236},[2986],{"type":50,"value":2987},"=\n",{"type":45,"tag":223,"props":2989,"children":2990},{"class":225,"line":29},[2991,2996,3000,3005,3009,3014,3019,3023,3028],{"type":45,"tag":223,"props":2992,"children":2993},{"style":242},[2994],{"type":50,"value":2995},"  process",{"type":45,"tag":223,"props":2997,"children":2998},{"style":236},[2999],{"type":50,"value":89},{"type":45,"tag":223,"props":3001,"children":3002},{"style":242},[3003],{"type":50,"value":3004},"env",{"type":45,"tag":223,"props":3006,"children":3007},{"style":236},[3008],{"type":50,"value":89},{"type":45,"tag":223,"props":3010,"children":3011},{"style":242},[3012],{"type":50,"value":3013},"NODE_ENV ",{"type":45,"tag":223,"props":3015,"children":3016},{"style":236},[3017],{"type":50,"value":3018},"===",{"type":45,"tag":223,"props":3020,"children":3021},{"style":236},[3022],{"type":50,"value":270},{"type":45,"tag":223,"props":3024,"children":3025},{"style":273},[3026],{"type":50,"value":3027},"production",{"type":45,"tag":223,"props":3029,"children":3030},{"style":236},[3031],{"type":50,"value":280},{"type":45,"tag":223,"props":3033,"children":3034},{"class":225,"line":333},[3035,3040,3044,3048,3052,3056,3061,3065],{"type":45,"tag":223,"props":3036,"children":3037},{"style":236},[3038],{"type":50,"value":3039},"    ?",{"type":45,"tag":223,"props":3041,"children":3042},{"style":312},[3043],{"type":50,"value":315},{"type":45,"tag":223,"props":3045,"children":3046},{"style":318},[3047],{"type":50,"value":2947},{"type":45,"tag":223,"props":3049,"children":3050},{"style":242},[3051],{"type":50,"value":325},{"type":45,"tag":223,"props":3053,"children":3054},{"style":236},[3055],{"type":50,"value":1103},{"type":45,"tag":223,"props":3057,"children":3058},{"style":242},[3059],{"type":50,"value":3060}," docsBase ",{"type":45,"tag":223,"props":3062,"children":3063},{"style":236},[3064],{"type":50,"value":687},{"type":45,"tag":223,"props":3066,"children":3067},{"style":242},[3068],{"type":50,"value":827},{"type":45,"tag":223,"props":3070,"children":3071},{"class":225,"line":449},[3072,3077,3081,3085,3089],{"type":45,"tag":223,"props":3073,"children":3074},{"style":236},[3075],{"type":50,"value":3076},"    :",{"type":45,"tag":223,"props":3078,"children":3079},{"style":312},[3080],{"type":50,"value":315},{"type":45,"tag":223,"props":3082,"children":3083},{"style":318},[3084],{"type":50,"value":255},{"type":45,"tag":223,"props":3086,"children":3087},{"style":242},[3088],{"type":50,"value":325},{"type":45,"tag":223,"props":3090,"children":3091},{"style":236},[3092],{"type":50,"value":330},{"type":45,"tag":223,"props":3094,"children":3095},{"class":225,"line":486},[3096,3101],{"type":45,"tag":223,"props":3097,"children":3098},{"style":242},[3099],{"type":50,"value":3100},"        docsBase",{"type":45,"tag":223,"props":3102,"children":3103},{"style":236},[3104],{"type":50,"value":446},{"type":45,"tag":223,"props":3106,"children":3107},{"class":225,"line":504},[3108,3113,3117],{"type":45,"tag":223,"props":3109,"children":3110},{"style":453},[3111],{"type":50,"value":3112},"        reporters",{"type":45,"tag":223,"props":3114,"children":3115},{"style":236},[3116],{"type":50,"value":344},{"type":45,"tag":223,"props":3118,"children":3119},{"style":242},[3120],{"type":50,"value":3121}," [\n",{"type":45,"tag":223,"props":3123,"children":3124},{"class":225,"line":521},[3125],{"type":45,"tag":223,"props":3126,"children":3127},{"style":312},[3128],{"type":50,"value":3129},"          \u002F* ... *\u002F\n",{"type":45,"tag":223,"props":3131,"children":3132},{"class":225,"line":551},[3133,3138],{"type":45,"tag":223,"props":3134,"children":3135},{"style":242},[3136],{"type":50,"value":3137},"        ]",{"type":45,"tag":223,"props":3139,"children":3140},{"style":236},[3141],{"type":50,"value":446},{"type":45,"tag":223,"props":3143,"children":3144},{"class":225,"line":581},[3145,3150,3154],{"type":45,"tag":223,"props":3146,"children":3147},{"style":453},[3148],{"type":50,"value":3149},"        codes",{"type":45,"tag":223,"props":3151,"children":3152},{"style":236},[3153],{"type":50,"value":344},{"type":45,"tag":223,"props":3155,"children":3156},{"style":236},[3157],{"type":50,"value":501},{"type":45,"tag":223,"props":3159,"children":3160},{"class":225,"line":590},[3161],{"type":45,"tag":223,"props":3162,"children":3163},{"style":312},[3164],{"type":50,"value":3165},"          \u002F* text *\u002F\n",{"type":45,"tag":223,"props":3167,"children":3168},{"class":225,"line":607},[3169],{"type":45,"tag":223,"props":3170,"children":3171},{"style":236},[3172],{"type":50,"value":3173},"        },\n",{"type":45,"tag":223,"props":3175,"children":3176},{"class":225,"line":704},[3177,3182],{"type":45,"tag":223,"props":3178,"children":3179},{"style":236},[3180],{"type":50,"value":3181},"      }",{"type":45,"tag":223,"props":3183,"children":3184},{"style":242},[3185],{"type":50,"value":827},{"type":45,"tag":52,"props":3187,"children":3188},{},[3189,3191,3196,3197,3202,3204,3209,3210,3215,3217,3222,3223,3228,3230,3235,3237,3242,3244,3249,3251,3256],{"type":50,"value":3190},"The accessed code becomes the instance ",{"type":45,"tag":58,"props":3192,"children":3194},{"className":3193},[],[3195],{"type":50,"value":105},{"type":50,"value":131},{"type":45,"tag":58,"props":3198,"children":3200},{"className":3199},[],[3201],{"type":50,"value":926},{"type":50,"value":3203}," still derives from ",{"type":45,"tag":58,"props":3205,"children":3207},{"className":3206},[],[3208],{"type":50,"value":845},{"type":50,"value":131},{"type":45,"tag":58,"props":3211,"children":3213},{"className":3212},[],[3214],{"type":50,"value":121},{"type":50,"value":3216}," points to the docs URL when one exists (empty otherwise), no ",{"type":45,"tag":58,"props":3218,"children":3220},{"className":3219},[],[3221],{"type":50,"value":121},{"type":50,"value":115},{"type":45,"tag":58,"props":3224,"children":3226},{"className":3225},[],[3227],{"type":50,"value":79},{"type":50,"value":3229}," text ships. No ",{"type":45,"tag":58,"props":3231,"children":3233},{"className":3232},[],[3234],{"type":50,"value":947},{"type":50,"value":3236}," by default (so a surviving ",{"type":45,"tag":58,"props":3238,"children":3240},{"className":3239},[],[3241],{"type":50,"value":208},{"type":50,"value":3243}," doesn't also log and then resurface as the uncaught error); pass ",{"type":45,"tag":58,"props":3245,"children":3247},{"className":3246},[],[3248],{"type":50,"value":947},{"type":50,"value":3250}," to keep prod telemetry. ",{"type":45,"tag":58,"props":3252,"children":3254},{"className":3253},[],[3255],{"type":50,"value":2281},{"type":50,"value":3257}," tracks this ternary like a direct catalog export.",{"type":45,"tag":185,"props":3259,"children":3261},{"id":3260},"conventions",[3262],{"type":50,"value":3263},"Conventions",{"type":45,"tag":829,"props":3265,"children":3266},{},[3267,3316,3335,3434,3453],{"type":45,"tag":833,"props":3268,"children":3269},{},[3270,3275,3277,3283,3284,3290,3292,3298,3300,3306,3308,3314],{"type":45,"tag":837,"props":3271,"children":3272},{},[3273],{"type":50,"value":3274},"Codes",{"type":50,"value":3276}," are stable, fully-qualified ",{"type":45,"tag":58,"props":3278,"children":3280},{"className":3279},[],[3281],{"type":50,"value":3282},"PREFIX_XNNNN",{"type":50,"value":146},{"type":45,"tag":58,"props":3285,"children":3287},{"className":3286},[],[3288],{"type":50,"value":3289},"B",{"type":50,"value":3291}," build, ",{"type":45,"tag":58,"props":3293,"children":3295},{"className":3294},[],[3296],{"type":50,"value":3297},"R",{"type":50,"value":3299}," runtime, ",{"type":45,"tag":58,"props":3301,"children":3303},{"className":3302},[],[3304],{"type":50,"value":3305},"C",{"type":50,"value":3307}," config, ",{"type":45,"tag":58,"props":3309,"children":3311},{"className":3310},[],[3312],{"type":50,"value":3313},"D",{"type":50,"value":3315}," deprecation). Never reuse or reassign a published code.",{"type":45,"tag":833,"props":3317,"children":3318},{},[3319,3321,3326,3328,3333],{"type":50,"value":3320},"Always provide ",{"type":45,"tag":58,"props":3322,"children":3324},{"className":3323},[],[3325],{"type":50,"value":121},{"type":50,"value":3327},"; provide ",{"type":45,"tag":58,"props":3329,"children":3331},{"className":3330},[],[3332],{"type":50,"value":79},{"type":50,"value":3334}," whenever the solution is known (the most actionable field for humans and agents). Use parameterized templates for runtime values, not string concatenation outside the factory.",{"type":45,"tag":833,"props":3336,"children":3337},{},[3338,3355,3356,3361,3363,3368,3370,3376,3378,3383,3385,3390,3392,3397,3399,3404,3405,3410,3412,3418,3420,3426,3428,3433],{"type":45,"tag":837,"props":3339,"children":3340},{},[3341,3346,3348,3353],{"type":45,"tag":58,"props":3342,"children":3344},{"className":3343},[],[3345],{"type":50,"value":121},{"type":50,"value":3347}," is the diagnosis, ",{"type":45,"tag":58,"props":3349,"children":3351},{"className":3350},[],[3352],{"type":50,"value":79},{"type":50,"value":3354}," is the remedy — split them, don't overlap them.",{"type":50,"value":847},{"type":45,"tag":58,"props":3357,"children":3359},{"className":3358},[],[3360],{"type":50,"value":121},{"type":50,"value":3362}," states only what is wrong; ",{"type":45,"tag":58,"props":3364,"children":3366},{"className":3365},[],[3367],{"type":50,"value":79},{"type":50,"value":3369}," states only what to do. The reporter prints both, so any wording that appears in both is dead weight. When a single source sentence carries both (",{"type":45,"tag":58,"props":3371,"children":3373},{"className":3372},[],[3374],{"type":50,"value":3375},"\"A hash must start with '#'. Prefix it with '#'.\"",{"type":50,"value":3377},"), cut it in two — diagnosis to ",{"type":45,"tag":58,"props":3379,"children":3381},{"className":3380},[],[3382],{"type":50,"value":121},{"type":50,"value":3384},", remedy to ",{"type":45,"tag":58,"props":3386,"children":3388},{"className":3387},[],[3389],{"type":50,"value":79},{"type":50,"value":3391}," — rather than pasting the whole thing into ",{"type":45,"tag":58,"props":3393,"children":3395},{"className":3394},[],[3396],{"type":50,"value":121},{"type":50,"value":3398}," and echoing it in ",{"type":45,"tag":58,"props":3400,"children":3402},{"className":3401},[],[3403],{"type":50,"value":79},{"type":50,"value":1513},{"type":45,"tag":58,"props":3406,"children":3408},{"className":3407},[],[3409],{"type":50,"value":79},{"type":50,"value":3411}," accepts a param function too (",{"type":45,"tag":58,"props":3413,"children":3415},{"className":3414},[],[3416],{"type":50,"value":3417},"(p) => ...",{"type":50,"value":3419},"), so move value-bearing remedies (",{"type":45,"tag":58,"props":3421,"children":3423},{"className":3422},[],[3424],{"type":50,"value":3425},"use \"#${p.hash}\"",{"type":50,"value":3427},") into it instead of leaving them in ",{"type":45,"tag":58,"props":3429,"children":3431},{"className":3430},[],[3432],{"type":50,"value":121},{"type":50,"value":89},{"type":45,"tag":833,"props":3435,"children":3436},{},[3437,3439,3444,3446,3451],{"type":50,"value":3438},"Pass ",{"type":45,"tag":58,"props":3440,"children":3442},{"className":3441},[],[3443],{"type":50,"value":1374},{"type":50,"value":3445}," when re-raising; pass ",{"type":45,"tag":58,"props":3447,"children":3449},{"className":3448},[],[3450],{"type":50,"value":1381},{"type":50,"value":3452}," when the JS stack doesn't reflect the user's source.",{"type":45,"tag":833,"props":3454,"children":3455},{},[3456,3458,3464,3465,3471,3472,3478,3480,3486,3488,3493,3495,3500],{"type":50,"value":3457},"Split large catalogs by domain (",{"type":45,"tag":58,"props":3459,"children":3461},{"className":3460},[],[3462],{"type":50,"value":3463},"diagnostics\u002Fbuild.ts",{"type":50,"value":131},{"type":45,"tag":58,"props":3466,"children":3468},{"className":3467},[],[3469],{"type":50,"value":3470},"runtime.ts",{"type":50,"value":131},{"type":45,"tag":58,"props":3473,"children":3475},{"className":3474},[],[3476],{"type":50,"value":3477},"config.ts",{"type":50,"value":3479},", re-exported from ",{"type":45,"tag":58,"props":3481,"children":3483},{"className":3482},[],[3484],{"type":50,"value":3485},"index.ts",{"type":50,"value":3487},"), each ",{"type":45,"tag":58,"props":3489,"children":3491},{"className":3490},[],[3492],{"type":50,"value":2289},{"type":50,"value":3494}," sharing ",{"type":45,"tag":58,"props":3496,"children":3498},{"className":3497},[],[3499],{"type":50,"value":845},{"type":50,"value":3501}," with its own code range.",{"type":45,"tag":185,"props":3503,"children":3505},{"id":3504},"references",[3506],{"type":50,"value":3507},"References",{"type":45,"tag":829,"props":3509,"children":3510},{},[3511,3558],{"type":45,"tag":833,"props":3512,"children":3513},{},[3514,3519,3521,3527,3528,3534,3535,3541,3543,3548,3550,3556],{"type":45,"tag":837,"props":3515,"children":3516},{},[3517],{"type":50,"value":3518},"Migrating an existing library",{"type":50,"value":3520}," to nostics (replacing ",{"type":45,"tag":58,"props":3522,"children":3524},{"className":3523},[],[3525],{"type":50,"value":3526},"console.warn",{"type":50,"value":115},{"type":45,"tag":58,"props":3529,"children":3531},{"className":3530},[],[3532],{"type":50,"value":3533},"console.error",{"type":50,"value":115},{"type":45,"tag":58,"props":3536,"children":3538},{"className":3537},[],[3539],{"type":50,"value":3540},"warn()",{"type":50,"value":3542},"\u002Fthrown ",{"type":45,"tag":58,"props":3544,"children":3546},{"className":3545},[],[3547],{"type":50,"value":71},{"type":50,"value":3549},"s with diagnostic codes, without changing runtime behavior): follow ",{"type":45,"tag":58,"props":3551,"children":3553},{"className":3552},[],[3554],{"type":50,"value":3555},"references\u002Fmigration.md",{"type":50,"value":3557}," start to finish.",{"type":45,"tag":833,"props":3559,"children":3560},{},[3561,3563,3569],{"type":50,"value":3562},"Building the error-code documentation site (page template, deployment, agent optimization): ",{"type":45,"tag":58,"props":3564,"children":3566},{"className":3565},[],[3567],{"type":50,"value":3568},"references\u002Fdocumentation-site.md",{"type":50,"value":89},{"type":45,"tag":3571,"props":3572,"children":3573},"style",{},[3574],{"type":50,"value":3575},"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":3577,"total":283},[3578,3587],{"slug":3579,"name":3579,"fn":3580,"description":3581,"org":3582,"tags":3583,"stars":25,"repoUrl":26,"updatedAt":3586},"add-diagnostic","add diagnostic codes to nostics","Add a new diagnostic code following the defineDiagnostics() conventions from nostics",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3584,3585],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},"2026-07-17T06:09:00.494821",{"slug":4,"name":4,"fn":5,"description":6,"org":3588,"tags":3589,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3590,3591,3592,3593],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"items":3595,"total":3764},[3596,3613,3625,3637,3652,3667,3679,3692,3705,3718,3730,3749],{"slug":3597,"name":3597,"fn":3598,"description":3599,"org":3600,"tags":3601,"stars":3610,"repoUrl":3611,"updatedAt":3612},"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},[3602,3604,3607],{"name":3603,"slug":31,"type":15},"Agents",{"name":3605,"slug":3606,"type":15},"Automation","automation",{"name":3608,"slug":3609,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":3614,"name":3614,"fn":3615,"description":3616,"org":3617,"tags":3618,"stars":3610,"repoUrl":3611,"updatedAt":3624},"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},[3619,3620,3623],{"name":3605,"slug":3606,"type":15},{"name":3621,"slug":3622,"type":15},"AWS","aws",{"name":3608,"slug":3609,"type":15},"2026-07-17T06:08:33.665276",{"slug":3626,"name":3626,"fn":3627,"description":3628,"org":3629,"tags":3630,"stars":3610,"repoUrl":3611,"updatedAt":3636},"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},[3631,3632,3633],{"name":3603,"slug":31,"type":15},{"name":3608,"slug":3609,"type":15},{"name":3634,"slug":3635,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":3638,"name":3638,"fn":3639,"description":3640,"org":3641,"tags":3642,"stars":3610,"repoUrl":3611,"updatedAt":3651},"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},[3643,3646,3647,3648],{"name":3644,"slug":3645,"type":15},"API Development","api-development",{"name":3605,"slug":3606,"type":15},{"name":3608,"slug":3609,"type":15},{"name":3649,"slug":3650,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":3653,"name":3653,"fn":3654,"description":3655,"org":3656,"tags":3657,"stars":3610,"repoUrl":3611,"updatedAt":3666},"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},[3658,3659,3660,3663],{"name":3608,"slug":3609,"type":15},{"name":23,"slug":24,"type":15},{"name":3661,"slug":3662,"type":15},"QA","qa",{"name":3664,"slug":3665,"type":15},"Testing","testing","2026-07-17T06:07:41.421482",{"slug":3668,"name":3668,"fn":3669,"description":3670,"org":3671,"tags":3672,"stars":3610,"repoUrl":3611,"updatedAt":3678},"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},[3673,3674,3675],{"name":3603,"slug":31,"type":15},{"name":3608,"slug":3609,"type":15},{"name":3676,"slug":3677,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":3680,"name":3680,"fn":3681,"description":3682,"org":3683,"tags":3684,"stars":3610,"repoUrl":3611,"updatedAt":3691},"slack","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},[3685,3686,3689],{"name":3608,"slug":3609,"type":15},{"name":3687,"slug":3688,"type":15},"Messaging","messaging",{"name":3690,"slug":3680,"type":15},"Slack","2026-07-17T06:08:27.679015",{"slug":3693,"name":3693,"fn":3694,"description":3695,"org":3696,"tags":3697,"stars":3610,"repoUrl":3611,"updatedAt":3704},"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},[3698,3699,3700,3701],{"name":3605,"slug":3606,"type":15},{"name":3608,"slug":3609,"type":15},{"name":3664,"slug":3665,"type":15},{"name":3702,"slug":3703,"type":15},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":3706,"name":3706,"fn":3707,"description":3708,"org":3709,"tags":3710,"stars":3715,"repoUrl":3716,"updatedAt":3717},"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},[3711,3714],{"name":3712,"slug":3713,"type":15},"Deployment","deployment",{"name":3702,"slug":3703,"type":15},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":3719,"name":3719,"fn":3720,"description":3721,"org":3722,"tags":3723,"stars":3715,"repoUrl":3716,"updatedAt":3729},"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},[3724,3727,3728],{"name":3725,"slug":3726,"type":15},"CLI","cli",{"name":3712,"slug":3713,"type":15},{"name":3702,"slug":3703,"type":15},"2026-07-17T06:08:41.84179",{"slug":3731,"name":3731,"fn":3732,"description":3733,"org":3734,"tags":3735,"stars":3715,"repoUrl":3716,"updatedAt":3748},"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},[3736,3739,3742,3745],{"name":3737,"slug":3738,"type":15},"Best Practices","best-practices",{"name":3740,"slug":3741,"type":15},"Frontend","frontend",{"name":3743,"slug":3744,"type":15},"React","react",{"name":3746,"slug":3747,"type":15},"UI Components","ui-components","2026-07-17T06:05:40.576913",{"slug":3750,"name":3750,"fn":3751,"description":3752,"org":3753,"tags":3754,"stars":3715,"repoUrl":3716,"updatedAt":3763},"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},[3755,3758,3759,3762],{"name":3756,"slug":3757,"type":15},"Cost Optimization","cost-optimization",{"name":3712,"slug":3713,"type":15},{"name":3760,"slug":3761,"type":15},"Performance","performance",{"name":3702,"slug":3703,"type":15},"2026-07-17T06:04:08.327515",100]