@kayjs/kay 0.0.0-stage → 1.104.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2958) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSES/Apache-2.0.txt +55 -0
  3. package/LICENSES/MPL-2.0.txt +373 -0
  4. package/LICENSES/emscripten.txt +102 -0
  5. package/LICENSES/libaom-PATENTS.txt +108 -0
  6. package/LICENSES/libaom.txt +27 -0
  7. package/LICENSES/libavif-1.4.2.txt +387 -0
  8. package/LICENSES/libavif.txt +353 -0
  9. package/LICENSES/libwebp-PATENTS.txt +23 -0
  10. package/LICENSES/libwebp.txt +30 -0
  11. package/LICENSES/musl-emscripten-6.0.12.txt +193 -0
  12. package/LICENSES/musl.txt +193 -0
  13. package/NOTICE +11 -0
  14. package/README.md +107 -2
  15. package/dist/eslint.js +17787 -0
  16. package/editors/tree-sitter-kay/queries/highlights.scm +63 -0
  17. package/editors/tree-sitter-kay/queries/indents.scm +17 -0
  18. package/editors/tree-sitter-kay/queries/injections.scm +21 -0
  19. package/editors/vscode/syntaxes/kay.tmLanguage.json +624 -0
  20. package/editors/zed/Cargo.toml +13 -0
  21. package/editors/zed/extension.toml +16 -0
  22. package/editors/zed/languages/kay/config.toml +13 -0
  23. package/editors/zed/languages/kay/highlights.scm +63 -0
  24. package/editors/zed/languages/kay/indents.scm +17 -0
  25. package/editors/zed/languages/kay/injections.scm +21 -0
  26. package/editors/zed/src/lib.rs +50 -0
  27. package/llms/a11y-audit.md +21 -0
  28. package/llms/a11y-lints.md +51 -0
  29. package/llms/action-protection.md +122 -0
  30. package/llms/actions-from-islands.md +166 -0
  31. package/llms/actions-refused-fields.md +27 -0
  32. package/llms/actions.md +254 -0
  33. package/llms/analytics.md +157 -0
  34. package/llms/api-from-islands.md +168 -0
  35. package/llms/api-routes.md +222 -0
  36. package/llms/browser-only.md +69 -0
  37. package/llms/build-and-start.md +77 -0
  38. package/llms/cdn-caching.md +24 -0
  39. package/llms/check-and-tools.md +149 -0
  40. package/llms/checks.md +133 -0
  41. package/llms/code-lints.md +37 -0
  42. package/llms/compiler-api.md +25 -0
  43. package/llms/component-libraries.md +123 -0
  44. package/llms/component-library-conventions.md +60 -0
  45. package/llms/components.md +252 -0
  46. package/llms/content-cms.md +101 -0
  47. package/llms/content-edit.md +49 -0
  48. package/llms/content-markdown-to-caching.md +96 -0
  49. package/llms/content-preview.md +79 -0
  50. package/llms/content.md +276 -0
  51. package/llms/deprecated-lints.md +21 -0
  52. package/llms/dev-server.md +74 -0
  53. package/llms/dev-tool.md +72 -0
  54. package/llms/eco-design.md +107 -0
  55. package/llms/editor-and-agent-commands.md +83 -0
  56. package/llms/effects.md +98 -0
  57. package/llms/environment.md +82 -0
  58. package/llms/errors-runtime.md +57 -0
  59. package/llms/errors.md +121 -0
  60. package/llms/events.md +42 -0
  61. package/llms/files.md +189 -0
  62. package/llms/guards.md +60 -0
  63. package/llms/head.md +211 -0
  64. package/llms/hooks.md +159 -0
  65. package/llms/images-runtime-and-remote.md +85 -0
  66. package/llms/images.md +206 -0
  67. package/llms/imported-files.md +41 -0
  68. package/llms/island-and-form-lints.md +27 -0
  69. package/llms/island-sources.md +71 -0
  70. package/llms/islands-state-to-ids.md +100 -0
  71. package/llms/islands.md +281 -0
  72. package/llms/lints.md +98 -0
  73. package/llms/live-values.md +123 -0
  74. package/llms/local-collections.md +98 -0
  75. package/llms/locales-texts.md +28 -0
  76. package/llms/locales.md +269 -0
  77. package/llms/mcp.md +56 -0
  78. package/llms/navigation-from-code.md +113 -0
  79. package/llms/navigation.md +132 -0
  80. package/llms/notifications.md +114 -0
  81. package/llms/performance-lints.md +17 -0
  82. package/llms/prerendering.md +160 -0
  83. package/llms/privacy.md +166 -0
  84. package/llms/production.md +210 -0
  85. package/llms/project-new-and-add.md +67 -0
  86. package/llms/project.md +165 -0
  87. package/llms/proxy-and-security.md +177 -0
  88. package/llms/queues.md +113 -0
  89. package/llms/rate-limits.md +108 -0
  90. package/llms/recipes.md +355 -0
  91. package/llms/rendering.md +291 -0
  92. package/llms/request-values.md +82 -0
  93. package/llms/rooms.md +130 -0
  94. package/llms/routing-endpoints-and-base.md +122 -0
  95. package/llms/routing-special-pages.md +59 -0
  96. package/llms/routing.md +280 -0
  97. package/llms/schemas.md +52 -0
  98. package/llms/security-and-i18n-lints.md +19 -0
  99. package/llms/seo-lints.md +44 -0
  100. package/llms/server-islands.md +79 -0
  101. package/llms/server.md +244 -0
  102. package/llms/site.md +402 -0
  103. package/llms/sitemap-search-fonts.md +275 -0
  104. package/llms/stores.md +45 -0
  105. package/llms/styles-and-assets.md +209 -0
  106. package/llms/templates-elements-slots-snippets.md +149 -0
  107. package/llms/templates.md +294 -0
  108. package/llms/testing-browser.md +95 -0
  109. package/llms/testing-requests-jobs-sockets.md +87 -0
  110. package/llms/testing-setup.md +54 -0
  111. package/llms/testing.md +279 -0
  112. package/llms/tracing.md +56 -0
  113. package/llms/upgrading-archive.md +164 -0
  114. package/llms/upgrading.md +169 -0
  115. package/llms/whats-new-archive.md +52 -0
  116. package/llms/whats-new.md +55 -0
  117. package/llms/workers.md +22 -0
  118. package/llms.txt +123 -0
  119. package/package.json +322 -4
  120. package/src/a11y/audit.ts +217 -0
  121. package/src/a11y/report.ts +198 -0
  122. package/src/a11y/rgaa-criteria.ts +182 -0
  123. package/src/a11y/standards.ts +90 -0
  124. package/src/a11y/targets.ts +78 -0
  125. package/src/add.ts +752 -0
  126. package/src/build/action-calls.ts +174 -0
  127. package/src/build/assets.ts +73 -0
  128. package/src/build/budget.ts +127 -0
  129. package/src/build/bun.ts +19 -0
  130. package/src/build/cache-ids.ts +66 -0
  131. package/src/build/cache.ts +110 -0
  132. package/src/build/captured-loads.ts +40 -0
  133. package/src/build/class-rules.ts +240 -0
  134. package/src/build/class-sources.ts +437 -0
  135. package/src/build/class-table.ts +331 -0
  136. package/src/build/client.ts +859 -0
  137. package/src/build/collection-components.ts +140 -0
  138. package/src/build/compile.ts +264 -0
  139. package/src/build/compressed.ts +96 -0
  140. package/src/build/direct-imports.ts +139 -0
  141. package/src/build/dynamic-classes.ts +394 -0
  142. package/src/build/favicons.ts +149 -0
  143. package/src/build/files.ts +464 -0
  144. package/src/build/fingerprint.ts +54 -0
  145. package/src/build/footprint-models.ts +90 -0
  146. package/src/build/footprint.ts +683 -0
  147. package/src/build/glob.ts +237 -0
  148. package/src/build/globbed.ts +3 -0
  149. package/src/build/header-files.ts +69 -0
  150. package/src/build/icons.ts +127 -0
  151. package/src/build/increments.ts +291 -0
  152. package/src/build/insert-ids.ts +48 -0
  153. package/src/build/kept-maps.ts +64 -0
  154. package/src/build/kept.ts +149 -0
  155. package/src/build/layer-order.ts +89 -0
  156. package/src/build/libraries.ts +604 -0
  157. package/src/build/licenses.ts +246 -0
  158. package/src/build/links.ts +119 -0
  159. package/src/build/live-ids.ts +72 -0
  160. package/src/build/manifests.ts +91 -0
  161. package/src/build/named-refresh.ts +75 -0
  162. package/src/build/navigation-locale.ts +18 -0
  163. package/src/build/page-dirs.ts +58 -0
  164. package/src/build/pipeline.ts +534 -0
  165. package/src/build/plugin.ts +359 -0
  166. package/src/build/probe.ts +158 -0
  167. package/src/build/prune.ts +160 -0
  168. package/src/build/recipe-classes.ts +193 -0
  169. package/src/build/references.ts +85 -0
  170. package/src/build/report.ts +457 -0
  171. package/src/build/route-sizes.ts +387 -0
  172. package/src/build/runtime-chunk.ts +425 -0
  173. package/src/build/runtime-config.ts +174 -0
  174. package/src/build/search.ts +350 -0
  175. package/src/build/server-only.ts +531 -0
  176. package/src/build/server-record.ts +200 -0
  177. package/src/build/signals.ts +129 -0
  178. package/src/build/source-files.ts +31 -0
  179. package/src/build/source-parses.ts +136 -0
  180. package/src/build/sourcemap.ts +335 -0
  181. package/src/build/static.ts +340 -0
  182. package/src/build/style-uses.ts +579 -0
  183. package/src/build/styles.ts +325 -0
  184. package/src/build/supports.ts +201 -0
  185. package/src/build/theme-vars.ts +72 -0
  186. package/src/build/transform.ts +293 -0
  187. package/src/build/ui-info.ts +343 -0
  188. package/src/build/ui.ts +462 -0
  189. package/src/build/variants.ts +521 -0
  190. package/src/build/verify.ts +391 -0
  191. package/src/build/warn-classes.ts +18 -0
  192. package/src/build/worker-bundle.ts +70 -0
  193. package/src/bun.ts +38 -0
  194. package/src/check/api-modules.ts +48 -0
  195. package/src/check/api-scope.ts +112 -0
  196. package/src/check/ast.ts +52 -0
  197. package/src/check/bindings.ts +72 -0
  198. package/src/check/boot.ts +214 -0
  199. package/src/check/browser-global-reads.ts +123 -0
  200. package/src/check/builtin-imports.ts +215 -0
  201. package/src/check/class-words.ts +260 -0
  202. package/src/check/config-keys.ts +63 -0
  203. package/src/check/diagnose.ts +259 -0
  204. package/src/check/dockerfile.ts +59 -0
  205. package/src/check/endpoint-exports.ts +41 -0
  206. package/src/check/env-types.ts +268 -0
  207. package/src/check/export-homes.ts +69 -0
  208. package/src/check/fixes.ts +38 -0
  209. package/src/check/generated.ts +141 -0
  210. package/src/check/guards.ts +109 -0
  211. package/src/check/index.ts +242 -0
  212. package/src/check/island-modules.ts +142 -0
  213. package/src/check/island-only.ts +104 -0
  214. package/src/check/large-images.ts +355 -0
  215. package/src/check/layout-facts.ts +43 -0
  216. package/src/check/loaded.ts +88 -0
  217. package/src/check/local-state.ts +132 -0
  218. package/src/check/loop-index-fix.ts +46 -0
  219. package/src/check/mcp-routes.ts +86 -0
  220. package/src/check/messages.ts +327 -0
  221. package/src/check/missing-imports.ts +99 -0
  222. package/src/check/open-settings.ts +33 -0
  223. package/src/check/output-schema.ts +154 -0
  224. package/src/check/page-heads.ts +241 -0
  225. package/src/check/page-structure.ts +27 -0
  226. package/src/check/persisted-storage.ts +87 -0
  227. package/src/check/project.ts +303 -0
  228. package/src/check/public-env-outside-src.ts +43 -0
  229. package/src/check/queries.ts +99 -0
  230. package/src/check/removed-ui-tokens.ts +343 -0
  231. package/src/check/renamed-call-options.ts +83 -0
  232. package/src/check/renamed-exports.ts +247 -0
  233. package/src/check/renamed-packages.ts +81 -0
  234. package/src/check/schema-type.ts +9 -0
  235. package/src/check/seo.ts +240 -0
  236. package/src/check/server-only-reads.ts +79 -0
  237. package/src/check/shadow-types.ts +613 -0
  238. package/src/check/shadow.ts +381 -0
  239. package/src/check/site-seo.ts +339 -0
  240. package/src/check/socket-routes.ts +75 -0
  241. package/src/check/status-pages.ts +30 -0
  242. package/src/check/template-hints.ts +477 -0
  243. package/src/check/tool-labels.ts +120 -0
  244. package/src/check/tool-outputs.ts +201 -0
  245. package/src/check/tsgo.ts +297 -0
  246. package/src/check/typing-stamp.ts +146 -0
  247. package/src/check/ui-tokens.ts +174 -0
  248. package/src/check/ui-types.ts +87 -0
  249. package/src/check/ui.ts +105 -0
  250. package/src/check/unmounted-jobs.ts +63 -0
  251. package/src/cli.ts +135 -0
  252. package/src/commands/a11y.ts +87 -0
  253. package/src/commands/add-peers.ts +20 -0
  254. package/src/commands/add.ts +51 -0
  255. package/src/commands/build.ts +234 -0
  256. package/src/commands/check.ts +417 -0
  257. package/src/commands/command.ts +535 -0
  258. package/src/commands/completion.ts +57 -0
  259. package/src/commands/dev.ts +131 -0
  260. package/src/commands/docs.ts +161 -0
  261. package/src/commands/doctor.ts +404 -0
  262. package/src/commands/editor.ts +56 -0
  263. package/src/commands/env-compare.ts +458 -0
  264. package/src/commands/env-declare.ts +256 -0
  265. package/src/commands/env.ts +192 -0
  266. package/src/commands/explain-island.ts +107 -0
  267. package/src/commands/explain.ts +94 -0
  268. package/src/commands/extensions.ts +87 -0
  269. package/src/commands/fix-path.ts +10 -0
  270. package/src/commands/fmt.ts +152 -0
  271. package/src/commands/generate.ts +60 -0
  272. package/src/commands/i18n.ts +153 -0
  273. package/src/commands/import-module.ts +19 -0
  274. package/src/commands/lint-cache.ts +61 -0
  275. package/src/commands/lint.ts +76 -0
  276. package/src/commands/lsp.ts +17 -0
  277. package/src/commands/mcp.ts +35 -0
  278. package/src/commands/migrate.ts +131 -0
  279. package/src/commands/new.ts +172 -0
  280. package/src/commands/not-found.ts +180 -0
  281. package/src/commands/project-checks.ts +52 -0
  282. package/src/commands/registry.ts +86 -0
  283. package/src/commands/render.ts +146 -0
  284. package/src/commands/routes.ts +295 -0
  285. package/src/commands/screenshot.ts +113 -0
  286. package/src/commands/start.ts +124 -0
  287. package/src/commands/test.ts +181 -0
  288. package/src/commands/types.ts +41 -0
  289. package/src/commands/upgrade.ts +838 -0
  290. package/src/compiler/a11y-markup.ts +352 -0
  291. package/src/compiler/a11y.ts +757 -0
  292. package/src/compiler/allow-comments.ts +68 -0
  293. package/src/compiler/aria.ts +298 -0
  294. package/src/compiler/ast.ts +960 -0
  295. package/src/compiler/browser.ts +468 -0
  296. package/src/compiler/class-name.ts +120 -0
  297. package/src/compiler/codegen.ts +1181 -0
  298. package/src/compiler/deprecated-lints.ts +97 -0
  299. package/src/compiler/deprecated-script-fence.ts +26 -0
  300. package/src/compiler/deprecated-ui-props.ts +67 -0
  301. package/src/compiler/diagnostics.ts +46 -0
  302. package/src/compiler/dom.ts +782 -0
  303. package/src/compiler/each-node.ts +20 -0
  304. package/src/compiler/else-problem.ts +28 -0
  305. package/src/compiler/errors.ts +605 -0
  306. package/src/compiler/estree-shapes.ts +44 -0
  307. package/src/compiler/estree.ts +126 -0
  308. package/src/compiler/event-modifiers.ts +96 -0
  309. package/src/compiler/expression.ts +102 -0
  310. package/src/compiler/fence-checks.ts +818 -0
  311. package/src/compiler/fence-nodes.ts +25 -0
  312. package/src/compiler/fence-redirects.ts +395 -0
  313. package/src/compiler/field-described.ts +45 -0
  314. package/src/compiler/fnv-hash.ts +9 -0
  315. package/src/compiler/format.ts +419 -0
  316. package/src/compiler/frame.ts +89 -0
  317. package/src/compiler/globals.ts +57 -0
  318. package/src/compiler/host.browser.ts +25 -0
  319. package/src/compiler/host.ts +33 -0
  320. package/src/compiler/html.ts +1024 -0
  321. package/src/compiler/i18n-lints.ts +29 -0
  322. package/src/compiler/if-alias.ts +124 -0
  323. package/src/compiler/import-edits.ts +47 -0
  324. package/src/compiler/index.ts +584 -0
  325. package/src/compiler/inspect.ts +32 -0
  326. package/src/compiler/island-arguments.ts +117 -0
  327. package/src/compiler/island-cause.ts +57 -0
  328. package/src/compiler/island-marker.ts +34 -0
  329. package/src/compiler/items.ts +245 -0
  330. package/src/compiler/jsx-class.ts +84 -0
  331. package/src/compiler/jsx-entities.ts +25 -0
  332. package/src/compiler/jsx.ts +985 -0
  333. package/src/compiler/kay-exports.ts +109 -0
  334. package/src/compiler/lints.ts +1080 -0
  335. package/src/compiler/load-facts.ts +51 -0
  336. package/src/compiler/load-plan.ts +227 -0
  337. package/src/compiler/loop-lints.ts +26 -0
  338. package/src/compiler/mapping.ts +403 -0
  339. package/src/compiler/markdown-block.ts +693 -0
  340. package/src/compiler/markup.ts +860 -0
  341. package/src/compiler/minor.ts +13 -0
  342. package/src/compiler/module-signals.ts +100 -0
  343. package/src/compiler/names.ts +39 -0
  344. package/src/compiler/native-typescript.ts +29 -0
  345. package/src/compiler/nesting.ts +111 -0
  346. package/src/compiler/object-literal.ts +136 -0
  347. package/src/compiler/own-markup.ts +75 -0
  348. package/src/compiler/page-settings.ts +12 -0
  349. package/src/compiler/parser.ts +1476 -0
  350. package/src/compiler/pattern-names.ts +31 -0
  351. package/src/compiler/plan.ts +288 -0
  352. package/src/compiler/public.ts +4 -0
  353. package/src/compiler/rewrite-reads.ts +459 -0
  354. package/src/compiler/rewrite-scan.ts +77 -0
  355. package/src/compiler/rewrite-tags.ts +95 -0
  356. package/src/compiler/rewrite-types.ts +78 -0
  357. package/src/compiler/rewrite.ts +865 -0
  358. package/src/compiler/route-lints.ts +49 -0
  359. package/src/compiler/scanner.ts +175 -0
  360. package/src/compiler/scope.ts +713 -0
  361. package/src/compiler/scoped-style.ts +480 -0
  362. package/src/compiler/script-fence.ts +257 -0
  363. package/src/compiler/script-props.ts +196 -0
  364. package/src/compiler/script-recipe.ts +152 -0
  365. package/src/compiler/script-server.ts +443 -0
  366. package/src/compiler/script-shared.ts +189 -0
  367. package/src/compiler/script-split.ts +227 -0
  368. package/src/compiler/script.ts +130 -0
  369. package/src/compiler/serial-awaits.ts +123 -0
  370. package/src/compiler/status-pages.ts +11 -0
  371. package/src/compiler/style-lints.ts +188 -0
  372. package/src/compiler/template-reads.ts +235 -0
  373. package/src/compiler/template-scopes.ts +125 -0
  374. package/src/compiler/twin.ts +6 -0
  375. package/src/compiler/unowned-effects.ts +136 -0
  376. package/src/compiler/validate-fixes.ts +74 -0
  377. package/src/compiler/validate.ts +839 -0
  378. package/src/compiler/walk.ts +70 -0
  379. package/src/config-extensions.ts +175 -0
  380. package/src/config-loader.ts +332 -0
  381. package/src/config-rules.ts +138 -0
  382. package/src/config-shape.ts +204 -0
  383. package/src/config.ts +627 -0
  384. package/src/content/claims.ts +67 -0
  385. package/src/content/drafts.ts +43 -0
  386. package/src/content/edit-entries.ts +927 -0
  387. package/src/content/edit-fields.ts +247 -0
  388. package/src/content/edit-registry.ts +47 -0
  389. package/src/content/edit-shared.ts +188 -0
  390. package/src/content/edit.ts +5 -0
  391. package/src/content/entry-head.ts +58 -0
  392. package/src/content/entry-route.ts +11 -0
  393. package/src/content/excerpt.ts +99 -0
  394. package/src/content/feed.ts +241 -0
  395. package/src/content/heading-id.ts +48 -0
  396. package/src/content/held-back.ts +15 -0
  397. package/src/content/humanize.ts +9 -0
  398. package/src/content/images.ts +203 -0
  399. package/src/content/index.ts +761 -0
  400. package/src/content/key.ts +9 -0
  401. package/src/content/load.ts +781 -0
  402. package/src/content/markdown-extensions.ts +284 -0
  403. package/src/content/markdown.ts +940 -0
  404. package/src/content/migrate.ts +195 -0
  405. package/src/content/modified.ts +75 -0
  406. package/src/content/paginate.ts +119 -0
  407. package/src/content/problems.ts +44 -0
  408. package/src/content/references.ts +72 -0
  409. package/src/content/rewrite.ts +97 -0
  410. package/src/content/server.ts +469 -0
  411. package/src/content/source-draft.ts +38 -0
  412. package/src/content/turns.ts +28 -0
  413. package/src/content/validate.ts +342 -0
  414. package/src/dev/address.ts +78 -0
  415. package/src/dev/base-proxy.ts +104 -0
  416. package/src/dev/builder.ts +104 -0
  417. package/src/dev/client.ts +158 -0
  418. package/src/dev/config-record.ts +65 -0
  419. package/src/dev/fingerprint.ts +327 -0
  420. package/src/dev/index.ts +480 -0
  421. package/src/dev/inspector.ts +248 -0
  422. package/src/dev/loopback.ts +25 -0
  423. package/src/dev/pages.ts +6 -0
  424. package/src/dev/preload.ts +425 -0
  425. package/src/dev/refuse.ts +29 -0
  426. package/src/dev/reload.ts +282 -0
  427. package/src/dev/render-server.ts +131 -0
  428. package/src/dev/render-socket.ts +53 -0
  429. package/src/dev/screenshot-diff.ts +76 -0
  430. package/src/dev/screenshot-limits.ts +17 -0
  431. package/src/dev/screenshot.ts +410 -0
  432. package/src/dev/session/client.ts +173 -0
  433. package/src/dev/session/keys.ts +51 -0
  434. package/src/dev/session/ports.ts +30 -0
  435. package/src/dev/session/queue.ts +133 -0
  436. package/src/dev/session/report.ts +172 -0
  437. package/src/dev/session/servers.ts +295 -0
  438. package/src/dev/session/types.ts +309 -0
  439. package/src/dev/sources.ts +265 -0
  440. package/src/dev/tailwind.ts +93 -0
  441. package/src/dev/types-process.ts +172 -0
  442. package/src/dev/types.ts +187 -0
  443. package/src/docs-props.ts +168 -0
  444. package/src/docs-search.ts +372 -0
  445. package/src/editors.ts +238 -0
  446. package/src/entities.ts +41 -0
  447. package/src/eslint/index.ts +455 -0
  448. package/src/features.ts +22 -0
  449. package/src/format/index.ts +75 -0
  450. package/src/format/tailwind.ts +190 -0
  451. package/src/generate-resource.ts +442 -0
  452. package/src/generate.ts +365 -0
  453. package/src/imports.ts +157 -0
  454. package/src/input-types.ts +2 -0
  455. package/src/keyword-attributes.ts +12 -0
  456. package/src/lsp/bridge.ts +80 -0
  457. package/src/lsp/code-actions.ts +71 -0
  458. package/src/lsp/completions.ts +270 -0
  459. package/src/lsp/component-props.ts +109 -0
  460. package/src/lsp/diagnostics.ts +217 -0
  461. package/src/lsp/document-links.ts +56 -0
  462. package/src/lsp/host.ts +112 -0
  463. package/src/lsp/island-lens.ts +41 -0
  464. package/src/lsp/mapping.ts +163 -0
  465. package/src/lsp/navigation.ts +207 -0
  466. package/src/lsp/outline.ts +233 -0
  467. package/src/lsp/positions.ts +13 -0
  468. package/src/lsp/project-checks.ts +119 -0
  469. package/src/lsp/protocol.ts +167 -0
  470. package/src/lsp/range-format.ts +62 -0
  471. package/src/lsp/rename.ts +115 -0
  472. package/src/lsp/renames.ts +126 -0
  473. package/src/lsp/route-links.ts +92 -0
  474. package/src/lsp/rpc.ts +185 -0
  475. package/src/lsp/semantic-tokens.ts +481 -0
  476. package/src/lsp/server.ts +557 -0
  477. package/src/lsp/template-completion.ts +361 -0
  478. package/src/lsp/ui-completion.ts +206 -0
  479. package/src/mcp/guards.ts +66 -0
  480. package/src/mcp/install.ts +7 -0
  481. package/src/mcp/protocol.ts +289 -0
  482. package/src/mcp/tools.ts +819 -0
  483. package/src/migrate/astro.ts +367 -0
  484. package/src/migrate/content.ts +242 -0
  485. package/src/migrate/html.ts +96 -0
  486. package/src/migrate/markup.ts +734 -0
  487. package/src/migrate/project.ts +365 -0
  488. package/src/native-plugins.ts +2 -0
  489. package/src/nearest.ts +23 -0
  490. package/src/new.ts +333 -0
  491. package/src/package-names.ts +25 -0
  492. package/src/peers.ts +82 -0
  493. package/src/project.ts +214 -0
  494. package/src/runtime/action-call.ts +504 -0
  495. package/src/runtime/action-encode.ts +57 -0
  496. package/src/runtime/action-error.ts +36 -0
  497. package/src/runtime/action-form.ts +332 -0
  498. package/src/runtime/action-marks.ts +10 -0
  499. package/src/runtime/action-navigate.ts +54 -0
  500. package/src/runtime/action-owner.ts +93 -0
  501. package/src/runtime/action-post.ts +146 -0
  502. package/src/runtime/action-protection.ts +49 -0
  503. package/src/runtime/action-revive.ts +21 -0
  504. package/src/runtime/action-reviver.ts +1 -0
  505. package/src/runtime/action-shared.ts +437 -0
  506. package/src/runtime/action-stream.ts +177 -0
  507. package/src/runtime/action.ts +102 -0
  508. package/src/runtime/analytics.client.ts +2 -0
  509. package/src/runtime/announce.ts +34 -0
  510. package/src/runtime/api-error-class.ts +15 -0
  511. package/src/runtime/api-error.ts +74 -0
  512. package/src/runtime/api-url.ts +82 -0
  513. package/src/runtime/arrival.ts +23 -0
  514. package/src/runtime/await.server.ts +203 -0
  515. package/src/runtime/await.ts +13 -0
  516. package/src/runtime/base.ts +144 -0
  517. package/src/runtime/build.ts +21 -0
  518. package/src/runtime/byte-count.ts +14 -0
  519. package/src/runtime/byte-size.ts +17 -0
  520. package/src/runtime/cache-live-id.ts +2 -0
  521. package/src/runtime/cache.server.ts +183 -0
  522. package/src/runtime/cache.ts +940 -0
  523. package/src/runtime/call-body.ts +29 -0
  524. package/src/runtime/call-result.ts +137 -0
  525. package/src/runtime/checks.ts +390 -0
  526. package/src/runtime/claimed.ts +20 -0
  527. package/src/runtime/class-table.ts +60 -0
  528. package/src/runtime/client.ts +439 -0
  529. package/src/runtime/connection.ts +174 -0
  530. package/src/runtime/consent.ts +87 -0
  531. package/src/runtime/core.ts +505 -0
  532. package/src/runtime/counters.ts +33 -0
  533. package/src/runtime/described.ts +76 -0
  534. package/src/runtime/dev-a11y.ts +142 -0
  535. package/src/runtime/dev-boot.ts +57 -0
  536. package/src/runtime/dev-inspector.ts +341 -0
  537. package/src/runtime/dev-patch.ts +167 -0
  538. package/src/runtime/dev-refresh.ts +14 -0
  539. package/src/runtime/dev-styles.ts +158 -0
  540. package/src/runtime/dev-tab-data.ts +197 -0
  541. package/src/runtime/dev-tab-env.ts +135 -0
  542. package/src/runtime/dev-tab-head.ts +282 -0
  543. package/src/runtime/dev-tab-i18n.ts +72 -0
  544. package/src/runtime/dev-tab-images.ts +319 -0
  545. package/src/runtime/dev-tab-jobs.ts +188 -0
  546. package/src/runtime/dev-tab-network.ts +230 -0
  547. package/src/runtime/dev-tab-not-found.ts +101 -0
  548. package/src/runtime/dev-tab-performance.ts +411 -0
  549. package/src/runtime/dev-tab-reading.ts +600 -0
  550. package/src/runtime/dev-tab-routes.ts +111 -0
  551. package/src/runtime/dev-tab-styles.ts +175 -0
  552. package/src/runtime/dev-tool-constants.ts +22 -0
  553. package/src/runtime/dev-tool-icons.ts +86 -0
  554. package/src/runtime/dev-tool-keys.ts +53 -0
  555. package/src/runtime/dev-tool-kit.ts +77 -0
  556. package/src/runtime/dev-tool-layout.ts +200 -0
  557. package/src/runtime/dev-tool-markdown.ts +144 -0
  558. package/src/runtime/dev-tool-outline.ts +44 -0
  559. package/src/runtime/dev-tool-parts.ts +332 -0
  560. package/src/runtime/dev-tool-problems.ts +310 -0
  561. package/src/runtime/dev-tool-request.ts +226 -0
  562. package/src/runtime/dev-tool-shell.ts +81 -0
  563. package/src/runtime/dev-tool-style.ts +242 -0
  564. package/src/runtime/dev-tool-swaps.ts +21 -0
  565. package/src/runtime/dev-tool-tab-order.ts +475 -0
  566. package/src/runtime/dev-tool-tabs.ts +205 -0
  567. package/src/runtime/dev-tool-vitals.ts +109 -0
  568. package/src/runtime/dev-tool-window.ts +213 -0
  569. package/src/runtime/dev-tool.public.ts +5 -0
  570. package/src/runtime/dev-tool.ts +332 -0
  571. package/src/runtime/dom-await.ts +102 -0
  572. package/src/runtime/dom-image.ts +15 -0
  573. package/src/runtime/dom-loop.ts +335 -0
  574. package/src/runtime/dom-spread.ts +106 -0
  575. package/src/runtime/dom-try.ts +58 -0
  576. package/src/runtime/dom.ts +1028 -0
  577. package/src/runtime/draft-issues.ts +23 -0
  578. package/src/runtime/duration-words.ts +21 -0
  579. package/src/runtime/duration.ts +60 -0
  580. package/src/runtime/edit.ts +108 -0
  581. package/src/runtime/element-size.ts +67 -0
  582. package/src/runtime/email.ts +65 -0
  583. package/src/runtime/ended-entry.ts +10 -0
  584. package/src/runtime/env.ts +41 -0
  585. package/src/runtime/escape.ts +47 -0
  586. package/src/runtime/fetch-island.ts +211 -0
  587. package/src/runtime/fields.ts +553 -0
  588. package/src/runtime/fills.ts +52 -0
  589. package/src/runtime/focus.ts +54 -0
  590. package/src/runtime/follow-log.ts +154 -0
  591. package/src/runtime/form-controls.ts +4 -0
  592. package/src/runtime/form-hold.ts +87 -0
  593. package/src/runtime/form-protect.ts +103 -0
  594. package/src/runtime/form-submits.ts +212 -0
  595. package/src/runtime/form.ts +178 -0
  596. package/src/runtime/forms.ts +335 -0
  597. package/src/runtime/french.ts +39 -0
  598. package/src/runtime/head.ts +502 -0
  599. package/src/runtime/html.ts +659 -0
  600. package/src/runtime/hydrate-when.ts +103 -0
  601. package/src/runtime/i18n-links.ts +44 -0
  602. package/src/runtime/i18n.client.ts +220 -0
  603. package/src/runtime/i18n.server.ts +138 -0
  604. package/src/runtime/i18n.ts +601 -0
  605. package/src/runtime/icons.ts +99 -0
  606. package/src/runtime/image.public.ts +3 -0
  607. package/src/runtime/image.ts +599 -0
  608. package/src/runtime/in-view.ts +91 -0
  609. package/src/runtime/index.ts +84 -0
  610. package/src/runtime/install-prompt.ts +97 -0
  611. package/src/runtime/internal.ts +195 -0
  612. package/src/runtime/invalid.ts +49 -0
  613. package/src/runtime/island-request.ts +48 -0
  614. package/src/runtime/island.client.ts +9 -0
  615. package/src/runtime/island.server.ts +390 -0
  616. package/src/runtime/jsx-runtime.ts +2 -0
  617. package/src/runtime/jsx.ts +257 -0
  618. package/src/runtime/keepalive.ts +21 -0
  619. package/src/runtime/lasting.ts +40 -0
  620. package/src/runtime/leave.ts +71 -0
  621. package/src/runtime/listen-with.ts +8 -0
  622. package/src/runtime/listener-set.ts +22 -0
  623. package/src/runtime/live-cache.ts +462 -0
  624. package/src/runtime/live-props.ts +48 -0
  625. package/src/runtime/live-resource.server.ts +92 -0
  626. package/src/runtime/live-value.client.ts +383 -0
  627. package/src/runtime/live-value.server.ts +696 -0
  628. package/src/runtime/live-value.shared.ts +104 -0
  629. package/src/runtime/live-value.ts +43 -0
  630. package/src/runtime/live.ts +1115 -0
  631. package/src/runtime/load-scope.ts +78 -0
  632. package/src/runtime/local-status.ts +8 -0
  633. package/src/runtime/local.ts +938 -0
  634. package/src/runtime/locale-state.ts +55 -0
  635. package/src/runtime/localized.ts +18 -0
  636. package/src/runtime/log.ts +52 -0
  637. package/src/runtime/markdown-render.client.ts +163 -0
  638. package/src/runtime/markdown-task.ts +16 -0
  639. package/src/runtime/markdown.client.ts +94 -0
  640. package/src/runtime/markdown.server.ts +25 -0
  641. package/src/runtime/markdown.ts +24 -0
  642. package/src/runtime/markers.ts +25 -0
  643. package/src/runtime/media-query.ts +30 -0
  644. package/src/runtime/mount.ts +71 -0
  645. package/src/runtime/move.ts +18 -0
  646. package/src/runtime/navigate-api.ts +117 -0
  647. package/src/runtime/navigate.ts +351 -0
  648. package/src/runtime/navigation-entry.ts +2 -0
  649. package/src/runtime/navigation-state.ts +124 -0
  650. package/src/runtime/navigation.ts +236 -0
  651. package/src/runtime/online.ts +27 -0
  652. package/src/runtime/optimistic.ts +107 -0
  653. package/src/runtime/outside.ts +68 -0
  654. package/src/runtime/page-data.ts +60 -0
  655. package/src/runtime/page-errors.ts +31 -0
  656. package/src/runtime/page-swap.ts +522 -0
  657. package/src/runtime/page-title.ts +69 -0
  658. package/src/runtime/params.ts +24 -0
  659. package/src/runtime/pending.ts +44 -0
  660. package/src/runtime/persist.ts +290 -0
  661. package/src/runtime/persisted.ts +146 -0
  662. package/src/runtime/placeholder.ts +41 -0
  663. package/src/runtime/poll-backoff.ts +85 -0
  664. package/src/runtime/prefetch.ts +149 -0
  665. package/src/runtime/presence.ts +93 -0
  666. package/src/runtime/preview.ts +65 -0
  667. package/src/runtime/push.ts +294 -0
  668. package/src/runtime/query-param.ts +292 -0
  669. package/src/runtime/queue-jobs.ts +50 -0
  670. package/src/runtime/random-id.ts +5 -0
  671. package/src/runtime/reactive-collections.ts +214 -0
  672. package/src/runtime/reactive.ts +840 -0
  673. package/src/runtime/recipe.ts +79 -0
  674. package/src/runtime/refetch-island.ts +25 -0
  675. package/src/runtime/refuse.ts +56 -0
  676. package/src/runtime/rendered.ts +17 -0
  677. package/src/runtime/report-error.ts +25 -0
  678. package/src/runtime/retry-later.ts +72 -0
  679. package/src/runtime/reveal.ts +47 -0
  680. package/src/runtime/root.ts +6 -0
  681. package/src/runtime/route.ts +83 -0
  682. package/src/runtime/safe-code.ts +25 -0
  683. package/src/runtime/safe-html.ts +51 -0
  684. package/src/runtime/sanitize.ts +375 -0
  685. package/src/runtime/save-data.ts +4 -0
  686. package/src/runtime/schema-bounds.ts +50 -0
  687. package/src/runtime/schema.client.ts +26 -0
  688. package/src/runtime/schema.ts +71 -0
  689. package/src/runtime/search-arrival.ts +107 -0
  690. package/src/runtime/search-results.ts +47 -0
  691. package/src/runtime/search.ts +325 -0
  692. package/src/runtime/send.ts +114 -0
  693. package/src/runtime/seo.ts +70 -0
  694. package/src/runtime/server-islands.ts +5 -0
  695. package/src/runtime/shortcut.ts +179 -0
  696. package/src/runtime/site.ts +37 -0
  697. package/src/runtime/size-text.ts +25 -0
  698. package/src/runtime/snapshots.ts +116 -0
  699. package/src/runtime/sqlite.server.ts +52 -0
  700. package/src/runtime/sse.ts +88 -0
  701. package/src/runtime/stale.ts +181 -0
  702. package/src/runtime/static-slots.ts +78 -0
  703. package/src/runtime/store-base.ts +11 -0
  704. package/src/runtime/store.ts +309 -0
  705. package/src/runtime/swap-fetch.ts +214 -0
  706. package/src/runtime/swap-flight.ts +84 -0
  707. package/src/runtime/swap-focus.ts +188 -0
  708. package/src/runtime/swap-head.ts +288 -0
  709. package/src/runtime/swap-held.ts +41 -0
  710. package/src/runtime/swap-kept.ts +289 -0
  711. package/src/runtime/swap-loading.ts +44 -0
  712. package/src/runtime/swap-morph.ts +198 -0
  713. package/src/runtime/swap-refusal.ts +40 -0
  714. package/src/runtime/swap-streamed.ts +161 -0
  715. package/src/runtime/swap-transition.ts +117 -0
  716. package/src/runtime/swap.ts +33 -0
  717. package/src/runtime/template-context.ts +79 -0
  718. package/src/runtime/transition.ts +227 -0
  719. package/src/runtime/ui.ts +32 -0
  720. package/src/runtime/uid.server.ts +69 -0
  721. package/src/runtime/uid.ts +56 -0
  722. package/src/runtime/upload.ts +49 -0
  723. package/src/runtime/url-attributes.ts +2 -0
  724. package/src/runtime/url-report.ts +24 -0
  725. package/src/runtime/url.ts +37 -0
  726. package/src/runtime/validate.ts +310 -0
  727. package/src/runtime/values.ts +293 -0
  728. package/src/runtime/visibility.ts +35 -0
  729. package/src/runtime/warn-once.ts +22 -0
  730. package/src/runtime/wire.ts +204 -0
  731. package/src/runtime/with-query.ts +64 -0
  732. package/src/runtime/words.client.ts +138 -0
  733. package/src/runtime/words.server.ts +53 -0
  734. package/src/runtime/work-worker.ts +4 -0
  735. package/src/runtime/work.client.ts +112 -0
  736. package/src/runtime/work.ts +85 -0
  737. package/src/server/accept-language.ts +37 -0
  738. package/src/server/action-clash.ts +7 -0
  739. package/src/server/action-hooks.ts +69 -0
  740. package/src/server/action-input.ts +58 -0
  741. package/src/server/action-iterable.ts +75 -0
  742. package/src/server/actions.ts +874 -0
  743. package/src/server/address.ts +172 -0
  744. package/src/server/analytics-script.ts +302 -0
  745. package/src/server/analytics-server.ts +563 -0
  746. package/src/server/analytics-words.ts +13 -0
  747. package/src/server/analytics.ts +423 -0
  748. package/src/server/api-modules.ts +235 -0
  749. package/src/server/api-params.ts +83 -0
  750. package/src/server/api.ts +922 -0
  751. package/src/server/app-database.ts +32 -0
  752. package/src/server/app-hooks.ts +147 -0
  753. package/src/server/app-identity.ts +70 -0
  754. package/src/server/app-stages.ts +798 -0
  755. package/src/server/app-store.ts +79 -0
  756. package/src/server/app.ts +218 -0
  757. package/src/server/auth-mails.ts +162 -0
  758. package/src/server/auto-listen.ts +177 -0
  759. package/src/server/avif-worker.ts +138 -0
  760. package/src/server/avif.ts +124 -0
  761. package/src/server/base.ts +136 -0
  762. package/src/server/basic-auth.ts +109 -0
  763. package/src/server/body.ts +179 -0
  764. package/src/server/build-files.ts +117 -0
  765. package/src/server/builtins.ts +8 -0
  766. package/src/server/bundle.ts +81 -0
  767. package/src/server/card-draw.ts +220 -0
  768. package/src/server/card-template.ts +256 -0
  769. package/src/server/card.ts +666 -0
  770. package/src/server/ceiling.ts +10 -0
  771. package/src/server/clean-context.ts +6 -0
  772. package/src/server/client.ts +607 -0
  773. package/src/server/codec/avif-enc-build.ts +2 -0
  774. package/src/server/codec/avif-enc.d.ts +15 -0
  775. package/src/server/codec/avif-enc.js +2 -0
  776. package/src/server/codec/avif-enc.wasm +0 -0
  777. package/src/server/compress-policy.ts +40 -0
  778. package/src/server/compress.ts +1010 -0
  779. package/src/server/config-error.ts +54 -0
  780. package/src/server/config-limits.ts +166 -0
  781. package/src/server/consent-cookie.ts +10 -0
  782. package/src/server/context-layout/_layout.kay +7 -0
  783. package/src/server/context-reads.ts +33 -0
  784. package/src/server/context-record.ts +58 -0
  785. package/src/server/context-values.ts +181 -0
  786. package/src/server/cookie-names.ts +10 -0
  787. package/src/server/cookies.ts +159 -0
  788. package/src/server/cors.ts +235 -0
  789. package/src/server/crop.ts +153 -0
  790. package/src/server/cross-site.ts +155 -0
  791. package/src/server/csp.ts +40 -0
  792. package/src/server/dev-data.ts +558 -0
  793. package/src/server/dev-errors.ts +270 -0
  794. package/src/server/dev-footprint.ts +19 -0
  795. package/src/server/dev-head.ts +95 -0
  796. package/src/server/dev-jobs.ts +59 -0
  797. package/src/server/dev-not-found.ts +96 -0
  798. package/src/server/dev-notes.ts +12 -0
  799. package/src/server/dev-offered.ts +13 -0
  800. package/src/server/dev-secret.ts +65 -0
  801. package/src/server/dev-sizes.ts +114 -0
  802. package/src/server/dev-sqlite-worker.ts +96 -0
  803. package/src/server/dev-ui.ts +299 -0
  804. package/src/server/dev.ts +875 -0
  805. package/src/server/dictionary.ts +190 -0
  806. package/src/server/drain.ts +40 -0
  807. package/src/server/editor.ts +79 -0
  808. package/src/server/endpoint-claims.ts +29 -0
  809. package/src/server/endpoint-verbs.ts +43 -0
  810. package/src/server/endpoints.ts +417 -0
  811. package/src/server/entry-drafts.ts +151 -0
  812. package/src/server/entry-head.ts +50 -0
  813. package/src/server/entry-urls.ts +150 -0
  814. package/src/server/env-state.ts +146 -0
  815. package/src/server/env.ts +375 -0
  816. package/src/server/error-maps.ts +137 -0
  817. package/src/server/errors.ts +109 -0
  818. package/src/server/event-stream.ts +213 -0
  819. package/src/server/face.ts +788 -0
  820. package/src/server/favicon.png +0 -0
  821. package/src/server/favicon.svg +1 -0
  822. package/src/server/favicon.ts +342 -0
  823. package/src/server/fetch-public.ts +118 -0
  824. package/src/server/field-errors.ts +136 -0
  825. package/src/server/file-limit.ts +62 -0
  826. package/src/server/file-type.ts +46 -0
  827. package/src/server/flash.ts +140 -0
  828. package/src/server/font-metrics.ts +294 -0
  829. package/src/server/fonts.ts +344 -0
  830. package/src/server/forms.ts +89 -0
  831. package/src/server/guard-requirement.ts +16 -0
  832. package/src/server/guard-runs.ts +30 -0
  833. package/src/server/guards.ts +66 -0
  834. package/src/server/handler-timing.ts +12 -0
  835. package/src/server/history.ts +3 -0
  836. package/src/server/hooks.ts +170 -0
  837. package/src/server/host-allowlist.ts +63 -0
  838. package/src/server/hydration.ts +7 -0
  839. package/src/server/i18n.ts +534 -0
  840. package/src/server/image-color.ts +79 -0
  841. package/src/server/image-format.ts +181 -0
  842. package/src/server/image-limits.ts +88 -0
  843. package/src/server/image-metadata-bmff.ts +243 -0
  844. package/src/server/image-metadata.ts +316 -0
  845. package/src/server/image.ts +833 -0
  846. package/src/server/index.ts +149 -0
  847. package/src/server/internal.ts +8 -0
  848. package/src/server/job-admin.ts +197 -0
  849. package/src/server/job-status.ts +8 -0
  850. package/src/server/job-steps.ts +2 -0
  851. package/src/server/jobs-page.ts +137 -0
  852. package/src/server/jobs.ts +403 -0
  853. package/src/server/kept-exports.ts +174 -0
  854. package/src/server/kept-pages.ts +117 -0
  855. package/src/server/kept-source.ts +609 -0
  856. package/src/server/kv.ts +201 -0
  857. package/src/server/lazy-guard.ts +71 -0
  858. package/src/server/library.ts +142 -0
  859. package/src/server/lifecycle.ts +378 -0
  860. package/src/server/limit.ts +33 -0
  861. package/src/server/link-schemes.ts +23 -0
  862. package/src/server/links.ts +238 -0
  863. package/src/server/literal-writes.ts +756 -0
  864. package/src/server/live.ts +628 -0
  865. package/src/server/load-budget.ts +69 -0
  866. package/src/server/loader.ts +180 -0
  867. package/src/server/loading-page.ts +41 -0
  868. package/src/server/local-files.ts +26 -0
  869. package/src/server/log.ts +282 -0
  870. package/src/server/maintenance.ts +141 -0
  871. package/src/server/mcp-key.ts +165 -0
  872. package/src/server/mcp.ts +731 -0
  873. package/src/server/memory-jobs.ts +168 -0
  874. package/src/server/memory-mark.ts +12 -0
  875. package/src/server/message-drafts.ts +284 -0
  876. package/src/server/metrics.ts +199 -0
  877. package/src/server/missing-hits.ts +41 -0
  878. package/src/server/module-state.ts +327 -0
  879. package/src/server/new-tab.ts +28 -0
  880. package/src/server/not-found-config.ts +160 -0
  881. package/src/server/not-found.ts +828 -0
  882. package/src/server/notifications.ts +358 -0
  883. package/src/server/offline.ts +558 -0
  884. package/src/server/openapi.ts +522 -0
  885. package/src/server/option-keys.ts +15 -0
  886. package/src/server/overlay.ts +196 -0
  887. package/src/server/own-headers.ts +221 -0
  888. package/src/server/page-error.ts +57 -0
  889. package/src/server/page-flags.ts +15 -0
  890. package/src/server/page-headers.ts +93 -0
  891. package/src/server/page-hook.ts +201 -0
  892. package/src/server/page-limits.ts +142 -0
  893. package/src/server/page-reads.ts +63 -0
  894. package/src/server/page-routes.ts +377 -0
  895. package/src/server/page-settings.ts +66 -0
  896. package/src/server/params.ts +197 -0
  897. package/src/server/parent.ts +8 -0
  898. package/src/server/personal-data.ts +47 -0
  899. package/src/server/pg-cache.ts +181 -0
  900. package/src/server/pg-data.ts +254 -0
  901. package/src/server/pg-jobs.ts +511 -0
  902. package/src/server/pg-limit.ts +51 -0
  903. package/src/server/pg-live.ts +287 -0
  904. package/src/server/pg-not-found.ts +440 -0
  905. package/src/server/pg-notify.ts +216 -0
  906. package/src/server/pg-orm.ts +26 -0
  907. package/src/server/pg-poll.ts +341 -0
  908. package/src/server/pg-redirects.ts +210 -0
  909. package/src/server/pg-rooms.ts +550 -0
  910. package/src/server/pg-sql.ts +16 -0
  911. package/src/server/pg-stores.ts +356 -0
  912. package/src/server/plugin.ts +30 -0
  913. package/src/server/plumbing.ts +90 -0
  914. package/src/server/png.ts +108 -0
  915. package/src/server/prebuilt-loader.ts +110 -0
  916. package/src/server/prerender.ts +750 -0
  917. package/src/server/prerendered.ts +162 -0
  918. package/src/server/presence.ts +251 -0
  919. package/src/server/preview.ts +703 -0
  920. package/src/server/private-dir.ts +87 -0
  921. package/src/server/protection.ts +1121 -0
  922. package/src/server/proxy-key.ts +101 -0
  923. package/src/server/public-suffix.ts +59 -0
  924. package/src/server/public-suffixes.ts +502 -0
  925. package/src/server/public.ts +299 -0
  926. package/src/server/publishing.ts +176 -0
  927. package/src/server/pure-page.ts +398 -0
  928. package/src/server/push-crypto.ts +154 -0
  929. package/src/server/push-keys-command.ts +25 -0
  930. package/src/server/push-server.ts +124 -0
  931. package/src/server/push-settings.ts +67 -0
  932. package/src/server/push-store.ts +182 -0
  933. package/src/server/push.ts +464 -0
  934. package/src/server/query.ts +265 -0
  935. package/src/server/queue-live.ts +291 -0
  936. package/src/server/queue-scheduler.ts +421 -0
  937. package/src/server/queue-telling.ts +53 -0
  938. package/src/server/queue.ts +955 -0
  939. package/src/server/raster.ts +176 -0
  940. package/src/server/rate-limit.ts +65 -0
  941. package/src/server/rate-refusal.ts +36 -0
  942. package/src/server/reach-walk.ts +65 -0
  943. package/src/server/reach.ts +124 -0
  944. package/src/server/redirect-spelling.ts +57 -0
  945. package/src/server/redirects.ts +182 -0
  946. package/src/server/reload.ts +88 -0
  947. package/src/server/remote.ts +358 -0
  948. package/src/server/render-document.ts +521 -0
  949. package/src/server/render.ts +1022 -0
  950. package/src/server/report.ts +103 -0
  951. package/src/server/request-read.ts +38 -0
  952. package/src/server/request-record.ts +105 -0
  953. package/src/server/request-scope.ts +58 -0
  954. package/src/server/request-timeout.ts +209 -0
  955. package/src/server/request-url.ts +47 -0
  956. package/src/server/request-user.ts +25 -0
  957. package/src/server/resources.ts +132 -0
  958. package/src/server/response-mismatch.ts +21 -0
  959. package/src/server/revalidate.ts +100 -0
  960. package/src/server/rewrite.ts +143 -0
  961. package/src/server/rooms.ts +646 -0
  962. package/src/server/route-table.ts +155 -0
  963. package/src/server/routes.ts +901 -0
  964. package/src/server/runtime-redirect-api.ts +227 -0
  965. package/src/server/runtime-redirects.ts +438 -0
  966. package/src/server/safe-path.ts +26 -0
  967. package/src/server/save-data.ts +150 -0
  968. package/src/server/schema-answer.ts +42 -0
  969. package/src/server/schema-check.ts +102 -0
  970. package/src/server/scope.ts +128 -0
  971. package/src/server/seal.ts +73 -0
  972. package/src/server/security.ts +289 -0
  973. package/src/server/seo.ts +234 -0
  974. package/src/server/served-paths.ts +135 -0
  975. package/src/server/server-islands.ts +175 -0
  976. package/src/server/server-record.ts +80 -0
  977. package/src/server/serving.ts +35 -0
  978. package/src/server/session.ts +782 -0
  979. package/src/server/setup.ts +252 -0
  980. package/src/server/sha256.ts +15 -0
  981. package/src/server/signals.ts +87 -0
  982. package/src/server/signed.ts +62 -0
  983. package/src/server/site-facts.ts +19 -0
  984. package/src/server/site-paths.ts +3 -0
  985. package/src/server/sitemap.ts +413 -0
  986. package/src/server/snake-case.ts +6 -0
  987. package/src/server/source.ts +169 -0
  988. package/src/server/speculation.ts +57 -0
  989. package/src/server/sqlite-data.ts +19 -0
  990. package/src/server/sqlite-live.ts +200 -0
  991. package/src/server/stale-pages.ts +105 -0
  992. package/src/server/stamp.ts +222 -0
  993. package/src/server/storage.ts +614 -0
  994. package/src/server/stream.ts +307 -0
  995. package/src/server/string.ts +79 -0
  996. package/src/server/svg-icon.ts +76 -0
  997. package/src/server/swap.ts +4 -0
  998. package/src/server/tool-outputs.ts +71 -0
  999. package/src/server/tool-settings.ts +12 -0
  1000. package/src/server/trace-context.ts +89 -0
  1001. package/src/server/trace.ts +198 -0
  1002. package/src/server/translations.ts +30 -0
  1003. package/src/server/typography.ts +248 -0
  1004. package/src/server/uncaught.ts +60 -0
  1005. package/src/server/unsafe-urls.ts +29 -0
  1006. package/src/server/violations.ts +159 -0
  1007. package/src/server/visit.ts +54 -0
  1008. package/src/server/vitals-routes/_guard.ts +12 -0
  1009. package/src/server/vitals-routes/index.kay +45 -0
  1010. package/src/server/vitals-routes/vitals.css +30 -0
  1011. package/src/server/vitals-screen.ts +24 -0
  1012. package/src/server/vitals-script.ts +102 -0
  1013. package/src/server/vitals-server.ts +134 -0
  1014. package/src/server/vitals-store.ts +233 -0
  1015. package/src/server/vitals.ts +80 -0
  1016. package/src/server/wasm.d.ts +6 -0
  1017. package/src/server/web-socket.ts +13 -0
  1018. package/src/server/wildcards.ts +87 -0
  1019. package/src/server/words.ts +145 -0
  1020. package/src/server/work-scope.ts +65 -0
  1021. package/src/server/work.ts +90 -0
  1022. package/src/server/workers.ts +293 -0
  1023. package/src/server/workflow.ts +520 -0
  1024. package/src/server/writes.ts +161 -0
  1025. package/src/server/ws-limits.ts +201 -0
  1026. package/src/svg-attributes.ts +240 -0
  1027. package/src/template-auth.ts +79 -0
  1028. package/src/template-ci.ts +156 -0
  1029. package/src/template-config.ts +36 -0
  1030. package/src/template-docker.ts +260 -0
  1031. package/src/template-pins.ts +14 -0
  1032. package/src/template-shared.ts +53 -0
  1033. package/src/template-starter.ts +110 -0
  1034. package/src/template-styles.ts +154 -0
  1035. package/src/template-ws.ts +57 -0
  1036. package/src/templates.ts +76 -0
  1037. package/src/test/browser.ts +1281 -0
  1038. package/src/test/clock.ts +121 -0
  1039. package/src/test/content.ts +345 -0
  1040. package/src/test/cookies.ts +94 -0
  1041. package/src/test/database.ts +57 -0
  1042. package/src/test/dom.ts +90 -0
  1043. package/src/test/env.ts +58 -0
  1044. package/src/test/index.ts +568 -0
  1045. package/src/test/interact.ts +134 -0
  1046. package/src/test/isolation.ts +19 -0
  1047. package/src/test/lazy-plugins.ts +269 -0
  1048. package/src/test/mount.ts +246 -0
  1049. package/src/test/natives.ts +44 -0
  1050. package/src/test/network.ts +678 -0
  1051. package/src/test/outputs.ts +54 -0
  1052. package/src/test/override-env.ts +40 -0
  1053. package/src/test/page-types.ts +150 -0
  1054. package/src/test/page.ts +338 -0
  1055. package/src/test/preload.ts +27 -0
  1056. package/src/test/reset.ts +13 -0
  1057. package/src/test/root.ts +13 -0
  1058. package/src/test/scratch.ts +12 -0
  1059. package/src/test/service.ts +174 -0
  1060. package/src/test/shared-modules.ts +328 -0
  1061. package/src/test/site-actions.ts +142 -0
  1062. package/src/test/site-api.ts +19 -0
  1063. package/src/test/site-mcp.ts +36 -0
  1064. package/src/test/site-scope.ts +35 -0
  1065. package/src/test/site-socket.ts +125 -0
  1066. package/src/test/site-types.ts +155 -0
  1067. package/src/test/sites.ts +29 -0
  1068. package/src/test/timeout.ts +45 -0
  1069. package/src/test/wait.ts +34 -0
  1070. package/src/test/writable.ts +20 -0
  1071. package/src/tsconfig.app.json +21 -0
  1072. package/src/tsgo.ts +18 -0
  1073. package/types/a11y/audit.d.ts +32 -0
  1074. package/types/a11y/audit.d.ts.map +1 -0
  1075. package/types/a11y/report.d.ts +20 -0
  1076. package/types/a11y/report.d.ts.map +1 -0
  1077. package/types/a11y/rgaa-criteria.d.ts +5 -0
  1078. package/types/a11y/rgaa-criteria.d.ts.map +1 -0
  1079. package/types/a11y/standards.d.ts +17 -0
  1080. package/types/a11y/standards.d.ts.map +1 -0
  1081. package/types/a11y/targets.d.ts +20 -0
  1082. package/types/a11y/targets.d.ts.map +1 -0
  1083. package/types/add.d.ts +56 -0
  1084. package/types/add.d.ts.map +1 -0
  1085. package/types/build/action-calls.d.ts +2 -0
  1086. package/types/build/action-calls.d.ts.map +1 -0
  1087. package/types/build/assets.d.ts +17 -0
  1088. package/types/build/assets.d.ts.map +1 -0
  1089. package/types/build/budget.d.ts +17 -0
  1090. package/types/build/budget.d.ts.map +1 -0
  1091. package/types/build/bun.d.ts +9 -0
  1092. package/types/build/bun.d.ts.map +1 -0
  1093. package/types/build/cache-ids.d.ts +2 -0
  1094. package/types/build/cache-ids.d.ts.map +1 -0
  1095. package/types/build/cache.d.ts +15 -0
  1096. package/types/build/cache.d.ts.map +1 -0
  1097. package/types/build/captured-loads.d.ts +19 -0
  1098. package/types/build/captured-loads.d.ts.map +1 -0
  1099. package/types/build/class-rules.d.ts +14 -0
  1100. package/types/build/class-rules.d.ts.map +1 -0
  1101. package/types/build/class-sources.d.ts +29 -0
  1102. package/types/build/class-sources.d.ts.map +1 -0
  1103. package/types/build/class-table.d.ts +8 -0
  1104. package/types/build/class-table.d.ts.map +1 -0
  1105. package/types/build/client.d.ts +82 -0
  1106. package/types/build/client.d.ts.map +1 -0
  1107. package/types/build/collection-components.d.ts +5 -0
  1108. package/types/build/collection-components.d.ts.map +1 -0
  1109. package/types/build/compile.d.ts +22 -0
  1110. package/types/build/compile.d.ts.map +1 -0
  1111. package/types/build/compressed.d.ts +7 -0
  1112. package/types/build/compressed.d.ts.map +1 -0
  1113. package/types/build/direct-imports.d.ts +2 -0
  1114. package/types/build/direct-imports.d.ts.map +1 -0
  1115. package/types/build/dynamic-classes.d.ts +12 -0
  1116. package/types/build/dynamic-classes.d.ts.map +1 -0
  1117. package/types/build/favicons.d.ts +4 -0
  1118. package/types/build/favicons.d.ts.map +1 -0
  1119. package/types/build/files.d.ts +56 -0
  1120. package/types/build/files.d.ts.map +1 -0
  1121. package/types/build/fingerprint.d.ts +3 -0
  1122. package/types/build/fingerprint.d.ts.map +1 -0
  1123. package/types/build/footprint-models.d.ts +24 -0
  1124. package/types/build/footprint-models.d.ts.map +1 -0
  1125. package/types/build/footprint.d.ts +44 -0
  1126. package/types/build/footprint.d.ts.map +1 -0
  1127. package/types/build/glob.d.ts +10 -0
  1128. package/types/build/glob.d.ts.map +1 -0
  1129. package/types/build/globbed.d.ts +2 -0
  1130. package/types/build/globbed.d.ts.map +1 -0
  1131. package/types/build/header-files.d.ts +4 -0
  1132. package/types/build/header-files.d.ts.map +1 -0
  1133. package/types/build/icons.d.ts +9 -0
  1134. package/types/build/icons.d.ts.map +1 -0
  1135. package/types/build/increments.d.ts +50 -0
  1136. package/types/build/increments.d.ts.map +1 -0
  1137. package/types/build/insert-ids.d.ts +10 -0
  1138. package/types/build/insert-ids.d.ts.map +1 -0
  1139. package/types/build/kept-maps.d.ts +3 -0
  1140. package/types/build/kept-maps.d.ts.map +1 -0
  1141. package/types/build/kept.d.ts +5 -0
  1142. package/types/build/kept.d.ts.map +1 -0
  1143. package/types/build/layer-order.d.ts +2 -0
  1144. package/types/build/layer-order.d.ts.map +1 -0
  1145. package/types/build/libraries.d.ts +53 -0
  1146. package/types/build/libraries.d.ts.map +1 -0
  1147. package/types/build/licenses.d.ts +16 -0
  1148. package/types/build/licenses.d.ts.map +1 -0
  1149. package/types/build/links.d.ts +3 -0
  1150. package/types/build/links.d.ts.map +1 -0
  1151. package/types/build/live-ids.d.ts +3 -0
  1152. package/types/build/live-ids.d.ts.map +1 -0
  1153. package/types/build/manifests.d.ts +26 -0
  1154. package/types/build/manifests.d.ts.map +1 -0
  1155. package/types/build/named-refresh.d.ts +3 -0
  1156. package/types/build/named-refresh.d.ts.map +1 -0
  1157. package/types/build/navigation-locale.d.ts +3 -0
  1158. package/types/build/navigation-locale.d.ts.map +1 -0
  1159. package/types/build/page-dirs.d.ts +8 -0
  1160. package/types/build/page-dirs.d.ts.map +1 -0
  1161. package/types/build/pipeline.d.ts +60 -0
  1162. package/types/build/pipeline.d.ts.map +1 -0
  1163. package/types/build/plugin.d.ts +30 -0
  1164. package/types/build/plugin.d.ts.map +1 -0
  1165. package/types/build/probe.d.ts +6 -0
  1166. package/types/build/probe.d.ts.map +1 -0
  1167. package/types/build/prune.d.ts +5 -0
  1168. package/types/build/prune.d.ts.map +1 -0
  1169. package/types/build/recipe-classes.d.ts +11 -0
  1170. package/types/build/recipe-classes.d.ts.map +1 -0
  1171. package/types/build/references.d.ts +7 -0
  1172. package/types/build/references.d.ts.map +1 -0
  1173. package/types/build/report.d.ts +95 -0
  1174. package/types/build/report.d.ts.map +1 -0
  1175. package/types/build/route-sizes.d.ts +7 -0
  1176. package/types/build/route-sizes.d.ts.map +1 -0
  1177. package/types/build/runtime-chunk.d.ts +25 -0
  1178. package/types/build/runtime-chunk.d.ts.map +1 -0
  1179. package/types/build/runtime-config.d.ts +3 -0
  1180. package/types/build/runtime-config.d.ts.map +1 -0
  1181. package/types/build/search.d.ts +7 -0
  1182. package/types/build/search.d.ts.map +1 -0
  1183. package/types/build/server-only.d.ts +40 -0
  1184. package/types/build/server-only.d.ts.map +1 -0
  1185. package/types/build/server-record.d.ts +4 -0
  1186. package/types/build/server-record.d.ts.map +1 -0
  1187. package/types/build/signals.d.ts +5 -0
  1188. package/types/build/signals.d.ts.map +1 -0
  1189. package/types/build/source-files.d.ts +15 -0
  1190. package/types/build/source-files.d.ts.map +1 -0
  1191. package/types/build/source-parses.d.ts +22 -0
  1192. package/types/build/source-parses.d.ts.map +1 -0
  1193. package/types/build/sourcemap.d.ts +29 -0
  1194. package/types/build/sourcemap.d.ts.map +1 -0
  1195. package/types/build/static.d.ts +11 -0
  1196. package/types/build/static.d.ts.map +1 -0
  1197. package/types/build/style-uses.d.ts +19 -0
  1198. package/types/build/style-uses.d.ts.map +1 -0
  1199. package/types/build/styles.d.ts +12 -0
  1200. package/types/build/styles.d.ts.map +1 -0
  1201. package/types/build/supports.d.ts +16 -0
  1202. package/types/build/supports.d.ts.map +1 -0
  1203. package/types/build/theme-vars.d.ts +2 -0
  1204. package/types/build/theme-vars.d.ts.map +1 -0
  1205. package/types/build/transform.d.ts +47 -0
  1206. package/types/build/transform.d.ts.map +1 -0
  1207. package/types/build/ui-info.d.ts +27 -0
  1208. package/types/build/ui-info.d.ts.map +1 -0
  1209. package/types/build/ui.d.ts +51 -0
  1210. package/types/build/ui.d.ts.map +1 -0
  1211. package/types/build/variants.d.ts +21 -0
  1212. package/types/build/variants.d.ts.map +1 -0
  1213. package/types/build/verify.d.ts +14 -0
  1214. package/types/build/verify.d.ts.map +1 -0
  1215. package/types/build/warn-classes.d.ts +4 -0
  1216. package/types/build/warn-classes.d.ts.map +1 -0
  1217. package/types/build/worker-bundle.d.ts +16 -0
  1218. package/types/build/worker-bundle.d.ts.map +1 -0
  1219. package/types/bun.d.ts +9 -0
  1220. package/types/bun.d.ts.map +1 -0
  1221. package/types/check/api-modules.d.ts +11 -0
  1222. package/types/check/api-modules.d.ts.map +1 -0
  1223. package/types/check/api-scope.d.ts +13 -0
  1224. package/types/check/api-scope.d.ts.map +1 -0
  1225. package/types/check/ast.d.ts +10 -0
  1226. package/types/check/ast.d.ts.map +1 -0
  1227. package/types/check/bindings.d.ts +4 -0
  1228. package/types/check/bindings.d.ts.map +1 -0
  1229. package/types/check/boot.d.ts +6 -0
  1230. package/types/check/boot.d.ts.map +1 -0
  1231. package/types/check/browser-global-reads.d.ts +8 -0
  1232. package/types/check/browser-global-reads.d.ts.map +1 -0
  1233. package/types/check/builtin-imports.d.ts +5 -0
  1234. package/types/check/builtin-imports.d.ts.map +1 -0
  1235. package/types/check/class-words.d.ts +7 -0
  1236. package/types/check/class-words.d.ts.map +1 -0
  1237. package/types/check/config-keys.d.ts +7 -0
  1238. package/types/check/config-keys.d.ts.map +1 -0
  1239. package/types/check/diagnose.d.ts +36 -0
  1240. package/types/check/diagnose.d.ts.map +1 -0
  1241. package/types/check/dockerfile.d.ts +4 -0
  1242. package/types/check/dockerfile.d.ts.map +1 -0
  1243. package/types/check/endpoint-exports.d.ts +4 -0
  1244. package/types/check/endpoint-exports.d.ts.map +1 -0
  1245. package/types/check/env-types.d.ts +8 -0
  1246. package/types/check/env-types.d.ts.map +1 -0
  1247. package/types/check/export-homes.d.ts +6 -0
  1248. package/types/check/export-homes.d.ts.map +1 -0
  1249. package/types/check/fixes.d.ts +3 -0
  1250. package/types/check/fixes.d.ts.map +1 -0
  1251. package/types/check/generated.d.ts +25 -0
  1252. package/types/check/generated.d.ts.map +1 -0
  1253. package/types/check/guards.d.ts +5 -0
  1254. package/types/check/guards.d.ts.map +1 -0
  1255. package/types/check/index.d.ts +34 -0
  1256. package/types/check/index.d.ts.map +1 -0
  1257. package/types/check/island-modules.d.ts +21 -0
  1258. package/types/check/island-modules.d.ts.map +1 -0
  1259. package/types/check/island-only.d.ts +11 -0
  1260. package/types/check/island-only.d.ts.map +1 -0
  1261. package/types/check/large-images.d.ts +5 -0
  1262. package/types/check/large-images.d.ts.map +1 -0
  1263. package/types/check/layout-facts.d.ts +8 -0
  1264. package/types/check/layout-facts.d.ts.map +1 -0
  1265. package/types/check/loaded.d.ts +8 -0
  1266. package/types/check/loaded.d.ts.map +1 -0
  1267. package/types/check/local-state.d.ts +3 -0
  1268. package/types/check/local-state.d.ts.map +1 -0
  1269. package/types/check/loop-index-fix.d.ts +4 -0
  1270. package/types/check/loop-index-fix.d.ts.map +1 -0
  1271. package/types/check/mcp-routes.d.ts +4 -0
  1272. package/types/check/mcp-routes.d.ts.map +1 -0
  1273. package/types/check/messages.d.ts +7 -0
  1274. package/types/check/messages.d.ts.map +1 -0
  1275. package/types/check/missing-imports.d.ts +5 -0
  1276. package/types/check/missing-imports.d.ts.map +1 -0
  1277. package/types/check/open-settings.d.ts +4 -0
  1278. package/types/check/open-settings.d.ts.map +1 -0
  1279. package/types/check/output-schema.d.ts +5 -0
  1280. package/types/check/output-schema.d.ts.map +1 -0
  1281. package/types/check/page-heads.d.ts +5 -0
  1282. package/types/check/page-heads.d.ts.map +1 -0
  1283. package/types/check/page-structure.d.ts +8 -0
  1284. package/types/check/page-structure.d.ts.map +1 -0
  1285. package/types/check/persisted-storage.d.ts +3 -0
  1286. package/types/check/persisted-storage.d.ts.map +1 -0
  1287. package/types/check/project.d.ts +37 -0
  1288. package/types/check/project.d.ts.map +1 -0
  1289. package/types/check/public-env-outside-src.d.ts +3 -0
  1290. package/types/check/public-env-outside-src.d.ts.map +1 -0
  1291. package/types/check/queries.d.ts +4 -0
  1292. package/types/check/queries.d.ts.map +1 -0
  1293. package/types/check/removed-ui-tokens.d.ts +3 -0
  1294. package/types/check/removed-ui-tokens.d.ts.map +1 -0
  1295. package/types/check/renamed-call-options.d.ts +14 -0
  1296. package/types/check/renamed-call-options.d.ts.map +1 -0
  1297. package/types/check/renamed-exports.d.ts +32 -0
  1298. package/types/check/renamed-exports.d.ts.map +1 -0
  1299. package/types/check/renamed-packages.d.ts +5 -0
  1300. package/types/check/renamed-packages.d.ts.map +1 -0
  1301. package/types/check/schema-type.d.ts +3 -0
  1302. package/types/check/schema-type.d.ts.map +1 -0
  1303. package/types/check/seo.d.ts +55 -0
  1304. package/types/check/seo.d.ts.map +1 -0
  1305. package/types/check/server-only-reads.d.ts +5 -0
  1306. package/types/check/server-only-reads.d.ts.map +1 -0
  1307. package/types/check/shadow-types.d.ts +48 -0
  1308. package/types/check/shadow-types.d.ts.map +1 -0
  1309. package/types/check/shadow.d.ts +62 -0
  1310. package/types/check/shadow.d.ts.map +1 -0
  1311. package/types/check/site-seo.d.ts +21 -0
  1312. package/types/check/site-seo.d.ts.map +1 -0
  1313. package/types/check/socket-routes.d.ts +4 -0
  1314. package/types/check/socket-routes.d.ts.map +1 -0
  1315. package/types/check/status-pages.d.ts +4 -0
  1316. package/types/check/status-pages.d.ts.map +1 -0
  1317. package/types/check/template-hints.d.ts +9 -0
  1318. package/types/check/template-hints.d.ts.map +1 -0
  1319. package/types/check/tool-labels.d.ts +3 -0
  1320. package/types/check/tool-labels.d.ts.map +1 -0
  1321. package/types/check/tool-outputs.d.ts +6 -0
  1322. package/types/check/tool-outputs.d.ts.map +1 -0
  1323. package/types/check/tsgo.d.ts +18 -0
  1324. package/types/check/tsgo.d.ts.map +1 -0
  1325. package/types/check/typing-stamp.d.ts +2 -0
  1326. package/types/check/typing-stamp.d.ts.map +1 -0
  1327. package/types/check/ui-tokens.d.ts +16 -0
  1328. package/types/check/ui-tokens.d.ts.map +1 -0
  1329. package/types/check/ui-types.d.ts +3 -0
  1330. package/types/check/ui-types.d.ts.map +1 -0
  1331. package/types/check/ui.d.ts +7 -0
  1332. package/types/check/ui.d.ts.map +1 -0
  1333. package/types/check/unmounted-jobs.d.ts +3 -0
  1334. package/types/check/unmounted-jobs.d.ts.map +1 -0
  1335. package/types/cli.d.ts +3 -0
  1336. package/types/cli.d.ts.map +1 -0
  1337. package/types/commands/a11y.d.ts +3 -0
  1338. package/types/commands/a11y.d.ts.map +1 -0
  1339. package/types/commands/add-peers.d.ts +2 -0
  1340. package/types/commands/add-peers.d.ts.map +1 -0
  1341. package/types/commands/add.d.ts +3 -0
  1342. package/types/commands/add.d.ts.map +1 -0
  1343. package/types/commands/build.d.ts +3 -0
  1344. package/types/commands/build.d.ts.map +1 -0
  1345. package/types/commands/check.d.ts +3 -0
  1346. package/types/commands/check.d.ts.map +1 -0
  1347. package/types/commands/command.d.ts +87 -0
  1348. package/types/commands/command.d.ts.map +1 -0
  1349. package/types/commands/completion.d.ts +5 -0
  1350. package/types/commands/completion.d.ts.map +1 -0
  1351. package/types/commands/dev.d.ts +3 -0
  1352. package/types/commands/dev.d.ts.map +1 -0
  1353. package/types/commands/docs.d.ts +3 -0
  1354. package/types/commands/docs.d.ts.map +1 -0
  1355. package/types/commands/doctor.d.ts +12 -0
  1356. package/types/commands/doctor.d.ts.map +1 -0
  1357. package/types/commands/editor.d.ts +3 -0
  1358. package/types/commands/editor.d.ts.map +1 -0
  1359. package/types/commands/env-compare.d.ts +25 -0
  1360. package/types/commands/env-compare.d.ts.map +1 -0
  1361. package/types/commands/env-declare.d.ts +5 -0
  1362. package/types/commands/env-declare.d.ts.map +1 -0
  1363. package/types/commands/env.d.ts +14 -0
  1364. package/types/commands/env.d.ts.map +1 -0
  1365. package/types/commands/explain-island.d.ts +3 -0
  1366. package/types/commands/explain-island.d.ts.map +1 -0
  1367. package/types/commands/explain.d.ts +3 -0
  1368. package/types/commands/explain.d.ts.map +1 -0
  1369. package/types/commands/extensions.d.ts +17 -0
  1370. package/types/commands/extensions.d.ts.map +1 -0
  1371. package/types/commands/fix-path.d.ts +2 -0
  1372. package/types/commands/fix-path.d.ts.map +1 -0
  1373. package/types/commands/fmt.d.ts +3 -0
  1374. package/types/commands/fmt.d.ts.map +1 -0
  1375. package/types/commands/generate.d.ts +3 -0
  1376. package/types/commands/generate.d.ts.map +1 -0
  1377. package/types/commands/i18n.d.ts +4 -0
  1378. package/types/commands/i18n.d.ts.map +1 -0
  1379. package/types/commands/import-module.d.ts +4 -0
  1380. package/types/commands/import-module.d.ts.map +1 -0
  1381. package/types/commands/lint-cache.d.ts +2 -0
  1382. package/types/commands/lint-cache.d.ts.map +1 -0
  1383. package/types/commands/lint.d.ts +3 -0
  1384. package/types/commands/lint.d.ts.map +1 -0
  1385. package/types/commands/lsp.d.ts +3 -0
  1386. package/types/commands/lsp.d.ts.map +1 -0
  1387. package/types/commands/mcp.d.ts +3 -0
  1388. package/types/commands/mcp.d.ts.map +1 -0
  1389. package/types/commands/migrate.d.ts +3 -0
  1390. package/types/commands/migrate.d.ts.map +1 -0
  1391. package/types/commands/new.d.ts +3 -0
  1392. package/types/commands/new.d.ts.map +1 -0
  1393. package/types/commands/not-found.d.ts +3 -0
  1394. package/types/commands/not-found.d.ts.map +1 -0
  1395. package/types/commands/project-checks.d.ts +4 -0
  1396. package/types/commands/project-checks.d.ts.map +1 -0
  1397. package/types/commands/registry.d.ts +13 -0
  1398. package/types/commands/registry.d.ts.map +1 -0
  1399. package/types/commands/render.d.ts +3 -0
  1400. package/types/commands/render.d.ts.map +1 -0
  1401. package/types/commands/routes.d.ts +18 -0
  1402. package/types/commands/routes.d.ts.map +1 -0
  1403. package/types/commands/screenshot.d.ts +3 -0
  1404. package/types/commands/screenshot.d.ts.map +1 -0
  1405. package/types/commands/start.d.ts +3 -0
  1406. package/types/commands/start.d.ts.map +1 -0
  1407. package/types/commands/test.d.ts +3 -0
  1408. package/types/commands/test.d.ts.map +1 -0
  1409. package/types/commands/types.d.ts +3 -0
  1410. package/types/commands/types.d.ts.map +1 -0
  1411. package/types/commands/upgrade.d.ts +43 -0
  1412. package/types/commands/upgrade.d.ts.map +1 -0
  1413. package/types/compiler/a11y-markup.d.ts +81 -0
  1414. package/types/compiler/a11y-markup.d.ts.map +1 -0
  1415. package/types/compiler/a11y.d.ts +4 -0
  1416. package/types/compiler/a11y.d.ts.map +1 -0
  1417. package/types/compiler/allow-comments.d.ts +20 -0
  1418. package/types/compiler/allow-comments.d.ts.map +1 -0
  1419. package/types/compiler/aria.d.ts +9 -0
  1420. package/types/compiler/aria.d.ts.map +1 -0
  1421. package/types/compiler/ast.d.ts +287 -0
  1422. package/types/compiler/ast.d.ts.map +1 -0
  1423. package/types/compiler/browser.d.ts +23 -0
  1424. package/types/compiler/browser.d.ts.map +1 -0
  1425. package/types/compiler/class-name.d.ts +10 -0
  1426. package/types/compiler/class-name.d.ts.map +1 -0
  1427. package/types/compiler/codegen.d.ts +62 -0
  1428. package/types/compiler/codegen.d.ts.map +1 -0
  1429. package/types/compiler/deprecated-lints.d.ts +67 -0
  1430. package/types/compiler/deprecated-lints.d.ts.map +1 -0
  1431. package/types/compiler/deprecated-script-fence.d.ts +3 -0
  1432. package/types/compiler/deprecated-script-fence.d.ts.map +1 -0
  1433. package/types/compiler/deprecated-ui-props.d.ts +14 -0
  1434. package/types/compiler/deprecated-ui-props.d.ts.map +1 -0
  1435. package/types/compiler/diagnostics.d.ts +16 -0
  1436. package/types/compiler/diagnostics.d.ts.map +1 -0
  1437. package/types/compiler/dom.d.ts +42 -0
  1438. package/types/compiler/dom.d.ts.map +1 -0
  1439. package/types/compiler/each-node.d.ts +3 -0
  1440. package/types/compiler/each-node.d.ts.map +1 -0
  1441. package/types/compiler/else-problem.d.ts +5 -0
  1442. package/types/compiler/else-problem.d.ts.map +1 -0
  1443. package/types/compiler/errors.d.ts +813 -0
  1444. package/types/compiler/errors.d.ts.map +1 -0
  1445. package/types/compiler/estree-shapes.d.ts +17 -0
  1446. package/types/compiler/estree-shapes.d.ts.map +1 -0
  1447. package/types/compiler/estree.d.ts +36 -0
  1448. package/types/compiler/estree.d.ts.map +1 -0
  1449. package/types/compiler/event-modifiers.d.ts +12 -0
  1450. package/types/compiler/event-modifiers.d.ts.map +1 -0
  1451. package/types/compiler/expression.d.ts +8 -0
  1452. package/types/compiler/expression.d.ts.map +1 -0
  1453. package/types/compiler/fence-checks.d.ts +13 -0
  1454. package/types/compiler/fence-checks.d.ts.map +1 -0
  1455. package/types/compiler/fence-nodes.d.ts +6 -0
  1456. package/types/compiler/fence-nodes.d.ts.map +1 -0
  1457. package/types/compiler/fence-redirects.d.ts +4 -0
  1458. package/types/compiler/fence-redirects.d.ts.map +1 -0
  1459. package/types/compiler/field-described.d.ts +6 -0
  1460. package/types/compiler/field-described.d.ts.map +1 -0
  1461. package/types/compiler/fnv-hash.d.ts +2 -0
  1462. package/types/compiler/fnv-hash.d.ts.map +1 -0
  1463. package/types/compiler/format.d.ts +11 -0
  1464. package/types/compiler/format.d.ts.map +1 -0
  1465. package/types/compiler/frame.d.ts +17 -0
  1466. package/types/compiler/frame.d.ts.map +1 -0
  1467. package/types/compiler/globals.d.ts +4 -0
  1468. package/types/compiler/globals.d.ts.map +1 -0
  1469. package/types/compiler/host.browser.d.ts +8 -0
  1470. package/types/compiler/host.browser.d.ts.map +1 -0
  1471. package/types/compiler/host.d.ts +13 -0
  1472. package/types/compiler/host.d.ts.map +1 -0
  1473. package/types/compiler/html.d.ts +49 -0
  1474. package/types/compiler/html.d.ts.map +1 -0
  1475. package/types/compiler/i18n-lints.d.ts +27 -0
  1476. package/types/compiler/i18n-lints.d.ts.map +1 -0
  1477. package/types/compiler/if-alias.d.ts +7 -0
  1478. package/types/compiler/if-alias.d.ts.map +1 -0
  1479. package/types/compiler/import-edits.d.ts +5 -0
  1480. package/types/compiler/import-edits.d.ts.map +1 -0
  1481. package/types/compiler/index.d.ts +62 -0
  1482. package/types/compiler/index.d.ts.map +1 -0
  1483. package/types/compiler/inspect.d.ts +3 -0
  1484. package/types/compiler/inspect.d.ts.map +1 -0
  1485. package/types/compiler/island-arguments.d.ts +13 -0
  1486. package/types/compiler/island-arguments.d.ts.map +1 -0
  1487. package/types/compiler/island-cause.d.ts +14 -0
  1488. package/types/compiler/island-cause.d.ts.map +1 -0
  1489. package/types/compiler/island-marker.d.ts +4 -0
  1490. package/types/compiler/island-marker.d.ts.map +1 -0
  1491. package/types/compiler/items.d.ts +72 -0
  1492. package/types/compiler/items.d.ts.map +1 -0
  1493. package/types/compiler/jsx-class.d.ts +7 -0
  1494. package/types/compiler/jsx-class.d.ts.map +1 -0
  1495. package/types/compiler/jsx-entities.d.ts +2 -0
  1496. package/types/compiler/jsx-entities.d.ts.map +1 -0
  1497. package/types/compiler/jsx.d.ts +49 -0
  1498. package/types/compiler/jsx.d.ts.map +1 -0
  1499. package/types/compiler/kay-exports.d.ts +5 -0
  1500. package/types/compiler/kay-exports.d.ts.map +1 -0
  1501. package/types/compiler/lints.d.ts +894 -0
  1502. package/types/compiler/lints.d.ts.map +1 -0
  1503. package/types/compiler/load-facts.d.ts +11 -0
  1504. package/types/compiler/load-facts.d.ts.map +1 -0
  1505. package/types/compiler/load-plan.d.ts +11 -0
  1506. package/types/compiler/load-plan.d.ts.map +1 -0
  1507. package/types/compiler/loop-lints.d.ts +13 -0
  1508. package/types/compiler/loop-lints.d.ts.map +1 -0
  1509. package/types/compiler/mapping.d.ts +74 -0
  1510. package/types/compiler/mapping.d.ts.map +1 -0
  1511. package/types/compiler/markdown-block.d.ts +42 -0
  1512. package/types/compiler/markdown-block.d.ts.map +1 -0
  1513. package/types/compiler/markup.d.ts +136 -0
  1514. package/types/compiler/markup.d.ts.map +1 -0
  1515. package/types/compiler/minor.d.ts +3 -0
  1516. package/types/compiler/minor.d.ts.map +1 -0
  1517. package/types/compiler/module-signals.d.ts +7 -0
  1518. package/types/compiler/module-signals.d.ts.map +1 -0
  1519. package/types/compiler/names.d.ts +22 -0
  1520. package/types/compiler/names.d.ts.map +1 -0
  1521. package/types/compiler/native-typescript.d.ts +5 -0
  1522. package/types/compiler/native-typescript.d.ts.map +1 -0
  1523. package/types/compiler/nesting.d.ts +3 -0
  1524. package/types/compiler/nesting.d.ts.map +1 -0
  1525. package/types/compiler/object-literal.d.ts +13 -0
  1526. package/types/compiler/object-literal.d.ts.map +1 -0
  1527. package/types/compiler/own-markup.d.ts +4 -0
  1528. package/types/compiler/own-markup.d.ts.map +1 -0
  1529. package/types/compiler/page-settings.d.ts +8 -0
  1530. package/types/compiler/page-settings.d.ts.map +1 -0
  1531. package/types/compiler/parser.d.ts +3 -0
  1532. package/types/compiler/parser.d.ts.map +1 -0
  1533. package/types/compiler/pattern-names.d.ts +4 -0
  1534. package/types/compiler/pattern-names.d.ts.map +1 -0
  1535. package/types/compiler/plan.d.ts +114 -0
  1536. package/types/compiler/plan.d.ts.map +1 -0
  1537. package/types/compiler/public.d.ts +4 -0
  1538. package/types/compiler/public.d.ts.map +1 -0
  1539. package/types/compiler/rewrite-reads.d.ts +61 -0
  1540. package/types/compiler/rewrite-reads.d.ts.map +1 -0
  1541. package/types/compiler/rewrite-scan.d.ts +11 -0
  1542. package/types/compiler/rewrite-scan.d.ts.map +1 -0
  1543. package/types/compiler/rewrite-tags.d.ts +4 -0
  1544. package/types/compiler/rewrite-tags.d.ts.map +1 -0
  1545. package/types/compiler/rewrite-types.d.ts +54 -0
  1546. package/types/compiler/rewrite-types.d.ts.map +1 -0
  1547. package/types/compiler/rewrite.d.ts +3 -0
  1548. package/types/compiler/rewrite.d.ts.map +1 -0
  1549. package/types/compiler/route-lints.d.ts +58 -0
  1550. package/types/compiler/route-lints.d.ts.map +1 -0
  1551. package/types/compiler/scanner.d.ts +12 -0
  1552. package/types/compiler/scanner.d.ts.map +1 -0
  1553. package/types/compiler/scope.d.ts +56 -0
  1554. package/types/compiler/scope.d.ts.map +1 -0
  1555. package/types/compiler/scoped-style.d.ts +28 -0
  1556. package/types/compiler/scoped-style.d.ts.map +1 -0
  1557. package/types/compiler/script-fence.d.ts +5 -0
  1558. package/types/compiler/script-fence.d.ts.map +1 -0
  1559. package/types/compiler/script-props.d.ts +7 -0
  1560. package/types/compiler/script-props.d.ts.map +1 -0
  1561. package/types/compiler/script-recipe.d.ts +15 -0
  1562. package/types/compiler/script-recipe.d.ts.map +1 -0
  1563. package/types/compiler/script-server.d.ts +53 -0
  1564. package/types/compiler/script-server.d.ts.map +1 -0
  1565. package/types/compiler/script-shared.d.ts +70 -0
  1566. package/types/compiler/script-shared.d.ts.map +1 -0
  1567. package/types/compiler/script-split.d.ts +21 -0
  1568. package/types/compiler/script-split.d.ts.map +1 -0
  1569. package/types/compiler/script.d.ts +12 -0
  1570. package/types/compiler/script.d.ts.map +1 -0
  1571. package/types/compiler/serial-awaits.d.ts +13 -0
  1572. package/types/compiler/serial-awaits.d.ts.map +1 -0
  1573. package/types/compiler/status-pages.d.ts +5 -0
  1574. package/types/compiler/status-pages.d.ts.map +1 -0
  1575. package/types/compiler/style-lints.d.ts +3 -0
  1576. package/types/compiler/style-lints.d.ts.map +1 -0
  1577. package/types/compiler/template-reads.d.ts +9 -0
  1578. package/types/compiler/template-reads.d.ts.map +1 -0
  1579. package/types/compiler/template-scopes.d.ts +11 -0
  1580. package/types/compiler/template-scopes.d.ts.map +1 -0
  1581. package/types/compiler/twin.d.ts +3 -0
  1582. package/types/compiler/twin.d.ts.map +1 -0
  1583. package/types/compiler/unowned-effects.d.ts +3 -0
  1584. package/types/compiler/unowned-effects.d.ts.map +1 -0
  1585. package/types/compiler/validate-fixes.d.ts +16 -0
  1586. package/types/compiler/validate-fixes.d.ts.map +1 -0
  1587. package/types/compiler/validate.d.ts +14 -0
  1588. package/types/compiler/validate.d.ts.map +1 -0
  1589. package/types/compiler/walk.d.ts +15 -0
  1590. package/types/compiler/walk.d.ts.map +1 -0
  1591. package/types/config-extensions.d.ts +20 -0
  1592. package/types/config-extensions.d.ts.map +1 -0
  1593. package/types/config-loader.d.ts +10 -0
  1594. package/types/config-loader.d.ts.map +1 -0
  1595. package/types/config-rules.d.ts +27 -0
  1596. package/types/config-rules.d.ts.map +1 -0
  1597. package/types/config-shape.d.ts +8 -0
  1598. package/types/config-shape.d.ts.map +1 -0
  1599. package/types/config.d.ts +402 -0
  1600. package/types/config.d.ts.map +1 -0
  1601. package/types/content/claims.d.ts +26 -0
  1602. package/types/content/claims.d.ts.map +1 -0
  1603. package/types/content/drafts.d.ts +10 -0
  1604. package/types/content/drafts.d.ts.map +1 -0
  1605. package/types/content/edit-entries.d.ts +73 -0
  1606. package/types/content/edit-entries.d.ts.map +1 -0
  1607. package/types/content/edit-fields.d.ts +55 -0
  1608. package/types/content/edit-fields.d.ts.map +1 -0
  1609. package/types/content/edit-registry.d.ts +9 -0
  1610. package/types/content/edit-registry.d.ts.map +1 -0
  1611. package/types/content/edit-shared.d.ts +129 -0
  1612. package/types/content/edit-shared.d.ts.map +1 -0
  1613. package/types/content/edit.d.ts +6 -0
  1614. package/types/content/edit.d.ts.map +1 -0
  1615. package/types/content/entry-head.d.ts +15 -0
  1616. package/types/content/entry-head.d.ts.map +1 -0
  1617. package/types/content/entry-route.d.ts +2 -0
  1618. package/types/content/entry-route.d.ts.map +1 -0
  1619. package/types/content/excerpt.d.ts +7 -0
  1620. package/types/content/excerpt.d.ts.map +1 -0
  1621. package/types/content/feed.d.ts +55 -0
  1622. package/types/content/feed.d.ts.map +1 -0
  1623. package/types/content/heading-id.d.ts +10 -0
  1624. package/types/content/heading-id.d.ts.map +1 -0
  1625. package/types/content/held-back.d.ts +7 -0
  1626. package/types/content/held-back.d.ts.map +1 -0
  1627. package/types/content/humanize.d.ts +2 -0
  1628. package/types/content/humanize.d.ts.map +1 -0
  1629. package/types/content/images.d.ts +23 -0
  1630. package/types/content/images.d.ts.map +1 -0
  1631. package/types/content/index.d.ts +166 -0
  1632. package/types/content/index.d.ts.map +1 -0
  1633. package/types/content/key.d.ts +5 -0
  1634. package/types/content/key.d.ts.map +1 -0
  1635. package/types/content/load.d.ts +93 -0
  1636. package/types/content/load.d.ts.map +1 -0
  1637. package/types/content/markdown-extensions.d.ts +5 -0
  1638. package/types/content/markdown-extensions.d.ts.map +1 -0
  1639. package/types/content/markdown.d.ts +92 -0
  1640. package/types/content/markdown.d.ts.map +1 -0
  1641. package/types/content/migrate.d.ts +25 -0
  1642. package/types/content/migrate.d.ts.map +1 -0
  1643. package/types/content/modified.d.ts +8 -0
  1644. package/types/content/modified.d.ts.map +1 -0
  1645. package/types/content/paginate.d.ts +24 -0
  1646. package/types/content/paginate.d.ts.map +1 -0
  1647. package/types/content/problems.d.ts +2 -0
  1648. package/types/content/problems.d.ts.map +1 -0
  1649. package/types/content/references.d.ts +16 -0
  1650. package/types/content/references.d.ts.map +1 -0
  1651. package/types/content/rewrite.d.ts +14 -0
  1652. package/types/content/rewrite.d.ts.map +1 -0
  1653. package/types/content/server.d.ts +30 -0
  1654. package/types/content/server.d.ts.map +1 -0
  1655. package/types/content/source-draft.d.ts +10 -0
  1656. package/types/content/source-draft.d.ts.map +1 -0
  1657. package/types/content/turns.d.ts +8 -0
  1658. package/types/content/turns.d.ts.map +1 -0
  1659. package/types/content/validate.d.ts +32 -0
  1660. package/types/content/validate.d.ts.map +1 -0
  1661. package/types/dev/address.d.ts +5 -0
  1662. package/types/dev/address.d.ts.map +1 -0
  1663. package/types/dev/base-proxy.d.ts +5 -0
  1664. package/types/dev/base-proxy.d.ts.map +1 -0
  1665. package/types/dev/builder.d.ts +16 -0
  1666. package/types/dev/builder.d.ts.map +1 -0
  1667. package/types/dev/client.d.ts +10 -0
  1668. package/types/dev/client.d.ts.map +1 -0
  1669. package/types/dev/config-record.d.ts +3 -0
  1670. package/types/dev/config-record.d.ts.map +1 -0
  1671. package/types/dev/fingerprint.d.ts +29 -0
  1672. package/types/dev/fingerprint.d.ts.map +1 -0
  1673. package/types/dev/index.d.ts +32 -0
  1674. package/types/dev/index.d.ts.map +1 -0
  1675. package/types/dev/inspector.d.ts +9 -0
  1676. package/types/dev/inspector.d.ts.map +1 -0
  1677. package/types/dev/loopback.d.ts +3 -0
  1678. package/types/dev/loopback.d.ts.map +1 -0
  1679. package/types/dev/pages.d.ts +2 -0
  1680. package/types/dev/pages.d.ts.map +1 -0
  1681. package/types/dev/preload.d.ts +3 -0
  1682. package/types/dev/preload.d.ts.map +1 -0
  1683. package/types/dev/refuse.d.ts +20 -0
  1684. package/types/dev/refuse.d.ts.map +1 -0
  1685. package/types/dev/reload.d.ts +20 -0
  1686. package/types/dev/reload.d.ts.map +1 -0
  1687. package/types/dev/render-server.d.ts +18 -0
  1688. package/types/dev/render-server.d.ts.map +1 -0
  1689. package/types/dev/render-socket.d.ts +2 -0
  1690. package/types/dev/render-socket.d.ts.map +1 -0
  1691. package/types/dev/screenshot-diff.d.ts +13 -0
  1692. package/types/dev/screenshot-diff.d.ts.map +1 -0
  1693. package/types/dev/screenshot-limits.d.ts +8 -0
  1694. package/types/dev/screenshot-limits.d.ts.map +1 -0
  1695. package/types/dev/screenshot.d.ts +62 -0
  1696. package/types/dev/screenshot.d.ts.map +1 -0
  1697. package/types/dev/session/client.d.ts +37 -0
  1698. package/types/dev/session/client.d.ts.map +1 -0
  1699. package/types/dev/session/keys.d.ts +8 -0
  1700. package/types/dev/session/keys.d.ts.map +1 -0
  1701. package/types/dev/session/ports.d.ts +18 -0
  1702. package/types/dev/session/ports.d.ts.map +1 -0
  1703. package/types/dev/session/queue.d.ts +30 -0
  1704. package/types/dev/session/queue.d.ts.map +1 -0
  1705. package/types/dev/session/report.d.ts +30 -0
  1706. package/types/dev/session/report.d.ts.map +1 -0
  1707. package/types/dev/session/servers.d.ts +73 -0
  1708. package/types/dev/session/servers.d.ts.map +1 -0
  1709. package/types/dev/session/types.d.ts +51 -0
  1710. package/types/dev/session/types.d.ts.map +1 -0
  1711. package/types/dev/sources.d.ts +14 -0
  1712. package/types/dev/sources.d.ts.map +1 -0
  1713. package/types/dev/tailwind.d.ts +5 -0
  1714. package/types/dev/tailwind.d.ts.map +1 -0
  1715. package/types/dev/types-process.d.ts +27 -0
  1716. package/types/dev/types-process.d.ts.map +1 -0
  1717. package/types/dev/types.d.ts +2 -0
  1718. package/types/dev/types.d.ts.map +1 -0
  1719. package/types/docs-props.d.ts +10 -0
  1720. package/types/docs-props.d.ts.map +1 -0
  1721. package/types/docs-search.d.ts +40 -0
  1722. package/types/docs-search.d.ts.map +1 -0
  1723. package/types/editors.d.ts +30 -0
  1724. package/types/editors.d.ts.map +1 -0
  1725. package/types/entities.d.ts +2 -0
  1726. package/types/entities.d.ts.map +1 -0
  1727. package/types/eslint/index.d.ts +51 -0
  1728. package/types/eslint/index.d.ts.map +1 -0
  1729. package/types/features.d.ts +10 -0
  1730. package/types/features.d.ts.map +1 -0
  1731. package/types/format/index.d.ts +16 -0
  1732. package/types/format/index.d.ts.map +1 -0
  1733. package/types/format/tailwind.d.ts +15 -0
  1734. package/types/format/tailwind.d.ts.map +1 -0
  1735. package/types/generate-resource.d.ts +27 -0
  1736. package/types/generate-resource.d.ts.map +1 -0
  1737. package/types/generate.d.ts +17 -0
  1738. package/types/generate.d.ts.map +1 -0
  1739. package/types/imports.d.ts +2 -0
  1740. package/types/imports.d.ts.map +1 -0
  1741. package/types/input-types.d.ts +2 -0
  1742. package/types/input-types.d.ts.map +1 -0
  1743. package/types/keyword-attributes.d.ts +6 -0
  1744. package/types/keyword-attributes.d.ts.map +1 -0
  1745. package/types/lsp/bridge.d.ts +14 -0
  1746. package/types/lsp/bridge.d.ts.map +1 -0
  1747. package/types/lsp/code-actions.d.ts +7 -0
  1748. package/types/lsp/code-actions.d.ts.map +1 -0
  1749. package/types/lsp/completions.d.ts +20 -0
  1750. package/types/lsp/completions.d.ts.map +1 -0
  1751. package/types/lsp/component-props.d.ts +10 -0
  1752. package/types/lsp/component-props.d.ts.map +1 -0
  1753. package/types/lsp/diagnostics.d.ts +25 -0
  1754. package/types/lsp/diagnostics.d.ts.map +1 -0
  1755. package/types/lsp/document-links.d.ts +7 -0
  1756. package/types/lsp/document-links.d.ts.map +1 -0
  1757. package/types/lsp/host.d.ts +72 -0
  1758. package/types/lsp/host.d.ts.map +1 -0
  1759. package/types/lsp/island-lens.d.ts +14 -0
  1760. package/types/lsp/island-lens.d.ts.map +1 -0
  1761. package/types/lsp/mapping.d.ts +25 -0
  1762. package/types/lsp/mapping.d.ts.map +1 -0
  1763. package/types/lsp/navigation.d.ts +29 -0
  1764. package/types/lsp/navigation.d.ts.map +1 -0
  1765. package/types/lsp/outline.d.ts +4 -0
  1766. package/types/lsp/outline.d.ts.map +1 -0
  1767. package/types/lsp/positions.d.ts +4 -0
  1768. package/types/lsp/positions.d.ts.map +1 -0
  1769. package/types/lsp/project-checks.d.ts +20 -0
  1770. package/types/lsp/project-checks.d.ts.map +1 -0
  1771. package/types/lsp/protocol.d.ts +172 -0
  1772. package/types/lsp/protocol.d.ts.map +1 -0
  1773. package/types/lsp/range-format.d.ts +7 -0
  1774. package/types/lsp/range-format.d.ts.map +1 -0
  1775. package/types/lsp/rename.d.ts +13 -0
  1776. package/types/lsp/rename.d.ts.map +1 -0
  1777. package/types/lsp/renames.d.ts +9 -0
  1778. package/types/lsp/renames.d.ts.map +1 -0
  1779. package/types/lsp/route-links.d.ts +9 -0
  1780. package/types/lsp/route-links.d.ts.map +1 -0
  1781. package/types/lsp/rpc.d.ts +40 -0
  1782. package/types/lsp/rpc.d.ts.map +1 -0
  1783. package/types/lsp/semantic-tokens.d.ts +6 -0
  1784. package/types/lsp/semantic-tokens.d.ts.map +1 -0
  1785. package/types/lsp/server.d.ts +58 -0
  1786. package/types/lsp/server.d.ts.map +1 -0
  1787. package/types/lsp/template-completion.d.ts +54 -0
  1788. package/types/lsp/template-completion.d.ts.map +1 -0
  1789. package/types/lsp/ui-completion.d.ts +19 -0
  1790. package/types/lsp/ui-completion.d.ts.map +1 -0
  1791. package/types/mcp/guards.d.ts +6 -0
  1792. package/types/mcp/guards.d.ts.map +1 -0
  1793. package/types/mcp/install.d.ts +2 -0
  1794. package/types/mcp/install.d.ts.map +1 -0
  1795. package/types/mcp/protocol.d.ts +88 -0
  1796. package/types/mcp/protocol.d.ts.map +1 -0
  1797. package/types/mcp/tools.d.ts +9 -0
  1798. package/types/mcp/tools.d.ts.map +1 -0
  1799. package/types/migrate/astro.d.ts +27 -0
  1800. package/types/migrate/astro.d.ts.map +1 -0
  1801. package/types/migrate/content.d.ts +3 -0
  1802. package/types/migrate/content.d.ts.map +1 -0
  1803. package/types/migrate/html.d.ts +7 -0
  1804. package/types/migrate/html.d.ts.map +1 -0
  1805. package/types/migrate/markup.d.ts +25 -0
  1806. package/types/migrate/markup.d.ts.map +1 -0
  1807. package/types/migrate/project.d.ts +17 -0
  1808. package/types/migrate/project.d.ts.map +1 -0
  1809. package/types/native-plugins.d.ts +2 -0
  1810. package/types/native-plugins.d.ts.map +1 -0
  1811. package/types/nearest.d.ts +2 -0
  1812. package/types/nearest.d.ts.map +1 -0
  1813. package/types/new.d.ts +34 -0
  1814. package/types/new.d.ts.map +1 -0
  1815. package/types/package-names.d.ts +6 -0
  1816. package/types/package-names.d.ts.map +1 -0
  1817. package/types/peers.d.ts +14 -0
  1818. package/types/peers.d.ts.map +1 -0
  1819. package/types/project.d.ts +63 -0
  1820. package/types/project.d.ts.map +1 -0
  1821. package/types/runtime/action-call.d.ts +11 -0
  1822. package/types/runtime/action-call.d.ts.map +1 -0
  1823. package/types/runtime/action-encode.d.ts +10 -0
  1824. package/types/runtime/action-encode.d.ts.map +1 -0
  1825. package/types/runtime/action-error.d.ts +16 -0
  1826. package/types/runtime/action-error.d.ts.map +1 -0
  1827. package/types/runtime/action-form.d.ts +29 -0
  1828. package/types/runtime/action-form.d.ts.map +1 -0
  1829. package/types/runtime/action-marks.d.ts +5 -0
  1830. package/types/runtime/action-marks.d.ts.map +1 -0
  1831. package/types/runtime/action-navigate.d.ts +6 -0
  1832. package/types/runtime/action-navigate.d.ts.map +1 -0
  1833. package/types/runtime/action-owner.d.ts +15 -0
  1834. package/types/runtime/action-owner.d.ts.map +1 -0
  1835. package/types/runtime/action-post.d.ts +8 -0
  1836. package/types/runtime/action-post.d.ts.map +1 -0
  1837. package/types/runtime/action-protection.d.ts +15 -0
  1838. package/types/runtime/action-protection.d.ts.map +1 -0
  1839. package/types/runtime/action-revive.d.ts +3 -0
  1840. package/types/runtime/action-revive.d.ts.map +1 -0
  1841. package/types/runtime/action-reviver.d.ts +2 -0
  1842. package/types/runtime/action-reviver.d.ts.map +1 -0
  1843. package/types/runtime/action-shared.d.ts +288 -0
  1844. package/types/runtime/action-shared.d.ts.map +1 -0
  1845. package/types/runtime/action-stream.d.ts +8 -0
  1846. package/types/runtime/action-stream.d.ts.map +1 -0
  1847. package/types/runtime/action.d.ts +29 -0
  1848. package/types/runtime/action.d.ts.map +1 -0
  1849. package/types/runtime/analytics.client.d.ts +3 -0
  1850. package/types/runtime/analytics.client.d.ts.map +1 -0
  1851. package/types/runtime/announce.d.ts +2 -0
  1852. package/types/runtime/announce.d.ts.map +1 -0
  1853. package/types/runtime/api-error-class.d.ts +9 -0
  1854. package/types/runtime/api-error-class.d.ts.map +1 -0
  1855. package/types/runtime/api-error.d.ts +17 -0
  1856. package/types/runtime/api-error.d.ts.map +1 -0
  1857. package/types/runtime/api-url.d.ts +24 -0
  1858. package/types/runtime/api-url.d.ts.map +1 -0
  1859. package/types/runtime/arrival.d.ts +5 -0
  1860. package/types/runtime/arrival.d.ts.map +1 -0
  1861. package/types/runtime/await.d.ts +4 -0
  1862. package/types/runtime/await.d.ts.map +1 -0
  1863. package/types/runtime/await.server.d.ts +26 -0
  1864. package/types/runtime/await.server.d.ts.map +1 -0
  1865. package/types/runtime/base.d.ts +12 -0
  1866. package/types/runtime/base.d.ts.map +1 -0
  1867. package/types/runtime/build.d.ts +2 -0
  1868. package/types/runtime/build.d.ts.map +1 -0
  1869. package/types/runtime/byte-count.d.ts +3 -0
  1870. package/types/runtime/byte-count.d.ts.map +1 -0
  1871. package/types/runtime/byte-size.d.ts +4 -0
  1872. package/types/runtime/byte-size.d.ts.map +1 -0
  1873. package/types/runtime/cache-live-id.d.ts +2 -0
  1874. package/types/runtime/cache-live-id.d.ts.map +1 -0
  1875. package/types/runtime/cache.d.ts +87 -0
  1876. package/types/runtime/cache.d.ts.map +1 -0
  1877. package/types/runtime/cache.server.d.ts +10 -0
  1878. package/types/runtime/cache.server.d.ts.map +1 -0
  1879. package/types/runtime/call-body.d.ts +6 -0
  1880. package/types/runtime/call-body.d.ts.map +1 -0
  1881. package/types/runtime/call-result.d.ts +41 -0
  1882. package/types/runtime/call-result.d.ts.map +1 -0
  1883. package/types/runtime/checks.d.ts +287 -0
  1884. package/types/runtime/checks.d.ts.map +1 -0
  1885. package/types/runtime/claimed.d.ts +3 -0
  1886. package/types/runtime/claimed.d.ts.map +1 -0
  1887. package/types/runtime/class-table.d.ts +7 -0
  1888. package/types/runtime/class-table.d.ts.map +1 -0
  1889. package/types/runtime/client.d.ts +15 -0
  1890. package/types/runtime/client.d.ts.map +1 -0
  1891. package/types/runtime/connection.d.ts +40 -0
  1892. package/types/runtime/connection.d.ts.map +1 -0
  1893. package/types/runtime/consent.d.ts +5 -0
  1894. package/types/runtime/consent.d.ts.map +1 -0
  1895. package/types/runtime/core.d.ts +172 -0
  1896. package/types/runtime/core.d.ts.map +1 -0
  1897. package/types/runtime/counters.d.ts +26 -0
  1898. package/types/runtime/counters.d.ts.map +1 -0
  1899. package/types/runtime/described.d.ts +9 -0
  1900. package/types/runtime/described.d.ts.map +1 -0
  1901. package/types/runtime/dev-a11y.d.ts +16 -0
  1902. package/types/runtime/dev-a11y.d.ts.map +1 -0
  1903. package/types/runtime/dev-boot.d.ts +14 -0
  1904. package/types/runtime/dev-boot.d.ts.map +1 -0
  1905. package/types/runtime/dev-inspector.d.ts +9 -0
  1906. package/types/runtime/dev-inspector.d.ts.map +1 -0
  1907. package/types/runtime/dev-patch.d.ts +2 -0
  1908. package/types/runtime/dev-patch.d.ts.map +1 -0
  1909. package/types/runtime/dev-refresh.d.ts +2 -0
  1910. package/types/runtime/dev-refresh.d.ts.map +1 -0
  1911. package/types/runtime/dev-styles.d.ts +3 -0
  1912. package/types/runtime/dev-styles.d.ts.map +1 -0
  1913. package/types/runtime/dev-tab-data.d.ts +3 -0
  1914. package/types/runtime/dev-tab-data.d.ts.map +1 -0
  1915. package/types/runtime/dev-tab-env.d.ts +3 -0
  1916. package/types/runtime/dev-tab-env.d.ts.map +1 -0
  1917. package/types/runtime/dev-tab-head.d.ts +3 -0
  1918. package/types/runtime/dev-tab-head.d.ts.map +1 -0
  1919. package/types/runtime/dev-tab-i18n.d.ts +3 -0
  1920. package/types/runtime/dev-tab-i18n.d.ts.map +1 -0
  1921. package/types/runtime/dev-tab-images.d.ts +3 -0
  1922. package/types/runtime/dev-tab-images.d.ts.map +1 -0
  1923. package/types/runtime/dev-tab-jobs.d.ts +3 -0
  1924. package/types/runtime/dev-tab-jobs.d.ts.map +1 -0
  1925. package/types/runtime/dev-tab-network.d.ts +3 -0
  1926. package/types/runtime/dev-tab-network.d.ts.map +1 -0
  1927. package/types/runtime/dev-tab-not-found.d.ts +3 -0
  1928. package/types/runtime/dev-tab-not-found.d.ts.map +1 -0
  1929. package/types/runtime/dev-tab-performance.d.ts +3 -0
  1930. package/types/runtime/dev-tab-performance.d.ts.map +1 -0
  1931. package/types/runtime/dev-tab-reading.d.ts +23 -0
  1932. package/types/runtime/dev-tab-reading.d.ts.map +1 -0
  1933. package/types/runtime/dev-tab-routes.d.ts +3 -0
  1934. package/types/runtime/dev-tab-routes.d.ts.map +1 -0
  1935. package/types/runtime/dev-tab-styles.d.ts +3 -0
  1936. package/types/runtime/dev-tab-styles.d.ts.map +1 -0
  1937. package/types/runtime/dev-tool-constants.d.ts +19 -0
  1938. package/types/runtime/dev-tool-constants.d.ts.map +1 -0
  1939. package/types/runtime/dev-tool-icons.d.ts +48 -0
  1940. package/types/runtime/dev-tool-icons.d.ts.map +1 -0
  1941. package/types/runtime/dev-tool-keys.d.ts +16 -0
  1942. package/types/runtime/dev-tool-keys.d.ts.map +1 -0
  1943. package/types/runtime/dev-tool-kit.d.ts +8 -0
  1944. package/types/runtime/dev-tool-kit.d.ts.map +1 -0
  1945. package/types/runtime/dev-tool-layout.d.ts +49 -0
  1946. package/types/runtime/dev-tool-layout.d.ts.map +1 -0
  1947. package/types/runtime/dev-tool-markdown.d.ts +2 -0
  1948. package/types/runtime/dev-tool-markdown.d.ts.map +1 -0
  1949. package/types/runtime/dev-tool-outline.d.ts +3 -0
  1950. package/types/runtime/dev-tool-outline.d.ts.map +1 -0
  1951. package/types/runtime/dev-tool-parts.d.ts +38 -0
  1952. package/types/runtime/dev-tool-parts.d.ts.map +1 -0
  1953. package/types/runtime/dev-tool-problems.d.ts +14 -0
  1954. package/types/runtime/dev-tool-problems.d.ts.map +1 -0
  1955. package/types/runtime/dev-tool-request.d.ts +5 -0
  1956. package/types/runtime/dev-tool-request.d.ts.map +1 -0
  1957. package/types/runtime/dev-tool-shell.d.ts +25 -0
  1958. package/types/runtime/dev-tool-shell.d.ts.map +1 -0
  1959. package/types/runtime/dev-tool-style.d.ts +2 -0
  1960. package/types/runtime/dev-tool-style.d.ts.map +1 -0
  1961. package/types/runtime/dev-tool-swaps.d.ts +10 -0
  1962. package/types/runtime/dev-tool-swaps.d.ts.map +1 -0
  1963. package/types/runtime/dev-tool-tab-order.d.ts +17 -0
  1964. package/types/runtime/dev-tool-tab-order.d.ts.map +1 -0
  1965. package/types/runtime/dev-tool-tabs.d.ts +24 -0
  1966. package/types/runtime/dev-tool-tabs.d.ts.map +1 -0
  1967. package/types/runtime/dev-tool-vitals.d.ts +13 -0
  1968. package/types/runtime/dev-tool-vitals.d.ts.map +1 -0
  1969. package/types/runtime/dev-tool-window.d.ts +18 -0
  1970. package/types/runtime/dev-tool-window.d.ts.map +1 -0
  1971. package/types/runtime/dev-tool.d.ts +75 -0
  1972. package/types/runtime/dev-tool.d.ts.map +1 -0
  1973. package/types/runtime/dev-tool.public.d.ts +4 -0
  1974. package/types/runtime/dev-tool.public.d.ts.map +1 -0
  1975. package/types/runtime/dom-await.d.ts +2 -0
  1976. package/types/runtime/dom-await.d.ts.map +1 -0
  1977. package/types/runtime/dom-image.d.ts +2 -0
  1978. package/types/runtime/dom-image.d.ts.map +1 -0
  1979. package/types/runtime/dom-loop.d.ts +3 -0
  1980. package/types/runtime/dom-loop.d.ts.map +1 -0
  1981. package/types/runtime/dom-spread.d.ts +3 -0
  1982. package/types/runtime/dom-spread.d.ts.map +1 -0
  1983. package/types/runtime/dom-try.d.ts +2 -0
  1984. package/types/runtime/dom-try.d.ts.map +1 -0
  1985. package/types/runtime/dom.d.ts +87 -0
  1986. package/types/runtime/dom.d.ts.map +1 -0
  1987. package/types/runtime/draft-issues.d.ts +19 -0
  1988. package/types/runtime/draft-issues.d.ts.map +1 -0
  1989. package/types/runtime/duration-words.d.ts +3 -0
  1990. package/types/runtime/duration-words.d.ts.map +1 -0
  1991. package/types/runtime/duration.d.ts +16 -0
  1992. package/types/runtime/duration.d.ts.map +1 -0
  1993. package/types/runtime/edit.d.ts +25 -0
  1994. package/types/runtime/edit.d.ts.map +1 -0
  1995. package/types/runtime/element-size.d.ts +7 -0
  1996. package/types/runtime/element-size.d.ts.map +1 -0
  1997. package/types/runtime/email.d.ts +3 -0
  1998. package/types/runtime/email.d.ts.map +1 -0
  1999. package/types/runtime/ended-entry.d.ts +3 -0
  2000. package/types/runtime/ended-entry.d.ts.map +1 -0
  2001. package/types/runtime/env.d.ts +26 -0
  2002. package/types/runtime/env.d.ts.map +1 -0
  2003. package/types/runtime/escape.d.ts +6 -0
  2004. package/types/runtime/escape.d.ts.map +1 -0
  2005. package/types/runtime/fetch-island.d.ts +6 -0
  2006. package/types/runtime/fetch-island.d.ts.map +1 -0
  2007. package/types/runtime/fields.d.ts +58 -0
  2008. package/types/runtime/fields.d.ts.map +1 -0
  2009. package/types/runtime/fills.d.ts +12 -0
  2010. package/types/runtime/fills.d.ts.map +1 -0
  2011. package/types/runtime/focus.d.ts +2 -0
  2012. package/types/runtime/focus.d.ts.map +1 -0
  2013. package/types/runtime/follow-log.d.ts +11 -0
  2014. package/types/runtime/follow-log.d.ts.map +1 -0
  2015. package/types/runtime/form-controls.d.ts +2 -0
  2016. package/types/runtime/form-controls.d.ts.map +1 -0
  2017. package/types/runtime/form-hold.d.ts +7 -0
  2018. package/types/runtime/form-hold.d.ts.map +1 -0
  2019. package/types/runtime/form-protect.d.ts +2 -0
  2020. package/types/runtime/form-protect.d.ts.map +1 -0
  2021. package/types/runtime/form-submits.d.ts +9 -0
  2022. package/types/runtime/form-submits.d.ts.map +1 -0
  2023. package/types/runtime/form.d.ts +19 -0
  2024. package/types/runtime/form.d.ts.map +1 -0
  2025. package/types/runtime/forms.d.ts +4 -0
  2026. package/types/runtime/forms.d.ts.map +1 -0
  2027. package/types/runtime/french.d.ts +6 -0
  2028. package/types/runtime/french.d.ts.map +1 -0
  2029. package/types/runtime/head.d.ts +40 -0
  2030. package/types/runtime/head.d.ts.map +1 -0
  2031. package/types/runtime/html.d.ts +70 -0
  2032. package/types/runtime/html.d.ts.map +1 -0
  2033. package/types/runtime/hydrate-when.d.ts +5 -0
  2034. package/types/runtime/hydrate-when.d.ts.map +1 -0
  2035. package/types/runtime/i18n-links.d.ts +9 -0
  2036. package/types/runtime/i18n-links.d.ts.map +1 -0
  2037. package/types/runtime/i18n.client.d.ts +21 -0
  2038. package/types/runtime/i18n.client.d.ts.map +1 -0
  2039. package/types/runtime/i18n.d.ts +112 -0
  2040. package/types/runtime/i18n.d.ts.map +1 -0
  2041. package/types/runtime/i18n.server.d.ts +20 -0
  2042. package/types/runtime/i18n.server.d.ts.map +1 -0
  2043. package/types/runtime/icons.d.ts +30 -0
  2044. package/types/runtime/icons.d.ts.map +1 -0
  2045. package/types/runtime/image.d.ts +103 -0
  2046. package/types/runtime/image.d.ts.map +1 -0
  2047. package/types/runtime/image.public.d.ts +3 -0
  2048. package/types/runtime/image.public.d.ts.map +1 -0
  2049. package/types/runtime/in-view.d.ts +12 -0
  2050. package/types/runtime/in-view.d.ts.map +1 -0
  2051. package/types/runtime/index.d.ts +84 -0
  2052. package/types/runtime/index.d.ts.map +1 -0
  2053. package/types/runtime/install-prompt.d.ts +17 -0
  2054. package/types/runtime/install-prompt.d.ts.map +1 -0
  2055. package/types/runtime/internal.d.ts +19 -0
  2056. package/types/runtime/internal.d.ts.map +1 -0
  2057. package/types/runtime/invalid.d.ts +3 -0
  2058. package/types/runtime/invalid.d.ts.map +1 -0
  2059. package/types/runtime/island-request.d.ts +3 -0
  2060. package/types/runtime/island-request.d.ts.map +1 -0
  2061. package/types/runtime/island.client.d.ts +4 -0
  2062. package/types/runtime/island.client.d.ts.map +1 -0
  2063. package/types/runtime/island.server.d.ts +32 -0
  2064. package/types/runtime/island.server.d.ts.map +1 -0
  2065. package/types/runtime/jsx-runtime.d.ts +2 -0
  2066. package/types/runtime/jsx-runtime.d.ts.map +1 -0
  2067. package/types/runtime/jsx.d.ts +286 -0
  2068. package/types/runtime/jsx.d.ts.map +1 -0
  2069. package/types/runtime/keepalive.d.ts +4 -0
  2070. package/types/runtime/keepalive.d.ts.map +1 -0
  2071. package/types/runtime/lasting.d.ts +2 -0
  2072. package/types/runtime/lasting.d.ts.map +1 -0
  2073. package/types/runtime/leave.d.ts +6 -0
  2074. package/types/runtime/leave.d.ts.map +1 -0
  2075. package/types/runtime/listen-with.d.ts +2 -0
  2076. package/types/runtime/listen-with.d.ts.map +1 -0
  2077. package/types/runtime/listener-set.d.ts +5 -0
  2078. package/types/runtime/listener-set.d.ts.map +1 -0
  2079. package/types/runtime/live-cache.d.ts +4 -0
  2080. package/types/runtime/live-cache.d.ts.map +1 -0
  2081. package/types/runtime/live-props.d.ts +2 -0
  2082. package/types/runtime/live-props.d.ts.map +1 -0
  2083. package/types/runtime/live-resource.server.d.ts +13 -0
  2084. package/types/runtime/live-resource.server.d.ts.map +1 -0
  2085. package/types/runtime/live-value.client.d.ts +8 -0
  2086. package/types/runtime/live-value.client.d.ts.map +1 -0
  2087. package/types/runtime/live-value.d.ts +13 -0
  2088. package/types/runtime/live-value.d.ts.map +1 -0
  2089. package/types/runtime/live-value.server.d.ts +30 -0
  2090. package/types/runtime/live-value.server.d.ts.map +1 -0
  2091. package/types/runtime/live-value.shared.d.ts +61 -0
  2092. package/types/runtime/live-value.shared.d.ts.map +1 -0
  2093. package/types/runtime/live.d.ts +292 -0
  2094. package/types/runtime/live.d.ts.map +1 -0
  2095. package/types/runtime/load-scope.d.ts +9 -0
  2096. package/types/runtime/load-scope.d.ts.map +1 -0
  2097. package/types/runtime/local-status.d.ts +4 -0
  2098. package/types/runtime/local-status.d.ts.map +1 -0
  2099. package/types/runtime/local.d.ts +75 -0
  2100. package/types/runtime/local.d.ts.map +1 -0
  2101. package/types/runtime/locale-state.d.ts +18 -0
  2102. package/types/runtime/locale-state.d.ts.map +1 -0
  2103. package/types/runtime/localized.d.ts +4 -0
  2104. package/types/runtime/localized.d.ts.map +1 -0
  2105. package/types/runtime/log.d.ts +8 -0
  2106. package/types/runtime/log.d.ts.map +1 -0
  2107. package/types/runtime/markdown-render.client.d.ts +3 -0
  2108. package/types/runtime/markdown-render.client.d.ts.map +1 -0
  2109. package/types/runtime/markdown-task.d.ts +2 -0
  2110. package/types/runtime/markdown-task.d.ts.map +1 -0
  2111. package/types/runtime/markdown.client.d.ts +6 -0
  2112. package/types/runtime/markdown.client.d.ts.map +1 -0
  2113. package/types/runtime/markdown.d.ts +8 -0
  2114. package/types/runtime/markdown.d.ts.map +1 -0
  2115. package/types/runtime/markdown.server.d.ts +6 -0
  2116. package/types/runtime/markdown.server.d.ts.map +1 -0
  2117. package/types/runtime/markers.d.ts +14 -0
  2118. package/types/runtime/markers.d.ts.map +1 -0
  2119. package/types/runtime/media-query.d.ts +3 -0
  2120. package/types/runtime/media-query.d.ts.map +1 -0
  2121. package/types/runtime/mount.d.ts +9 -0
  2122. package/types/runtime/mount.d.ts.map +1 -0
  2123. package/types/runtime/move.d.ts +3 -0
  2124. package/types/runtime/move.d.ts.map +1 -0
  2125. package/types/runtime/navigate-api.d.ts +18 -0
  2126. package/types/runtime/navigate-api.d.ts.map +1 -0
  2127. package/types/runtime/navigate.d.ts +10 -0
  2128. package/types/runtime/navigate.d.ts.map +1 -0
  2129. package/types/runtime/navigation-entry.d.ts +2 -0
  2130. package/types/runtime/navigation-entry.d.ts.map +1 -0
  2131. package/types/runtime/navigation-state.d.ts +19 -0
  2132. package/types/runtime/navigation-state.d.ts.map +1 -0
  2133. package/types/runtime/navigation.d.ts +86 -0
  2134. package/types/runtime/navigation.d.ts.map +1 -0
  2135. package/types/runtime/online.d.ts +2 -0
  2136. package/types/runtime/online.d.ts.map +1 -0
  2137. package/types/runtime/optimistic.d.ts +7 -0
  2138. package/types/runtime/optimistic.d.ts.map +1 -0
  2139. package/types/runtime/outside.d.ts +8 -0
  2140. package/types/runtime/outside.d.ts.map +1 -0
  2141. package/types/runtime/page-data.d.ts +3 -0
  2142. package/types/runtime/page-data.d.ts.map +1 -0
  2143. package/types/runtime/page-errors.d.ts +2 -0
  2144. package/types/runtime/page-errors.d.ts.map +1 -0
  2145. package/types/runtime/page-swap.d.ts +8 -0
  2146. package/types/runtime/page-swap.d.ts.map +1 -0
  2147. package/types/runtime/page-title.d.ts +2 -0
  2148. package/types/runtime/page-title.d.ts.map +1 -0
  2149. package/types/runtime/params.d.ts +4 -0
  2150. package/types/runtime/params.d.ts.map +1 -0
  2151. package/types/runtime/pending.d.ts +5 -0
  2152. package/types/runtime/pending.d.ts.map +1 -0
  2153. package/types/runtime/persist.d.ts +25 -0
  2154. package/types/runtime/persist.d.ts.map +1 -0
  2155. package/types/runtime/persisted.d.ts +71 -0
  2156. package/types/runtime/persisted.d.ts.map +1 -0
  2157. package/types/runtime/placeholder.d.ts +5 -0
  2158. package/types/runtime/placeholder.d.ts.map +1 -0
  2159. package/types/runtime/poll-backoff.d.ts +16 -0
  2160. package/types/runtime/poll-backoff.d.ts.map +1 -0
  2161. package/types/runtime/prefetch.d.ts +3 -0
  2162. package/types/runtime/prefetch.d.ts.map +1 -0
  2163. package/types/runtime/presence.d.ts +13 -0
  2164. package/types/runtime/presence.d.ts.map +1 -0
  2165. package/types/runtime/preview.d.ts +26 -0
  2166. package/types/runtime/preview.d.ts.map +1 -0
  2167. package/types/runtime/push.d.ts +19 -0
  2168. package/types/runtime/push.d.ts.map +1 -0
  2169. package/types/runtime/query-param.d.ts +14 -0
  2170. package/types/runtime/query-param.d.ts.map +1 -0
  2171. package/types/runtime/queue-jobs.d.ts +16 -0
  2172. package/types/runtime/queue-jobs.d.ts.map +1 -0
  2173. package/types/runtime/random-id.d.ts +2 -0
  2174. package/types/runtime/random-id.d.ts.map +1 -0
  2175. package/types/runtime/reactive-collections.d.ts +3 -0
  2176. package/types/runtime/reactive-collections.d.ts.map +1 -0
  2177. package/types/runtime/reactive.d.ts +112 -0
  2178. package/types/runtime/reactive.d.ts.map +1 -0
  2179. package/types/runtime/recipe.d.ts +34 -0
  2180. package/types/runtime/recipe.d.ts.map +1 -0
  2181. package/types/runtime/refetch-island.d.ts +2 -0
  2182. package/types/runtime/refetch-island.d.ts.map +1 -0
  2183. package/types/runtime/refuse.d.ts +18 -0
  2184. package/types/runtime/refuse.d.ts.map +1 -0
  2185. package/types/runtime/rendered.d.ts +9 -0
  2186. package/types/runtime/rendered.d.ts.map +1 -0
  2187. package/types/runtime/report-error.d.ts +2 -0
  2188. package/types/runtime/report-error.d.ts.map +1 -0
  2189. package/types/runtime/retry-later.d.ts +2 -0
  2190. package/types/runtime/retry-later.d.ts.map +1 -0
  2191. package/types/runtime/reveal.d.ts +2 -0
  2192. package/types/runtime/reveal.d.ts.map +1 -0
  2193. package/types/runtime/root.d.ts +3 -0
  2194. package/types/runtime/root.d.ts.map +1 -0
  2195. package/types/runtime/route.d.ts +19 -0
  2196. package/types/runtime/route.d.ts.map +1 -0
  2197. package/types/runtime/safe-code.d.ts +2 -0
  2198. package/types/runtime/safe-code.d.ts.map +1 -0
  2199. package/types/runtime/safe-html.d.ts +7 -0
  2200. package/types/runtime/safe-html.d.ts.map +1 -0
  2201. package/types/runtime/sanitize.d.ts +15 -0
  2202. package/types/runtime/sanitize.d.ts.map +1 -0
  2203. package/types/runtime/save-data.d.ts +2 -0
  2204. package/types/runtime/save-data.d.ts.map +1 -0
  2205. package/types/runtime/schema-bounds.d.ts +4 -0
  2206. package/types/runtime/schema-bounds.d.ts.map +1 -0
  2207. package/types/runtime/schema.client.d.ts +3 -0
  2208. package/types/runtime/schema.client.d.ts.map +1 -0
  2209. package/types/runtime/schema.d.ts +32 -0
  2210. package/types/runtime/schema.d.ts.map +1 -0
  2211. package/types/runtime/search-arrival.d.ts +2 -0
  2212. package/types/runtime/search-arrival.d.ts.map +1 -0
  2213. package/types/runtime/search-results.d.ts +4 -0
  2214. package/types/runtime/search-results.d.ts.map +1 -0
  2215. package/types/runtime/search.d.ts +48 -0
  2216. package/types/runtime/search.d.ts.map +1 -0
  2217. package/types/runtime/send.d.ts +3 -0
  2218. package/types/runtime/send.d.ts.map +1 -0
  2219. package/types/runtime/seo.d.ts +15 -0
  2220. package/types/runtime/seo.d.ts.map +1 -0
  2221. package/types/runtime/server-islands.d.ts +3 -0
  2222. package/types/runtime/server-islands.d.ts.map +1 -0
  2223. package/types/runtime/shortcut.d.ts +9 -0
  2224. package/types/runtime/shortcut.d.ts.map +1 -0
  2225. package/types/runtime/site.d.ts +14 -0
  2226. package/types/runtime/site.d.ts.map +1 -0
  2227. package/types/runtime/size-text.d.ts +2 -0
  2228. package/types/runtime/size-text.d.ts.map +1 -0
  2229. package/types/runtime/snapshots.d.ts +13 -0
  2230. package/types/runtime/snapshots.d.ts.map +1 -0
  2231. package/types/runtime/sqlite.server.d.ts +4 -0
  2232. package/types/runtime/sqlite.server.d.ts.map +1 -0
  2233. package/types/runtime/sse.d.ts +3 -0
  2234. package/types/runtime/sse.d.ts.map +1 -0
  2235. package/types/runtime/stale.d.ts +4 -0
  2236. package/types/runtime/stale.d.ts.map +1 -0
  2237. package/types/runtime/static-slots.d.ts +4 -0
  2238. package/types/runtime/static-slots.d.ts.map +1 -0
  2239. package/types/runtime/store-base.d.ts +6 -0
  2240. package/types/runtime/store-base.d.ts.map +1 -0
  2241. package/types/runtime/store.d.ts +12 -0
  2242. package/types/runtime/store.d.ts.map +1 -0
  2243. package/types/runtime/swap-fetch.d.ts +10 -0
  2244. package/types/runtime/swap-fetch.d.ts.map +1 -0
  2245. package/types/runtime/swap-flight.d.ts +36 -0
  2246. package/types/runtime/swap-flight.d.ts.map +1 -0
  2247. package/types/runtime/swap-focus.d.ts +6 -0
  2248. package/types/runtime/swap-focus.d.ts.map +1 -0
  2249. package/types/runtime/swap-head.d.ts +8 -0
  2250. package/types/runtime/swap-head.d.ts.map +1 -0
  2251. package/types/runtime/swap-held.d.ts +2 -0
  2252. package/types/runtime/swap-held.d.ts.map +1 -0
  2253. package/types/runtime/swap-kept.d.ts +8 -0
  2254. package/types/runtime/swap-kept.d.ts.map +1 -0
  2255. package/types/runtime/swap-loading.d.ts +6 -0
  2256. package/types/runtime/swap-loading.d.ts.map +1 -0
  2257. package/types/runtime/swap-morph.d.ts +8 -0
  2258. package/types/runtime/swap-morph.d.ts.map +1 -0
  2259. package/types/runtime/swap-refusal.d.ts +2 -0
  2260. package/types/runtime/swap-refusal.d.ts.map +1 -0
  2261. package/types/runtime/swap-streamed.d.ts +14 -0
  2262. package/types/runtime/swap-streamed.d.ts.map +1 -0
  2263. package/types/runtime/swap-transition.d.ts +4 -0
  2264. package/types/runtime/swap-transition.d.ts.map +1 -0
  2265. package/types/runtime/swap.d.ts +16 -0
  2266. package/types/runtime/swap.d.ts.map +1 -0
  2267. package/types/runtime/template-context.d.ts +28 -0
  2268. package/types/runtime/template-context.d.ts.map +1 -0
  2269. package/types/runtime/transition.d.ts +11 -0
  2270. package/types/runtime/transition.d.ts.map +1 -0
  2271. package/types/runtime/ui.d.ts +22 -0
  2272. package/types/runtime/ui.d.ts.map +1 -0
  2273. package/types/runtime/uid.d.ts +10 -0
  2274. package/types/runtime/uid.d.ts.map +1 -0
  2275. package/types/runtime/uid.server.d.ts +6 -0
  2276. package/types/runtime/uid.server.d.ts.map +1 -0
  2277. package/types/runtime/upload.d.ts +2 -0
  2278. package/types/runtime/upload.d.ts.map +1 -0
  2279. package/types/runtime/url-attributes.d.ts +2 -0
  2280. package/types/runtime/url-attributes.d.ts.map +1 -0
  2281. package/types/runtime/url-report.d.ts +5 -0
  2282. package/types/runtime/url-report.d.ts.map +1 -0
  2283. package/types/runtime/url.d.ts +5 -0
  2284. package/types/runtime/url.d.ts.map +1 -0
  2285. package/types/runtime/validate.d.ts +26 -0
  2286. package/types/runtime/validate.d.ts.map +1 -0
  2287. package/types/runtime/values.d.ts +18 -0
  2288. package/types/runtime/values.d.ts.map +1 -0
  2289. package/types/runtime/visibility.d.ts +3 -0
  2290. package/types/runtime/visibility.d.ts.map +1 -0
  2291. package/types/runtime/warn-once.d.ts +4 -0
  2292. package/types/runtime/warn-once.d.ts.map +1 -0
  2293. package/types/runtime/wire.d.ts +15 -0
  2294. package/types/runtime/wire.d.ts.map +1 -0
  2295. package/types/runtime/with-query.d.ts +5 -0
  2296. package/types/runtime/with-query.d.ts.map +1 -0
  2297. package/types/runtime/words.client.d.ts +8 -0
  2298. package/types/runtime/words.client.d.ts.map +1 -0
  2299. package/types/runtime/words.server.d.ts +7 -0
  2300. package/types/runtime/words.server.d.ts.map +1 -0
  2301. package/types/runtime/work-worker.d.ts +2 -0
  2302. package/types/runtime/work-worker.d.ts.map +1 -0
  2303. package/types/runtime/work.client.d.ts +4 -0
  2304. package/types/runtime/work.client.d.ts.map +1 -0
  2305. package/types/runtime/work.d.ts +4 -0
  2306. package/types/runtime/work.d.ts.map +1 -0
  2307. package/types/server/accept-language.d.ts +5 -0
  2308. package/types/server/accept-language.d.ts.map +1 -0
  2309. package/types/server/action-clash.d.ts +2 -0
  2310. package/types/server/action-clash.d.ts.map +1 -0
  2311. package/types/server/action-hooks.d.ts +19 -0
  2312. package/types/server/action-hooks.d.ts.map +1 -0
  2313. package/types/server/action-input.d.ts +3 -0
  2314. package/types/server/action-input.d.ts.map +1 -0
  2315. package/types/server/action-iterable.d.ts +7 -0
  2316. package/types/server/action-iterable.d.ts.map +1 -0
  2317. package/types/server/actions.d.ts +56 -0
  2318. package/types/server/actions.d.ts.map +1 -0
  2319. package/types/server/address.d.ts +20 -0
  2320. package/types/server/address.d.ts.map +1 -0
  2321. package/types/server/analytics-script.d.ts +5 -0
  2322. package/types/server/analytics-script.d.ts.map +1 -0
  2323. package/types/server/analytics-server.d.ts +12 -0
  2324. package/types/server/analytics-server.d.ts.map +1 -0
  2325. package/types/server/analytics-words.d.ts +8 -0
  2326. package/types/server/analytics-words.d.ts.map +1 -0
  2327. package/types/server/analytics.d.ts +109 -0
  2328. package/types/server/analytics.d.ts.map +1 -0
  2329. package/types/server/api-modules.d.ts +51 -0
  2330. package/types/server/api-modules.d.ts.map +1 -0
  2331. package/types/server/api-params.d.ts +16 -0
  2332. package/types/server/api-params.d.ts.map +1 -0
  2333. package/types/server/api.d.ts +50 -0
  2334. package/types/server/api.d.ts.map +1 -0
  2335. package/types/server/app-database.d.ts +13 -0
  2336. package/types/server/app-database.d.ts.map +1 -0
  2337. package/types/server/app-hooks.d.ts +26 -0
  2338. package/types/server/app-hooks.d.ts.map +1 -0
  2339. package/types/server/app-identity.d.ts +13 -0
  2340. package/types/server/app-identity.d.ts.map +1 -0
  2341. package/types/server/app-stages.d.ts +210 -0
  2342. package/types/server/app-stages.d.ts.map +1 -0
  2343. package/types/server/app-store.d.ts +33 -0
  2344. package/types/server/app-store.d.ts.map +1 -0
  2345. package/types/server/app.d.ts +122 -0
  2346. package/types/server/app.d.ts.map +1 -0
  2347. package/types/server/auth-mails.d.ts +357 -0
  2348. package/types/server/auth-mails.d.ts.map +1 -0
  2349. package/types/server/auto-listen.d.ts +6 -0
  2350. package/types/server/auto-listen.d.ts.map +1 -0
  2351. package/types/server/avif-worker.d.ts +19 -0
  2352. package/types/server/avif-worker.d.ts.map +1 -0
  2353. package/types/server/avif.d.ts +12 -0
  2354. package/types/server/avif.d.ts.map +1 -0
  2355. package/types/server/base.d.ts +9 -0
  2356. package/types/server/base.d.ts.map +1 -0
  2357. package/types/server/basic-auth.d.ts +13 -0
  2358. package/types/server/basic-auth.d.ts.map +1 -0
  2359. package/types/server/body.d.ts +23 -0
  2360. package/types/server/body.d.ts.map +1 -0
  2361. package/types/server/build-files.d.ts +8 -0
  2362. package/types/server/build-files.d.ts.map +1 -0
  2363. package/types/server/builtins.d.ts +5 -0
  2364. package/types/server/builtins.d.ts.map +1 -0
  2365. package/types/server/bundle.d.ts +26 -0
  2366. package/types/server/bundle.d.ts.map +1 -0
  2367. package/types/server/card-draw.d.ts +20 -0
  2368. package/types/server/card-draw.d.ts.map +1 -0
  2369. package/types/server/card-template.d.ts +8 -0
  2370. package/types/server/card-template.d.ts.map +1 -0
  2371. package/types/server/card.d.ts +73 -0
  2372. package/types/server/card.d.ts.map +1 -0
  2373. package/types/server/ceiling.d.ts +2 -0
  2374. package/types/server/ceiling.d.ts.map +1 -0
  2375. package/types/server/clean-context.d.ts +2 -0
  2376. package/types/server/clean-context.d.ts.map +1 -0
  2377. package/types/server/client.d.ts +91 -0
  2378. package/types/server/client.d.ts.map +1 -0
  2379. package/types/server/codec/avif-enc-build.d.ts +2 -0
  2380. package/types/server/codec/avif-enc-build.d.ts.map +1 -0
  2381. package/types/server/compress-policy.d.ts +2 -0
  2382. package/types/server/compress-policy.d.ts.map +1 -0
  2383. package/types/server/compress.d.ts +44 -0
  2384. package/types/server/compress.d.ts.map +1 -0
  2385. package/types/server/config-error.d.ts +10 -0
  2386. package/types/server/config-error.d.ts.map +1 -0
  2387. package/types/server/config-limits.d.ts +37 -0
  2388. package/types/server/config-limits.d.ts.map +1 -0
  2389. package/types/server/consent-cookie.d.ts +2 -0
  2390. package/types/server/consent-cookie.d.ts.map +1 -0
  2391. package/types/server/context-reads.d.ts +2 -0
  2392. package/types/server/context-reads.d.ts.map +1 -0
  2393. package/types/server/context-record.d.ts +10 -0
  2394. package/types/server/context-record.d.ts.map +1 -0
  2395. package/types/server/context-values.d.ts +15 -0
  2396. package/types/server/context-values.d.ts.map +1 -0
  2397. package/types/server/cookie-names.d.ts +3 -0
  2398. package/types/server/cookie-names.d.ts.map +1 -0
  2399. package/types/server/cookies.d.ts +36 -0
  2400. package/types/server/cookies.d.ts.map +1 -0
  2401. package/types/server/cors.d.ts +35 -0
  2402. package/types/server/cors.d.ts.map +1 -0
  2403. package/types/server/crop.d.ts +16 -0
  2404. package/types/server/crop.d.ts.map +1 -0
  2405. package/types/server/cross-site.d.ts +9 -0
  2406. package/types/server/cross-site.d.ts.map +1 -0
  2407. package/types/server/csp.d.ts +13 -0
  2408. package/types/server/csp.d.ts.map +1 -0
  2409. package/types/server/dev-data.d.ts +44 -0
  2410. package/types/server/dev-data.d.ts.map +1 -0
  2411. package/types/server/dev-errors.d.ts +34 -0
  2412. package/types/server/dev-errors.d.ts.map +1 -0
  2413. package/types/server/dev-footprint.d.ts +2 -0
  2414. package/types/server/dev-footprint.d.ts.map +1 -0
  2415. package/types/server/dev-head.d.ts +13 -0
  2416. package/types/server/dev-head.d.ts.map +1 -0
  2417. package/types/server/dev-jobs.d.ts +4 -0
  2418. package/types/server/dev-jobs.d.ts.map +1 -0
  2419. package/types/server/dev-not-found.d.ts +9 -0
  2420. package/types/server/dev-not-found.d.ts.map +1 -0
  2421. package/types/server/dev-notes.d.ts +3 -0
  2422. package/types/server/dev-notes.d.ts.map +1 -0
  2423. package/types/server/dev-offered.d.ts +6 -0
  2424. package/types/server/dev-offered.d.ts.map +1 -0
  2425. package/types/server/dev-secret.d.ts +2 -0
  2426. package/types/server/dev-secret.d.ts.map +1 -0
  2427. package/types/server/dev-sizes.d.ts +18 -0
  2428. package/types/server/dev-sizes.d.ts.map +1 -0
  2429. package/types/server/dev-sqlite-worker.d.ts +22 -0
  2430. package/types/server/dev-sqlite-worker.d.ts.map +1 -0
  2431. package/types/server/dev-ui.d.ts +3 -0
  2432. package/types/server/dev-ui.d.ts.map +1 -0
  2433. package/types/server/dev.d.ts +158 -0
  2434. package/types/server/dev.d.ts.map +1 -0
  2435. package/types/server/dictionary.d.ts +28 -0
  2436. package/types/server/dictionary.d.ts.map +1 -0
  2437. package/types/server/drain.d.ts +5 -0
  2438. package/types/server/drain.d.ts.map +1 -0
  2439. package/types/server/editor.d.ts +2 -0
  2440. package/types/server/editor.d.ts.map +1 -0
  2441. package/types/server/endpoint-claims.d.ts +4 -0
  2442. package/types/server/endpoint-claims.d.ts.map +1 -0
  2443. package/types/server/endpoint-verbs.d.ts +11 -0
  2444. package/types/server/endpoint-verbs.d.ts.map +1 -0
  2445. package/types/server/endpoints.d.ts +12 -0
  2446. package/types/server/endpoints.d.ts.map +1 -0
  2447. package/types/server/entry-drafts.d.ts +15 -0
  2448. package/types/server/entry-drafts.d.ts.map +1 -0
  2449. package/types/server/entry-head.d.ts +5 -0
  2450. package/types/server/entry-head.d.ts.map +1 -0
  2451. package/types/server/entry-urls.d.ts +6 -0
  2452. package/types/server/entry-urls.d.ts.map +1 -0
  2453. package/types/server/env-state.d.ts +22 -0
  2454. package/types/server/env-state.d.ts.map +1 -0
  2455. package/types/server/env.d.ts +22 -0
  2456. package/types/server/env.d.ts.map +1 -0
  2457. package/types/server/error-maps.d.ts +3 -0
  2458. package/types/server/error-maps.d.ts.map +1 -0
  2459. package/types/server/errors.d.ts +13 -0
  2460. package/types/server/errors.d.ts.map +1 -0
  2461. package/types/server/event-stream.d.ts +22 -0
  2462. package/types/server/event-stream.d.ts.map +1 -0
  2463. package/types/server/face.d.ts +16 -0
  2464. package/types/server/face.d.ts.map +1 -0
  2465. package/types/server/favicon.d.ts +60 -0
  2466. package/types/server/favicon.d.ts.map +1 -0
  2467. package/types/server/fetch-public.d.ts +12 -0
  2468. package/types/server/fetch-public.d.ts.map +1 -0
  2469. package/types/server/field-errors.d.ts +6 -0
  2470. package/types/server/field-errors.d.ts.map +1 -0
  2471. package/types/server/file-limit.d.ts +3 -0
  2472. package/types/server/file-limit.d.ts.map +1 -0
  2473. package/types/server/file-type.d.ts +4 -0
  2474. package/types/server/file-type.d.ts.map +1 -0
  2475. package/types/server/flash.d.ts +24 -0
  2476. package/types/server/flash.d.ts.map +1 -0
  2477. package/types/server/font-metrics.d.ts +22 -0
  2478. package/types/server/font-metrics.d.ts.map +1 -0
  2479. package/types/server/fonts.d.ts +26 -0
  2480. package/types/server/fonts.d.ts.map +1 -0
  2481. package/types/server/forms.d.ts +3 -0
  2482. package/types/server/forms.d.ts.map +1 -0
  2483. package/types/server/guard-requirement.d.ts +8 -0
  2484. package/types/server/guard-requirement.d.ts.map +1 -0
  2485. package/types/server/guard-runs.d.ts +5 -0
  2486. package/types/server/guard-runs.d.ts.map +1 -0
  2487. package/types/server/guards.d.ts +24 -0
  2488. package/types/server/guards.d.ts.map +1 -0
  2489. package/types/server/handler-timing.d.ts +2 -0
  2490. package/types/server/handler-timing.d.ts.map +1 -0
  2491. package/types/server/history.d.ts +2 -0
  2492. package/types/server/history.d.ts.map +1 -0
  2493. package/types/server/hooks.d.ts +28 -0
  2494. package/types/server/hooks.d.ts.map +1 -0
  2495. package/types/server/host-allowlist.d.ts +11 -0
  2496. package/types/server/host-allowlist.d.ts.map +1 -0
  2497. package/types/server/hydration.d.ts +3 -0
  2498. package/types/server/hydration.d.ts.map +1 -0
  2499. package/types/server/i18n.d.ts +70 -0
  2500. package/types/server/i18n.d.ts.map +1 -0
  2501. package/types/server/image-color.d.ts +5 -0
  2502. package/types/server/image-color.d.ts.map +1 -0
  2503. package/types/server/image-format.d.ts +18 -0
  2504. package/types/server/image-format.d.ts.map +1 -0
  2505. package/types/server/image-limits.d.ts +17 -0
  2506. package/types/server/image-limits.d.ts.map +1 -0
  2507. package/types/server/image-metadata-bmff.d.ts +3 -0
  2508. package/types/server/image-metadata-bmff.d.ts.map +1 -0
  2509. package/types/server/image-metadata.d.ts +3 -0
  2510. package/types/server/image-metadata.d.ts.map +1 -0
  2511. package/types/server/image.d.ts +98 -0
  2512. package/types/server/image.d.ts.map +1 -0
  2513. package/types/server/index.d.ts +82 -0
  2514. package/types/server/index.d.ts.map +1 -0
  2515. package/types/server/internal.d.ts +8 -0
  2516. package/types/server/internal.d.ts.map +1 -0
  2517. package/types/server/job-admin.d.ts +36 -0
  2518. package/types/server/job-admin.d.ts.map +1 -0
  2519. package/types/server/job-status.d.ts +3 -0
  2520. package/types/server/job-status.d.ts.map +1 -0
  2521. package/types/server/job-steps.d.ts +2 -0
  2522. package/types/server/job-steps.d.ts.map +1 -0
  2523. package/types/server/jobs-page.d.ts +12 -0
  2524. package/types/server/jobs-page.d.ts.map +1 -0
  2525. package/types/server/jobs.d.ts +64 -0
  2526. package/types/server/jobs.d.ts.map +1 -0
  2527. package/types/server/kept-exports.d.ts +5 -0
  2528. package/types/server/kept-exports.d.ts.map +1 -0
  2529. package/types/server/kept-pages.d.ts +9 -0
  2530. package/types/server/kept-pages.d.ts.map +1 -0
  2531. package/types/server/kept-source.d.ts +48 -0
  2532. package/types/server/kept-source.d.ts.map +1 -0
  2533. package/types/server/kv.d.ts +17 -0
  2534. package/types/server/kv.d.ts.map +1 -0
  2535. package/types/server/lazy-guard.d.ts +10 -0
  2536. package/types/server/lazy-guard.d.ts.map +1 -0
  2537. package/types/server/library.d.ts +109 -0
  2538. package/types/server/library.d.ts.map +1 -0
  2539. package/types/server/lifecycle.d.ts +18 -0
  2540. package/types/server/lifecycle.d.ts.map +1 -0
  2541. package/types/server/limit.d.ts +6 -0
  2542. package/types/server/limit.d.ts.map +1 -0
  2543. package/types/server/link-schemes.d.ts +3 -0
  2544. package/types/server/link-schemes.d.ts.map +1 -0
  2545. package/types/server/links.d.ts +4 -0
  2546. package/types/server/links.d.ts.map +1 -0
  2547. package/types/server/literal-writes.d.ts +43 -0
  2548. package/types/server/literal-writes.d.ts.map +1 -0
  2549. package/types/server/live.d.ts +34 -0
  2550. package/types/server/live.d.ts.map +1 -0
  2551. package/types/server/load-budget.d.ts +4 -0
  2552. package/types/server/load-budget.d.ts.map +1 -0
  2553. package/types/server/loader.d.ts +5 -0
  2554. package/types/server/loader.d.ts.map +1 -0
  2555. package/types/server/loading-page.d.ts +6 -0
  2556. package/types/server/loading-page.d.ts.map +1 -0
  2557. package/types/server/local-files.d.ts +4 -0
  2558. package/types/server/local-files.d.ts.map +1 -0
  2559. package/types/server/log.d.ts +51 -0
  2560. package/types/server/log.d.ts.map +1 -0
  2561. package/types/server/maintenance.d.ts +24 -0
  2562. package/types/server/maintenance.d.ts.map +1 -0
  2563. package/types/server/mcp-key.d.ts +12 -0
  2564. package/types/server/mcp-key.d.ts.map +1 -0
  2565. package/types/server/mcp.d.ts +58 -0
  2566. package/types/server/mcp.d.ts.map +1 -0
  2567. package/types/server/memory-jobs.d.ts +3 -0
  2568. package/types/server/memory-jobs.d.ts.map +1 -0
  2569. package/types/server/memory-mark.d.ts +3 -0
  2570. package/types/server/memory-mark.d.ts.map +1 -0
  2571. package/types/server/message-drafts.d.ts +13 -0
  2572. package/types/server/message-drafts.d.ts.map +1 -0
  2573. package/types/server/metrics.d.ts +14 -0
  2574. package/types/server/metrics.d.ts.map +1 -0
  2575. package/types/server/missing-hits.d.ts +16 -0
  2576. package/types/server/missing-hits.d.ts.map +1 -0
  2577. package/types/server/module-state.d.ts +9 -0
  2578. package/types/server/module-state.d.ts.map +1 -0
  2579. package/types/server/new-tab.d.ts +4 -0
  2580. package/types/server/new-tab.d.ts.map +1 -0
  2581. package/types/server/not-found-config.d.ts +5 -0
  2582. package/types/server/not-found-config.d.ts.map +1 -0
  2583. package/types/server/not-found.d.ts +79 -0
  2584. package/types/server/not-found.d.ts.map +1 -0
  2585. package/types/server/notifications.d.ts +55 -0
  2586. package/types/server/notifications.d.ts.map +1 -0
  2587. package/types/server/offline.d.ts +22 -0
  2588. package/types/server/offline.d.ts.map +1 -0
  2589. package/types/server/openapi.d.ts +84 -0
  2590. package/types/server/openapi.d.ts.map +1 -0
  2591. package/types/server/option-keys.d.ts +2 -0
  2592. package/types/server/option-keys.d.ts.map +1 -0
  2593. package/types/server/overlay.d.ts +12 -0
  2594. package/types/server/overlay.d.ts.map +1 -0
  2595. package/types/server/own-headers.d.ts +21 -0
  2596. package/types/server/own-headers.d.ts.map +1 -0
  2597. package/types/server/page-error.d.ts +7 -0
  2598. package/types/server/page-error.d.ts.map +1 -0
  2599. package/types/server/page-flags.d.ts +5 -0
  2600. package/types/server/page-flags.d.ts.map +1 -0
  2601. package/types/server/page-headers.d.ts +6 -0
  2602. package/types/server/page-headers.d.ts.map +1 -0
  2603. package/types/server/page-hook.d.ts +32 -0
  2604. package/types/server/page-hook.d.ts.map +1 -0
  2605. package/types/server/page-limits.d.ts +26 -0
  2606. package/types/server/page-limits.d.ts.map +1 -0
  2607. package/types/server/page-reads.d.ts +6 -0
  2608. package/types/server/page-reads.d.ts.map +1 -0
  2609. package/types/server/page-routes.d.ts +48 -0
  2610. package/types/server/page-routes.d.ts.map +1 -0
  2611. package/types/server/page-settings.d.ts +13 -0
  2612. package/types/server/page-settings.d.ts.map +1 -0
  2613. package/types/server/params.d.ts +20 -0
  2614. package/types/server/params.d.ts.map +1 -0
  2615. package/types/server/parent.d.ts +5 -0
  2616. package/types/server/parent.d.ts.map +1 -0
  2617. package/types/server/personal-data.d.ts +13 -0
  2618. package/types/server/personal-data.d.ts.map +1 -0
  2619. package/types/server/pg-cache.d.ts +4 -0
  2620. package/types/server/pg-cache.d.ts.map +1 -0
  2621. package/types/server/pg-data.d.ts +30 -0
  2622. package/types/server/pg-data.d.ts.map +1 -0
  2623. package/types/server/pg-jobs.d.ts +31 -0
  2624. package/types/server/pg-jobs.d.ts.map +1 -0
  2625. package/types/server/pg-limit.d.ts +10 -0
  2626. package/types/server/pg-limit.d.ts.map +1 -0
  2627. package/types/server/pg-live.d.ts +4 -0
  2628. package/types/server/pg-live.d.ts.map +1 -0
  2629. package/types/server/pg-not-found.d.ts +30 -0
  2630. package/types/server/pg-not-found.d.ts.map +1 -0
  2631. package/types/server/pg-notify.d.ts +9 -0
  2632. package/types/server/pg-notify.d.ts.map +1 -0
  2633. package/types/server/pg-orm.d.ts +32 -0
  2634. package/types/server/pg-orm.d.ts.map +1 -0
  2635. package/types/server/pg-poll.d.ts +41 -0
  2636. package/types/server/pg-poll.d.ts.map +1 -0
  2637. package/types/server/pg-redirects.d.ts +4 -0
  2638. package/types/server/pg-redirects.d.ts.map +1 -0
  2639. package/types/server/pg-rooms.d.ts +7 -0
  2640. package/types/server/pg-rooms.d.ts.map +1 -0
  2641. package/types/server/pg-sql.d.ts +6 -0
  2642. package/types/server/pg-sql.d.ts.map +1 -0
  2643. package/types/server/pg-stores.d.ts +14 -0
  2644. package/types/server/pg-stores.d.ts.map +1 -0
  2645. package/types/server/plugin.d.ts +32 -0
  2646. package/types/server/plugin.d.ts.map +1 -0
  2647. package/types/server/plumbing.d.ts +20 -0
  2648. package/types/server/plumbing.d.ts.map +1 -0
  2649. package/types/server/png.d.ts +9 -0
  2650. package/types/server/png.d.ts.map +1 -0
  2651. package/types/server/prebuilt-loader.d.ts +2 -0
  2652. package/types/server/prebuilt-loader.d.ts.map +1 -0
  2653. package/types/server/prerender.d.ts +34 -0
  2654. package/types/server/prerender.d.ts.map +1 -0
  2655. package/types/server/prerendered.d.ts +19 -0
  2656. package/types/server/prerendered.d.ts.map +1 -0
  2657. package/types/server/presence.d.ts +10 -0
  2658. package/types/server/presence.d.ts.map +1 -0
  2659. package/types/server/preview.d.ts +55 -0
  2660. package/types/server/preview.d.ts.map +1 -0
  2661. package/types/server/private-dir.d.ts +7 -0
  2662. package/types/server/private-dir.d.ts.map +1 -0
  2663. package/types/server/protection.d.ts +95 -0
  2664. package/types/server/protection.d.ts.map +1 -0
  2665. package/types/server/proxy-key.d.ts +14 -0
  2666. package/types/server/proxy-key.d.ts.map +1 -0
  2667. package/types/server/public-suffix.d.ts +2 -0
  2668. package/types/server/public-suffix.d.ts.map +1 -0
  2669. package/types/server/public-suffixes.d.ts +3 -0
  2670. package/types/server/public-suffixes.d.ts.map +1 -0
  2671. package/types/server/public.d.ts +23 -0
  2672. package/types/server/public.d.ts.map +1 -0
  2673. package/types/server/publishing.d.ts +13 -0
  2674. package/types/server/publishing.d.ts.map +1 -0
  2675. package/types/server/pure-page.d.ts +21 -0
  2676. package/types/server/pure-page.d.ts.map +1 -0
  2677. package/types/server/push-crypto.d.ts +21 -0
  2678. package/types/server/push-crypto.d.ts.map +1 -0
  2679. package/types/server/push-keys-command.d.ts +4 -0
  2680. package/types/server/push-keys-command.d.ts.map +1 -0
  2681. package/types/server/push-server.d.ts +4 -0
  2682. package/types/server/push-server.d.ts.map +1 -0
  2683. package/types/server/push-settings.d.ts +18 -0
  2684. package/types/server/push-settings.d.ts.map +1 -0
  2685. package/types/server/push-store.d.ts +19 -0
  2686. package/types/server/push-store.d.ts.map +1 -0
  2687. package/types/server/push.d.ts +48 -0
  2688. package/types/server/push.d.ts.map +1 -0
  2689. package/types/server/query.d.ts +14 -0
  2690. package/types/server/query.d.ts.map +1 -0
  2691. package/types/server/queue-live.d.ts +20 -0
  2692. package/types/server/queue-live.d.ts.map +1 -0
  2693. package/types/server/queue-scheduler.d.ts +31 -0
  2694. package/types/server/queue-scheduler.d.ts.map +1 -0
  2695. package/types/server/queue-telling.d.ts +3 -0
  2696. package/types/server/queue-telling.d.ts.map +1 -0
  2697. package/types/server/queue.d.ts +166 -0
  2698. package/types/server/queue.d.ts.map +1 -0
  2699. package/types/server/raster.d.ts +14 -0
  2700. package/types/server/raster.d.ts.map +1 -0
  2701. package/types/server/rate-limit.d.ts +9 -0
  2702. package/types/server/rate-limit.d.ts.map +1 -0
  2703. package/types/server/rate-refusal.d.ts +4 -0
  2704. package/types/server/rate-refusal.d.ts.map +1 -0
  2705. package/types/server/reach-walk.d.ts +4 -0
  2706. package/types/server/reach-walk.d.ts.map +1 -0
  2707. package/types/server/reach.d.ts +11 -0
  2708. package/types/server/reach.d.ts.map +1 -0
  2709. package/types/server/redirect-spelling.d.ts +5 -0
  2710. package/types/server/redirect-spelling.d.ts.map +1 -0
  2711. package/types/server/redirects.d.ts +27 -0
  2712. package/types/server/redirects.d.ts.map +1 -0
  2713. package/types/server/reload.d.ts +4 -0
  2714. package/types/server/reload.d.ts.map +1 -0
  2715. package/types/server/remote.d.ts +24 -0
  2716. package/types/server/remote.d.ts.map +1 -0
  2717. package/types/server/render-document.d.ts +21 -0
  2718. package/types/server/render-document.d.ts.map +1 -0
  2719. package/types/server/render.d.ts +117 -0
  2720. package/types/server/render.d.ts.map +1 -0
  2721. package/types/server/report.d.ts +7 -0
  2722. package/types/server/report.d.ts.map +1 -0
  2723. package/types/server/request-read.d.ts +15 -0
  2724. package/types/server/request-read.d.ts.map +1 -0
  2725. package/types/server/request-record.d.ts +75 -0
  2726. package/types/server/request-record.d.ts.map +1 -0
  2727. package/types/server/request-scope.d.ts +7 -0
  2728. package/types/server/request-scope.d.ts.map +1 -0
  2729. package/types/server/request-timeout.d.ts +31 -0
  2730. package/types/server/request-timeout.d.ts.map +1 -0
  2731. package/types/server/request-url.d.ts +4 -0
  2732. package/types/server/request-url.d.ts.map +1 -0
  2733. package/types/server/request-user.d.ts +4 -0
  2734. package/types/server/request-user.d.ts.map +1 -0
  2735. package/types/server/resources.d.ts +12 -0
  2736. package/types/server/resources.d.ts.map +1 -0
  2737. package/types/server/response-mismatch.d.ts +3 -0
  2738. package/types/server/response-mismatch.d.ts.map +1 -0
  2739. package/types/server/revalidate.d.ts +3 -0
  2740. package/types/server/revalidate.d.ts.map +1 -0
  2741. package/types/server/rewrite.d.ts +13 -0
  2742. package/types/server/rewrite.d.ts.map +1 -0
  2743. package/types/server/rooms.d.ts +57 -0
  2744. package/types/server/rooms.d.ts.map +1 -0
  2745. package/types/server/route-table.d.ts +26 -0
  2746. package/types/server/route-table.d.ts.map +1 -0
  2747. package/types/server/routes.d.ts +106 -0
  2748. package/types/server/routes.d.ts.map +1 -0
  2749. package/types/server/runtime-redirect-api.d.ts +35 -0
  2750. package/types/server/runtime-redirect-api.d.ts.map +1 -0
  2751. package/types/server/runtime-redirects.d.ts +74 -0
  2752. package/types/server/runtime-redirects.d.ts.map +1 -0
  2753. package/types/server/safe-path.d.ts +2 -0
  2754. package/types/server/safe-path.d.ts.map +1 -0
  2755. package/types/server/save-data.d.ts +10 -0
  2756. package/types/server/save-data.d.ts.map +1 -0
  2757. package/types/server/schema-answer.d.ts +12 -0
  2758. package/types/server/schema-answer.d.ts.map +1 -0
  2759. package/types/server/schema-check.d.ts +12 -0
  2760. package/types/server/schema-check.d.ts.map +1 -0
  2761. package/types/server/scope.d.ts +12 -0
  2762. package/types/server/scope.d.ts.map +1 -0
  2763. package/types/server/seal.d.ts +11 -0
  2764. package/types/server/seal.d.ts.map +1 -0
  2765. package/types/server/security.d.ts +20 -0
  2766. package/types/server/security.d.ts.map +1 -0
  2767. package/types/server/seo.d.ts +15 -0
  2768. package/types/server/seo.d.ts.map +1 -0
  2769. package/types/server/served-paths.d.ts +26 -0
  2770. package/types/server/served-paths.d.ts.map +1 -0
  2771. package/types/server/server-islands.d.ts +28 -0
  2772. package/types/server/server-islands.d.ts.map +1 -0
  2773. package/types/server/server-record.d.ts +23 -0
  2774. package/types/server/server-record.d.ts.map +1 -0
  2775. package/types/server/serving.d.ts +5 -0
  2776. package/types/server/serving.d.ts.map +1 -0
  2777. package/types/server/session.d.ts +110 -0
  2778. package/types/server/session.d.ts.map +1 -0
  2779. package/types/server/setup.d.ts +49 -0
  2780. package/types/server/setup.d.ts.map +1 -0
  2781. package/types/server/sha256.d.ts +7 -0
  2782. package/types/server/sha256.d.ts.map +1 -0
  2783. package/types/server/signals.d.ts +17 -0
  2784. package/types/server/signals.d.ts.map +1 -0
  2785. package/types/server/signed.d.ts +9 -0
  2786. package/types/server/signed.d.ts.map +1 -0
  2787. package/types/server/site-facts.d.ts +8 -0
  2788. package/types/server/site-facts.d.ts.map +1 -0
  2789. package/types/server/site-paths.d.ts +3 -0
  2790. package/types/server/site-paths.d.ts.map +1 -0
  2791. package/types/server/sitemap.d.ts +35 -0
  2792. package/types/server/sitemap.d.ts.map +1 -0
  2793. package/types/server/snake-case.d.ts +2 -0
  2794. package/types/server/snake-case.d.ts.map +1 -0
  2795. package/types/server/source.d.ts +33 -0
  2796. package/types/server/source.d.ts.map +1 -0
  2797. package/types/server/speculation.d.ts +4 -0
  2798. package/types/server/speculation.d.ts.map +1 -0
  2799. package/types/server/sqlite-data.d.ts +14 -0
  2800. package/types/server/sqlite-data.d.ts.map +1 -0
  2801. package/types/server/sqlite-live.d.ts +3 -0
  2802. package/types/server/sqlite-live.d.ts.map +1 -0
  2803. package/types/server/stale-pages.d.ts +17 -0
  2804. package/types/server/stale-pages.d.ts.map +1 -0
  2805. package/types/server/stamp.d.ts +24 -0
  2806. package/types/server/stamp.d.ts.map +1 -0
  2807. package/types/server/storage.d.ts +70 -0
  2808. package/types/server/storage.d.ts.map +1 -0
  2809. package/types/server/stream.d.ts +26 -0
  2810. package/types/server/stream.d.ts.map +1 -0
  2811. package/types/server/string.d.ts +9 -0
  2812. package/types/server/string.d.ts.map +1 -0
  2813. package/types/server/svg-icon.d.ts +3 -0
  2814. package/types/server/svg-icon.d.ts.map +1 -0
  2815. package/types/server/swap.d.ts +3 -0
  2816. package/types/server/swap.d.ts.map +1 -0
  2817. package/types/server/tool-outputs.d.ts +12 -0
  2818. package/types/server/tool-outputs.d.ts.map +1 -0
  2819. package/types/server/tool-settings.d.ts +3 -0
  2820. package/types/server/tool-settings.d.ts.map +1 -0
  2821. package/types/server/trace-context.d.ts +17 -0
  2822. package/types/server/trace-context.d.ts.map +1 -0
  2823. package/types/server/trace.d.ts +33 -0
  2824. package/types/server/trace.d.ts.map +1 -0
  2825. package/types/server/translations.d.ts +8 -0
  2826. package/types/server/translations.d.ts.map +1 -0
  2827. package/types/server/typography.d.ts +3 -0
  2828. package/types/server/typography.d.ts.map +1 -0
  2829. package/types/server/uncaught.d.ts +9 -0
  2830. package/types/server/uncaught.d.ts.map +1 -0
  2831. package/types/server/unsafe-urls.d.ts +2 -0
  2832. package/types/server/unsafe-urls.d.ts.map +1 -0
  2833. package/types/server/violations.d.ts +18 -0
  2834. package/types/server/violations.d.ts.map +1 -0
  2835. package/types/server/visit.d.ts +11 -0
  2836. package/types/server/visit.d.ts.map +1 -0
  2837. package/types/server/vitals-routes/_guard.d.ts +3 -0
  2838. package/types/server/vitals-routes/_guard.d.ts.map +1 -0
  2839. package/types/server/vitals-screen.d.ts +5 -0
  2840. package/types/server/vitals-screen.d.ts.map +1 -0
  2841. package/types/server/vitals-script.d.ts +3 -0
  2842. package/types/server/vitals-script.d.ts.map +1 -0
  2843. package/types/server/vitals-server.d.ts +4 -0
  2844. package/types/server/vitals-server.d.ts.map +1 -0
  2845. package/types/server/vitals-store.d.ts +41 -0
  2846. package/types/server/vitals-store.d.ts.map +1 -0
  2847. package/types/server/vitals.d.ts +20 -0
  2848. package/types/server/vitals.d.ts.map +1 -0
  2849. package/types/server/web-socket.d.ts +11 -0
  2850. package/types/server/web-socket.d.ts.map +1 -0
  2851. package/types/server/wildcards.d.ts +3 -0
  2852. package/types/server/wildcards.d.ts.map +1 -0
  2853. package/types/server/words.d.ts +49 -0
  2854. package/types/server/words.d.ts.map +1 -0
  2855. package/types/server/work-scope.d.ts +14 -0
  2856. package/types/server/work-scope.d.ts.map +1 -0
  2857. package/types/server/work.d.ts +11 -0
  2858. package/types/server/work.d.ts.map +1 -0
  2859. package/types/server/workers.d.ts +23 -0
  2860. package/types/server/workers.d.ts.map +1 -0
  2861. package/types/server/workflow.d.ts +93 -0
  2862. package/types/server/workflow.d.ts.map +1 -0
  2863. package/types/server/writes.d.ts +4 -0
  2864. package/types/server/writes.d.ts.map +1 -0
  2865. package/types/server/ws-limits.d.ts +34 -0
  2866. package/types/server/ws-limits.d.ts.map +1 -0
  2867. package/types/svg-attributes.d.ts +2 -0
  2868. package/types/svg-attributes.d.ts.map +1 -0
  2869. package/types/template-auth.d.ts +4 -0
  2870. package/types/template-auth.d.ts.map +1 -0
  2871. package/types/template-ci.d.ts +4 -0
  2872. package/types/template-ci.d.ts.map +1 -0
  2873. package/types/template-config.d.ts +4 -0
  2874. package/types/template-config.d.ts.map +1 -0
  2875. package/types/template-docker.d.ts +6 -0
  2876. package/types/template-docker.d.ts.map +1 -0
  2877. package/types/template-pins.d.ts +11 -0
  2878. package/types/template-pins.d.ts.map +1 -0
  2879. package/types/template-shared.d.ts +28 -0
  2880. package/types/template-shared.d.ts.map +1 -0
  2881. package/types/template-starter.d.ts +7 -0
  2882. package/types/template-starter.d.ts.map +1 -0
  2883. package/types/template-styles.d.ts +10 -0
  2884. package/types/template-styles.d.ts.map +1 -0
  2885. package/types/template-ws.d.ts +4 -0
  2886. package/types/template-ws.d.ts.map +1 -0
  2887. package/types/templates.d.ts +11 -0
  2888. package/types/templates.d.ts.map +1 -0
  2889. package/types/test/browser.d.ts +17 -0
  2890. package/types/test/browser.d.ts.map +1 -0
  2891. package/types/test/clock.d.ts +2 -0
  2892. package/types/test/clock.d.ts.map +1 -0
  2893. package/types/test/content.d.ts +20 -0
  2894. package/types/test/content.d.ts.map +1 -0
  2895. package/types/test/cookies.d.ts +9 -0
  2896. package/types/test/cookies.d.ts.map +1 -0
  2897. package/types/test/database.d.ts +2 -0
  2898. package/types/test/database.d.ts.map +1 -0
  2899. package/types/test/dom.d.ts +2 -0
  2900. package/types/test/dom.d.ts.map +1 -0
  2901. package/types/test/env.d.ts +2 -0
  2902. package/types/test/env.d.ts.map +1 -0
  2903. package/types/test/index.d.ts +24 -0
  2904. package/types/test/index.d.ts.map +1 -0
  2905. package/types/test/interact.d.ts +7 -0
  2906. package/types/test/interact.d.ts.map +1 -0
  2907. package/types/test/isolation.d.ts +2 -0
  2908. package/types/test/isolation.d.ts.map +1 -0
  2909. package/types/test/lazy-plugins.d.ts +8 -0
  2910. package/types/test/lazy-plugins.d.ts.map +1 -0
  2911. package/types/test/mount.d.ts +16 -0
  2912. package/types/test/mount.d.ts.map +1 -0
  2913. package/types/test/natives.d.ts +26 -0
  2914. package/types/test/natives.d.ts.map +1 -0
  2915. package/types/test/network.d.ts +62 -0
  2916. package/types/test/network.d.ts.map +1 -0
  2917. package/types/test/outputs.d.ts +5 -0
  2918. package/types/test/outputs.d.ts.map +1 -0
  2919. package/types/test/override-env.d.ts +9 -0
  2920. package/types/test/override-env.d.ts.map +1 -0
  2921. package/types/test/page-types.d.ts +108 -0
  2922. package/types/test/page-types.d.ts.map +1 -0
  2923. package/types/test/page.d.ts +19 -0
  2924. package/types/test/page.d.ts.map +1 -0
  2925. package/types/test/preload.d.ts +5 -0
  2926. package/types/test/preload.d.ts.map +1 -0
  2927. package/types/test/reset.d.ts +2 -0
  2928. package/types/test/reset.d.ts.map +1 -0
  2929. package/types/test/root.d.ts +2 -0
  2930. package/types/test/root.d.ts.map +1 -0
  2931. package/types/test/scratch.d.ts +2 -0
  2932. package/types/test/scratch.d.ts.map +1 -0
  2933. package/types/test/service.d.ts +23 -0
  2934. package/types/test/service.d.ts.map +1 -0
  2935. package/types/test/shared-modules.d.ts +3 -0
  2936. package/types/test/shared-modules.d.ts.map +1 -0
  2937. package/types/test/site-actions.d.ts +8 -0
  2938. package/types/test/site-actions.d.ts.map +1 -0
  2939. package/types/test/site-api.d.ts +4 -0
  2940. package/types/test/site-api.d.ts.map +1 -0
  2941. package/types/test/site-mcp.d.ts +4 -0
  2942. package/types/test/site-mcp.d.ts.map +1 -0
  2943. package/types/test/site-scope.d.ts +21 -0
  2944. package/types/test/site-scope.d.ts.map +1 -0
  2945. package/types/test/site-socket.d.ts +4 -0
  2946. package/types/test/site-socket.d.ts.map +1 -0
  2947. package/types/test/site-types.d.ts +123 -0
  2948. package/types/test/site-types.d.ts.map +1 -0
  2949. package/types/test/sites.d.ts +4 -0
  2950. package/types/test/sites.d.ts.map +1 -0
  2951. package/types/test/timeout.d.ts +2 -0
  2952. package/types/test/timeout.d.ts.map +1 -0
  2953. package/types/test/wait.d.ts +7 -0
  2954. package/types/test/wait.d.ts.map +1 -0
  2955. package/types/test/writable.d.ts +2 -0
  2956. package/types/test/writable.d.ts.map +1 -0
  2957. package/types/tsgo.d.ts +3 -0
  2958. package/types/tsgo.d.ts.map +1 -0
@@ -0,0 +1,166 @@
1
+ # Privacy and personal data
2
+
3
+ What kay keeps about visitors, where and for how long, and what an app calls to erase a person who asks, as the GDPR has it.
4
+
5
+ kay sets no cookie and stores nothing of a visitor until the app uses a feature that does, and none of what it keeps tracks a visitor across sites; the Reference lists each cookie, each storage key and what the server keeps, for the app to decide what its notice and consent need. Counting visits and Web Vitals is in [Analytics and Web Vitals](analytics.md).
6
+
7
+ ## Common tasks
8
+
9
+ ### Erase a person on request
10
+
11
+ Delete the app's own rows first, then the sessions and jobs kay keeps for them and the files they uploaded:
12
+
13
+ ```ts
14
+ import { files, notifications, queue, sqliteSessions } from 'kay/server'
15
+ import { db } from './db'
16
+ import { sendMail } from './mail'
17
+
18
+ // The file `store: sqliteData('data/app.sqlite')` names in kay.config.ts: sqliteSessions of it is the store its sessions are in.
19
+ export const sessions = sqliteSessions('data/app.sqlite')
20
+ export const mail = queue('mail', async (job: { userId: string, to: string, text: string }) => sendMail(job))
21
+
22
+ export async function erase(userId: string) {
23
+ const user = await db.users.delete(userId)
24
+
25
+ if (user.avatar !== undefined)
26
+ await files.delete(user.avatar)
27
+
28
+ await sessions.deleteWhere({ userId })
29
+ await mail.remove(job => job.userId === userId)
30
+ await notifications.erase(userId)
31
+ }
32
+ ```
33
+
34
+ A site with a kayjs-mail mailing list also calls `await mail.erase(email)`: it takes the address off every list and removes the queued mails. With kayjs-auth, `account.delete` and `admin.deleteUser` already call `notifications.erase` and `mail.erase` (for a verified address), and `exportData` lists both, so an app erasing through them adds neither. A library keeping a person's data registers it with `personalData.register({ name, erase, export })` from `kay/server`: `account.delete`, `admin.deleteUser` and `account.export` (as `libraries`) reach it, and `await personalData.erase(userId)` does outside kayjs-auth. kayjs-ai registers its conversations this way.
35
+
36
+ ### Load a script only once the visitor agreed
37
+
38
+ For a script that needs the visitor's browser, such as a tracker that sets cookies, an island keeps the answer in a persisted signal, loads the script once it is yes, and keeps a button that asks again, where refusing withdraws an earlier yes:
39
+
40
+ ```kay
41
+ ---
42
+ import { persisted, effect } from 'kay'
43
+
44
+ const consent = persisted('consent', '')
45
+
46
+ effect(() => {
47
+ if (consent() === 'yes')
48
+ document.head.append(Object.assign(document.createElement('script'), { src: '/stats.js', defer: true }))
49
+ })
50
+
51
+ // Refusing after agreeing clears what the script stored and reloads, so it no longer runs.
52
+ function withdraw() {
53
+ const agreed = consent() === 'yes'
54
+
55
+ consent = 'no'
56
+
57
+ if (agreed) {
58
+ document.cookie = '_stats=; max-age=0; path=/'
59
+ location.reload()
60
+ }
61
+ }
62
+ ---
63
+ if consent() === ''
64
+ aside(aria-label="Visit statistics")
65
+ p We count visits only if you agree.
66
+ button(onClick={() => consent = 'yes'}) Agree
67
+ button(onClick={() => withdraw()}) Refuse
68
+ else
69
+ button(onClick={() => consent = ''}) Visit statistics: change my choice
70
+ ```
71
+
72
+ ### Keep failed jobs for less time
73
+
74
+ A failed job keeps its payload, an address say, 30 days from when its last attempt was due; `failedTtl` shortens it and `redact` keeps less of it (kayjs-mail's queue does both by default):
75
+
76
+ ```ts
77
+ import { queue } from 'kay/server'
78
+ import { sendMail } from './mail'
79
+
80
+ export const mail = queue('mail', sendMail, { failedTtl: '7d', redact: ({ to }) => ({ to, body: '' }) })
81
+ ```
82
+
83
+ ### Keep a photo's metadata
84
+
85
+ `files.put` drops what a camera writes in a JPEG, PNG or WebP, such as where the photo was taken; `keepMetadata` stores it as it came:
86
+
87
+ ```ts
88
+ import { files } from 'kay/server'
89
+
90
+ export async function archive(scan: File) {
91
+ return files.put(scan, { keepMetadata: true, private: true })
92
+ }
93
+ ```
94
+
95
+ ## Reference
96
+
97
+ ### Cookies
98
+
99
+ - A cookie the app sets with `ctx.cookies.set` is `HttpOnly`, `SameSite=Lax`, `Secure` over https and `Path` the `base` unless the call says otherwise; `security: { cookies: false }` in kay.config.ts leaves Bun's plain defaults: [cookie defaults](server.md#sessions).
100
+ - `kay_session` (`__Host-kay_session` over https): the session's sealed data or id, set once the app writes to a session; necessary, `maxAge` unused, `'30d'` by default, never past `absoluteMaxAge`, `'90d'`.
101
+ - `kay_flash`: the message an action's redirect shows on the next page, read once, by the page it goes back to alone (a request for another page, such as a prefetch, leaves it); necessary, 60 seconds. Over https `__Host-kay_flash`, and `__Secure-kay_flash` under a `base`; `kay_locale` and `kay_preview` go by the same rule.
102
+ - `kay_locale`: the locale a visitor picked, on a site with locales; necessary, a year. Named `kay-locale` before 1.52, which is still read.
103
+ - Under a `base`, `kay_flash` and `kay_locale` are set for that path alone, as `kay_preview` is.
104
+ - `kay_analytics`: the visitor's answer to the notice `analytics({ consent })` shows or to the information line of a counter that asks no one, `yes` or `no` (`no` is the opt-out); necessary to remember the choice, 180 days by default (`consent.maxAge`).
105
+ - `kay_preview`: preview mode for an editor, set only by `enterPreview`; necessary, `preview.maxAge`, an hour by default.
106
+ - `kay_preview_admitted`: set beside an edit-mode `kay_preview` once the cms guard admitted its holder, so presence shows editor names without asking the guard again; necessary, same lifetime and prefix rule as `kay_preview`.
107
+ - `kay_user` (kayjs-auth, also read by kayjs-cms): a random value, readable by scripts, set while a person is signed in so a library's script asks the server only for a browser that may get an answer; necessary, for the sign-in's `maxAge` or the browser session, ended at sign-out.
108
+ - `kay_editor` (kayjs-cms): marks the browser as an editor's, readable by scripts, so the Edit this page link looks for an answer; necessary, 90 days slid forward each time the guard lets the editor through, ended at sign-out.
109
+ - `kay_editor_who` (kayjs-cms): a digest naming which editor is signed in, readable by scripts, so the on-page editor keeps its drafts per person; necessary, 90 days, set when the guard lets the editor through, ended at sign-out.
110
+ - `kay_editor_session` (kayjs-cms `passwordGuard`): the password sign-in, `<role>.<expires>.<signature>`, `httpOnly`; necessary, `maxAge`, `'14d'` by default.
111
+ - `ksteps_<name>` (kayjs-ui `stepDraft`): the values of a multi-step form between its steps, `httpOnly`, up to 3,800 encoded bytes, what a visitor typed in; necessary for the form they are filling in, `maxAge` (a duration), an hour by default, ended by `clear()`.
112
+ - `theme` (kayjs-ui `ThemeToggle`, `themeMode`, `scheme`, or the name given to their `cookie`): `system`, `light` or `dark`, readable by scripts so the server renders the scheme the visitor picked; a preference, so necessary, a year.
113
+ - `kay_push_device` (`push()`): a hash naming the push subscription this browser made, `httpOnly`, set when it subscribes, so sign-out drops that device alone; necessary, a year.
114
+ - `kay_local_clear` (`local()`): a random value at sign-out, or at sign-in a hash of the person's id (kayjs-auth, or `forgetLocalMirrors(request, person)`), readable by scripts, derived from the app's secret; the next page using a collection empties the browser's mirror and queue when it changed, which another person's sign-in does and a sign-in again by the same person does not, so after a session expires the mirror stays readable on that browser until the next sign-in; necessary, a year, names no one.
115
+ - Each `persisted(name, ...)` signal keeps its value in a cookie of that name for a year, or its `maxAge`, or in `localStorage` (`persisted.local()`) or `sessionStorage` (`persisted.session()`, dropped when the tab closes); what it holds is the app's choice, so a preference is necessary and anything else waits for consent.
116
+
117
+ ### Browser storage
118
+
119
+ - IndexedDB `kay-local` (`local()`): the rows of each collection as the person sees them, the writes not yet sent and the refusals to show; the app's data, so as personal as the rows are; necessary for the feature the app offers, until the rows are removed, `clear()` runs or the sign-out cookie changes.
120
+ - `sessionStorage` `kay:reloaded`: the time of the last reload kay made for a page of an older build, so it never reloads twice within a minute; necessary, the tab's life, nothing personal.
121
+ - `sessionStorage` `kay:editor-refused` (kayjs-cms): the sign-in value the editor check refused, so a signed-in visitor who is no editor costs one request per tab; necessary, the tab's life.
122
+ - `localStorage` `kcms:draft:<editor>:<entry>` (kayjs-cms): an editor's unsaved draft of an entry, whatever they typed, offered only to that editor; necessary for the editor who asked to keep it, a week, dropped once saved, and every one past its week is swept as the editor opens and hourly while it stays open, not only when read.
123
+ - `localStorage` `kcms-marks` (kayjs-cms): `on` or `off`, whether the editor's page outlines its marked fields; a preference, until the editor clears it.
124
+ - `localStorage` `kay:push-posted` (`push()`): the push endpoint the server last accepted from this browser, a URL naming its subscription, so a load can tell one the browser rotated; necessary for the notifications the visitor asked for, until they unsubscribe.
125
+ - `sessionStorage` `kay:push-refused` (`push()`): the endpoint a signed-out visitor was refused with, so a load does not post it again; necessary, the tab's life.
126
+ - `localStorage` under the name of a `persisted.local(name, ...)` signal, and `sessionStorage` under that of a `persisted.session(name, ...)` one, as the cookies above.
127
+ - `localStorage` `kcms:editor` (kayjs-cms): where the editor's panel sits and how big it is; a preference, until the editor clears it.
128
+ - `localStorage` `kcms:rebuilding` (kayjs-cms): the time of a save the site is still rebuilding for, so the notice shows in every tab; necessary, dropped when the rebuild ends.
129
+ - `sessionStorage` under the `remember` key of kayjs-ai's `Chat` and `ChatLauncher` (none unless named): the conversation's text, up to 200,000 characters, what the visitor wrote included; the tab's life, nothing without `remember`.
130
+ - `localStorage` `kai:chat-conversation:<action URL>` (kayjs-ai's `ChatLauncher` with `keepOnServer` or `conversations`, or a `Chat` with `conversationIn="browser"`): the id of the conversation shown, which reads nothing without the visitor's session; necessary, until a new conversation.
131
+ - `localStorage` under the `listWidthKey` of kayjs-ui's `SplitLayout` (none unless named): the list's width, a preference.
132
+ - With `offline`, the service worker and its Cache Storage `kay-w<version>`: the pages `offline.pages` names (the public prerendered ones by default) and the files, and the public pages and files it fetched later that answered 200 without `private` or `no-store`; each copy changes with the build and the cache stays until `offline` is turned off or the worker's version changes. A page of `offline.pages` that holds a visitor's render is kept as it was served, so list only public ones.
133
+
134
+ ### What the server keeps
135
+
136
+ - **Write answers**: the first answer to a write carrying an `x-kay-write` id (`local()`), rows included, for a week in `store.cache` or in the process's memory.
137
+ - A `live()` value is the app's own data, kept in `store.live` for every visitor (the app must not put a person in it), and a presence `member` is whatever the page's server fence gave, a name say, kept in `store.rooms` while the tab is open and about 10 seconds after a crash.
138
+ - Request logs carry the method, the path without its query string, the status, the duration and the request id: no address, no user agent, no cookie.
139
+ - `onError` gets `{ error, request }`, the request whole, or `undefined` for an error met outside one; an error tracker is sent its path and id, not `request.url`, whose query may hold an address or a token.
140
+ - Sessions with a store live in it until they expire or `destroy()`; `sqliteSessions` drops expired ones every hour and every 1000 writes, `memorySessions` every 1000 writes.
141
+ - `deleteWhere(match)` on `memorySessions()` and `sqliteSessions(path)` deletes every session whose data `match` accepts (an object of fields held equal, `{ userId }`, which the SQLite and Postgres stores narrow in the database, or a function, read 500 sessions at a time; an empty object throws), resolving with how many went; an app's own store may offer it too, and sessions kept in the cookie alone cannot be listed, only waited out or ended for everyone by replacing the secret.
142
+ - Rate limits count by address in memory, or in `sqliteRates(path)`, which stores each key pseudonymised as an HMAC keyed by [the app secret](environment.md#the-app-secret) once one is set, else by a random key kept in `<path>.key` beside the store (the server's user alone, shared by every process opening it), never in the store, so a copy of the store file alone cannot be checked against a guessed address; a backup of the whole folder holds both, so set a secret to keep the key off the disk; a window is dropped once it closed.
143
+ - A queue keeps a waiting job's payload until it runs and a failed one's for `failedTtl`, 30 days by default from when its last attempt was due, or for good with `false`.
144
+ - `queue.remove(id)` removes one job, and `queue.remove(match)` every waiting or failed job whose payload `match` returns true for, resolving with how many went; an app's own `JobStore` takes a function only when it has `jobs(queue)`.
145
+ - kayjs-mail keeps an address that bounced or complained, with the reason, where it was reported and when, in `kay_mail_suppressions` until `mail.unsuppress(address)` or `mail.erase(address)`, so a person's address is not mailed again; it is the record of that refusal, kept as long as the address could be mailed.
146
+ - kayjs-mail's mailing lists keep each subscriber's address, language, confirmation date and the proof of consent (the page of the form and the id of the notice it showed) in `data/mail-list.sqlite` until they unsubscribe or `mail.erase(address)` (which also removes the mails queued for it); an address nobody confirmed is dropped after 7 days, a broadcast and its deliveries (random ids, no address) 30 days after it finished.
147
+ - Notifications (`notify()`, [Notifications](notifications.md)) live 90 days, or the `ttl` given, in `store.notifications` (memory without a store), the newest 200 per user; `notifications.erase(userId)` deletes a person's, and the devices they subscribed to push in `store.push` (`push()`, [Notifications](notifications.md#push-to-a-persons-devices)), kept until no push reaches one for 180 days (`push({ keep })`); kayjs-auth's account export lists them.
148
+ - The paths a production server counted 404s at (in the app's `store` database, SQLite or Postgres, else `data/not-found.sqlite`) are forgotten 90 days after the last visit, with their referrers, checked on opening, with the writes and every hour by a timer, so a log nobody adds to is swept too; the redirects stored beside them stay.
149
+ - `sqliteRooms` from `kay/server` keeps a room's messages 30 seconds, for the processes sharing it to read.
150
+ - The SQLite files `sqliteSessions`, `sqliteRates`, `sqliteJobs`, `sqliteRooms` and `sqliteCache` create are readable by the server's user alone, and `sqliteSessions`, `sqliteRates` and `sqliteRooms` create theirs on first use, so loading a config that names one to build or check makes no file.
151
+
152
+ ### Services the server sends to
153
+
154
+ - A mail provider (the one `MAIL_URL` names: Resend, Postmark, SendGrid, Mailgun, SES or an SMTP server) receives each mail whole: the address, the subject and the body. It is the app's processor, so sign its data processing agreement, check where it runs and what it keeps, and name it in the privacy notice ([kayjs-mail](../../mail/llms/writing-and-sending.md)).
155
+ - The push service of a subscriber's browser (Google, Mozilla or Apple's, named by the endpoint the browser gives) receives each push the server sends, encrypted for that browser, so it cannot read the title or text, but it knows that a device of the site's was notified and when. It is the browser vendor's, not the app's processor by contract, so say in the notice that notifications go through it.
156
+ - An AI provider receives what a visitor writes and the files they attach ([kayjs-ai](../../ai/llms/personal-data.md)), and an analytics tool the app turns on what it counts ([Analytics](analytics.md)).
157
+
158
+ ### Third parties the browser contacts
159
+
160
+ - kayjs-ui `MapView` loads its tiles from OpenStreetMap's server (`tile.openstreetmap.org`, run by the OpenStreetMap Foundation) by default, so each visitor's address and the tiles asked for reach it, and the notice names it. `tiles` and `attribution` point the map at a provider the app has an agreement with or at a tile server of its own: [MapView tiles](../../ui/llms/charts.md).
161
+
162
+ ### Stored files
163
+
164
+ - `files.put` tells a JPEG, PNG, WebP, AVIF or HEIC by its bytes, whatever its name, and stores it with only what draws it: its pixels, colour profile and a JPEG's orientation, every other segment or chunk, EXIF, XMP, IPTC, C2PA, text and comments among them, dropped (an AVIF or HEIC has its non-picture items and boxes blanked in place); any other format is stored as it came, and a JPEG, PNG, WebP, AVIF or HEIC it cannot read through is refused with `image-invalid` unless `keepMetadata` is set.
165
+ - `files.delete(key)` deletes the file, its cached copy and every variant and social card the image route made of it.
166
+ - A photo of a person that only some visitors may see is stored with `private: true`, which only a link the page signed reaches.
@@ -0,0 +1,210 @@
1
+ # Running in production
2
+
3
+ ## Common tasks
4
+
5
+ ### Log requests as JSON for a log collector
6
+
7
+ `observe: { log: 'json' }` in kay.config.ts writes one JSON object per line, requests included, on stdout for info and on stderr for warnings and errors:
8
+
9
+ ```ts
10
+ import { defineConfig } from 'kay/server'
11
+
12
+ export default defineConfig({
13
+ observe: { log: 'json' },
14
+ })
15
+ ```
16
+
17
+ ### Log from a library or a script
18
+
19
+ `logFrom` from `kay` follows the app's `log` setting, its lines headed by the request being answered when there is one:
20
+
21
+ ```ts
22
+ import { logFrom } from 'kay'
23
+
24
+ const log = logFrom('kayjs-mail')
25
+
26
+ log.info('sent')
27
+ log.warn('slow relay')
28
+ log.error('failed', new Error('refused'))
29
+ ```
30
+
31
+ ### Check the database in the health route
32
+
33
+ `health` moves the route and adds a check, which answers 503 when it returns `false`, throws or takes over 5 s, or when the `ping` of a store ([Stores](stores.md)) rejects, and runs at most once every 3 s, probes between sharing its answer, which `timeout` changes (`health: { timeout: '10s' }`, a duration such as `'250ms'`, which `./server --health` and the build's check of the executable wait for too, though the Dockerfile `kay new` writes cuts a probe off at 6 s: raise its `--timeout` with it):
34
+
35
+ ```ts
36
+ import { defineConfig } from 'kay/server'
37
+
38
+ export default defineConfig({
39
+ health: { path: '/up', check: async () => await db.ping() },
40
+ })
41
+ ```
42
+
43
+ ### Health-check a container with no curl
44
+
45
+ An executable made by `kay build --compile` checks the health route itself when run as `./server --health`, in a Dockerfile:
46
+
47
+ ```dockerfile
48
+ HEALTHCHECK CMD ["./server", "--health"]
49
+ ```
50
+
51
+ `kay build --compile server --verify` runs it once at build time, see [Check the executable starts](#check-the-executable-starts).
52
+
53
+ ### Check the executable starts
54
+
55
+ `kay build --compile server --verify` starts the executable it wrote on a free port, as `NODE_ENV=production` with the project as its working directory, so a `.env` there is read, waits until the health route answers 200, then runs it again as `--health` and stops it. A crash at startup, such as a module of the app the executable could not load, fails the build with the server's own output instead of showing at the deploy's health check:
56
+
57
+ ```sh
58
+ kay build --compile server --verify
59
+ ```
60
+
61
+ - It waits on the health route, polled every 50 ms, not a fixed sleep: a server that exits or is killed first, or within 250 ms of its first answer, fails at once, one that never answers fails after 30 s, each printing the last 40 lines of what it wrote (`executable-failed`).
62
+ - It sets `KAY_EPHEMERAL_SECRET=1`, so an app whose `KAY_SECRET` lives on the deploy host starts: a production server without a secret refuses to start otherwise.
63
+ - It runs the app's server entry, so a database or secret the entry needs must be in the build's environment: add it to the CI step that builds the image. A Dockerfile build stage has none, so `--verify-load` there only loads every module the executable carries, as `./server --load`, with the variables missing (a module reading one at load, as `session({ secret })` does, gets a placeholder: a fixed string of 32 characters, or the field's `minLength`, for a string, its `enum` or `const` value, or when the plain one is refused the first of kay's samples it accepts (a URL, an email, a pattern's literal start such as `sk_`), else the plain one; `undefined` for another type) and the entry never run, and fails with the output of one that cannot load.
64
+ - The `--health` run fails the build when it has not exited after 10 s.
65
+ - A failed verify writes no record of the executable, so `kay start` runs the entry instead.
66
+ - The server runs in a process group of its own and everything it started is stopped with it. On Linux an answer only counts when the listening socket belongs to the server or a process it started, so another process holding the port cannot pass the verify; where /proc cannot be read, the check is left out. An interrupted build stops the server too.
67
+ - It costs the server's startup plus 250 ms, usually well under a second, and `--format json` carries it as `compiled.verifiedMs`.
68
+ - `health: false` leaves no route to ask, so any answer on the port counts and `--health` is not run.
69
+
70
+ ### Set a library's secrets
71
+
72
+ - A provider key, kayjs-ai's `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`, or the password in kayjs-mail's `MAIL_URL`, is a production secret: an environment variable of the container or a `.env` beside the executable, never in the image or the repository.
73
+ - `kay env` lists what each library in `extensions` reads and which of it production requires, such as `AI_MODEL`; `env: { compose, example }` in kay.config.ts has `kay check` compare it with the compose file and `.env.example` ([Server](server.md)).
74
+
75
+ ### Run a job on a schedule
76
+
77
+ `schedule` from `kay/server` is an Elysia plugin taking a cron or a length, and runs in the server's process:
78
+
79
+ ```ts
80
+ import { Elysia } from 'elysia'
81
+ import { pages, schedule } from 'kay/server'
82
+
83
+ new Elysia()
84
+ .use(schedule('30 2 * * MON', sendWeeklyReport, { timeZone: 'Europe/Paris' }))
85
+ .use(schedule('30s', collectMetrics))
86
+ .use(await pages())
87
+ ```
88
+
89
+ ### Run a job that must not be lost
90
+
91
+ A `queue` runs its jobs in the background, after a restart or a deploy if need be, and an action enqueues one and goes on:
92
+
93
+ ```ts
94
+ // src/plugins/jobs.ts
95
+ import { queue } from 'kay/server'
96
+
97
+ export const welcomeMails = queue(
98
+ 'welcome-mails',
99
+ async ({ to }: { to: string }) => sendWelcome(to),
100
+ { attempts: 5, backoff: '30s' },
101
+ )
102
+
103
+ export default welcomeMails
104
+ ```
105
+
106
+ Then `await welcomeMails.enqueue({ to: email })` in an action, or `enqueue(payload, { delay: '1h' })` to run it later., and more in [Queues](queues.md).
107
+
108
+ ## Reference
109
+
110
+ ### Request logs
111
+
112
+ - A server started with a NODE_ENV that is none of `development`, `production` and `test`, such as `staging`, warns once as it boots: only `production` turns on the request log, compression, the prebuilt browser bundle and the https fallback to the site's origin, so any other name runs without them; set `NODE_ENV=production` on every deployed environment and tell them apart with another variable.
113
+ - A server started with no NODE_ENV warns as it boots, as it then bundles its browser code at boot and Elysia answers a request refused before kay's own check, such as a response failing its schema, with the schema it failed: set NODE_ENV=production where the app is deployed.
114
+ - With NODE_ENV=production, a server's first line, once it listens, says where it listens and what runs: `kay: listening on http://localhost:3000, kay 1.30.0 in production, 12 pages prerendered`.
115
+ - Then every request kay or the app's routes registered after `.use(await pages())` answer is logged to stdout as one line: `GET /blog/hello 200 12ms AZnLe0vUe9qD0uXq9vLwZw`, the method, the path without its query string, which may carry tokens, the status, the milliseconds until the response was made, a streamed one's headers, and the request's id.
116
+ - kay's own `/_kay/` routes, assets included (an extension's API modules served there, kayjs-cms's `/_kay/cms`, are logged), and the health route, wherever `health.path` puts it, are left out.
117
+ - `true` in kay.config.ts's `observe.log` logs them outside production too, `false` never.
118
+ - kay's own messages, an error it caught, a warning about the app, a shutdown notice, go out in any mode, as `kay: ` and the message, an error's source-mapped stack on the lines below.
119
+ - `log` sets the format of both: `'json'` writes one JSON object per line for a log collector, on stdout for info and on stderr for warnings and errors, and a function receives each entry instead, typed `LogEntry` from `kay/server`:
120
+ - a request, `{ type: 'request', time, level: 'info', method, path, status, duration, id }`;
121
+ - a message, `{ type: 'message', time, level: 'info' | 'warn' | 'error', from, message, request?: { method, path, id }, error?: { name, message, stack } }`, `from` being `'kay'` or a library's name, `request` when it was logged while answering one.
122
+ - A library logs through the same setting with `logFrom` from `kay`: `const log = logFrom('kayjs-mail')`, then `log.info(message)`, `log.warn(message)` or `log.error(message, error)`.
123
+ - Its lines read `kayjs-mail: ` and the message, headed by the request being answered as kay's are, in a page, an action, an endpoint or a guard, though not in an API module's handler or a socket, which Elysia runs outside any call kay makes, and carry `from: 'kayjs-mail'` as JSON or in the entry a log function receives.
124
+ - Outside a server, in the browser or a script, they go to the console as `[kayjs-mail] message`.
125
+ - Every response carries its request's id as `X-Request-Id`, time-ordered, made by kay unless `proxy` is set and the proxy passed one on in that header; `observe: { requestIdHeader: 'x-correlation-id' }` in kay.config.ts names another header for both.
126
+ - An error logged while answering a request is headed by the request, `kay: GET /blog/hello, request AZnLe0vUe9qD0uXq9vLwZw`, then its stack, so a line from a user or a log search finds both.
127
+ - `requestId(request)` from `kay/server` gives it, in `onError` or a route, and a server span carries it as `kay.request.id` ([Tracing](tracing.md)).
128
+
129
+ ### Metrics for a collector
130
+
131
+ - `metrics: true` in kay.config.ts serves `/metrics` in the Prometheus text format, for Prometheus or any compatible collector (Grafana Alloy, the OpenTelemetry collector's Prometheus receiver): `metrics: { path: '/_internal/metrics' }` moves it. It is off by default, and a server run by `kay dev` or a static export serves none.
132
+ - It holds `kay_http_requests_total{method,route,status}` and the histogram `kay_http_request_duration_seconds{method,route}`, `kay_queue_runs_total{queue,result}` (`ok`, `retried`, `failed`; a workflow is `workflow:<name>`), `kay_job_runs_total{schedule,result}` (`ok`, `failed`, `skipped` when another process held the lock), `kay_session_events_total{event}` (`created`, `destroyed`), `kay_file_events_total{event}` (`written`, `deleted`), `kay_cache_reads_total{result}` (`hit` or `miss` of `cached` and `cache`), `kay_live_connections`, `kay_process_resident_memory_bytes` and `kay_process_uptime_seconds`.
133
+ - A page counts under its pattern, `/shop/:item`, an API route under its route, and a path nothing serves under `unmatched`, so a scan adds no series; at most 500 routes are kept, the rest read `other`. The scrape itself and the health route are not counted, nor a request an earlier hook answers (a redirect, a refusal by `proxy.key`), and a method no server knows reads `OTHER`.
134
+ - It is never public by default: only a request that reached the socket from this machine or a private network (a collector in the same compose network, a sidecar) and carries no `X-Forwarded-*`, `X-Real-IP`, `Forwarded`, `Via` or `CF-Connecting-IP` header, nor the headers `proxy.header` and `proxy.key` name, is answered; every other gets 403, a trailing slash, a query or the `base` in the path included. Do not forward the path from the reverse proxy: one that adds none of those headers cannot be told from a collector.
135
+ - With `KAY_METRICS_TOKEN` set, only a request with `Authorization: Bearer <token>` is answered, from any address, for a collector reaching the server across networks. With no token the boot always logs a warning, as any peer on a private network reads the metrics, and a proxy on this host that forwards the path unmarked reads as a collector. `kay routes` lists the route and `kay env` the variable.
136
+ - `proxy.key` lets a request on this path past the key, as it does the health route, since the collector does not go through the proxy; the rules above still apply. An app file or page at `/metrics` keeps the path, and kay serves none there.
137
+
138
+ ### Health and shutdown
139
+
140
+ - `/_kay/health` answers `200 ok` while the server takes requests, for a load balancer or a container's health check.
141
+ - `health: { path: '/up', check: async () => await db.ping() }` in kay.config.ts moves it and adds a check: one returning `false`, throwing, or taking over 5 s answers 503, the error logged.
142
+ - `health: false` leaves the route out.
143
+ - An executable `kay build --compile` made checks a server it started, rather than starting one, when run as `./server --health`: it exits with 0 when the health route on `PORT`, 3000 by default, at `HOST` when it names an address and on loopback otherwise, answers 200, else 1, for a container image with no curl: `HEALTHCHECK CMD ["./server", "--health"]`.
144
+ - On SIGTERM, SIGINT or SIGHUP, a server that listens stops taking connections, lets open requests finish, ends every open event stream (live values, presence, `stream()`) and, once no request is left, every websocket (close code 1001), so browsers reconnect to the next instance, then runs the app's `onStop` hooks, each given `serve.shutdownTimeout` at most, and exits with 0. A queue handler or schedule ignoring its signal is given 3 seconds (at most 40% of `serve.shutdownTimeout`), all of them together, then its job is handed back untouched, and the `store` config's `rooms` store is closed so a stopped replica leaves no member behind (a store given only to `rooms({ store })` is not).
145
+ - New connections are refused from the signal on, so a load balancer stops sending any; a client on a connection kept alive gets 503 from the health route meanwhile.
146
+ - Requests still open after `serve.shutdownTimeout`, 10 seconds by default, are closed and the process exits with 1.
147
+ - `kay dev` restarts at once instead.
148
+
149
+ ### Request timeouts
150
+
151
+ - `serve: { timeout: '15s' }` in kay.config.ts holds every page, action, `api()` route and endpoint to that time; none by default. A hung database call otherwise keeps its request, and the connection, until the client leaves.
152
+ - Past it a page answers 504 through the nearest `_error.kay` (`ctx.error.status` is 504), an action call fails with 504 and the message `kay.action.timeout`, an API route or endpoint answers `504 Gateway Timeout` as text. It is logged and handed to `observe.onError` as a `RequestTimeoutError` from `kay/server`.
153
+ - `ctx.signal` is on the page, guard, endpoint and action contexts, and aborts at the timeout and when the client leaves; pass it to `fetch`, a database call or anything that takes a signal, so the work stops with the request. An `api()` route reads it as `request.signal`, which aborts at the timeout too (only under a timeout).
154
+ - A page sets its own in `export const page = { timeout: '30s' }` (the innermost layout or page wins), an `api({ timeout })` module and an action's options likewise, one route of an API module as `detail: { timeout }`; `false` is none.
155
+ - The clock counts from the request's arrival. Work that cannot be stopped, a handler ignoring the signal, goes on after the 504. A streamed page whose headers went out is cut at the time: the body ends with an error, the status stays 200, and the timeout is reported. An API route that returns a stream or a generator is not cut, nor an event stream.
156
+ - A job has no request, so no `ctx.signal`: a `schedule` takes its own `timeout`, and a queue handler gets an `AbortSignal` that aborts at `lostAfter` (see [Queues](queues.md)).
157
+
158
+ ### A deploy under open tabs
159
+
160
+ - Every answer of a production server carries `x-kay-build`, a hash of the names of all the client chunks (the entry, the runtime and every island), which changes with any island's code. A page knows its own build from the `kay-build` meta it was rendered with; `kay dev` sends none.
161
+ - A chunk the new build dropped is a 404, so a tab opened before the deploy meets it on the next island it hydrates (`hydrate="visible"`, `"idle"`, a server island) or the next lazy chunk. A tab that failed to load a chunk asks the server once, with a HEAD request for the entry chunk it loaded (a file, so no page renders), and when that names another build, reloads the current URL, the browser putting the scroll back. No config.
162
+ - An action call or server island answered by another build marks the tab once the server confirms that build (an answer replayed by the HTTP cache may carry an old one): its next link, form post or back/forward loads in full instead of swapping pages in. A 404 from another build, as for an action the new build no longer has, reloads at once.
163
+ - A tab with something typed (a changed field, a file chosen, a `guardLeave` guard holding unsaved changes) is never reloaded under the visitor: it waits for the next navigation, which loads in full. So is a document that answered a form posted without JavaScript (it carries `<meta name="kay-posted">`, an error page that rendered for the post included), which a reload would post again.
164
+ - A lazy chunk that fails to load while the build is unchanged (offline, a server restarting) does not leave the page stale: an action's refresh reloads the page when the code swapping pages in is missing, under the rules above (nothing typed, no form post, once a minute), else the next link loads in full; an island hydrating on `visible` or `idle` hydrates at once, and the error is logged.
165
+ - A tab reloads once a minute at most, and not at all without `sessionStorage`, so a cache in front of the server keeping an old page cannot loop it.
166
+ - The build the server named is believed for 5 seconds, so many cached island answers cost one HEAD; a missing chunk asks afresh unless that answer already named another build, as a deploy is not undone by a later one. An entry served from a CDN (another origin, or not under `/_kay/`) cannot be asked with a HEAD, so the tab fetches its own page instead, as for a static export.
167
+ - A static export has no header: the tab reads the `kay-build` meta of its own page from the host instead, and its entry carries none of the code reading headers. The code doing all this is part of the entry chunk, as a chunk loaded later would be dropped with the others by a deploy.
168
+ - `kay build` keeps the script, stylesheet and asset files of the last 3 builds beside the new one in `.kay/client`, so an old tab finds its chunks until it reloads, for 3 deploys after; a static export and `--compile` carry them too, and a build that changed nothing takes no slot. A fresh `.kay` (a clean CI checkout, an image built from scratch) has none to keep: keep `.kay/client` and `.kay/client-kept` between builds, or rely on the reload above, which is what a tab past the last 3 builds does. Builds with other options (`--static`, another `base`) in the same `.kay` each take a slot, and `.kay/client-kept` sits beside the output.
169
+ - A cache or CDN serving the old HTML after a deploy is the one case kay cannot see past: keep HTML pages revalidating, as kay's own pages do.
170
+
171
+ ### Background jobs
172
+
173
+ - `schedule(cron, job)` and `background(work)` from `kay/server` are Elysia plugins, so a job runs in the server's process, from the server listening to its stopping, once across the processes sharing the job store in production, else once per process:
174
+
175
+ ```ts
176
+ import { Elysia } from 'elysia'
177
+ import { background, pages, schedule } from 'kay/server'
178
+
179
+ new Elysia()
180
+ .use(schedule('@hourly', async () => purgeExpiredCarts()))
181
+ .use(schedule('30 2 * * MON', sendWeeklyReport, { timeZone: 'Europe/Paris' }))
182
+ .use(schedule('30s', collectMetrics))
183
+ .use(background(async (signal) => {
184
+ while (!signal.aborted)
185
+ await handleNextEmail(signal)
186
+ }))
187
+ .use(await pages())
188
+ ```
189
+
190
+ - `schedule` takes five cron fields, `minute hour day-of-month month day-of-week`, or a nickname such as `@daily`, read in the `timeZone` of kay.config.ts unless `timeZone` names one, the system's when neither is set.
191
+ - A literal one with another number of fields, an unknown nickname or a day its month never has, `0 0 30 2 *`, is a type error; a computed one it cannot read, or that never comes, fails the boot.
192
+ - Runs never overlap: the next is planned once the last settles.
193
+ - A run that throws is logged and the next one comes as planned.
194
+ - `schedule('30s', job)` runs every so long in place of a cron, at the multiples of that length since the epoch, `'1h'` on the hour and `'1d'` at UTC midnight, so it takes no `timeZone`; a run outlasting its length skips the runs it overlaps.
195
+ - A length that is not positive is a type error, or fails the boot when computed.
196
+ - `lock`, `store`, the overlap and the shutdown work as for a cron. `lock` is not a `key` of `enqueue()` or `start()`: it is taken afresh for each time the schedule falls due, one process runs it, and it takes `false`, where a `key` makes a repeated start a no-op while it lives.
197
+ - `background` starts `work` with the server, for a queue consumer or anything else that runs the whole time.
198
+ - On stop its signal aborts and the server waits for it to return.
199
+ - Work that throws is logged and not started again.
200
+ - Stopping on a signal waits for a scheduled run in progress, and for every `onStop` hook the app registers, async ones included, in turn, the `onStop` key of `kay.config.ts` after the plugins' own.
201
+ - `shutdown(app)` from `kay/server` stops a server the same way, as a test does; Elysia's own `app.stop()` does not wait for the hooks.
202
+ - A production server (`NODE_ENV=production`) locks every schedule by default, named `auto:<schedule>:<hash of the job's source>` (a twin with the same schedule and source takes `#2` by start order, which every process of one app shares), so each run happens once across processes sharing the store; a dev or test server runs each schedule in every process. `lock: false` opts out. If the store cannot give that default lock, one warning is logged and the run goes on unlocked, once per process; a `lock` the app named skips the run instead.
203
+ - A run still going after `timeout` (`'10m'` by default, `false` for none) is logged as failed and left, so it no longer blocks the next run; a stop aborts the signal and waits at most 3 s (less with a short `serve.shutdownTimeout`) for a run ignoring it, without reporting it. The job takes an `AbortSignal` that aborts at the timeout and as the server stops. Every job is called with the signal, so one with an optional first parameter gets it. The lock name hashes the job's source, so during a rolling deploy old and new builds with changed jobs both run.
204
+ - `schedule(cron, [jobA, jobB])` gives each job of the list that schedule, and `schedule({ '* * * * *': [jobA, jobB], '@hourly': jobC, '30s': jobD }, options)` several schedules at once, each key checked as a literal schedule is and `timeZone` read by the crons alone, all in one plugin: with several jobs, `lock` names each `<lock>:<its schedule>:<its place in that schedule's list>`, `report:@hourly:0`.
205
+ - `schedule(cron, job, { boot: true })` runs the jobs once as the server starts too, the first scheduled run waiting for it and a stop too, so a job needing a first run does not start itself by hand; processes starting within the same minute (the schedule's length if shorter) run it once, two either side of the boundary possibly twice (it takes the lock `<lock>:boot` for a slot of a minute at most, a skipped one is logged), while a restart minutes later runs it again, each restart of `kay dev`, `kay render` and `--verify` included.
206
+ - `schedule(cron, job, { lock: 'weekly-report' })` runs each time once across every process sharing the job store ([Queues](queues.md)), the first to reach it taking it; `store` names another store than the default one.
207
+ - The upkeep kay and its libraries run on a timer (expired sessions and notifications on Postgres, kayjs-auth's prune, kayjs-mail's list sweep, kayjs-cms's history sweep) goes through the same lock, signal and stop handling as a schedule, so with several processes behind one database each pass runs once; it counts in `kay_job_runs_total` as `maintenance:<name>`, shows under Maintenance in the dev tool's Jobs tab, ends with the server, and a test's `runJobs()` waits for a pass going. `KAY_LOCK_SCHEDULES=false` turns its lock off as it does a schedule's. Upkeep of a file on one host (the sqlite session and notification stores) and the caches each process keeps (image variants, loader watchers) stay per process.
208
+ - `KAY_LOCK_SCHEDULES=false` makes `lock: false` the default of every schedule, for an app running one process; a `lock` it names still locks. `schedule(..., { enabled: false })` and `background(work, { enabled: false })` add nothing, so `enabled: env.ZIGBEE_URL !== undefined` switches a job on its setting with no conditional plugin; a job's first parameter must accept an `AbortSignal`, which the types enforce.
209
+
210
+ The queue, its stores and its retries are in [Queues](queues.md).
@@ -0,0 +1,67 @@
1
+ # Scaffold with kay new and kay add
2
+
3
+ `kay new` scaffolds a project from presets and features, and `kay add` adds a feature to one that exists. The rest of the commands are in [Project setup and scaffolding](project.md).
4
+
5
+ ## Common tasks
6
+
7
+ ### Scaffold a project
8
+
9
+ `kay new` takes a directory, a preset and the features to add or drop:
10
+
11
+ ```sh
12
+ kay new my-app --template server --with auth
13
+ ```
14
+
15
+ ### Add a feature to a project
16
+
17
+ `kay add` writes what a feature needs into a project that exists, and `kay add auth,ui` adds the libraries' features. Each file is written whole under a temporary name and moved into place, so a crash leaves it as it was:
18
+
19
+ ```sh
20
+ kay add postgres
21
+ ```
22
+
23
+ ### Generate a page, a component or an API module
24
+
25
+ `kay generate` writes a starter file of the kind in its folder, and a test of it when the project has tests:
26
+
27
+ ```sh
28
+ kay generate page pricing
29
+ kay generate action team/removeTissue
30
+ kay generate resource post title:string body:text published:boolean
31
+ ```
32
+
33
+ ## Reference
34
+
35
+ - `kay new <dir> [--kay <dependency>] [--template blank|server|site|app] [--with <features>] [--without <features>] [--forge forgejo|github] [--agents none] [--runner <label>] [--editor helix,zed|none] [-y] [--dry-run] [--format text|json] [--quiet]`:
36
+ - Scaffold a project in an empty directory.
37
+ - A project is a set of features: `server` (an Elysia server; off, a static site), `starter` (a header, a skip link, a `_404.kay`, a home page greeting from the server with a counter island), `tailwind` (Tailwind through `bun-plugin-tailwind` over the Catppuccin Mocha palette, with the `.vscode/settings.json` every project gets also pointing Tailwind IntelliSense at the shorthand and `class="..."`; off, the markup carries no classes), `accents` (an accent picker in the header, kept in a cookie, in no preset: `--with accents` or `kay add accents`, and it needs `starter` and `tailwind`), `eslint`, `tests`, `ci` (the workflow below, Forgejo's or GitHub's), `docker` (the container below; a static site's brings a `_404.kay` when `starter` is off, for its nginx 404), `auth` (kayjs-auth: what `kay add auth` writes, its users in a SQLite file, which needs `server` and `tailwind`), `postgres` (kayjs-auth's users in Postgres instead, with its compose stack and roles, which needs `auth`) and `ws` (the app's API module and websocket island, shown on the home page, which needs `server`).
38
+ - A preset names a set: `blank` none, one layout and one bare page built as a static site; `server`, `site` and `app` as described below.
39
+ - Run in a terminal with none of `--template`, `--with`, `--without` or `-y`, it asks for a preset, then shows its features as a checklist. Checking a feature checks what it needs, and unchecking one unchecks what needs it.
40
+ - Otherwise it takes `--template`, `server` by default, adds the comma-separated `--with` features and drops the `--without` ones, and refuses a feature listed in both, or one missing what it needs (`kay: accents needs tailwind: add --with tailwind, or drop it with --without accents`); when `ci` or `docker` is left out, the next steps name `kay add ci` and `kay add docker`;
41
+ - `--with` and `--without` take every name `kay add` takes, `ai`, `mail`, `cms` and `ui` among them (one table of features, shown in the checklist too, `ui` needing `tailwind`): after the files are written, `kay new --with ui,mail` runs `kay add ui,mail` on the new project, installing the libraries (so it needs the network, and `--dry-run` reads them from beside kay instead and installs nothing), and prints the notes `kay add` prints. `auth` stays written by the templates.
42
+ - `--forge forgejo|github` names where the repository lives, which decides the `ci` workflow: `.forgejo/workflows/*.yml` on a `debian` runner, or `.github/workflows/*.yml` on `ubuntu-latest` with `oven-sh/setup-bun` and, for an app with `postgres`, its Postgres service on `localhost:5432`; both run `kay check --format github`, so each problem shows on the diff, with `contents: read` permission alone (the Pages workflows add what publishing needs) and every action pinned to the commit of a release, its version in a comment. Without it the host is read from the `origin` remote of `dir`, or of the directory above it that exists, `github` for github.com and `forgejo` for any other remote or none. `--runner <label>` names another runner label for either; the Forgejo install step adds only the `git` and `unzip` the image lacks, with `apt-get` or `apk`, and skips Setup Bun when bun is already installed, so an Alpine image with bun and git runs it as written.
43
+ - `--editor helix,zed` also sets those editors up as `kay editor install` does, with the server run from the project's own kay since it is installed next; in a terminal with none of `--editor` and `-y`, and Helix or Zed on the PATH, it asks once whether to set up the ones found, and it sets nothing up otherwise. A failure is printed and does not fail the scaffold: [editor commands](editor-and-agent-commands.md#set-up-helix-or-zed).
44
+ - Every project has the `.npmrc` naming the registry kay comes from.
45
+ - The `server`, `site` and `app` presets have a layout with `seo` defaults and a skip link, a header over the Catppuccin Mocha palette (with `--with accents`, an accent picker kept in a cookie), Tailwind through `bun-plugin-tailwind`, and Tabler icons.
46
+ - `server`, the default, is an Elysia server, with a `Dockerfile` and `compose.prod.yaml` running the executable `bun run compile` makes; the compose requires `SITE_URL`, which `.env.example` lists.
47
+ - `site` is a static site whose `bun run build` runs `kay build --static`, with a Forgejo Pages workflow publishing `dist` to the `gitea-pages` branch under `/<owner>/<repo>`, its `SITE_URL` the forge's own address until a repository variable named `SITE_URL` gives the host the Forgejo instance publishes Pages on (`--forge github`: a workflow deploying `dist` with GitHub Pages, `SITE_URL` and `SITE_BASE` read from the repository), and a `Dockerfile` serving it with `nginxinc/nginx-unprivileged` on port 8080 instead.
48
+ - `app` is the server with kayjs-auth as `kay add auth` writes it (`auth({ name })` and `ui()` in `kay.config.ts`, a root `src/routes/_guard.ts` exporting kayjs-auth's `authGuard()` to put every page behind sign-in, and no `src/auth.ts`), an API module and an island over its websocket, its session secret written to a `.env` git ignores, `.env.test` holding a test-only secret, and `.env.example` naming what production sets (`SESSION_SECRET`, `SITE_URL`);
49
+ - The default `app` needs Bun alone: kayjs-auth keeps its users in `data/auth.sqlite` and creates its tables when the app starts, `data` is ignored by git and docker, and `compose.prod.yaml` bind-mounts `data-prod`, a git- and docker-ignored folder to create owned by `nobody` (uid 65534), the user the image runs as, at `/app/data`, with no database service and no migration;
50
+ - `--with postgres` (with `auth`, as in `--template app --with postgres`) swaps SQLite for Postgres: `src/db/tables.ts` lists `...authTables` among the tables, which `src/db/index.ts` builds `db` over and `pg-orm.config.ts` imports on their own, so the test preload points `DATABASE_URL` at its copy before anything builds `db`, `docker compose up -d --wait` starts the database `compose.dev.yaml` describes (on a port of its own per app name, its data in the git-ignored `data/postgres`), `bun run db:generate` writes the first migration for kayjs-auth's tables as the installed version declares them (and the next ones for yours), `bun run db:migrate` applies `migrations/`, its `bun run test` gives each test file a copy of the migrated database (see [Testing](testing.md)), its workflow runs Postgres as a service, and `compose.prod.yaml` runs the database (its data in `data-prod/postgres`, to create owned by the image's postgres uid 70) and a one-shot service applying the migrations before the app. Two Postgres roles split the work: the owner (`POSTGRES_USER`, connected by `MIGRATE_DATABASE_URL`, which `pg-orm.config.ts` reads before `DATABASE_URL`) changes the schema, and `app_rw` (the app's `DATABASE_URL`, password `APP_DB_PASSWORD`) reads and writes rows and cannot drop, alter or create anything. The database image creates `app_rw` from `db/roles.sh` when it first creates the database, with default privileges on tables, sequences and schemas, so a table a later migration creates needs no `GRANT`. An existing database runs `db/roles.sh` once, see [Upgrading](upgrading.md);
51
+ - Every server preset's compose publishes the app on 127.0.0.1 alone, for a reverse proxy serving it over HTTPS, and its `kay.config.ts` sets `proxy: true` so rate limits count the visitor and not the proxy, its images and workflow use the Bun `kay new` ran under, and `.env` is ignored by git and docker and written readable by its owner alone;
52
+ - `--kay` sets the `kay` dependency, by default `npm:@kayjs/kay@~<its version>`, or a packed copy when run from a checkout of kay.
53
+ - The package is named after the directory, lower case with other characters turned into `-`.
54
+ - Every template's `tsconfig.json` adds `noUncheckedIndexedAccess`, `exactOptionalPropertyTypes`, `noImplicitOverride` and `noFallthroughCasesInSwitch` to `strict`, as kay does itself, so an optional field passed `undefined` must say `?: T | undefined`;
55
+ - `server` and `app` carry a workflow checking, formatting (`bun run fmt:check`, `kay fmt --check`), linting, testing and building the project on every pull request commit and every push to `main`, and the `site` workflow tests it before building, which checks it, then checks the formatting and lints it (see [Linting](checks.md#linting)).
56
+ - Every project also has an `AGENTS.md` pointing coding agents at kay's docs for the installed version, through a `@node_modules/kay/llms.txt` line Claude Code expands at the start of a session, saying that every page title ends with `seo.name`, which `kay new` filled in from the folder name (left out by `kay migrate astro`, whose pages keep their own titles), and naming the checks its scripts run and the tools of `kay mcp`; a project without one adds it by hand. It also writes `CLAUDE.md`, holding `@AGENTS.md` so Claude Code reads the same file, and `.mcp.json`, registering `bunx kay mcp` (stdio, no `KAY_MCP_KEY`, which is for an app's HTTP endpoint); `--agents none` leaves the three out. `kay add` never writes them, so an older project gets them from `kay new --dry-run` or by copying.
57
+ - `kay generate <page|component|island|action|api|guard|resource> <name> [field:type...] [dir] [--dir <dir>] [--plural <name>] [--dry-run] [--format text|json] [--quiet]`:
58
+ - Writes a starter file into the project in `dir` (the current directory by default), by `<name>`, and never over a file that exists: one that does stops it with `kay generate: nothing was written`.
59
+ - `page pricing` writes `src/routes/pricing.kay` (`blog/[slug]` and `(group)/about` are routes too; its `h1` takes Tailwind's shorthand classes when the project has Tailwind), `component card` and `island likes` write `src/components/card.kay` (a `label` prop) and `src/components/likes.kay` (a signal and a button), `api notes` writes `src/api/notes.ts` (`api().get('/')`), `guard admin` writes `src/routes/admin/_guard.ts` (`/` for the root one; its function does nothing, for you to write the rule in) and `action team/removeTissue` writes the action `removeTissue` into `src/routes/team/_actions.kay` (a schema and a handler). An `_actions.kay` that holds a server fence alone gets the action appended (`import { s } from 'kay'` added when it lacks it); one already exporting that name stops the command, and one with a template or other fences is left alone and the command prints the action to add by hand.
60
+ - A project with `tests` (`bunfig.toml`) also gets `tests/<name>.test.ts` for a page (it visits the URL, a project with `auth` expecting the redirect to sign in), `tests/action-<name>.test.ts` for an action (`site.call` and `site.refusal`) and `tests/api-<name>.test.ts` for an API module (`site.api`) and `tests/guard-<name>.test.ts` for a guard with a page below its folder (it visits the shallowest one, a project with `auth` expecting the redirect to sign in), a `/` in the name written `-`; none for a component or an island, nor for a guard with no page below, nor for a page with a param, and none for an action or API module in a project with `auth`, whose guard answers first.
61
+ - `resource post title:string body:text` (a project with `postgres`, else it stops naming `kay add postgres`; the fields are `name:type` and every argument after the name is one, the project folder being `--dir <dir>` (cwd by default), the type `string` (varchar 200), `text`, `int`, `float` or `boolean`, all required, and `name`, written `blog-post` or `blogPost`, gives the table `blog_post`, `BlogPost` and the folder `src/routes/blog-posts`; a last word ending in a single `s` (`news`, `ideas`, `menus`) is a plural already, except a known singular such as `status` or `bus`, and `person` gives `people`, so `--plural <name>` names the plural of the whole name, such as `blog-geese`, for any other word) writes the pg-orm table `src/db/<name>.ts`, added to `tables` in `src/db/tables.ts`, an `_actions.kay` with `create`, `update` and `remove` over `s` schemas built from the fields (each redirecting to the list), the list at `/blog-posts` and the edit page `[id=integer]/edit.kay` with a delete button. With kayjs-ui installed the list is a `Table` in `src/components/blog-posts-table.kay`, the create form a `FormDialog` in `src/components/new-blog-post.kay` and the edit page a `SaveForm`; else the list is a plain `table`, with a `new.kay` page of `form`s. A project with tests gets `tests/blog-posts.test.ts`, which creates a row and reads the list, edits and deletes it, and refuses a create with an empty text field (a word for a number when there is none). A `tables` list holding a comment or an index is left alone and the command stops, naming what to add. Run `bun run db:generate` and `bun run db:migrate` for the new table.
62
+ - What it writes passes `kay check` and the lint. `--dry-run` lists the files and writes none, and `--format json` prints `{ kind, name, written, dryRun }`.
63
+ - `kay add <features> [dir] [--no-install] [--dry-run] [--format text|json] [--quiet]`:
64
+ - Applies `kay new` features, comma-separated, to the project in `dir` (the current directory by default): the files and edits `kay new --with` would have made, then `bun install`.
65
+ - The features the project holds are read off its files. A feature missing what it needs is refused naming the command that adds them together (`kay add server,ws`); `kay add postgres` on a project without kayjs-auth plans it too, `kay add auth,postgres` writes both in one run, and `postgres` over an app whose `data/auth.db` exists stops there, as that file holds the users.
66
+ - It writes only when every file has the shape `kay new` writes: a file both feature sets write differently (`_layout.kay`, `bunfig.toml`, `kay.config.ts`) is replaced while it is still what `kay new` wrote, `package.json` gets the scripts and dependencies it lacks (a script is replaced only while it is still the generated one), `.gitignore`, `.dockerignore` and `.env` get the lines or keys they lack, and `AGENTS.md` is left once edited; a deleted file is not written back and is named in the output. The CI workflow follows the `origin` remote (`.github` for GitHub, `.forgejo` otherwise), else the folder the project has, and the runner label is the one its workflow already runs on. Any other file, or a file that exists with other content, stops it with `kay add: nothing was written` and the lines to remove (`-`) and add (`+`) by hand.
67
+ - `ai`, `mail`, `cms`, `ui` and `auth` are features of kay's libraries (`auth` is kayjs-auth, which `kay new --with auth` writes the same files for; `kay new --with ai,mail,cms,ui` runs this same step after scaffolding): it adds `@kayjs/ai`, `@kayjs/mail`, `@kayjs/cms`, `@kayjs/ui` or `@kayjs/auth` (the last two with `@iconify-json/tabler`, kayjs-auth with `@kaynooo/pg-orm` and kayjs-ui) at kay's own minor, then writes what the package's `add` export says (`{ description, files?, edits?, env?, example?, ignore?, extension?: { import, expression }, notes? }`, or a function of the project returning it) and adds the extension to `extensions` in `kay.config.ts`, which needs a plain `defineConfig({ ... })`. `ui` needs `tailwind` and `auth` needs `server` and `tailwind`, refused like a core feature; `kay add ui` writes only `ui()` (see [Extensions](component-libraries.md#extensions)), and `kay add auth` writes `auth({ name })` in `kay.config.ts` (no `src/auth.ts`: the mailer of `src/mail.ts`, themed when `mail()` is registered, is found by `auth()`; over the app's pg-orm `Database` it adds `store: async () => pgAuth(...)` and `...authTables` to its `tables`, else users live in SQLite, `AUTH_DATABASE_URL` in `.env.example`; `.gitignore` is created when absent and `data` is added unless `/data` or `data/` is there), `src/routes/_guard.ts` exporting `authGuard()` from kayjs-auth to guard every page, `ui()`, and `KAY_SECRET` and `SITE_URL` in `.env.example`. The import goes where the app's `perfectionist/sort-imports` puts it (groups, then natural order), so a config with sorted imports passes `kay lint` with no fixer run.