@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
package/llms/dev-tool.md
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# The dev tool
|
|
2
|
-
|
|
3
|
-
A page served by `kay dev` carries the dev tool, a drawer of tabs about the page; the rest of `kay dev` is in [The dev server](dev-server.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Open the dev tool
|
|
8
|
-
|
|
9
|
-
The bar at the bottom left of any page under `kay dev` counts the problems; a click on it, or Alt+Shift+K, opens the drawer, and Escape closes it.
|
|
10
|
-
|
|
11
|
-
### Hand the problems to an LLM
|
|
12
|
-
|
|
13
|
-
The Copy button puts every listed problem on the clipboard as plain text, the page URL first.
|
|
14
|
-
|
|
15
|
-
### Read what served the page
|
|
16
|
-
|
|
17
|
-
The Request tab shows the route matched, the layouts, the params, the locale, the status and the server's time by phase; the Network tab lists what the page fetched.
|
|
18
|
-
|
|
19
|
-
## Reference
|
|
20
|
-
|
|
21
|
-
- A problem kay recovers from in the browser, such as an island that did not match its server markup or had no client chunk, or a message no locale has, shows in the console and in the dev tool every dev page carries, a bar at the bottom left of the page counting the problems, red when one is an error and amber for a warning, whose drawer (a click on the bar, or Alt+Shift+K; Escape closes it) lists them under Problems, grouped by kind, with an error nothing caught, one kay caught in an island or an effect, or an unhandled rejection, and its stack, and each source the Content-Security-Policy blocked, a problem logged again counted rather than repeated;
|
|
22
|
-
- A `.kay` file a problem names opens in the editor on a click under `kay dev`, and hovering an accessibility problem outlines the elements it names.
|
|
23
|
-
- Dismiss, or Dismiss all, hides a problem for the rest of the browser tab, until its text changes, and those the page logged go when it is left.
|
|
24
|
-
- Copy puts every listed problem on the clipboard as plain text to paste into an LLM, the page URL first, then a block per problem with its group, level and count, and its message with the file and line it names; dismissed ones are left out, and the button says Copied or Copy failed for a moment.
|
|
25
|
-
- Its Request tab shows what served the page: the route it matched, the page and its layouts, the params, the locale, the status with the error a special page shows, the server's time by phase off its `Server-Timing` header (the guards, the import of the page's modules, the loads as a whole and each of them, and the render, which for a streamed page covers what it sends first; the loads alone with `serverTiming: false`), with whether `kay build` prerenders the page, each guard that ran and what it did (passed, redirected, denied, or did not run after a refusal), the redirects the request went through before it and which guard, `redirects` entry or setting made them, the server's time to answer and the response headers, the CSP and cache-control first, all read off what the server did on that request, a page swap showing the next page's;
|
|
26
|
-
- When a page's loads together take longer than `ops.observe.loadBudget` (`'300ms'`, `false` for none), the Request tab counts one warning, says so under the server's time naming the slowest load, and the page's console and `kay dev`'s log carry the same message. A layout whose load outlasts the page's own loads and the budget adds a second warning naming the layout file and both times, with the fix: start it unawaited and stream it with an `await` block, or cache it.
|
|
27
|
-
- Its Network tab lists what the page fetched, read off Resource Timing, by navigation, newest first: the load, then each page swap, the last 5 kept, each request with its kind (document, page for a swap or prefetch, action, server island, fetch, script, stylesheet, image, font), status, size or `from the cache`, time and start after the navigation, an error status counted on the tab for the page shown; the tool's own requests, the live reload's and `/_kay/dev/` are left out, a hover prefetch is listed under its page, and another site's answer shows no status or size without `Timing-Allow-Origin`;
|
|
28
|
-
- Its Head tab shows the page's head as it is now: the search result it makes, its title and description with their length and the description's limit of 160 characters, the canonical link, hreflang alternates, the robots tag, whether the sitemap lists the page, the og and twitter tags with a preview of the social card image, and each JSON-LD block parsed or with its parse error; what `kay check` would flag in a built page's head shows as a problem, and with `seo` set but no origin it says there is no canonical link or sitemap; it reads again after each page swap;
|
|
29
|
-
- Its Routes tab lists every page, endpoint and API route the server serves, each locale's copy of a page on its own line, filtered by path or file, a path no request fills in linking to itself, fetched again after each restart; a section of what kay serves itself lists the sitemap, robots.txt, feeds, manifest, favicons, service worker, health check and a library's dev pages such as kayjs-mail's `/_kay/mail`, only those the running server serves, so a path an app file took over shows as the app's, and with `seo` set but no origin it says why there is no sitemap or robots.txt; under it a "kay's plumbing" group lists kay's own endpoints the app serves, one line each with its purpose and a `docs` link (the build files, `/_kay/assets/*` and `/_kay/images/*` once the build has some, `/_kay/images`, `/_kay/card`, `/_kay/files/*`, `POST /_kay/action/<file>/<name>` and `GET /_kay/fields/<file>/<name>` once an action exists, `/_kay/live`, `/_kay/error`, `/_kay/csp` with `security.reports`, `/_kay/preview` and `/_kay/draft` with `preview`, `/_kay/env.js` with an `s.public` field, `/_kay/search.json` and `/_kay/search/*` with a search index, the `analytics()` and `vitals()` routes, `/_kay/THIRD-PARTY-LICENSES.txt`), the filter box matching their path and purpose, a GET path with nothing to fill in linking to itself under `base`;
|
|
30
|
-
- Its Env tab lists each public variable (`s.public`) sent to the browser, read from `/_kay/env.js` with its value, flags one whose value looks like a secret (a URL with a password, a well-known token prefix, a hexadecimal or random string), only noting a name ending in `_KEY`, and says when the app sends no public env, without asking for `/_kay/env.js` then, as the page's request block tells it (no 404 in the browser console); the server's own env is never shown;
|
|
31
|
-
- Its Images tab lists each image of the page with the variant it got (a ladder width, a crop, the share card, or not resized by kay), the format and bytes the server answers with (a HEAD request, only for a loaded image of kay's image route or built variants, with a timeout; any other image is not asked), the size served against the size drawn (flagged past 4 times the pixels shown, never for an SVG, whose address ends in `.svg` or whose fetch answered `image/svg+xml`, as Resource Timing keeps it), the largest contentful paint, and an image without `width` and `height` or lazy-loaded while in view; copies of one image drawn alike share a row with their count, and hovering or focusing a row outlines each, and the list follows the page as images change;
|
|
32
|
-
- Its Performance tab shows the page load's LCP (with its element), CLS and INP as the browser reports them while the page is used, each rated against its good limit (2.5 s, 0.1, 200 ms) and naming the page they were measured on once a swap moved away from it, and the page's footprint measured in the browser (the DOM elements without the tool's own, the requests of the load, the EcoIndex grade and score and the grams of CO2e per view, worked out by the server with the models `kay build` uses, [Build](build-and-start.md#build-and-start-commands)), then the HTML (the document the browser holds), CSS and JS gzipped and the images, fonts and other files as the browser says they came, measured again after a swap, with the entry, the islands' chunks and the other chunks apart (a page a swap fetched and an action are not counted, another site's file counts as a request of unknown weight); the sizes are dev sizes, not minified, larger than `kay build` makes them, and a "Last kay build" block gives the route's scripts and stylesheets from the report `.kay` keeps (its age, `~` for an estimate, nothing before a first build);
|
|
33
|
-
- Its Not found tab lists the paths a production run recorded visitors found nothing at (the database of the app's `store`, SQLite or Postgres, else `data/not-found.sqlite`: the log `kay not-found` reads), most hit first, with the hosts they came from and the suggested target, those a `redirects` entry answers left out; a field holds the target (the suggestion, or one typed) and Add redirect writes it into `kay.config.ts` as `kay not-found --redirect` does, then `kay dev` restarts; `kay dev` records nothing itself, so the tab leaves the list while the file, or the Postgres table `kay_missing`, is absent (it creates none).
|
|
34
|
-
- Its Data tab reads the app's databases, a select above the tables switching between them: the Postgres one `DATABASE_URL` names (pg-orm's tables and any other), and every SQLite file the app opened through `openSqlite` (kay's own stores and the libraries') or named in `DATABASE_URL` as `sqlite://`, plus the files of `data/` ending in `.db`, `.sqlite` or `.sqlite3` that start with the SQLite header (`data/auth.db` of the `app` preset); a request names a listed database by id, never a path. A SQLite file is opened read-only with `query_only` in a worker the tool stops after the 5 second timeout, under the same page size, 200 character cut, hex prefix for a blob, 500 row cap and query refusals as Postgres (its tables show no row estimate, and `PRAGMA`, `ATTACH` and writes are refused). An app with no database has no Data tab (`/_kay/dev/offered` says which of Data and Jobs the app uses, asked as the tool starts, so a database or queue added since shows at the next page load), and before that answer arrives an empty one says what it looked for (`DATABASE_URL`, the files the app opened, `data/*.db`, `*.sqlite`, `*.sqlite3`). The rest of this paragraph is Postgres. It reads over a connection of its own: the tables with their columns, a click on one pages its rows 50 at a time by the primary key, each value cut at 200 characters in the database, a `bytea` as a hex prefix with its size and `NULL` apart from the text `NULL`, so a large table or value is never loaded whole; a query box runs one `SELECT`, `WITH`, `VALUES` or `TABLE` in a read-only transaction with a 5 second statement timeout, 500 rows at most, each cell cut in the database like the rows view, refusing writes, a second statement after a `;`, `SET` and any `U&` escape before they reach Postgres. Postgres itself refuses every write; the box also refuses by name `set_config`, `pg_terminate_backend`, `pg_cancel_backend`, `pg_reload_conf`, `pg_notify`, the session advisory locks, `pg_read_file`, `lo_import`, `lo_export`, `query_to_xml`, `dblink` and a few more, a text denylist and no sandbox: a function it does not name, from an extension or the app, still runs with the connection's rights, so point `DATABASE_URL` at a restricted role to stop those. Its code is fetched when the tab first opens, not with the tool, and its endpoints (`/_kay/dev/data*`, needing the `x-kay-dev` header) exist under a dev server only: a production server answers 404.
|
|
35
|
-
- Its Styles tab follows the pointer over the page, finds the nearest component with parts (`data-kay-src` names its file, so it needs `kay dev`) and lists its parts with their recipe classes, its variants with their values, and the theme tokens its classes name (read from the component files and kayjs-ui's `theme.css`, not listed by hand); each part has a box whose Write button sets that part's classes in `src/ui.ts` (`Panel: { parts: { body: 'p-6' } }`), creating the file when the app has none and keeping the rest of it as written. A `src/ui.ts` it cannot edit in place (no `defineUi({ ... })` object, an entry or part that is not a literal) is refused with the reason. Its code loads when the tab first opens, and its endpoint (`/_kay/dev/ui`, `GET` to read and `POST` to write, needing the `x-kay-dev` header and refusing a request from another site) exists under a dev server only.
|
|
36
|
-
- Its Jobs tab also lists the upkeep running in the app under Maintenance (expired sessions pruned, a mailing list swept, and so on), each with when it last ran and the error of a failed pass.
|
|
37
|
-
- Its Jobs tab lists each `queue()` the running app made (an app with no queue and no maintenance has no Jobs tab) and its running, waiting and failed jobs, 100 live and 100 failed at most, each with its status, attempts against the queue's `attempts`, key, payload as the store keeps it (devalue text) and progress, and a failed job's last error, and for a `workflow()` run its state (running, sleeping until a time, waiting for an event, failed) with its step count and last 20 step names, Send for the event it waits for (with a field for its data as JSON, none when empty) and Cancel in place of Delete, which also stops a running run at its next step; the count on the tab is the failed jobs. Retry puts a failed job back to wait from its first attempt (it needs a store with `revive`, which `sqliteJobs`, `memoryJobs` and `pgJobs` have, else the button is off; a job whose key a live job holds since is refused) and Delete removes a waiting or failed job, a running one being left to finish. Its code loads when the tab first opens, and its endpoints (`/_kay/dev/jobs*`, needing the `x-kay-dev` header) exist under a dev server only.
|
|
38
|
-
- A site with `i18n` and more than one locale has an i18n tab: the page's locale, a link to the same page in each locale (under the base, on its own host when locales go by domain), and the keys the page asked for that no locale has, counted on the tab and cleared as a page swap starts.
|
|
39
|
-
- A library adds a tab of its own through `devTool: { module }` in its extension, with no declaration in the app: kayjs-auth shows the session's user with a sign-out, kayjs-mail the mails sent to the outbox each previewed, kayjs-cms whether the visitor is in edit mode with a toggle for the page shown, kayjs-ai (with `ai()` in `extensions`) the provider, the limits and the last 50 asks (see [A tab for a library](#a-tab-for-a-library)).
|
|
40
|
-
- Under `kay dev` a file either names opens in the editor on a click.
|
|
41
|
-
- Under `kay dev`, an edit that does not compile reloads the open pages into the error page; what each reload, restart or stylesheet swap changed and how long it took is in the terminal, and the bar says nothing of it.
|
|
42
|
-
- The dev tool is drawn with kay's mark and the docs site's palette: the drawer's head holds the title, the page's path and icon buttons, each tab has an icon and a count toned by what it counts (red for errors, amber for warnings, plain otherwise), kept from load and each swap, tab closed or not, and the rail folds to icons under 30rem. Problems show a summary of errors and warnings, a severity icon per problem, its position and repeat count under the message; Request puts the method, path, status and server time on one line, the guard, layouts and page as a chain and the load times as bars on the request's scale; Head shows the search result and share card side by side with length meters; Env boxes a secret warning under its variable; Images shows a thumbnail, chips and flags; Performance draws a tile per Web Vital with its limits and the weight as bars beside the last build; Routes marks methods and the current route; i18n lists locales as chips; Islands shows each island's signals in a table with its hydration state.
|
|
43
|
-
- Images, Env and Routes draw a row alike: its name, short chips, a line per problem and a muted note. Request, Head, Routes, Env and Images each have a filter box over what they show, a section with nothing to match leaving while it is on and a heading's count following the rows shown, and Head and Images a "Problems only" toggle; image addresses, route URLs, hreflang alternates, URL tag values, header values and env values each have a copy button read out as Copied or Copy failed, and the head's copy button puts the tab as shown on the clipboard as Markdown, its filtered rows left out. A `.kay` file any tab names opens in the editor, and a script or stylesheet (`.ts`, `.tsx`, `.js`, `.mjs`, `.css`, ...) once a folder or a line comes with it; Request counts an error status on its tab.
|
|
44
|
-
- The drawer follows the system's light or dark theme, lists its tabs in a rail down its side (Up, Down, Home and End move between them), shows a Content-Security-Policy header one directive to a line, and keeps its open tab for the browser tab across page swaps and reloads; production pages never carry it.
|
|
45
|
-
- Floating, the drawer moves by its head (snapping 12 px from an edge let go within 24 px of it), resizes by any edge or corner (at least 280 by 180, arrow keys on the bottom right corner) and fills the window from a header button; three header buttons float it or dock it to the bottom (full width, resized by its top edge) or the right (full height, resized by its left edge, arrow keys on that edge), setting `padding-bottom` or `padding-right` on `<html>` to its size while open (replacing the page's own on that side) so the page stays reachable; dragging the bar's mark lands the bar in the nearest corner (bottom left by default); dock, corner, place and sizes are kept for the browser in `localStorage`, so a new tab opens the tool there (closed, as the open tab is kept per browser tab); a window 480 px wide or narrower ignores the layout, the drawer spanning it; the bar and a floating drawer at its corner keep out of what a panel of the page holds, which the panel publishes on `<html>` as `--kay-panel-right` and `--kay-panel-bottom` (kayjs-cms's editor does), and the bar publishes its measured room at a bottom corner as `--kay-dev-bar-bottom-left` or `-bottom-right`, for a fixed element of the page there to keep clear of it (nothing for a top corner).
|
|
46
|
-
- The dev tool lists too what `kay check` reports of the project's `.kay` files without type checking, such as an `img` without `alt`, an unread prop or a browser global read while rendering; its Problems tab lists the type errors and unchecked links too, found by the type check `kay dev` runs beside the server (`--no-types` turns it off), which the open pages hear of without a reload.
|
|
47
|
-
- It lists as well each accessibility rule the rendered page breaks, such as text too faint on its background, as axe-core finds it once the page settled (see [Checks and lints](checks.md#checks-and-lints)).
|
|
48
|
-
- A list icon button in the drawer's head toggles the tab order overlay, which stays on with the drawer closed: a numbered badge on each element Tab reaches (a positive `tabindex` first, then the document's order; disabled, `inert`, not rendered or `tabindex="-1"` elements left out, one radio per group; the contents of open shadow roots are numbered where their host has them, closed ones are out of reach), a line between them, moved on scroll and read again after a resize, a page swap or a change to the page, a class or style change included. A stop drawn entirely above the previous one has a dashed red line and a `!` badge and is logged as `a11y tab-order-jump` (a positive `tabindex` or a visual order unlike the DOM's); a stop whose look and its four nearest ancestors' do not change when focused (outline, shadow, borders, colours, decoration) gets an amber badge and `a11y focus-not-visible`, found by moving focus through the stops and back, again after a class or style change (so `onfocus` handlers run; an element the browser would not show a focus ring on after a script `focus()`, such as a button after a mouse click, is skipped until the keyboard was used, and nothing is checked while focus is inside a closed shadow root, or on a custom element or a block element such as a `div` with a `tabindex`, which may be the host of one: the page reports the host for both); an `inert` part holding focusable elements with no `dialog:modal` open, or a visible `aria-modal="true"` that is not a `dialog` element, is boxed dashed red and logged as `a11y keyboard-trap` (a heuristic: a script trapping Tab is not detectable). These show in Problems like axe-core's, outlining their elements on hover. Dev only, like the rest of the tool ([Performance and the dev tool](/guides/performance#the-tab-order)).
|
|
49
|
-
- Its Screen reader tab lists what a screen reader stops at, in reading order (open shadow roots and slots followed, `hidden`, `inert`, `aria-hidden` and not rendered elements left out): landmarks (`header` and `footer` outside a sectioning element, `nav`, `main`, `aside`, `search`, a `section` or `form` with a name, `role`), headings with their level, links, controls (buttons, `summary`, button inputs, `role` button, tab, menuitem) and form fields, each with its role and its accessible name, worked out from `aria-labelledby`, `aria-label`, `label` elements, `alt`, a button input's `value`, the element's text and `title`, `placeholder` last (an approximation of the browser's, `::before` and `::after` text not read), a link with its address and a field with `required` and its description (`aria-describedby`, `aria-description`, `title`). A row is flagged for a heading level skipped or a first heading below h1, no `main` landmark or more than one (the extra ones outlined from the page row), a link, control or field with no name, and links of one name going to different places; the tab counts the flags, and Problems only and a filter narrow the rows. Hovering or focusing a row outlines its element with its tag and `.kay` position, a click scrolls to it, and the position opens in the editor. It reads again after a page swap, an island or any other change to the page, at most about four times a second.
|
|
50
|
-
|
|
51
|
-
### A tab for a library
|
|
52
|
-
|
|
53
|
-
The module is one file, absolute or relative to the project root, whose default export is called with the `DevTool` (`import type { DevTool } from 'kay/dev-tool'`) once the tool has started:
|
|
54
|
-
|
|
55
|
-
```ts
|
|
56
|
-
import type { DevTool } from 'kay/dev-tool'
|
|
57
|
-
|
|
58
|
-
export default function shopTab(tool: DevTool): void {
|
|
59
|
-
const tab = tool.tab({ id: 'shop', label: 'Shop', shown: () => void show() })
|
|
60
|
-
const show = async () => {
|
|
61
|
-
const response = await fetch('/_kay/shop', { cache: 'no-store' })
|
|
62
|
-
|
|
63
|
-
tab.panel.replaceChildren(tool.make('div', 'mono', response.ok ? JSON.stringify(await response.json()) : 'unavailable'))
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
- `tool.tab({ id, label, icon?, summary?, announce?, shown?, hidden? })` adds a tab and gives its `panel`, to fill, and `count(n, 'error' | 'warn'?, note?)`, the number beside its name and on the bar, toned red or amber, `note` being what the bar says instead of `summary`'s, shown even at zero, and `offer(false)`, which takes the tab out of the list while it has nothing to show for the app (the drawer shows the first tab meanwhile), `offer(true)` putting it back; `icon` names one of the tool's icons (`tool.icon(name)` makes one, `mail`, `user-round`, `pencil` and `puzzle`, the default, among them); `shown` and `hidden` run as it opens and closes, so a tab fetches its data when shown. `tool.make(tag, className?, text?)` makes an element, `tool.button(text, label, icon?)` a button on the bar, `tool.outline(elements, text)` and `tool.hideOutline()` outline elements of the page, `tool.open('file:line:column')` opens an editor, `tool.time(at)` writes a date, number or string as the time of day (`14:05:03`, 24 hours, in the site's time zone or the browser's).
|
|
69
|
-
- `make` takes the tool's own classes: `facts` (a `dl`), `row`, `chips` and `chip`, `pill` (with `error`, `warn`, `ok` or `accent`), `mono`, `note`, `empty`, `link`, `error`, `good`, `warn`, `tool` (a button), `actions`.
|
|
70
|
-
- It runs on dev pages only: `kay build` and a production server serve and write none of it. Two extensions naming one file load it once, in the order the extensions come, and a module that fails to load, throws or exports no function is logged as a problem naming its extension, the tool and the other tabs staying.
|
|
71
|
-
- Nothing bundles its imports, so a module imports types only. Its data and actions come from a route of the library's own, mounted under `kay dev` alone (`underKayDev()` from `kay/library`), under the `/_kay/` prefix; a module reads `<meta name="kay-base">` for the base. A route that answers 404, as outside `kay dev`, shows an empty tab saying so.
|
|
72
|
-
- kayjs-auth, kayjs-mail, kayjs-cms and kayjs-ai bring one each (see their pages), and kay adds the i18n tab itself.
|
package/llms/eco-design.md
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# Eco-design (RGESN)
|
|
2
|
-
|
|
3
|
-
Which criteria of the RGESN 2024, France's general reference for the eco-design of digital services, a web app built on kay meets by itself, which `kay check` and `kay build` verify, and which stay with the app, for an eco-design declaration.
|
|
4
|
-
|
|
5
|
-
Each row below is one criterion relevant to a web app, marked `Met` (kay does it with no setting from the app, or on a default the app can change), `Checked` (kay reports when the app misses it) or `App` (the app decides, with the setting or API kay gives it). Criteria about the team, the hosting, video, audio, documents or machine learning (1.1 to 1.5, 1.8, 1.10, 2.1, 2.2, 2.4, 2.7, 2.8, 3.1 to 3.6, 4.3, 4.6, 4.7, 4.12 to 4.15, 5.3 to 5.7, 8.x, 9.x) concern no kay feature and are not listed. A declaration still answers them.
|
|
6
|
-
|
|
7
|
-
## Common tasks
|
|
8
|
-
|
|
9
|
-
### Fail the build when a page gets heavy
|
|
10
|
-
|
|
11
|
-
`budget` limits what one page loads of JavaScript and CSS, compressed. `kay build --deny-warnings` fails on the `over-budget` warning, naming the modules weighing most:
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { defineConfig } from 'kay/server'
|
|
15
|
-
|
|
16
|
-
export default defineConfig({
|
|
17
|
-
budget: { js: '20kb', css: '10kb', weight: '500kb', grade: 'C' },
|
|
18
|
-
})
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
`weight` limits the whole page (HTML, CSS, JS, images and fonts) and `grade` its EcoIndex grade, as the table of pages `kay build` prints measures them: weight, requests, DOM elements, EcoIndex (version 5.10.0 of cnumr's `ecoindex`, from the elements, requests and kilobytes the page has) and grams of CO2e per view. The carbon follows the Sustainable Web Design model v4 as CO2.js 0.19 applies it: 0.3 kWh per gigabyte moved (data center, network and devices, operation and manufacture), 494 gCO2e per kWh, no green hosting assumed, three views in four loading everything and the rest 2% of it. The page is read from the HTML the build wrote, with no browser: images are measured for a 1280 px window, and a request to another site is counted without its weight.
|
|
22
|
-
|
|
23
|
-
### Load an image at the size it shows
|
|
24
|
-
|
|
25
|
-
An imported image gets WebP and AVIF variants, and `sizes` says how wide it shows, so a phone loads a small file. The hero image above the fold sets `loading="eager"`, the others load lazily on their own:
|
|
26
|
-
|
|
27
|
-
```kay
|
|
28
|
-
---
|
|
29
|
-
import hero from '../hero.jpg'
|
|
30
|
-
---
|
|
31
|
-
img(src={hero} sizes="(min-width: 60rem) 50vw, 100vw" alt="The workshop" loading="eager")
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Load a heavy island only when it is seen
|
|
35
|
-
|
|
36
|
-
`hydrate="visible"` waits until the island scrolls near the viewport, `hydrate="idle"` until the browser is idle:
|
|
37
|
-
|
|
38
|
-
```kay
|
|
39
|
-
---
|
|
40
|
-
import Comments from './comments.kay'
|
|
41
|
-
|
|
42
|
-
const { postId } = props<{ postId: number }>()
|
|
43
|
-
---
|
|
44
|
-
Comments(postId={postId} hydrate="visible")
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Keep a request off every keystroke
|
|
48
|
-
|
|
49
|
-
`debounced(typed, '300ms')` gives a value once typing has paused, so a search runs once instead of per key; the complete island is in [Effects and lifecycle](effects.md#react-to-a-change-or-to-typing-once-it-pauses).
|
|
50
|
-
|
|
51
|
-
## Reference
|
|
52
|
-
|
|
53
|
-
Links go to where each feature is documented. A row marked `Met` claims only what the linked page says kay does.
|
|
54
|
-
|
|
55
|
-
### Strategy and specifications
|
|
56
|
-
|
|
57
|
-
| Criterion | Status | What kay does | Where |
|
|
58
|
-
| --- | --- | --- | --- |
|
|
59
|
-
| 1.6 Collect data responsibly | Met for what kay keeps, App for the rest | No cookie until a feature needs one, request logs without address, user agent or cookie, sessions that expire, visit counting through the app's own origin and behind consent; the data the app collects is its own | [Privacy](privacy.md#cookies) |
|
|
60
|
-
| 1.7 Encryption suited to the needs | App | Cookies are `Secure` over https and the session `__Host-` prefixed; `security.headers` adds HSTS; the TLS itself is the proxy's or host's | [Proxies](proxy-and-security.md#security-headers) |
|
|
61
|
-
| 1.9 Standard interoperable technologies | Met | Pages render to plain HTML, a form posts to an action with or without JavaScript, and the rest of a page ships no JavaScript bundle | [Actions](actions.md), [Islands](islands.md#islands) |
|
|
62
|
-
| 2.3 Usable over a slow connection or offline | App | `client: { offline: true }` turns on a service worker keeping the site's files and chosen pages, with a fallback page | [Offline](sitemap-search-fonts.md#offline) |
|
|
63
|
-
| 2.6 Design and code reviews with environmental goals | App | `kay check` and `kay build` report the criteria marked `Checked` below, so a review can lean on them | [Checks](checks.md#what-kay-check-verifies) |
|
|
64
|
-
| 2.9 Impact of ready-made UI components | App | `kay build` prints what each island and each route weighs, whole, in requests and in carbon, and `--analyze` names the modules weighing most | [Build](build-and-start.md#build-and-start-commands) |
|
|
65
|
-
| 2.10 Impact of third-party services | App | `analytics()` forwards visits from the server so the CSP needs no third-party host; the app chooses which other services it loads | [Privacy](analytics.md#count-visits-through-your-own-origin) |
|
|
66
|
-
|
|
67
|
-
### Architecture and UX
|
|
68
|
-
|
|
69
|
-
| Criterion | Status | What kay does | Where |
|
|
70
|
-
| --- | --- | --- | --- |
|
|
71
|
-
| 3.7 Dev and test environments sized to need | App | Nothing in kay adjusts them; `kay dev` and the tests run on the app's own machine | |
|
|
72
|
-
| 4.1 Autoplay off | Checked | `uncontrolled-autoplay` warns of a `video` or `audio` with `autoplay` and no `controls`; a muted autoplay with controls, and an animation, are not looked at | [Lints](lints.md) |
|
|
73
|
-
| 4.2 No infinite scroll | App | kay adds none; `paginate(posts, 10)` splits a collection into pages with links | [Content](content-markdown-to-caching.md#pagination) |
|
|
74
|
-
| 4.4 The visitor decides on a third-party service | App | `analytics()` waits for the visitor's yes with `consent`, and a persisted signal keeps the answer for any other script, loaded only once it is yes | [Privacy](privacy.md#load-a-script-only-once-the-visitor-agreed) |
|
|
75
|
-
| 4.5 Native components | App | A form field is a native `input`, `textarea` or `select`; whether the app swaps them for custom widgets is its own | [Actions](actions.md#forms) |
|
|
76
|
-
| 4.8 Few downloaded fonts | App | `fonts` self-hosts font files, each family gets a metric-matched fallback, and a font of several subsets loads only the files the page's text needs; how many families the app declares is its choice | [Fonts](sitemap-search-fonts.md#fonts) |
|
|
77
|
-
| 4.9 Few server requests while typing | App | `debounced` gives a value once typing has paused | [Effects and lifecycle](effects.md#react-to-a-change-or-to-typing-once-it-pauses) |
|
|
78
|
-
| 4.10 Input format shown, no useless requests on submit | Met | `field` renders the constraints the schema gives (`required`, lengths) so the browser checks them with no request, and kay's script checks the form against the schema in the browser with the schema's messages | [Forms](actions.md#forms) |
|
|
79
|
-
| 4.11 File size and format shown before upload | App | An action refuses a post over `maxSize` (1 MB by default) with a message naming the most it may send; showing the limit before the transfer is the app's | [Body limit](action-protection.md#body-limit) |
|
|
80
|
-
|
|
81
|
-
### Contents
|
|
82
|
-
|
|
83
|
-
| Criterion | Status | What kay does | Where |
|
|
84
|
-
| --- | --- | --- | --- |
|
|
85
|
-
| 5.1 Image format suited to its use | Met | An imported PNG, JPEG, WebP, GIF or AVIF gets WebP variants, each also as an AVIF for a browser that takes it, on the same URL; an animated GIF and an SVG keep their format; `assets.images.formats.avif: false` serves WebP alone | [Responsive images](images.md#responsive-images) |
|
|
86
|
-
| 5.2 Image compression suited to its context | Met | Variants are made at `assets.images.formats.quality` and `assets.images.formats.avif`'s quality; `image(src, { quality })` sets one image's | [Responsive images](images.md#responsive-images) |
|
|
87
|
-
| 5.8 Archive or delete obsolete content | App | `files.delete` removes a file with its variants and cards; the server removes the image variants nothing asked for in 30 days | [Stored files](files.md), [Responsive images](images.md#responsive-images) |
|
|
88
|
-
|
|
89
|
-
### Frontend
|
|
90
|
-
|
|
91
|
-
| Criterion | Status | What kay does | Where |
|
|
92
|
-
| --- | --- | --- | --- |
|
|
93
|
-
| 6.1 A maximum weight and request count per screen | Checked | `budget` warns with `over-budget` for each route over its weight or EcoIndex grade, and `--deny-warnings` or `lints: { 'over-budget': 'deny' }` fails the build; no default limit is set, and `kay build` prints each route's requests, DOM elements, EcoIndex and carbon | [Build](build-and-start.md#build-and-start-commands) |
|
|
94
|
-
| 6.2 Caching for what the service transfers | Met | Imported files and built scripts carry a year of immutable caching under a content-named URL; image variants too, and revalidate by ETag when made at runtime; fonts and images in `public/` cache for 30 days and a day, with an ETag | [Imported files](imported-files.md#imported-files), [Public files](styles-and-assets.md#public-files) |
|
|
95
|
-
| 6.3 Compression of what is transferred | Met | In production kay compresses pages, actions and routes with zstd, brotli or gzip, and `kay build` writes a brotli and a gzip copy of every text file; `compress: false` turns it off behind a proxy that compresses | [Compression](proxy-and-security.md#compression), [Build](build-and-start.md#build-and-start-commands) |
|
|
96
|
-
| 6.4 Images at the size of their display | Met for imported, stored and remote images, Checked for the rest | The `srcset` ladder stops at the image's own width and `sizes` picks the variant; `unsized-image` warns of an `img` with no size and `large-public-image` of a raster over 256 KiB in `public/`, sent whole | [Responsive images](images.md#responsive-images), [Lints](lints.md) |
|
|
97
|
-
| 6.5 No loading of unused resources | Met | A component with no handler, `bind:`, `ref` or signal ships no JavaScript; a page writes only the CSS its own components use; every `img` loads lazily; `hydrate="visible"` and `"idle"` defer an island, which is the app's to set | [Islands](islands.md#hydration), [Styles](styles-and-assets.md#link-or-inline-the-stylesheets), [Responsive images](images.md#responsive-images) |
|
|
98
|
-
| 6.6 Sensors limited to the need | App | kay reads none | |
|
|
99
|
-
| 6.7 Static resources on one domain | Met for what kay serves | Scripts, stylesheets, fonts, image variants and the visit counter come from the site's own origin; an external script or image is the app's | [Fonts](sitemap-search-fonts.md#fonts), [Responsive images](images.md#responsive-images) |
|
|
100
|
-
|
|
101
|
-
### Backend
|
|
102
|
-
|
|
103
|
-
| Criterion | Status | What kay does | Where |
|
|
104
|
-
| --- | --- | --- | --- |
|
|
105
|
-
| 7.1 Server cache for the most used data | App | `cached(key, ttl, load)` keeps what a load fetches, in memory or in a store; `prerender` renders a page once at build time | [Caching](rendering.md#caching), [Prerendering](prerendering.md) |
|
|
106
|
-
| 7.2 Retention periods, then deletion or archive | Met for what kay keeps, App for the rest | A session lasts `maxAge` unused and `absoluteMaxAge` at most, a failed job 30 days unless `failedTtl` says less, `sqliteSessions` drops expired sessions hourly; the app's own rows and files have the retention it gives them | [Privacy](privacy.md#what-the-server-keeps), [Sessions](server.md#sessions) |
|
|
107
|
-
| 7.3 The visitor told of background work | App | An action's `pending()` and `track()` tell an island a post is running; a queued job is invisible until the app shows it | [Calling actions from islands](actions-from-islands.md) |
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Language server, screenshot and MCP commands
|
|
2
|
-
|
|
3
|
-
`kay lsp` serves an editor, `kay editor install` sets up Helix and Zed, `kay screenshot` photographs a page of `kay dev`, `kay mcp` gives an agent kay's tools, and `kay docs` finds a topic in these files. The other commands are in [Check, inspect and tool commands](check-and-tools.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Serve an editor
|
|
8
|
-
|
|
9
|
-
`kay lsp --stdio` is the server behind the VS Code extension `kaynooo.kay` (Marketplace and Open VSX, and a `kay-<version>.vsix` on each release; sources in `editors/vscode`):
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
kay lsp --stdio
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
The extension starts one server per project, each folder holding a `kay.config.ts` (a monorepo's apps, a multi-root workspace's folders, a project nested in another, which owns its files) once kay is installed in it, and adds the commands Kay: Restart the language server, Run kay check, Open the dev server and Show the output, the settings `kay.bun.path`, `kay.server.path`, `kay.routes`, `kay.lsp.trace` and `kay.dev.url`, and the snippets `page`, `pageserver`, `component` and `island`. `kay new` writes `.vscode/extensions.json` recommending it, and format-on-save for `.kay` in `.vscode/settings.json`.
|
|
16
|
-
|
|
17
|
-
### Set up Helix or Zed
|
|
18
|
-
|
|
19
|
-
`kay editor install [helix|zed] [dir]` writes what the editor needs to read `.kay` files: highlighting from the grammar in `editors/tree-sitter-kay` and the language server. With no editor named it sets up each of Helix (`hx` or `helix`) and Zed (`zed`, `zeditor` or `zed-editor`) found on the PATH:
|
|
20
|
-
|
|
21
|
-
```sh
|
|
22
|
-
kay editor install
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
The server command is `kay lsp --stdio` when `kay` is on the PATH, else `bun node_modules/kay/src/cli.ts lsp --stdio` from the project, else `bunx kay lsp --stdio`. Setup for Neovim and by hand: [Other editors](https://kayjs.kaynooo.fr/guides/other-editors).
|
|
26
|
-
|
|
27
|
-
### Photograph a page of the dev server
|
|
28
|
-
|
|
29
|
-
With `kay dev` running, `kay screenshot` shoots a path at two widths and writes the files under `.kay/screenshots`:
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
kay screenshot /posts --scheme dark
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Give an agent kay's tools
|
|
36
|
-
|
|
37
|
-
`kay mcp` serves the project to an agent over stdio; register it once:
|
|
38
|
-
|
|
39
|
-
```sh
|
|
40
|
-
claude mcp add kay -- bunx kay mcp
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Find a topic in the docs
|
|
44
|
-
|
|
45
|
-
`kay docs` prints the section of kay's `llms/` or of an installed kayjs-* library's that words or a name match best, from the versions the app installed, then the labels of the next matches; a label prints that section whole:
|
|
46
|
-
|
|
47
|
-
```sh
|
|
48
|
-
bunx kay docs form dialog errors
|
|
49
|
-
bunx kay docs FormDialog
|
|
50
|
-
bunx kay docs kayjs-ui/forms-and-steps.md#reference
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Reference
|
|
54
|
-
|
|
55
|
-
- `kay lsp --stdio`:
|
|
56
|
-
- The language server behind the editor extension in `editors/vscode`: errors, hover, completion with auto-import, signatures, definitions, references, rename, quick fixes and formatting of the whole file or of a selection (the top-level template blocks it touches, each formatted whole; fences are left alone) in `.kay` files, plus an outline, folding, semantic tokens telling signals (`signal` modifier, `readonly` for a memo), props (`prop`) and the values of the `--- server` fence (`server`) apart in the fences and the template, which a theme styles with `semanticTokenColorCustomizations`, inlay hints for inferred variable and return types and for the parameter names of calls given a literal, in the fences and the template expressions, a `source.fixAll.kay` action applying every safe fix, links from a relative import to the file it names and from a route path in `href`, `action`, `navigate(` or `redirect(` to the page serving it (a path with params or a catch-all included, a param a built-in matcher such as `integer` refuses and a path nothing serves left unlinked), and the relative imports of other `.kay` files and of TypeScript modules rewritten when one is renamed or moved, a `.kay` import written without its extension included.
|
|
57
|
-
- Outside a `{expr}` it completes element names, block keywords and the `@` blocks of a component at a line start, attribute and event names inside `(...)`, across lines (a component's props, read from its type or, for a package's component or a type imported from another file, from TypeScript; a plain element's attributes and events from `JSX.IntrinsicElements`, with `aria-*`, `part`, `transition:*`, `field` and `bind:*` added, and a built-in list while TypeScript is not ready), the words of an enumerated attribute inside its quotes (`type=`, `role=`, `autocomplete=`, `target=`, `loading=`, whatever its type lists), the modifiers after `|` on an event (`onClick|`), route paths after `href="`, `action="` and `navigate('`, `t('` message keys of the default locale, and lint names after `// kay-allow`. Inside `parts={{ }}` on a component it completes the component's part names, and in a string there and in `src/ui.ts` the theme tokens after `--` (read from kayjs-ui's `theme.css`); in `src/ui.ts` it also completes component names, `parts` and `variants`, part names, variant names and their values (the VS Code extension opens that one file with the server).
|
|
58
|
-
- An import it adds goes in the fence the name is used from, the server fence for server code and the component script otherwise, made if missing.
|
|
59
|
-
- Renaming a server value renames its reads in the template, and renaming a destructured prop renames it in every parent passing it.
|
|
60
|
-
- It runs the project's `kay.config.ts`, and the modules it imports, as soon as a `.kay` file is opened, as `bun` would: open only a project you trust, as with its `package.json` scripts.
|
|
61
|
-
- `kay editor install [helix|zed] [dir] [--dry-run] [--format text|json]`:
|
|
62
|
-
- Prints one line per editor, and what is left to do on stderr; `--dry-run` lists the files it would write and writes nothing, builds no grammar; `--format json` prints `{ editors, dryRun }`, each editor with `summary`, `notes` and `files`. Exits 1 when no editor is named and none is on the PATH. It writes only inside the editor's configuration (`$XDG_CONFIG_HOME`, else `~/.config`) and the project's `.zed/settings.json`.
|
|
63
|
-
- Helix: puts a section between `# kay:begin` and `# kay:end` in `helix/languages.toml` (the `kay` language with `roots = ["kay.config.ts"]`, the server and formatter commands, and the `kay` grammar at this release's tag), rewritten by the next run, and copies the `highlights`, `indents` and `injections` queries to `helix/runtime/queries/kay`, then runs `hx --grammar fetch` and `hx --grammar build` (git and a C compiler are needed; a failure is a note, the files stay). It refuses a `kay` language declared outside its section. Helix ignores LSP semantic tokens, so tree-sitter alone colours the file.
|
|
64
|
-
- Zed: Zed starts a language server only from an extension it compiles, so it copies `editors/zed` (`extension.toml`, `Cargo.toml`, `src/lib.rs`, `languages/kay`) to `zed/kay-extension` in the configuration folder, replacing an earlier copy, and adds `"languages": { "Kay": { "semantic_tokens": "combined" } }` to the project's `.zed/settings.json` (a file with comments is left alone and the line printed). The grammar must stay named `kay`, as Zed links `tree_sitter_<name>`. It cannot load the extension itself: run `zed: install dev extension` and pick the folder printed; Rust through rustup must be installed, and a note says so when it is not.
|
|
65
|
-
- `kay screenshot <path> [dir] [--width <px>]... [--height <px>] [--scheme light|dark] [--full-page] [--cookie <name=value>]... [--format text|json]`:
|
|
66
|
-
- Needs `kay dev` running in the project (it writes `.kay/dev/server-<pid>.json`, `{ url, pid }`, one per `kay dev`, and removes it on exit; a dead pid is ignored, the latest written wins) and Chrome or Chromium; it says so, naming `BUN_CHROME_PATH`, otherwise.
|
|
67
|
-
- `path` is what a visitor types, a locale prefix and a query included; a site's `base` is added when the path is not under it, and the page is opened through a proxy of the command's own that takes it off, as a proxy in front of the site does. A path that does not start with one `/`, holds a `..` segment (also percent-encoded), a backslash or a control character, or names another host is refused before the browser starts.
|
|
68
|
-
- Widths 375 and 1280 by default, 200 to 3840; `--height` 200 to 8000, 800 by default; `--full-page` shoots the whole page, cut at 8000 px. The window is exact: a device metrics override replaces the browser's bar. `kay-dev`'s badge is hidden.
|
|
69
|
-
- Each shot is `.kay/screenshots/<path>.<width>[x<height>].<scheme>[.full].png`, the path written in letters, digits and `-` with `_` and the hex of anything else. The one before goes to `.prev.png` and `.diff.png` marks the changed pixels red on the faded new shot, with the count, ratio and bounding box of the changes (a different size is compared on the larger canvas, a tolerance of 8 per channel ignoring anti-aliasing; beyond 12 million pixels in either shot no diff is made and the shot says `diffSkipped`). Two shots of one page at once wait for each other. Beyond 240 files the oldest go.
|
|
70
|
-
- The document (`--format json`, else one line per shot): `url`, the dev server's `status`, `shots` (`width`, `scheme`, `file`, `size`, `cut`, `previous`, `diff`, `diffSkipped`), `console` (the page's console errors and uncaught exceptions, and `kay: timed out after ...` when it did not load and hydrate within 10 s, in which case it is shot as it stands) and `problems` (the entries of `.kay/dev/errors.json` for the page, and a boot or compile failure). A status of 400 or above is a result, not a failure. `url` is the one asked for: a redirect, such as a guarded page sending a visitor to its sign-in, is followed and shot, and no cookie is sent unless `--cookie name=value` gives one (repeat it), so a page behind a session is shot with the session's cookie. A `--cookie` value is an argument, so `ps` shows it while the command runs: use a throwaway session of a dev database.
|
|
71
|
-
- `kay docs [words...|<package>/<file>[#<heading>]] [--format text|json]`:
|
|
72
|
-
- Reads kay's `llms.txt` and `llms/*.md` and those of each `@kayjs/*` package found in a `node_modules` from the current directory up, the nearest winning, split on headings (none inside a code fence). A label is `<package>/<file>.md#<anchor>`, the anchor GitHub gives the heading; `.md`, `@kaynooo/` and the heading's case are optional.
|
|
73
|
-
- Words or a name: the section matching best, with its path and line, scored on its heading, the names it documents (a heading's words, the first code span or words of an item or paragraph, a table row's first cell), its file's title and its text; a camel-cased name also matches its parts and a plural its singular. A section over 5000 characters prints only its blocks the words match and how many it left out. Then the labels of the sections under it and of the next five matches. `whats-new` and `upgrading` files and a section that only lists links are never searched, though a label prints them.
|
|
74
|
-
- A word naming a component an installed library exports, its case and hyphens aside (`FormDialog`, `form-dialog`), also prints its props from its installed `.kay` source: the statement taking them, defaults and comments included, then the types it names that the file or a relative module it imports declares, with its `import` line; one per library exporting such a name.
|
|
75
|
-
- A lint or an error code alone prints what `kay explain` says of it, then the sections naming it. A file label prints its headings as labels, no argument lists the files. Nothing matching, or a heading the file lacks, fails with exit 1.
|
|
76
|
-
- `--format json`: `{ sections, others }`, each section with its `label`, `path`, `line`, `heading` and `text`, `omitted` and `children` when it has some, and `components` (`name`, `import`, `path`, `line`, `props`) for a component's name; the list `{ files }`, a file's headings `{ files: [{ headings }] }`.
|
|
77
|
-
- `kay mcp [--stdio] [--write]`:
|
|
78
|
-
- Serve the project in the current directory to an agent as an MCP server over stdio (newline-delimited JSON-RPC), in both the revision that opens with `initialize` (`2025-11-25` and earlier) and `2026-07-28`, whose requests carry their version in `_meta`; it needs no setup in the app and prints nothing but protocol on stdout.
|
|
79
|
-
- Tools, each with an input schema: `check` runs `kay check --format json` and answers its document, taking `paths` (files or directories inside the project to report on, `.` for all of it; the project is checked whole either way), `only` (a lint group) and `denyWarnings`; `routes` answers `kay routes --format json`; `explain` lists the lints and error codes, or explains the lint, error code or group in `name`; `docs` answers `kay docs --format json` on `query`; `render` runs `kay render` on `url` with `method`, `body`, `headers` (`name: value`) and `cookies` (`name=value`), answering the body (an image or a blob, unchanged, when it is not text; a `body`, or a `method` other than GET, HEAD or OPTIONS, needs `--write`, as it runs the app's action), then the status line, headers and server log, as an error result for a status of 400 or above; `screenshot` (a call can take a minute, and the others wait for it) runs `kay screenshot --format json` and answers its document, then each shot's PNG as an image, and the diff image of each too with `diff: true`; `dev_errors` reads `.kay/dev/errors.json` (see `kay dev`), an empty list when `kay dev` has met nothing, and with `waitMs` (up to 120000, which can outlast a client's request timeout) first waits for the file to change and stay unchanged for 400 ms, adding `waited: true` when it did; `doctor` answers `kay doctor --format json` with `port`, a failing check being a result; `fmt` runs `kay fmt --check --format json` on `paths` and answers the files not formatted, writing none; `generate` (`kind`, `name`, `fields`, `plural`) and `add` (`features`) run their command with `--dry-run --format json`, so they list what they would write and write nothing, unless `apply: true` (`add` then installs nothing, unless `install: true` runs `bun add` and `bun install`, which a library the project lacks needs to say what it writes); `fix` runs `kay check --fix --dry-run --format json` and `upgrade` `kay upgrade --dry-run --format json`, each rewriting the project with `apply: true`; `lint` runs `kay lint --format json` on `paths` and answers `{ errors, warnings, problems }` capped at 200 problems, with `--fix` under `apply: true`; `build` answers `kay build --format json` (`denyWarnings`; `static`, which replaces `dist`, needs `--write`) and `types` `kay types --format json`; `test` runs `kay test` on `files` and a `name` pattern and answers `{ code, failed, summary? }`, each failed test with its `file`, `name`, `message` and `at` (`file:line`), capped at 200, an error result when a test fails (it needs `--write`, a test being free to write to its database); `env` answers `kay env --format json`, `i18n_missing` `kay i18n missing --format json` for a `locale` or all, and `a11y` `kay a11y --dry-run --format json` with `standard`, which needs Chrome; `not_found` answers `kay not-found --format json` as `{ missing, total }` (path, `hits`, `firstAt`, `lastAt`, `referrers`, `target`), read from the same database, writing nothing, capped at 200 paths (`limit` lists fewer), each path, referrer host and page cut at 120 characters and at most 5 referrers a path, as visitor-typed data. The server has no prompts (they would repeat `AGENTS.md` and its instructions) and no resource subscriptions (its resources are static guides; check problems and dev errors are tools, `dev_errors` waits with `waitMs`).
|
|
80
|
-
- `apply: true` is refused unless the server is started as `kay mcp --write`, which the client opts into; paths are checked to lie inside the project, arguments reach the command as an argv list and never a shell, and a long answer is cut.
|
|
81
|
-
- Each tool runs the command in a child process of its own, so a call pays what the command costs, a `check` as long as `kay check`; a problem found is a result, a command that could not run an error result (`isError`). Calls run one at a time, in the order they came, and a command that is stopped (timeout, client gone) takes what it started along.
|
|
82
|
-
- Resources: `kay://llms.txt`, `kay://llms/<file>.md` for each file of `llms/`, with the file's title and the headings of its sections as description, and `kay://<library>/llms.txt` and `kay://<library>/<file>.md` for each `@kayjs/*` library the project installed, at its installed version; only those are readable.
|
|
83
|
-
- Register it with `claude mcp add kay -- bunx kay mcp`, or as `{ "mcpServers": { "kay": { "command": "bunx", "args": ["kay", "mcp"] } } }` in a client's JSON config.
|
package/llms/effects.md
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
# Effects and lifecycle
|
|
2
|
-
|
|
3
|
-
How a component runs code after its render, when a value changes, on a timer or on a window event, and how each of these stops; props, signals and the rest of a component are in [Components](components.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Run code when a value changes
|
|
8
|
-
|
|
9
|
-
`effect` runs once the render is done, in the browser, and again whenever a signal it read changes:
|
|
10
|
-
|
|
11
|
-
```kay
|
|
12
|
-
---
|
|
13
|
-
import { signal, effect } from 'kay'
|
|
14
|
-
|
|
15
|
-
const query = signal('')
|
|
16
|
-
|
|
17
|
-
effect(() => {
|
|
18
|
-
localStorage.setItem('query', query())
|
|
19
|
-
})
|
|
20
|
-
---
|
|
21
|
-
input(bind:value={query} aria-label="Search")
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### React to a change, or to typing once it pauses
|
|
25
|
-
|
|
26
|
-
`watch` from `kay` runs on each change of what it watches, not on its first read, handed the value before; `debounced` gives a value once it has stopped changing for a while:
|
|
27
|
-
|
|
28
|
-
```kay
|
|
29
|
-
---
|
|
30
|
-
import { debounced, watch, signal, onCleanup } from 'kay'
|
|
31
|
-
|
|
32
|
-
const typed = signal('')
|
|
33
|
-
const found = signal<string[]>([])
|
|
34
|
-
|
|
35
|
-
watch(debounced(typed, '300ms'), async (query) => {
|
|
36
|
-
// Registered before the await: a slower answer to an older query is dropped.
|
|
37
|
-
let stale = false
|
|
38
|
-
|
|
39
|
-
onCleanup(() => stale = true)
|
|
40
|
-
|
|
41
|
-
const people = query === '' ? [] : await (await fetch(`/api/people?q=${encodeURIComponent(query)}`)).json()
|
|
42
|
-
|
|
43
|
-
if (!stale)
|
|
44
|
-
found = people
|
|
45
|
-
})
|
|
46
|
-
---
|
|
47
|
-
input(bind:value={typed} aria-label="Search people")
|
|
48
|
-
ul
|
|
49
|
-
for name of found()
|
|
50
|
-
li {name}
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Run code on a timer or a window event
|
|
54
|
-
|
|
55
|
-
`every` and `listen` from `kay` run while the island lives, never on the server:
|
|
56
|
-
|
|
57
|
-
```kay
|
|
58
|
-
---
|
|
59
|
-
import { every, listen, signal } from 'kay'
|
|
60
|
-
|
|
61
|
-
const seconds = signal(0)
|
|
62
|
-
const key = signal('')
|
|
63
|
-
|
|
64
|
-
every('1s', () => seconds++)
|
|
65
|
-
listen(() => window, 'keydown', event => key = event.key)
|
|
66
|
-
---
|
|
67
|
-
p {seconds()}s on the page, last key {key()}
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Reference
|
|
71
|
-
|
|
72
|
-
- `effect(fn)` runs once the render is done and again whenever what it read changes; `effect(fn, { signal })` stops it when the signal aborts, as `every`, `watch` and `listen` stop.
|
|
73
|
-
- `onMount(fn)` is the sugar for `effect(() => untrack(fn))`: it runs once, after the markup is in place, and never runs again. It takes `{ signal }` too. `onCleanup`, `untrack`, `batch`, `root` and `flush` come from `kay` as well.
|
|
74
|
-
- `followed(read, draw)` draws what a block shows for the item `read` returns once, however often the item is replaced by a copy under the same key: `draw` gets the item, and a block it calls reads its parameter as the current item where it is used, so `{followed(() => row, row => cell(row, column))}` under `for row of rows key={row.id}` keeps the cell's nodes and focus while `rows.indexOf(row)` and `row === selected` hold in it. A value that is not an object is drawn as a call is, again when it changes. More reads after `draw`, `followed(() => entry.row, (row, index) => item(row, index), () => entry.index)`, are other arguments the block reads in place. `slot name(item, index)` called with names or paths does it for the first argument already, reading every other argument in place too, so a reorder keeps the block's nodes, and in a `form` as anywhere else. A block that does not read a parameter through its name, one taken as a pattern, a default or a rest, is drawn again when that argument changes, as is a plain function handed the item.
|
|
75
|
-
- Which one: `effect` to keep something in step with the signals it reads, `watch(source, run)` to react when `source` changes (the callback reads what it likes, gets the value before, and `{ immediate: true }` runs it once at the start too), `onMount` for what happens once, `every` for a timer and `listen` for an event.
|
|
76
|
-
- A function an `effect` or `onMount` callback returns runs as its cleanup, as one passed to `onCleanup` does: `effect(() => { const t = setInterval(tick, 1000); return () => clearInterval(t) })`.
|
|
77
|
-
- `effect`, `watch`, `every`, `listen` and `onCleanup` run with no owner at a module's top level, after an `await`, or in a timer: nothing stops the first four, which live until the page goes, and `onCleanup` drops its function. In development each logs a `[kay]` warning naming it, once, and `kay check` reports a call in an inline handler (one more per event), a timer, a promise callback or after an `await` as the `unowned-effect` lint; `root(fn)` is the owner to give them.
|
|
78
|
-
- An event handler runs under the owner it was bound in, the enclosing block or component, so an `onCleanup` it registers runs when that goes.
|
|
79
|
-
- An `onCleanup` that throws is logged and handed to the page's error report (`reportError`), never to an `onError` or `catch` boundary, and the owner's other cleanups and children still end.
|
|
80
|
-
- `root(fn)` runs `fn(dispose)` under an owner of its own, not attached to the one it was called under: the effects and `onCleanup`s created inside live until `dispose()` is called, and `root` returns what `fn` returns. It is for code with no component to stop it, such as a module-level subscription.
|
|
81
|
-
- `every`, `watch`, `listen`, `shortcut`, `guardLeave`, `followLog` and `presence` each return a function that stops them before the island ends (twice is harmless), and take `{ signal }` to stop on abort (an aborted one starts nothing); so do `effect`, `onMount`, `debounced` and `throttled`, which have nothing to return. `followLog` and `presence` return an object that is that function too: after `room()`, `others()` is empty.
|
|
82
|
-
- A write applies at once; the effects it touches run together in a microtask, or right away through `flush()`. An effect writing what it reads, on every run, is stopped after 1000 rounds with a `[kay]` error that names it in development (several effects feeding each other are all stopped); the other effects of the page keep running, and a stopped one runs again when what it reads changes.
|
|
83
|
-
- `durationMs('3s')` from `kay` is the milliseconds a duration written with its unit stands for, `'250ms'` 250 and `'2m'` 120000, for a timer of your own: a bare number throws, and a text that is no duration gives `NaN`.
|
|
84
|
-
- `every(interval, run, { while })` from `kay` runs `run` every `interval`, a duration such as `'3s'` or `'250ms'`, while the island lives, and while `while`, read as an effect reads, holds: the timer starts and stops as it turns, never on the server.
|
|
85
|
-
- `every` skips a tick while the promise the last run returned is pending.
|
|
86
|
-
- `every(interval, run, { immediate: true })` runs it as the timer starts too, rather than one interval later.
|
|
87
|
-
- `every` pauses while the tab is hidden and runs once as it shows again; `{ background: true }` keeps it running hidden. An interval under 1 ms or over 24 days, or one that is not a number or a duration string (`'3 s'`), throws.
|
|
88
|
-
- `every('3s', refresh, { while: () => issuing })` polls the page, `every('1s', () => now = Date.now())` ticks a clock, and a bare number throws.
|
|
89
|
-
- `watch(source, (next, previous) => ...)` from `kay` runs on each change of `source`, a signal or a function reading some, not on its first read: no hand-kept previous value to compare against.
|
|
90
|
-
- `watch` tracks only `source`, never what its callback reads; a read giving the same value runs nothing, and what the callback registers with `onCleanup` stays until its next run.
|
|
91
|
-
- `watch(source, run, { immediate: true })` runs on the first read too, `previous` being `undefined` then.
|
|
92
|
-
- The first read is when the island's effects first run, once its render is done: a write the script makes before then is part of it and runs nothing.
|
|
93
|
-
- What the callback registers with `onCleanup` before an `await` runs at its next run: a flag set there drops a slower answer to an older value.
|
|
94
|
-
- `debounced(source, delay)` from `kay` is a memo giving `source`'s value once it has stopped changing for `delay`, a duration, starting with its value now: `watch(debounced(typed, '300ms'), lookUp)` looks up as the user pauses, with no `setTimeout` kept by hand.
|
|
95
|
-
- `debounced` drops its pending value with the island; on the server it keeps its first value. A `debounced` is read by calling it, as a memo is.
|
|
96
|
-
- `throttled(source, delay)` from `kay` is its twin for a value that must keep up while it changes: it gives `source`'s value at most once per `delay`, the first change at once and the last one when the wait ends; it is read by calling it, keeps its first value on the server and drops its timer with the island.
|
|
97
|
-
- `watch` and `debounced` run nothing while the server renders an island, as `effect` does; at a module's top level they run in the server's process too, as `effect` does there.
|
|
98
|
-
- `listen(() => window, 'keydown', event => ...)` from `kay` listens to an event of `window`, `document` or any other target while the island lives, the handler typed by the target's events and the fourth argument passed to `addEventListener`.
|
|
99
|
-
- The target is a function returning it, the one form: it is never read on the server, in a `.ts` module as in a `.kay` file, and a `ref` or a signal it reads is followed, `listen(() => panel, 'scroll', ...)` listening to its new value as it changes, none while it is undefined. A target given as a value, `listen(window, ...)`, is a type error, and in a `.kay` file a read of `window` in an island.
|
package/llms/environment.md
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Environment variables
|
|
2
|
-
|
|
3
|
-
Reading the environment typed, and letting an island read a variable. Sessions, locals and guards are in [Locals, sessions and guards](server.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Read the environment, typed
|
|
8
|
-
|
|
9
|
-
`defineEnv` reads `process.env` once against a schema, as the server boots, and a missing or refused variable stops the boot:
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
import { s } from 'kay'
|
|
13
|
-
import { defineEnv } from 'kay/server'
|
|
14
|
-
|
|
15
|
-
export const env = defineEnv({
|
|
16
|
-
DATABASE_URL: s.string(),
|
|
17
|
-
PORT: s.int({ default: 3000 }),
|
|
18
|
-
DEBUG: s.boolean({ optional: true }),
|
|
19
|
-
})
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
`defineEnv(schema, source)` reads `source` instead of `process.env`, for a module building its own env. A test gives a variable of `env` another value with `overrideEnv` from `kay/test` ([Testing](testing.md)).
|
|
23
|
-
|
|
24
|
-
### Let an island read a variable
|
|
25
|
-
|
|
26
|
-
Mark a field of `defineEnv` `s.public` to let an island read it, such as a map key or an analytics id; it needs no key in kay.config.ts:
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import { s } from 'kay'
|
|
30
|
-
import { defineEnv } from 'kay/server'
|
|
31
|
-
|
|
32
|
-
export const env = defineEnv({
|
|
33
|
-
DATABASE_URL: s.string(),
|
|
34
|
-
MAP_KEY: s.public(s.string()),
|
|
35
|
-
ANALYTICS_ID: s.public(s.string({ optional: true })),
|
|
36
|
-
})
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
A component reads it as `publicEnv` from `kay`, typed from the `s.public` fields of the modules under `src` only (one outside it, such as `common/env.ts`, is not found: `kay check` reports it as `public-env-outside-src`):
|
|
40
|
-
|
|
41
|
-
```kay
|
|
42
|
-
---
|
|
43
|
-
import { publicEnv } from 'kay'
|
|
44
|
-
---
|
|
45
|
-
button(onClick={() => console.log(publicEnv.MAP_KEY)}) Log the map key
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Reference
|
|
49
|
-
|
|
50
|
-
### The app secret
|
|
51
|
-
|
|
52
|
-
- One secret, `KAY_SECRET` or `secret` in kay.config.ts (which wins), at least 32 random characters: `bun -e "console.log(crypto.randomUUID() + crypto.randomUUID())"`. An empty one counts as none; a short one stops the boot.
|
|
53
|
-
- It serves everything kay seals or signs, each under a key derived for its use, so none passes for another: `session()`'s cookie (no `secret` option), kayjs-auth's keys (`deriveSecret`), form stamps (`minTime`), links to private files, the flash cookie, rate-limit keys and live proofs, and `preview`'s links and cookie (no `preview.secret`). An option giving its own secret keeps it apart.
|
|
54
|
-
- Commas in `KAY_SECRET` (or a list in `secret`) rotate it: the first seals and signs, every one opens and verifies: sessions, kayjs-auth's sealed data, stamps, private-file links, the flash cookie and preview links, so a rotation breaks none of them. Keep the old secret in the list while data sealed with it exists, a session cookie or a second factor.
|
|
55
|
-
- Development and tests (`NODE_ENV` `development` or `test`) derive one for the checkout, as `s.secret()` does, so a fresh clone runs with nothing set. Production without any refuses `session()` and `preview`, naming `KAY_SECRET`, and refuses to start a server at all: it would sign with a key of the process, which a restart changes and other replicas do not share. `KAY_EPHEMERAL_SECRET=1` starts one anyway, for a single throwaway server, which warns once. A secret of fewer than 10 different characters warns in production.
|
|
56
|
-
- `session()` reads it on first use, or as the server starts, so a `session()` made as a module loads takes the config's `secret` and its rotation list as well as `KAY_SECRET`; one given `session({ secret })` keeps its own.
|
|
57
|
-
- An app signs its own links and values with `signed` from `kay/server`, keyed on this secret, so no key file of its own: `signed.sign(use, value, { ttl })` gives `<expiry>.<signature>` (URL-safe, `ttl` a duration, `'1h'` when left out) and `signed.verify(use, value, token)` is `true` only for that `use`, that `value`, a token not expired and signed under any key of the list, `false` for anything else, a missing or malformed token too, and never throws. `use` keeps one feature's signatures from passing for another's, and for kay's own (private-file links, stamps). A script or job that started no server reads `KAY_SECRET` (the checkout's in development and tests); a production process with none signs under a key of its own, as stamps do. `value` and `use` are strings (anything else throws) and `ttl` is at most `'52w'.
|
|
58
|
-
|
|
59
|
-
### Environment
|
|
60
|
-
|
|
61
|
-
- `defineEnv` from `kay/server` reads `process.env` once against a schema, as the server boots, and gives it back typed.
|
|
62
|
-
- Names follow one rule. kay's own start `KAY_` (`KAY_SECRET`, `KAY_PROXY_KEY`, `KAY_MCP_KEY`, `KAY_METRICS_TOKEN`) apart from the ones a host sets for the app, `PORT`, `HOST`, `SITE_URL` and `SITE_BASE`, and the web push keys `VAPID_PUBLIC_KEY` and `VAPID_PRIVATE_KEY` as the standard names them. Each library has one prefix: `AUTH_` (kayjs-auth), `MAIL_`, `AI_`, `CMS_`. A vendor's own name stays as the vendor spells it: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `<PROVIDER>_CLIENT_ID` and `<PROVIDER>_CLIENT_SECRET`. `MAIL_INSECURE` and `AI_INSECURE` both mean `true` lets a secret go over a connection a network you trust carries in clear. The renamed ones, `KAYJS_AUTH_DATABASE_URL` (now `AUTH_DATABASE_URL`) and `MAIL_INBOUND_SECRET` (now `MAIL_EVENTS_INBOUND`), are no longer read.
|
|
63
|
-
- A number or boolean is read from its text as a form field is, a variable left out takes its `default`, and any missing or refused stops the boot with an error naming each one.
|
|
64
|
-
- An empty variable, `PORT=` or `PORT=""` in a `.env` file, counts as left out: it takes the default, satisfies `optional: true` and fails a required one, rather than an empty string reaching the schema.
|
|
65
|
-
- So an empty string is not a value a variable can carry: a setting that means something when blank is `optional: true`, read as `undefined`.
|
|
66
|
-
- A value of spaces is kept as it is, since only quoting makes one.
|
|
67
|
-
- `kay build` runs without the server's environment: there a missing or refused variable leaves the module declaring it alone, and reading it throws naming it, which fails only a prerendered page that reads it.
|
|
68
|
-
- The object holds the declared names only.
|
|
69
|
-
- A string field also reads `<NAME>_FILE`, the path of a file holding the value, as a compose or swarm secret hands it: `API_KEY_FILE=/run/secrets/api_key` fills `API_KEY: s.string()`. The file is read once at boot and trimmed (surrounding whitespace goes), and the value is checked against the schema as any other. Both `API_KEY` and `API_KEY_FILE` set stops the boot naming both, and so does a file that is missing, unreadable or empty, naming the variable and the path, never the content; an optional field (not `requiredInProduction`) is left unset instead, with one warning naming the file, so its default applies. `s.public` fields, numbers and booleans have no file form, and neither has a name whose `_FILE` variable the schema declares itself. `kay env` says so under its listing, and `kay env --compose` and `kay check` count `API_KEY_FILE` in a compose file or the example as setting `API_KEY`. A build without the server's environment leaves a file it cannot read as a missing variable.
|
|
70
|
-
- `requiredInProduction: true` on a field makes it required under `NODE_ENV=production` only: there it is refused at boot when missing, its `default` dropped and `optional` no longer applying; in development and tests it takes its `default`, stays `undefined` when optional, or is `''` when a `s.string` has neither, so `DISCORD_CLIENT_ID: s.string({ requiredInProduction: true })` types as `string` and needs no placeholder in the app and no second list of production keys; `s.string({ optional: true, requiredInProduction: true })` keeps `string | undefined`.
|
|
71
|
-
- `s.secret()` is a string of at least 32 characters required in production, which development and tests read as a derived value, so sessions survive a restart and nothing is committed: `DOWNLOAD_KEY: s.secret()`; a value set in the environment wins, and `kay env` lists it as a secret required in production (`secret: true` in JSON). `kay new` uses it. Only under `NODE_ENV` `development` or `test` (`kay dev` and `bun test` set them) is it derived, from the path, the name and a random seed kept in `.kay/dev-secret` (git-ignored, 0600, written on first use and again when empty or cut short, read once per process; under `test` the seed is only read, and one of the process stands in when there is none, exported as `KAY_DEV_SEED` so a subprocess spawned with the inherited environment derives the same secret, one given an environment of its own another; `bun test` writes nothing to `.kay` for a secret and needs no `KAY_SECRET`); under any other `NODE_ENV`, or none, a missing one refuses the boot as a plain `s.string({ minLength: 32 })` does, and a `.kay` that cannot be written is an error naming it and the variable to set; `testSite()` building islands into a `.kay` that cannot be written fails the same way, naming the folder and `islands: false`.
|
|
72
|
-
- `NODE_ENV=production kay build` counts as production too: a prerendered page reading a flagged variable needs it set for the build, or reads it where the server runs.
|
|
73
|
-
- `kay env [dir] [--compose <file>]... [--example <file>] [--write] [--format text|json]` lists every variable the project declares, without its environment and without running the server entry, whose own `defineEnv` calls it leaves out: the `defineEnv` schemas in the modules under `src` (imported, so their top-level code runs), the `s.public` fields among them, the `env` schema of each extension in kay.config.ts (a library's, such as kayjs-mail's `MAIL_*` variables or kayjs-ai's provider keys and `AI_MODEL`, with no wiring), and kay's own `PORT`, `HOST`, `SITE_URL` and `KAY_SECRET`, and `KAY_PROXY_KEY` (required in production) and `KAY_PROXY_KEY_FILE` while `proxy.key` is set, and `KAY_MCP_KEY` (required in production) and `KAY_MCP_KEY_FILE` while `mcp.token` is `true`; a secret given as `{ env: 'NAME' }` lists that variable instead, and a value or a `{ file }` none. A schema built inside a function is not seen. A library's mailer built in one of those modules, such as `mailer()` from kayjs-mail, is listed once under that module, as its options set it up (`mailer({ optional: true })` does not make `MAIL_URL` required); the module under `src` an extension with an `env` names as its `serverModule` is imported too, whether or not it says `defineEnv`, and one that does not load leaves the extension's own list. Each has its `name`, `source`, `type`, `required` (`'always'`, `'production'` or `false`), its `default` and `description` when it has them; a module that fails to load is under `unread`.
|
|
74
|
-
- `envFiles: { compose: 'compose.prod.yaml', example: '.env.example' }` in kay.config.ts (`compose` takes several files), or `kay env --compose <file>... --example <file>`, compares what the project declares with those files, and `kay check` runs it with no flag. With neither, both compare the project's root `compose*.yaml` and `docker-compose*.yaml` files (a name with `dev`, `development`, `test`, `local` or `override` in it is left out, as it holds the services around the app) and its `.env.example`, those that exist; `env: false` turns the comparison off. A line of `.env.example` no schema declares is an error unless compose uses it: a service sets it, a value interpolates it as `${HF_TOKEN}`, or a top-level secret or config reads it as `environment: HF_TOKEN`.
|
|
75
|
-
- `kay env --write` appends every declared variable the example does not mention (kay's and the libraries' included, an optional one commented out beside its default), creating the file or keeping what it holds, and writes `--example`'s file, else the config's, else `.env.example`: a variable production needs (`required` not `false`) that no compose service sets, in `environment` (a map or a list, `${VAR:-x}` included) or an `env_file` (one the checkout leaves out, such as a gitignored `.env`, sets what the `.env.example` beside it lists, an empty line included, as the deploy fills that file from it), is an error, as is `KAY_PROXY_KEY` when `proxy.key` is set and no service sets it or `KAY_PROXY_KEY_FILE` (and `KAY_MCP_KEY` for `mcp: { token: true }`, with `KAY_MCP_KEY_FILE`); so is one the example does not list unless a compose service gives it a literal, and one the example lists that no schema declares, no service sets, no `${VAR}` of the compose file reads (`POSTGRES_PASSWORD`) and neither kay.config.ts nor a module it imports by relative path reads as `process.env.X` (`COMPOSE_*` and `DOCKER_*` apart, which Docker Compose reads). A `process.env.X` or `Bun.env.X` read in `src` outside tests (`NODE_ENV` apart) that nothing declares is a warning, which `kay check --fix` can declare for you ([Check](check-and-tools.md)). A file `bun build` names in a `package.json` script (a standalone binary's entry, in `src` or anywhere else, `--cwd` honoured) with the files it imports by relative path (`./x.js` for `x.ts` and a `.kay` file included), the content config (`src/content.config.ts`, or the config's `contentConfig`), and a file with a `// kay-env: raw` line are not checked, nor rewritten by `--fix`: they read the environment themselves, so a module the entry shares with the app is exempt for the whole app. `kay env` prints the findings and exits 1 on an error; `--format json` adds `findings`, as `kay check` prints its problems. A file named and missing, or a compose file that is not YAML, is an error; leave a key out to skip its half. `--compose` and `--example` resolve against the project root and, when given, replace the config's `env` wholesale. A module under `src` that does not load is an error and stops nothing being judged undeclared; an empty value (`FOO=`, `FOO: ''`) counts as unset, as `defineEnv` reads it. Raw reads are found in one-line `process.env.X`, `process.env['X']`, `Bun.env.X` and `const { X } = process.env`, not in a multi-line destructuring, a computed name or `import.meta.env`.
|
|
76
|
-
- Server code imports it: a `.ts` module, a server fence, the server entry; an island never sees the server's environment.
|
|
77
|
-
- A field wrapped in `s.public(...)` is one an island may read, such as a map key or an analytics id, which a component reads as `publicEnv` from `kay`, typed from the `s.public` fields of the `.ts` modules under `src` (found by reading them as text, so the field is written `s.public(`); `kay env` lists it as `public`.
|
|
78
|
-
- It is read as `defineEnv` reads the rest, a missing or refused one stopping the boot, and reaches the browser as the module declaring it loads: an island reading `publicEnv` needs a module with `defineEnv` imported by the server.
|
|
79
|
-
- The browser gets them from `/_kay/env.js`, which the server answers from its environment and the island entry imports before any island hydrates, so an executable, or a page prerendered at build time, carries the values of the environment it runs in (an executable embeds the `.ts` modules declaring `s.public`, so it needs no `src` beside it); `kay build --static` writes that file with the build's.
|
|
80
|
-
- The markup a prerendered page rendered holds the build's values, though: an island showing a variable that differs at runtime hydrates with a mismatch, so a page showing one renders per request.
|
|
81
|
-
- The server refuses to boot, before any build starts, when an `s.public` field has a name such as `STRIPE_SECRET`, `DB_PASSWORD`, `PRIVATE_KEY`, `ACCESS_TOKEN`, `API_KEY`, `SIGNING_KEY`, `SENTRY_DSN`, `JWT_SECRET`, `AWS_CREDENTIALS` or `DATABASE_URL`, or whose value is an address with a username and password in it (`postgres://user:pass@host/db`), which every visitor would read; keep those in `defineEnv` without `s.public`. An `s.public` field in a `.kay` file is refused too: declare it in a `.ts` module. The values served are those of the `.ts` modules of the app booting, not of another `pages()` app in the same process. A name ending in `_KEY` is refused too unless it says it is for the browser: `MAP_KEY`, `MAPBOX_KEY`, `PUBLISHABLE_KEY`, `PUBLIC_KEY`, `ANALYTICS_KEY`, `SITE_KEY`, `CAPTCHA_KEY`, `TURNSTILE_KEY` and `CLIENT_KEY` pass.
|
|
82
|
-
- Only the public variables leave the server, and nothing else of the environment reaches an island: a module reading `process.env` or `defineEnv`'s values fails the browser build.
|
|
83
|
-
- Reading `publicEnv` when nothing is public throws; a name that is not public is a type error.
|
package/llms/errors-runtime.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Errors raised while running
|
|
2
|
-
|
|
3
|
-
Which errors a server raises, when a function throws or returns a `Result`, and the classes an app catches. The code of every error, and where its fix is written, is in [Errors](errors.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Telling one error from another
|
|
8
|
-
|
|
9
|
-
Every error kay and its libraries throw extends `KayError`, so a `catch` reads its `code` rather than its message:
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
import { KayError } from 'kay/library'
|
|
13
|
-
|
|
14
|
-
try {
|
|
15
|
-
await save(order)
|
|
16
|
-
}
|
|
17
|
-
catch (error) {
|
|
18
|
-
if (error instanceof KayError && error.code === 'save-conflict')
|
|
19
|
-
return reload()
|
|
20
|
-
|
|
21
|
-
throw error
|
|
22
|
-
}
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Reference
|
|
26
|
-
|
|
27
|
-
### Throwing and returning
|
|
28
|
-
|
|
29
|
-
- The errors kay raises while serving a request that an app handles (a response failing its schema, an API answer kay cannot send, a refused redirect, a result that cannot reach the browser, a closed store, a request timeout, a CSP report) are `KayError`s of the `runtime` group and carry a code; the argument checks of those helpers raise `argument-invalid`, and the helpers that also run in an island (`route()`, `every()`, `shortcut()`, `presence()`, `local()`, `navigate()`, `persisted`, `sanitizeHtml`, `ctx` read in the browser, and the props kayjs-ui refuses) raise the same `KayError` there, a light class that carries no error table; the app's own code is a plain error with none. The code is `error.code`, `LogEntry.error.code` of its log line, the `kay.error.code` attribute of its span and `code` in the `observe.onError` event, which leaves it out for an error that is no `KayError`.
|
|
30
|
-
- Every error kay and its libraries throw for an app to catch extends `KayError` (from `kay/library`): `code` is the registered name, `kind` tells apart what one code covers (the code itself when it covers one cause), `status` is the HTTP status it stands for (`undefined` when none), `cause` the error underneath, and `name` the class's, so `instanceof` of each class still works.
|
|
31
|
-
- A message opens with `kay: ` when it names a setting (a `configError`, which every library throws for an option it refuses at boot, ending on the library, the option and where it is documented), with `kayjs-<library>: ` when a library refuses a call of the developer's, and with nothing when the app shows it to a visitor or an editor (a `SaveConflictError`, a `RedirectRefusedError`).
|
|
32
|
-
- A function throws for a wrong setup or a programming mistake (a `configError` at boot, a `KayError` subclass) and for an infrastructure failure the app cannot act on per call (a provider down, a store unreachable). It returns a Result for what a visitor or another caller did and the app branches on: a sign-in, a save, `list.confirm`, a call from an island, `webPush.enable()`.
|
|
33
|
-
- A Result discriminates on `ok`. A failure is `{ ok: false, error }`, `error` one `ErrorShape` (`status`, `message`, `errors` by field, `data`) in kay, in cms and in auth, where `error.code` is also the kind the app branches on (`'signed-out'`, `'limited'`...); a tracked call keeps those fields flat on the result too. `errors` by field comes only from a call that refused its input, next to `error`. One result is an exception: `ApiResult` of `site.api()` in tests mirrors a Response (`ok`, `status`, `headers`, `body`) and has no `error`. `showDraft` of `kay/edit` and `saveEntry`, `saveEntries` and `removeEntry` of `kay/content` resolve `{ ok: true }` or `{ ok: false, error, issues }`.
|
|
34
|
-
- `WaitResult`, `SaveOutcome` and `CallResult` keep the field they had before `ok` (`timedOut`, `saved` and `issues`, the flat failure) as plain API, none deprecated; `show()` of `installPrompt` and `subscribe()` of `webPush` answer the bare string they always did, beside `install()` and `enable()`. A result an app builds by hand, such as a test fake of one of these, needs `ok` and `error` now.
|
|
35
|
-
- Every error class kay exports ends in `Error`, as a library's does (`HydrationMismatchError` of `kay/dom`, `ActionRedirectError` from `kay`, `CspViolationError` from `kay/server`, `RedirectRefusedError` of `kay/library`, their `name` too).
|
|
36
|
-
|
|
37
|
-
### Errors raised while running
|
|
38
|
-
|
|
39
|
-
Each extends `KayError`, so its `code`, `kind`, `status` and `name` are set and `error instanceof KayError` holds.
|
|
40
|
-
|
|
41
|
-
| Class | `code` | Thrown for |
|
|
42
|
-
| --- | --- | --- |
|
|
43
|
-
| `PrivateAddressError` | `private-address` | A host that answers with an address that is not public, which a download of kay refuses. |
|
|
44
|
-
| `RedirectRefusedError` (`kay/library`) | `redirect-refused` | A runtime redirect an editor asked for that kay refuses, its message worded for the editor. |
|
|
45
|
-
| `GiveUpError` | `job-give-up` | A workflow run whose steps changed under it: the job is kept as failed at once, with no retry. |
|
|
46
|
-
| `RequestTimeoutError` | `request-timeout` | A request past its `timeout`, `status` 504. |
|
|
47
|
-
| `IslandPropsError` | `island-props-invalid` | An island given a prop that cannot reach the browser. |
|
|
48
|
-
| `StreamRefusedError` | `stream-refused` | A stream source that cannot serve after all. |
|
|
49
|
-
| `CspViolationError` | `csp-violation` | A violation a browser reported to kay's report route. |
|
|
50
|
-
| `ConfigRefusedError` | `config-refused` | A `kay.config.ts` that does not load under `kay dev`. |
|
|
51
|
-
| `DatabaseOwnedError` | `database-owned` | A boot on a database that belongs to another app. |
|
|
52
|
-
| `StoreTimeoutError` | `poll-timeout` | A database call a store gave up on after its time limit (`PollTimeoutError` before 1.105). |
|
|
53
|
-
| `MarkdownError` | `markdown-invalid` | Markdown an entry holds that kay cannot read, with the `line`. |
|
|
54
|
-
|
|
55
|
-
A request can also raise a `KayError` with no class of its own, told by its code: `response-schema-mismatch` (an API answer failing its `response` schema, 500), `api-answer-invalid`, `redirect-target-invalid`, `live-value-invalid`, `session-too-big`, `outside-request`, `hook-timeout`, `argument-invalid` (a helper given an argument it refuses: `webPush.send`, `rooms`, `signed`, a notification, a mail without a recipient), `helper-failed` (a helper that could not do its job for a state it found: a `workflow` step devalue cannot keep, a mail provider that refused or timed out, told by `kind`: `mail-provider-timeout`, `mail-provider-refused`, `mail-provider-unreachable`), `config-invalid` (a setup the helper refuses at its first call: a missing table, a `mail()` given both a module and a server), `socket-reply-invalid` (a websocket route or a room sent a message its `response` or `reply` schema refuses, or one JSON cannot carry) and `store-closed`.
|
|
56
|
-
|
|
57
|
-
The libraries list their own classes in an `Errors` table of their `llms/`: [kayjs-ai](../../ai/llms/testing-and-errors.md#errors), [kayjs-auth](../../auth/llms/hardening-and-testing.md#errors), [kayjs-cms](../../cms/llms/options.md#errors), [kayjs-mail](../../mail/llms/contact-form-and-testing.md#errors) and [kayjs-ui](../../ui/llms/setup.md#errors).
|