@kayjs/kay 1.112.2 → 2.0.0-alpha.4
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.
- package/package.json +28 -321
- package/src/ambient.d.ts +6 -0
- package/src/build/compile.ts +112 -253
- package/src/build/index.ts +890 -0
- package/src/cli/check.ts +89 -0
- package/src/cli/index.ts +104 -0
- package/src/cli/new.ts +496 -0
- package/src/compiler/analyze.ts +242 -0
- package/src/compiler/dom.ts +861 -686
- package/src/compiler/index.ts +6 -632
- package/src/compiler/patch.ts +54 -0
- package/src/compiler/ssr.ts +560 -0
- package/src/dev/index.ts +138 -455
- package/src/dom/action.ts +37 -0
- package/src/dom/extras.ts +258 -0
- package/src/dom/index.ts +252 -0
- package/src/dom/island.ts +102 -0
- package/src/dom/loop.ts +294 -0
- package/src/index.ts +31 -0
- package/src/jsx-runtime.ts +176 -0
- package/src/plugins/index.ts +85 -0
- package/src/reactivity/index.ts +551 -0
- package/src/reactivity/selector.ts +57 -0
- package/src/reactivity/store.ts +114 -0
- package/src/server/action.ts +151 -0
- package/src/server/cookies.ts +69 -140
- package/src/server/env.ts +26 -382
- package/src/server/http.ts +123 -0
- package/src/server/index.ts +651 -147
- package/src/server/router.ts +110 -0
- package/src/server/security.ts +34 -279
- package/src/server/standard-schema.ts +56 -0
- package/src/ssr/context.ts +89 -0
- package/src/ssr/index.ts +190 -0
- package/src/test/index.ts +108 -547
- package/LICENSE +0 -21
- package/LICENSES/Apache-2.0.txt +0 -55
- package/LICENSES/MPL-2.0.txt +0 -373
- package/LICENSES/emscripten.txt +0 -102
- package/LICENSES/libaom-PATENTS.txt +0 -108
- package/LICENSES/libaom.txt +0 -27
- package/LICENSES/libavif-1.4.2.txt +0 -387
- package/LICENSES/libavif.txt +0 -353
- package/LICENSES/libwebp-PATENTS.txt +0 -23
- package/LICENSES/libwebp.txt +0 -30
- package/LICENSES/musl-emscripten-6.0.12.txt +0 -193
- package/LICENSES/musl.txt +0 -193
- package/NOTICE +0 -11
- package/README.md +0 -103
- package/dist/eslint.js +0 -19703
- package/editors/tree-sitter-kay/queries/highlights.scm +0 -63
- package/editors/tree-sitter-kay/queries/indents.scm +0 -17
- package/editors/tree-sitter-kay/queries/injections.scm +0 -21
- package/editors/vscode/syntaxes/kay.tmLanguage.json +0 -624
- package/editors/zed/Cargo.toml +0 -13
- package/editors/zed/extension.toml +0 -16
- package/editors/zed/languages/kay/config.toml +0 -13
- package/editors/zed/languages/kay/highlights.scm +0 -63
- package/editors/zed/languages/kay/indents.scm +0 -17
- package/editors/zed/languages/kay/injections.scm +0 -21
- package/editors/zed/src/lib.rs +0 -50
- package/llms/a11y-audit.md +0 -21
- package/llms/a11y-lints.md +0 -51
- package/llms/action-protection.md +0 -122
- package/llms/actions-from-islands.md +0 -163
- package/llms/actions-refused-fields.md +0 -63
- package/llms/actions.md +0 -246
- package/llms/analytics.md +0 -157
- package/llms/api-from-islands.md +0 -167
- package/llms/api-routes.md +0 -224
- package/llms/browser-only.md +0 -71
- package/llms/build-and-start.md +0 -77
- package/llms/cdn-caching.md +0 -25
- package/llms/check-and-tools.md +0 -151
- package/llms/checks.md +0 -134
- package/llms/code-lints.md +0 -37
- package/llms/commands.md +0 -42
- package/llms/compiler-api.md +0 -25
- package/llms/component-libraries.md +0 -124
- package/llms/component-library-conventions.md +0 -66
- package/llms/components.md +0 -252
- package/llms/content-cms.md +0 -101
- package/llms/content-edit.md +0 -49
- package/llms/content-markdown-to-caching.md +0 -96
- package/llms/content-preview.md +0 -79
- package/llms/content.md +0 -276
- package/llms/deprecated-lints.md +0 -17
- package/llms/dev-server.md +0 -74
- package/llms/dev-tool.md +0 -72
- package/llms/eco-design.md +0 -107
- package/llms/editor-and-agent-commands.md +0 -83
- package/llms/effects.md +0 -99
- package/llms/environment.md +0 -83
- package/llms/errors-runtime.md +0 -57
- package/llms/errors.md +0 -125
- package/llms/events.md +0 -45
- package/llms/files.md +0 -191
- package/llms/guards.md +0 -63
- package/llms/head.md +0 -243
- package/llms/hooks.md +0 -161
- package/llms/images-runtime-and-remote.md +0 -85
- package/llms/images.md +0 -208
- package/llms/imported-files.md +0 -41
- package/llms/island-and-form-lints.md +0 -30
- package/llms/island-sources.md +0 -78
- package/llms/islands-lazy-components.md +0 -23
- package/llms/islands-state-to-ids.md +0 -99
- package/llms/islands.md +0 -284
- package/llms/lints.md +0 -98
- package/llms/live-values.md +0 -126
- package/llms/local-collections.md +0 -98
- package/llms/locales-texts.md +0 -28
- package/llms/locales.md +0 -270
- package/llms/mcp.md +0 -57
- package/llms/metrics.md +0 -24
- package/llms/navigation-from-code.md +0 -114
- package/llms/navigation.md +0 -137
- package/llms/notifications.md +0 -116
- package/llms/performance-lints.md +0 -18
- package/llms/prerendering.md +0 -161
- package/llms/privacy.md +0 -166
- package/llms/production.md +0 -200
- package/llms/project-new-and-add.md +0 -67
- package/llms/project.md +0 -141
- package/llms/proxy-and-security.md +0 -177
- package/llms/queues.md +0 -108
- package/llms/rate-limits.md +0 -119
- package/llms/recipes.md +0 -356
- package/llms/rendering.md +0 -292
- package/llms/request-values.md +0 -82
- package/llms/rooms.md +0 -130
- package/llms/routing-endpoints-and-base.md +0 -122
- package/llms/routing-special-pages.md +0 -59
- package/llms/routing.md +0 -278
- package/llms/schemas.md +0 -59
- package/llms/security-and-i18n-lints.md +0 -19
- package/llms/seo-lints.md +0 -44
- package/llms/server-islands.md +0 -84
- package/llms/server.md +0 -259
- package/llms/site.md +0 -404
- package/llms/sitemap-search-fonts.md +0 -283
- package/llms/stores.md +0 -47
- package/llms/styles-and-assets.md +0 -210
- package/llms/templates-elements-slots-snippets.md +0 -145
- package/llms/templates.md +0 -294
- package/llms/testing-browser.md +0 -117
- package/llms/testing-mount.md +0 -49
- package/llms/testing-requests-jobs-sockets.md +0 -110
- package/llms/testing-setup.md +0 -54
- package/llms/testing.md +0 -238
- package/llms/tracing.md +0 -58
- package/llms/upgrading-1-105-config.md +0 -71
- package/llms/upgrading-archive.md +0 -163
- package/llms/upgrading.md +0 -40
- package/llms/whats-new-archive.md +0 -89
- package/llms/whats-new.md +0 -47
- package/llms/workers.md +0 -22
- package/llms.txt +0 -128
- package/src/a11y/audit.ts +0 -217
- package/src/a11y/report.ts +0 -198
- package/src/a11y/rgaa-criteria.ts +0 -182
- package/src/a11y/standards.ts +0 -90
- package/src/a11y/targets.ts +0 -78
- package/src/add.ts +0 -754
- package/src/build/action-calls.ts +0 -174
- package/src/build/assets.ts +0 -73
- package/src/build/await-alert.ts +0 -34
- package/src/build/budget.ts +0 -127
- package/src/build/bun.ts +0 -19
- package/src/build/cache-ids.ts +0 -66
- package/src/build/cache.ts +0 -110
- package/src/build/captured-loads.ts +0 -40
- package/src/build/class-rules.ts +0 -248
- package/src/build/class-sources.ts +0 -437
- package/src/build/class-table.ts +0 -331
- package/src/build/client.ts +0 -864
- package/src/build/collection-components.ts +0 -140
- package/src/build/compressed.ts +0 -96
- package/src/build/direct-imports.ts +0 -139
- package/src/build/dynamic-classes.ts +0 -394
- package/src/build/entry-files.ts +0 -19
- package/src/build/favicons.ts +0 -149
- package/src/build/files.ts +0 -464
- package/src/build/fingerprint.ts +0 -54
- package/src/build/footprint-models.ts +0 -90
- package/src/build/footprint.ts +0 -683
- package/src/build/glob.ts +0 -237
- package/src/build/globbed.ts +0 -3
- package/src/build/header-files.ts +0 -69
- package/src/build/icon-slots.ts +0 -140
- package/src/build/icons.ts +0 -127
- package/src/build/increments.ts +0 -291
- package/src/build/insert-ids.ts +0 -48
- package/src/build/island-images.ts +0 -277
- package/src/build/kept-maps.ts +0 -64
- package/src/build/kept.ts +0 -149
- package/src/build/layer-order.ts +0 -89
- package/src/build/lazy-components.ts +0 -130
- package/src/build/lazy-manifest.ts +0 -56
- package/src/build/lazy-stubs.ts +0 -31
- package/src/build/libraries.ts +0 -626
- package/src/build/licenses.ts +0 -246
- package/src/build/links.ts +0 -119
- package/src/build/live-ids.ts +0 -72
- package/src/build/manifests.ts +0 -91
- package/src/build/named-refresh.ts +0 -75
- package/src/build/navigation-locale.ts +0 -18
- package/src/build/page-dirs.ts +0 -58
- package/src/build/pipeline.ts +0 -543
- package/src/build/plugin.ts +0 -374
- package/src/build/probe.ts +0 -158
- package/src/build/prune.ts +0 -160
- package/src/build/recipe-classes.ts +0 -203
- package/src/build/recipe-utilities.ts +0 -183
- package/src/build/references.ts +0 -85
- package/src/build/report.ts +0 -457
- package/src/build/route-sizes.ts +0 -386
- package/src/build/runtime-chunk.ts +0 -425
- package/src/build/runtime-config.ts +0 -174
- package/src/build/search.ts +0 -350
- package/src/build/server-only.ts +0 -531
- package/src/build/server-record.ts +0 -201
- package/src/build/signals.ts +0 -228
- package/src/build/source-files.ts +0 -36
- package/src/build/source-parses.ts +0 -136
- package/src/build/sourcemap.ts +0 -335
- package/src/build/static.ts +0 -417
- package/src/build/style-uses.ts +0 -580
- package/src/build/styles.ts +0 -331
- package/src/build/supports.ts +0 -201
- package/src/build/theme-vars.ts +0 -72
- package/src/build/transform.ts +0 -306
- package/src/build/ui-info.ts +0 -343
- package/src/build/ui-layers.ts +0 -30
- package/src/build/ui.ts +0 -559
- package/src/build/variants.ts +0 -803
- package/src/build/verify.ts +0 -394
- package/src/build/warn-classes.ts +0 -18
- package/src/build/worker-bundle.ts +0 -76
- package/src/bun.ts +0 -38
- package/src/check/action-options.ts +0 -56
- package/src/check/api-modules.ts +0 -48
- package/src/check/api-scope.ts +0 -112
- package/src/check/ast.ts +0 -52
- package/src/check/bindings.ts +0 -72
- package/src/check/boot.ts +0 -236
- package/src/check/browser-global-reads.ts +0 -123
- package/src/check/builtin-imports.ts +0 -215
- package/src/check/class-words.ts +0 -260
- package/src/check/config-keys.ts +0 -63
- package/src/check/config-objects.ts +0 -98
- package/src/check/diagnose.ts +0 -269
- package/src/check/dockerfile.ts +0 -59
- package/src/check/endpoint-exports.ts +0 -41
- package/src/check/env-types.ts +0 -270
- package/src/check/export-homes.ts +0 -69
- package/src/check/fixes.ts +0 -38
- package/src/check/generated.ts +0 -160
- package/src/check/guards.ts +0 -109
- package/src/check/index.ts +0 -257
- package/src/check/island-modules.ts +0 -142
- package/src/check/island-only.ts +0 -104
- package/src/check/large-images.ts +0 -355
- package/src/check/layout-facts.ts +0 -43
- package/src/check/loaded.ts +0 -88
- package/src/check/loop-index-fix.ts +0 -46
- package/src/check/mcp-routes.ts +0 -86
- package/src/check/messages.ts +0 -327
- package/src/check/missing-imports.ts +0 -99
- package/src/check/moved-keys.ts +0 -49
- package/src/check/open-settings.ts +0 -33
- package/src/check/output-schema.ts +0 -156
- package/src/check/page-heads.ts +0 -267
- package/src/check/page-structure.ts +0 -27
- package/src/check/project.ts +0 -307
- package/src/check/public-env-outside-src.ts +0 -43
- package/src/check/queries.ts +0 -99
- package/src/check/regroup.ts +0 -94
- package/src/check/removed-ui-tokens.ts +0 -343
- package/src/check/renamed-call-options.ts +0 -83
- package/src/check/renamed-exports.ts +0 -247
- package/src/check/renamed-packages.ts +0 -97
- package/src/check/route-shadow.ts +0 -174
- package/src/check/schema-builders.ts +0 -460
- package/src/check/schema-json.ts +0 -226
- package/src/check/seo.ts +0 -240
- package/src/check/server-only-reads.ts +0 -79
- package/src/check/shadow-types.ts +0 -625
- package/src/check/shadow.ts +0 -384
- package/src/check/site-seo.ts +0 -339
- package/src/check/socket-routes.ts +0 -75
- package/src/check/status-pages.ts +0 -30
- package/src/check/template-hints.ts +0 -541
- package/src/check/text-size-colour.ts +0 -57
- package/src/check/tool-labels.ts +0 -122
- package/src/check/tool-outputs.ts +0 -201
- package/src/check/tsgo.ts +0 -297
- package/src/check/typing-stamp.ts +0 -146
- package/src/check/ui-tokens.ts +0 -174
- package/src/check/ui-types.ts +0 -88
- package/src/check/ui.ts +0 -108
- package/src/check/unmounted-jobs.ts +0 -63
- package/src/cli.ts +0 -135
- package/src/commands/a11y.ts +0 -87
- package/src/commands/add-peers.ts +0 -20
- package/src/commands/add.ts +0 -51
- package/src/commands/build.ts +0 -234
- package/src/commands/check.ts +0 -419
- package/src/commands/command.ts +0 -535
- package/src/commands/completion.ts +0 -57
- package/src/commands/dev.ts +0 -131
- package/src/commands/docs.ts +0 -161
- package/src/commands/doctor.ts +0 -404
- package/src/commands/editor.ts +0 -56
- package/src/commands/env-compare.ts +0 -458
- package/src/commands/env-declare.ts +0 -268
- package/src/commands/env.ts +0 -217
- package/src/commands/explain-island.ts +0 -133
- package/src/commands/explain.ts +0 -94
- package/src/commands/extensions.ts +0 -87
- package/src/commands/fix-path.ts +0 -10
- package/src/commands/fmt.ts +0 -152
- package/src/commands/generate.ts +0 -60
- package/src/commands/i18n.ts +0 -153
- package/src/commands/import-module.ts +0 -19
- package/src/commands/lint-cache.ts +0 -61
- package/src/commands/lint.ts +0 -76
- package/src/commands/lsp.ts +0 -17
- package/src/commands/mcp.ts +0 -35
- package/src/commands/migrate.ts +0 -131
- package/src/commands/new.ts +0 -182
- package/src/commands/not-found.ts +0 -180
- package/src/commands/project-checks.ts +0 -52
- package/src/commands/registry.ts +0 -86
- package/src/commands/render.ts +0 -146
- package/src/commands/routes.ts +0 -301
- package/src/commands/screenshot.ts +0 -113
- package/src/commands/start.ts +0 -124
- package/src/commands/test.ts +0 -181
- package/src/commands/types.ts +0 -41
- package/src/commands/upgrade-majors.ts +0 -26
- package/src/commands/upgrade-manifest.ts +0 -23
- package/src/commands/upgrade-messages.ts +0 -16
- package/src/commands/upgrade-peers.ts +0 -89
- package/src/commands/upgrade.ts +0 -871
- package/src/compiler/a11y-markup.ts +0 -352
- package/src/compiler/a11y.ts +0 -779
- package/src/compiler/allow-comments.ts +0 -104
- package/src/compiler/aria.ts +0 -298
- package/src/compiler/ast.ts +0 -880
- package/src/compiler/bound-props.ts +0 -75
- package/src/compiler/browser.ts +0 -457
- package/src/compiler/button-forms.ts +0 -33
- package/src/compiler/class-items.ts +0 -16
- package/src/compiler/class-name.ts +0 -120
- package/src/compiler/codegen.ts +0 -1085
- package/src/compiler/dead-code.ts +0 -22
- package/src/compiler/deprecated-library.ts +0 -8
- package/src/compiler/deprecated-lints-1-106.ts +0 -14
- package/src/compiler/deprecated-lints-1-107.ts +0 -14
- package/src/compiler/deprecated-lints.ts +0 -54
- package/src/compiler/deprecated-ui-props.ts +0 -67
- package/src/compiler/diagnostics.ts +0 -46
- package/src/compiler/dom-fields.ts +0 -67
- package/src/compiler/dom-here.ts +0 -72
- package/src/compiler/dom-property.ts +0 -23
- package/src/compiler/each-node.ts +0 -20
- package/src/compiler/else-problem.ts +0 -28
- package/src/compiler/errors.ts +0 -615
- package/src/compiler/estree-shapes.ts +0 -44
- package/src/compiler/estree.ts +0 -126
- package/src/compiler/event-modifiers.ts +0 -96
- package/src/compiler/expression.ts +0 -102
- package/src/compiler/fence-checks.ts +0 -660
- package/src/compiler/fence-nodes.ts +0 -25
- package/src/compiler/fence-redirects.ts +0 -395
- package/src/compiler/field-described.ts +0 -45
- package/src/compiler/fnv-hash.ts +0 -9
- package/src/compiler/form-action.ts +0 -18
- package/src/compiler/form-info.ts +0 -154
- package/src/compiler/format.ts +0 -419
- package/src/compiler/frame.ts +0 -89
- package/src/compiler/globals.ts +0 -57
- package/src/compiler/hand-parts.ts +0 -83
- package/src/compiler/handed-data.ts +0 -15
- package/src/compiler/head-shorthand.ts +0 -118
- package/src/compiler/head-tags.ts +0 -64
- package/src/compiler/helper-imports.ts +0 -33
- package/src/compiler/host.browser.ts +0 -25
- package/src/compiler/host.ts +0 -33
- package/src/compiler/html-fields.ts +0 -92
- package/src/compiler/html-initial.ts +0 -70
- package/src/compiler/html-parts.ts +0 -40
- package/src/compiler/html.ts +0 -953
- package/src/compiler/i18n-lints.ts +0 -29
- package/src/compiler/if-alias.ts +0 -79
- package/src/compiler/image-attributes.ts +0 -67
- package/src/compiler/import-edits.ts +0 -62
- package/src/compiler/inspect.ts +0 -32
- package/src/compiler/island-arguments.ts +0 -67
- package/src/compiler/island-cause.ts +0 -60
- package/src/compiler/island-declaration.ts +0 -190
- package/src/compiler/island-lints.ts +0 -19
- package/src/compiler/island-marker.ts +0 -29
- package/src/compiler/island-problems.ts +0 -25
- package/src/compiler/items.ts +0 -424
- package/src/compiler/jsx-class.ts +0 -84
- package/src/compiler/jsx-entities.ts +0 -25
- package/src/compiler/jsx-field.ts +0 -58
- package/src/compiler/jsx.ts +0 -979
- package/src/compiler/kay-exports.ts +0 -111
- package/src/compiler/lazy-imports.ts +0 -357
- package/src/compiler/link-flags.ts +0 -78
- package/src/compiler/lints.ts +0 -1039
- package/src/compiler/live-reads.ts +0 -160
- package/src/compiler/load-facts.ts +0 -51
- package/src/compiler/load-plan.ts +0 -227
- package/src/compiler/loop-lints.ts +0 -27
- package/src/compiler/mapping.ts +0 -403
- package/src/compiler/markdown-block.ts +0 -693
- package/src/compiler/markup-fields.ts +0 -34
- package/src/compiler/markup.ts +0 -857
- package/src/compiler/minor.ts +0 -13
- package/src/compiler/module-signals.ts +0 -203
- package/src/compiler/names.ts +0 -45
- package/src/compiler/native-typescript.ts +0 -29
- package/src/compiler/nesting.ts +0 -118
- package/src/compiler/object-literal.ts +0 -136
- package/src/compiler/own-markup.ts +0 -75
- package/src/compiler/page-settings.ts +0 -25
- package/src/compiler/parser.ts +0 -1473
- package/src/compiler/pattern-names.ts +0 -31
- package/src/compiler/plan.ts +0 -298
- package/src/compiler/public.ts +0 -4
- package/src/compiler/removed-lints.ts +0 -90
- package/src/compiler/rest-omits.ts +0 -15
- package/src/compiler/rewrite-reads.ts +0 -488
- package/src/compiler/rewrite-scan.ts +0 -77
- package/src/compiler/rewrite-tags.ts +0 -95
- package/src/compiler/rewrite-types.ts +0 -82
- package/src/compiler/rewrite.ts +0 -854
- package/src/compiler/route-lints.ts +0 -69
- package/src/compiler/scanner.ts +0 -175
- package/src/compiler/schema-lints.ts +0 -13
- package/src/compiler/scope.ts +0 -713
- package/src/compiler/scoped-style.ts +0 -480
- package/src/compiler/script-fence.ts +0 -257
- package/src/compiler/script-props.ts +0 -242
- package/src/compiler/script-recipe.ts +0 -152
- package/src/compiler/script-server.ts +0 -474
- package/src/compiler/script-shared.ts +0 -198
- package/src/compiler/script-split.ts +0 -227
- package/src/compiler/script.ts +0 -137
- package/src/compiler/serial-awaits.ts +0 -123
- package/src/compiler/server-imports.ts +0 -52
- package/src/compiler/signal-from-prop.ts +0 -141
- package/src/compiler/slot-types.ts +0 -46
- package/src/compiler/status-pages.ts +0 -11
- package/src/compiler/style-arguments.ts +0 -20
- package/src/compiler/style-lints.ts +0 -188
- package/src/compiler/template-reads.ts +0 -251
- package/src/compiler/template-scopes.ts +0 -125
- package/src/compiler/template-walk.ts +0 -73
- package/src/compiler/twin.ts +0 -6
- package/src/compiler/type-parameters.ts +0 -45
- package/src/compiler/unowned-effects.ts +0 -136
- package/src/compiler/validate-fields.ts +0 -68
- package/src/compiler/validate-fixes.ts +0 -74
- package/src/compiler/validate.ts +0 -840
- package/src/compiler/walk.ts +0 -70
- package/src/config-extensions.ts +0 -222
- package/src/config-loader.ts +0 -365
- package/src/config-resolve.ts +0 -72
- package/src/config-rules.ts +0 -138
- package/src/config-shape.ts +0 -260
- package/src/config-switch.ts +0 -14
- package/src/config.ts +0 -724
- package/src/content/claims.ts +0 -67
- package/src/content/drafts.ts +0 -43
- package/src/content/edit-entries.ts +0 -927
- package/src/content/edit-fields.ts +0 -247
- package/src/content/edit-registry.ts +0 -47
- package/src/content/edit-shared.ts +0 -188
- package/src/content/edit.ts +0 -5
- package/src/content/entry-head.ts +0 -58
- package/src/content/entry-route.ts +0 -11
- package/src/content/excerpt.ts +0 -99
- package/src/content/feed.ts +0 -241
- package/src/content/heading-id.ts +0 -48
- package/src/content/held-back.ts +0 -15
- package/src/content/humanize.ts +0 -9
- package/src/content/images.ts +0 -203
- package/src/content/index.ts +0 -761
- package/src/content/key.ts +0 -9
- package/src/content/load.ts +0 -781
- package/src/content/markdown-extensions.ts +0 -284
- package/src/content/markdown.ts +0 -939
- package/src/content/migrate.ts +0 -195
- package/src/content/modified.ts +0 -75
- package/src/content/paginate.ts +0 -119
- package/src/content/problems.ts +0 -44
- package/src/content/references.ts +0 -72
- package/src/content/rewrite.ts +0 -97
- package/src/content/server.ts +0 -469
- package/src/content/source-draft.ts +0 -38
- package/src/content/turns.ts +0 -28
- package/src/content/validate.ts +0 -342
- package/src/dev/address.ts +0 -78
- package/src/dev/base-proxy.ts +0 -104
- package/src/dev/builder.ts +0 -104
- package/src/dev/client.ts +0 -158
- package/src/dev/config-record.ts +0 -65
- package/src/dev/fingerprint.ts +0 -327
- package/src/dev/inspector.ts +0 -248
- package/src/dev/loopback.ts +0 -25
- package/src/dev/pages.ts +0 -6
- package/src/dev/preload.ts +0 -428
- package/src/dev/refuse.ts +0 -29
- package/src/dev/reload.ts +0 -282
- package/src/dev/render-server.ts +0 -131
- package/src/dev/render-socket.ts +0 -53
- package/src/dev/screenshot-diff.ts +0 -76
- package/src/dev/screenshot-limits.ts +0 -17
- package/src/dev/screenshot.ts +0 -410
- package/src/dev/session/client.ts +0 -173
- package/src/dev/session/keys.ts +0 -51
- package/src/dev/session/ports.ts +0 -30
- package/src/dev/session/queue.ts +0 -133
- package/src/dev/session/report.ts +0 -172
- package/src/dev/session/servers.ts +0 -295
- package/src/dev/session/types.ts +0 -309
- package/src/dev/sources.ts +0 -265
- package/src/dev/tailwind.ts +0 -93
- package/src/dev/types-process.ts +0 -172
- package/src/dev/types.ts +0 -187
- package/src/docs-props.ts +0 -168
- package/src/docs-search.ts +0 -372
- package/src/editors.ts +0 -238
- package/src/entities.ts +0 -41
- package/src/eslint/index.ts +0 -472
- package/src/features.ts +0 -22
- package/src/format/index.ts +0 -75
- package/src/format/tailwind.ts +0 -190
- package/src/generate-resource.ts +0 -443
- package/src/generate.ts +0 -365
- package/src/imports.ts +0 -157
- package/src/input-types.ts +0 -2
- package/src/keyword-attributes.ts +0 -12
- package/src/lsp/bridge.ts +0 -80
- package/src/lsp/code-actions.ts +0 -71
- package/src/lsp/completions.ts +0 -270
- package/src/lsp/component-props.ts +0 -109
- package/src/lsp/diagnostics.ts +0 -219
- package/src/lsp/document-links.ts +0 -56
- package/src/lsp/host.ts +0 -112
- package/src/lsp/island-lens.ts +0 -41
- package/src/lsp/mapping.ts +0 -163
- package/src/lsp/navigation.ts +0 -207
- package/src/lsp/outline.ts +0 -233
- package/src/lsp/positions.ts +0 -13
- package/src/lsp/project-checks.ts +0 -119
- package/src/lsp/protocol.ts +0 -167
- package/src/lsp/range-format.ts +0 -62
- package/src/lsp/rename.ts +0 -115
- package/src/lsp/renames.ts +0 -126
- package/src/lsp/route-documents.ts +0 -21
- package/src/lsp/route-links.ts +0 -92
- package/src/lsp/rpc.ts +0 -185
- package/src/lsp/semantic-tokens.ts +0 -481
- package/src/lsp/server.ts +0 -613
- package/src/lsp/template-completion.ts +0 -361
- package/src/lsp/ui-completion.ts +0 -206
- package/src/mcp/guards.ts +0 -66
- package/src/mcp/install.ts +0 -7
- package/src/mcp/protocol.ts +0 -289
- package/src/mcp/tools.ts +0 -819
- package/src/migrate/astro.ts +0 -367
- package/src/migrate/content.ts +0 -248
- package/src/migrate/html.ts +0 -96
- package/src/migrate/markup.ts +0 -737
- package/src/migrate/project.ts +0 -365
- package/src/native-plugins.ts +0 -2
- package/src/nearest.ts +0 -23
- package/src/new.ts +0 -351
- package/src/package-names.ts +0 -25
- package/src/peers.ts +0 -82
- package/src/project.ts +0 -223
- package/src/runtime/action-call.ts +0 -346
- package/src/runtime/action-encode.ts +0 -84
- package/src/runtime/action-error.ts +0 -29
- package/src/runtime/action-form.ts +0 -474
- package/src/runtime/action-marks.ts +0 -10
- package/src/runtime/action-navigate.ts +0 -73
- package/src/runtime/action-owner.ts +0 -95
- package/src/runtime/action-post.ts +0 -164
- package/src/runtime/action-protection.ts +0 -50
- package/src/runtime/action-revive.ts +0 -21
- package/src/runtime/action-reviver.ts +0 -1
- package/src/runtime/action-run.ts +0 -332
- package/src/runtime/action-shared.ts +0 -472
- package/src/runtime/action-stream.ts +0 -210
- package/src/runtime/action.ts +0 -150
- package/src/runtime/analytics.client.ts +0 -2
- package/src/runtime/announce.ts +0 -34
- package/src/runtime/api-error-class.ts +0 -15
- package/src/runtime/api-error.ts +0 -74
- package/src/runtime/api-url.ts +0 -83
- package/src/runtime/arrival.ts +0 -23
- package/src/runtime/await-failed.ts +0 -9
- package/src/runtime/await.server.ts +0 -215
- package/src/runtime/await.ts +0 -13
- package/src/runtime/base.ts +0 -144
- package/src/runtime/build.ts +0 -21
- package/src/runtime/button-form.ts +0 -5
- package/src/runtime/byte-count.ts +0 -14
- package/src/runtime/byte-size.ts +0 -17
- package/src/runtime/cache-hooks.ts +0 -54
- package/src/runtime/cache-live-id.ts +0 -5
- package/src/runtime/cache.server.ts +0 -183
- package/src/runtime/cache.ts +0 -916
- package/src/runtime/call-body.ts +0 -29
- package/src/runtime/call-result.ts +0 -194
- package/src/runtime/checks.ts +0 -416
- package/src/runtime/claimed.ts +0 -20
- package/src/runtime/class-table.ts +0 -60
- package/src/runtime/client.ts +0 -445
- package/src/runtime/connection.ts +0 -174
- package/src/runtime/consent.ts +0 -88
- package/src/runtime/core.ts +0 -559
- package/src/runtime/counters.ts +0 -33
- package/src/runtime/described.ts +0 -76
- package/src/runtime/dev-a11y.ts +0 -142
- package/src/runtime/dev-boot.ts +0 -57
- package/src/runtime/dev-inspector.ts +0 -341
- package/src/runtime/dev-patch.ts +0 -167
- package/src/runtime/dev-refresh.ts +0 -14
- package/src/runtime/dev-styles.ts +0 -158
- package/src/runtime/dev-tab-data.ts +0 -197
- package/src/runtime/dev-tab-env.ts +0 -160
- package/src/runtime/dev-tab-head.ts +0 -282
- package/src/runtime/dev-tab-i18n.ts +0 -72
- package/src/runtime/dev-tab-images.ts +0 -319
- package/src/runtime/dev-tab-jobs.ts +0 -188
- package/src/runtime/dev-tab-network.ts +0 -230
- package/src/runtime/dev-tab-not-found.ts +0 -101
- package/src/runtime/dev-tab-performance.ts +0 -411
- package/src/runtime/dev-tab-reading.ts +0 -600
- package/src/runtime/dev-tab-routes.ts +0 -111
- package/src/runtime/dev-tab-styles.ts +0 -175
- package/src/runtime/dev-tool-constants.ts +0 -22
- package/src/runtime/dev-tool-icons.ts +0 -86
- package/src/runtime/dev-tool-keys.ts +0 -53
- package/src/runtime/dev-tool-kit.ts +0 -77
- package/src/runtime/dev-tool-layout.ts +0 -200
- package/src/runtime/dev-tool-markdown.ts +0 -144
- package/src/runtime/dev-tool-outline.ts +0 -44
- package/src/runtime/dev-tool-parts.ts +0 -332
- package/src/runtime/dev-tool-problems.ts +0 -310
- package/src/runtime/dev-tool-request.ts +0 -226
- package/src/runtime/dev-tool-shell.ts +0 -81
- package/src/runtime/dev-tool-style.ts +0 -242
- package/src/runtime/dev-tool-swaps.ts +0 -21
- package/src/runtime/dev-tool-tab-order.ts +0 -475
- package/src/runtime/dev-tool-tabs.ts +0 -205
- package/src/runtime/dev-tool-vitals.ts +0 -109
- package/src/runtime/dev-tool-window.ts +0 -213
- package/src/runtime/dev-tool.public.ts +0 -5
- package/src/runtime/dev-tool.ts +0 -332
- package/src/runtime/dispatch.ts +0 -11
- package/src/runtime/dom-await.ts +0 -132
- package/src/runtime/dom-image.ts +0 -15
- package/src/runtime/dom-lazy.ts +0 -276
- package/src/runtime/dom-loop.ts +0 -333
- package/src/runtime/dom-spread.ts +0 -106
- package/src/runtime/dom-try.ts +0 -58
- package/src/runtime/dom.ts +0 -1027
- package/src/runtime/draft-issues.ts +0 -23
- package/src/runtime/duration-words.ts +0 -22
- package/src/runtime/duration.ts +0 -62
- package/src/runtime/edit.ts +0 -109
- package/src/runtime/element-size.ts +0 -67
- package/src/runtime/email.ts +0 -65
- package/src/runtime/ended-entry.ts +0 -10
- package/src/runtime/env.ts +0 -42
- package/src/runtime/escape.ts +0 -47
- package/src/runtime/fetch-island.ts +0 -211
- package/src/runtime/field-errors.ts +0 -58
- package/src/runtime/field-refusal.ts +0 -179
- package/src/runtime/fields.ts +0 -553
- package/src/runtime/fills.ts +0 -52
- package/src/runtime/focus.ts +0 -54
- package/src/runtime/follow-log.ts +0 -154
- package/src/runtime/form-controls.ts +0 -4
- package/src/runtime/form-hold.ts +0 -87
- package/src/runtime/form-protect.ts +0 -103
- package/src/runtime/form-submits.ts +0 -212
- package/src/runtime/form-types.ts +0 -99
- package/src/runtime/form.ts +0 -194
- package/src/runtime/forms.ts +0 -345
- package/src/runtime/french.ts +0 -39
- package/src/runtime/head.ts +0 -504
- package/src/runtime/html.ts +0 -745
- package/src/runtime/hydrate-when.ts +0 -103
- package/src/runtime/i18n-links.ts +0 -44
- package/src/runtime/i18n.client.ts +0 -223
- package/src/runtime/i18n.server.ts +0 -141
- package/src/runtime/i18n.ts +0 -621
- package/src/runtime/icons.ts +0 -99
- package/src/runtime/image.public.ts +0 -3
- package/src/runtime/image.ts +0 -598
- package/src/runtime/in-view.ts +0 -91
- package/src/runtime/index.ts +0 -87
- package/src/runtime/install-prompt.ts +0 -97
- package/src/runtime/internal.ts +0 -196
- package/src/runtime/invalid.ts +0 -49
- package/src/runtime/invalidated-keys.ts +0 -11
- package/src/runtime/island-request.ts +0 -48
- package/src/runtime/island.client.ts +0 -9
- package/src/runtime/island.server.ts +0 -507
- package/src/runtime/jsx-runtime.ts +0 -2
- package/src/runtime/jsx.ts +0 -262
- package/src/runtime/kay-error.ts +0 -29
- package/src/runtime/keepalive.ts +0 -21
- package/src/runtime/lasting.ts +0 -40
- package/src/runtime/leave.ts +0 -72
- package/src/runtime/listen-with.ts +0 -8
- package/src/runtime/listener-set.ts +0 -22
- package/src/runtime/live-cache.ts +0 -469
- package/src/runtime/live-props.ts +0 -48
- package/src/runtime/live-resource.server.ts +0 -92
- package/src/runtime/live-revalidate.ts +0 -53
- package/src/runtime/live-value.client.ts +0 -416
- package/src/runtime/live-value.server.ts +0 -700
- package/src/runtime/live-value.shared.ts +0 -131
- package/src/runtime/live-value.ts +0 -55
- package/src/runtime/live.ts +0 -1059
- package/src/runtime/load-scope.ts +0 -78
- package/src/runtime/local-status.ts +0 -8
- package/src/runtime/local-types.ts +0 -96
- package/src/runtime/local.ts +0 -850
- package/src/runtime/locale-state.ts +0 -55
- package/src/runtime/localized.ts +0 -18
- package/src/runtime/log.ts +0 -54
- package/src/runtime/markdown-autolink.ts +0 -69
- package/src/runtime/markdown-render.client.ts +0 -199
- package/src/runtime/markdown-task.ts +0 -16
- package/src/runtime/markdown.client.ts +0 -97
- package/src/runtime/markdown.server.ts +0 -28
- package/src/runtime/markdown.ts +0 -148
- package/src/runtime/markers.ts +0 -25
- package/src/runtime/media-query.ts +0 -30
- package/src/runtime/mount.ts +0 -71
- package/src/runtime/move.ts +0 -18
- package/src/runtime/navigate-api.ts +0 -128
- package/src/runtime/navigate.ts +0 -365
- package/src/runtime/navigation-entry.ts +0 -2
- package/src/runtime/navigation-state.ts +0 -149
- package/src/runtime/navigation.ts +0 -244
- package/src/runtime/online.ts +0 -27
- package/src/runtime/optimistic.ts +0 -107
- package/src/runtime/outside.ts +0 -68
- package/src/runtime/page-data.ts +0 -60
- package/src/runtime/page-errors.ts +0 -31
- package/src/runtime/page-swap.ts +0 -530
- package/src/runtime/page-title.ts +0 -69
- package/src/runtime/params.ts +0 -24
- package/src/runtime/pending.ts +0 -44
- package/src/runtime/persist.ts +0 -299
- package/src/runtime/persisted.ts +0 -125
- package/src/runtime/placeholder.ts +0 -41
- package/src/runtime/poll-backoff.ts +0 -85
- package/src/runtime/prefetch.ts +0 -149
- package/src/runtime/presence.ts +0 -98
- package/src/runtime/preview.ts +0 -65
- package/src/runtime/push.ts +0 -294
- package/src/runtime/query-param.ts +0 -300
- package/src/runtime/queue-jobs.ts +0 -51
- package/src/runtime/random-id.ts +0 -5
- package/src/runtime/reactive-collections.ts +0 -214
- package/src/runtime/reactive.ts +0 -927
- package/src/runtime/recipe.ts +0 -79
- package/src/runtime/refetch-island.ts +0 -25
- package/src/runtime/refuse.ts +0 -59
- package/src/runtime/rendered.ts +0 -17
- package/src/runtime/report-error.ts +0 -25
- package/src/runtime/resource-tags.ts +0 -35
- package/src/runtime/retry-later.ts +0 -72
- package/src/runtime/reveal.ts +0 -47
- package/src/runtime/root.ts +0 -6
- package/src/runtime/route.ts +0 -84
- package/src/runtime/row-key.ts +0 -4
- package/src/runtime/safe-code.ts +0 -25
- package/src/runtime/safe-html.ts +0 -51
- package/src/runtime/sanitize.ts +0 -378
- package/src/runtime/save-data.ts +0 -4
- package/src/runtime/schema-bounds.ts +0 -50
- package/src/runtime/schema-record.ts +0 -32
- package/src/runtime/schema.client.ts +0 -114
- package/src/runtime/schema.ts +0 -374
- package/src/runtime/search-arrival.ts +0 -107
- package/src/runtime/search-results.ts +0 -47
- package/src/runtime/search.ts +0 -325
- package/src/runtime/send.ts +0 -115
- package/src/runtime/seo.ts +0 -70
- package/src/runtime/server-islands.ts +0 -5
- package/src/runtime/shortcut.ts +0 -186
- package/src/runtime/site.ts +0 -37
- package/src/runtime/size-text.ts +0 -25
- package/src/runtime/snapshots.ts +0 -116
- package/src/runtime/socket-message.ts +0 -26
- package/src/runtime/sqlite.server.ts +0 -52
- package/src/runtime/sse.ts +0 -88
- package/src/runtime/stale.ts +0 -181
- package/src/runtime/standard-schema.ts +0 -32
- package/src/runtime/static-slots.ts +0 -78
- package/src/runtime/store-base.ts +0 -31
- package/src/runtime/store.ts +0 -309
- package/src/runtime/swap-fetch.ts +0 -215
- package/src/runtime/swap-flight.ts +0 -84
- package/src/runtime/swap-focus.ts +0 -283
- package/src/runtime/swap-head.ts +0 -355
- package/src/runtime/swap-held.ts +0 -41
- package/src/runtime/swap-kept.ts +0 -357
- package/src/runtime/swap-loading.ts +0 -44
- package/src/runtime/swap-morph.ts +0 -238
- package/src/runtime/swap-refusal.ts +0 -40
- package/src/runtime/swap-streamed.ts +0 -161
- package/src/runtime/swap-transition.ts +0 -117
- package/src/runtime/swap.ts +0 -37
- package/src/runtime/template-context.ts +0 -81
- package/src/runtime/text-hash.ts +0 -17
- package/src/runtime/transition.ts +0 -227
- package/src/runtime/ui.ts +0 -32
- package/src/runtime/uid.server.ts +0 -71
- package/src/runtime/uid.ts +0 -56
- package/src/runtime/upload.ts +0 -49
- package/src/runtime/url-attributes.ts +0 -2
- package/src/runtime/url-report.ts +0 -24
- package/src/runtime/url.ts +0 -37
- package/src/runtime/validate-run.client.ts +0 -179
- package/src/runtime/validate.client.ts +0 -11
- package/src/runtime/validate.ts +0 -177
- package/src/runtime/values.ts +0 -340
- package/src/runtime/visibility.ts +0 -35
- package/src/runtime/warn-once.ts +0 -22
- package/src/runtime/wire.ts +0 -214
- package/src/runtime/with-query.ts +0 -74
- package/src/runtime/words.client.ts +0 -138
- package/src/runtime/words.server.ts +0 -53
- package/src/runtime/work-worker.ts +0 -4
- package/src/runtime/work.client.ts +0 -112
- package/src/runtime/work.ts +0 -87
- package/src/server/accept-language.ts +0 -37
- package/src/server/action-clash.ts +0 -7
- package/src/server/action-hooks.ts +0 -76
- package/src/server/action-input.ts +0 -58
- package/src/server/action-iterable.ts +0 -90
- package/src/server/action-module.ts +0 -16
- package/src/server/actions.ts +0 -883
- package/src/server/address.ts +0 -172
- package/src/server/analytics-script.ts +0 -302
- package/src/server/analytics-server.ts +0 -564
- package/src/server/analytics-words.ts +0 -13
- package/src/server/analytics.ts +0 -423
- package/src/server/answer.ts +0 -102
- package/src/server/api-input.ts +0 -166
- package/src/server/api-modules.ts +0 -246
- package/src/server/api-params.ts +0 -83
- package/src/server/api.ts +0 -823
- package/src/server/app-database.ts +0 -43
- package/src/server/app-hooks.ts +0 -166
- package/src/server/app-identity.ts +0 -70
- package/src/server/app-stages.ts +0 -823
- package/src/server/app-store.ts +0 -79
- package/src/server/app.ts +0 -238
- package/src/server/auth-mails.ts +0 -162
- package/src/server/auto-listen.ts +0 -177
- package/src/server/avif-worker.ts +0 -138
- package/src/server/avif.ts +0 -124
- package/src/server/base.ts +0 -136
- package/src/server/basic-auth.ts +0 -129
- package/src/server/body.ts +0 -179
- package/src/server/build-files.ts +0 -117
- package/src/server/builtins.ts +0 -8
- package/src/server/bundle.ts +0 -83
- package/src/server/button-form-rule.ts +0 -20
- package/src/server/card-draw.ts +0 -220
- package/src/server/card-template.ts +0 -256
- package/src/server/card.ts +0 -666
- package/src/server/ceiling.ts +0 -10
- package/src/server/clean-context.ts +0 -6
- package/src/server/client.ts +0 -612
- package/src/server/codec/avif-enc-build.ts +0 -2
- package/src/server/codec/avif-enc.d.ts +0 -15
- package/src/server/codec/avif-enc.js +0 -2
- package/src/server/codec/avif-enc.wasm +0 -0
- package/src/server/compress-policy.ts +0 -40
- package/src/server/compress.ts +0 -1010
- package/src/server/config-error.ts +0 -54
- package/src/server/config-limits.ts +0 -186
- package/src/server/consent-cookie.ts +0 -10
- package/src/server/context-layout/_layout.kay +0 -7
- package/src/server/context-reads.ts +0 -33
- package/src/server/context-record.ts +0 -58
- package/src/server/context-values.ts +0 -182
- package/src/server/cookie-names.ts +0 -10
- package/src/server/cors.ts +0 -235
- package/src/server/crop.ts +0 -153
- package/src/server/cross-site.ts +0 -155
- package/src/server/csp.ts +0 -40
- package/src/server/dev-data.ts +0 -558
- package/src/server/dev-errors.ts +0 -270
- package/src/server/dev-footprint.ts +0 -19
- package/src/server/dev-head.ts +0 -95
- package/src/server/dev-jobs.ts +0 -59
- package/src/server/dev-not-found.ts +0 -96
- package/src/server/dev-notes.ts +0 -12
- package/src/server/dev-offered.ts +0 -13
- package/src/server/dev-secret.ts +0 -65
- package/src/server/dev-sizes.ts +0 -114
- package/src/server/dev-sqlite-worker.ts +0 -96
- package/src/server/dev-ui.ts +0 -299
- package/src/server/dev.ts +0 -875
- package/src/server/dictionary.ts +0 -190
- package/src/server/drain.ts +0 -40
- package/src/server/editor.ts +0 -79
- package/src/server/endpoint-claims.ts +0 -29
- package/src/server/endpoint-verbs.ts +0 -43
- package/src/server/endpoints.ts +0 -420
- package/src/server/entry-drafts.ts +0 -151
- package/src/server/entry-head.ts +0 -50
- package/src/server/entry-urls.ts +0 -150
- package/src/server/env-state.ts +0 -176
- package/src/server/error-maps.ts +0 -137
- package/src/server/errors.ts +0 -110
- package/src/server/event-stream.ts +0 -216
- package/src/server/face.ts +0 -788
- package/src/server/favicon.png +0 -0
- package/src/server/favicon.svg +0 -1
- package/src/server/favicon.ts +0 -437
- package/src/server/fetch-public.ts +0 -119
- package/src/server/file-answer.ts +0 -89
- package/src/server/file-limit.ts +0 -68
- package/src/server/file-type.ts +0 -46
- package/src/server/flash.ts +0 -140
- package/src/server/font-metrics.ts +0 -294
- package/src/server/fonts.ts +0 -344
- package/src/server/forms.ts +0 -89
- package/src/server/guard-requirement.ts +0 -23
- package/src/server/guard-runs.ts +0 -30
- package/src/server/guards.ts +0 -138
- package/src/server/handler-timing.ts +0 -12
- package/src/server/history.ts +0 -3
- package/src/server/hooks.ts +0 -170
- package/src/server/host-allowlist.ts +0 -63
- package/src/server/hydration.ts +0 -7
- package/src/server/i18n.ts +0 -533
- package/src/server/image-color.ts +0 -79
- package/src/server/image-format.ts +0 -181
- package/src/server/image-limits.ts +0 -89
- package/src/server/image-metadata-bmff.ts +0 -243
- package/src/server/image-metadata.ts +0 -316
- package/src/server/image.ts +0 -835
- package/src/server/internal.ts +0 -8
- package/src/server/job-admin.ts +0 -197
- package/src/server/job-context.ts +0 -35
- package/src/server/job-status.ts +0 -8
- package/src/server/job-steps.ts +0 -2
- package/src/server/jobs-page.ts +0 -143
- package/src/server/jobs.ts +0 -434
- package/src/server/kay-routes.ts +0 -221
- package/src/server/kay-server.ts +0 -228
- package/src/server/kept-exports.ts +0 -176
- package/src/server/kept-pages.ts +0 -117
- package/src/server/kept-source.ts +0 -609
- package/src/server/kv.ts +0 -214
- package/src/server/lazy-guard.ts +0 -74
- package/src/server/library.ts +0 -143
- package/src/server/lifecycle.ts +0 -378
- package/src/server/limit.ts +0 -33
- package/src/server/link-schemes.ts +0 -23
- package/src/server/links.ts +0 -238
- package/src/server/literal-writes.ts +0 -756
- package/src/server/live.ts +0 -700
- package/src/server/load-budget.ts +0 -69
- package/src/server/loader.ts +0 -182
- package/src/server/loading-page.ts +0 -41
- package/src/server/local-files.ts +0 -26
- package/src/server/log.ts +0 -297
- package/src/server/maintenance.ts +0 -141
- package/src/server/mcp-key.ts +0 -168
- package/src/server/mcp.ts +0 -739
- package/src/server/memory-jobs.ts +0 -168
- package/src/server/memory-mark.ts +0 -12
- package/src/server/message-drafts.ts +0 -284
- package/src/server/metrics.ts +0 -225
- package/src/server/missing-hits.ts +0 -41
- package/src/server/module-state.ts +0 -327
- package/src/server/new-tab.ts +0 -28
- package/src/server/not-found-config.ts +0 -161
- package/src/server/not-found.ts +0 -828
- package/src/server/notifications.ts +0 -360
- package/src/server/offline.ts +0 -575
- package/src/server/openapi.ts +0 -527
- package/src/server/option-keys.ts +0 -15
- package/src/server/over-limit.ts +0 -29
- package/src/server/overlay.ts +0 -196
- package/src/server/own-headers.ts +0 -221
- package/src/server/page-error.ts +0 -57
- package/src/server/page-flags.ts +0 -15
- package/src/server/page-headers.ts +0 -93
- package/src/server/page-hook.ts +0 -201
- package/src/server/page-limits.ts +0 -142
- package/src/server/page-reads.ts +0 -63
- package/src/server/page-routes.ts +0 -377
- package/src/server/page-seo.ts +0 -29
- package/src/server/page-settings.ts +0 -118
- package/src/server/params.ts +0 -197
- package/src/server/parent.ts +0 -8
- package/src/server/personal-data.ts +0 -47
- package/src/server/pg-cache.ts +0 -181
- package/src/server/pg-data.ts +0 -255
- package/src/server/pg-jobs.ts +0 -512
- package/src/server/pg-limit.ts +0 -52
- package/src/server/pg-live.ts +0 -289
- package/src/server/pg-not-found.ts +0 -441
- package/src/server/pg-notify.ts +0 -216
- package/src/server/pg-orm.ts +0 -26
- package/src/server/pg-poll.ts +0 -341
- package/src/server/pg-redirects.ts +0 -211
- package/src/server/pg-rooms.ts +0 -550
- package/src/server/pg-sql.ts +0 -16
- package/src/server/pg-stores.ts +0 -358
- package/src/server/phases.ts +0 -249
- package/src/server/plugin.ts +0 -30
- package/src/server/plumbing.ts +0 -90
- package/src/server/png.ts +0 -108
- package/src/server/prebuilt-loader.ts +0 -110
- package/src/server/prerender.ts +0 -778
- package/src/server/prerendered.ts +0 -162
- package/src/server/presence.ts +0 -251
- package/src/server/preview.ts +0 -705
- package/src/server/private-dir.ts +0 -87
- package/src/server/protection.ts +0 -1094
- package/src/server/proxy-key.ts +0 -79
- package/src/server/public-suffix.ts +0 -59
- package/src/server/public-suffixes.ts +0 -502
- package/src/server/public.ts +0 -299
- package/src/server/publishing.ts +0 -176
- package/src/server/pure-page.ts +0 -371
- package/src/server/push-crypto.ts +0 -155
- package/src/server/push-keys-command.ts +0 -25
- package/src/server/push-server.ts +0 -125
- package/src/server/push-settings.ts +0 -81
- package/src/server/push-store.ts +0 -182
- package/src/server/push.ts +0 -472
- package/src/server/query.ts +0 -251
- package/src/server/queue-live.ts +0 -291
- package/src/server/queue-scheduler.ts +0 -426
- package/src/server/queue-telling.ts +0 -53
- package/src/server/queue.ts +0 -944
- package/src/server/raster.ts +0 -176
- package/src/server/rate-limit.ts +0 -70
- package/src/server/rate-refusal.ts +0 -36
- package/src/server/rate-windows.ts +0 -14
- package/src/server/reach-walk.ts +0 -65
- package/src/server/reach.ts +0 -124
- package/src/server/receive.ts +0 -43
- package/src/server/redirect-spelling.ts +0 -57
- package/src/server/redirects.ts +0 -209
- package/src/server/reload.ts +0 -88
- package/src/server/remote.ts +0 -359
- package/src/server/render-document.ts +0 -555
- package/src/server/render.ts +0 -1022
- package/src/server/report.ts +0 -103
- package/src/server/request-context.ts +0 -137
- package/src/server/request-read.ts +0 -38
- package/src/server/request-record.ts +0 -107
- package/src/server/request-scope.ts +0 -58
- package/src/server/request-timeout.ts +0 -209
- package/src/server/request-url.ts +0 -47
- package/src/server/request-user.ts +0 -25
- package/src/server/resources.ts +0 -133
- package/src/server/response-mismatch.ts +0 -21
- package/src/server/revalidate.ts +0 -100
- package/src/server/rewrite.ts +0 -143
- package/src/server/rooms.ts +0 -800
- package/src/server/route-settings.ts +0 -236
- package/src/server/route-table.ts +0 -155
- package/src/server/routes.ts +0 -735
- package/src/server/runtime-redirect-api.ts +0 -227
- package/src/server/runtime-redirects.ts +0 -438
- package/src/server/safe-path.ts +0 -26
- package/src/server/save-data.ts +0 -150
- package/src/server/schema-answer.ts +0 -42
- package/src/server/schema-check.ts +0 -102
- package/src/server/scope.ts +0 -136
- package/src/server/seal.ts +0 -73
- package/src/server/secret.ts +0 -76
- package/src/server/seo.ts +0 -246
- package/src/server/served-paths.ts +0 -136
- package/src/server/server-islands.ts +0 -175
- package/src/server/server-record.ts +0 -80
- package/src/server/serving.ts +0 -35
- package/src/server/session.ts +0 -802
- package/src/server/setup.ts +0 -259
- package/src/server/sha256.ts +0 -15
- package/src/server/signals.ts +0 -117
- package/src/server/signed.ts +0 -63
- package/src/server/site-facts.ts +0 -19
- package/src/server/site-paths.ts +0 -3
- package/src/server/sitemap.ts +0 -415
- package/src/server/snake-case.ts +0 -6
- package/src/server/socket.ts +0 -343
- package/src/server/source.ts +0 -191
- package/src/server/speculation.ts +0 -57
- package/src/server/sqlite-data.ts +0 -19
- package/src/server/sqlite-live.ts +0 -202
- package/src/server/stale-pages.ts +0 -105
- package/src/server/stamp.ts +0 -222
- package/src/server/storage.ts +0 -582
- package/src/server/stream.ts +0 -316
- package/src/server/string.ts +0 -79
- package/src/server/svg-icon.ts +0 -76
- package/src/server/swap.ts +0 -4
- package/src/server/tool-outputs.ts +0 -71
- package/src/server/tool-settings.ts +0 -12
- package/src/server/trace-context.ts +0 -89
- package/src/server/trace.ts +0 -198
- package/src/server/translations.ts +0 -30
- package/src/server/typography.ts +0 -248
- package/src/server/uncaught.ts +0 -60
- package/src/server/unsafe-urls.ts +0 -29
- package/src/server/validate.ts +0 -346
- package/src/server/violations.ts +0 -160
- package/src/server/visit.ts +0 -54
- package/src/server/vitals-routes/_guard.ts +0 -12
- package/src/server/vitals-routes/index.kay +0 -45
- package/src/server/vitals-routes/vitals.css +0 -30
- package/src/server/vitals-screen.ts +0 -24
- package/src/server/vitals-script.ts +0 -102
- package/src/server/vitals-server.ts +0 -135
- package/src/server/vitals-store.ts +0 -233
- package/src/server/vitals.ts +0 -81
- package/src/server/wasm.d.ts +0 -6
- package/src/server/web-socket.ts +0 -13
- package/src/server/wildcards.ts +0 -87
- package/src/server/words.ts +0 -149
- package/src/server/work-scope.ts +0 -65
- package/src/server/work.ts +0 -91
- package/src/server/workers.ts +0 -294
- package/src/server/workflow.ts +0 -528
- package/src/server/writes.ts +0 -161
- package/src/server/ws-limits.ts +0 -183
- package/src/svg-attributes.ts +0 -240
- package/src/template-auth.ts +0 -79
- package/src/template-ci.ts +0 -156
- package/src/template-config.ts +0 -43
- package/src/template-docker.ts +0 -260
- package/src/template-pins.ts +0 -14
- package/src/template-shared.ts +0 -56
- package/src/template-starter.ts +0 -131
- package/src/template-styles.ts +0 -166
- package/src/template-ws.ts +0 -57
- package/src/templates.ts +0 -74
- package/src/test/a11y-dom.ts +0 -70
- package/src/test/a11y.ts +0 -55
- package/src/test/browser.ts +0 -1235
- package/src/test/clock.ts +0 -121
- package/src/test/content.ts +0 -345
- package/src/test/cookies.ts +0 -94
- package/src/test/database.ts +0 -57
- package/src/test/dom.ts +0 -90
- package/src/test/env.ts +0 -58
- package/src/test/html-snapshot.ts +0 -103
- package/src/test/interact.ts +0 -134
- package/src/test/isolation.ts +0 -19
- package/src/test/lazy-plugins.ts +0 -269
- package/src/test/mount.ts +0 -258
- package/src/test/natives.ts +0 -44
- package/src/test/network.ts +0 -678
- package/src/test/outgoing.ts +0 -138
- package/src/test/outputs.ts +0 -54
- package/src/test/override-env.ts +0 -40
- package/src/test/page-checks.ts +0 -12
- package/src/test/page-types.ts +0 -153
- package/src/test/page.ts +0 -338
- package/src/test/preload.ts +0 -27
- package/src/test/reset.ts +0 -13
- package/src/test/root.ts +0 -13
- package/src/test/scratch.ts +0 -12
- package/src/test/screenshot-match.ts +0 -69
- package/src/test/service.ts +0 -180
- package/src/test/shared-modules.ts +0 -350
- package/src/test/site-actions.ts +0 -155
- package/src/test/site-api.ts +0 -19
- package/src/test/site-keys.ts +0 -44
- package/src/test/site-mcp.ts +0 -36
- package/src/test/site-scope.ts +0 -35
- package/src/test/site-socket.ts +0 -128
- package/src/test/site-types.ts +0 -180
- package/src/test/site-world.ts +0 -86
- package/src/test/sites.ts +0 -29
- package/src/test/text-match.ts +0 -44
- package/src/test/timeout.ts +0 -45
- package/src/test/wait.ts +0 -34
- package/src/test/writable.ts +0 -20
- package/src/tsconfig.app.json +0 -21
- package/src/tsgo.ts +0 -18
- package/types/a11y/audit.d.ts +0 -32
- package/types/a11y/audit.d.ts.map +0 -1
- package/types/a11y/report.d.ts +0 -20
- package/types/a11y/report.d.ts.map +0 -1
- package/types/a11y/rgaa-criteria.d.ts +0 -5
- package/types/a11y/rgaa-criteria.d.ts.map +0 -1
- package/types/a11y/standards.d.ts +0 -17
- package/types/a11y/standards.d.ts.map +0 -1
- package/types/a11y/targets.d.ts +0 -20
- package/types/a11y/targets.d.ts.map +0 -1
- package/types/add.d.ts +0 -56
- package/types/add.d.ts.map +0 -1
- package/types/build/action-calls.d.ts +0 -2
- package/types/build/action-calls.d.ts.map +0 -1
- package/types/build/assets.d.ts +0 -17
- package/types/build/assets.d.ts.map +0 -1
- package/types/build/await-alert.d.ts +0 -4
- package/types/build/await-alert.d.ts.map +0 -1
- package/types/build/budget.d.ts +0 -17
- package/types/build/budget.d.ts.map +0 -1
- package/types/build/bun.d.ts +0 -9
- package/types/build/bun.d.ts.map +0 -1
- package/types/build/cache-ids.d.ts +0 -2
- package/types/build/cache-ids.d.ts.map +0 -1
- package/types/build/cache.d.ts +0 -15
- package/types/build/cache.d.ts.map +0 -1
- package/types/build/captured-loads.d.ts +0 -19
- package/types/build/captured-loads.d.ts.map +0 -1
- package/types/build/class-rules.d.ts +0 -15
- package/types/build/class-rules.d.ts.map +0 -1
- package/types/build/class-sources.d.ts +0 -29
- package/types/build/class-sources.d.ts.map +0 -1
- package/types/build/class-table.d.ts +0 -8
- package/types/build/class-table.d.ts.map +0 -1
- package/types/build/client.d.ts +0 -89
- package/types/build/client.d.ts.map +0 -1
- package/types/build/collection-components.d.ts +0 -5
- package/types/build/collection-components.d.ts.map +0 -1
- package/types/build/compile.d.ts +0 -23
- package/types/build/compile.d.ts.map +0 -1
- package/types/build/compressed.d.ts +0 -7
- package/types/build/compressed.d.ts.map +0 -1
- package/types/build/direct-imports.d.ts +0 -2
- package/types/build/direct-imports.d.ts.map +0 -1
- package/types/build/dynamic-classes.d.ts +0 -12
- package/types/build/dynamic-classes.d.ts.map +0 -1
- package/types/build/entry-files.d.ts +0 -4
- package/types/build/entry-files.d.ts.map +0 -1
- package/types/build/favicons.d.ts +0 -4
- package/types/build/favicons.d.ts.map +0 -1
- package/types/build/files.d.ts +0 -56
- package/types/build/files.d.ts.map +0 -1
- package/types/build/fingerprint.d.ts +0 -3
- package/types/build/fingerprint.d.ts.map +0 -1
- package/types/build/footprint-models.d.ts +0 -24
- package/types/build/footprint-models.d.ts.map +0 -1
- package/types/build/footprint.d.ts +0 -44
- package/types/build/footprint.d.ts.map +0 -1
- package/types/build/glob.d.ts +0 -10
- package/types/build/glob.d.ts.map +0 -1
- package/types/build/globbed.d.ts +0 -2
- package/types/build/globbed.d.ts.map +0 -1
- package/types/build/header-files.d.ts +0 -4
- package/types/build/header-files.d.ts.map +0 -1
- package/types/build/icon-slots.d.ts +0 -7
- package/types/build/icon-slots.d.ts.map +0 -1
- package/types/build/icons.d.ts +0 -9
- package/types/build/icons.d.ts.map +0 -1
- package/types/build/increments.d.ts +0 -50
- package/types/build/increments.d.ts.map +0 -1
- package/types/build/insert-ids.d.ts +0 -10
- package/types/build/insert-ids.d.ts.map +0 -1
- package/types/build/island-images.d.ts +0 -45
- package/types/build/island-images.d.ts.map +0 -1
- package/types/build/kept-maps.d.ts +0 -3
- package/types/build/kept-maps.d.ts.map +0 -1
- package/types/build/kept.d.ts +0 -5
- package/types/build/kept.d.ts.map +0 -1
- package/types/build/layer-order.d.ts +0 -2
- package/types/build/layer-order.d.ts.map +0 -1
- package/types/build/lazy-components.d.ts +0 -6
- package/types/build/lazy-components.d.ts.map +0 -1
- package/types/build/lazy-manifest.d.ts +0 -19
- package/types/build/lazy-manifest.d.ts.map +0 -1
- package/types/build/lazy-stubs.d.ts +0 -5
- package/types/build/lazy-stubs.d.ts.map +0 -1
- package/types/build/libraries.d.ts +0 -55
- package/types/build/libraries.d.ts.map +0 -1
- package/types/build/licenses.d.ts +0 -16
- package/types/build/licenses.d.ts.map +0 -1
- package/types/build/links.d.ts +0 -3
- package/types/build/links.d.ts.map +0 -1
- package/types/build/live-ids.d.ts +0 -3
- package/types/build/live-ids.d.ts.map +0 -1
- package/types/build/manifests.d.ts +0 -26
- package/types/build/manifests.d.ts.map +0 -1
- package/types/build/named-refresh.d.ts +0 -3
- package/types/build/named-refresh.d.ts.map +0 -1
- package/types/build/navigation-locale.d.ts +0 -3
- package/types/build/navigation-locale.d.ts.map +0 -1
- package/types/build/page-dirs.d.ts +0 -8
- package/types/build/page-dirs.d.ts.map +0 -1
- package/types/build/pipeline.d.ts +0 -60
- package/types/build/pipeline.d.ts.map +0 -1
- package/types/build/plugin.d.ts +0 -32
- package/types/build/plugin.d.ts.map +0 -1
- package/types/build/probe.d.ts +0 -6
- package/types/build/probe.d.ts.map +0 -1
- package/types/build/prune.d.ts +0 -5
- package/types/build/prune.d.ts.map +0 -1
- package/types/build/recipe-classes.d.ts +0 -13
- package/types/build/recipe-classes.d.ts.map +0 -1
- package/types/build/recipe-utilities.d.ts +0 -4
- package/types/build/recipe-utilities.d.ts.map +0 -1
- package/types/build/references.d.ts +0 -7
- package/types/build/references.d.ts.map +0 -1
- package/types/build/report.d.ts +0 -95
- package/types/build/report.d.ts.map +0 -1
- package/types/build/route-sizes.d.ts +0 -7
- package/types/build/route-sizes.d.ts.map +0 -1
- package/types/build/runtime-chunk.d.ts +0 -25
- package/types/build/runtime-chunk.d.ts.map +0 -1
- package/types/build/runtime-config.d.ts +0 -3
- package/types/build/runtime-config.d.ts.map +0 -1
- package/types/build/search.d.ts +0 -7
- package/types/build/search.d.ts.map +0 -1
- package/types/build/server-only.d.ts +0 -40
- package/types/build/server-only.d.ts.map +0 -1
- package/types/build/server-record.d.ts +0 -4
- package/types/build/server-record.d.ts.map +0 -1
- package/types/build/signals.d.ts +0 -5
- package/types/build/signals.d.ts.map +0 -1
- package/types/build/source-files.d.ts +0 -15
- package/types/build/source-files.d.ts.map +0 -1
- package/types/build/source-parses.d.ts +0 -22
- package/types/build/source-parses.d.ts.map +0 -1
- package/types/build/sourcemap.d.ts +0 -29
- package/types/build/sourcemap.d.ts.map +0 -1
- package/types/build/static.d.ts +0 -11
- package/types/build/static.d.ts.map +0 -1
- package/types/build/style-uses.d.ts +0 -20
- package/types/build/style-uses.d.ts.map +0 -1
- package/types/build/styles.d.ts +0 -12
- package/types/build/styles.d.ts.map +0 -1
- package/types/build/supports.d.ts +0 -16
- package/types/build/supports.d.ts.map +0 -1
- package/types/build/theme-vars.d.ts +0 -2
- package/types/build/theme-vars.d.ts.map +0 -1
- package/types/build/transform.d.ts +0 -50
- package/types/build/transform.d.ts.map +0 -1
- package/types/build/ui-info.d.ts +0 -27
- package/types/build/ui-info.d.ts.map +0 -1
- package/types/build/ui-layers.d.ts +0 -5
- package/types/build/ui-layers.d.ts.map +0 -1
- package/types/build/ui.d.ts +0 -58
- package/types/build/ui.d.ts.map +0 -1
- package/types/build/variants.d.ts +0 -29
- package/types/build/variants.d.ts.map +0 -1
- package/types/build/verify.d.ts +0 -15
- package/types/build/verify.d.ts.map +0 -1
- package/types/build/warn-classes.d.ts +0 -4
- package/types/build/warn-classes.d.ts.map +0 -1
- package/types/build/worker-bundle.d.ts +0 -17
- package/types/build/worker-bundle.d.ts.map +0 -1
- package/types/bun.d.ts +0 -9
- package/types/bun.d.ts.map +0 -1
- package/types/check/action-options.d.ts +0 -3
- package/types/check/action-options.d.ts.map +0 -1
- package/types/check/api-modules.d.ts +0 -11
- package/types/check/api-modules.d.ts.map +0 -1
- package/types/check/api-scope.d.ts +0 -13
- package/types/check/api-scope.d.ts.map +0 -1
- package/types/check/ast.d.ts +0 -10
- package/types/check/ast.d.ts.map +0 -1
- package/types/check/bindings.d.ts +0 -4
- package/types/check/bindings.d.ts.map +0 -1
- package/types/check/boot.d.ts +0 -6
- package/types/check/boot.d.ts.map +0 -1
- package/types/check/browser-global-reads.d.ts +0 -8
- package/types/check/browser-global-reads.d.ts.map +0 -1
- package/types/check/builtin-imports.d.ts +0 -5
- package/types/check/builtin-imports.d.ts.map +0 -1
- package/types/check/class-words.d.ts +0 -7
- package/types/check/class-words.d.ts.map +0 -1
- package/types/check/config-keys.d.ts +0 -7
- package/types/check/config-keys.d.ts.map +0 -1
- package/types/check/config-objects.d.ts +0 -16
- package/types/check/config-objects.d.ts.map +0 -1
- package/types/check/diagnose.d.ts +0 -36
- package/types/check/diagnose.d.ts.map +0 -1
- package/types/check/dockerfile.d.ts +0 -4
- package/types/check/dockerfile.d.ts.map +0 -1
- package/types/check/endpoint-exports.d.ts +0 -4
- package/types/check/endpoint-exports.d.ts.map +0 -1
- package/types/check/env-types.d.ts +0 -8
- package/types/check/env-types.d.ts.map +0 -1
- package/types/check/export-homes.d.ts +0 -6
- package/types/check/export-homes.d.ts.map +0 -1
- package/types/check/fixes.d.ts +0 -3
- package/types/check/fixes.d.ts.map +0 -1
- package/types/check/generated.d.ts +0 -27
- package/types/check/generated.d.ts.map +0 -1
- package/types/check/guards.d.ts +0 -5
- package/types/check/guards.d.ts.map +0 -1
- package/types/check/index.d.ts +0 -37
- package/types/check/index.d.ts.map +0 -1
- package/types/check/island-modules.d.ts +0 -21
- package/types/check/island-modules.d.ts.map +0 -1
- package/types/check/island-only.d.ts +0 -11
- package/types/check/island-only.d.ts.map +0 -1
- package/types/check/large-images.d.ts +0 -5
- package/types/check/large-images.d.ts.map +0 -1
- package/types/check/layout-facts.d.ts +0 -8
- package/types/check/layout-facts.d.ts.map +0 -1
- package/types/check/loaded.d.ts +0 -8
- package/types/check/loaded.d.ts.map +0 -1
- package/types/check/loop-index-fix.d.ts +0 -4
- package/types/check/loop-index-fix.d.ts.map +0 -1
- package/types/check/mcp-routes.d.ts +0 -4
- package/types/check/mcp-routes.d.ts.map +0 -1
- package/types/check/messages.d.ts +0 -7
- package/types/check/messages.d.ts.map +0 -1
- package/types/check/missing-imports.d.ts +0 -5
- package/types/check/missing-imports.d.ts.map +0 -1
- package/types/check/moved-keys.d.ts +0 -10
- package/types/check/moved-keys.d.ts.map +0 -1
- package/types/check/open-settings.d.ts +0 -4
- package/types/check/open-settings.d.ts.map +0 -1
- package/types/check/output-schema.d.ts +0 -5
- package/types/check/output-schema.d.ts.map +0 -1
- package/types/check/page-heads.d.ts +0 -5
- package/types/check/page-heads.d.ts.map +0 -1
- package/types/check/page-structure.d.ts +0 -8
- package/types/check/page-structure.d.ts.map +0 -1
- package/types/check/project.d.ts +0 -37
- package/types/check/project.d.ts.map +0 -1
- package/types/check/public-env-outside-src.d.ts +0 -3
- package/types/check/public-env-outside-src.d.ts.map +0 -1
- package/types/check/queries.d.ts +0 -4
- package/types/check/queries.d.ts.map +0 -1
- package/types/check/regroup.d.ts +0 -8
- package/types/check/regroup.d.ts.map +0 -1
- package/types/check/removed-ui-tokens.d.ts +0 -5
- package/types/check/removed-ui-tokens.d.ts.map +0 -1
- package/types/check/renamed-call-options.d.ts +0 -14
- package/types/check/renamed-call-options.d.ts.map +0 -1
- package/types/check/renamed-exports.d.ts +0 -32
- package/types/check/renamed-exports.d.ts.map +0 -1
- package/types/check/renamed-packages.d.ts +0 -3
- package/types/check/renamed-packages.d.ts.map +0 -1
- package/types/check/route-shadow.d.ts +0 -12
- package/types/check/route-shadow.d.ts.map +0 -1
- package/types/check/schema-builders.d.ts +0 -3
- package/types/check/schema-builders.d.ts.map +0 -1
- package/types/check/schema-json.d.ts +0 -3
- package/types/check/schema-json.d.ts.map +0 -1
- package/types/check/seo.d.ts +0 -57
- package/types/check/seo.d.ts.map +0 -1
- package/types/check/server-only-reads.d.ts +0 -5
- package/types/check/server-only-reads.d.ts.map +0 -1
- package/types/check/shadow-types.d.ts +0 -49
- package/types/check/shadow-types.d.ts.map +0 -1
- package/types/check/shadow.d.ts +0 -63
- package/types/check/shadow.d.ts.map +0 -1
- package/types/check/site-seo.d.ts +0 -21
- package/types/check/site-seo.d.ts.map +0 -1
- package/types/check/socket-routes.d.ts +0 -4
- package/types/check/socket-routes.d.ts.map +0 -1
- package/types/check/status-pages.d.ts +0 -4
- package/types/check/status-pages.d.ts.map +0 -1
- package/types/check/template-hints.d.ts +0 -12
- package/types/check/template-hints.d.ts.map +0 -1
- package/types/check/text-size-colour.d.ts +0 -3
- package/types/check/text-size-colour.d.ts.map +0 -1
- package/types/check/tool-labels.d.ts +0 -3
- package/types/check/tool-labels.d.ts.map +0 -1
- package/types/check/tool-outputs.d.ts +0 -6
- package/types/check/tool-outputs.d.ts.map +0 -1
- package/types/check/tsgo.d.ts +0 -18
- package/types/check/tsgo.d.ts.map +0 -1
- package/types/check/typing-stamp.d.ts +0 -2
- package/types/check/typing-stamp.d.ts.map +0 -1
- package/types/check/ui-tokens.d.ts +0 -16
- package/types/check/ui-tokens.d.ts.map +0 -1
- package/types/check/ui-types.d.ts +0 -3
- package/types/check/ui-types.d.ts.map +0 -1
- package/types/check/ui.d.ts +0 -7
- package/types/check/ui.d.ts.map +0 -1
- package/types/check/unmounted-jobs.d.ts +0 -3
- package/types/check/unmounted-jobs.d.ts.map +0 -1
- package/types/cli.d.ts +0 -3
- package/types/cli.d.ts.map +0 -1
- package/types/commands/a11y.d.ts +0 -3
- package/types/commands/a11y.d.ts.map +0 -1
- package/types/commands/add-peers.d.ts +0 -2
- package/types/commands/add-peers.d.ts.map +0 -1
- package/types/commands/add.d.ts +0 -3
- package/types/commands/add.d.ts.map +0 -1
- package/types/commands/build.d.ts +0 -3
- package/types/commands/build.d.ts.map +0 -1
- package/types/commands/check.d.ts +0 -3
- package/types/commands/check.d.ts.map +0 -1
- package/types/commands/command.d.ts +0 -87
- package/types/commands/command.d.ts.map +0 -1
- package/types/commands/completion.d.ts +0 -5
- package/types/commands/completion.d.ts.map +0 -1
- package/types/commands/dev.d.ts +0 -3
- package/types/commands/dev.d.ts.map +0 -1
- package/types/commands/docs.d.ts +0 -3
- package/types/commands/docs.d.ts.map +0 -1
- package/types/commands/doctor.d.ts +0 -12
- package/types/commands/doctor.d.ts.map +0 -1
- package/types/commands/editor.d.ts +0 -3
- package/types/commands/editor.d.ts.map +0 -1
- package/types/commands/env-compare.d.ts +0 -25
- package/types/commands/env-compare.d.ts.map +0 -1
- package/types/commands/env-declare.d.ts +0 -5
- package/types/commands/env-declare.d.ts.map +0 -1
- package/types/commands/env.d.ts +0 -14
- package/types/commands/env.d.ts.map +0 -1
- package/types/commands/explain-island.d.ts +0 -3
- package/types/commands/explain-island.d.ts.map +0 -1
- package/types/commands/explain.d.ts +0 -3
- package/types/commands/explain.d.ts.map +0 -1
- package/types/commands/extensions.d.ts +0 -17
- package/types/commands/extensions.d.ts.map +0 -1
- package/types/commands/fix-path.d.ts +0 -2
- package/types/commands/fix-path.d.ts.map +0 -1
- package/types/commands/fmt.d.ts +0 -3
- package/types/commands/fmt.d.ts.map +0 -1
- package/types/commands/generate.d.ts +0 -3
- package/types/commands/generate.d.ts.map +0 -1
- package/types/commands/i18n.d.ts +0 -4
- package/types/commands/i18n.d.ts.map +0 -1
- package/types/commands/import-module.d.ts +0 -4
- package/types/commands/import-module.d.ts.map +0 -1
- package/types/commands/lint-cache.d.ts +0 -2
- package/types/commands/lint-cache.d.ts.map +0 -1
- package/types/commands/lint.d.ts +0 -3
- package/types/commands/lint.d.ts.map +0 -1
- package/types/commands/lsp.d.ts +0 -3
- package/types/commands/lsp.d.ts.map +0 -1
- package/types/commands/mcp.d.ts +0 -3
- package/types/commands/mcp.d.ts.map +0 -1
- package/types/commands/migrate.d.ts +0 -3
- package/types/commands/migrate.d.ts.map +0 -1
- package/types/commands/new.d.ts +0 -3
- package/types/commands/new.d.ts.map +0 -1
- package/types/commands/not-found.d.ts +0 -3
- package/types/commands/not-found.d.ts.map +0 -1
- package/types/commands/project-checks.d.ts +0 -4
- package/types/commands/project-checks.d.ts.map +0 -1
- package/types/commands/registry.d.ts +0 -13
- package/types/commands/registry.d.ts.map +0 -1
- package/types/commands/render.d.ts +0 -3
- package/types/commands/render.d.ts.map +0 -1
- package/types/commands/routes.d.ts +0 -18
- package/types/commands/routes.d.ts.map +0 -1
- package/types/commands/screenshot.d.ts +0 -3
- package/types/commands/screenshot.d.ts.map +0 -1
- package/types/commands/start.d.ts +0 -3
- package/types/commands/start.d.ts.map +0 -1
- package/types/commands/test.d.ts +0 -3
- package/types/commands/test.d.ts.map +0 -1
- package/types/commands/types.d.ts +0 -3
- package/types/commands/types.d.ts.map +0 -1
- package/types/commands/upgrade-majors.d.ts +0 -7
- package/types/commands/upgrade-majors.d.ts.map +0 -1
- package/types/commands/upgrade-manifest.d.ts +0 -6
- package/types/commands/upgrade-manifest.d.ts.map +0 -1
- package/types/commands/upgrade-messages.d.ts +0 -4
- package/types/commands/upgrade-messages.d.ts.map +0 -1
- package/types/commands/upgrade-peers.d.ts +0 -23
- package/types/commands/upgrade-peers.d.ts.map +0 -1
- package/types/commands/upgrade.d.ts +0 -50
- package/types/commands/upgrade.d.ts.map +0 -1
- package/types/compiler/a11y-markup.d.ts +0 -81
- package/types/compiler/a11y-markup.d.ts.map +0 -1
- package/types/compiler/a11y.d.ts +0 -4
- package/types/compiler/a11y.d.ts.map +0 -1
- package/types/compiler/allow-comments.d.ts +0 -22
- package/types/compiler/allow-comments.d.ts.map +0 -1
- package/types/compiler/aria.d.ts +0 -10
- package/types/compiler/aria.d.ts.map +0 -1
- package/types/compiler/ast.d.ts +0 -283
- package/types/compiler/ast.d.ts.map +0 -1
- package/types/compiler/bound-props.d.ts +0 -17
- package/types/compiler/bound-props.d.ts.map +0 -1
- package/types/compiler/browser.d.ts +0 -23
- package/types/compiler/browser.d.ts.map +0 -1
- package/types/compiler/button-forms.d.ts +0 -3
- package/types/compiler/button-forms.d.ts.map +0 -1
- package/types/compiler/class-items.d.ts +0 -7
- package/types/compiler/class-items.d.ts.map +0 -1
- package/types/compiler/class-name.d.ts +0 -10
- package/types/compiler/class-name.d.ts.map +0 -1
- package/types/compiler/codegen.d.ts +0 -66
- package/types/compiler/codegen.d.ts.map +0 -1
- package/types/compiler/dead-code.d.ts +0 -9
- package/types/compiler/dead-code.d.ts.map +0 -1
- package/types/compiler/deprecated-library.d.ts +0 -4
- package/types/compiler/deprecated-library.d.ts.map +0 -1
- package/types/compiler/deprecated-lints-1-106.d.ts +0 -12
- package/types/compiler/deprecated-lints-1-106.d.ts.map +0 -1
- package/types/compiler/deprecated-lints-1-107.d.ts +0 -12
- package/types/compiler/deprecated-lints-1-107.d.ts.map +0 -1
- package/types/compiler/deprecated-lints.d.ts +0 -33
- package/types/compiler/deprecated-lints.d.ts.map +0 -1
- package/types/compiler/deprecated-ui-props.d.ts +0 -7
- package/types/compiler/deprecated-ui-props.d.ts.map +0 -1
- package/types/compiler/diagnostics.d.ts +0 -16
- package/types/compiler/diagnostics.d.ts.map +0 -1
- package/types/compiler/dom-fields.d.ts +0 -7
- package/types/compiler/dom-fields.d.ts.map +0 -1
- package/types/compiler/dom-here.d.ts +0 -14
- package/types/compiler/dom-here.d.ts.map +0 -1
- package/types/compiler/dom-property.d.ts +0 -9
- package/types/compiler/dom-property.d.ts.map +0 -1
- package/types/compiler/dom.d.ts +0 -47
- package/types/compiler/dom.d.ts.map +0 -1
- package/types/compiler/each-node.d.ts +0 -3
- package/types/compiler/each-node.d.ts.map +0 -1
- package/types/compiler/else-problem.d.ts +0 -5
- package/types/compiler/else-problem.d.ts.map +0 -1
- package/types/compiler/errors.d.ts +0 -838
- package/types/compiler/errors.d.ts.map +0 -1
- package/types/compiler/estree-shapes.d.ts +0 -17
- package/types/compiler/estree-shapes.d.ts.map +0 -1
- package/types/compiler/estree.d.ts +0 -36
- package/types/compiler/estree.d.ts.map +0 -1
- package/types/compiler/event-modifiers.d.ts +0 -12
- package/types/compiler/event-modifiers.d.ts.map +0 -1
- package/types/compiler/expression.d.ts +0 -8
- package/types/compiler/expression.d.ts.map +0 -1
- package/types/compiler/fence-checks.d.ts +0 -12
- package/types/compiler/fence-checks.d.ts.map +0 -1
- package/types/compiler/fence-nodes.d.ts +0 -6
- package/types/compiler/fence-nodes.d.ts.map +0 -1
- package/types/compiler/fence-redirects.d.ts +0 -4
- package/types/compiler/fence-redirects.d.ts.map +0 -1
- package/types/compiler/field-described.d.ts +0 -6
- package/types/compiler/field-described.d.ts.map +0 -1
- package/types/compiler/fnv-hash.d.ts +0 -2
- package/types/compiler/fnv-hash.d.ts.map +0 -1
- package/types/compiler/form-action.d.ts +0 -8
- package/types/compiler/form-action.d.ts.map +0 -1
- package/types/compiler/form-info.d.ts +0 -29
- package/types/compiler/form-info.d.ts.map +0 -1
- package/types/compiler/format.d.ts +0 -11
- package/types/compiler/format.d.ts.map +0 -1
- package/types/compiler/frame.d.ts +0 -17
- package/types/compiler/frame.d.ts.map +0 -1
- package/types/compiler/globals.d.ts +0 -4
- package/types/compiler/globals.d.ts.map +0 -1
- package/types/compiler/hand-parts.d.ts +0 -10
- package/types/compiler/hand-parts.d.ts.map +0 -1
- package/types/compiler/handed-data.d.ts +0 -5
- package/types/compiler/handed-data.d.ts.map +0 -1
- package/types/compiler/head-shorthand.d.ts +0 -16
- package/types/compiler/head-shorthand.d.ts.map +0 -1
- package/types/compiler/head-tags.d.ts +0 -7
- package/types/compiler/head-tags.d.ts.map +0 -1
- package/types/compiler/helper-imports.d.ts +0 -5
- package/types/compiler/helper-imports.d.ts.map +0 -1
- package/types/compiler/host.browser.d.ts +0 -8
- package/types/compiler/host.browser.d.ts.map +0 -1
- package/types/compiler/host.d.ts +0 -13
- package/types/compiler/host.d.ts.map +0 -1
- package/types/compiler/html-fields.d.ts +0 -19
- package/types/compiler/html-fields.d.ts.map +0 -1
- package/types/compiler/html-initial.d.ts +0 -17
- package/types/compiler/html-initial.d.ts.map +0 -1
- package/types/compiler/html-parts.d.ts +0 -13
- package/types/compiler/html-parts.d.ts.map +0 -1
- package/types/compiler/html.d.ts +0 -50
- package/types/compiler/html.d.ts.map +0 -1
- package/types/compiler/i18n-lints.d.ts +0 -27
- package/types/compiler/i18n-lints.d.ts.map +0 -1
- package/types/compiler/if-alias.d.ts +0 -7
- package/types/compiler/if-alias.d.ts.map +0 -1
- package/types/compiler/image-attributes.d.ts +0 -21
- package/types/compiler/image-attributes.d.ts.map +0 -1
- package/types/compiler/import-edits.d.ts +0 -6
- package/types/compiler/import-edits.d.ts.map +0 -1
- package/types/compiler/index.d.ts +0 -67
- package/types/compiler/index.d.ts.map +0 -1
- package/types/compiler/inspect.d.ts +0 -3
- package/types/compiler/inspect.d.ts.map +0 -1
- package/types/compiler/island-arguments.d.ts +0 -14
- package/types/compiler/island-arguments.d.ts.map +0 -1
- package/types/compiler/island-cause.d.ts +0 -14
- package/types/compiler/island-cause.d.ts.map +0 -1
- package/types/compiler/island-declaration.d.ts +0 -33
- package/types/compiler/island-declaration.d.ts.map +0 -1
- package/types/compiler/island-lints.d.ts +0 -17
- package/types/compiler/island-lints.d.ts.map +0 -1
- package/types/compiler/island-marker.d.ts +0 -4
- package/types/compiler/island-marker.d.ts.map +0 -1
- package/types/compiler/island-problems.d.ts +0 -7
- package/types/compiler/island-problems.d.ts.map +0 -1
- package/types/compiler/items.d.ts +0 -92
- package/types/compiler/items.d.ts.map +0 -1
- package/types/compiler/jsx-class.d.ts +0 -7
- package/types/compiler/jsx-class.d.ts.map +0 -1
- package/types/compiler/jsx-entities.d.ts +0 -2
- package/types/compiler/jsx-entities.d.ts.map +0 -1
- package/types/compiler/jsx-field.d.ts +0 -13
- package/types/compiler/jsx-field.d.ts.map +0 -1
- package/types/compiler/jsx.d.ts +0 -50
- package/types/compiler/jsx.d.ts.map +0 -1
- package/types/compiler/kay-exports.d.ts +0 -5
- package/types/compiler/kay-exports.d.ts.map +0 -1
- package/types/compiler/lazy-imports.d.ts +0 -33
- package/types/compiler/lazy-imports.d.ts.map +0 -1
- package/types/compiler/link-flags.d.ts +0 -12
- package/types/compiler/link-flags.d.ts.map +0 -1
- package/types/compiler/lints.d.ts +0 -891
- package/types/compiler/lints.d.ts.map +0 -1
- package/types/compiler/live-reads.d.ts +0 -13
- package/types/compiler/live-reads.d.ts.map +0 -1
- package/types/compiler/load-facts.d.ts +0 -11
- package/types/compiler/load-facts.d.ts.map +0 -1
- package/types/compiler/load-plan.d.ts +0 -11
- package/types/compiler/load-plan.d.ts.map +0 -1
- package/types/compiler/loop-lints.d.ts +0 -13
- package/types/compiler/loop-lints.d.ts.map +0 -1
- package/types/compiler/mapping.d.ts +0 -74
- package/types/compiler/mapping.d.ts.map +0 -1
- package/types/compiler/markdown-block.d.ts +0 -42
- package/types/compiler/markdown-block.d.ts.map +0 -1
- package/types/compiler/markup-fields.d.ts +0 -8
- package/types/compiler/markup-fields.d.ts.map +0 -1
- package/types/compiler/markup.d.ts +0 -142
- package/types/compiler/markup.d.ts.map +0 -1
- package/types/compiler/minor.d.ts +0 -3
- package/types/compiler/minor.d.ts.map +0 -1
- package/types/compiler/module-signals.d.ts +0 -20
- package/types/compiler/module-signals.d.ts.map +0 -1
- package/types/compiler/names.d.ts +0 -26
- package/types/compiler/names.d.ts.map +0 -1
- package/types/compiler/native-typescript.d.ts +0 -5
- package/types/compiler/native-typescript.d.ts.map +0 -1
- package/types/compiler/nesting.d.ts +0 -3
- package/types/compiler/nesting.d.ts.map +0 -1
- package/types/compiler/object-literal.d.ts +0 -13
- package/types/compiler/object-literal.d.ts.map +0 -1
- package/types/compiler/own-markup.d.ts +0 -4
- package/types/compiler/own-markup.d.ts.map +0 -1
- package/types/compiler/page-settings.d.ts +0 -13
- package/types/compiler/page-settings.d.ts.map +0 -1
- package/types/compiler/parser.d.ts +0 -3
- package/types/compiler/parser.d.ts.map +0 -1
- package/types/compiler/pattern-names.d.ts +0 -4
- package/types/compiler/pattern-names.d.ts.map +0 -1
- package/types/compiler/plan.d.ts +0 -115
- package/types/compiler/plan.d.ts.map +0 -1
- package/types/compiler/public.d.ts +0 -4
- package/types/compiler/public.d.ts.map +0 -1
- package/types/compiler/removed-lints.d.ts +0 -3
- package/types/compiler/removed-lints.d.ts.map +0 -1
- package/types/compiler/rest-omits.d.ts +0 -4
- package/types/compiler/rest-omits.d.ts.map +0 -1
- package/types/compiler/rewrite-reads.d.ts +0 -69
- package/types/compiler/rewrite-reads.d.ts.map +0 -1
- package/types/compiler/rewrite-scan.d.ts +0 -11
- package/types/compiler/rewrite-scan.d.ts.map +0 -1
- package/types/compiler/rewrite-tags.d.ts +0 -4
- package/types/compiler/rewrite-tags.d.ts.map +0 -1
- package/types/compiler/rewrite-types.d.ts +0 -56
- package/types/compiler/rewrite-types.d.ts.map +0 -1
- package/types/compiler/rewrite.d.ts +0 -3
- package/types/compiler/rewrite.d.ts.map +0 -1
- package/types/compiler/route-lints.d.ts +0 -89
- package/types/compiler/route-lints.d.ts.map +0 -1
- package/types/compiler/scanner.d.ts +0 -12
- package/types/compiler/scanner.d.ts.map +0 -1
- package/types/compiler/schema-lints.d.ts +0 -11
- package/types/compiler/schema-lints.d.ts.map +0 -1
- package/types/compiler/scope.d.ts +0 -56
- package/types/compiler/scope.d.ts.map +0 -1
- package/types/compiler/scoped-style.d.ts +0 -28
- package/types/compiler/scoped-style.d.ts.map +0 -1
- package/types/compiler/script-fence.d.ts +0 -5
- package/types/compiler/script-fence.d.ts.map +0 -1
- package/types/compiler/script-props.d.ts +0 -7
- package/types/compiler/script-props.d.ts.map +0 -1
- package/types/compiler/script-recipe.d.ts +0 -15
- package/types/compiler/script-recipe.d.ts.map +0 -1
- package/types/compiler/script-server.d.ts +0 -53
- package/types/compiler/script-server.d.ts.map +0 -1
- package/types/compiler/script-shared.d.ts +0 -79
- package/types/compiler/script-shared.d.ts.map +0 -1
- package/types/compiler/script-split.d.ts +0 -21
- package/types/compiler/script-split.d.ts.map +0 -1
- package/types/compiler/script.d.ts +0 -12
- package/types/compiler/script.d.ts.map +0 -1
- package/types/compiler/serial-awaits.d.ts +0 -13
- package/types/compiler/serial-awaits.d.ts.map +0 -1
- package/types/compiler/server-imports.d.ts +0 -4
- package/types/compiler/server-imports.d.ts.map +0 -1
- package/types/compiler/signal-from-prop.d.ts +0 -4
- package/types/compiler/signal-from-prop.d.ts.map +0 -1
- package/types/compiler/slot-types.d.ts +0 -13
- package/types/compiler/slot-types.d.ts.map +0 -1
- package/types/compiler/status-pages.d.ts +0 -5
- package/types/compiler/status-pages.d.ts.map +0 -1
- package/types/compiler/style-arguments.d.ts +0 -6
- package/types/compiler/style-arguments.d.ts.map +0 -1
- package/types/compiler/style-lints.d.ts +0 -3
- package/types/compiler/style-lints.d.ts.map +0 -1
- package/types/compiler/template-reads.d.ts +0 -10
- package/types/compiler/template-reads.d.ts.map +0 -1
- package/types/compiler/template-scopes.d.ts +0 -11
- package/types/compiler/template-scopes.d.ts.map +0 -1
- package/types/compiler/template-walk.d.ts +0 -7
- package/types/compiler/template-walk.d.ts.map +0 -1
- package/types/compiler/twin.d.ts +0 -3
- package/types/compiler/twin.d.ts.map +0 -1
- package/types/compiler/type-parameters.d.ts +0 -3
- package/types/compiler/type-parameters.d.ts.map +0 -1
- package/types/compiler/unowned-effects.d.ts +0 -3
- package/types/compiler/unowned-effects.d.ts.map +0 -1
- package/types/compiler/validate-fields.d.ts +0 -10
- package/types/compiler/validate-fields.d.ts.map +0 -1
- package/types/compiler/validate-fixes.d.ts +0 -16
- package/types/compiler/validate-fixes.d.ts.map +0 -1
- package/types/compiler/validate.d.ts +0 -14
- package/types/compiler/validate.d.ts.map +0 -1
- package/types/compiler/walk.d.ts +0 -15
- package/types/compiler/walk.d.ts.map +0 -1
- package/types/config-extensions.d.ts +0 -22
- package/types/config-extensions.d.ts.map +0 -1
- package/types/config-loader.d.ts +0 -10
- package/types/config-loader.d.ts.map +0 -1
- package/types/config-resolve.d.ts +0 -3
- package/types/config-resolve.d.ts.map +0 -1
- package/types/config-rules.d.ts +0 -27
- package/types/config-rules.d.ts.map +0 -1
- package/types/config-shape.d.ts +0 -9
- package/types/config-shape.d.ts.map +0 -1
- package/types/config-switch.d.ts +0 -10
- package/types/config-switch.d.ts.map +0 -1
- package/types/config.d.ts +0 -478
- package/types/config.d.ts.map +0 -1
- package/types/content/claims.d.ts +0 -26
- package/types/content/claims.d.ts.map +0 -1
- package/types/content/drafts.d.ts +0 -10
- package/types/content/drafts.d.ts.map +0 -1
- package/types/content/edit-entries.d.ts +0 -73
- package/types/content/edit-entries.d.ts.map +0 -1
- package/types/content/edit-fields.d.ts +0 -55
- package/types/content/edit-fields.d.ts.map +0 -1
- package/types/content/edit-registry.d.ts +0 -9
- package/types/content/edit-registry.d.ts.map +0 -1
- package/types/content/edit-shared.d.ts +0 -129
- package/types/content/edit-shared.d.ts.map +0 -1
- package/types/content/edit.d.ts +0 -6
- package/types/content/edit.d.ts.map +0 -1
- package/types/content/entry-head.d.ts +0 -15
- package/types/content/entry-head.d.ts.map +0 -1
- package/types/content/entry-route.d.ts +0 -2
- package/types/content/entry-route.d.ts.map +0 -1
- package/types/content/excerpt.d.ts +0 -7
- package/types/content/excerpt.d.ts.map +0 -1
- package/types/content/feed.d.ts +0 -55
- package/types/content/feed.d.ts.map +0 -1
- package/types/content/heading-id.d.ts +0 -10
- package/types/content/heading-id.d.ts.map +0 -1
- package/types/content/held-back.d.ts +0 -7
- package/types/content/held-back.d.ts.map +0 -1
- package/types/content/humanize.d.ts +0 -2
- package/types/content/humanize.d.ts.map +0 -1
- package/types/content/images.d.ts +0 -23
- package/types/content/images.d.ts.map +0 -1
- package/types/content/index.d.ts +0 -166
- package/types/content/index.d.ts.map +0 -1
- package/types/content/key.d.ts +0 -5
- package/types/content/key.d.ts.map +0 -1
- package/types/content/load.d.ts +0 -93
- package/types/content/load.d.ts.map +0 -1
- package/types/content/markdown-extensions.d.ts +0 -5
- package/types/content/markdown-extensions.d.ts.map +0 -1
- package/types/content/markdown.d.ts +0 -92
- package/types/content/markdown.d.ts.map +0 -1
- package/types/content/migrate.d.ts +0 -25
- package/types/content/migrate.d.ts.map +0 -1
- package/types/content/modified.d.ts +0 -8
- package/types/content/modified.d.ts.map +0 -1
- package/types/content/paginate.d.ts +0 -24
- package/types/content/paginate.d.ts.map +0 -1
- package/types/content/problems.d.ts +0 -2
- package/types/content/problems.d.ts.map +0 -1
- package/types/content/references.d.ts +0 -16
- package/types/content/references.d.ts.map +0 -1
- package/types/content/rewrite.d.ts +0 -14
- package/types/content/rewrite.d.ts.map +0 -1
- package/types/content/server.d.ts +0 -30
- package/types/content/server.d.ts.map +0 -1
- package/types/content/source-draft.d.ts +0 -10
- package/types/content/source-draft.d.ts.map +0 -1
- package/types/content/turns.d.ts +0 -8
- package/types/content/turns.d.ts.map +0 -1
- package/types/content/validate.d.ts +0 -32
- package/types/content/validate.d.ts.map +0 -1
- package/types/dev/address.d.ts +0 -5
- package/types/dev/address.d.ts.map +0 -1
- package/types/dev/base-proxy.d.ts +0 -5
- package/types/dev/base-proxy.d.ts.map +0 -1
- package/types/dev/builder.d.ts +0 -16
- package/types/dev/builder.d.ts.map +0 -1
- package/types/dev/client.d.ts +0 -10
- package/types/dev/client.d.ts.map +0 -1
- package/types/dev/config-record.d.ts +0 -3
- package/types/dev/config-record.d.ts.map +0 -1
- package/types/dev/fingerprint.d.ts +0 -29
- package/types/dev/fingerprint.d.ts.map +0 -1
- package/types/dev/index.d.ts +0 -32
- package/types/dev/index.d.ts.map +0 -1
- package/types/dev/inspector.d.ts +0 -9
- package/types/dev/inspector.d.ts.map +0 -1
- package/types/dev/loopback.d.ts +0 -3
- package/types/dev/loopback.d.ts.map +0 -1
- package/types/dev/pages.d.ts +0 -2
- package/types/dev/pages.d.ts.map +0 -1
- package/types/dev/preload.d.ts +0 -3
- package/types/dev/preload.d.ts.map +0 -1
- package/types/dev/refuse.d.ts +0 -20
- package/types/dev/refuse.d.ts.map +0 -1
- package/types/dev/reload.d.ts +0 -20
- package/types/dev/reload.d.ts.map +0 -1
- package/types/dev/render-server.d.ts +0 -18
- package/types/dev/render-server.d.ts.map +0 -1
- package/types/dev/render-socket.d.ts +0 -2
- package/types/dev/render-socket.d.ts.map +0 -1
- package/types/dev/screenshot-diff.d.ts +0 -13
- package/types/dev/screenshot-diff.d.ts.map +0 -1
- package/types/dev/screenshot-limits.d.ts +0 -8
- package/types/dev/screenshot-limits.d.ts.map +0 -1
- package/types/dev/screenshot.d.ts +0 -62
- package/types/dev/screenshot.d.ts.map +0 -1
- package/types/dev/session/client.d.ts +0 -37
- package/types/dev/session/client.d.ts.map +0 -1
- package/types/dev/session/keys.d.ts +0 -8
- package/types/dev/session/keys.d.ts.map +0 -1
- package/types/dev/session/ports.d.ts +0 -18
- package/types/dev/session/ports.d.ts.map +0 -1
- package/types/dev/session/queue.d.ts +0 -30
- package/types/dev/session/queue.d.ts.map +0 -1
- package/types/dev/session/report.d.ts +0 -30
- package/types/dev/session/report.d.ts.map +0 -1
- package/types/dev/session/servers.d.ts +0 -73
- package/types/dev/session/servers.d.ts.map +0 -1
- package/types/dev/session/types.d.ts +0 -51
- package/types/dev/session/types.d.ts.map +0 -1
- package/types/dev/sources.d.ts +0 -14
- package/types/dev/sources.d.ts.map +0 -1
- package/types/dev/tailwind.d.ts +0 -5
- package/types/dev/tailwind.d.ts.map +0 -1
- package/types/dev/types-process.d.ts +0 -27
- package/types/dev/types-process.d.ts.map +0 -1
- package/types/dev/types.d.ts +0 -2
- package/types/dev/types.d.ts.map +0 -1
- package/types/docs-props.d.ts +0 -10
- package/types/docs-props.d.ts.map +0 -1
- package/types/docs-search.d.ts +0 -40
- package/types/docs-search.d.ts.map +0 -1
- package/types/editors.d.ts +0 -30
- package/types/editors.d.ts.map +0 -1
- package/types/entities.d.ts +0 -2
- package/types/entities.d.ts.map +0 -1
- package/types/eslint/index.d.ts +0 -51
- package/types/eslint/index.d.ts.map +0 -1
- package/types/features.d.ts +0 -10
- package/types/features.d.ts.map +0 -1
- package/types/format/index.d.ts +0 -16
- package/types/format/index.d.ts.map +0 -1
- package/types/format/tailwind.d.ts +0 -15
- package/types/format/tailwind.d.ts.map +0 -1
- package/types/generate-resource.d.ts +0 -27
- package/types/generate-resource.d.ts.map +0 -1
- package/types/generate.d.ts +0 -17
- package/types/generate.d.ts.map +0 -1
- package/types/imports.d.ts +0 -2
- package/types/imports.d.ts.map +0 -1
- package/types/input-types.d.ts +0 -2
- package/types/input-types.d.ts.map +0 -1
- package/types/keyword-attributes.d.ts +0 -6
- package/types/keyword-attributes.d.ts.map +0 -1
- package/types/lsp/bridge.d.ts +0 -14
- package/types/lsp/bridge.d.ts.map +0 -1
- package/types/lsp/code-actions.d.ts +0 -7
- package/types/lsp/code-actions.d.ts.map +0 -1
- package/types/lsp/completions.d.ts +0 -20
- package/types/lsp/completions.d.ts.map +0 -1
- package/types/lsp/component-props.d.ts +0 -10
- package/types/lsp/component-props.d.ts.map +0 -1
- package/types/lsp/diagnostics.d.ts +0 -25
- package/types/lsp/diagnostics.d.ts.map +0 -1
- package/types/lsp/document-links.d.ts +0 -7
- package/types/lsp/document-links.d.ts.map +0 -1
- package/types/lsp/host.d.ts +0 -72
- package/types/lsp/host.d.ts.map +0 -1
- package/types/lsp/island-lens.d.ts +0 -14
- package/types/lsp/island-lens.d.ts.map +0 -1
- package/types/lsp/mapping.d.ts +0 -25
- package/types/lsp/mapping.d.ts.map +0 -1
- package/types/lsp/navigation.d.ts +0 -29
- package/types/lsp/navigation.d.ts.map +0 -1
- package/types/lsp/outline.d.ts +0 -4
- package/types/lsp/outline.d.ts.map +0 -1
- package/types/lsp/positions.d.ts +0 -4
- package/types/lsp/positions.d.ts.map +0 -1
- package/types/lsp/project-checks.d.ts +0 -20
- package/types/lsp/project-checks.d.ts.map +0 -1
- package/types/lsp/protocol.d.ts +0 -172
- package/types/lsp/protocol.d.ts.map +0 -1
- package/types/lsp/range-format.d.ts +0 -7
- package/types/lsp/range-format.d.ts.map +0 -1
- package/types/lsp/rename.d.ts +0 -13
- package/types/lsp/rename.d.ts.map +0 -1
- package/types/lsp/renames.d.ts +0 -9
- package/types/lsp/renames.d.ts.map +0 -1
- package/types/lsp/route-documents.d.ts +0 -4
- package/types/lsp/route-documents.d.ts.map +0 -1
- package/types/lsp/route-links.d.ts +0 -9
- package/types/lsp/route-links.d.ts.map +0 -1
- package/types/lsp/rpc.d.ts +0 -40
- package/types/lsp/rpc.d.ts.map +0 -1
- package/types/lsp/semantic-tokens.d.ts +0 -6
- package/types/lsp/semantic-tokens.d.ts.map +0 -1
- package/types/lsp/server.d.ts +0 -61
- package/types/lsp/server.d.ts.map +0 -1
- package/types/lsp/template-completion.d.ts +0 -54
- package/types/lsp/template-completion.d.ts.map +0 -1
- package/types/lsp/ui-completion.d.ts +0 -19
- package/types/lsp/ui-completion.d.ts.map +0 -1
- package/types/mcp/guards.d.ts +0 -6
- package/types/mcp/guards.d.ts.map +0 -1
- package/types/mcp/install.d.ts +0 -2
- package/types/mcp/install.d.ts.map +0 -1
- package/types/mcp/protocol.d.ts +0 -88
- package/types/mcp/protocol.d.ts.map +0 -1
- package/types/mcp/tools.d.ts +0 -9
- package/types/mcp/tools.d.ts.map +0 -1
- package/types/migrate/astro.d.ts +0 -27
- package/types/migrate/astro.d.ts.map +0 -1
- package/types/migrate/content.d.ts +0 -3
- package/types/migrate/content.d.ts.map +0 -1
- package/types/migrate/html.d.ts +0 -7
- package/types/migrate/html.d.ts.map +0 -1
- package/types/migrate/markup.d.ts +0 -25
- package/types/migrate/markup.d.ts.map +0 -1
- package/types/migrate/project.d.ts +0 -17
- package/types/migrate/project.d.ts.map +0 -1
- package/types/native-plugins.d.ts +0 -2
- package/types/native-plugins.d.ts.map +0 -1
- package/types/nearest.d.ts +0 -2
- package/types/nearest.d.ts.map +0 -1
- package/types/new.d.ts +0 -35
- package/types/new.d.ts.map +0 -1
- package/types/package-names.d.ts +0 -6
- package/types/package-names.d.ts.map +0 -1
- package/types/peers.d.ts +0 -14
- package/types/peers.d.ts.map +0 -1
- package/types/project.d.ts +0 -66
- package/types/project.d.ts.map +0 -1
- package/types/runtime/action-call.d.ts +0 -19
- package/types/runtime/action-call.d.ts.map +0 -1
- package/types/runtime/action-encode.d.ts +0 -11
- package/types/runtime/action-encode.d.ts.map +0 -1
- package/types/runtime/action-error.d.ts +0 -15
- package/types/runtime/action-error.d.ts.map +0 -1
- package/types/runtime/action-form.d.ts +0 -36
- package/types/runtime/action-form.d.ts.map +0 -1
- package/types/runtime/action-marks.d.ts +0 -5
- package/types/runtime/action-marks.d.ts.map +0 -1
- package/types/runtime/action-navigate.d.ts +0 -7
- package/types/runtime/action-navigate.d.ts.map +0 -1
- package/types/runtime/action-owner.d.ts +0 -16
- package/types/runtime/action-owner.d.ts.map +0 -1
- package/types/runtime/action-post.d.ts +0 -8
- package/types/runtime/action-post.d.ts.map +0 -1
- package/types/runtime/action-protection.d.ts +0 -15
- package/types/runtime/action-protection.d.ts.map +0 -1
- package/types/runtime/action-revive.d.ts +0 -3
- package/types/runtime/action-revive.d.ts.map +0 -1
- package/types/runtime/action-reviver.d.ts +0 -2
- package/types/runtime/action-reviver.d.ts.map +0 -1
- package/types/runtime/action-run.d.ts +0 -23
- package/types/runtime/action-run.d.ts.map +0 -1
- package/types/runtime/action-shared.d.ts +0 -323
- package/types/runtime/action-shared.d.ts.map +0 -1
- package/types/runtime/action-stream.d.ts +0 -8
- package/types/runtime/action-stream.d.ts.map +0 -1
- package/types/runtime/action.d.ts +0 -57
- package/types/runtime/action.d.ts.map +0 -1
- package/types/runtime/analytics.client.d.ts +0 -3
- package/types/runtime/analytics.client.d.ts.map +0 -1
- package/types/runtime/announce.d.ts +0 -2
- package/types/runtime/announce.d.ts.map +0 -1
- package/types/runtime/api-error-class.d.ts +0 -9
- package/types/runtime/api-error-class.d.ts.map +0 -1
- package/types/runtime/api-error.d.ts +0 -17
- package/types/runtime/api-error.d.ts.map +0 -1
- package/types/runtime/api-url.d.ts +0 -24
- package/types/runtime/api-url.d.ts.map +0 -1
- package/types/runtime/arrival.d.ts +0 -5
- package/types/runtime/arrival.d.ts.map +0 -1
- package/types/runtime/await-failed.d.ts +0 -8
- package/types/runtime/await-failed.d.ts.map +0 -1
- package/types/runtime/await.d.ts +0 -4
- package/types/runtime/await.d.ts.map +0 -1
- package/types/runtime/await.server.d.ts +0 -29
- package/types/runtime/await.server.d.ts.map +0 -1
- package/types/runtime/base.d.ts +0 -12
- package/types/runtime/base.d.ts.map +0 -1
- package/types/runtime/build.d.ts +0 -2
- package/types/runtime/build.d.ts.map +0 -1
- package/types/runtime/button-form.d.ts +0 -3
- package/types/runtime/button-form.d.ts.map +0 -1
- package/types/runtime/byte-count.d.ts +0 -3
- package/types/runtime/byte-count.d.ts.map +0 -1
- package/types/runtime/byte-size.d.ts +0 -4
- package/types/runtime/byte-size.d.ts.map +0 -1
- package/types/runtime/cache-hooks.d.ts +0 -10
- package/types/runtime/cache-hooks.d.ts.map +0 -1
- package/types/runtime/cache-live-id.d.ts +0 -5
- package/types/runtime/cache-live-id.d.ts.map +0 -1
- package/types/runtime/cache.d.ts +0 -83
- package/types/runtime/cache.d.ts.map +0 -1
- package/types/runtime/cache.server.d.ts +0 -10
- package/types/runtime/cache.server.d.ts.map +0 -1
- package/types/runtime/call-body.d.ts +0 -6
- package/types/runtime/call-body.d.ts.map +0 -1
- package/types/runtime/call-result.d.ts +0 -40
- package/types/runtime/call-result.d.ts.map +0 -1
- package/types/runtime/checks.d.ts +0 -294
- package/types/runtime/checks.d.ts.map +0 -1
- package/types/runtime/claimed.d.ts +0 -3
- package/types/runtime/claimed.d.ts.map +0 -1
- package/types/runtime/class-table.d.ts +0 -7
- package/types/runtime/class-table.d.ts.map +0 -1
- package/types/runtime/client.d.ts +0 -15
- package/types/runtime/client.d.ts.map +0 -1
- package/types/runtime/connection.d.ts +0 -40
- package/types/runtime/connection.d.ts.map +0 -1
- package/types/runtime/consent.d.ts +0 -5
- package/types/runtime/consent.d.ts.map +0 -1
- package/types/runtime/core.d.ts +0 -193
- package/types/runtime/core.d.ts.map +0 -1
- package/types/runtime/counters.d.ts +0 -26
- package/types/runtime/counters.d.ts.map +0 -1
- package/types/runtime/described.d.ts +0 -9
- package/types/runtime/described.d.ts.map +0 -1
- package/types/runtime/dev-a11y.d.ts +0 -16
- package/types/runtime/dev-a11y.d.ts.map +0 -1
- package/types/runtime/dev-boot.d.ts +0 -14
- package/types/runtime/dev-boot.d.ts.map +0 -1
- package/types/runtime/dev-inspector.d.ts +0 -9
- package/types/runtime/dev-inspector.d.ts.map +0 -1
- package/types/runtime/dev-patch.d.ts +0 -2
- package/types/runtime/dev-patch.d.ts.map +0 -1
- package/types/runtime/dev-refresh.d.ts +0 -2
- package/types/runtime/dev-refresh.d.ts.map +0 -1
- package/types/runtime/dev-styles.d.ts +0 -3
- package/types/runtime/dev-styles.d.ts.map +0 -1
- package/types/runtime/dev-tab-data.d.ts +0 -3
- package/types/runtime/dev-tab-data.d.ts.map +0 -1
- package/types/runtime/dev-tab-env.d.ts +0 -3
- package/types/runtime/dev-tab-env.d.ts.map +0 -1
- package/types/runtime/dev-tab-head.d.ts +0 -3
- package/types/runtime/dev-tab-head.d.ts.map +0 -1
- package/types/runtime/dev-tab-i18n.d.ts +0 -3
- package/types/runtime/dev-tab-i18n.d.ts.map +0 -1
- package/types/runtime/dev-tab-images.d.ts +0 -3
- package/types/runtime/dev-tab-images.d.ts.map +0 -1
- package/types/runtime/dev-tab-jobs.d.ts +0 -3
- package/types/runtime/dev-tab-jobs.d.ts.map +0 -1
- package/types/runtime/dev-tab-network.d.ts +0 -3
- package/types/runtime/dev-tab-network.d.ts.map +0 -1
- package/types/runtime/dev-tab-not-found.d.ts +0 -3
- package/types/runtime/dev-tab-not-found.d.ts.map +0 -1
- package/types/runtime/dev-tab-performance.d.ts +0 -3
- package/types/runtime/dev-tab-performance.d.ts.map +0 -1
- package/types/runtime/dev-tab-reading.d.ts +0 -23
- package/types/runtime/dev-tab-reading.d.ts.map +0 -1
- package/types/runtime/dev-tab-routes.d.ts +0 -3
- package/types/runtime/dev-tab-routes.d.ts.map +0 -1
- package/types/runtime/dev-tab-styles.d.ts +0 -3
- package/types/runtime/dev-tab-styles.d.ts.map +0 -1
- package/types/runtime/dev-tool-constants.d.ts +0 -19
- package/types/runtime/dev-tool-constants.d.ts.map +0 -1
- package/types/runtime/dev-tool-icons.d.ts +0 -48
- package/types/runtime/dev-tool-icons.d.ts.map +0 -1
- package/types/runtime/dev-tool-keys.d.ts +0 -16
- package/types/runtime/dev-tool-keys.d.ts.map +0 -1
- package/types/runtime/dev-tool-kit.d.ts +0 -8
- package/types/runtime/dev-tool-kit.d.ts.map +0 -1
- package/types/runtime/dev-tool-layout.d.ts +0 -49
- package/types/runtime/dev-tool-layout.d.ts.map +0 -1
- package/types/runtime/dev-tool-markdown.d.ts +0 -2
- package/types/runtime/dev-tool-markdown.d.ts.map +0 -1
- package/types/runtime/dev-tool-outline.d.ts +0 -3
- package/types/runtime/dev-tool-outline.d.ts.map +0 -1
- package/types/runtime/dev-tool-parts.d.ts +0 -38
- package/types/runtime/dev-tool-parts.d.ts.map +0 -1
- package/types/runtime/dev-tool-problems.d.ts +0 -14
- package/types/runtime/dev-tool-problems.d.ts.map +0 -1
- package/types/runtime/dev-tool-request.d.ts +0 -5
- package/types/runtime/dev-tool-request.d.ts.map +0 -1
- package/types/runtime/dev-tool-shell.d.ts +0 -25
- package/types/runtime/dev-tool-shell.d.ts.map +0 -1
- package/types/runtime/dev-tool-style.d.ts +0 -2
- package/types/runtime/dev-tool-style.d.ts.map +0 -1
- package/types/runtime/dev-tool-swaps.d.ts +0 -10
- package/types/runtime/dev-tool-swaps.d.ts.map +0 -1
- package/types/runtime/dev-tool-tab-order.d.ts +0 -17
- package/types/runtime/dev-tool-tab-order.d.ts.map +0 -1
- package/types/runtime/dev-tool-tabs.d.ts +0 -24
- package/types/runtime/dev-tool-tabs.d.ts.map +0 -1
- package/types/runtime/dev-tool-vitals.d.ts +0 -13
- package/types/runtime/dev-tool-vitals.d.ts.map +0 -1
- package/types/runtime/dev-tool-window.d.ts +0 -18
- package/types/runtime/dev-tool-window.d.ts.map +0 -1
- package/types/runtime/dev-tool.d.ts +0 -75
- package/types/runtime/dev-tool.d.ts.map +0 -1
- package/types/runtime/dev-tool.public.d.ts +0 -4
- package/types/runtime/dev-tool.public.d.ts.map +0 -1
- package/types/runtime/dispatch.d.ts +0 -8
- package/types/runtime/dispatch.d.ts.map +0 -1
- package/types/runtime/dom-await.d.ts +0 -2
- package/types/runtime/dom-await.d.ts.map +0 -1
- package/types/runtime/dom-image.d.ts +0 -2
- package/types/runtime/dom-image.d.ts.map +0 -1
- package/types/runtime/dom-lazy.d.ts +0 -6
- package/types/runtime/dom-lazy.d.ts.map +0 -1
- package/types/runtime/dom-loop.d.ts +0 -4
- package/types/runtime/dom-loop.d.ts.map +0 -1
- package/types/runtime/dom-spread.d.ts +0 -3
- package/types/runtime/dom-spread.d.ts.map +0 -1
- package/types/runtime/dom-try.d.ts +0 -2
- package/types/runtime/dom-try.d.ts.map +0 -1
- package/types/runtime/dom.d.ts +0 -88
- package/types/runtime/dom.d.ts.map +0 -1
- package/types/runtime/draft-issues.d.ts +0 -19
- package/types/runtime/draft-issues.d.ts.map +0 -1
- package/types/runtime/duration-words.d.ts +0 -3
- package/types/runtime/duration-words.d.ts.map +0 -1
- package/types/runtime/duration.d.ts +0 -16
- package/types/runtime/duration.d.ts.map +0 -1
- package/types/runtime/edit.d.ts +0 -25
- package/types/runtime/edit.d.ts.map +0 -1
- package/types/runtime/element-size.d.ts +0 -7
- package/types/runtime/element-size.d.ts.map +0 -1
- package/types/runtime/email.d.ts +0 -3
- package/types/runtime/email.d.ts.map +0 -1
- package/types/runtime/ended-entry.d.ts +0 -3
- package/types/runtime/ended-entry.d.ts.map +0 -1
- package/types/runtime/env.d.ts +0 -26
- package/types/runtime/env.d.ts.map +0 -1
- package/types/runtime/escape.d.ts +0 -6
- package/types/runtime/escape.d.ts.map +0 -1
- package/types/runtime/fetch-island.d.ts +0 -6
- package/types/runtime/fetch-island.d.ts.map +0 -1
- package/types/runtime/field-errors.d.ts +0 -4
- package/types/runtime/field-errors.d.ts.map +0 -1
- package/types/runtime/field-refusal.d.ts +0 -37
- package/types/runtime/field-refusal.d.ts.map +0 -1
- package/types/runtime/fields.d.ts +0 -58
- package/types/runtime/fields.d.ts.map +0 -1
- package/types/runtime/fills.d.ts +0 -12
- package/types/runtime/fills.d.ts.map +0 -1
- package/types/runtime/focus.d.ts +0 -2
- package/types/runtime/focus.d.ts.map +0 -1
- package/types/runtime/follow-log.d.ts +0 -11
- package/types/runtime/follow-log.d.ts.map +0 -1
- package/types/runtime/form-controls.d.ts +0 -2
- package/types/runtime/form-controls.d.ts.map +0 -1
- package/types/runtime/form-hold.d.ts +0 -7
- package/types/runtime/form-hold.d.ts.map +0 -1
- package/types/runtime/form-protect.d.ts +0 -2
- package/types/runtime/form-protect.d.ts.map +0 -1
- package/types/runtime/form-submits.d.ts +0 -9
- package/types/runtime/form-submits.d.ts.map +0 -1
- package/types/runtime/form-types.d.ts +0 -6
- package/types/runtime/form-types.d.ts.map +0 -1
- package/types/runtime/form.d.ts +0 -21
- package/types/runtime/form.d.ts.map +0 -1
- package/types/runtime/forms.d.ts +0 -4
- package/types/runtime/forms.d.ts.map +0 -1
- package/types/runtime/french.d.ts +0 -6
- package/types/runtime/french.d.ts.map +0 -1
- package/types/runtime/head.d.ts +0 -40
- package/types/runtime/head.d.ts.map +0 -1
- package/types/runtime/html.d.ts +0 -77
- package/types/runtime/html.d.ts.map +0 -1
- package/types/runtime/hydrate-when.d.ts +0 -5
- package/types/runtime/hydrate-when.d.ts.map +0 -1
- package/types/runtime/i18n-links.d.ts +0 -9
- package/types/runtime/i18n-links.d.ts.map +0 -1
- package/types/runtime/i18n.client.d.ts +0 -23
- package/types/runtime/i18n.client.d.ts.map +0 -1
- package/types/runtime/i18n.d.ts +0 -127
- package/types/runtime/i18n.d.ts.map +0 -1
- package/types/runtime/i18n.server.d.ts +0 -22
- package/types/runtime/i18n.server.d.ts.map +0 -1
- package/types/runtime/icons.d.ts +0 -30
- package/types/runtime/icons.d.ts.map +0 -1
- package/types/runtime/image.d.ts +0 -103
- package/types/runtime/image.d.ts.map +0 -1
- package/types/runtime/image.public.d.ts +0 -3
- package/types/runtime/image.public.d.ts.map +0 -1
- package/types/runtime/in-view.d.ts +0 -12
- package/types/runtime/in-view.d.ts.map +0 -1
- package/types/runtime/index.d.ts +0 -87
- package/types/runtime/index.d.ts.map +0 -1
- package/types/runtime/install-prompt.d.ts +0 -17
- package/types/runtime/install-prompt.d.ts.map +0 -1
- package/types/runtime/internal.d.ts +0 -20
- package/types/runtime/internal.d.ts.map +0 -1
- package/types/runtime/invalid.d.ts +0 -3
- package/types/runtime/invalid.d.ts.map +0 -1
- package/types/runtime/invalidated-keys.d.ts +0 -2
- package/types/runtime/invalidated-keys.d.ts.map +0 -1
- package/types/runtime/island-request.d.ts +0 -3
- package/types/runtime/island-request.d.ts.map +0 -1
- package/types/runtime/island.client.d.ts +0 -4
- package/types/runtime/island.client.d.ts.map +0 -1
- package/types/runtime/island.server.d.ts +0 -36
- package/types/runtime/island.server.d.ts.map +0 -1
- package/types/runtime/jsx-runtime.d.ts +0 -2
- package/types/runtime/jsx-runtime.d.ts.map +0 -1
- package/types/runtime/jsx.d.ts +0 -293
- package/types/runtime/jsx.d.ts.map +0 -1
- package/types/runtime/kay-error.d.ts +0 -14
- package/types/runtime/kay-error.d.ts.map +0 -1
- package/types/runtime/keepalive.d.ts +0 -4
- package/types/runtime/keepalive.d.ts.map +0 -1
- package/types/runtime/lasting.d.ts +0 -2
- package/types/runtime/lasting.d.ts.map +0 -1
- package/types/runtime/leave.d.ts +0 -6
- package/types/runtime/leave.d.ts.map +0 -1
- package/types/runtime/listen-with.d.ts +0 -2
- package/types/runtime/listen-with.d.ts.map +0 -1
- package/types/runtime/listener-set.d.ts +0 -5
- package/types/runtime/listener-set.d.ts.map +0 -1
- package/types/runtime/live-cache.d.ts +0 -5
- package/types/runtime/live-cache.d.ts.map +0 -1
- package/types/runtime/live-props.d.ts +0 -2
- package/types/runtime/live-props.d.ts.map +0 -1
- package/types/runtime/live-resource.server.d.ts +0 -13
- package/types/runtime/live-resource.server.d.ts.map +0 -1
- package/types/runtime/live-revalidate.d.ts +0 -9
- package/types/runtime/live-revalidate.d.ts.map +0 -1
- package/types/runtime/live-value.client.d.ts +0 -8
- package/types/runtime/live-value.client.d.ts.map +0 -1
- package/types/runtime/live-value.d.ts +0 -16
- package/types/runtime/live-value.d.ts.map +0 -1
- package/types/runtime/live-value.server.d.ts +0 -30
- package/types/runtime/live-value.server.d.ts.map +0 -1
- package/types/runtime/live-value.shared.d.ts +0 -85
- package/types/runtime/live-value.shared.d.ts.map +0 -1
- package/types/runtime/live.d.ts +0 -280
- package/types/runtime/live.d.ts.map +0 -1
- package/types/runtime/load-scope.d.ts +0 -9
- package/types/runtime/load-scope.d.ts.map +0 -1
- package/types/runtime/local-status.d.ts +0 -4
- package/types/runtime/local-status.d.ts.map +0 -1
- package/types/runtime/local-types.d.ts +0 -72
- package/types/runtime/local-types.d.ts.map +0 -1
- package/types/runtime/local.d.ts +0 -6
- package/types/runtime/local.d.ts.map +0 -1
- package/types/runtime/locale-state.d.ts +0 -18
- package/types/runtime/locale-state.d.ts.map +0 -1
- package/types/runtime/localized.d.ts +0 -4
- package/types/runtime/localized.d.ts.map +0 -1
- package/types/runtime/log.d.ts +0 -8
- package/types/runtime/log.d.ts.map +0 -1
- package/types/runtime/markdown-autolink.d.ts +0 -11
- package/types/runtime/markdown-autolink.d.ts.map +0 -1
- package/types/runtime/markdown-render.client.d.ts +0 -4
- package/types/runtime/markdown-render.client.d.ts.map +0 -1
- package/types/runtime/markdown-task.d.ts +0 -2
- package/types/runtime/markdown-task.d.ts.map +0 -1
- package/types/runtime/markdown.client.d.ts +0 -8
- package/types/runtime/markdown.client.d.ts.map +0 -1
- package/types/runtime/markdown.d.ts +0 -19
- package/types/runtime/markdown.d.ts.map +0 -1
- package/types/runtime/markdown.server.d.ts +0 -8
- package/types/runtime/markdown.server.d.ts.map +0 -1
- package/types/runtime/markers.d.ts +0 -14
- package/types/runtime/markers.d.ts.map +0 -1
- package/types/runtime/media-query.d.ts +0 -3
- package/types/runtime/media-query.d.ts.map +0 -1
- package/types/runtime/mount.d.ts +0 -9
- package/types/runtime/mount.d.ts.map +0 -1
- package/types/runtime/move.d.ts +0 -3
- package/types/runtime/move.d.ts.map +0 -1
- package/types/runtime/navigate-api.d.ts +0 -20
- package/types/runtime/navigate-api.d.ts.map +0 -1
- package/types/runtime/navigate.d.ts +0 -10
- package/types/runtime/navigate.d.ts.map +0 -1
- package/types/runtime/navigation-entry.d.ts +0 -2
- package/types/runtime/navigation-entry.d.ts.map +0 -1
- package/types/runtime/navigation-state.d.ts +0 -34
- package/types/runtime/navigation-state.d.ts.map +0 -1
- package/types/runtime/navigation.d.ts +0 -90
- package/types/runtime/navigation.d.ts.map +0 -1
- package/types/runtime/online.d.ts +0 -2
- package/types/runtime/online.d.ts.map +0 -1
- package/types/runtime/optimistic.d.ts +0 -7
- package/types/runtime/optimistic.d.ts.map +0 -1
- package/types/runtime/outside.d.ts +0 -8
- package/types/runtime/outside.d.ts.map +0 -1
- package/types/runtime/page-data.d.ts +0 -3
- package/types/runtime/page-data.d.ts.map +0 -1
- package/types/runtime/page-errors.d.ts +0 -2
- package/types/runtime/page-errors.d.ts.map +0 -1
- package/types/runtime/page-swap.d.ts +0 -8
- package/types/runtime/page-swap.d.ts.map +0 -1
- package/types/runtime/page-title.d.ts +0 -2
- package/types/runtime/page-title.d.ts.map +0 -1
- package/types/runtime/params.d.ts +0 -4
- package/types/runtime/params.d.ts.map +0 -1
- package/types/runtime/pending.d.ts +0 -5
- package/types/runtime/pending.d.ts.map +0 -1
- package/types/runtime/persist.d.ts +0 -26
- package/types/runtime/persist.d.ts.map +0 -1
- package/types/runtime/persisted.d.ts +0 -52
- package/types/runtime/persisted.d.ts.map +0 -1
- package/types/runtime/placeholder.d.ts +0 -5
- package/types/runtime/placeholder.d.ts.map +0 -1
- package/types/runtime/poll-backoff.d.ts +0 -16
- package/types/runtime/poll-backoff.d.ts.map +0 -1
- package/types/runtime/prefetch.d.ts +0 -3
- package/types/runtime/prefetch.d.ts.map +0 -1
- package/types/runtime/presence.d.ts +0 -14
- package/types/runtime/presence.d.ts.map +0 -1
- package/types/runtime/preview.d.ts +0 -26
- package/types/runtime/preview.d.ts.map +0 -1
- package/types/runtime/push.d.ts +0 -19
- package/types/runtime/push.d.ts.map +0 -1
- package/types/runtime/query-param.d.ts +0 -14
- package/types/runtime/query-param.d.ts.map +0 -1
- package/types/runtime/queue-jobs.d.ts +0 -16
- package/types/runtime/queue-jobs.d.ts.map +0 -1
- package/types/runtime/random-id.d.ts +0 -2
- package/types/runtime/random-id.d.ts.map +0 -1
- package/types/runtime/reactive-collections.d.ts +0 -3
- package/types/runtime/reactive-collections.d.ts.map +0 -1
- package/types/runtime/reactive.d.ts +0 -121
- package/types/runtime/reactive.d.ts.map +0 -1
- package/types/runtime/recipe.d.ts +0 -34
- package/types/runtime/recipe.d.ts.map +0 -1
- package/types/runtime/refetch-island.d.ts +0 -2
- package/types/runtime/refetch-island.d.ts.map +0 -1
- package/types/runtime/refuse.d.ts +0 -18
- package/types/runtime/refuse.d.ts.map +0 -1
- package/types/runtime/rendered.d.ts +0 -9
- package/types/runtime/rendered.d.ts.map +0 -1
- package/types/runtime/report-error.d.ts +0 -2
- package/types/runtime/report-error.d.ts.map +0 -1
- package/types/runtime/resource-tags.d.ts +0 -4
- package/types/runtime/resource-tags.d.ts.map +0 -1
- package/types/runtime/retry-later.d.ts +0 -2
- package/types/runtime/retry-later.d.ts.map +0 -1
- package/types/runtime/reveal.d.ts +0 -2
- package/types/runtime/reveal.d.ts.map +0 -1
- package/types/runtime/root.d.ts +0 -3
- package/types/runtime/root.d.ts.map +0 -1
- package/types/runtime/route.d.ts +0 -19
- package/types/runtime/route.d.ts.map +0 -1
- package/types/runtime/row-key.d.ts +0 -2
- package/types/runtime/row-key.d.ts.map +0 -1
- package/types/runtime/safe-code.d.ts +0 -2
- package/types/runtime/safe-code.d.ts.map +0 -1
- package/types/runtime/safe-html.d.ts +0 -7
- package/types/runtime/safe-html.d.ts.map +0 -1
- package/types/runtime/sanitize.d.ts +0 -15
- package/types/runtime/sanitize.d.ts.map +0 -1
- package/types/runtime/save-data.d.ts +0 -2
- package/types/runtime/save-data.d.ts.map +0 -1
- package/types/runtime/schema-bounds.d.ts +0 -4
- package/types/runtime/schema-bounds.d.ts.map +0 -1
- package/types/runtime/schema-record.d.ts +0 -9
- package/types/runtime/schema-record.d.ts.map +0 -1
- package/types/runtime/schema.client.d.ts +0 -3
- package/types/runtime/schema.client.d.ts.map +0 -1
- package/types/runtime/schema.d.ts +0 -121
- package/types/runtime/schema.d.ts.map +0 -1
- package/types/runtime/search-arrival.d.ts +0 -2
- package/types/runtime/search-arrival.d.ts.map +0 -1
- package/types/runtime/search-results.d.ts +0 -4
- package/types/runtime/search-results.d.ts.map +0 -1
- package/types/runtime/search.d.ts +0 -48
- package/types/runtime/search.d.ts.map +0 -1
- package/types/runtime/send.d.ts +0 -3
- package/types/runtime/send.d.ts.map +0 -1
- package/types/runtime/seo.d.ts +0 -15
- package/types/runtime/seo.d.ts.map +0 -1
- package/types/runtime/server-islands.d.ts +0 -3
- package/types/runtime/server-islands.d.ts.map +0 -1
- package/types/runtime/shortcut.d.ts +0 -10
- package/types/runtime/shortcut.d.ts.map +0 -1
- package/types/runtime/site.d.ts +0 -14
- package/types/runtime/site.d.ts.map +0 -1
- package/types/runtime/size-text.d.ts +0 -2
- package/types/runtime/size-text.d.ts.map +0 -1
- package/types/runtime/snapshots.d.ts +0 -13
- package/types/runtime/snapshots.d.ts.map +0 -1
- package/types/runtime/socket-message.d.ts +0 -7
- package/types/runtime/socket-message.d.ts.map +0 -1
- package/types/runtime/sqlite.server.d.ts +0 -4
- package/types/runtime/sqlite.server.d.ts.map +0 -1
- package/types/runtime/sse.d.ts +0 -3
- package/types/runtime/sse.d.ts.map +0 -1
- package/types/runtime/stale.d.ts +0 -4
- package/types/runtime/stale.d.ts.map +0 -1
- package/types/runtime/standard-schema.d.ts +0 -37
- package/types/runtime/standard-schema.d.ts.map +0 -1
- package/types/runtime/static-slots.d.ts +0 -4
- package/types/runtime/static-slots.d.ts.map +0 -1
- package/types/runtime/store-base.d.ts +0 -9
- package/types/runtime/store-base.d.ts.map +0 -1
- package/types/runtime/store.d.ts +0 -12
- package/types/runtime/store.d.ts.map +0 -1
- package/types/runtime/swap-fetch.d.ts +0 -10
- package/types/runtime/swap-fetch.d.ts.map +0 -1
- package/types/runtime/swap-flight.d.ts +0 -36
- package/types/runtime/swap-flight.d.ts.map +0 -1
- package/types/runtime/swap-focus.d.ts +0 -8
- package/types/runtime/swap-focus.d.ts.map +0 -1
- package/types/runtime/swap-head.d.ts +0 -8
- package/types/runtime/swap-head.d.ts.map +0 -1
- package/types/runtime/swap-held.d.ts +0 -2
- package/types/runtime/swap-held.d.ts.map +0 -1
- package/types/runtime/swap-kept.d.ts +0 -8
- package/types/runtime/swap-kept.d.ts.map +0 -1
- package/types/runtime/swap-loading.d.ts +0 -6
- package/types/runtime/swap-loading.d.ts.map +0 -1
- package/types/runtime/swap-morph.d.ts +0 -8
- package/types/runtime/swap-morph.d.ts.map +0 -1
- package/types/runtime/swap-refusal.d.ts +0 -2
- package/types/runtime/swap-refusal.d.ts.map +0 -1
- package/types/runtime/swap-streamed.d.ts +0 -14
- package/types/runtime/swap-streamed.d.ts.map +0 -1
- package/types/runtime/swap-transition.d.ts +0 -4
- package/types/runtime/swap-transition.d.ts.map +0 -1
- package/types/runtime/swap.d.ts +0 -18
- package/types/runtime/swap.d.ts.map +0 -1
- package/types/runtime/template-context.d.ts +0 -28
- package/types/runtime/template-context.d.ts.map +0 -1
- package/types/runtime/text-hash.d.ts +0 -2
- package/types/runtime/text-hash.d.ts.map +0 -1
- package/types/runtime/transition.d.ts +0 -11
- package/types/runtime/transition.d.ts.map +0 -1
- package/types/runtime/ui.d.ts +0 -22
- package/types/runtime/ui.d.ts.map +0 -1
- package/types/runtime/uid.d.ts +0 -10
- package/types/runtime/uid.d.ts.map +0 -1
- package/types/runtime/uid.server.d.ts +0 -6
- package/types/runtime/uid.server.d.ts.map +0 -1
- package/types/runtime/upload.d.ts +0 -2
- package/types/runtime/upload.d.ts.map +0 -1
- package/types/runtime/url-attributes.d.ts +0 -2
- package/types/runtime/url-attributes.d.ts.map +0 -1
- package/types/runtime/url-report.d.ts +0 -5
- package/types/runtime/url-report.d.ts.map +0 -1
- package/types/runtime/url.d.ts +0 -5
- package/types/runtime/url.d.ts.map +0 -1
- package/types/runtime/validate-run.client.d.ts +0 -4
- package/types/runtime/validate-run.client.d.ts.map +0 -1
- package/types/runtime/validate.client.d.ts +0 -4
- package/types/runtime/validate.client.d.ts.map +0 -1
- package/types/runtime/validate.d.ts +0 -6
- package/types/runtime/validate.d.ts.map +0 -1
- package/types/runtime/values.d.ts +0 -23
- package/types/runtime/values.d.ts.map +0 -1
- package/types/runtime/visibility.d.ts +0 -3
- package/types/runtime/visibility.d.ts.map +0 -1
- package/types/runtime/warn-once.d.ts +0 -4
- package/types/runtime/warn-once.d.ts.map +0 -1
- package/types/runtime/wire.d.ts +0 -16
- package/types/runtime/wire.d.ts.map +0 -1
- package/types/runtime/with-query.d.ts +0 -7
- package/types/runtime/with-query.d.ts.map +0 -1
- package/types/runtime/words.client.d.ts +0 -8
- package/types/runtime/words.client.d.ts.map +0 -1
- package/types/runtime/words.server.d.ts +0 -7
- package/types/runtime/words.server.d.ts.map +0 -1
- package/types/runtime/work-worker.d.ts +0 -2
- package/types/runtime/work-worker.d.ts.map +0 -1
- package/types/runtime/work.client.d.ts +0 -4
- package/types/runtime/work.client.d.ts.map +0 -1
- package/types/runtime/work.d.ts +0 -4
- package/types/runtime/work.d.ts.map +0 -1
- package/types/server/accept-language.d.ts +0 -5
- package/types/server/accept-language.d.ts.map +0 -1
- package/types/server/action-clash.d.ts +0 -2
- package/types/server/action-clash.d.ts.map +0 -1
- package/types/server/action-hooks.d.ts +0 -19
- package/types/server/action-hooks.d.ts.map +0 -1
- package/types/server/action-input.d.ts +0 -3
- package/types/server/action-input.d.ts.map +0 -1
- package/types/server/action-iterable.d.ts +0 -8
- package/types/server/action-iterable.d.ts.map +0 -1
- package/types/server/action-module.d.ts +0 -2
- package/types/server/action-module.d.ts.map +0 -1
- package/types/server/actions.d.ts +0 -58
- package/types/server/actions.d.ts.map +0 -1
- package/types/server/address.d.ts +0 -20
- package/types/server/address.d.ts.map +0 -1
- package/types/server/analytics-script.d.ts +0 -5
- package/types/server/analytics-script.d.ts.map +0 -1
- package/types/server/analytics-server.d.ts +0 -12
- package/types/server/analytics-server.d.ts.map +0 -1
- package/types/server/analytics-words.d.ts +0 -8
- package/types/server/analytics-words.d.ts.map +0 -1
- package/types/server/analytics.d.ts +0 -109
- package/types/server/analytics.d.ts.map +0 -1
- package/types/server/answer.d.ts +0 -6
- package/types/server/answer.d.ts.map +0 -1
- package/types/server/api-input.d.ts +0 -19
- package/types/server/api-input.d.ts.map +0 -1
- package/types/server/api-modules.d.ts +0 -53
- package/types/server/api-modules.d.ts.map +0 -1
- package/types/server/api-params.d.ts +0 -16
- package/types/server/api-params.d.ts.map +0 -1
- package/types/server/api.d.ts +0 -53
- package/types/server/api.d.ts.map +0 -1
- package/types/server/app-database.d.ts +0 -15
- package/types/server/app-database.d.ts.map +0 -1
- package/types/server/app-hooks.d.ts +0 -34
- package/types/server/app-hooks.d.ts.map +0 -1
- package/types/server/app-identity.d.ts +0 -13
- package/types/server/app-identity.d.ts.map +0 -1
- package/types/server/app-stages.d.ts +0 -203
- package/types/server/app-stages.d.ts.map +0 -1
- package/types/server/app-store.d.ts +0 -33
- package/types/server/app-store.d.ts.map +0 -1
- package/types/server/app.d.ts +0 -118
- package/types/server/app.d.ts.map +0 -1
- package/types/server/auth-mails.d.ts +0 -357
- package/types/server/auth-mails.d.ts.map +0 -1
- package/types/server/auto-listen.d.ts +0 -6
- package/types/server/auto-listen.d.ts.map +0 -1
- package/types/server/avif-worker.d.ts +0 -19
- package/types/server/avif-worker.d.ts.map +0 -1
- package/types/server/avif.d.ts +0 -12
- package/types/server/avif.d.ts.map +0 -1
- package/types/server/base.d.ts +0 -9
- package/types/server/base.d.ts.map +0 -1
- package/types/server/basic-auth.d.ts +0 -10
- package/types/server/basic-auth.d.ts.map +0 -1
- package/types/server/body.d.ts +0 -23
- package/types/server/body.d.ts.map +0 -1
- package/types/server/build-files.d.ts +0 -8
- package/types/server/build-files.d.ts.map +0 -1
- package/types/server/builtins.d.ts +0 -5
- package/types/server/builtins.d.ts.map +0 -1
- package/types/server/bundle.d.ts +0 -27
- package/types/server/bundle.d.ts.map +0 -1
- package/types/server/button-form-rule.d.ts +0 -4
- package/types/server/button-form-rule.d.ts.map +0 -1
- package/types/server/card-draw.d.ts +0 -20
- package/types/server/card-draw.d.ts.map +0 -1
- package/types/server/card-template.d.ts +0 -8
- package/types/server/card-template.d.ts.map +0 -1
- package/types/server/card.d.ts +0 -73
- package/types/server/card.d.ts.map +0 -1
- package/types/server/ceiling.d.ts +0 -2
- package/types/server/ceiling.d.ts.map +0 -1
- package/types/server/clean-context.d.ts +0 -2
- package/types/server/clean-context.d.ts.map +0 -1
- package/types/server/client.d.ts +0 -94
- package/types/server/client.d.ts.map +0 -1
- package/types/server/codec/avif-enc-build.d.ts +0 -2
- package/types/server/codec/avif-enc-build.d.ts.map +0 -1
- package/types/server/compress-policy.d.ts +0 -2
- package/types/server/compress-policy.d.ts.map +0 -1
- package/types/server/compress.d.ts +0 -44
- package/types/server/compress.d.ts.map +0 -1
- package/types/server/config-error.d.ts +0 -10
- package/types/server/config-error.d.ts.map +0 -1
- package/types/server/config-limits.d.ts +0 -37
- package/types/server/config-limits.d.ts.map +0 -1
- package/types/server/consent-cookie.d.ts +0 -2
- package/types/server/consent-cookie.d.ts.map +0 -1
- package/types/server/context-reads.d.ts +0 -2
- package/types/server/context-reads.d.ts.map +0 -1
- package/types/server/context-record.d.ts +0 -10
- package/types/server/context-record.d.ts.map +0 -1
- package/types/server/context-values.d.ts +0 -15
- package/types/server/context-values.d.ts.map +0 -1
- package/types/server/cookie-names.d.ts +0 -3
- package/types/server/cookie-names.d.ts.map +0 -1
- package/types/server/cookies.d.ts +0 -36
- package/types/server/cookies.d.ts.map +0 -1
- package/types/server/cors.d.ts +0 -35
- package/types/server/cors.d.ts.map +0 -1
- package/types/server/crop.d.ts +0 -16
- package/types/server/crop.d.ts.map +0 -1
- package/types/server/cross-site.d.ts +0 -9
- package/types/server/cross-site.d.ts.map +0 -1
- package/types/server/csp.d.ts +0 -13
- package/types/server/csp.d.ts.map +0 -1
- package/types/server/dev-data.d.ts +0 -44
- package/types/server/dev-data.d.ts.map +0 -1
- package/types/server/dev-errors.d.ts +0 -34
- package/types/server/dev-errors.d.ts.map +0 -1
- package/types/server/dev-footprint.d.ts +0 -2
- package/types/server/dev-footprint.d.ts.map +0 -1
- package/types/server/dev-head.d.ts +0 -13
- package/types/server/dev-head.d.ts.map +0 -1
- package/types/server/dev-jobs.d.ts +0 -4
- package/types/server/dev-jobs.d.ts.map +0 -1
- package/types/server/dev-not-found.d.ts +0 -9
- package/types/server/dev-not-found.d.ts.map +0 -1
- package/types/server/dev-notes.d.ts +0 -3
- package/types/server/dev-notes.d.ts.map +0 -1
- package/types/server/dev-offered.d.ts +0 -6
- package/types/server/dev-offered.d.ts.map +0 -1
- package/types/server/dev-secret.d.ts +0 -2
- package/types/server/dev-secret.d.ts.map +0 -1
- package/types/server/dev-sizes.d.ts +0 -18
- package/types/server/dev-sizes.d.ts.map +0 -1
- package/types/server/dev-sqlite-worker.d.ts +0 -22
- package/types/server/dev-sqlite-worker.d.ts.map +0 -1
- package/types/server/dev-ui.d.ts +0 -3
- package/types/server/dev-ui.d.ts.map +0 -1
- package/types/server/dev.d.ts +0 -159
- package/types/server/dev.d.ts.map +0 -1
- package/types/server/dictionary.d.ts +0 -28
- package/types/server/dictionary.d.ts.map +0 -1
- package/types/server/drain.d.ts +0 -5
- package/types/server/drain.d.ts.map +0 -1
- package/types/server/editor.d.ts +0 -2
- package/types/server/editor.d.ts.map +0 -1
- package/types/server/endpoint-claims.d.ts +0 -4
- package/types/server/endpoint-claims.d.ts.map +0 -1
- package/types/server/endpoint-verbs.d.ts +0 -11
- package/types/server/endpoint-verbs.d.ts.map +0 -1
- package/types/server/endpoints.d.ts +0 -12
- package/types/server/endpoints.d.ts.map +0 -1
- package/types/server/entry-drafts.d.ts +0 -15
- package/types/server/entry-drafts.d.ts.map +0 -1
- package/types/server/entry-head.d.ts +0 -5
- package/types/server/entry-head.d.ts.map +0 -1
- package/types/server/entry-urls.d.ts +0 -6
- package/types/server/entry-urls.d.ts.map +0 -1
- package/types/server/env-state.d.ts +0 -23
- package/types/server/env-state.d.ts.map +0 -1
- package/types/server/env.d.ts +0 -26
- package/types/server/env.d.ts.map +0 -1
- package/types/server/error-maps.d.ts +0 -3
- package/types/server/error-maps.d.ts.map +0 -1
- package/types/server/errors.d.ts +0 -13
- package/types/server/errors.d.ts.map +0 -1
- package/types/server/event-stream.d.ts +0 -22
- package/types/server/event-stream.d.ts.map +0 -1
- package/types/server/face.d.ts +0 -16
- package/types/server/face.d.ts.map +0 -1
- package/types/server/favicon.d.ts +0 -66
- package/types/server/favicon.d.ts.map +0 -1
- package/types/server/fetch-public.d.ts +0 -12
- package/types/server/fetch-public.d.ts.map +0 -1
- package/types/server/file-answer.d.ts +0 -17
- package/types/server/file-answer.d.ts.map +0 -1
- package/types/server/file-limit.d.ts +0 -3
- package/types/server/file-limit.d.ts.map +0 -1
- package/types/server/file-type.d.ts +0 -4
- package/types/server/file-type.d.ts.map +0 -1
- package/types/server/flash.d.ts +0 -24
- package/types/server/flash.d.ts.map +0 -1
- package/types/server/font-metrics.d.ts +0 -22
- package/types/server/font-metrics.d.ts.map +0 -1
- package/types/server/fonts.d.ts +0 -26
- package/types/server/fonts.d.ts.map +0 -1
- package/types/server/forms.d.ts +0 -3
- package/types/server/forms.d.ts.map +0 -1
- package/types/server/guard-requirement.d.ts +0 -13
- package/types/server/guard-requirement.d.ts.map +0 -1
- package/types/server/guard-runs.d.ts +0 -5
- package/types/server/guard-runs.d.ts.map +0 -1
- package/types/server/guards.d.ts +0 -35
- package/types/server/guards.d.ts.map +0 -1
- package/types/server/handler-timing.d.ts +0 -2
- package/types/server/handler-timing.d.ts.map +0 -1
- package/types/server/history.d.ts +0 -2
- package/types/server/history.d.ts.map +0 -1
- package/types/server/hooks.d.ts +0 -28
- package/types/server/hooks.d.ts.map +0 -1
- package/types/server/host-allowlist.d.ts +0 -11
- package/types/server/host-allowlist.d.ts.map +0 -1
- package/types/server/hydration.d.ts +0 -3
- package/types/server/hydration.d.ts.map +0 -1
- package/types/server/i18n.d.ts +0 -70
- package/types/server/i18n.d.ts.map +0 -1
- package/types/server/image-color.d.ts +0 -5
- package/types/server/image-color.d.ts.map +0 -1
- package/types/server/image-format.d.ts +0 -18
- package/types/server/image-format.d.ts.map +0 -1
- package/types/server/image-limits.d.ts +0 -17
- package/types/server/image-limits.d.ts.map +0 -1
- package/types/server/image-metadata-bmff.d.ts +0 -3
- package/types/server/image-metadata-bmff.d.ts.map +0 -1
- package/types/server/image-metadata.d.ts +0 -3
- package/types/server/image-metadata.d.ts.map +0 -1
- package/types/server/image.d.ts +0 -92
- package/types/server/image.d.ts.map +0 -1
- package/types/server/index.d.ts +0 -86
- package/types/server/index.d.ts.map +0 -1
- package/types/server/internal.d.ts +0 -8
- package/types/server/internal.d.ts.map +0 -1
- package/types/server/job-admin.d.ts +0 -36
- package/types/server/job-admin.d.ts.map +0 -1
- package/types/server/job-context.d.ts +0 -16
- package/types/server/job-context.d.ts.map +0 -1
- package/types/server/job-status.d.ts +0 -3
- package/types/server/job-status.d.ts.map +0 -1
- package/types/server/job-steps.d.ts +0 -2
- package/types/server/job-steps.d.ts.map +0 -1
- package/types/server/jobs-page.d.ts +0 -12
- package/types/server/jobs-page.d.ts.map +0 -1
- package/types/server/jobs.d.ts +0 -78
- package/types/server/jobs.d.ts.map +0 -1
- package/types/server/kay-routes.d.ts +0 -47
- package/types/server/kay-routes.d.ts.map +0 -1
- package/types/server/kay-server.d.ts +0 -25
- package/types/server/kay-server.d.ts.map +0 -1
- package/types/server/kept-exports.d.ts +0 -5
- package/types/server/kept-exports.d.ts.map +0 -1
- package/types/server/kept-pages.d.ts +0 -9
- package/types/server/kept-pages.d.ts.map +0 -1
- package/types/server/kept-source.d.ts +0 -48
- package/types/server/kept-source.d.ts.map +0 -1
- package/types/server/kv.d.ts +0 -18
- package/types/server/kv.d.ts.map +0 -1
- package/types/server/lazy-guard.d.ts +0 -11
- package/types/server/lazy-guard.d.ts.map +0 -1
- package/types/server/library.d.ts +0 -111
- package/types/server/library.d.ts.map +0 -1
- package/types/server/lifecycle.d.ts +0 -18
- package/types/server/lifecycle.d.ts.map +0 -1
- package/types/server/limit.d.ts +0 -6
- package/types/server/limit.d.ts.map +0 -1
- package/types/server/link-schemes.d.ts +0 -3
- package/types/server/link-schemes.d.ts.map +0 -1
- package/types/server/links.d.ts +0 -4
- package/types/server/links.d.ts.map +0 -1
- package/types/server/literal-writes.d.ts +0 -43
- package/types/server/literal-writes.d.ts.map +0 -1
- package/types/server/live.d.ts +0 -39
- package/types/server/live.d.ts.map +0 -1
- package/types/server/load-budget.d.ts +0 -4
- package/types/server/load-budget.d.ts.map +0 -1
- package/types/server/loader.d.ts +0 -5
- package/types/server/loader.d.ts.map +0 -1
- package/types/server/loading-page.d.ts +0 -6
- package/types/server/loading-page.d.ts.map +0 -1
- package/types/server/local-files.d.ts +0 -4
- package/types/server/local-files.d.ts.map +0 -1
- package/types/server/log.d.ts +0 -57
- package/types/server/log.d.ts.map +0 -1
- package/types/server/maintenance.d.ts +0 -24
- package/types/server/maintenance.d.ts.map +0 -1
- package/types/server/mcp-key.d.ts +0 -11
- package/types/server/mcp-key.d.ts.map +0 -1
- package/types/server/mcp.d.ts +0 -58
- package/types/server/mcp.d.ts.map +0 -1
- package/types/server/memory-jobs.d.ts +0 -3
- package/types/server/memory-jobs.d.ts.map +0 -1
- package/types/server/memory-mark.d.ts +0 -3
- package/types/server/memory-mark.d.ts.map +0 -1
- package/types/server/message-drafts.d.ts +0 -13
- package/types/server/message-drafts.d.ts.map +0 -1
- package/types/server/metrics.d.ts +0 -16
- package/types/server/metrics.d.ts.map +0 -1
- package/types/server/missing-hits.d.ts +0 -16
- package/types/server/missing-hits.d.ts.map +0 -1
- package/types/server/module-state.d.ts +0 -9
- package/types/server/module-state.d.ts.map +0 -1
- package/types/server/new-tab.d.ts +0 -4
- package/types/server/new-tab.d.ts.map +0 -1
- package/types/server/not-found-config.d.ts +0 -5
- package/types/server/not-found-config.d.ts.map +0 -1
- package/types/server/not-found.d.ts +0 -79
- package/types/server/not-found.d.ts.map +0 -1
- package/types/server/notifications.d.ts +0 -56
- package/types/server/notifications.d.ts.map +0 -1
- package/types/server/offline.d.ts +0 -22
- package/types/server/offline.d.ts.map +0 -1
- package/types/server/openapi.d.ts +0 -84
- package/types/server/openapi.d.ts.map +0 -1
- package/types/server/option-keys.d.ts +0 -2
- package/types/server/option-keys.d.ts.map +0 -1
- package/types/server/over-limit.d.ts +0 -9
- package/types/server/over-limit.d.ts.map +0 -1
- package/types/server/overlay.d.ts +0 -12
- package/types/server/overlay.d.ts.map +0 -1
- package/types/server/own-headers.d.ts +0 -21
- package/types/server/own-headers.d.ts.map +0 -1
- package/types/server/page-error.d.ts +0 -7
- package/types/server/page-error.d.ts.map +0 -1
- package/types/server/page-flags.d.ts +0 -5
- package/types/server/page-flags.d.ts.map +0 -1
- package/types/server/page-headers.d.ts +0 -6
- package/types/server/page-headers.d.ts.map +0 -1
- package/types/server/page-hook.d.ts +0 -32
- package/types/server/page-hook.d.ts.map +0 -1
- package/types/server/page-limits.d.ts +0 -26
- package/types/server/page-limits.d.ts.map +0 -1
- package/types/server/page-reads.d.ts +0 -6
- package/types/server/page-reads.d.ts.map +0 -1
- package/types/server/page-routes.d.ts +0 -48
- package/types/server/page-routes.d.ts.map +0 -1
- package/types/server/page-seo.d.ts +0 -3
- package/types/server/page-seo.d.ts.map +0 -1
- package/types/server/page-settings.d.ts +0 -17
- package/types/server/page-settings.d.ts.map +0 -1
- package/types/server/params.d.ts +0 -20
- package/types/server/params.d.ts.map +0 -1
- package/types/server/parent.d.ts +0 -5
- package/types/server/parent.d.ts.map +0 -1
- package/types/server/personal-data.d.ts +0 -13
- package/types/server/personal-data.d.ts.map +0 -1
- package/types/server/pg-cache.d.ts +0 -4
- package/types/server/pg-cache.d.ts.map +0 -1
- package/types/server/pg-data.d.ts +0 -30
- package/types/server/pg-data.d.ts.map +0 -1
- package/types/server/pg-jobs.d.ts +0 -31
- package/types/server/pg-jobs.d.ts.map +0 -1
- package/types/server/pg-limit.d.ts +0 -10
- package/types/server/pg-limit.d.ts.map +0 -1
- package/types/server/pg-live.d.ts +0 -4
- package/types/server/pg-live.d.ts.map +0 -1
- package/types/server/pg-not-found.d.ts +0 -30
- package/types/server/pg-not-found.d.ts.map +0 -1
- package/types/server/pg-notify.d.ts +0 -9
- package/types/server/pg-notify.d.ts.map +0 -1
- package/types/server/pg-orm.d.ts +0 -32
- package/types/server/pg-orm.d.ts.map +0 -1
- package/types/server/pg-poll.d.ts +0 -41
- package/types/server/pg-poll.d.ts.map +0 -1
- package/types/server/pg-redirects.d.ts +0 -4
- package/types/server/pg-redirects.d.ts.map +0 -1
- package/types/server/pg-rooms.d.ts +0 -7
- package/types/server/pg-rooms.d.ts.map +0 -1
- package/types/server/pg-sql.d.ts +0 -6
- package/types/server/pg-sql.d.ts.map +0 -1
- package/types/server/pg-stores.d.ts +0 -14
- package/types/server/pg-stores.d.ts.map +0 -1
- package/types/server/phases.d.ts +0 -36
- package/types/server/phases.d.ts.map +0 -1
- package/types/server/plugin.d.ts +0 -32
- package/types/server/plugin.d.ts.map +0 -1
- package/types/server/plumbing.d.ts +0 -20
- package/types/server/plumbing.d.ts.map +0 -1
- package/types/server/png.d.ts +0 -9
- package/types/server/png.d.ts.map +0 -1
- package/types/server/prebuilt-loader.d.ts +0 -2
- package/types/server/prebuilt-loader.d.ts.map +0 -1
- package/types/server/prerender.d.ts +0 -34
- package/types/server/prerender.d.ts.map +0 -1
- package/types/server/prerendered.d.ts +0 -19
- package/types/server/prerendered.d.ts.map +0 -1
- package/types/server/presence.d.ts +0 -10
- package/types/server/presence.d.ts.map +0 -1
- package/types/server/preview.d.ts +0 -55
- package/types/server/preview.d.ts.map +0 -1
- package/types/server/private-dir.d.ts +0 -7
- package/types/server/private-dir.d.ts.map +0 -1
- package/types/server/protection.d.ts +0 -95
- package/types/server/protection.d.ts.map +0 -1
- package/types/server/proxy-key.d.ts +0 -14
- package/types/server/proxy-key.d.ts.map +0 -1
- package/types/server/public-suffix.d.ts +0 -2
- package/types/server/public-suffix.d.ts.map +0 -1
- package/types/server/public-suffixes.d.ts +0 -3
- package/types/server/public-suffixes.d.ts.map +0 -1
- package/types/server/public.d.ts +0 -23
- package/types/server/public.d.ts.map +0 -1
- package/types/server/publishing.d.ts +0 -13
- package/types/server/publishing.d.ts.map +0 -1
- package/types/server/pure-page.d.ts +0 -21
- package/types/server/pure-page.d.ts.map +0 -1
- package/types/server/push-crypto.d.ts +0 -21
- package/types/server/push-crypto.d.ts.map +0 -1
- package/types/server/push-keys-command.d.ts +0 -4
- package/types/server/push-keys-command.d.ts.map +0 -1
- package/types/server/push-server.d.ts +0 -4
- package/types/server/push-server.d.ts.map +0 -1
- package/types/server/push-settings.d.ts +0 -18
- package/types/server/push-settings.d.ts.map +0 -1
- package/types/server/push-store.d.ts +0 -19
- package/types/server/push-store.d.ts.map +0 -1
- package/types/server/push.d.ts +0 -49
- package/types/server/push.d.ts.map +0 -1
- package/types/server/query.d.ts +0 -14
- package/types/server/query.d.ts.map +0 -1
- package/types/server/queue-live.d.ts +0 -20
- package/types/server/queue-live.d.ts.map +0 -1
- package/types/server/queue-scheduler.d.ts +0 -32
- package/types/server/queue-scheduler.d.ts.map +0 -1
- package/types/server/queue-telling.d.ts +0 -3
- package/types/server/queue-telling.d.ts.map +0 -1
- package/types/server/queue.d.ts +0 -163
- package/types/server/queue.d.ts.map +0 -1
- package/types/server/raster.d.ts +0 -14
- package/types/server/raster.d.ts.map +0 -1
- package/types/server/rate-limit.d.ts +0 -12
- package/types/server/rate-limit.d.ts.map +0 -1
- package/types/server/rate-refusal.d.ts +0 -4
- package/types/server/rate-refusal.d.ts.map +0 -1
- package/types/server/rate-windows.d.ts +0 -3
- package/types/server/rate-windows.d.ts.map +0 -1
- package/types/server/reach-walk.d.ts +0 -4
- package/types/server/reach-walk.d.ts.map +0 -1
- package/types/server/reach.d.ts +0 -11
- package/types/server/reach.d.ts.map +0 -1
- package/types/server/receive.d.ts +0 -9
- package/types/server/receive.d.ts.map +0 -1
- package/types/server/redirect-spelling.d.ts +0 -5
- package/types/server/redirect-spelling.d.ts.map +0 -1
- package/types/server/redirects.d.ts +0 -27
- package/types/server/redirects.d.ts.map +0 -1
- package/types/server/reload.d.ts +0 -4
- package/types/server/reload.d.ts.map +0 -1
- package/types/server/remote.d.ts +0 -24
- package/types/server/remote.d.ts.map +0 -1
- package/types/server/render-document.d.ts +0 -22
- package/types/server/render-document.d.ts.map +0 -1
- package/types/server/render.d.ts +0 -117
- package/types/server/render.d.ts.map +0 -1
- package/types/server/report.d.ts +0 -7
- package/types/server/report.d.ts.map +0 -1
- package/types/server/request-context.d.ts +0 -29
- package/types/server/request-context.d.ts.map +0 -1
- package/types/server/request-read.d.ts +0 -15
- package/types/server/request-read.d.ts.map +0 -1
- package/types/server/request-record.d.ts +0 -76
- package/types/server/request-record.d.ts.map +0 -1
- package/types/server/request-scope.d.ts +0 -7
- package/types/server/request-scope.d.ts.map +0 -1
- package/types/server/request-timeout.d.ts +0 -31
- package/types/server/request-timeout.d.ts.map +0 -1
- package/types/server/request-url.d.ts +0 -4
- package/types/server/request-url.d.ts.map +0 -1
- package/types/server/request-user.d.ts +0 -4
- package/types/server/request-user.d.ts.map +0 -1
- package/types/server/resources.d.ts +0 -12
- package/types/server/resources.d.ts.map +0 -1
- package/types/server/response-mismatch.d.ts +0 -3
- package/types/server/response-mismatch.d.ts.map +0 -1
- package/types/server/revalidate.d.ts +0 -3
- package/types/server/revalidate.d.ts.map +0 -1
- package/types/server/rewrite.d.ts +0 -13
- package/types/server/rewrite.d.ts.map +0 -1
- package/types/server/rooms.d.ts +0 -87
- package/types/server/rooms.d.ts.map +0 -1
- package/types/server/route-settings.d.ts +0 -9
- package/types/server/route-settings.d.ts.map +0 -1
- package/types/server/route-table.d.ts +0 -26
- package/types/server/route-table.d.ts.map +0 -1
- package/types/server/routes.d.ts +0 -101
- package/types/server/routes.d.ts.map +0 -1
- package/types/server/runtime-redirect-api.d.ts +0 -35
- package/types/server/runtime-redirect-api.d.ts.map +0 -1
- package/types/server/runtime-redirects.d.ts +0 -74
- package/types/server/runtime-redirects.d.ts.map +0 -1
- package/types/server/safe-path.d.ts +0 -2
- package/types/server/safe-path.d.ts.map +0 -1
- package/types/server/save-data.d.ts +0 -10
- package/types/server/save-data.d.ts.map +0 -1
- package/types/server/schema-answer.d.ts +0 -12
- package/types/server/schema-answer.d.ts.map +0 -1
- package/types/server/schema-check.d.ts +0 -13
- package/types/server/schema-check.d.ts.map +0 -1
- package/types/server/scope.d.ts +0 -12
- package/types/server/scope.d.ts.map +0 -1
- package/types/server/seal.d.ts +0 -11
- package/types/server/seal.d.ts.map +0 -1
- package/types/server/secret.d.ts +0 -12
- package/types/server/secret.d.ts.map +0 -1
- package/types/server/security.d.ts +0 -19
- package/types/server/security.d.ts.map +0 -1
- package/types/server/seo.d.ts +0 -15
- package/types/server/seo.d.ts.map +0 -1
- package/types/server/served-paths.d.ts +0 -26
- package/types/server/served-paths.d.ts.map +0 -1
- package/types/server/server-islands.d.ts +0 -28
- package/types/server/server-islands.d.ts.map +0 -1
- package/types/server/server-record.d.ts +0 -23
- package/types/server/server-record.d.ts.map +0 -1
- package/types/server/serving.d.ts +0 -5
- package/types/server/serving.d.ts.map +0 -1
- package/types/server/session.d.ts +0 -116
- package/types/server/session.d.ts.map +0 -1
- package/types/server/setup.d.ts +0 -49
- package/types/server/setup.d.ts.map +0 -1
- package/types/server/sha256.d.ts +0 -7
- package/types/server/sha256.d.ts.map +0 -1
- package/types/server/signals.d.ts +0 -19
- package/types/server/signals.d.ts.map +0 -1
- package/types/server/signed.d.ts +0 -9
- package/types/server/signed.d.ts.map +0 -1
- package/types/server/site-facts.d.ts +0 -8
- package/types/server/site-facts.d.ts.map +0 -1
- package/types/server/site-paths.d.ts +0 -3
- package/types/server/site-paths.d.ts.map +0 -1
- package/types/server/sitemap.d.ts +0 -36
- package/types/server/sitemap.d.ts.map +0 -1
- package/types/server/snake-case.d.ts +0 -2
- package/types/server/snake-case.d.ts.map +0 -1
- package/types/server/socket.d.ts +0 -49
- package/types/server/socket.d.ts.map +0 -1
- package/types/server/source.d.ts +0 -34
- package/types/server/source.d.ts.map +0 -1
- package/types/server/speculation.d.ts +0 -4
- package/types/server/speculation.d.ts.map +0 -1
- package/types/server/sqlite-data.d.ts +0 -14
- package/types/server/sqlite-data.d.ts.map +0 -1
- package/types/server/sqlite-live.d.ts +0 -3
- package/types/server/sqlite-live.d.ts.map +0 -1
- package/types/server/stale-pages.d.ts +0 -17
- package/types/server/stale-pages.d.ts.map +0 -1
- package/types/server/stamp.d.ts +0 -24
- package/types/server/stamp.d.ts.map +0 -1
- package/types/server/storage.d.ts +0 -74
- package/types/server/storage.d.ts.map +0 -1
- package/types/server/stream.d.ts +0 -26
- package/types/server/stream.d.ts.map +0 -1
- package/types/server/string.d.ts +0 -9
- package/types/server/string.d.ts.map +0 -1
- package/types/server/svg-icon.d.ts +0 -3
- package/types/server/svg-icon.d.ts.map +0 -1
- package/types/server/swap.d.ts +0 -3
- package/types/server/swap.d.ts.map +0 -1
- package/types/server/tool-outputs.d.ts +0 -12
- package/types/server/tool-outputs.d.ts.map +0 -1
- package/types/server/tool-settings.d.ts +0 -3
- package/types/server/tool-settings.d.ts.map +0 -1
- package/types/server/trace-context.d.ts +0 -17
- package/types/server/trace-context.d.ts.map +0 -1
- package/types/server/trace.d.ts +0 -33
- package/types/server/trace.d.ts.map +0 -1
- package/types/server/translations.d.ts +0 -8
- package/types/server/translations.d.ts.map +0 -1
- package/types/server/typography.d.ts +0 -3
- package/types/server/typography.d.ts.map +0 -1
- package/types/server/uncaught.d.ts +0 -9
- package/types/server/uncaught.d.ts.map +0 -1
- package/types/server/unsafe-urls.d.ts +0 -2
- package/types/server/unsafe-urls.d.ts.map +0 -1
- package/types/server/validate.d.ts +0 -26
- package/types/server/validate.d.ts.map +0 -1
- package/types/server/violations.d.ts +0 -18
- package/types/server/violations.d.ts.map +0 -1
- package/types/server/visit.d.ts +0 -11
- package/types/server/visit.d.ts.map +0 -1
- package/types/server/vitals-routes/_guard.d.ts +0 -3
- package/types/server/vitals-routes/_guard.d.ts.map +0 -1
- package/types/server/vitals-screen.d.ts +0 -5
- package/types/server/vitals-screen.d.ts.map +0 -1
- package/types/server/vitals-script.d.ts +0 -3
- package/types/server/vitals-script.d.ts.map +0 -1
- package/types/server/vitals-server.d.ts +0 -4
- package/types/server/vitals-server.d.ts.map +0 -1
- package/types/server/vitals-store.d.ts +0 -41
- package/types/server/vitals-store.d.ts.map +0 -1
- package/types/server/vitals.d.ts +0 -20
- package/types/server/vitals.d.ts.map +0 -1
- package/types/server/web-socket.d.ts +0 -11
- package/types/server/web-socket.d.ts.map +0 -1
- package/types/server/wildcards.d.ts +0 -3
- package/types/server/wildcards.d.ts.map +0 -1
- package/types/server/words.d.ts +0 -52
- package/types/server/words.d.ts.map +0 -1
- package/types/server/work-scope.d.ts +0 -14
- package/types/server/work-scope.d.ts.map +0 -1
- package/types/server/work.d.ts +0 -11
- package/types/server/work.d.ts.map +0 -1
- package/types/server/workers.d.ts +0 -23
- package/types/server/workers.d.ts.map +0 -1
- package/types/server/workflow.d.ts +0 -92
- package/types/server/workflow.d.ts.map +0 -1
- package/types/server/writes.d.ts +0 -4
- package/types/server/writes.d.ts.map +0 -1
- package/types/server/ws-limits.d.ts +0 -43
- package/types/server/ws-limits.d.ts.map +0 -1
- package/types/svg-attributes.d.ts +0 -2
- package/types/svg-attributes.d.ts.map +0 -1
- package/types/template-auth.d.ts +0 -4
- package/types/template-auth.d.ts.map +0 -1
- package/types/template-ci.d.ts +0 -4
- package/types/template-ci.d.ts.map +0 -1
- package/types/template-config.d.ts +0 -4
- package/types/template-config.d.ts.map +0 -1
- package/types/template-docker.d.ts +0 -6
- package/types/template-docker.d.ts.map +0 -1
- package/types/template-pins.d.ts +0 -11
- package/types/template-pins.d.ts.map +0 -1
- package/types/template-shared.d.ts +0 -28
- package/types/template-shared.d.ts.map +0 -1
- package/types/template-starter.d.ts +0 -7
- package/types/template-starter.d.ts.map +0 -1
- package/types/template-styles.d.ts +0 -10
- package/types/template-styles.d.ts.map +0 -1
- package/types/template-ws.d.ts +0 -4
- package/types/template-ws.d.ts.map +0 -1
- package/types/templates.d.ts +0 -11
- package/types/templates.d.ts.map +0 -1
- package/types/test/a11y-dom.d.ts +0 -20
- package/types/test/a11y-dom.d.ts.map +0 -1
- package/types/test/a11y.d.ts +0 -3
- package/types/test/a11y.d.ts.map +0 -1
- package/types/test/browser.d.ts +0 -17
- package/types/test/browser.d.ts.map +0 -1
- package/types/test/clock.d.ts +0 -2
- package/types/test/clock.d.ts.map +0 -1
- package/types/test/content.d.ts +0 -20
- package/types/test/content.d.ts.map +0 -1
- package/types/test/cookies.d.ts +0 -9
- package/types/test/cookies.d.ts.map +0 -1
- package/types/test/database.d.ts +0 -2
- package/types/test/database.d.ts.map +0 -1
- package/types/test/dom.d.ts +0 -2
- package/types/test/dom.d.ts.map +0 -1
- package/types/test/env.d.ts +0 -2
- package/types/test/env.d.ts.map +0 -1
- package/types/test/html-snapshot.d.ts +0 -4
- package/types/test/html-snapshot.d.ts.map +0 -1
- package/types/test/index.d.ts +0 -30
- package/types/test/index.d.ts.map +0 -1
- package/types/test/interact.d.ts +0 -7
- package/types/test/interact.d.ts.map +0 -1
- package/types/test/isolation.d.ts +0 -2
- package/types/test/isolation.d.ts.map +0 -1
- package/types/test/lazy-plugins.d.ts +0 -8
- package/types/test/lazy-plugins.d.ts.map +0 -1
- package/types/test/mount.d.ts +0 -19
- package/types/test/mount.d.ts.map +0 -1
- package/types/test/natives.d.ts +0 -26
- package/types/test/natives.d.ts.map +0 -1
- package/types/test/network.d.ts +0 -62
- package/types/test/network.d.ts.map +0 -1
- package/types/test/outgoing.d.ts +0 -12
- package/types/test/outgoing.d.ts.map +0 -1
- package/types/test/outputs.d.ts +0 -5
- package/types/test/outputs.d.ts.map +0 -1
- package/types/test/override-env.d.ts +0 -9
- package/types/test/override-env.d.ts.map +0 -1
- package/types/test/page-checks.d.ts +0 -6
- package/types/test/page-checks.d.ts.map +0 -1
- package/types/test/page-types.d.ts +0 -110
- package/types/test/page-types.d.ts.map +0 -1
- package/types/test/page.d.ts +0 -19
- package/types/test/page.d.ts.map +0 -1
- package/types/test/preload.d.ts +0 -5
- package/types/test/preload.d.ts.map +0 -1
- package/types/test/reset.d.ts +0 -2
- package/types/test/reset.d.ts.map +0 -1
- package/types/test/root.d.ts +0 -2
- package/types/test/root.d.ts.map +0 -1
- package/types/test/scratch.d.ts +0 -2
- package/types/test/scratch.d.ts.map +0 -1
- package/types/test/screenshot-match.d.ts +0 -7
- package/types/test/screenshot-match.d.ts.map +0 -1
- package/types/test/service.d.ts +0 -25
- package/types/test/service.d.ts.map +0 -1
- package/types/test/shared-modules.d.ts +0 -3
- package/types/test/shared-modules.d.ts.map +0 -1
- package/types/test/site-actions.d.ts +0 -8
- package/types/test/site-actions.d.ts.map +0 -1
- package/types/test/site-api.d.ts +0 -4
- package/types/test/site-api.d.ts.map +0 -1
- package/types/test/site-keys.d.ts +0 -10
- package/types/test/site-keys.d.ts.map +0 -1
- package/types/test/site-mcp.d.ts +0 -4
- package/types/test/site-mcp.d.ts.map +0 -1
- package/types/test/site-scope.d.ts +0 -21
- package/types/test/site-scope.d.ts.map +0 -1
- package/types/test/site-socket.d.ts +0 -4
- package/types/test/site-socket.d.ts.map +0 -1
- package/types/test/site-types.d.ts +0 -140
- package/types/test/site-types.d.ts.map +0 -1
- package/types/test/site-world.d.ts +0 -11
- package/types/test/site-world.d.ts.map +0 -1
- package/types/test/sites.d.ts +0 -4
- package/types/test/sites.d.ts.map +0 -1
- package/types/test/text-match.d.ts +0 -13
- package/types/test/text-match.d.ts.map +0 -1
- package/types/test/timeout.d.ts +0 -2
- package/types/test/timeout.d.ts.map +0 -1
- package/types/test/wait.d.ts +0 -7
- package/types/test/wait.d.ts.map +0 -1
- package/types/test/writable.d.ts +0 -2
- package/types/test/writable.d.ts.map +0 -1
- package/types/tsgo.d.ts +0 -3
- package/types/tsgo.d.ts.map +0 -1
|
@@ -1,67 +0,0 @@
|
|
|
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, or in a fresh clone holding only `.git` and what a new forge repo carries (`README.md`, a `LICENSE` file, `.gitignore`, `.gitattributes`): the `.git` folder and its `origin` stay (the origin picks the CI host), the README, licence and `.gitattributes` are kept, and the template's `.gitignore` replaces the forge's. Any other entry stops it with `kay: <dir> is not empty: <first five entries> in the way`.
|
|
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 orbit's near-black palette (kayjs-ui's token names: `background`, `foreground`, `border`, `muted`, `accent`) with a hairline on every box, no shadows, with the `.vscode/settings.json` every project gets also pointing Tailwind IntelliSense at the shorthand and `class="..."`; off, the markup carries no classes), `ui` (kayjs-ui: its space skin imported in `app.css`, Space Grotesk and JetBrains Mono served through `fonts`, `ui()` in `kay.config.ts` and the header drawn with `AppHeader`; in every preset, and it needs `tailwind`), `accents` (an accent picker in the header, twelve accents kept in a cookie, `starlight` by default, 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 ai,mail` runs `kay add ai,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` and `ui` stay written by the templates, as `package.json` dependencies for `bun install`; `auth` holds `ui` too.
|
|
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
|
-
- No project carries an `.npmrc`: kay and every package a preset installs come from npm.
|
|
45
|
-
- The `server`, `site` and `app` presets have a layout with `seo` defaults and a skip link, a header over orbit's near-black palette, drawn with kayjs-ui's `AppHeader` (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/app.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>` (`^` from 2.0.0), 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.expectRefused`) 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/app.sqlite`, `data/auth.sqlite` or `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` 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()`, or in a static site the `@kayjs/ui/theme.css` import in `src/app.css` (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.
|
package/llms/project.md
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
# Project setup and scaffolding
|
|
2
|
-
|
|
3
|
-
## Common tasks
|
|
4
|
-
|
|
5
|
-
### Start a project
|
|
6
|
-
|
|
7
|
-
`kay new` scaffolds a project that already checks, builds and runs, from a preset (`blank`, `server`, `site` or `app`) plus the features added or dropped:
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
bunx -p @kayjs/kay kay new my-app --template app --without ws
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Set the project's settings
|
|
14
|
-
|
|
15
|
-
Settings live in a `kay.config.ts` at the root that `export default`s its config:
|
|
16
|
-
|
|
17
|
-
```ts
|
|
18
|
-
import { defineConfig } from 'kay/server'
|
|
19
|
-
|
|
20
|
-
export default defineConfig({
|
|
21
|
-
dirs: { routes: 'src/routes' },
|
|
22
|
-
lang: 'en',
|
|
23
|
-
minify: true,
|
|
24
|
-
client: { prefetch: 'moderate' },
|
|
25
|
-
plugins: [],
|
|
26
|
-
})
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### Serve the app's own routes next to the pages
|
|
30
|
-
|
|
31
|
-
Exporting `app` from the server entry lets links and redirects point at its GET routes and types `ctx.locals`:
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
import { Elysia } from 'elysia'
|
|
35
|
-
import { pages } from 'kay/server'
|
|
36
|
-
|
|
37
|
-
export const app = new Elysia()
|
|
38
|
-
.get('/feed.xml', () => '<feed/>')
|
|
39
|
-
.use(await pages())
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Move an Astro project over
|
|
43
|
-
|
|
44
|
-
`kay migrate astro` translates the `.astro` files into `.kay` ones, writing into `--outdir` and never over a file that exists:
|
|
45
|
-
|
|
46
|
-
```sh
|
|
47
|
-
kay migrate astro ../my-astro-site --outdir ../my-kay-site
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Reference
|
|
51
|
-
|
|
52
|
-
### Project setup
|
|
53
|
-
|
|
54
|
-
- kay is published as `@kayjs/kay` to npm, and as a mirror to the Forgejo registry at `https://git.kaynooo.fr/api/packages/kaynooo/npm/`, its libraries as `@kayjs/ui`, `@kayjs/auth`, `@kayjs/mail`, `@kayjs/cms` and `@kayjs/ai` (`@kaynooo/kayjs*` up to 1.103, which `kay upgrade` moves an app off), and installed under the name its imports use: `"kay": "npm:@kayjs/kay@~<version>"` in `package.json`. From 2.0.0 kay follows semver (a breaking change is a major, and `kay new` writes `^<version>`); through 1.x a minor may break what the one before it took, so `kay new` writes `~<version>`, each break listed in [Upgrading](upgrading.md) and every one `kay check` can recognise a `deprecated` lint with a fix, which `kay upgrade` applies as it moves the app. Every package a project installs, pg-orm and eslint included, is on npm, so a project carries no `.npmrc` and Bun needs no registry setup.
|
|
55
|
-
- `bunx -p @kayjs/kay kay new my-app` writes a project that, after `cd my-app && bun install`, checks, builds and runs (`bun run dev`), both of those included: this setup, a layout, a page, a `_404.kay` and islands, or only what is picked of them (see [Commands](commands.md#commands) for the presets and features).
|
|
56
|
-
|
|
57
|
-
- kay runs on Bun 1.4.5 or later, as its `engines` says: the CLI and `pages()` refuse an older one, naming its version, its path and the fix, `bun update bun` when it is the project's npm `bun` package, which a plugin's peer dependency installs and package scripts run ahead of the system Bun.
|
|
58
|
-
|
|
59
|
-
- A folder of the project holding its own `package.json` or `kay.config.ts`, such as a workspace package or a second kay app, is a project of its own: `kay check` and `kay build` leave its files out of the app's, and the app reaches a package there through `node_modules`, as it would one installed.
|
|
60
|
-
|
|
61
|
-
- By hand, the server entry is:
|
|
62
|
-
|
|
63
|
-
```ts
|
|
64
|
-
import { Elysia } from 'elysia'
|
|
65
|
-
import { pages } from 'kay/server'
|
|
66
|
-
|
|
67
|
-
export const app = new Elysia()
|
|
68
|
-
.get('/feed.xml', feed)
|
|
69
|
-
.use(await pages())
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
- The entry never calls `listen`: it is listened on `PORT` and `HOST` by `kay dev`, `kay start` and the executable, and one calling `listen` itself keeps its own call ([Build and start](build-and-start.md)).
|
|
73
|
-
- Plugins (sessions, jobs, a derive) go in `src/plugins/<name>.ts` instead, each default-exporting the plugin, so a project with only those needs no server entry ([Mount a server plugin](server.md#mount-a-server-plugin)).
|
|
74
|
-
- Exporting `app` lets links and redirects point at the app's own GET routes, such as `/feed.xml`, which `kay check` otherwise reports as served by no page, and types `ctx.locals` (see [Locals](server.md#locals)).
|
|
75
|
-
- An entry other than `src/server.ts` is named once, as `entry: 'src/main.ts'` in `kay.config.ts`, which `kay dev`, `start`, `render`, `check`, `build` and `build --compile` all read; `--entry` on a command wins over it, `kay build --entry` also pointing its check step at that entry.
|
|
76
|
-
- An entry `kay check` does not read registers it instead: `declare module 'kay' { interface Register { app: typeof app } }`.
|
|
77
|
-
|
|
78
|
-
- A key kay does not know in `kay.config.ts`, at its top or in any option bag (`security`, `i18n`, `assets`, `markdown`, `ops`, `cors`, `client` and the rest), stops every command with the nearest known name (`` `trailingslash`, did you mean `trailingSlash`? ``), and `defineConfig` types it as an error, since a mistyped key would otherwise leave kay's default in place with nothing said.
|
|
79
|
-
- A value that is not the kind its key takes (`trailingSlash: 'sometimes'`, `compress: 7`, `lang: 5`, a `default` locale outside the `locales`) stops them the same way, once, as the config loads: `` `trailingSlash` is "sometimes", expected one of "never", "always" or "ignore" ``, the path through bags and lists, with the nearest allowed value for a mistyped text. The options of `pages()` and `testSite()` are checked as they merge, and an extension's `config` as it loads.
|
|
80
|
-
- `auth()`, `cms()`, `mail()` and `ai()` refuse an option they do not take with the nearest one, as `kay.config.ts` does; a library adds the same to its own factory with `checkOptionKeys` from `kay/library`, over a `Record<keyof ItsOptions, true>`.
|
|
81
|
-
- Project settings live in an optional `kay.config.ts` at the root, read by `pages()` and every command; the `config` passed to `pages({ config })` or `testSite({ config })` wins over it key by key, an `undefined` key leaving the file's value (the config's keys written beside `root` are refused: write them in `config`), and in an executable `kay build --compile` wrote, the root, routes and public directory it was built with win over both.
|
|
82
|
-
- It must `export default` its config, or the command fails with a message saying so.
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
import { defineConfig } from 'kay/server'
|
|
86
|
-
|
|
87
|
-
export default defineConfig({
|
|
88
|
-
dirs: { routes: 'src/routes' },
|
|
89
|
-
lang: 'en',
|
|
90
|
-
minify: true,
|
|
91
|
-
client: { prefetch: 'moderate' },
|
|
92
|
-
plugins: [],
|
|
93
|
-
})
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
- A directory inside the project holding a `kay.config.ts` of its own, such as an example app or a documentation site, is another project: its components are never the outer one's islands, and it checks and builds from its own root.
|
|
97
|
-
|
|
98
|
-
- A feature key is `false` for off, `true` for its defaults or an object of options: `robots`, `sitemap`, `assets.favicon`, `security`, `ops.health`, `preview`, `client.offline`, `ops.metrics`, `openapi`, `mcp`, `proxy`, `assets.images.formats.avif` and the rate limits. `defineConfig` refuses a key it does not know in any option bag, as a type error.
|
|
99
|
-
- A list that may come from a CMS or a database is the list, or a function returning it (or a promise of it): `cors.origins`, `security.hosts`, `assets.images.remote.hosts`, `proxy.trusted`, `redirects`, `robots.disallow`, `robots.allow` and `i18n.paths`. Kay calls it once as the config loads, `kay dev` again after a change to the file.
|
|
100
|
-
- Keys are grouped by concern: `client` (what the browser is given: `links`, `offline`, `search`, ...), `assets` (`images`, `fonts`, `favicon`, `manifest`, `publicCache`), `ops` (`observe`, `health`, `metrics`, `jobs`), `endpoints` (where the app's API and each feature are served) and `i18n: { locales, default, mode }`, where `mode` is `'prefix'` (the default locale unprefixed), `'always'` or `{ domains }`. A top-level key of before 1.105 is refused, naming where it moved (the old `i18n` keys are refused, naming `default` and `mode`).
|
|
101
|
-
- `endpoints` holds every route the config moves, in one place: `{ api: '/api', openapi: '/api/openapi.json', mcp: '/_kay/mcp', health: '/_kay/health', metrics: '/_kay/metrics', jobs: '/_kay/jobs' }`, each an absolute path of plain segments with no trailing slash, and `api`, `openapi` and `mcp` none under `/_kay` when you set them. Every default is under `/_kay` but the app's API (and its OpenAPI document and reference page, which follow it). The reference page is `openapi: { reference: true }` or `{ reference: { path } }`. `serve.apiPrefix` and the `path` of `openapi`, `mcp`, `health`, `metrics` and `jobs`, and `openapi.referencePath`, are refused, each naming where it moved (see `llms/upgrading-1-105-config.md`). An app that did not move `mcp` or `metrics` keeps `/metrics` answering as well until 1.108, and `/mcp` answers the MCP endpoint in place (not redirected) until 2.0.
|
|
102
|
-
- `assets.images` is `{ remote: { hosts, maxSize, timeout }, formats: { quality, webp, avif }, limits: { variants, queue }, rateLimit, ttl, widths, ... }`; `remote: [...]` is hosts alone.
|
|
103
|
-
- A duration key is `ttl` for how long data lives, `timeout` for how long to wait and `maxAge` only for the HTTP or cookie attribute of that name.
|
|
104
|
-
- `proxy: false` is none, `proxy: true` is one proxy in front, `proxy: { hops: 2 }` two, `{ header }` a header the proxy sets, `{ key: { header: 'x-upstream-key' }, open }` refuses requests without the shared key ([Production](proxy-and-security.md#behind-a-proxy)).
|
|
105
|
-
- `extensions` lists what libraries add to the app, one value each, such as `extensions: [auth()]`: pages laid over `src/routes` and API modules over `src/api` under a prefix, message catalogs under `src/messages`, an app file at the same path or an app key winning, config laid under the app's, such as Bun plugins or head tags (see [Extensions](component-libraries.md#extensions)), and a hook rewriting each prerendered page (see [Page hooks](prerendering.md#page-hooks)).
|
|
106
|
-
|
|
107
|
-
- `minify` is on for `kay build` unless set to `false`, and off for `kay dev` and a server bundling at boot unless set to `true`.
|
|
108
|
-
- `lang`, the `<html lang>` of every page when `i18n` is not set, defaults to `en`.
|
|
109
|
-
- `timeZone: 'Europe/Paris'` is the zone `formatDate` and message dates write in, on the server and in islands alike, instead of the server's and the visitor's ([Locales](locales.md)).
|
|
110
|
-
- `typography: false` leaves a French page's spaces before `: ; ! ?` and inside `« »` as typed instead of making them non-breaking ([Locales](locales.md#french-typography)).
|
|
111
|
-
- `client.links: { outside: 'same-tab' }` keeps a link to another origin in the same tab, where it opens in a new one by default ([Navigation](navigation.md#navigation)); `client.links: { schemes: ['webcal'] }` lets a bound URL keep a scheme beyond the web's, mail, phone and sms ([Security](proxy-and-security.md)).
|
|
112
|
-
|
|
113
|
-
- A page without kay's script carries speculation rules, and one shipping it a `kay-prefetch` meta naming the setting alone, as the swap prefetches its links itself (see [Navigation](navigation.md#navigation)): Chromium, or the swap, prefetches the page a link points at once it is hovered (`prefetch: 'moderate'`), on press with `'conservative'`, as soon as it can with `'eager'` (every link on a page without the script, the links scrolled into view, three at a time, on one with it), never with `false`; `data-prefetch="eager|moderate|conservative"` on a link or a container sets its own level where the script runs, `data-prefetch="false"` opts out everywhere; a page with no `data-prefetch` in it carries the shorter rules without the selector that follows the nearest one.
|
|
114
|
-
- Links under `/_kay/` or `/api/`, with `download` or with `rel="nofollow"` are never prefetched; any other link that changes something on GET, such as a logout, takes `data-prefetch="false"`.
|
|
115
|
-
- A stylesheet holding `@view-transition { navigation: auto; }` animates from page to page where the browser supports it, swaps included; `kay new` writes one inside `@media (prefers-reduced-motion: no-preference)`.
|
|
116
|
-
|
|
117
|
-
- `pages()` also takes `root`, `dev` (default: `NODE_ENV` is `development`) and `prebuilt` (default: `NODE_ENV` is `production`), which serves what `kay build` wrote instead of bundling at boot.
|
|
118
|
-
- A `.ts` file imports a component as `import Card from './card.kay'`, typed through the generated `.kay/types` tree, which `kay dev` writes again on every restart, from `kay.config.ts` as it is once it changed, the modules it imports as they were.
|
|
119
|
-
- `.kay/` also holds the client build and the compile cache.
|
|
120
|
-
- List it in `.gitignore`.
|
|
121
|
-
- `tsconfig.json` extends kay's, which merges that tree with the sources and is as strict as kay itself:
|
|
122
|
-
|
|
123
|
-
```json
|
|
124
|
-
{ "extends": "kay/tsconfig.json" }
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
- Kay's tsconfig is as strict as kay itself: `noUncheckedIndexedAccess` types `cells[index]` as `Cell | undefined`, and `exactOptionalPropertyTypes` makes an optional field passed `undefined` say `?: T | undefined`, so plain TypeScript written without them reports errors in files no `.kay` touches. Add `"noUncheckedIndexedAccess": false` (or `"exactOptionalPropertyTypes": false`) to the app's `compilerOptions` to keep such code as it is, or write the `!` or the `?.` where the index is known to exist.
|
|
128
|
-
- It includes `src`, `tests`, `scripts`, the `*.config.ts` files beside it, such as `kay.config.ts`, `eslint.config.ts` and `pg-orm.config.ts`, and `.kay/types`, relative to the project's tsconfig.
|
|
129
|
-
- A project adds its own `compilerOptions` beside `extends`, and an `include` of its own replaces kay's, so it lists `.kay/types` again; one setting up its tsconfig by hand needs `"jsx": "preserve"`, `"jsxImportSource": "kay"`, `"module": "Preserve"`, `"moduleResolution": "bundler"` and `"rootDirs": [".", ".kay/types"]`.
|
|
130
|
-
|
|
131
|
-
- `kay/html`, `kay/dom`, `kay/dom-loop`, `kay/dom-await`, `kay/dom-lazy`, `kay/dom-try`, `kay/dom-spread`, `kay/dom-image`, `kay/pending`, `kay/i18n-links`, `kay/island`, `kay/await`, `kay/client`, `kay/arrival`, `kay/internal`, `kay/internal/title` and `kay/internal/server` are what compiled `.kay` files and kay's generated entries import, and `kay/jsx-runtime` is where TypeScript finds the JSX types of `jsxImportSource: "kay"`: the compiler's output contract rather than API, free to change in any release, never imported by an app. The root `kay` export also holds the compile-time types behind the generated shadow types, none of them for an app to name: `BindableMark`, `IslandBrand`, `HandedPart`, `HandsPart`, `HandedSignal`, `UnresolvedParameter`, `WidenedProps`, `CheckedHref`, `CheckedHtml`, `CheckedComputedHtml`, `BoundProp`, `BoundValue`, `PlainIslandProp`, `FunctionProp`, `Inferred`, `TemplateHelpers`, `TemplateValues` and `Truthy`, free to change in any release too.
|
|
132
|
-
- A few entries also hold plumbing no page tells an app to call, free to change in any release: the paths, providers and tracker tags of `kay/analytics` (`ANALYTICS_PATH`, `ANALYTICS_SCRIPT_PATH`, `ANALYTICS_PROVIDERS`, `CUSTOM_COLLECT_PATH`, `CUSTOM_SCRIPT_PATH`, `NOTICE_SCRIPT_PATH`, `INTEGRITY`, `TRACKER_TAGS`, `isGated`, `LazyGuard`), the collection marker, publish times and cache key of `kay/content`, and the preview session reader of `kay/server`.
|
|
133
|
-
- A name has one home: an entry beside a package's root exists for browser safety (`@kayjs/auth/rules`, `@kayjs/cms/form`, which an island imports without the server) and the root does not repeat its names.
|
|
134
|
-
- `kay/library` is what kay's own libraries (kayjs-auth, kayjs-ui, kayjs-mail, kayjs-cms, kayjs-ai) share with kay for their server code, such as the sanitizer's lists, sealing, locale matching, escaping and the user a library names for a request (`nameUser(request, () => id)`, read back by `userOf(request)`: kayjs-auth names the signed-in user and kayjs-ai counts them) and `configError(option, value, takes)`, the `config-invalid` `KayError` a library throws for a setting it refuses at boot, so neither keeps a copy: not API either, free to change with any minor, never imported by an app. The libraries are released in lockstep with kay, each one's peer range on kay's minor, so the same holds for what a library imports from it.
|
|
135
|
-
|
|
136
|
-
### Reserved paths
|
|
137
|
-
|
|
138
|
-
- Naming rule: a file kay reads for one thing is singular (`server.ts`, `auth.ts`, `mail.ts`, `ui.ts`, `context.ts`, `env.ts`, `theme.ts`); a folder with one file per page, plugin, template, matcher or catalog is plural (`routes/`, `plugins/`, `mails/`, `messages/`, `params/`); a mass noun or acronym stays as is (`api/`, `content/`, `db/`); a file inside a plural folder is named after what it holds (`plugins/metrics.ts`). A route is `/_kay/<noun>` for an endpoint and `/_kay/<nouns>/` for files; the image resizer shares its variants' prefix, `/_kay/images` and `/_kay/images/<file>`.
|
|
139
|
-
- At the root: `kay.config.ts`, `public/` (served as is), `data/` (default SQLite and file stores, ignored by git and docker).
|
|
140
|
-
- Under `src/`: `routes/` (pages, layouts, endpoints, `_guard.ts`), `api/`, `plugins/` (server plugins), `jobs/` (queues, workflows and schedules, each export mounted), `messages/<locale>.ts`, `params/<name>.ts`, `content/` with `content.config.ts`, `mails/<name>.kay` with `<name>.preview.ts` beside it and `mail.ts` for the mailer, `db/index.ts` and `tables.ts`, `server.ts`, `auth.ts`, `ui.ts`, `context.ts`, `env.ts`, `theme.ts`, `app.css`, `logo.svg` (the card logo, where `card.logo` names it).
|
|
141
|
-
- Under `/_kay/`: `assets/` (browser build, imported files), `images` and `images/` (resizer, variants), `card`, `files/`, `action/`, `live`, `health`, `mcp`, `metrics`, `jobs` (with `ops: { jobs: { guards } }`), `error`, `csp`, `vitals`, `analytics`, `push`, `search.json` and `search/`, `preview`, `draft`, `env.js`.
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
# Proxies, security headers and compression
|
|
2
|
-
|
|
3
|
-
## Common tasks
|
|
4
|
-
|
|
5
|
-
### Read the visitor's address behind a proxy
|
|
6
|
-
|
|
7
|
-
`proxy` in kay.config.ts says how many proxies sit in front, so `rateLimit` and `clientAddress` count the visitor and not the proxy, `true` for one:
|
|
8
|
-
|
|
9
|
-
```ts
|
|
10
|
-
export default defineConfig({
|
|
11
|
-
proxy: true,
|
|
12
|
-
})
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Allow another image host in the Content-Security-Policy
|
|
16
|
-
|
|
17
|
-
`security.csp` merges directives over kay's, `permissions` features over its `Permissions-Policy`, and `headers` adds a header such as a longer HSTS:
|
|
18
|
-
|
|
19
|
-
```ts
|
|
20
|
-
import { defineConfig } from 'kay/server'
|
|
21
|
-
|
|
22
|
-
export default defineConfig({
|
|
23
|
-
security: {
|
|
24
|
-
csp: { 'img-src': ['\'self\'', 'https://images.example.com'] },
|
|
25
|
-
permissions: { microphone: 'self' },
|
|
26
|
-
headers: { 'strict-transport-security': 'max-age=63072000; includeSubDomains' },
|
|
27
|
-
},
|
|
28
|
-
})
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Try a stricter policy before enforcing it
|
|
32
|
-
|
|
33
|
-
`reportOnly` sends the merged policy as `Content-Security-Policy-Report-Only`, and `reports: true` has browsers report what it would have blocked to kay's own route:
|
|
34
|
-
|
|
35
|
-
```ts
|
|
36
|
-
export default defineConfig({
|
|
37
|
-
security: {
|
|
38
|
-
reportOnly: { 'style-src': ['\'self\''] },
|
|
39
|
-
reports: true,
|
|
40
|
-
},
|
|
41
|
-
})
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Compress responses
|
|
45
|
-
|
|
46
|
-
In production kay compresses pages, action results and routes' responses with zstd, brotli or gzip on its own; `compress: false` turns it off behind a proxy or CDN that compresses already, and `compress: true` turns it on elsewhere:
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
export default defineConfig({
|
|
50
|
-
serve: { compress: false },
|
|
51
|
-
})
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
A server build also sends a page to a browser holding its compression dictionary, the build's 404 page, as the difference from it ([Compression](#compression)); `compressionDictionary: false` builds none, so no page names it:
|
|
55
|
-
|
|
56
|
-
```ts
|
|
57
|
-
export default defineConfig({
|
|
58
|
-
serve: { compressionDictionary: false },
|
|
59
|
-
})
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Reference
|
|
63
|
-
|
|
64
|
-
### Behind a proxy
|
|
65
|
-
|
|
66
|
-
- A server behind nginx, Caddy or Cloudflare is reached from the proxy rather than from the visitor, so the address `rateLimit` and `clientAddress` count is the proxy's for every visitor until `proxy` in kay.config.ts says how to read the visitor's:
|
|
67
|
-
|
|
68
|
-
```ts
|
|
69
|
-
export default defineConfig({
|
|
70
|
-
proxy: true,
|
|
71
|
-
})
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
- `proxy: false` is none, as left out; `proxy: true` is one proxy in front, `{ hops: 2 }` two; a bare `proxy: 2` is refused, write `{ hops: 2 }`.
|
|
75
|
-
- `hops` is the number of proxies in front, each appending the address it was reached from to `X-Forwarded-For`, so the visitor is the entry `hops` from its end: 1 for nginx or Caddy alone, 2 for Cloudflare then nginx.
|
|
76
|
-
- A request with fewer entries skipped an outer proxy, and its first entry is who reached the inner one.
|
|
77
|
-
- `header` names a header a proxy sets to the visitor's address, read instead: `{ header: 'cf-connecting-ip' }`, or `{ header: 'x-real-ip' }` for nginx's `proxy_set_header X-Real-IP $remote_addr`.
|
|
78
|
-
- Only a proxy every request goes through can be trusted with it: a server reachable past that proxy lets a visitor write their own, and the same goes for `hops` when an outer proxy can be skipped.
|
|
79
|
-
- Either is read only from a request coming from this machine, a private network (loopback, private, shared and link-local ranges) or a range `trusted` lists, so a visitor reaching the server directly is counted by their own address whatever headers they send.
|
|
80
|
-
- A server a CDN reaches directly from its public addresses lists them: `proxy: { header: 'cf-connecting-ip', trusted: ['173.245.48.0/20', '2400:cb00::/32', ...] }` with every range Cloudflare publishes, each entry an IPv4 or IPv6 range or a single address; nginx or a tunnel such as cloudflared in front does as well.
|
|
81
|
-
- `trustPrivate: false` with `trusted` trusts those ranges alone, not this machine and private networks too, for a server whose private neighbours are not all its proxies.
|
|
82
|
-
- A forwarded entry that is no IP address (a port is dropped, `[v6]:port` too) is ignored, and the client counts by the address it reached the server from.
|
|
83
|
-
- A request from a public address outside them that carries the header warns once, as such a CDN setup misses its `trusted`, and counts by its own address.
|
|
84
|
-
- A setting holding both `hops` and `header` stops the server, and so does one holding neither without a `key`.
|
|
85
|
-
- `key` names a header the proxy sets to a key shared with the server, `proxy: { key: { header: 'x-upstream-key' } }` (a bare string is the 1.104 form, which `kay upgrade` rewrites): a request without it, or with another value, answers 403 with the security headers before anything else runs (the refusal is logged with its request id, never the key), so a process or container reaching the port directly skips nothing the proxy does. The proxy sends the key (nginx: `proxy_set_header X-Upstream-Key $upstream_key`). `key` alone counts as one proxy in front.
|
|
86
|
-
- The key is read from `KAY_PROXY_KEY`, else from the trimmed file `KAY_PROXY_KEY_FILE` names (a container secret), or from `key: { header, secret }` where `secret` is a string, `{ env: 'NAME' }` or `{ file: 'path' }` (the same shape as `mcp.token` and `metrics.token`, a relative `{ file }` read from the project folder), at boot, and compared in constant time. A production server with `key` and neither, or an empty one, does not boot. Off under `kay dev`, in `kay build --static`, and outside production when none is given (a warning says so, except in a test run, where an unset key is expected); `testSite({ config: { proxy: { key: { secret } } } })` turns it on for one test site without touching the environment, sending the header by default ([Testing](testing.md)). `kay build --compile --verify` stands in a throwaway key for any secret of the config that gives nothing on the build host (a variable unset, a `{ file }` only the deploy host holds), as the health route it asks is open. The server's own requests (an MCP tool call, a CMS edit-URL probe) pass.
|
|
87
|
-
- The health route (`endpoints.health`) is open, as the container asks it without the key, and so is the `metrics` route, which answers by its own rule (see [Metrics for a collector](metrics.md)). `open: ['/api/push']` lists more paths, each open with what is under it; they are read after the `base` is taken off, whether the proxy did or not, and a path that merely starts like one (`/api/pushy`) stays closed. The MCP endpoint is open to this check too while `mcp.token` guards it with a bearer, its path alone ([API routes](mcp.md)).
|
|
88
|
-
- The proxy passes `X-Forwarded-Proto` on every location, websockets included (nginx: `proxy_set_header X-Forwarded-Proto $scheme`), as kay's cookies are `Secure` and the session's named `__Host-kay_session` over https: a request that says `http` reads no session.
|
|
89
|
-
- A request without the header counts as https in production when `site` is https; with no `site`, production warns once that cookies go out without `Secure`.
|
|
90
|
-
- A post goes back to its page as a path and never reads a forwarded header for it, so the swap works behind a proxy that ends TLS with nothing declared for it.
|
|
91
|
-
- Without `proxy`, a production server counts one proxy in front for a request from a private address that carries `X-Forwarded-For` (the setting `proxy: true` makes), warning once that it does, since a server reached directly through a private peer (a Docker bridge or userland proxy, an L4 balancer) would let a client pick its own address: set `proxy: 1` to confirm one proxy in front, or `proxy: false` for none; a request from a public address, or with no header, counts by the address it came from. `proxy: false` says none is in front.
|
|
92
|
-
- Outside production, without `proxy`, the address the request came from is the client, and a server getting requests from a private address that carry `X-Forwarded-For` warns once that every visitor counts as the proxy.
|
|
93
|
-
- In a plain Elysia app that `pages()` does not serve, `clientAddress(request, server, { hops: 1 })` takes the setting itself.
|
|
94
|
-
|
|
95
|
-
### Security headers
|
|
96
|
-
|
|
97
|
-
- Every response the app sends, its own routes included, carries a Content-Security-Policy, `X-Content-Type-Options: nosniff`, `Referrer-Policy: strict-origin-when-cross-origin`, `X-Frame-Options: SAMEORIGIN` (following `frame-ancestors`, below), `Cross-Origin-Opener-Policy: same-origin`, `Cross-Origin-Resource-Policy: same-site`, `X-Permitted-Cross-Domain-Policies: none` and `Permissions-Policy: camera=(), microphone=(), geolocation=(), payment=(), usb=(), browsing-topics=()`.
|
|
98
|
-
- The policy:
|
|
99
|
-
|
|
100
|
-
```text
|
|
101
|
-
default-src 'self';
|
|
102
|
-
script-src 'self' <kay's hashes>;
|
|
103
|
-
style-src 'self' 'unsafe-inline';
|
|
104
|
-
img-src 'self' data: https:;
|
|
105
|
-
font-src 'self';
|
|
106
|
-
connect-src 'self';
|
|
107
|
-
object-src 'none';
|
|
108
|
-
base-uri 'self';
|
|
109
|
-
form-action 'self';
|
|
110
|
-
frame-ancestors 'self'
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
- Every inline script kay writes is the same on every page: the hydration bootstrap, the speculation rules, the swap of streamed blocks, with `offline` the service worker's registration, and, in development, live reload and what keeps the problems kay logs, the errors nothing caught and the sources the policy blocked until the dev tool loads. The speculation rules are the one script that comes in two forms, the short one for a page with no `data-prefetch` and the full one otherwise, and the policy hashes both.
|
|
114
|
-
- The policy allows them by hash, with no `'unsafe-inline'` and no nonce.
|
|
115
|
-
- `security` in `kay.config.ts` adjusts it:
|
|
116
|
-
|
|
117
|
-
```ts
|
|
118
|
-
import { defineConfig } from 'kay/server'
|
|
119
|
-
|
|
120
|
-
export default defineConfig({
|
|
121
|
-
security: {
|
|
122
|
-
csp: {
|
|
123
|
-
'img-src': ['\'self\'', 'https://images.example.com'],
|
|
124
|
-
'frame-ancestors': false,
|
|
125
|
-
},
|
|
126
|
-
reportOnly: { 'style-src': ['\'self\''] },
|
|
127
|
-
reports: true,
|
|
128
|
-
headers: {
|
|
129
|
-
'strict-transport-security': 'max-age=63072000; includeSubDomains',
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
})
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
- `csp` merges directives over kay's, one given `false` left out.
|
|
136
|
-
- `'wasm-unsafe-eval'` and `worker-src 'self' blob:` join kay's directives and the app's when the islands need them, unless the app sets that directive to `false` or `'none'` (see [Wasm and workers](imported-files.md#wasm-and-workers)).
|
|
137
|
-
- `script-src`, and `script-src-elem` when the app sets one, keep kay's hashes whatever they list.
|
|
138
|
-
- With `fonts`, a `style-src` or `style-src-elem` without `'unsafe-inline'` gets the hash of their inline `@font-face` rules, and with stylesheets a page may inline (see [Styles](styles-and-assets.md#styles)) the hash of each of them, one with `'unsafe-inline'` none, since a hash would switch it off.
|
|
139
|
-
- `'script-src': false` leaves kay's inline scripts to `default-src`, which blocks them, islands and streamed blocks with them.
|
|
140
|
-
- `csp: false` sends no policy, and `security: false` none of these headers.
|
|
141
|
-
- `cookies` gives every cookie the app sets with `ctx.cookies.set` `HttpOnly`, `SameSite=Lax`, `Secure` over https and the `base` as its path, with no setting; `cookies: false` turns it off: see [Sessions](server.md#sessions).
|
|
142
|
-
- In production with `site` set, `security.hosts` is `true` unless set: a request whose `Host` is neither the site's, a locale host of `i18n`, nor listed in `hosts: ['www.example.com', '*.preview.example.com']` (a `*.` entry is one label under the domain, never the bare domain) gets a 421 with these headers, against DNS rebinding and a `ctx.url.origin` poisoned by the header; localhost and IP addresses always pass, so a health check does. `hosts: false` (or `security: false`) trusts every `Host`; with no `site` nothing is refused. `kay dev` has `KAY_DEV_HOSTS`.
|
|
143
|
-
- `X-Frame-Options`, for browsers that predate `frame-ancestors`, follows the policy's, a page's own sources included: `DENY` for `'none'` or no source, `SAMEORIGIN` for `'self'` alone, and none for any other source, or without the directive.
|
|
144
|
-
- An app's `x-frame-options` in `headers` still wins; with `csp: false` it stays `SAMEORIGIN`.
|
|
145
|
-
- `reports: true` has browsers report what the policy blocks to kay's own route, `/_kay/csp` under the site's `base`, through `report-to` and its `Reporting-Endpoints` header, and `report-uri` for browsers that predate them; a client may send 30 requests a minute and all clients together 600.
|
|
146
|
-
- The route takes both formats, logs each violation once per process for its directive, what it blocked and the page, and hands it to `onError` as a `CspViolationError` from `kay/server`, with `directive`, `blocked`, a URL or `inline` or `eval`, `url`, the page without query or hash, `disposition`, `enforce` or `report`, and, when the browser says, `source`, the script that tried as `file:line:column`, and `sample`, the start of a blocked inline script or style when the directive lists `'report-sample'`.
|
|
147
|
-
- A client posting more than 30 reports a minute or 64 KB at once is refused, and with `site` set, a report about a page of neither the `site` nor the request's own origin is answered `204` but neither logged nor handed to `onError`, as anyone can post one; with `i18n.domains` no report is filtered. It is noise filtering, not authentication.
|
|
148
|
-
- `reports: 'https://...'` sends them to that collector instead, and kay serves no route.
|
|
149
|
-
- `reportOnly` merges directives over the enforced policy and sends the result as `Content-Security-Policy-Report-Only`: the browser blocks nothing it allows, but reports what that stricter policy would have blocked, with `disposition: 'report'`, to try it before moving it into `csp`.
|
|
150
|
-
- With `csp: false`, it merges over kay's directives.
|
|
151
|
-
- `headers` merges headers over kay's, one given `false` not sent.
|
|
152
|
-
- `Strict-Transport-Security: max-age=31536000` (a year, no `includeSubDomains`, no `preload`) is sent on every response the app serves in production when `site` (or `SITE_URL`) is https, behind a `proxy` too, and never in development, for an http or unset `site`, or with `security: false`. `'strict-transport-security': false` in `headers` (or a page's `security.headers`) turns it off, and a value replaces it: `'max-age=63072000; includeSubDomains'`. A static export writes the security headers as `_headers` and `headers.nginx.conf` ([Static export](prerendering.md#static-export)), HSTS in the first only: the scaffold's `nginx.conf` sends it itself, always with one year, so a server in front of your own export sets it, in each `location` that has an `add_header` of its own too, as nginx drops the server-level ones there.
|
|
153
|
-
- `Cross-Origin-Resource-Policy: same-site` keeps another site from loading the images, scripts and files the app serves, so an app whose files another site embeds sends `'cross-origin-resource-policy': 'cross-origin'`.
|
|
154
|
-
- `Cross-Origin-Opener-Policy: same-origin` cuts a page off from a window of another site it opened, or that opened it, so a sign-in or payment popup that answers through `window.opener` needs `'cross-origin-opener-policy': 'same-origin-allow-popups'`.
|
|
155
|
-
- A site using a feature `Permissions-Policy` refuses, such as the microphone, grants it with `security.permissions`, merged over kay's list: `{ microphone: 'self' }` sends `microphone=(self)`, `{ geolocation: ['self', 'https://maps.example.com'] }` an allowlist (`self` is a keyword, other sources are quoted origins), `{ camera: '*' }` every origin, and `false` leaves a feature out of the policy so the browser's default applies. A `permissions-policy` in `headers` replaces the whole header.
|
|
156
|
-
- A header the app sets itself, in an Elysia `onRequest` or a handler, wins over kay's.
|
|
157
|
-
- The build's files under `/_kay/` and the image route carry kay's headers in their own responses, which Elysia does not let a later hook override: change them there through `headers`.
|
|
158
|
-
- A page, or a layout for every page under it, adds to them for its own responses with `security` in its `page`: `export const page = { security: { csp: { 'script-src': ['https://cdn.example.com'], 'worker-src': ['blob:'] }, headers: { 'cross-origin-embedder-policy': 'require-corp' } } }` isolates an emulator page and lets its CDN script in, the rest of the site keeping the strict policy.
|
|
159
|
-
- Its `csp` adds sources to the site's directives rather than replacing them, a directive the policy lacks starting from the one the browser falls back to, `worker-src` from `child-src` then `script-src`, `frame-src` from `child-src`, and `'none'` dropping out, so a page cannot tighten a directive the site sets; `false` leaves a directive out, `'script-src': false` blocking kay's inline scripts and hydration with them, as in `kay.config.ts`; `csp: false` as a page's whole value sends that page, and the pages under a layout setting it, no policy at all, as `security: { csp: false }` does the site.
|
|
160
|
-
- Its `headers` merge over the site's, `false` not sending one, and go out even with `security: false`.
|
|
161
|
-
- A layout's apply first, the page's over them.
|
|
162
|
-
- The swap loads a page whose cross-origin isolation differs from the current one fully, so going to and from an isolated page needs no `data-reload`.
|
|
163
|
-
- A static export has no server to send them: `kay build --static` writes the page without its `security` and `reload`, which the host's own headers stand in for.
|
|
164
|
-
- `inlineScriptHashes({ prefetch, dev, base, offline })` from `kay/server` gives the hashes, for a policy written elsewhere, such as by a proxy.
|
|
165
|
-
- Whatever the policy, a URL with any scheme but `http`, `https`, `mailto`, `tel`, `sms` and `blob` (and `data:` image, audio and video but not SVG, which passes only on `src` and `poster`, plain text, CSV, PDF and JSON), such as `javascript:`, bound to an `href`, `src`, `action`, `formaction`, `xlink:href`, `poster` or `data`, as a user-supplied link would be, goes out prefixed with `unsafe:`, on the server and in islands, so following it does nothing. A relative URL has no scheme and is kept.
|
|
166
|
-
- `client: { links: { schemes: ['webcal', 'geo'] } }` in `kay.config.ts` lists the other schemes the app trusts in a bound URL (`whatsapp`, `webcal`, `geo`, `spotify`, its own `myapp`), on the server and in islands, which read the list from a `kay-link-schemes` meta; a name is lowercase with no colon, and `javascript`, `vbscript` and `data` are refused when the config loads. A literal `a(href="webcal://...")` was never rewritten. `kay dev` logs, once per attribute, URL and page, each bound URL rewritten to `unsafe:`, naming the scheme and this option; an island's own rewrite is not logged.
|
|
167
|
-
- One written out as text in the template is left as it is.
|
|
168
|
-
|
|
169
|
-
### Compression
|
|
170
|
-
|
|
171
|
-
- With NODE_ENV production, kay compresses responses itself unless kay.config.ts sets `serve: { compress: false }`, as behind a proxy or CDN that compresses already (`serve: { compress: true }` turns it on elsewhere): pages rendered per request, action results, and any `Response` the app's routes registered after `.use(await pages())` return go out (text, JSON, JavaScript, XML, SVG, ndjson and `ttf` and `otf` fonts) with zstd, brotli or gzip, whichever the browser's `Accept-Encoding` prefers (zstd, then gzip, then brotli on a tie), and `Vary: Accept-Encoding`.
|
|
172
|
-
- A response whose body is whole within a tick, as a rendered page is, is compressed in one go at zstd 3, brotli 4 or gzip 6, within its request's tick up to 128 KB and at most four at once off the main thread past it, the copy of a body rendered alike a second time kept (2 MB in all) so later ones are not compressed again, and a streamed body or a reply compressed once (sitemap, worker) as brotli or gzip, except a page carrying inlined stylesheets, which goes as gzip to a browser taking it, whatever weight it gives zstd or brotli, only what lies around them compressed, and its copy kept like any other's when the same bytes lie around them again, found from the pieces the render put the page together from without reading its body (see [Styles](styles-and-assets.md#styles)). A page draws its `uid()` ids, island prefixes and `await` block numbers from its route and URL, so every visit to a URL renders the same bytes unless the page reads the visitor (a name, a form carrying a fresh token), and only that kind of page is compressed again on each visit.
|
|
173
|
-
- A server build sends a page as its difference from a dictionary, Compression Dictionary Transport (RFC 9842, `Content-Encoding: dcz`): the dictionary is the 404 page of the build (default locale, rendered with its layouts, only when a page is prerendered and the render succeeds), written by `kay build` as `_kay/dictionary-<hash>.txt` with `Use-As-Dictionary: match="/*"` (`match="<base>{/*}?"` under a `base`, with no `match-dest`, which Chromium reads as no `Available-Dictionary` on a `fetch()` page swap) and the immutable cache, and every HTML response carries `Link: <_kay/dictionary-<hash>.txt>; rel="compression-dictionary"` and `Vary: Accept-Encoding, Available-Dictionary`. A browser fetching it once idle sends `Available-Dictionary: :<sha256>:` and `Accept-Encoding: ..., dcz` for pages under the mount point, a navigation or a `fetch()` alike, and gets `dcz` when the header names this build's dictionary exactly and `dcz` has a weight; anything else (another build's dictionary, a malformed or oversized value) gets the encodings above. A prerendered page is served from its `.dcz` copy written beside `.br` at build time (zstd 19, kept only when smaller than the `.br`, tag suffix `-dcz`); a page rendered per request is compressed on the fly at zstd 3 through `node:zlib`, whole bodies only, with its kept copies keyed by the dictionary, while a streamed page stays brotli or gzip. Off in development, with `compress: false` (no link, no `.dcz` served), with `compressionDictionary: false` in kay.config.ts (the build renders no dictionary and writes no `.dcz` copy, so the manifest names none and no page links one), in `kay build --static` and in an export, which have no dictionary; the browser fetches the dictionary under `connect-src`, so kay adds `'self'` to the app's own `connect-src` as it adds what islands need, unless the app removed the directive or set it to `'none'`, which keeps today's encodings, and no response whose own `Content-Security-Policy` sets `connect-src` (or `default-src` when it has none) to `'none'` names the dictionary, so a page with a policy of its own logs no violation.
|
|
174
|
-
- A public text file of up to 256 KB is kept in memory once asked for (8 MB in all) and read again only when its size or date changes, so a request for it does not read the file; a range request and a larger file stream from disk. Development reads every request. Every request looks at the file's size and date: a public file deleted under a running server answers the 404 an unknown path gets (the routes directory's `_404.kay`, else its `_error.kay`, in the visitor's locale), a runtime redirect added for its path answers, and the visit is counted as any missing path is, except for a file that goes between that look and the opening of its body to stream or compress it, which answers a plain 404 of Elysia's with no page and no count (an app giving `new Elysia({ serve: { error } })` its own handler answers it instead), and a replaced one answers its new bytes under a tag taken from its new size and date.
|
|
175
|
-
- A streamed page is flushed chunk by chunk, so what it sends early still arrives early.
|
|
176
|
-
- A strong ETag becomes weak.
|
|
177
|
-
- Left alone: a response encoded already, such as the build's copies, one under 256 bytes, its length known or not, one with `Cache-Control: no-transform`, and anything but text, JSON, JavaScript, XML and SVG.
|
package/llms/queues.md
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
# Queues
|
|
2
|
-
|
|
3
|
-
A `queue` runs jobs in the background, a `workflow` is a multi-step flow that sleeps and waits for events, both surviving restarts; `schedule` and `background` are in [Running in production](production.md#background-jobs).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Run a job in the background
|
|
8
|
-
|
|
9
|
-
A queue holds jobs that must not be lost: an action enqueues one and goes on, and the server runs it:
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
// src/jobs/mail.ts
|
|
13
|
-
import { queue } from 'kay/server'
|
|
14
|
-
|
|
15
|
-
export const welcomeMails = queue(
|
|
16
|
-
'welcome-mails',
|
|
17
|
-
async ({ to }: { to: string }) => sendWelcome(to),
|
|
18
|
-
{ attempts: 5, backoff: '30s' },
|
|
19
|
-
)
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
`src/jobs/*.ts` is the one home of jobs, read like `src/routes`: each queue, workflow, schedule and `background` a file exports by name is mounted by the server, with no default export and no `.use`, and an action imports the queue from it. Nested folders are read, a name starting with `_` or `.` is not, and `enabled: false` on any of them starts none, as a process that only enqueues wants. `kay check` warns of a `src/jobs.ts` nothing imports.
|
|
23
|
-
|
|
24
|
-
### Delay a job or keep one per key
|
|
25
|
-
|
|
26
|
-
`enqueue` takes a `delay`, and a `key` keeps one job per key:
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
await welcomeMails.enqueue({ to: email }, { delay: '1h', key: email })
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Show a queue's jobs on a page
|
|
33
|
-
|
|
34
|
-
`live` on a queue lets an island list its waiting and running jobs, following them as they change, with no route or `live()` value written:
|
|
35
|
-
|
|
36
|
-
```ts
|
|
37
|
-
// src/jobs/scans.ts: `live: true` would send the whole payload, key, progress and last error
|
|
38
|
-
export const scans = queue('scans', scan, { live: ({ target }: { target: string }) => ({ target }) })
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
```kay
|
|
42
|
-
---
|
|
43
|
-
import { jobs } from 'kay'
|
|
44
|
-
---
|
|
45
|
-
for job of jobs<{ target: string }>('scans')
|
|
46
|
-
p {job.payload.target}: {job.status}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Write a flow that sleeps and waits
|
|
50
|
-
|
|
51
|
-
A `workflow` runs steps, keeps their results in the job store and survives restarts. `start` and `send` are one call, and it is mounted like a queue.
|
|
52
|
-
|
|
53
|
-
```ts
|
|
54
|
-
// src/jobs/onboarding.ts
|
|
55
|
-
import { workflow } from 'kay/server'
|
|
56
|
-
|
|
57
|
-
export const onboarding = workflow<{ userId: string }, { visited: undefined }>('onboarding', async (input, { step }) => {
|
|
58
|
-
await step.run('welcome', () => sendWelcome(input.userId))
|
|
59
|
-
|
|
60
|
-
const visit = await step.waitFor('visited', { timeout: '3d' })
|
|
61
|
-
|
|
62
|
-
if (!visit.ok)
|
|
63
|
-
await step.run('reminder', () => sendReminder(input.userId))
|
|
64
|
-
})
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
await onboarding.start({ userId }, { key: userId })
|
|
69
|
-
await onboarding.send(userId, 'visited')
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Reference
|
|
73
|
-
|
|
74
|
-
- `workflow<Input, Events>(name, (input, { step, job, signal }) => ..., options)` is an Elysia plugin like `queue` (`job.id` is the run's id), `options` those of a queue (`store`, `attempts`, `backoff`, `concurrency`, `timeout`, `enabled`, `idlePoll`, `failedTtl`) and the run hooks below. A run is one job of the queue `workflow:<name>`, kept under its id as its `key`, on the same stores as queues, each result a row beside the job, so a step writes what its result weighs: no table of its own.
|
|
75
|
-
- `start(input, { key?, delay? })` resolves with the run's id (random unless a `key` is given, as for `enqueue`): while a run with that `key` is live it starts nothing. `send(id, event, data?)` resolves with whether the run was waiting for that event, waking it at once in this process and within `idlePoll` in others; an event sent while the run waits for another, sleeps or has not started is kept in the run for the wait that names it, one sent while a worker holds the run is dropped; `send` resolves with whether it was taken. `status(id)` resolves with `{ status: 'running' | 'sleeping' | 'waiting' | 'failed', steps, event?, error? }`, undefined once completed. `cancel(id)` ends a run, a running one at its next step. `drain()` is a queue's.
|
|
76
|
-
- The function runs again from its top each time a process takes the run, and a finished step returns its kept result: so code between steps must be deterministic. Await a step before the next (two at once throw); a renamed or reordered step under a live run fails it at once, naming the step, with no retry; a result devalue cannot keep throws.
|
|
77
|
-
- `step.run(name, work)` runs `work(signal, { key })` and keeps its result: at least once, as a crash before the result is written runs `work` again, so pass `key` (run id and step place, stable across runs) as a charge's or mail's idempotency key. `step.sleep('3d')` and `step.waitFor(event, { timeout? })` write the run's state and give its hold back (due at the wake time, never for a wait without timeout), so the code after them runs in whichever process takes the run; their promise never settles in the claim that suspended, so a `try` around it catches nothing. `waitFor(event)` resolves with the data, with `timeout` with `{ ok: true, data }` or `{ ok: false, error }` (`timedOut` is `!ok`). `Events` types `waitFor` and `send`.
|
|
78
|
-
- A step that throws, or a run that dies, uses the queue's retries: a stop hands the run back at once, a dead process holds it until `timeout`, and a retry replays from the first step with no kept result. A kept step starts the attempts count again, so a long flow does not spend its attempts across steps. A stop or lost hold ends the run before its next step. A run keeps at most 50 events no wait named yet, the oldest dropped and logged, and a flow edited to end earlier than its kept steps completes without an error. `timeout` bounds the time between two sleeps or waits. `retryLater` works in a step. A worker reads every result when it takes the run, so a run keeps 2 MB of them at most (past it the run fails, no retry: return an id, keep a large result elsewhere) and no secrets. An error is kept to 2,000 characters. In tests `site.runJobs()` runs the due steps, and `setSystemTime` moves a sleep or a timeout along.
|
|
79
|
-
- A `JobStore` needs `update`, `release` and `state` for a workflow, as `memoryJobs`, `sqliteJobs` and `pgJobs` have (no schema change): `update(id, { payload, runAt? }, { until })` writes only while `until` is the job's hold and counts the run as started once, `update(id, change, { payload, now })` writes only while the job is not held and its payload is still that text, which is how an event wakes a run once against a timeout. `steps(id)` and `update`'s `change.steps` (`{ from, values }`, dropped with the job) keep each result once; a store without them keeps them in the payload, and a run kept so moves to rows at its next step.
|
|
80
|
-
|
|
81
|
-
- An action calls `await welcomeMails.enqueue({ to: email })`, or `enqueue(payload, { delay: '1h' })` to run it later.
|
|
82
|
-
- `queue(name, handler, options)` is an Elysia plugin: the server using it runs the queue's jobs from start to stop, `concurrency` at a time, 1 by default, and waits on stop for the runs in progress.
|
|
83
|
-
- Jobs wait in a store shared by every process of the machine: `sqliteJobs('data/app.sqlite')` by default (`data/jobs.sqlite` where it exists), its file made by the first job enqueued or schedule locked (every schedule of a production server does, so its `data/` must be writable); a dev or test server whose queues get no job writes nothing.
|
|
84
|
-
- `sqliteJobs(path)` and `memoryJobs()` from `kay/server` make a `store` of another file or one kept in the process, and `JobStore` is the shape of an app's own.
|
|
85
|
-
- `pgJobs(db)` keeps the jobs in Postgres, for replicas on several machines: `db` is a Bun `SQL`, a pg-orm `Database` or a connection URL, and `store: { jobs: pgJobs(db) }` in kay.config.ts gives it to every queue and locked schedule. On pg-orm it needs nothing but the tables in the app's schema: `import { jobTables } from 'kay/pg-orm'` and `new Database({ tables: [...yourTables, ...jobTables] })` (pg-orm is an optional peer of kay, which installs and builds without it), and `db.sync()` or `pg-orm generate` creates `kay_jobs` and `kay_locks` with their indexes, matching what the store expects, for the owner's migration to run, so the app template's `app_rw`, which creates nothing, finds them (`import { pgJobs } from 'kay/server'` then `pgJobs(db)`). Without pg-orm migrations, `pgJobs` looks for them and creates them only when missing, which takes a role that may create tables, else the owner runs `import { createJobTables } from 'kay/server'` then `await createJobTables(db)` (idempotent, safe from replicas at once: an index missing on tables already there is built by one replica at a time, under a Postgres session lock, and the others wait for the unique ones before enqueuing, which needs a direct or session-mode connection, not a transaction-mode pooler) in a boot script; pg-orm then sees those two as unknown tables, so name them in `ignoreTables`: `import { jobTableNames } from 'kay/server'` lists their names, `ignoreTables: [...jobTableNames]`. A claim is one `UPDATE` over `FOR UPDATE SKIP LOCKED`, and a hold lasts from the database's clock, whichever replica claims, so replicas' clocks need not agree.
|
|
86
|
-
- `pgData(db)` is `sqliteData(path)` on Postgres, for replicas on several machines: `import { pgData } from 'kay/server'` then `store: pgData(db)` in kay.config.ts keeps the sessions, `cached` values, jobs, schedule locks, rate counts, presence members, `live()` values, Web Vitals, `store.kv`, the 404 log and the redirects added while the site runs in `kay_*` tables of the same database, `db` a Bun `SQL`, a pg-orm `Database` or a connection URL as `pgJobs` takes. The tables are created when missing, which takes a role that may create tables; else the owner awaits `createDataTables(db)` from `kay/server` (idempotent, safe from replicas at once, the jobs' tables included) in a boot script and names `dataTableNames` from `kay/server` in pg-orm's `ignoreTables`. Replicas hear each other's `invalidate`, `live()` changes, room messages and queued jobs within a second through `NOTIFY`, polling as the fallback ([Stores](stores.md#postgres-notifications)), so a pooler in front of Postgres is fine (a missing index is built on a session connection). One timer per connection serves all three, a read or write that takes over 30 seconds is given up, and live writes waiting behind a database that stopped answering are dropped (logged) past 10,000. Every call of the job, session, rate, cache, notification, vitals and rooms stores is given up after 8 seconds (inside the default `serve.shutdownTimeout`) with a logged error rather than hanging, the sweeps, `deleteWhere`, `prune` and the job listings after 150 seconds as they scan a table, a rooms `state` or `update` within 8 seconds however many writes are queued before it, room writes waiting behind it are dropped past 1,000, and a connection `pgData` or `pgJobs` opens from a URL times out connecting after 10 seconds, closes when idle for 60 and is replaced after 30 minutes. A silent database holds no 404 over 1 second (the redirects last read answer, one warning logged), and `kay dev` makes no table. A room's state is kept in `kay_room_state` too, changed one update at a time across replicas, so `rooms({ store: pgData(db).rooms, state })` works with `state` and `update` resolving promises ([Rooms](rooms.md)). One database belongs to one app: the first app to boot on it records its package.json `name` in `kay_meta`, and another app starting on it fails its boot naming both, since `kay_*` tables carry no app scope and a `mail` queue, a `live()` id or a cache key would be shared; give each app its own database. A renamed app takes its database over by starting once with `KAY_ADOPT_DATABASE=<the old name>`; an app with no package.json name claims nothing. Rate keys are pseudonymised by the app secret, else by a random key in `kay_meta` every replica reads. `pgData(db).sessions` has `deleteWhere` like `sqliteSessions`. A store opened outside `kay dev` (a script, a test, a one-off process) is closed with `await store.close()`, or `await using store = pgData(url)`, which ends the polling, timers and room membership of every kind and closes the pool when `db` was a URL, within about 5 seconds whatever a statement in flight holds; a `SQL` or a pg-orm `Database` handed in stays open, as it is the caller's. A `kay dev` reload closes the store of the module that ran again by itself.
|
|
87
|
-
- `ops: { jobs: { guards } }` in kay.config.ts serves `/_kay/jobs` in production: each queue's waiting, running and failed jobs with payload and error, and forms to retry or delete one. A `workflow()` run shows its state (running, sleeping until a time, waiting for an event, failed) and its kept steps, with a form to send the event it waits for (a field takes its data as JSON) and one to cancel it, in the Jobs tab and on this page alike. `guards` is a guard, a list or `{ load }`, such as `ctx => ctx.locals.auth.admin.require()`, run on every request; without one the page answers 403, and `guards: false` opens it. The page is plain HTML with no script, answers `no-store` and `noindex`, `jobs: { guards, path }` moves it, and `kay dev` serves none (its Jobs tab covers it).
|
|
88
|
-
- A `JobStore` may also have `revive(id, runAt)`, which puts a failed job back to wait with its attempts given back and resolves with whether it did (false for a job not failed, or whose key a live job holds since), as `sqliteJobs`, `memoryJobs` and `pgJobs` do: the dev tool's Jobs tab retries a failed job with it ([The dev tool](dev-tool.md#reference)). `jobs(queue, { limit?, failed? })` and `failed(queue, limit?)` list the jobs by when they are due, the earliest first, and may cut their result in the store's query: the Jobs tab and page ask for 101 of each, so a long queue is not read whole, and a store ignoring the options is cut after.
|
|
89
|
-
- A `JobStore` may also have `state(queue, ref, now)`, `progress(id, until, progress)` and `release(id, until, runAt?)`, and its `add(job)` may resolve with the id of the live job already holding `job.key`, in which case it stored nothing: `sqliteJobs` and `memoryJobs` do all of these. A file made by an older kay gains the columns on first open. A run's writes about its job are matched against the hold it was claimed with, so one that outlived its hold changes nothing of the job another process holds: `claim` may return the hold it stored in the job's `heldUntil` (`pgJobs` does, from the database's clock; the `until` asked for stands otherwise), and `complete(id, until?)`, `retry(id, runAt, error, until?)` and `fail(id, error, payload?, until?)` write only while `until` is still the job's, `remove()` and the purge naming none. `retry` and `fail` may resolve with `false` for a write the guard refused, and the run then logs nothing and calls no `onError`, the job being the other process's now; resolving with nothing counts as applied.
|
|
90
|
-
- `store` in kay.config.ts is the one store of the app, `import { sqliteData } from 'kay/server'` then `store: sqliteData('data/app.sqlite')`, which keeps the data of every `session()`, the values of every `cached` and `live()`, the jobs of every queue and locked schedule, and the counts of every rate limit, each naming no `store` of its own, the members of presence rooms and the Web Vitals of `vitals()`, in one SQLite file, so replicas sharing it count together. `store: { sessions, cache, live, jobs, rates, rooms, vitals, notifications }` takes a `SessionStore`, a `CacheStore`, a `LiveStore`, a `JobStore`, a `RateStore`, a `RoomStore`, a `VitalsStore` and a `NotificationStore` of your own, each optional, Redis say; `rooms` is where `presence()` keeps who has a page open ([Presence](live-values.md#presence)). A `store` on a session, a `cached` call, a queue, a schedule or a limit wins, the proof-of-work solutions already used count there too, a `store.rates` needs `peek` for a limit counting only the posts that went through, kay's limits (actions, API routes, `rateLimit()`, proof of work, its own routes) and kayjs-auth's count in memory when their rates store fails, and for ten seconds after one takes over 8 seconds ([Rate limits](rate-limits.md#reference)), and a `bun test` site keeps all of them in memory.
|
|
91
|
-
- `enqueue(payload, { key })` keeps one job per key: while a job of the queue with that key is waiting or running, it stores nothing and resolves with that job's id, whichever process holds it; the duplicate's payload is dropped, even one enqueued while the run goes, so an app that needs a rerun after it enqueues without a key. Once the job completed or was kept as failed the key is free. The key is a non-empty string, apart per queue, and needs a store with `state`, which `sqliteJobs`, `memoryJobs` and `pgJobs` have; a custom store without it throws a `config-invalid` error rather than not dedupe.
|
|
92
|
-
- `job(key)` or `job({ id })` resolves with `{ id, status, attempts, error? }`, `status` `'waiting'` (due, or waiting for a retry, its `error` the last run's), `'running'` or `'failed'`: the live job of the key, else its last failed one, `undefined` once it completed. An action returning it is what a page polls.
|
|
93
|
-
- `throw retryLater('30s')` from a handler (`retryLater(wait)` from `kay/server`, a positive duration) runs the job again after the wait without spending an attempt: the store's `release(id, until, runAt)` gives the claim's attempt back and makes it due then, so a job asking 10 times with `attempts: 3` is still waiting, logged at info, never `onError`. It repeats as long as the handler throws it, so one that should stop throws an error of its own; a store without `release` counts it as a failed attempt, with a warning.
|
|
94
|
-
- A handler is `(payload, ctx)`, as every job's is `(input, ctx)`: `ctx.signal`, `ctx.log`, `ctx.locale` (the site's default) and `ctx.job`, `{ id, attempts, progress(value) }`, `attempts` the runs started, this one included, and `progress` reporting how far the run is, any devalue value, typed by `queue<Payload, Progress>`'s second argument. Reports are written in the background, one write at a time with the latest waiting, so reporting per item is cheap; `job(key)` reads the latest back as `progress` while the job runs, after it failed too, and a retried job's next claim clears it. A report after the run ended is dropped, as the store writes it only while the run's hold is the job's; a failed write is logged, not thrown. A store without `progress` logs once that nothing is kept.
|
|
95
|
-
- To show it, an action returns `job(key)` and a page or island polls it, as `export const syncState = action(async () => sync.job('anilist'))` called from an island: kay adds no route, so the app decides who may see a job.
|
|
96
|
-
- `live: true` on a queue lets `jobs<Payload, Progress>(name)` from `kay` read its waiting and running jobs in an island, the earliest due first, 100 at most: `{ id, key?, status: 'waiting' | 'running', attempts, runAt, error?, progress?, payload }`, `runAt` a `Date`. `live: (payload, { key, error, progress }) => shown` sends `{ id, status, attempts, runAt, payload: shown }` alone, so a secret in the payload, the key or a run's error stays on the server; a job whose function throws is left out of the list, logged once. The page proves the queue it read as any live value ([Live values](live-values.md#live-values)), so whoever may render the page may follow the list, its guard deciding; a queue without `live` cannot be read, a `config-invalid` error at the render. The process changing a job tells its tabs within 50 ms, a burst of changes read once; one a tab follows the list through reads the store again every second, which is how what another worker or replica did reaches it. A render after a change, or of a list older than a second, reads it again: at once from `memoryJobs` and `sqliteJobs`, while a render on `pgJobs` or a store answering with promises shows the list as last read, the page's connection then bringing it up to date. A `JobStore` may have `live(queue, now, limit?)`, the waiting and running jobs with their status in one query, as `sqliteJobs`, `memoryJobs` and `pgJobs` do; a store without it is listed with `jobs` and asked `state` job by job. A `workflow()` has no `live`.
|
|
97
|
-
- The payload goes through devalue, as cached values do: dates, maps and sets survive, a function or a class instance throws from `enqueue`.
|
|
98
|
-
- A run that throws is retried: `backoff` after the first failure, 10 seconds by default, twice as long after each next one, until `attempts` runs in all, 5 by default, each failure retried logged as a one-line warning with its attempt, its wait and the error's message.
|
|
99
|
-
- Hooks, told as [hooks](hooks.md) say (a throw is reported with source `queue.onStart` and never fails the job): `onStart({ id, payload, attempts })` before each run, `onSuccess({ id, payload, attempts })` once it ran, `onRetry({ id, payload, attempts, error, wait })` for a failed attempt that runs again, and `onError({ id, payload, attempts, error })` after the last. A workflow's (source `workflow.*`) get `{ id, input }` (`onRetry` and `onError` also `attempts` and `error`, `onRetry` `wait`), `onStart` once per run, not after a sleep, a wait or a retry; a stop in the first attempt before any step is kept, or a run from an older kay, may tell it again. A schedule takes `onStart({ schedule, boot })`, `onSuccess` and `onError` (with `duration` ms, `onError` also `error`) in its options, source `schedule.*`. Hooks are awaited (10 s each) in the worker slot and spend `timeout`, counted from the claim; a job's hooks share one `payload`, read-only; and with `concurrency` above 1 a retry's `onStart` may run before the previous `onRetry` finished; `context.request` is undefined in a job, and an `AsyncLocalStorage` or OpenTelemetry span the app entered around `listen()` does not reach workers.
|
|
100
|
-
- The last failure keeps the job as failed, logs it with its stack and hands `{ payload, error }` to `onError`; `failed()` lists the failed jobs, oldest first.
|
|
101
|
-
- `lazy: true` starts no worker with the server: the first `enqueue`, or `queue.activate()`, does, so a queue an app may never use has no idle poll; a job already stored waits until then (kayjs-mail's list queue).
|
|
102
|
-
- A failed job is kept 30 days from when its last attempt was due, payload included, then dropped by the workers, and by any `enqueue`, `failed()` or `remove()` of the queue in a process running none; `failedTtl` sets another duration, or `false` to keep it until removed. `redact(payload)` gives what a job keeps in place of its payload once it is given up, such as a mail without its body; `onError` still gets the whole payload. A custom `JobStore.fail(id, error, payload?)` stores that payload, and a store ignoring it keeps the job whole.
|
|
103
|
-
- `remove(id)` removes a job, and `remove(match)` every waiting or failed job whose payload `match` returns true for, such as a person's mails once they asked to be erased, resolving with how many went; an app's own `JobStore` takes a function only when it has `jobs(queue)`.
|
|
104
|
-
- An idle queue looks at the store from one worker, which is how a job another process enqueued is noticed: 1 second after a job, then twice as long after each empty look up to `idlePoll`, 10 seconds by default, so such a job waits 10 seconds at worst. On Postgres it is told within a second. A job enqueued in this process, or delayed to a time the store knows, still runs at once, and a retry is picked up when due. `idlePoll: '1s'` looks every second, `'30s'` asks the database less often; it takes at least `1s`. A custom `JobStore` may have `prune(queue, before)` to drop the expired failed jobs in one call.
|
|
105
|
-
- A store that fails, a SQLite file locked past its timeout say, is logged once as the outage starts and once as it ends, its workers asking it again later and later meanwhile, up to a minute apart.
|
|
106
|
-
- `ctx.signal` aborts at `timeout`, so a handler passing it on stops instead of running beside the retry, and as the server stops, when a job it gives up on is released with `release(id, until)` of the `JobStore`, clearing the hold only while `until`, the one it was claimed with, is still the job's (optional): back without waiting out `timeout`, its attempt not counted, instead of held until `timeout` and retried after its backoff. Without `release` the job is retried as before.
|
|
107
|
-
- A process that dies running a job leaves it held: it runs again once `timeout` has passed since it started, 10 minutes by default. A run still going as `timeout` ends counts as a failed attempt, so its worker moves on, its handler's signal aborted, so a handler ignoring it runs on beside the retry, and a job longer than `timeout` needs a longer one, and a job whose process died during each of its `attempts` is kept as failed without running again, rather than crash every process that takes it.
|
|
108
|
-
- `drain()` runs every job whose time has come, here and now, until none is left, and waits for a run a worker already took (up to its `timeout` for one that never ends), except inside a job, which includes work the job spawned (a timer, a promise left running) and then does not wait, and a run counts once however many drains waited for it; in tests `site.runJobs()` from `kay/test` does it for every queue.
|