@kayjs/kay 0.0.0-stage → 1.104.1
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/LICENSE +21 -0
- package/LICENSES/Apache-2.0.txt +55 -0
- package/LICENSES/MPL-2.0.txt +373 -0
- package/LICENSES/emscripten.txt +102 -0
- package/LICENSES/libaom-PATENTS.txt +108 -0
- package/LICENSES/libaom.txt +27 -0
- package/LICENSES/libavif-1.4.2.txt +387 -0
- package/LICENSES/libavif.txt +353 -0
- package/LICENSES/libwebp-PATENTS.txt +23 -0
- package/LICENSES/libwebp.txt +30 -0
- package/LICENSES/musl-emscripten-6.0.12.txt +193 -0
- package/LICENSES/musl.txt +193 -0
- package/NOTICE +11 -0
- package/README.md +107 -2
- package/dist/eslint.js +17787 -0
- package/editors/tree-sitter-kay/queries/highlights.scm +63 -0
- package/editors/tree-sitter-kay/queries/indents.scm +17 -0
- package/editors/tree-sitter-kay/queries/injections.scm +21 -0
- package/editors/vscode/syntaxes/kay.tmLanguage.json +624 -0
- package/editors/zed/Cargo.toml +13 -0
- package/editors/zed/extension.toml +16 -0
- package/editors/zed/languages/kay/config.toml +13 -0
- package/editors/zed/languages/kay/highlights.scm +63 -0
- package/editors/zed/languages/kay/indents.scm +17 -0
- package/editors/zed/languages/kay/injections.scm +21 -0
- package/editors/zed/src/lib.rs +50 -0
- package/llms/a11y-audit.md +21 -0
- package/llms/a11y-lints.md +51 -0
- package/llms/action-protection.md +122 -0
- package/llms/actions-from-islands.md +166 -0
- package/llms/actions-refused-fields.md +27 -0
- package/llms/actions.md +254 -0
- package/llms/analytics.md +157 -0
- package/llms/api-from-islands.md +168 -0
- package/llms/api-routes.md +222 -0
- package/llms/browser-only.md +69 -0
- package/llms/build-and-start.md +77 -0
- package/llms/cdn-caching.md +24 -0
- package/llms/check-and-tools.md +149 -0
- package/llms/checks.md +133 -0
- package/llms/code-lints.md +37 -0
- package/llms/compiler-api.md +25 -0
- package/llms/component-libraries.md +123 -0
- package/llms/component-library-conventions.md +60 -0
- package/llms/components.md +252 -0
- package/llms/content-cms.md +101 -0
- package/llms/content-edit.md +49 -0
- package/llms/content-markdown-to-caching.md +96 -0
- package/llms/content-preview.md +79 -0
- package/llms/content.md +276 -0
- package/llms/deprecated-lints.md +21 -0
- package/llms/dev-server.md +74 -0
- package/llms/dev-tool.md +72 -0
- package/llms/eco-design.md +107 -0
- package/llms/editor-and-agent-commands.md +83 -0
- package/llms/effects.md +98 -0
- package/llms/environment.md +82 -0
- package/llms/errors-runtime.md +57 -0
- package/llms/errors.md +121 -0
- package/llms/events.md +42 -0
- package/llms/files.md +189 -0
- package/llms/guards.md +60 -0
- package/llms/head.md +211 -0
- package/llms/hooks.md +159 -0
- package/llms/images-runtime-and-remote.md +85 -0
- package/llms/images.md +206 -0
- package/llms/imported-files.md +41 -0
- package/llms/island-and-form-lints.md +27 -0
- package/llms/island-sources.md +71 -0
- package/llms/islands-state-to-ids.md +100 -0
- package/llms/islands.md +281 -0
- package/llms/lints.md +98 -0
- package/llms/live-values.md +123 -0
- package/llms/local-collections.md +98 -0
- package/llms/locales-texts.md +28 -0
- package/llms/locales.md +269 -0
- package/llms/mcp.md +56 -0
- package/llms/navigation-from-code.md +113 -0
- package/llms/navigation.md +132 -0
- package/llms/notifications.md +114 -0
- package/llms/performance-lints.md +17 -0
- package/llms/prerendering.md +160 -0
- package/llms/privacy.md +166 -0
- package/llms/production.md +210 -0
- package/llms/project-new-and-add.md +67 -0
- package/llms/project.md +165 -0
- package/llms/proxy-and-security.md +177 -0
- package/llms/queues.md +113 -0
- package/llms/rate-limits.md +108 -0
- package/llms/recipes.md +355 -0
- package/llms/rendering.md +291 -0
- package/llms/request-values.md +82 -0
- package/llms/rooms.md +130 -0
- package/llms/routing-endpoints-and-base.md +122 -0
- package/llms/routing-special-pages.md +59 -0
- package/llms/routing.md +280 -0
- package/llms/schemas.md +52 -0
- package/llms/security-and-i18n-lints.md +19 -0
- package/llms/seo-lints.md +44 -0
- package/llms/server-islands.md +79 -0
- package/llms/server.md +244 -0
- package/llms/site.md +402 -0
- package/llms/sitemap-search-fonts.md +275 -0
- package/llms/stores.md +45 -0
- package/llms/styles-and-assets.md +209 -0
- package/llms/templates-elements-slots-snippets.md +149 -0
- package/llms/templates.md +294 -0
- package/llms/testing-browser.md +95 -0
- package/llms/testing-requests-jobs-sockets.md +87 -0
- package/llms/testing-setup.md +54 -0
- package/llms/testing.md +279 -0
- package/llms/tracing.md +56 -0
- package/llms/upgrading-archive.md +164 -0
- package/llms/upgrading.md +169 -0
- package/llms/whats-new-archive.md +52 -0
- package/llms/whats-new.md +55 -0
- package/llms/workers.md +22 -0
- package/llms.txt +123 -0
- package/package.json +322 -4
- package/src/a11y/audit.ts +217 -0
- package/src/a11y/report.ts +198 -0
- package/src/a11y/rgaa-criteria.ts +182 -0
- package/src/a11y/standards.ts +90 -0
- package/src/a11y/targets.ts +78 -0
- package/src/add.ts +752 -0
- package/src/build/action-calls.ts +174 -0
- package/src/build/assets.ts +73 -0
- package/src/build/budget.ts +127 -0
- package/src/build/bun.ts +19 -0
- package/src/build/cache-ids.ts +66 -0
- package/src/build/cache.ts +110 -0
- package/src/build/captured-loads.ts +40 -0
- package/src/build/class-rules.ts +240 -0
- package/src/build/class-sources.ts +437 -0
- package/src/build/class-table.ts +331 -0
- package/src/build/client.ts +859 -0
- package/src/build/collection-components.ts +140 -0
- package/src/build/compile.ts +264 -0
- package/src/build/compressed.ts +96 -0
- package/src/build/direct-imports.ts +139 -0
- package/src/build/dynamic-classes.ts +394 -0
- package/src/build/favicons.ts +149 -0
- package/src/build/files.ts +464 -0
- package/src/build/fingerprint.ts +54 -0
- package/src/build/footprint-models.ts +90 -0
- package/src/build/footprint.ts +683 -0
- package/src/build/glob.ts +237 -0
- package/src/build/globbed.ts +3 -0
- package/src/build/header-files.ts +69 -0
- package/src/build/icons.ts +127 -0
- package/src/build/increments.ts +291 -0
- package/src/build/insert-ids.ts +48 -0
- package/src/build/kept-maps.ts +64 -0
- package/src/build/kept.ts +149 -0
- package/src/build/layer-order.ts +89 -0
- package/src/build/libraries.ts +604 -0
- package/src/build/licenses.ts +246 -0
- package/src/build/links.ts +119 -0
- package/src/build/live-ids.ts +72 -0
- package/src/build/manifests.ts +91 -0
- package/src/build/named-refresh.ts +75 -0
- package/src/build/navigation-locale.ts +18 -0
- package/src/build/page-dirs.ts +58 -0
- package/src/build/pipeline.ts +534 -0
- package/src/build/plugin.ts +359 -0
- package/src/build/probe.ts +158 -0
- package/src/build/prune.ts +160 -0
- package/src/build/recipe-classes.ts +193 -0
- package/src/build/references.ts +85 -0
- package/src/build/report.ts +457 -0
- package/src/build/route-sizes.ts +387 -0
- package/src/build/runtime-chunk.ts +425 -0
- package/src/build/runtime-config.ts +174 -0
- package/src/build/search.ts +350 -0
- package/src/build/server-only.ts +531 -0
- package/src/build/server-record.ts +200 -0
- package/src/build/signals.ts +129 -0
- package/src/build/source-files.ts +31 -0
- package/src/build/source-parses.ts +136 -0
- package/src/build/sourcemap.ts +335 -0
- package/src/build/static.ts +340 -0
- package/src/build/style-uses.ts +579 -0
- package/src/build/styles.ts +314 -0
- package/src/build/supports.ts +201 -0
- package/src/build/theme-vars.ts +72 -0
- package/src/build/transform.ts +293 -0
- package/src/build/ui-info.ts +343 -0
- package/src/build/ui.ts +462 -0
- package/src/build/variants.ts +521 -0
- package/src/build/verify.ts +391 -0
- package/src/build/warn-classes.ts +18 -0
- package/src/build/worker-bundle.ts +70 -0
- package/src/bun.ts +38 -0
- package/src/check/api-modules.ts +48 -0
- package/src/check/api-scope.ts +112 -0
- package/src/check/ast.ts +52 -0
- package/src/check/bindings.ts +72 -0
- package/src/check/boot.ts +214 -0
- package/src/check/browser-global-reads.ts +123 -0
- package/src/check/builtin-imports.ts +215 -0
- package/src/check/class-words.ts +260 -0
- package/src/check/config-keys.ts +63 -0
- package/src/check/diagnose.ts +259 -0
- package/src/check/dockerfile.ts +59 -0
- package/src/check/endpoint-exports.ts +41 -0
- package/src/check/env-types.ts +268 -0
- package/src/check/export-homes.ts +69 -0
- package/src/check/fixes.ts +38 -0
- package/src/check/generated.ts +141 -0
- package/src/check/guards.ts +109 -0
- package/src/check/index.ts +242 -0
- package/src/check/island-modules.ts +142 -0
- package/src/check/island-only.ts +104 -0
- package/src/check/large-images.ts +355 -0
- package/src/check/layout-facts.ts +43 -0
- package/src/check/loaded.ts +88 -0
- package/src/check/local-state.ts +132 -0
- package/src/check/loop-index-fix.ts +46 -0
- package/src/check/mcp-routes.ts +86 -0
- package/src/check/messages.ts +327 -0
- package/src/check/missing-imports.ts +99 -0
- package/src/check/open-settings.ts +33 -0
- package/src/check/output-schema.ts +154 -0
- package/src/check/page-heads.ts +241 -0
- package/src/check/page-structure.ts +27 -0
- package/src/check/persisted-storage.ts +87 -0
- package/src/check/project.ts +303 -0
- package/src/check/public-env-outside-src.ts +43 -0
- package/src/check/queries.ts +99 -0
- package/src/check/removed-ui-tokens.ts +343 -0
- package/src/check/renamed-call-options.ts +83 -0
- package/src/check/renamed-exports.ts +247 -0
- package/src/check/renamed-packages.ts +81 -0
- package/src/check/schema-type.ts +9 -0
- package/src/check/seo.ts +240 -0
- package/src/check/server-only-reads.ts +79 -0
- package/src/check/shadow-types.ts +613 -0
- package/src/check/shadow.ts +381 -0
- package/src/check/site-seo.ts +339 -0
- package/src/check/socket-routes.ts +75 -0
- package/src/check/status-pages.ts +30 -0
- package/src/check/template-hints.ts +477 -0
- package/src/check/tool-labels.ts +120 -0
- package/src/check/tool-outputs.ts +201 -0
- package/src/check/tsgo.ts +297 -0
- package/src/check/typing-stamp.ts +146 -0
- package/src/check/ui-tokens.ts +174 -0
- package/src/check/ui-types.ts +87 -0
- package/src/check/ui.ts +105 -0
- package/src/check/unmounted-jobs.ts +63 -0
- package/src/cli.ts +135 -0
- package/src/commands/a11y.ts +87 -0
- package/src/commands/add-peers.ts +20 -0
- package/src/commands/add.ts +51 -0
- package/src/commands/build.ts +234 -0
- package/src/commands/check.ts +417 -0
- package/src/commands/command.ts +535 -0
- package/src/commands/completion.ts +57 -0
- package/src/commands/dev.ts +131 -0
- package/src/commands/docs.ts +161 -0
- package/src/commands/doctor.ts +404 -0
- package/src/commands/editor.ts +56 -0
- package/src/commands/env-compare.ts +458 -0
- package/src/commands/env-declare.ts +256 -0
- package/src/commands/env.ts +192 -0
- package/src/commands/explain-island.ts +107 -0
- package/src/commands/explain.ts +94 -0
- package/src/commands/extensions.ts +87 -0
- package/src/commands/fix-path.ts +10 -0
- package/src/commands/fmt.ts +152 -0
- package/src/commands/generate.ts +60 -0
- package/src/commands/i18n.ts +153 -0
- package/src/commands/import-module.ts +19 -0
- package/src/commands/lint-cache.ts +61 -0
- package/src/commands/lint.ts +76 -0
- package/src/commands/lsp.ts +17 -0
- package/src/commands/mcp.ts +35 -0
- package/src/commands/migrate.ts +131 -0
- package/src/commands/new.ts +172 -0
- package/src/commands/not-found.ts +180 -0
- package/src/commands/project-checks.ts +52 -0
- package/src/commands/registry.ts +86 -0
- package/src/commands/render.ts +146 -0
- package/src/commands/routes.ts +295 -0
- package/src/commands/screenshot.ts +113 -0
- package/src/commands/start.ts +124 -0
- package/src/commands/test.ts +181 -0
- package/src/commands/types.ts +41 -0
- package/src/commands/upgrade.ts +838 -0
- package/src/compiler/a11y-markup.ts +352 -0
- package/src/compiler/a11y.ts +757 -0
- package/src/compiler/allow-comments.ts +68 -0
- package/src/compiler/aria.ts +298 -0
- package/src/compiler/ast.ts +960 -0
- package/src/compiler/browser.ts +468 -0
- package/src/compiler/class-name.ts +120 -0
- package/src/compiler/codegen.ts +1181 -0
- package/src/compiler/deprecated-lints.ts +97 -0
- package/src/compiler/deprecated-script-fence.ts +26 -0
- package/src/compiler/deprecated-ui-props.ts +67 -0
- package/src/compiler/diagnostics.ts +46 -0
- package/src/compiler/dom.ts +782 -0
- package/src/compiler/each-node.ts +20 -0
- package/src/compiler/else-problem.ts +28 -0
- package/src/compiler/errors.ts +605 -0
- package/src/compiler/estree-shapes.ts +44 -0
- package/src/compiler/estree.ts +126 -0
- package/src/compiler/event-modifiers.ts +96 -0
- package/src/compiler/expression.ts +102 -0
- package/src/compiler/fence-checks.ts +818 -0
- package/src/compiler/fence-nodes.ts +25 -0
- package/src/compiler/fence-redirects.ts +395 -0
- package/src/compiler/field-described.ts +45 -0
- package/src/compiler/fnv-hash.ts +9 -0
- package/src/compiler/format.ts +419 -0
- package/src/compiler/frame.ts +89 -0
- package/src/compiler/globals.ts +57 -0
- package/src/compiler/host.browser.ts +25 -0
- package/src/compiler/host.ts +33 -0
- package/src/compiler/html.ts +1024 -0
- package/src/compiler/i18n-lints.ts +29 -0
- package/src/compiler/if-alias.ts +124 -0
- package/src/compiler/import-edits.ts +47 -0
- package/src/compiler/index.ts +584 -0
- package/src/compiler/inspect.ts +32 -0
- package/src/compiler/island-arguments.ts +117 -0
- package/src/compiler/island-cause.ts +57 -0
- package/src/compiler/island-marker.ts +34 -0
- package/src/compiler/items.ts +245 -0
- package/src/compiler/jsx-class.ts +84 -0
- package/src/compiler/jsx-entities.ts +25 -0
- package/src/compiler/jsx.ts +985 -0
- package/src/compiler/kay-exports.ts +109 -0
- package/src/compiler/lints.ts +1080 -0
- package/src/compiler/load-facts.ts +51 -0
- package/src/compiler/load-plan.ts +227 -0
- package/src/compiler/loop-lints.ts +26 -0
- package/src/compiler/mapping.ts +403 -0
- package/src/compiler/markdown-block.ts +693 -0
- package/src/compiler/markup.ts +860 -0
- package/src/compiler/minor.ts +13 -0
- package/src/compiler/module-signals.ts +100 -0
- package/src/compiler/names.ts +39 -0
- package/src/compiler/native-typescript.ts +29 -0
- package/src/compiler/nesting.ts +111 -0
- package/src/compiler/object-literal.ts +136 -0
- package/src/compiler/own-markup.ts +75 -0
- package/src/compiler/page-settings.ts +12 -0
- package/src/compiler/parser.ts +1476 -0
- package/src/compiler/pattern-names.ts +31 -0
- package/src/compiler/plan.ts +288 -0
- package/src/compiler/public.ts +4 -0
- package/src/compiler/rewrite-reads.ts +459 -0
- package/src/compiler/rewrite-scan.ts +77 -0
- package/src/compiler/rewrite-tags.ts +95 -0
- package/src/compiler/rewrite-types.ts +78 -0
- package/src/compiler/rewrite.ts +865 -0
- package/src/compiler/route-lints.ts +49 -0
- package/src/compiler/scanner.ts +175 -0
- package/src/compiler/scope.ts +713 -0
- package/src/compiler/scoped-style.ts +480 -0
- package/src/compiler/script-fence.ts +257 -0
- package/src/compiler/script-props.ts +196 -0
- package/src/compiler/script-recipe.ts +152 -0
- package/src/compiler/script-server.ts +443 -0
- package/src/compiler/script-shared.ts +189 -0
- package/src/compiler/script-split.ts +227 -0
- package/src/compiler/script.ts +130 -0
- package/src/compiler/serial-awaits.ts +123 -0
- package/src/compiler/status-pages.ts +11 -0
- package/src/compiler/style-lints.ts +188 -0
- package/src/compiler/template-reads.ts +235 -0
- package/src/compiler/template-scopes.ts +125 -0
- package/src/compiler/twin.ts +6 -0
- package/src/compiler/unowned-effects.ts +136 -0
- package/src/compiler/validate-fixes.ts +74 -0
- package/src/compiler/validate.ts +839 -0
- package/src/compiler/walk.ts +70 -0
- package/src/config-extensions.ts +175 -0
- package/src/config-loader.ts +332 -0
- package/src/config-rules.ts +138 -0
- package/src/config-shape.ts +204 -0
- package/src/config.ts +627 -0
- package/src/content/claims.ts +67 -0
- package/src/content/drafts.ts +43 -0
- package/src/content/edit-entries.ts +927 -0
- package/src/content/edit-fields.ts +247 -0
- package/src/content/edit-registry.ts +47 -0
- package/src/content/edit-shared.ts +188 -0
- package/src/content/edit.ts +5 -0
- package/src/content/entry-head.ts +58 -0
- package/src/content/entry-route.ts +11 -0
- package/src/content/excerpt.ts +99 -0
- package/src/content/feed.ts +241 -0
- package/src/content/heading-id.ts +48 -0
- package/src/content/held-back.ts +15 -0
- package/src/content/humanize.ts +9 -0
- package/src/content/images.ts +203 -0
- package/src/content/index.ts +761 -0
- package/src/content/key.ts +9 -0
- package/src/content/load.ts +781 -0
- package/src/content/markdown-extensions.ts +284 -0
- package/src/content/markdown.ts +940 -0
- package/src/content/migrate.ts +195 -0
- package/src/content/modified.ts +75 -0
- package/src/content/paginate.ts +119 -0
- package/src/content/problems.ts +44 -0
- package/src/content/references.ts +72 -0
- package/src/content/rewrite.ts +97 -0
- package/src/content/server.ts +469 -0
- package/src/content/source-draft.ts +38 -0
- package/src/content/turns.ts +28 -0
- package/src/content/validate.ts +342 -0
- package/src/dev/address.ts +78 -0
- package/src/dev/base-proxy.ts +104 -0
- package/src/dev/builder.ts +104 -0
- package/src/dev/client.ts +158 -0
- package/src/dev/config-record.ts +65 -0
- package/src/dev/fingerprint.ts +327 -0
- package/src/dev/index.ts +480 -0
- package/src/dev/inspector.ts +248 -0
- package/src/dev/loopback.ts +25 -0
- package/src/dev/pages.ts +6 -0
- package/src/dev/preload.ts +425 -0
- package/src/dev/refuse.ts +29 -0
- package/src/dev/reload.ts +282 -0
- package/src/dev/render-server.ts +131 -0
- package/src/dev/render-socket.ts +53 -0
- package/src/dev/screenshot-diff.ts +76 -0
- package/src/dev/screenshot-limits.ts +17 -0
- package/src/dev/screenshot.ts +410 -0
- package/src/dev/session/client.ts +173 -0
- package/src/dev/session/keys.ts +51 -0
- package/src/dev/session/ports.ts +30 -0
- package/src/dev/session/queue.ts +133 -0
- package/src/dev/session/report.ts +172 -0
- package/src/dev/session/servers.ts +295 -0
- package/src/dev/session/types.ts +309 -0
- package/src/dev/sources.ts +265 -0
- package/src/dev/tailwind.ts +93 -0
- package/src/dev/types-process.ts +172 -0
- package/src/dev/types.ts +187 -0
- package/src/docs-props.ts +168 -0
- package/src/docs-search.ts +372 -0
- package/src/editors.ts +238 -0
- package/src/entities.ts +41 -0
- package/src/eslint/index.ts +455 -0
- package/src/features.ts +22 -0
- package/src/format/index.ts +75 -0
- package/src/format/tailwind.ts +190 -0
- package/src/generate-resource.ts +442 -0
- package/src/generate.ts +365 -0
- package/src/imports.ts +157 -0
- package/src/input-types.ts +2 -0
- package/src/keyword-attributes.ts +12 -0
- package/src/lsp/bridge.ts +80 -0
- package/src/lsp/code-actions.ts +71 -0
- package/src/lsp/completions.ts +270 -0
- package/src/lsp/component-props.ts +109 -0
- package/src/lsp/diagnostics.ts +217 -0
- package/src/lsp/document-links.ts +56 -0
- package/src/lsp/host.ts +112 -0
- package/src/lsp/island-lens.ts +41 -0
- package/src/lsp/mapping.ts +163 -0
- package/src/lsp/navigation.ts +207 -0
- package/src/lsp/outline.ts +233 -0
- package/src/lsp/positions.ts +13 -0
- package/src/lsp/project-checks.ts +119 -0
- package/src/lsp/protocol.ts +167 -0
- package/src/lsp/range-format.ts +62 -0
- package/src/lsp/rename.ts +115 -0
- package/src/lsp/renames.ts +126 -0
- package/src/lsp/route-links.ts +92 -0
- package/src/lsp/rpc.ts +185 -0
- package/src/lsp/semantic-tokens.ts +481 -0
- package/src/lsp/server.ts +557 -0
- package/src/lsp/template-completion.ts +361 -0
- package/src/lsp/ui-completion.ts +206 -0
- package/src/mcp/guards.ts +66 -0
- package/src/mcp/install.ts +7 -0
- package/src/mcp/protocol.ts +289 -0
- package/src/mcp/tools.ts +819 -0
- package/src/migrate/astro.ts +367 -0
- package/src/migrate/content.ts +242 -0
- package/src/migrate/html.ts +96 -0
- package/src/migrate/markup.ts +734 -0
- package/src/migrate/project.ts +365 -0
- package/src/native-plugins.ts +2 -0
- package/src/nearest.ts +23 -0
- package/src/new.ts +333 -0
- package/src/package-names.ts +25 -0
- package/src/peers.ts +82 -0
- package/src/project.ts +214 -0
- package/src/runtime/action-call.ts +504 -0
- package/src/runtime/action-encode.ts +57 -0
- package/src/runtime/action-error.ts +36 -0
- package/src/runtime/action-form.ts +332 -0
- package/src/runtime/action-marks.ts +10 -0
- package/src/runtime/action-navigate.ts +54 -0
- package/src/runtime/action-owner.ts +93 -0
- package/src/runtime/action-post.ts +146 -0
- package/src/runtime/action-protection.ts +49 -0
- package/src/runtime/action-revive.ts +21 -0
- package/src/runtime/action-reviver.ts +1 -0
- package/src/runtime/action-shared.ts +437 -0
- package/src/runtime/action-stream.ts +177 -0
- package/src/runtime/action.ts +102 -0
- package/src/runtime/analytics.client.ts +2 -0
- package/src/runtime/announce.ts +34 -0
- package/src/runtime/api-error-class.ts +15 -0
- package/src/runtime/api-error.ts +74 -0
- package/src/runtime/api-url.ts +82 -0
- package/src/runtime/arrival.ts +23 -0
- package/src/runtime/await.server.ts +203 -0
- package/src/runtime/await.ts +13 -0
- package/src/runtime/base.ts +144 -0
- package/src/runtime/build.ts +21 -0
- package/src/runtime/byte-count.ts +14 -0
- package/src/runtime/byte-size.ts +17 -0
- package/src/runtime/cache-live-id.ts +2 -0
- package/src/runtime/cache.server.ts +183 -0
- package/src/runtime/cache.ts +940 -0
- package/src/runtime/call-body.ts +29 -0
- package/src/runtime/call-result.ts +137 -0
- package/src/runtime/checks.ts +390 -0
- package/src/runtime/claimed.ts +20 -0
- package/src/runtime/class-table.ts +60 -0
- package/src/runtime/client.ts +439 -0
- package/src/runtime/connection.ts +174 -0
- package/src/runtime/consent.ts +87 -0
- package/src/runtime/core.ts +505 -0
- package/src/runtime/counters.ts +33 -0
- package/src/runtime/described.ts +76 -0
- package/src/runtime/dev-a11y.ts +142 -0
- package/src/runtime/dev-boot.ts +57 -0
- package/src/runtime/dev-inspector.ts +341 -0
- package/src/runtime/dev-patch.ts +167 -0
- package/src/runtime/dev-refresh.ts +14 -0
- package/src/runtime/dev-styles.ts +158 -0
- package/src/runtime/dev-tab-data.ts +197 -0
- package/src/runtime/dev-tab-env.ts +135 -0
- package/src/runtime/dev-tab-head.ts +282 -0
- package/src/runtime/dev-tab-i18n.ts +72 -0
- package/src/runtime/dev-tab-images.ts +319 -0
- package/src/runtime/dev-tab-jobs.ts +188 -0
- package/src/runtime/dev-tab-network.ts +230 -0
- package/src/runtime/dev-tab-not-found.ts +101 -0
- package/src/runtime/dev-tab-performance.ts +411 -0
- package/src/runtime/dev-tab-reading.ts +600 -0
- package/src/runtime/dev-tab-routes.ts +111 -0
- package/src/runtime/dev-tab-styles.ts +175 -0
- package/src/runtime/dev-tool-constants.ts +22 -0
- package/src/runtime/dev-tool-icons.ts +86 -0
- package/src/runtime/dev-tool-keys.ts +53 -0
- package/src/runtime/dev-tool-kit.ts +77 -0
- package/src/runtime/dev-tool-layout.ts +200 -0
- package/src/runtime/dev-tool-markdown.ts +144 -0
- package/src/runtime/dev-tool-outline.ts +44 -0
- package/src/runtime/dev-tool-parts.ts +332 -0
- package/src/runtime/dev-tool-problems.ts +310 -0
- package/src/runtime/dev-tool-request.ts +226 -0
- package/src/runtime/dev-tool-shell.ts +81 -0
- package/src/runtime/dev-tool-style.ts +242 -0
- package/src/runtime/dev-tool-swaps.ts +21 -0
- package/src/runtime/dev-tool-tab-order.ts +475 -0
- package/src/runtime/dev-tool-tabs.ts +205 -0
- package/src/runtime/dev-tool-vitals.ts +109 -0
- package/src/runtime/dev-tool-window.ts +213 -0
- package/src/runtime/dev-tool.public.ts +5 -0
- package/src/runtime/dev-tool.ts +332 -0
- package/src/runtime/dom-await.ts +102 -0
- package/src/runtime/dom-image.ts +15 -0
- package/src/runtime/dom-loop.ts +335 -0
- package/src/runtime/dom-spread.ts +106 -0
- package/src/runtime/dom-try.ts +58 -0
- package/src/runtime/dom.ts +1028 -0
- package/src/runtime/draft-issues.ts +23 -0
- package/src/runtime/duration-words.ts +21 -0
- package/src/runtime/duration.ts +60 -0
- package/src/runtime/edit.ts +108 -0
- package/src/runtime/element-size.ts +67 -0
- package/src/runtime/email.ts +65 -0
- package/src/runtime/ended-entry.ts +10 -0
- package/src/runtime/env.ts +41 -0
- package/src/runtime/escape.ts +47 -0
- package/src/runtime/fetch-island.ts +211 -0
- package/src/runtime/fields.ts +553 -0
- package/src/runtime/fills.ts +52 -0
- package/src/runtime/focus.ts +54 -0
- package/src/runtime/follow-log.ts +154 -0
- package/src/runtime/form-controls.ts +4 -0
- package/src/runtime/form-hold.ts +87 -0
- package/src/runtime/form-protect.ts +103 -0
- package/src/runtime/form-submits.ts +212 -0
- package/src/runtime/form.ts +178 -0
- package/src/runtime/forms.ts +335 -0
- package/src/runtime/french.ts +39 -0
- package/src/runtime/head.ts +502 -0
- package/src/runtime/html.ts +659 -0
- package/src/runtime/hydrate-when.ts +103 -0
- package/src/runtime/i18n-links.ts +44 -0
- package/src/runtime/i18n.client.ts +220 -0
- package/src/runtime/i18n.server.ts +138 -0
- package/src/runtime/i18n.ts +601 -0
- package/src/runtime/icons.ts +99 -0
- package/src/runtime/image.public.ts +3 -0
- package/src/runtime/image.ts +599 -0
- package/src/runtime/in-view.ts +91 -0
- package/src/runtime/index.ts +84 -0
- package/src/runtime/install-prompt.ts +97 -0
- package/src/runtime/internal.ts +195 -0
- package/src/runtime/invalid.ts +49 -0
- package/src/runtime/island-request.ts +48 -0
- package/src/runtime/island.client.ts +9 -0
- package/src/runtime/island.server.ts +390 -0
- package/src/runtime/jsx-runtime.ts +2 -0
- package/src/runtime/jsx.ts +257 -0
- package/src/runtime/keepalive.ts +21 -0
- package/src/runtime/lasting.ts +40 -0
- package/src/runtime/leave.ts +71 -0
- package/src/runtime/listen-with.ts +8 -0
- package/src/runtime/listener-set.ts +22 -0
- package/src/runtime/live-cache.ts +462 -0
- package/src/runtime/live-props.ts +48 -0
- package/src/runtime/live-resource.server.ts +92 -0
- package/src/runtime/live-value.client.ts +383 -0
- package/src/runtime/live-value.server.ts +696 -0
- package/src/runtime/live-value.shared.ts +104 -0
- package/src/runtime/live-value.ts +43 -0
- package/src/runtime/live.ts +1115 -0
- package/src/runtime/load-scope.ts +78 -0
- package/src/runtime/local-status.ts +8 -0
- package/src/runtime/local.ts +938 -0
- package/src/runtime/locale-state.ts +55 -0
- package/src/runtime/localized.ts +18 -0
- package/src/runtime/log.ts +52 -0
- package/src/runtime/markdown-render.client.ts +163 -0
- package/src/runtime/markdown-task.ts +16 -0
- package/src/runtime/markdown.client.ts +94 -0
- package/src/runtime/markdown.server.ts +25 -0
- package/src/runtime/markdown.ts +24 -0
- package/src/runtime/markers.ts +25 -0
- package/src/runtime/media-query.ts +30 -0
- package/src/runtime/mount.ts +71 -0
- package/src/runtime/move.ts +18 -0
- package/src/runtime/navigate-api.ts +117 -0
- package/src/runtime/navigate.ts +351 -0
- package/src/runtime/navigation-entry.ts +2 -0
- package/src/runtime/navigation-state.ts +124 -0
- package/src/runtime/navigation.ts +236 -0
- package/src/runtime/online.ts +27 -0
- package/src/runtime/optimistic.ts +107 -0
- package/src/runtime/outside.ts +68 -0
- package/src/runtime/page-data.ts +60 -0
- package/src/runtime/page-errors.ts +31 -0
- package/src/runtime/page-swap.ts +522 -0
- package/src/runtime/page-title.ts +69 -0
- package/src/runtime/params.ts +24 -0
- package/src/runtime/pending.ts +44 -0
- package/src/runtime/persist.ts +290 -0
- package/src/runtime/persisted.ts +146 -0
- package/src/runtime/placeholder.ts +41 -0
- package/src/runtime/poll-backoff.ts +85 -0
- package/src/runtime/prefetch.ts +149 -0
- package/src/runtime/presence.ts +93 -0
- package/src/runtime/preview.ts +65 -0
- package/src/runtime/push.ts +294 -0
- package/src/runtime/query-param.ts +292 -0
- package/src/runtime/queue-jobs.ts +50 -0
- package/src/runtime/random-id.ts +5 -0
- package/src/runtime/reactive-collections.ts +214 -0
- package/src/runtime/reactive.ts +840 -0
- package/src/runtime/recipe.ts +79 -0
- package/src/runtime/refetch-island.ts +25 -0
- package/src/runtime/refuse.ts +56 -0
- package/src/runtime/rendered.ts +17 -0
- package/src/runtime/report-error.ts +25 -0
- package/src/runtime/retry-later.ts +72 -0
- package/src/runtime/reveal.ts +47 -0
- package/src/runtime/root.ts +6 -0
- package/src/runtime/route.ts +83 -0
- package/src/runtime/safe-code.ts +25 -0
- package/src/runtime/safe-html.ts +51 -0
- package/src/runtime/sanitize.ts +375 -0
- package/src/runtime/save-data.ts +4 -0
- package/src/runtime/schema-bounds.ts +50 -0
- package/src/runtime/schema.client.ts +26 -0
- package/src/runtime/schema.ts +71 -0
- package/src/runtime/search-arrival.ts +107 -0
- package/src/runtime/search-results.ts +47 -0
- package/src/runtime/search.ts +325 -0
- package/src/runtime/send.ts +114 -0
- package/src/runtime/seo.ts +70 -0
- package/src/runtime/server-islands.ts +5 -0
- package/src/runtime/shortcut.ts +179 -0
- package/src/runtime/site.ts +37 -0
- package/src/runtime/size-text.ts +25 -0
- package/src/runtime/snapshots.ts +116 -0
- package/src/runtime/sqlite.server.ts +52 -0
- package/src/runtime/sse.ts +88 -0
- package/src/runtime/stale.ts +181 -0
- package/src/runtime/static-slots.ts +78 -0
- package/src/runtime/store-base.ts +11 -0
- package/src/runtime/store.ts +309 -0
- package/src/runtime/swap-fetch.ts +214 -0
- package/src/runtime/swap-flight.ts +84 -0
- package/src/runtime/swap-focus.ts +188 -0
- package/src/runtime/swap-head.ts +288 -0
- package/src/runtime/swap-held.ts +41 -0
- package/src/runtime/swap-kept.ts +289 -0
- package/src/runtime/swap-loading.ts +44 -0
- package/src/runtime/swap-morph.ts +198 -0
- package/src/runtime/swap-refusal.ts +40 -0
- package/src/runtime/swap-streamed.ts +161 -0
- package/src/runtime/swap-transition.ts +117 -0
- package/src/runtime/swap.ts +33 -0
- package/src/runtime/template-context.ts +79 -0
- package/src/runtime/transition.ts +227 -0
- package/src/runtime/ui.ts +32 -0
- package/src/runtime/uid.server.ts +69 -0
- package/src/runtime/uid.ts +56 -0
- package/src/runtime/upload.ts +49 -0
- package/src/runtime/url-attributes.ts +2 -0
- package/src/runtime/url-report.ts +24 -0
- package/src/runtime/url.ts +37 -0
- package/src/runtime/validate.ts +310 -0
- package/src/runtime/values.ts +293 -0
- package/src/runtime/visibility.ts +35 -0
- package/src/runtime/warn-once.ts +22 -0
- package/src/runtime/wire.ts +204 -0
- package/src/runtime/with-query.ts +64 -0
- package/src/runtime/words.client.ts +138 -0
- package/src/runtime/words.server.ts +53 -0
- package/src/runtime/work-worker.ts +4 -0
- package/src/runtime/work.client.ts +112 -0
- package/src/runtime/work.ts +85 -0
- package/src/server/accept-language.ts +37 -0
- package/src/server/action-clash.ts +7 -0
- package/src/server/action-hooks.ts +69 -0
- package/src/server/action-input.ts +58 -0
- package/src/server/action-iterable.ts +75 -0
- package/src/server/actions.ts +874 -0
- package/src/server/address.ts +172 -0
- package/src/server/analytics-script.ts +302 -0
- package/src/server/analytics-server.ts +563 -0
- package/src/server/analytics-words.ts +13 -0
- package/src/server/analytics.ts +423 -0
- package/src/server/api-modules.ts +235 -0
- package/src/server/api-params.ts +83 -0
- package/src/server/api.ts +922 -0
- package/src/server/app-database.ts +32 -0
- package/src/server/app-hooks.ts +147 -0
- package/src/server/app-identity.ts +70 -0
- package/src/server/app-stages.ts +798 -0
- package/src/server/app-store.ts +79 -0
- package/src/server/app.ts +218 -0
- package/src/server/auth-mails.ts +162 -0
- package/src/server/auto-listen.ts +177 -0
- package/src/server/avif-worker.ts +138 -0
- package/src/server/avif.ts +124 -0
- package/src/server/base.ts +136 -0
- package/src/server/basic-auth.ts +109 -0
- package/src/server/body.ts +179 -0
- package/src/server/build-files.ts +117 -0
- package/src/server/builtins.ts +8 -0
- package/src/server/bundle.ts +81 -0
- package/src/server/card-draw.ts +220 -0
- package/src/server/card-template.ts +256 -0
- package/src/server/card.ts +666 -0
- package/src/server/ceiling.ts +10 -0
- package/src/server/clean-context.ts +6 -0
- package/src/server/client.ts +607 -0
- package/src/server/codec/avif-enc-build.ts +2 -0
- package/src/server/codec/avif-enc.d.ts +15 -0
- package/src/server/codec/avif-enc.js +2 -0
- package/src/server/codec/avif-enc.wasm +0 -0
- package/src/server/compress-policy.ts +40 -0
- package/src/server/compress.ts +1010 -0
- package/src/server/config-error.ts +54 -0
- package/src/server/config-limits.ts +166 -0
- package/src/server/consent-cookie.ts +10 -0
- package/src/server/context-layout/_layout.kay +7 -0
- package/src/server/context-reads.ts +33 -0
- package/src/server/context-record.ts +58 -0
- package/src/server/context-values.ts +181 -0
- package/src/server/cookie-names.ts +10 -0
- package/src/server/cookies.ts +159 -0
- package/src/server/cors.ts +235 -0
- package/src/server/crop.ts +153 -0
- package/src/server/cross-site.ts +155 -0
- package/src/server/csp.ts +40 -0
- package/src/server/dev-data.ts +558 -0
- package/src/server/dev-errors.ts +270 -0
- package/src/server/dev-footprint.ts +19 -0
- package/src/server/dev-head.ts +95 -0
- package/src/server/dev-jobs.ts +59 -0
- package/src/server/dev-not-found.ts +96 -0
- package/src/server/dev-notes.ts +12 -0
- package/src/server/dev-offered.ts +13 -0
- package/src/server/dev-secret.ts +65 -0
- package/src/server/dev-sizes.ts +114 -0
- package/src/server/dev-sqlite-worker.ts +96 -0
- package/src/server/dev-ui.ts +299 -0
- package/src/server/dev.ts +875 -0
- package/src/server/dictionary.ts +190 -0
- package/src/server/drain.ts +40 -0
- package/src/server/editor.ts +79 -0
- package/src/server/endpoint-claims.ts +29 -0
- package/src/server/endpoint-verbs.ts +43 -0
- package/src/server/endpoints.ts +417 -0
- package/src/server/entry-drafts.ts +151 -0
- package/src/server/entry-head.ts +50 -0
- package/src/server/entry-urls.ts +150 -0
- package/src/server/env-state.ts +146 -0
- package/src/server/env.ts +375 -0
- package/src/server/error-maps.ts +137 -0
- package/src/server/errors.ts +109 -0
- package/src/server/event-stream.ts +213 -0
- package/src/server/face.ts +788 -0
- package/src/server/favicon.png +0 -0
- package/src/server/favicon.svg +1 -0
- package/src/server/favicon.ts +342 -0
- package/src/server/fetch-public.ts +118 -0
- package/src/server/field-errors.ts +136 -0
- package/src/server/file-limit.ts +62 -0
- package/src/server/file-type.ts +46 -0
- package/src/server/flash.ts +140 -0
- package/src/server/font-metrics.ts +294 -0
- package/src/server/fonts.ts +344 -0
- package/src/server/forms.ts +89 -0
- package/src/server/guard-requirement.ts +16 -0
- package/src/server/guard-runs.ts +30 -0
- package/src/server/guards.ts +66 -0
- package/src/server/handler-timing.ts +12 -0
- package/src/server/history.ts +3 -0
- package/src/server/hooks.ts +170 -0
- package/src/server/host-allowlist.ts +63 -0
- package/src/server/hydration.ts +7 -0
- package/src/server/i18n.ts +534 -0
- package/src/server/image-color.ts +79 -0
- package/src/server/image-format.ts +181 -0
- package/src/server/image-limits.ts +88 -0
- package/src/server/image-metadata-bmff.ts +243 -0
- package/src/server/image-metadata.ts +316 -0
- package/src/server/image.ts +833 -0
- package/src/server/index.ts +149 -0
- package/src/server/internal.ts +8 -0
- package/src/server/job-admin.ts +197 -0
- package/src/server/job-status.ts +8 -0
- package/src/server/job-steps.ts +2 -0
- package/src/server/jobs-page.ts +137 -0
- package/src/server/jobs.ts +403 -0
- package/src/server/kept-exports.ts +174 -0
- package/src/server/kept-pages.ts +117 -0
- package/src/server/kept-source.ts +609 -0
- package/src/server/kv.ts +201 -0
- package/src/server/lazy-guard.ts +71 -0
- package/src/server/library.ts +142 -0
- package/src/server/lifecycle.ts +378 -0
- package/src/server/limit.ts +33 -0
- package/src/server/link-schemes.ts +23 -0
- package/src/server/links.ts +238 -0
- package/src/server/literal-writes.ts +756 -0
- package/src/server/live.ts +628 -0
- package/src/server/load-budget.ts +69 -0
- package/src/server/loader.ts +180 -0
- package/src/server/loading-page.ts +41 -0
- package/src/server/local-files.ts +26 -0
- package/src/server/log.ts +282 -0
- package/src/server/maintenance.ts +141 -0
- package/src/server/mcp-key.ts +165 -0
- package/src/server/mcp.ts +731 -0
- package/src/server/memory-jobs.ts +168 -0
- package/src/server/memory-mark.ts +12 -0
- package/src/server/message-drafts.ts +284 -0
- package/src/server/metrics.ts +199 -0
- package/src/server/missing-hits.ts +41 -0
- package/src/server/module-state.ts +327 -0
- package/src/server/new-tab.ts +28 -0
- package/src/server/not-found-config.ts +160 -0
- package/src/server/not-found.ts +828 -0
- package/src/server/notifications.ts +358 -0
- package/src/server/offline.ts +558 -0
- package/src/server/openapi.ts +522 -0
- package/src/server/option-keys.ts +15 -0
- package/src/server/overlay.ts +196 -0
- package/src/server/own-headers.ts +221 -0
- package/src/server/page-error.ts +57 -0
- package/src/server/page-flags.ts +15 -0
- package/src/server/page-headers.ts +93 -0
- package/src/server/page-hook.ts +201 -0
- package/src/server/page-limits.ts +142 -0
- package/src/server/page-reads.ts +63 -0
- package/src/server/page-routes.ts +377 -0
- package/src/server/page-settings.ts +66 -0
- package/src/server/params.ts +197 -0
- package/src/server/parent.ts +8 -0
- package/src/server/personal-data.ts +47 -0
- package/src/server/pg-cache.ts +181 -0
- package/src/server/pg-data.ts +254 -0
- package/src/server/pg-jobs.ts +511 -0
- package/src/server/pg-limit.ts +51 -0
- package/src/server/pg-live.ts +287 -0
- package/src/server/pg-not-found.ts +440 -0
- package/src/server/pg-notify.ts +216 -0
- package/src/server/pg-orm.ts +26 -0
- package/src/server/pg-poll.ts +341 -0
- package/src/server/pg-redirects.ts +210 -0
- package/src/server/pg-rooms.ts +550 -0
- package/src/server/pg-sql.ts +16 -0
- package/src/server/pg-stores.ts +356 -0
- package/src/server/plugin.ts +30 -0
- package/src/server/plumbing.ts +90 -0
- package/src/server/png.ts +108 -0
- package/src/server/prebuilt-loader.ts +110 -0
- package/src/server/prerender.ts +750 -0
- package/src/server/prerendered.ts +162 -0
- package/src/server/presence.ts +251 -0
- package/src/server/preview.ts +703 -0
- package/src/server/private-dir.ts +87 -0
- package/src/server/protection.ts +1121 -0
- package/src/server/proxy-key.ts +101 -0
- package/src/server/public-suffix.ts +59 -0
- package/src/server/public-suffixes.ts +502 -0
- package/src/server/public.ts +299 -0
- package/src/server/publishing.ts +176 -0
- package/src/server/pure-page.ts +398 -0
- package/src/server/push-crypto.ts +154 -0
- package/src/server/push-keys-command.ts +25 -0
- package/src/server/push-server.ts +124 -0
- package/src/server/push-settings.ts +67 -0
- package/src/server/push-store.ts +182 -0
- package/src/server/push.ts +464 -0
- package/src/server/query.ts +265 -0
- package/src/server/queue-live.ts +291 -0
- package/src/server/queue-scheduler.ts +421 -0
- package/src/server/queue-telling.ts +53 -0
- package/src/server/queue.ts +955 -0
- package/src/server/raster.ts +176 -0
- package/src/server/rate-limit.ts +65 -0
- package/src/server/rate-refusal.ts +36 -0
- package/src/server/reach-walk.ts +65 -0
- package/src/server/reach.ts +124 -0
- package/src/server/redirect-spelling.ts +57 -0
- package/src/server/redirects.ts +182 -0
- package/src/server/reload.ts +88 -0
- package/src/server/remote.ts +358 -0
- package/src/server/render-document.ts +521 -0
- package/src/server/render.ts +1022 -0
- package/src/server/report.ts +103 -0
- package/src/server/request-read.ts +38 -0
- package/src/server/request-record.ts +105 -0
- package/src/server/request-scope.ts +58 -0
- package/src/server/request-timeout.ts +209 -0
- package/src/server/request-url.ts +47 -0
- package/src/server/request-user.ts +25 -0
- package/src/server/resources.ts +132 -0
- package/src/server/response-mismatch.ts +21 -0
- package/src/server/revalidate.ts +100 -0
- package/src/server/rewrite.ts +143 -0
- package/src/server/rooms.ts +646 -0
- package/src/server/route-table.ts +155 -0
- package/src/server/routes.ts +901 -0
- package/src/server/runtime-redirect-api.ts +227 -0
- package/src/server/runtime-redirects.ts +438 -0
- package/src/server/safe-path.ts +26 -0
- package/src/server/save-data.ts +150 -0
- package/src/server/schema-answer.ts +42 -0
- package/src/server/schema-check.ts +102 -0
- package/src/server/scope.ts +128 -0
- package/src/server/seal.ts +73 -0
- package/src/server/security.ts +289 -0
- package/src/server/seo.ts +234 -0
- package/src/server/served-paths.ts +135 -0
- package/src/server/server-islands.ts +175 -0
- package/src/server/server-record.ts +80 -0
- package/src/server/serving.ts +35 -0
- package/src/server/session.ts +782 -0
- package/src/server/setup.ts +252 -0
- package/src/server/sha256.ts +15 -0
- package/src/server/signals.ts +87 -0
- package/src/server/signed.ts +62 -0
- package/src/server/site-facts.ts +19 -0
- package/src/server/site-paths.ts +3 -0
- package/src/server/sitemap.ts +413 -0
- package/src/server/snake-case.ts +6 -0
- package/src/server/source.ts +169 -0
- package/src/server/speculation.ts +57 -0
- package/src/server/sqlite-data.ts +19 -0
- package/src/server/sqlite-live.ts +200 -0
- package/src/server/stale-pages.ts +105 -0
- package/src/server/stamp.ts +222 -0
- package/src/server/storage.ts +614 -0
- package/src/server/stream.ts +307 -0
- package/src/server/string.ts +79 -0
- package/src/server/svg-icon.ts +76 -0
- package/src/server/swap.ts +4 -0
- package/src/server/tool-outputs.ts +71 -0
- package/src/server/tool-settings.ts +12 -0
- package/src/server/trace-context.ts +89 -0
- package/src/server/trace.ts +198 -0
- package/src/server/translations.ts +30 -0
- package/src/server/typography.ts +248 -0
- package/src/server/uncaught.ts +60 -0
- package/src/server/unsafe-urls.ts +29 -0
- package/src/server/violations.ts +159 -0
- package/src/server/visit.ts +54 -0
- package/src/server/vitals-routes/_guard.ts +12 -0
- package/src/server/vitals-routes/index.kay +45 -0
- package/src/server/vitals-routes/vitals.css +30 -0
- package/src/server/vitals-screen.ts +24 -0
- package/src/server/vitals-script.ts +102 -0
- package/src/server/vitals-server.ts +134 -0
- package/src/server/vitals-store.ts +233 -0
- package/src/server/vitals.ts +80 -0
- package/src/server/wasm.d.ts +6 -0
- package/src/server/web-socket.ts +13 -0
- package/src/server/wildcards.ts +87 -0
- package/src/server/words.ts +145 -0
- package/src/server/work-scope.ts +65 -0
- package/src/server/work.ts +90 -0
- package/src/server/workers.ts +293 -0
- package/src/server/workflow.ts +520 -0
- package/src/server/writes.ts +161 -0
- package/src/server/ws-limits.ts +201 -0
- package/src/svg-attributes.ts +240 -0
- package/src/template-auth.ts +79 -0
- package/src/template-ci.ts +156 -0
- package/src/template-config.ts +36 -0
- package/src/template-docker.ts +260 -0
- package/src/template-pins.ts +14 -0
- package/src/template-shared.ts +53 -0
- package/src/template-starter.ts +110 -0
- package/src/template-styles.ts +154 -0
- package/src/template-ws.ts +57 -0
- package/src/templates.ts +76 -0
- package/src/test/browser.ts +1281 -0
- package/src/test/clock.ts +121 -0
- package/src/test/content.ts +345 -0
- package/src/test/cookies.ts +94 -0
- package/src/test/database.ts +57 -0
- package/src/test/dom.ts +90 -0
- package/src/test/env.ts +58 -0
- package/src/test/index.ts +568 -0
- package/src/test/interact.ts +134 -0
- package/src/test/isolation.ts +19 -0
- package/src/test/lazy-plugins.ts +269 -0
- package/src/test/mount.ts +246 -0
- package/src/test/natives.ts +44 -0
- package/src/test/network.ts +678 -0
- package/src/test/outputs.ts +54 -0
- package/src/test/override-env.ts +40 -0
- package/src/test/page-types.ts +150 -0
- package/src/test/page.ts +338 -0
- package/src/test/preload.ts +27 -0
- package/src/test/reset.ts +13 -0
- package/src/test/root.ts +13 -0
- package/src/test/scratch.ts +12 -0
- package/src/test/service.ts +174 -0
- package/src/test/shared-modules.ts +328 -0
- package/src/test/site-actions.ts +142 -0
- package/src/test/site-api.ts +19 -0
- package/src/test/site-mcp.ts +36 -0
- package/src/test/site-scope.ts +35 -0
- package/src/test/site-socket.ts +125 -0
- package/src/test/site-types.ts +155 -0
- package/src/test/sites.ts +29 -0
- package/src/test/timeout.ts +45 -0
- package/src/test/wait.ts +34 -0
- package/src/test/writable.ts +20 -0
- package/src/tsconfig.app.json +21 -0
- package/src/tsgo.ts +18 -0
- package/types/a11y/audit.d.ts +32 -0
- package/types/a11y/audit.d.ts.map +1 -0
- package/types/a11y/report.d.ts +20 -0
- package/types/a11y/report.d.ts.map +1 -0
- package/types/a11y/rgaa-criteria.d.ts +5 -0
- package/types/a11y/rgaa-criteria.d.ts.map +1 -0
- package/types/a11y/standards.d.ts +17 -0
- package/types/a11y/standards.d.ts.map +1 -0
- package/types/a11y/targets.d.ts +20 -0
- package/types/a11y/targets.d.ts.map +1 -0
- package/types/add.d.ts +56 -0
- package/types/add.d.ts.map +1 -0
- package/types/build/action-calls.d.ts +2 -0
- package/types/build/action-calls.d.ts.map +1 -0
- package/types/build/assets.d.ts +17 -0
- package/types/build/assets.d.ts.map +1 -0
- package/types/build/budget.d.ts +17 -0
- package/types/build/budget.d.ts.map +1 -0
- package/types/build/bun.d.ts +9 -0
- package/types/build/bun.d.ts.map +1 -0
- package/types/build/cache-ids.d.ts +2 -0
- package/types/build/cache-ids.d.ts.map +1 -0
- package/types/build/cache.d.ts +15 -0
- package/types/build/cache.d.ts.map +1 -0
- package/types/build/captured-loads.d.ts +19 -0
- package/types/build/captured-loads.d.ts.map +1 -0
- package/types/build/class-rules.d.ts +14 -0
- package/types/build/class-rules.d.ts.map +1 -0
- package/types/build/class-sources.d.ts +29 -0
- package/types/build/class-sources.d.ts.map +1 -0
- package/types/build/class-table.d.ts +8 -0
- package/types/build/class-table.d.ts.map +1 -0
- package/types/build/client.d.ts +82 -0
- package/types/build/client.d.ts.map +1 -0
- package/types/build/collection-components.d.ts +5 -0
- package/types/build/collection-components.d.ts.map +1 -0
- package/types/build/compile.d.ts +22 -0
- package/types/build/compile.d.ts.map +1 -0
- package/types/build/compressed.d.ts +7 -0
- package/types/build/compressed.d.ts.map +1 -0
- package/types/build/direct-imports.d.ts +2 -0
- package/types/build/direct-imports.d.ts.map +1 -0
- package/types/build/dynamic-classes.d.ts +12 -0
- package/types/build/dynamic-classes.d.ts.map +1 -0
- package/types/build/favicons.d.ts +4 -0
- package/types/build/favicons.d.ts.map +1 -0
- package/types/build/files.d.ts +56 -0
- package/types/build/files.d.ts.map +1 -0
- package/types/build/fingerprint.d.ts +3 -0
- package/types/build/fingerprint.d.ts.map +1 -0
- package/types/build/footprint-models.d.ts +24 -0
- package/types/build/footprint-models.d.ts.map +1 -0
- package/types/build/footprint.d.ts +44 -0
- package/types/build/footprint.d.ts.map +1 -0
- package/types/build/glob.d.ts +10 -0
- package/types/build/glob.d.ts.map +1 -0
- package/types/build/globbed.d.ts +2 -0
- package/types/build/globbed.d.ts.map +1 -0
- package/types/build/header-files.d.ts +4 -0
- package/types/build/header-files.d.ts.map +1 -0
- package/types/build/icons.d.ts +9 -0
- package/types/build/icons.d.ts.map +1 -0
- package/types/build/increments.d.ts +50 -0
- package/types/build/increments.d.ts.map +1 -0
- package/types/build/insert-ids.d.ts +10 -0
- package/types/build/insert-ids.d.ts.map +1 -0
- package/types/build/kept-maps.d.ts +3 -0
- package/types/build/kept-maps.d.ts.map +1 -0
- package/types/build/kept.d.ts +5 -0
- package/types/build/kept.d.ts.map +1 -0
- package/types/build/layer-order.d.ts +2 -0
- package/types/build/layer-order.d.ts.map +1 -0
- package/types/build/libraries.d.ts +53 -0
- package/types/build/libraries.d.ts.map +1 -0
- package/types/build/licenses.d.ts +16 -0
- package/types/build/licenses.d.ts.map +1 -0
- package/types/build/links.d.ts +3 -0
- package/types/build/links.d.ts.map +1 -0
- package/types/build/live-ids.d.ts +3 -0
- package/types/build/live-ids.d.ts.map +1 -0
- package/types/build/manifests.d.ts +26 -0
- package/types/build/manifests.d.ts.map +1 -0
- package/types/build/named-refresh.d.ts +3 -0
- package/types/build/named-refresh.d.ts.map +1 -0
- package/types/build/navigation-locale.d.ts +3 -0
- package/types/build/navigation-locale.d.ts.map +1 -0
- package/types/build/page-dirs.d.ts +8 -0
- package/types/build/page-dirs.d.ts.map +1 -0
- package/types/build/pipeline.d.ts +60 -0
- package/types/build/pipeline.d.ts.map +1 -0
- package/types/build/plugin.d.ts +30 -0
- package/types/build/plugin.d.ts.map +1 -0
- package/types/build/probe.d.ts +6 -0
- package/types/build/probe.d.ts.map +1 -0
- package/types/build/prune.d.ts +5 -0
- package/types/build/prune.d.ts.map +1 -0
- package/types/build/recipe-classes.d.ts +11 -0
- package/types/build/recipe-classes.d.ts.map +1 -0
- package/types/build/references.d.ts +7 -0
- package/types/build/references.d.ts.map +1 -0
- package/types/build/report.d.ts +95 -0
- package/types/build/report.d.ts.map +1 -0
- package/types/build/route-sizes.d.ts +7 -0
- package/types/build/route-sizes.d.ts.map +1 -0
- package/types/build/runtime-chunk.d.ts +25 -0
- package/types/build/runtime-chunk.d.ts.map +1 -0
- package/types/build/runtime-config.d.ts +3 -0
- package/types/build/runtime-config.d.ts.map +1 -0
- package/types/build/search.d.ts +7 -0
- package/types/build/search.d.ts.map +1 -0
- package/types/build/server-only.d.ts +40 -0
- package/types/build/server-only.d.ts.map +1 -0
- package/types/build/server-record.d.ts +4 -0
- package/types/build/server-record.d.ts.map +1 -0
- package/types/build/signals.d.ts +5 -0
- package/types/build/signals.d.ts.map +1 -0
- package/types/build/source-files.d.ts +15 -0
- package/types/build/source-files.d.ts.map +1 -0
- package/types/build/source-parses.d.ts +22 -0
- package/types/build/source-parses.d.ts.map +1 -0
- package/types/build/sourcemap.d.ts +29 -0
- package/types/build/sourcemap.d.ts.map +1 -0
- package/types/build/static.d.ts +11 -0
- package/types/build/static.d.ts.map +1 -0
- package/types/build/style-uses.d.ts +19 -0
- package/types/build/style-uses.d.ts.map +1 -0
- package/types/build/styles.d.ts +12 -0
- package/types/build/styles.d.ts.map +1 -0
- package/types/build/supports.d.ts +16 -0
- package/types/build/supports.d.ts.map +1 -0
- package/types/build/theme-vars.d.ts +2 -0
- package/types/build/theme-vars.d.ts.map +1 -0
- package/types/build/transform.d.ts +47 -0
- package/types/build/transform.d.ts.map +1 -0
- package/types/build/ui-info.d.ts +27 -0
- package/types/build/ui-info.d.ts.map +1 -0
- package/types/build/ui.d.ts +51 -0
- package/types/build/ui.d.ts.map +1 -0
- package/types/build/variants.d.ts +21 -0
- package/types/build/variants.d.ts.map +1 -0
- package/types/build/verify.d.ts +14 -0
- package/types/build/verify.d.ts.map +1 -0
- package/types/build/warn-classes.d.ts +4 -0
- package/types/build/warn-classes.d.ts.map +1 -0
- package/types/build/worker-bundle.d.ts +16 -0
- package/types/build/worker-bundle.d.ts.map +1 -0
- package/types/bun.d.ts +9 -0
- package/types/bun.d.ts.map +1 -0
- package/types/check/api-modules.d.ts +11 -0
- package/types/check/api-modules.d.ts.map +1 -0
- package/types/check/api-scope.d.ts +13 -0
- package/types/check/api-scope.d.ts.map +1 -0
- package/types/check/ast.d.ts +10 -0
- package/types/check/ast.d.ts.map +1 -0
- package/types/check/bindings.d.ts +4 -0
- package/types/check/bindings.d.ts.map +1 -0
- package/types/check/boot.d.ts +6 -0
- package/types/check/boot.d.ts.map +1 -0
- package/types/check/browser-global-reads.d.ts +8 -0
- package/types/check/browser-global-reads.d.ts.map +1 -0
- package/types/check/builtin-imports.d.ts +5 -0
- package/types/check/builtin-imports.d.ts.map +1 -0
- package/types/check/class-words.d.ts +7 -0
- package/types/check/class-words.d.ts.map +1 -0
- package/types/check/config-keys.d.ts +7 -0
- package/types/check/config-keys.d.ts.map +1 -0
- package/types/check/diagnose.d.ts +36 -0
- package/types/check/diagnose.d.ts.map +1 -0
- package/types/check/dockerfile.d.ts +4 -0
- package/types/check/dockerfile.d.ts.map +1 -0
- package/types/check/endpoint-exports.d.ts +4 -0
- package/types/check/endpoint-exports.d.ts.map +1 -0
- package/types/check/env-types.d.ts +8 -0
- package/types/check/env-types.d.ts.map +1 -0
- package/types/check/export-homes.d.ts +6 -0
- package/types/check/export-homes.d.ts.map +1 -0
- package/types/check/fixes.d.ts +3 -0
- package/types/check/fixes.d.ts.map +1 -0
- package/types/check/generated.d.ts +25 -0
- package/types/check/generated.d.ts.map +1 -0
- package/types/check/guards.d.ts +5 -0
- package/types/check/guards.d.ts.map +1 -0
- package/types/check/index.d.ts +34 -0
- package/types/check/index.d.ts.map +1 -0
- package/types/check/island-modules.d.ts +21 -0
- package/types/check/island-modules.d.ts.map +1 -0
- package/types/check/island-only.d.ts +11 -0
- package/types/check/island-only.d.ts.map +1 -0
- package/types/check/large-images.d.ts +5 -0
- package/types/check/large-images.d.ts.map +1 -0
- package/types/check/layout-facts.d.ts +8 -0
- package/types/check/layout-facts.d.ts.map +1 -0
- package/types/check/loaded.d.ts +8 -0
- package/types/check/loaded.d.ts.map +1 -0
- package/types/check/local-state.d.ts +3 -0
- package/types/check/local-state.d.ts.map +1 -0
- package/types/check/loop-index-fix.d.ts +4 -0
- package/types/check/loop-index-fix.d.ts.map +1 -0
- package/types/check/mcp-routes.d.ts +4 -0
- package/types/check/mcp-routes.d.ts.map +1 -0
- package/types/check/messages.d.ts +7 -0
- package/types/check/messages.d.ts.map +1 -0
- package/types/check/missing-imports.d.ts +5 -0
- package/types/check/missing-imports.d.ts.map +1 -0
- package/types/check/open-settings.d.ts +4 -0
- package/types/check/open-settings.d.ts.map +1 -0
- package/types/check/output-schema.d.ts +5 -0
- package/types/check/output-schema.d.ts.map +1 -0
- package/types/check/page-heads.d.ts +5 -0
- package/types/check/page-heads.d.ts.map +1 -0
- package/types/check/page-structure.d.ts +8 -0
- package/types/check/page-structure.d.ts.map +1 -0
- package/types/check/persisted-storage.d.ts +3 -0
- package/types/check/persisted-storage.d.ts.map +1 -0
- package/types/check/project.d.ts +37 -0
- package/types/check/project.d.ts.map +1 -0
- package/types/check/public-env-outside-src.d.ts +3 -0
- package/types/check/public-env-outside-src.d.ts.map +1 -0
- package/types/check/queries.d.ts +4 -0
- package/types/check/queries.d.ts.map +1 -0
- package/types/check/removed-ui-tokens.d.ts +3 -0
- package/types/check/removed-ui-tokens.d.ts.map +1 -0
- package/types/check/renamed-call-options.d.ts +14 -0
- package/types/check/renamed-call-options.d.ts.map +1 -0
- package/types/check/renamed-exports.d.ts +32 -0
- package/types/check/renamed-exports.d.ts.map +1 -0
- package/types/check/renamed-packages.d.ts +5 -0
- package/types/check/renamed-packages.d.ts.map +1 -0
- package/types/check/schema-type.d.ts +3 -0
- package/types/check/schema-type.d.ts.map +1 -0
- package/types/check/seo.d.ts +55 -0
- package/types/check/seo.d.ts.map +1 -0
- package/types/check/server-only-reads.d.ts +5 -0
- package/types/check/server-only-reads.d.ts.map +1 -0
- package/types/check/shadow-types.d.ts +48 -0
- package/types/check/shadow-types.d.ts.map +1 -0
- package/types/check/shadow.d.ts +62 -0
- package/types/check/shadow.d.ts.map +1 -0
- package/types/check/site-seo.d.ts +21 -0
- package/types/check/site-seo.d.ts.map +1 -0
- package/types/check/socket-routes.d.ts +4 -0
- package/types/check/socket-routes.d.ts.map +1 -0
- package/types/check/status-pages.d.ts +4 -0
- package/types/check/status-pages.d.ts.map +1 -0
- package/types/check/template-hints.d.ts +9 -0
- package/types/check/template-hints.d.ts.map +1 -0
- package/types/check/tool-labels.d.ts +3 -0
- package/types/check/tool-labels.d.ts.map +1 -0
- package/types/check/tool-outputs.d.ts +6 -0
- package/types/check/tool-outputs.d.ts.map +1 -0
- package/types/check/tsgo.d.ts +18 -0
- package/types/check/tsgo.d.ts.map +1 -0
- package/types/check/typing-stamp.d.ts +2 -0
- package/types/check/typing-stamp.d.ts.map +1 -0
- package/types/check/ui-tokens.d.ts +16 -0
- package/types/check/ui-tokens.d.ts.map +1 -0
- package/types/check/ui-types.d.ts +3 -0
- package/types/check/ui-types.d.ts.map +1 -0
- package/types/check/ui.d.ts +7 -0
- package/types/check/ui.d.ts.map +1 -0
- package/types/check/unmounted-jobs.d.ts +3 -0
- package/types/check/unmounted-jobs.d.ts.map +1 -0
- package/types/cli.d.ts +3 -0
- package/types/cli.d.ts.map +1 -0
- package/types/commands/a11y.d.ts +3 -0
- package/types/commands/a11y.d.ts.map +1 -0
- package/types/commands/add-peers.d.ts +2 -0
- package/types/commands/add-peers.d.ts.map +1 -0
- package/types/commands/add.d.ts +3 -0
- package/types/commands/add.d.ts.map +1 -0
- package/types/commands/build.d.ts +3 -0
- package/types/commands/build.d.ts.map +1 -0
- package/types/commands/check.d.ts +3 -0
- package/types/commands/check.d.ts.map +1 -0
- package/types/commands/command.d.ts +87 -0
- package/types/commands/command.d.ts.map +1 -0
- package/types/commands/completion.d.ts +5 -0
- package/types/commands/completion.d.ts.map +1 -0
- package/types/commands/dev.d.ts +3 -0
- package/types/commands/dev.d.ts.map +1 -0
- package/types/commands/docs.d.ts +3 -0
- package/types/commands/docs.d.ts.map +1 -0
- package/types/commands/doctor.d.ts +12 -0
- package/types/commands/doctor.d.ts.map +1 -0
- package/types/commands/editor.d.ts +3 -0
- package/types/commands/editor.d.ts.map +1 -0
- package/types/commands/env-compare.d.ts +25 -0
- package/types/commands/env-compare.d.ts.map +1 -0
- package/types/commands/env-declare.d.ts +5 -0
- package/types/commands/env-declare.d.ts.map +1 -0
- package/types/commands/env.d.ts +14 -0
- package/types/commands/env.d.ts.map +1 -0
- package/types/commands/explain-island.d.ts +3 -0
- package/types/commands/explain-island.d.ts.map +1 -0
- package/types/commands/explain.d.ts +3 -0
- package/types/commands/explain.d.ts.map +1 -0
- package/types/commands/extensions.d.ts +17 -0
- package/types/commands/extensions.d.ts.map +1 -0
- package/types/commands/fix-path.d.ts +2 -0
- package/types/commands/fix-path.d.ts.map +1 -0
- package/types/commands/fmt.d.ts +3 -0
- package/types/commands/fmt.d.ts.map +1 -0
- package/types/commands/generate.d.ts +3 -0
- package/types/commands/generate.d.ts.map +1 -0
- package/types/commands/i18n.d.ts +4 -0
- package/types/commands/i18n.d.ts.map +1 -0
- package/types/commands/import-module.d.ts +4 -0
- package/types/commands/import-module.d.ts.map +1 -0
- package/types/commands/lint-cache.d.ts +2 -0
- package/types/commands/lint-cache.d.ts.map +1 -0
- package/types/commands/lint.d.ts +3 -0
- package/types/commands/lint.d.ts.map +1 -0
- package/types/commands/lsp.d.ts +3 -0
- package/types/commands/lsp.d.ts.map +1 -0
- package/types/commands/mcp.d.ts +3 -0
- package/types/commands/mcp.d.ts.map +1 -0
- package/types/commands/migrate.d.ts +3 -0
- package/types/commands/migrate.d.ts.map +1 -0
- package/types/commands/new.d.ts +3 -0
- package/types/commands/new.d.ts.map +1 -0
- package/types/commands/not-found.d.ts +3 -0
- package/types/commands/not-found.d.ts.map +1 -0
- package/types/commands/project-checks.d.ts +4 -0
- package/types/commands/project-checks.d.ts.map +1 -0
- package/types/commands/registry.d.ts +13 -0
- package/types/commands/registry.d.ts.map +1 -0
- package/types/commands/render.d.ts +3 -0
- package/types/commands/render.d.ts.map +1 -0
- package/types/commands/routes.d.ts +18 -0
- package/types/commands/routes.d.ts.map +1 -0
- package/types/commands/screenshot.d.ts +3 -0
- package/types/commands/screenshot.d.ts.map +1 -0
- package/types/commands/start.d.ts +3 -0
- package/types/commands/start.d.ts.map +1 -0
- package/types/commands/test.d.ts +3 -0
- package/types/commands/test.d.ts.map +1 -0
- package/types/commands/types.d.ts +3 -0
- package/types/commands/types.d.ts.map +1 -0
- package/types/commands/upgrade.d.ts +43 -0
- package/types/commands/upgrade.d.ts.map +1 -0
- package/types/compiler/a11y-markup.d.ts +81 -0
- package/types/compiler/a11y-markup.d.ts.map +1 -0
- package/types/compiler/a11y.d.ts +4 -0
- package/types/compiler/a11y.d.ts.map +1 -0
- package/types/compiler/allow-comments.d.ts +20 -0
- package/types/compiler/allow-comments.d.ts.map +1 -0
- package/types/compiler/aria.d.ts +9 -0
- package/types/compiler/aria.d.ts.map +1 -0
- package/types/compiler/ast.d.ts +287 -0
- package/types/compiler/ast.d.ts.map +1 -0
- package/types/compiler/browser.d.ts +23 -0
- package/types/compiler/browser.d.ts.map +1 -0
- package/types/compiler/class-name.d.ts +10 -0
- package/types/compiler/class-name.d.ts.map +1 -0
- package/types/compiler/codegen.d.ts +62 -0
- package/types/compiler/codegen.d.ts.map +1 -0
- package/types/compiler/deprecated-lints.d.ts +67 -0
- package/types/compiler/deprecated-lints.d.ts.map +1 -0
- package/types/compiler/deprecated-script-fence.d.ts +3 -0
- package/types/compiler/deprecated-script-fence.d.ts.map +1 -0
- package/types/compiler/deprecated-ui-props.d.ts +14 -0
- package/types/compiler/deprecated-ui-props.d.ts.map +1 -0
- package/types/compiler/diagnostics.d.ts +16 -0
- package/types/compiler/diagnostics.d.ts.map +1 -0
- package/types/compiler/dom.d.ts +42 -0
- package/types/compiler/dom.d.ts.map +1 -0
- package/types/compiler/each-node.d.ts +3 -0
- package/types/compiler/each-node.d.ts.map +1 -0
- package/types/compiler/else-problem.d.ts +5 -0
- package/types/compiler/else-problem.d.ts.map +1 -0
- package/types/compiler/errors.d.ts +813 -0
- package/types/compiler/errors.d.ts.map +1 -0
- package/types/compiler/estree-shapes.d.ts +17 -0
- package/types/compiler/estree-shapes.d.ts.map +1 -0
- package/types/compiler/estree.d.ts +36 -0
- package/types/compiler/estree.d.ts.map +1 -0
- package/types/compiler/event-modifiers.d.ts +12 -0
- package/types/compiler/event-modifiers.d.ts.map +1 -0
- package/types/compiler/expression.d.ts +8 -0
- package/types/compiler/expression.d.ts.map +1 -0
- package/types/compiler/fence-checks.d.ts +13 -0
- package/types/compiler/fence-checks.d.ts.map +1 -0
- package/types/compiler/fence-nodes.d.ts +6 -0
- package/types/compiler/fence-nodes.d.ts.map +1 -0
- package/types/compiler/fence-redirects.d.ts +4 -0
- package/types/compiler/fence-redirects.d.ts.map +1 -0
- package/types/compiler/field-described.d.ts +6 -0
- package/types/compiler/field-described.d.ts.map +1 -0
- package/types/compiler/fnv-hash.d.ts +2 -0
- package/types/compiler/fnv-hash.d.ts.map +1 -0
- package/types/compiler/format.d.ts +11 -0
- package/types/compiler/format.d.ts.map +1 -0
- package/types/compiler/frame.d.ts +17 -0
- package/types/compiler/frame.d.ts.map +1 -0
- package/types/compiler/globals.d.ts +4 -0
- package/types/compiler/globals.d.ts.map +1 -0
- package/types/compiler/host.browser.d.ts +8 -0
- package/types/compiler/host.browser.d.ts.map +1 -0
- package/types/compiler/host.d.ts +13 -0
- package/types/compiler/host.d.ts.map +1 -0
- package/types/compiler/html.d.ts +49 -0
- package/types/compiler/html.d.ts.map +1 -0
- package/types/compiler/i18n-lints.d.ts +27 -0
- package/types/compiler/i18n-lints.d.ts.map +1 -0
- package/types/compiler/if-alias.d.ts +7 -0
- package/types/compiler/if-alias.d.ts.map +1 -0
- package/types/compiler/import-edits.d.ts +5 -0
- package/types/compiler/import-edits.d.ts.map +1 -0
- package/types/compiler/index.d.ts +62 -0
- package/types/compiler/index.d.ts.map +1 -0
- package/types/compiler/inspect.d.ts +3 -0
- package/types/compiler/inspect.d.ts.map +1 -0
- package/types/compiler/island-arguments.d.ts +13 -0
- package/types/compiler/island-arguments.d.ts.map +1 -0
- package/types/compiler/island-cause.d.ts +14 -0
- package/types/compiler/island-cause.d.ts.map +1 -0
- package/types/compiler/island-marker.d.ts +4 -0
- package/types/compiler/island-marker.d.ts.map +1 -0
- package/types/compiler/items.d.ts +72 -0
- package/types/compiler/items.d.ts.map +1 -0
- package/types/compiler/jsx-class.d.ts +7 -0
- package/types/compiler/jsx-class.d.ts.map +1 -0
- package/types/compiler/jsx-entities.d.ts +2 -0
- package/types/compiler/jsx-entities.d.ts.map +1 -0
- package/types/compiler/jsx.d.ts +49 -0
- package/types/compiler/jsx.d.ts.map +1 -0
- package/types/compiler/kay-exports.d.ts +5 -0
- package/types/compiler/kay-exports.d.ts.map +1 -0
- package/types/compiler/lints.d.ts +894 -0
- package/types/compiler/lints.d.ts.map +1 -0
- package/types/compiler/load-facts.d.ts +11 -0
- package/types/compiler/load-facts.d.ts.map +1 -0
- package/types/compiler/load-plan.d.ts +11 -0
- package/types/compiler/load-plan.d.ts.map +1 -0
- package/types/compiler/loop-lints.d.ts +13 -0
- package/types/compiler/loop-lints.d.ts.map +1 -0
- package/types/compiler/mapping.d.ts +74 -0
- package/types/compiler/mapping.d.ts.map +1 -0
- package/types/compiler/markdown-block.d.ts +42 -0
- package/types/compiler/markdown-block.d.ts.map +1 -0
- package/types/compiler/markup.d.ts +136 -0
- package/types/compiler/markup.d.ts.map +1 -0
- package/types/compiler/minor.d.ts +3 -0
- package/types/compiler/minor.d.ts.map +1 -0
- package/types/compiler/module-signals.d.ts +7 -0
- package/types/compiler/module-signals.d.ts.map +1 -0
- package/types/compiler/names.d.ts +22 -0
- package/types/compiler/names.d.ts.map +1 -0
- package/types/compiler/native-typescript.d.ts +5 -0
- package/types/compiler/native-typescript.d.ts.map +1 -0
- package/types/compiler/nesting.d.ts +3 -0
- package/types/compiler/nesting.d.ts.map +1 -0
- package/types/compiler/object-literal.d.ts +13 -0
- package/types/compiler/object-literal.d.ts.map +1 -0
- package/types/compiler/own-markup.d.ts +4 -0
- package/types/compiler/own-markup.d.ts.map +1 -0
- package/types/compiler/page-settings.d.ts +8 -0
- package/types/compiler/page-settings.d.ts.map +1 -0
- package/types/compiler/parser.d.ts +3 -0
- package/types/compiler/parser.d.ts.map +1 -0
- package/types/compiler/pattern-names.d.ts +4 -0
- package/types/compiler/pattern-names.d.ts.map +1 -0
- package/types/compiler/plan.d.ts +114 -0
- package/types/compiler/plan.d.ts.map +1 -0
- package/types/compiler/public.d.ts +4 -0
- package/types/compiler/public.d.ts.map +1 -0
- package/types/compiler/rewrite-reads.d.ts +61 -0
- package/types/compiler/rewrite-reads.d.ts.map +1 -0
- package/types/compiler/rewrite-scan.d.ts +11 -0
- package/types/compiler/rewrite-scan.d.ts.map +1 -0
- package/types/compiler/rewrite-tags.d.ts +4 -0
- package/types/compiler/rewrite-tags.d.ts.map +1 -0
- package/types/compiler/rewrite-types.d.ts +54 -0
- package/types/compiler/rewrite-types.d.ts.map +1 -0
- package/types/compiler/rewrite.d.ts +3 -0
- package/types/compiler/rewrite.d.ts.map +1 -0
- package/types/compiler/route-lints.d.ts +58 -0
- package/types/compiler/route-lints.d.ts.map +1 -0
- package/types/compiler/scanner.d.ts +12 -0
- package/types/compiler/scanner.d.ts.map +1 -0
- package/types/compiler/scope.d.ts +56 -0
- package/types/compiler/scope.d.ts.map +1 -0
- package/types/compiler/scoped-style.d.ts +28 -0
- package/types/compiler/scoped-style.d.ts.map +1 -0
- package/types/compiler/script-fence.d.ts +5 -0
- package/types/compiler/script-fence.d.ts.map +1 -0
- package/types/compiler/script-props.d.ts +7 -0
- package/types/compiler/script-props.d.ts.map +1 -0
- package/types/compiler/script-recipe.d.ts +15 -0
- package/types/compiler/script-recipe.d.ts.map +1 -0
- package/types/compiler/script-server.d.ts +53 -0
- package/types/compiler/script-server.d.ts.map +1 -0
- package/types/compiler/script-shared.d.ts +70 -0
- package/types/compiler/script-shared.d.ts.map +1 -0
- package/types/compiler/script-split.d.ts +21 -0
- package/types/compiler/script-split.d.ts.map +1 -0
- package/types/compiler/script.d.ts +12 -0
- package/types/compiler/script.d.ts.map +1 -0
- package/types/compiler/serial-awaits.d.ts +13 -0
- package/types/compiler/serial-awaits.d.ts.map +1 -0
- package/types/compiler/status-pages.d.ts +5 -0
- package/types/compiler/status-pages.d.ts.map +1 -0
- package/types/compiler/style-lints.d.ts +3 -0
- package/types/compiler/style-lints.d.ts.map +1 -0
- package/types/compiler/template-reads.d.ts +9 -0
- package/types/compiler/template-reads.d.ts.map +1 -0
- package/types/compiler/template-scopes.d.ts +11 -0
- package/types/compiler/template-scopes.d.ts.map +1 -0
- package/types/compiler/twin.d.ts +3 -0
- package/types/compiler/twin.d.ts.map +1 -0
- package/types/compiler/unowned-effects.d.ts +3 -0
- package/types/compiler/unowned-effects.d.ts.map +1 -0
- package/types/compiler/validate-fixes.d.ts +16 -0
- package/types/compiler/validate-fixes.d.ts.map +1 -0
- package/types/compiler/validate.d.ts +14 -0
- package/types/compiler/validate.d.ts.map +1 -0
- package/types/compiler/walk.d.ts +15 -0
- package/types/compiler/walk.d.ts.map +1 -0
- package/types/config-extensions.d.ts +20 -0
- package/types/config-extensions.d.ts.map +1 -0
- package/types/config-loader.d.ts +10 -0
- package/types/config-loader.d.ts.map +1 -0
- package/types/config-rules.d.ts +27 -0
- package/types/config-rules.d.ts.map +1 -0
- package/types/config-shape.d.ts +8 -0
- package/types/config-shape.d.ts.map +1 -0
- package/types/config.d.ts +402 -0
- package/types/config.d.ts.map +1 -0
- package/types/content/claims.d.ts +26 -0
- package/types/content/claims.d.ts.map +1 -0
- package/types/content/drafts.d.ts +10 -0
- package/types/content/drafts.d.ts.map +1 -0
- package/types/content/edit-entries.d.ts +73 -0
- package/types/content/edit-entries.d.ts.map +1 -0
- package/types/content/edit-fields.d.ts +55 -0
- package/types/content/edit-fields.d.ts.map +1 -0
- package/types/content/edit-registry.d.ts +9 -0
- package/types/content/edit-registry.d.ts.map +1 -0
- package/types/content/edit-shared.d.ts +129 -0
- package/types/content/edit-shared.d.ts.map +1 -0
- package/types/content/edit.d.ts +6 -0
- package/types/content/edit.d.ts.map +1 -0
- package/types/content/entry-head.d.ts +15 -0
- package/types/content/entry-head.d.ts.map +1 -0
- package/types/content/entry-route.d.ts +2 -0
- package/types/content/entry-route.d.ts.map +1 -0
- package/types/content/excerpt.d.ts +7 -0
- package/types/content/excerpt.d.ts.map +1 -0
- package/types/content/feed.d.ts +55 -0
- package/types/content/feed.d.ts.map +1 -0
- package/types/content/heading-id.d.ts +10 -0
- package/types/content/heading-id.d.ts.map +1 -0
- package/types/content/held-back.d.ts +7 -0
- package/types/content/held-back.d.ts.map +1 -0
- package/types/content/humanize.d.ts +2 -0
- package/types/content/humanize.d.ts.map +1 -0
- package/types/content/images.d.ts +23 -0
- package/types/content/images.d.ts.map +1 -0
- package/types/content/index.d.ts +166 -0
- package/types/content/index.d.ts.map +1 -0
- package/types/content/key.d.ts +5 -0
- package/types/content/key.d.ts.map +1 -0
- package/types/content/load.d.ts +93 -0
- package/types/content/load.d.ts.map +1 -0
- package/types/content/markdown-extensions.d.ts +5 -0
- package/types/content/markdown-extensions.d.ts.map +1 -0
- package/types/content/markdown.d.ts +92 -0
- package/types/content/markdown.d.ts.map +1 -0
- package/types/content/migrate.d.ts +25 -0
- package/types/content/migrate.d.ts.map +1 -0
- package/types/content/modified.d.ts +8 -0
- package/types/content/modified.d.ts.map +1 -0
- package/types/content/paginate.d.ts +24 -0
- package/types/content/paginate.d.ts.map +1 -0
- package/types/content/problems.d.ts +2 -0
- package/types/content/problems.d.ts.map +1 -0
- package/types/content/references.d.ts +16 -0
- package/types/content/references.d.ts.map +1 -0
- package/types/content/rewrite.d.ts +14 -0
- package/types/content/rewrite.d.ts.map +1 -0
- package/types/content/server.d.ts +30 -0
- package/types/content/server.d.ts.map +1 -0
- package/types/content/source-draft.d.ts +10 -0
- package/types/content/source-draft.d.ts.map +1 -0
- package/types/content/turns.d.ts +8 -0
- package/types/content/turns.d.ts.map +1 -0
- package/types/content/validate.d.ts +32 -0
- package/types/content/validate.d.ts.map +1 -0
- package/types/dev/address.d.ts +5 -0
- package/types/dev/address.d.ts.map +1 -0
- package/types/dev/base-proxy.d.ts +5 -0
- package/types/dev/base-proxy.d.ts.map +1 -0
- package/types/dev/builder.d.ts +16 -0
- package/types/dev/builder.d.ts.map +1 -0
- package/types/dev/client.d.ts +10 -0
- package/types/dev/client.d.ts.map +1 -0
- package/types/dev/config-record.d.ts +3 -0
- package/types/dev/config-record.d.ts.map +1 -0
- package/types/dev/fingerprint.d.ts +29 -0
- package/types/dev/fingerprint.d.ts.map +1 -0
- package/types/dev/index.d.ts +32 -0
- package/types/dev/index.d.ts.map +1 -0
- package/types/dev/inspector.d.ts +9 -0
- package/types/dev/inspector.d.ts.map +1 -0
- package/types/dev/loopback.d.ts +3 -0
- package/types/dev/loopback.d.ts.map +1 -0
- package/types/dev/pages.d.ts +2 -0
- package/types/dev/pages.d.ts.map +1 -0
- package/types/dev/preload.d.ts +3 -0
- package/types/dev/preload.d.ts.map +1 -0
- package/types/dev/refuse.d.ts +20 -0
- package/types/dev/refuse.d.ts.map +1 -0
- package/types/dev/reload.d.ts +20 -0
- package/types/dev/reload.d.ts.map +1 -0
- package/types/dev/render-server.d.ts +18 -0
- package/types/dev/render-server.d.ts.map +1 -0
- package/types/dev/render-socket.d.ts +2 -0
- package/types/dev/render-socket.d.ts.map +1 -0
- package/types/dev/screenshot-diff.d.ts +13 -0
- package/types/dev/screenshot-diff.d.ts.map +1 -0
- package/types/dev/screenshot-limits.d.ts +8 -0
- package/types/dev/screenshot-limits.d.ts.map +1 -0
- package/types/dev/screenshot.d.ts +62 -0
- package/types/dev/screenshot.d.ts.map +1 -0
- package/types/dev/session/client.d.ts +37 -0
- package/types/dev/session/client.d.ts.map +1 -0
- package/types/dev/session/keys.d.ts +8 -0
- package/types/dev/session/keys.d.ts.map +1 -0
- package/types/dev/session/ports.d.ts +18 -0
- package/types/dev/session/ports.d.ts.map +1 -0
- package/types/dev/session/queue.d.ts +30 -0
- package/types/dev/session/queue.d.ts.map +1 -0
- package/types/dev/session/report.d.ts +30 -0
- package/types/dev/session/report.d.ts.map +1 -0
- package/types/dev/session/servers.d.ts +73 -0
- package/types/dev/session/servers.d.ts.map +1 -0
- package/types/dev/session/types.d.ts +51 -0
- package/types/dev/session/types.d.ts.map +1 -0
- package/types/dev/sources.d.ts +14 -0
- package/types/dev/sources.d.ts.map +1 -0
- package/types/dev/tailwind.d.ts +5 -0
- package/types/dev/tailwind.d.ts.map +1 -0
- package/types/dev/types-process.d.ts +27 -0
- package/types/dev/types-process.d.ts.map +1 -0
- package/types/dev/types.d.ts +2 -0
- package/types/dev/types.d.ts.map +1 -0
- package/types/docs-props.d.ts +10 -0
- package/types/docs-props.d.ts.map +1 -0
- package/types/docs-search.d.ts +40 -0
- package/types/docs-search.d.ts.map +1 -0
- package/types/editors.d.ts +30 -0
- package/types/editors.d.ts.map +1 -0
- package/types/entities.d.ts +2 -0
- package/types/entities.d.ts.map +1 -0
- package/types/eslint/index.d.ts +51 -0
- package/types/eslint/index.d.ts.map +1 -0
- package/types/features.d.ts +10 -0
- package/types/features.d.ts.map +1 -0
- package/types/format/index.d.ts +16 -0
- package/types/format/index.d.ts.map +1 -0
- package/types/format/tailwind.d.ts +15 -0
- package/types/format/tailwind.d.ts.map +1 -0
- package/types/generate-resource.d.ts +27 -0
- package/types/generate-resource.d.ts.map +1 -0
- package/types/generate.d.ts +17 -0
- package/types/generate.d.ts.map +1 -0
- package/types/imports.d.ts +2 -0
- package/types/imports.d.ts.map +1 -0
- package/types/input-types.d.ts +2 -0
- package/types/input-types.d.ts.map +1 -0
- package/types/keyword-attributes.d.ts +6 -0
- package/types/keyword-attributes.d.ts.map +1 -0
- package/types/lsp/bridge.d.ts +14 -0
- package/types/lsp/bridge.d.ts.map +1 -0
- package/types/lsp/code-actions.d.ts +7 -0
- package/types/lsp/code-actions.d.ts.map +1 -0
- package/types/lsp/completions.d.ts +20 -0
- package/types/lsp/completions.d.ts.map +1 -0
- package/types/lsp/component-props.d.ts +10 -0
- package/types/lsp/component-props.d.ts.map +1 -0
- package/types/lsp/diagnostics.d.ts +25 -0
- package/types/lsp/diagnostics.d.ts.map +1 -0
- package/types/lsp/document-links.d.ts +7 -0
- package/types/lsp/document-links.d.ts.map +1 -0
- package/types/lsp/host.d.ts +72 -0
- package/types/lsp/host.d.ts.map +1 -0
- package/types/lsp/island-lens.d.ts +14 -0
- package/types/lsp/island-lens.d.ts.map +1 -0
- package/types/lsp/mapping.d.ts +25 -0
- package/types/lsp/mapping.d.ts.map +1 -0
- package/types/lsp/navigation.d.ts +29 -0
- package/types/lsp/navigation.d.ts.map +1 -0
- package/types/lsp/outline.d.ts +4 -0
- package/types/lsp/outline.d.ts.map +1 -0
- package/types/lsp/positions.d.ts +4 -0
- package/types/lsp/positions.d.ts.map +1 -0
- package/types/lsp/project-checks.d.ts +20 -0
- package/types/lsp/project-checks.d.ts.map +1 -0
- package/types/lsp/protocol.d.ts +172 -0
- package/types/lsp/protocol.d.ts.map +1 -0
- package/types/lsp/range-format.d.ts +7 -0
- package/types/lsp/range-format.d.ts.map +1 -0
- package/types/lsp/rename.d.ts +13 -0
- package/types/lsp/rename.d.ts.map +1 -0
- package/types/lsp/renames.d.ts +9 -0
- package/types/lsp/renames.d.ts.map +1 -0
- package/types/lsp/route-links.d.ts +9 -0
- package/types/lsp/route-links.d.ts.map +1 -0
- package/types/lsp/rpc.d.ts +40 -0
- package/types/lsp/rpc.d.ts.map +1 -0
- package/types/lsp/semantic-tokens.d.ts +6 -0
- package/types/lsp/semantic-tokens.d.ts.map +1 -0
- package/types/lsp/server.d.ts +58 -0
- package/types/lsp/server.d.ts.map +1 -0
- package/types/lsp/template-completion.d.ts +54 -0
- package/types/lsp/template-completion.d.ts.map +1 -0
- package/types/lsp/ui-completion.d.ts +19 -0
- package/types/lsp/ui-completion.d.ts.map +1 -0
- package/types/mcp/guards.d.ts +6 -0
- package/types/mcp/guards.d.ts.map +1 -0
- package/types/mcp/install.d.ts +2 -0
- package/types/mcp/install.d.ts.map +1 -0
- package/types/mcp/protocol.d.ts +88 -0
- package/types/mcp/protocol.d.ts.map +1 -0
- package/types/mcp/tools.d.ts +9 -0
- package/types/mcp/tools.d.ts.map +1 -0
- package/types/migrate/astro.d.ts +27 -0
- package/types/migrate/astro.d.ts.map +1 -0
- package/types/migrate/content.d.ts +3 -0
- package/types/migrate/content.d.ts.map +1 -0
- package/types/migrate/html.d.ts +7 -0
- package/types/migrate/html.d.ts.map +1 -0
- package/types/migrate/markup.d.ts +25 -0
- package/types/migrate/markup.d.ts.map +1 -0
- package/types/migrate/project.d.ts +17 -0
- package/types/migrate/project.d.ts.map +1 -0
- package/types/native-plugins.d.ts +2 -0
- package/types/native-plugins.d.ts.map +1 -0
- package/types/nearest.d.ts +2 -0
- package/types/nearest.d.ts.map +1 -0
- package/types/new.d.ts +34 -0
- package/types/new.d.ts.map +1 -0
- package/types/package-names.d.ts +6 -0
- package/types/package-names.d.ts.map +1 -0
- package/types/peers.d.ts +14 -0
- package/types/peers.d.ts.map +1 -0
- package/types/project.d.ts +63 -0
- package/types/project.d.ts.map +1 -0
- package/types/runtime/action-call.d.ts +11 -0
- package/types/runtime/action-call.d.ts.map +1 -0
- package/types/runtime/action-encode.d.ts +10 -0
- package/types/runtime/action-encode.d.ts.map +1 -0
- package/types/runtime/action-error.d.ts +16 -0
- package/types/runtime/action-error.d.ts.map +1 -0
- package/types/runtime/action-form.d.ts +29 -0
- package/types/runtime/action-form.d.ts.map +1 -0
- package/types/runtime/action-marks.d.ts +5 -0
- package/types/runtime/action-marks.d.ts.map +1 -0
- package/types/runtime/action-navigate.d.ts +6 -0
- package/types/runtime/action-navigate.d.ts.map +1 -0
- package/types/runtime/action-owner.d.ts +15 -0
- package/types/runtime/action-owner.d.ts.map +1 -0
- package/types/runtime/action-post.d.ts +8 -0
- package/types/runtime/action-post.d.ts.map +1 -0
- package/types/runtime/action-protection.d.ts +15 -0
- package/types/runtime/action-protection.d.ts.map +1 -0
- package/types/runtime/action-revive.d.ts +3 -0
- package/types/runtime/action-revive.d.ts.map +1 -0
- package/types/runtime/action-reviver.d.ts +2 -0
- package/types/runtime/action-reviver.d.ts.map +1 -0
- package/types/runtime/action-shared.d.ts +288 -0
- package/types/runtime/action-shared.d.ts.map +1 -0
- package/types/runtime/action-stream.d.ts +8 -0
- package/types/runtime/action-stream.d.ts.map +1 -0
- package/types/runtime/action.d.ts +29 -0
- package/types/runtime/action.d.ts.map +1 -0
- package/types/runtime/analytics.client.d.ts +3 -0
- package/types/runtime/analytics.client.d.ts.map +1 -0
- package/types/runtime/announce.d.ts +2 -0
- package/types/runtime/announce.d.ts.map +1 -0
- package/types/runtime/api-error-class.d.ts +9 -0
- package/types/runtime/api-error-class.d.ts.map +1 -0
- package/types/runtime/api-error.d.ts +17 -0
- package/types/runtime/api-error.d.ts.map +1 -0
- package/types/runtime/api-url.d.ts +24 -0
- package/types/runtime/api-url.d.ts.map +1 -0
- package/types/runtime/arrival.d.ts +5 -0
- package/types/runtime/arrival.d.ts.map +1 -0
- package/types/runtime/await.d.ts +4 -0
- package/types/runtime/await.d.ts.map +1 -0
- package/types/runtime/await.server.d.ts +26 -0
- package/types/runtime/await.server.d.ts.map +1 -0
- package/types/runtime/base.d.ts +12 -0
- package/types/runtime/base.d.ts.map +1 -0
- package/types/runtime/build.d.ts +2 -0
- package/types/runtime/build.d.ts.map +1 -0
- package/types/runtime/byte-count.d.ts +3 -0
- package/types/runtime/byte-count.d.ts.map +1 -0
- package/types/runtime/byte-size.d.ts +4 -0
- package/types/runtime/byte-size.d.ts.map +1 -0
- package/types/runtime/cache-live-id.d.ts +2 -0
- package/types/runtime/cache-live-id.d.ts.map +1 -0
- package/types/runtime/cache.d.ts +87 -0
- package/types/runtime/cache.d.ts.map +1 -0
- package/types/runtime/cache.server.d.ts +10 -0
- package/types/runtime/cache.server.d.ts.map +1 -0
- package/types/runtime/call-body.d.ts +6 -0
- package/types/runtime/call-body.d.ts.map +1 -0
- package/types/runtime/call-result.d.ts +41 -0
- package/types/runtime/call-result.d.ts.map +1 -0
- package/types/runtime/checks.d.ts +287 -0
- package/types/runtime/checks.d.ts.map +1 -0
- package/types/runtime/claimed.d.ts +3 -0
- package/types/runtime/claimed.d.ts.map +1 -0
- package/types/runtime/class-table.d.ts +7 -0
- package/types/runtime/class-table.d.ts.map +1 -0
- package/types/runtime/client.d.ts +15 -0
- package/types/runtime/client.d.ts.map +1 -0
- package/types/runtime/connection.d.ts +40 -0
- package/types/runtime/connection.d.ts.map +1 -0
- package/types/runtime/consent.d.ts +5 -0
- package/types/runtime/consent.d.ts.map +1 -0
- package/types/runtime/core.d.ts +172 -0
- package/types/runtime/core.d.ts.map +1 -0
- package/types/runtime/counters.d.ts +26 -0
- package/types/runtime/counters.d.ts.map +1 -0
- package/types/runtime/described.d.ts +9 -0
- package/types/runtime/described.d.ts.map +1 -0
- package/types/runtime/dev-a11y.d.ts +16 -0
- package/types/runtime/dev-a11y.d.ts.map +1 -0
- package/types/runtime/dev-boot.d.ts +14 -0
- package/types/runtime/dev-boot.d.ts.map +1 -0
- package/types/runtime/dev-inspector.d.ts +9 -0
- package/types/runtime/dev-inspector.d.ts.map +1 -0
- package/types/runtime/dev-patch.d.ts +2 -0
- package/types/runtime/dev-patch.d.ts.map +1 -0
- package/types/runtime/dev-refresh.d.ts +2 -0
- package/types/runtime/dev-refresh.d.ts.map +1 -0
- package/types/runtime/dev-styles.d.ts +3 -0
- package/types/runtime/dev-styles.d.ts.map +1 -0
- package/types/runtime/dev-tab-data.d.ts +3 -0
- package/types/runtime/dev-tab-data.d.ts.map +1 -0
- package/types/runtime/dev-tab-env.d.ts +3 -0
- package/types/runtime/dev-tab-env.d.ts.map +1 -0
- package/types/runtime/dev-tab-head.d.ts +3 -0
- package/types/runtime/dev-tab-head.d.ts.map +1 -0
- package/types/runtime/dev-tab-i18n.d.ts +3 -0
- package/types/runtime/dev-tab-i18n.d.ts.map +1 -0
- package/types/runtime/dev-tab-images.d.ts +3 -0
- package/types/runtime/dev-tab-images.d.ts.map +1 -0
- package/types/runtime/dev-tab-jobs.d.ts +3 -0
- package/types/runtime/dev-tab-jobs.d.ts.map +1 -0
- package/types/runtime/dev-tab-network.d.ts +3 -0
- package/types/runtime/dev-tab-network.d.ts.map +1 -0
- package/types/runtime/dev-tab-not-found.d.ts +3 -0
- package/types/runtime/dev-tab-not-found.d.ts.map +1 -0
- package/types/runtime/dev-tab-performance.d.ts +3 -0
- package/types/runtime/dev-tab-performance.d.ts.map +1 -0
- package/types/runtime/dev-tab-reading.d.ts +23 -0
- package/types/runtime/dev-tab-reading.d.ts.map +1 -0
- package/types/runtime/dev-tab-routes.d.ts +3 -0
- package/types/runtime/dev-tab-routes.d.ts.map +1 -0
- package/types/runtime/dev-tab-styles.d.ts +3 -0
- package/types/runtime/dev-tab-styles.d.ts.map +1 -0
- package/types/runtime/dev-tool-constants.d.ts +19 -0
- package/types/runtime/dev-tool-constants.d.ts.map +1 -0
- package/types/runtime/dev-tool-icons.d.ts +48 -0
- package/types/runtime/dev-tool-icons.d.ts.map +1 -0
- package/types/runtime/dev-tool-keys.d.ts +16 -0
- package/types/runtime/dev-tool-keys.d.ts.map +1 -0
- package/types/runtime/dev-tool-kit.d.ts +8 -0
- package/types/runtime/dev-tool-kit.d.ts.map +1 -0
- package/types/runtime/dev-tool-layout.d.ts +49 -0
- package/types/runtime/dev-tool-layout.d.ts.map +1 -0
- package/types/runtime/dev-tool-markdown.d.ts +2 -0
- package/types/runtime/dev-tool-markdown.d.ts.map +1 -0
- package/types/runtime/dev-tool-outline.d.ts +3 -0
- package/types/runtime/dev-tool-outline.d.ts.map +1 -0
- package/types/runtime/dev-tool-parts.d.ts +38 -0
- package/types/runtime/dev-tool-parts.d.ts.map +1 -0
- package/types/runtime/dev-tool-problems.d.ts +14 -0
- package/types/runtime/dev-tool-problems.d.ts.map +1 -0
- package/types/runtime/dev-tool-request.d.ts +5 -0
- package/types/runtime/dev-tool-request.d.ts.map +1 -0
- package/types/runtime/dev-tool-shell.d.ts +25 -0
- package/types/runtime/dev-tool-shell.d.ts.map +1 -0
- package/types/runtime/dev-tool-style.d.ts +2 -0
- package/types/runtime/dev-tool-style.d.ts.map +1 -0
- package/types/runtime/dev-tool-swaps.d.ts +10 -0
- package/types/runtime/dev-tool-swaps.d.ts.map +1 -0
- package/types/runtime/dev-tool-tab-order.d.ts +17 -0
- package/types/runtime/dev-tool-tab-order.d.ts.map +1 -0
- package/types/runtime/dev-tool-tabs.d.ts +24 -0
- package/types/runtime/dev-tool-tabs.d.ts.map +1 -0
- package/types/runtime/dev-tool-vitals.d.ts +13 -0
- package/types/runtime/dev-tool-vitals.d.ts.map +1 -0
- package/types/runtime/dev-tool-window.d.ts +18 -0
- package/types/runtime/dev-tool-window.d.ts.map +1 -0
- package/types/runtime/dev-tool.d.ts +75 -0
- package/types/runtime/dev-tool.d.ts.map +1 -0
- package/types/runtime/dev-tool.public.d.ts +4 -0
- package/types/runtime/dev-tool.public.d.ts.map +1 -0
- package/types/runtime/dom-await.d.ts +2 -0
- package/types/runtime/dom-await.d.ts.map +1 -0
- package/types/runtime/dom-image.d.ts +2 -0
- package/types/runtime/dom-image.d.ts.map +1 -0
- package/types/runtime/dom-loop.d.ts +3 -0
- package/types/runtime/dom-loop.d.ts.map +1 -0
- package/types/runtime/dom-spread.d.ts +3 -0
- package/types/runtime/dom-spread.d.ts.map +1 -0
- package/types/runtime/dom-try.d.ts +2 -0
- package/types/runtime/dom-try.d.ts.map +1 -0
- package/types/runtime/dom.d.ts +87 -0
- package/types/runtime/dom.d.ts.map +1 -0
- package/types/runtime/draft-issues.d.ts +19 -0
- package/types/runtime/draft-issues.d.ts.map +1 -0
- package/types/runtime/duration-words.d.ts +3 -0
- package/types/runtime/duration-words.d.ts.map +1 -0
- package/types/runtime/duration.d.ts +16 -0
- package/types/runtime/duration.d.ts.map +1 -0
- package/types/runtime/edit.d.ts +25 -0
- package/types/runtime/edit.d.ts.map +1 -0
- package/types/runtime/element-size.d.ts +7 -0
- package/types/runtime/element-size.d.ts.map +1 -0
- package/types/runtime/email.d.ts +3 -0
- package/types/runtime/email.d.ts.map +1 -0
- package/types/runtime/ended-entry.d.ts +3 -0
- package/types/runtime/ended-entry.d.ts.map +1 -0
- package/types/runtime/env.d.ts +26 -0
- package/types/runtime/env.d.ts.map +1 -0
- package/types/runtime/escape.d.ts +6 -0
- package/types/runtime/escape.d.ts.map +1 -0
- package/types/runtime/fetch-island.d.ts +6 -0
- package/types/runtime/fetch-island.d.ts.map +1 -0
- package/types/runtime/fields.d.ts +58 -0
- package/types/runtime/fields.d.ts.map +1 -0
- package/types/runtime/fills.d.ts +12 -0
- package/types/runtime/fills.d.ts.map +1 -0
- package/types/runtime/focus.d.ts +2 -0
- package/types/runtime/focus.d.ts.map +1 -0
- package/types/runtime/follow-log.d.ts +11 -0
- package/types/runtime/follow-log.d.ts.map +1 -0
- package/types/runtime/form-controls.d.ts +2 -0
- package/types/runtime/form-controls.d.ts.map +1 -0
- package/types/runtime/form-hold.d.ts +7 -0
- package/types/runtime/form-hold.d.ts.map +1 -0
- package/types/runtime/form-protect.d.ts +2 -0
- package/types/runtime/form-protect.d.ts.map +1 -0
- package/types/runtime/form-submits.d.ts +9 -0
- package/types/runtime/form-submits.d.ts.map +1 -0
- package/types/runtime/form.d.ts +19 -0
- package/types/runtime/form.d.ts.map +1 -0
- package/types/runtime/forms.d.ts +4 -0
- package/types/runtime/forms.d.ts.map +1 -0
- package/types/runtime/french.d.ts +6 -0
- package/types/runtime/french.d.ts.map +1 -0
- package/types/runtime/head.d.ts +40 -0
- package/types/runtime/head.d.ts.map +1 -0
- package/types/runtime/html.d.ts +70 -0
- package/types/runtime/html.d.ts.map +1 -0
- package/types/runtime/hydrate-when.d.ts +5 -0
- package/types/runtime/hydrate-when.d.ts.map +1 -0
- package/types/runtime/i18n-links.d.ts +9 -0
- package/types/runtime/i18n-links.d.ts.map +1 -0
- package/types/runtime/i18n.client.d.ts +21 -0
- package/types/runtime/i18n.client.d.ts.map +1 -0
- package/types/runtime/i18n.d.ts +112 -0
- package/types/runtime/i18n.d.ts.map +1 -0
- package/types/runtime/i18n.server.d.ts +20 -0
- package/types/runtime/i18n.server.d.ts.map +1 -0
- package/types/runtime/icons.d.ts +30 -0
- package/types/runtime/icons.d.ts.map +1 -0
- package/types/runtime/image.d.ts +103 -0
- package/types/runtime/image.d.ts.map +1 -0
- package/types/runtime/image.public.d.ts +3 -0
- package/types/runtime/image.public.d.ts.map +1 -0
- package/types/runtime/in-view.d.ts +12 -0
- package/types/runtime/in-view.d.ts.map +1 -0
- package/types/runtime/index.d.ts +84 -0
- package/types/runtime/index.d.ts.map +1 -0
- package/types/runtime/install-prompt.d.ts +17 -0
- package/types/runtime/install-prompt.d.ts.map +1 -0
- package/types/runtime/internal.d.ts +19 -0
- package/types/runtime/internal.d.ts.map +1 -0
- package/types/runtime/invalid.d.ts +3 -0
- package/types/runtime/invalid.d.ts.map +1 -0
- package/types/runtime/island-request.d.ts +3 -0
- package/types/runtime/island-request.d.ts.map +1 -0
- package/types/runtime/island.client.d.ts +4 -0
- package/types/runtime/island.client.d.ts.map +1 -0
- package/types/runtime/island.server.d.ts +32 -0
- package/types/runtime/island.server.d.ts.map +1 -0
- package/types/runtime/jsx-runtime.d.ts +2 -0
- package/types/runtime/jsx-runtime.d.ts.map +1 -0
- package/types/runtime/jsx.d.ts +286 -0
- package/types/runtime/jsx.d.ts.map +1 -0
- package/types/runtime/keepalive.d.ts +4 -0
- package/types/runtime/keepalive.d.ts.map +1 -0
- package/types/runtime/lasting.d.ts +2 -0
- package/types/runtime/lasting.d.ts.map +1 -0
- package/types/runtime/leave.d.ts +6 -0
- package/types/runtime/leave.d.ts.map +1 -0
- package/types/runtime/listen-with.d.ts +2 -0
- package/types/runtime/listen-with.d.ts.map +1 -0
- package/types/runtime/listener-set.d.ts +5 -0
- package/types/runtime/listener-set.d.ts.map +1 -0
- package/types/runtime/live-cache.d.ts +4 -0
- package/types/runtime/live-cache.d.ts.map +1 -0
- package/types/runtime/live-props.d.ts +2 -0
- package/types/runtime/live-props.d.ts.map +1 -0
- package/types/runtime/live-resource.server.d.ts +13 -0
- package/types/runtime/live-resource.server.d.ts.map +1 -0
- package/types/runtime/live-value.client.d.ts +8 -0
- package/types/runtime/live-value.client.d.ts.map +1 -0
- package/types/runtime/live-value.d.ts +13 -0
- package/types/runtime/live-value.d.ts.map +1 -0
- package/types/runtime/live-value.server.d.ts +30 -0
- package/types/runtime/live-value.server.d.ts.map +1 -0
- package/types/runtime/live-value.shared.d.ts +61 -0
- package/types/runtime/live-value.shared.d.ts.map +1 -0
- package/types/runtime/live.d.ts +292 -0
- package/types/runtime/live.d.ts.map +1 -0
- package/types/runtime/load-scope.d.ts +9 -0
- package/types/runtime/load-scope.d.ts.map +1 -0
- package/types/runtime/local-status.d.ts +4 -0
- package/types/runtime/local-status.d.ts.map +1 -0
- package/types/runtime/local.d.ts +75 -0
- package/types/runtime/local.d.ts.map +1 -0
- package/types/runtime/locale-state.d.ts +18 -0
- package/types/runtime/locale-state.d.ts.map +1 -0
- package/types/runtime/localized.d.ts +4 -0
- package/types/runtime/localized.d.ts.map +1 -0
- package/types/runtime/log.d.ts +8 -0
- package/types/runtime/log.d.ts.map +1 -0
- package/types/runtime/markdown-render.client.d.ts +3 -0
- package/types/runtime/markdown-render.client.d.ts.map +1 -0
- package/types/runtime/markdown-task.d.ts +2 -0
- package/types/runtime/markdown-task.d.ts.map +1 -0
- package/types/runtime/markdown.client.d.ts +6 -0
- package/types/runtime/markdown.client.d.ts.map +1 -0
- package/types/runtime/markdown.d.ts +8 -0
- package/types/runtime/markdown.d.ts.map +1 -0
- package/types/runtime/markdown.server.d.ts +6 -0
- package/types/runtime/markdown.server.d.ts.map +1 -0
- package/types/runtime/markers.d.ts +14 -0
- package/types/runtime/markers.d.ts.map +1 -0
- package/types/runtime/media-query.d.ts +3 -0
- package/types/runtime/media-query.d.ts.map +1 -0
- package/types/runtime/mount.d.ts +9 -0
- package/types/runtime/mount.d.ts.map +1 -0
- package/types/runtime/move.d.ts +3 -0
- package/types/runtime/move.d.ts.map +1 -0
- package/types/runtime/navigate-api.d.ts +18 -0
- package/types/runtime/navigate-api.d.ts.map +1 -0
- package/types/runtime/navigate.d.ts +10 -0
- package/types/runtime/navigate.d.ts.map +1 -0
- package/types/runtime/navigation-entry.d.ts +2 -0
- package/types/runtime/navigation-entry.d.ts.map +1 -0
- package/types/runtime/navigation-state.d.ts +19 -0
- package/types/runtime/navigation-state.d.ts.map +1 -0
- package/types/runtime/navigation.d.ts +86 -0
- package/types/runtime/navigation.d.ts.map +1 -0
- package/types/runtime/online.d.ts +2 -0
- package/types/runtime/online.d.ts.map +1 -0
- package/types/runtime/optimistic.d.ts +7 -0
- package/types/runtime/optimistic.d.ts.map +1 -0
- package/types/runtime/outside.d.ts +8 -0
- package/types/runtime/outside.d.ts.map +1 -0
- package/types/runtime/page-data.d.ts +3 -0
- package/types/runtime/page-data.d.ts.map +1 -0
- package/types/runtime/page-errors.d.ts +2 -0
- package/types/runtime/page-errors.d.ts.map +1 -0
- package/types/runtime/page-swap.d.ts +8 -0
- package/types/runtime/page-swap.d.ts.map +1 -0
- package/types/runtime/page-title.d.ts +2 -0
- package/types/runtime/page-title.d.ts.map +1 -0
- package/types/runtime/params.d.ts +4 -0
- package/types/runtime/params.d.ts.map +1 -0
- package/types/runtime/pending.d.ts +5 -0
- package/types/runtime/pending.d.ts.map +1 -0
- package/types/runtime/persist.d.ts +25 -0
- package/types/runtime/persist.d.ts.map +1 -0
- package/types/runtime/persisted.d.ts +71 -0
- package/types/runtime/persisted.d.ts.map +1 -0
- package/types/runtime/placeholder.d.ts +5 -0
- package/types/runtime/placeholder.d.ts.map +1 -0
- package/types/runtime/poll-backoff.d.ts +16 -0
- package/types/runtime/poll-backoff.d.ts.map +1 -0
- package/types/runtime/prefetch.d.ts +3 -0
- package/types/runtime/prefetch.d.ts.map +1 -0
- package/types/runtime/presence.d.ts +13 -0
- package/types/runtime/presence.d.ts.map +1 -0
- package/types/runtime/preview.d.ts +26 -0
- package/types/runtime/preview.d.ts.map +1 -0
- package/types/runtime/push.d.ts +19 -0
- package/types/runtime/push.d.ts.map +1 -0
- package/types/runtime/query-param.d.ts +14 -0
- package/types/runtime/query-param.d.ts.map +1 -0
- package/types/runtime/queue-jobs.d.ts +16 -0
- package/types/runtime/queue-jobs.d.ts.map +1 -0
- package/types/runtime/random-id.d.ts +2 -0
- package/types/runtime/random-id.d.ts.map +1 -0
- package/types/runtime/reactive-collections.d.ts +3 -0
- package/types/runtime/reactive-collections.d.ts.map +1 -0
- package/types/runtime/reactive.d.ts +112 -0
- package/types/runtime/reactive.d.ts.map +1 -0
- package/types/runtime/recipe.d.ts +34 -0
- package/types/runtime/recipe.d.ts.map +1 -0
- package/types/runtime/refetch-island.d.ts +2 -0
- package/types/runtime/refetch-island.d.ts.map +1 -0
- package/types/runtime/refuse.d.ts +18 -0
- package/types/runtime/refuse.d.ts.map +1 -0
- package/types/runtime/rendered.d.ts +9 -0
- package/types/runtime/rendered.d.ts.map +1 -0
- package/types/runtime/report-error.d.ts +2 -0
- package/types/runtime/report-error.d.ts.map +1 -0
- package/types/runtime/retry-later.d.ts +2 -0
- package/types/runtime/retry-later.d.ts.map +1 -0
- package/types/runtime/reveal.d.ts +2 -0
- package/types/runtime/reveal.d.ts.map +1 -0
- package/types/runtime/root.d.ts +3 -0
- package/types/runtime/root.d.ts.map +1 -0
- package/types/runtime/route.d.ts +19 -0
- package/types/runtime/route.d.ts.map +1 -0
- package/types/runtime/safe-code.d.ts +2 -0
- package/types/runtime/safe-code.d.ts.map +1 -0
- package/types/runtime/safe-html.d.ts +7 -0
- package/types/runtime/safe-html.d.ts.map +1 -0
- package/types/runtime/sanitize.d.ts +15 -0
- package/types/runtime/sanitize.d.ts.map +1 -0
- package/types/runtime/save-data.d.ts +2 -0
- package/types/runtime/save-data.d.ts.map +1 -0
- package/types/runtime/schema-bounds.d.ts +4 -0
- package/types/runtime/schema-bounds.d.ts.map +1 -0
- package/types/runtime/schema.client.d.ts +3 -0
- package/types/runtime/schema.client.d.ts.map +1 -0
- package/types/runtime/schema.d.ts +32 -0
- package/types/runtime/schema.d.ts.map +1 -0
- package/types/runtime/search-arrival.d.ts +2 -0
- package/types/runtime/search-arrival.d.ts.map +1 -0
- package/types/runtime/search-results.d.ts +4 -0
- package/types/runtime/search-results.d.ts.map +1 -0
- package/types/runtime/search.d.ts +48 -0
- package/types/runtime/search.d.ts.map +1 -0
- package/types/runtime/send.d.ts +3 -0
- package/types/runtime/send.d.ts.map +1 -0
- package/types/runtime/seo.d.ts +15 -0
- package/types/runtime/seo.d.ts.map +1 -0
- package/types/runtime/server-islands.d.ts +3 -0
- package/types/runtime/server-islands.d.ts.map +1 -0
- package/types/runtime/shortcut.d.ts +9 -0
- package/types/runtime/shortcut.d.ts.map +1 -0
- package/types/runtime/site.d.ts +14 -0
- package/types/runtime/site.d.ts.map +1 -0
- package/types/runtime/size-text.d.ts +2 -0
- package/types/runtime/size-text.d.ts.map +1 -0
- package/types/runtime/snapshots.d.ts +13 -0
- package/types/runtime/snapshots.d.ts.map +1 -0
- package/types/runtime/sqlite.server.d.ts +4 -0
- package/types/runtime/sqlite.server.d.ts.map +1 -0
- package/types/runtime/sse.d.ts +3 -0
- package/types/runtime/sse.d.ts.map +1 -0
- package/types/runtime/stale.d.ts +4 -0
- package/types/runtime/stale.d.ts.map +1 -0
- package/types/runtime/static-slots.d.ts +4 -0
- package/types/runtime/static-slots.d.ts.map +1 -0
- package/types/runtime/store-base.d.ts +6 -0
- package/types/runtime/store-base.d.ts.map +1 -0
- package/types/runtime/store.d.ts +12 -0
- package/types/runtime/store.d.ts.map +1 -0
- package/types/runtime/swap-fetch.d.ts +10 -0
- package/types/runtime/swap-fetch.d.ts.map +1 -0
- package/types/runtime/swap-flight.d.ts +36 -0
- package/types/runtime/swap-flight.d.ts.map +1 -0
- package/types/runtime/swap-focus.d.ts +6 -0
- package/types/runtime/swap-focus.d.ts.map +1 -0
- package/types/runtime/swap-head.d.ts +8 -0
- package/types/runtime/swap-head.d.ts.map +1 -0
- package/types/runtime/swap-held.d.ts +2 -0
- package/types/runtime/swap-held.d.ts.map +1 -0
- package/types/runtime/swap-kept.d.ts +8 -0
- package/types/runtime/swap-kept.d.ts.map +1 -0
- package/types/runtime/swap-loading.d.ts +6 -0
- package/types/runtime/swap-loading.d.ts.map +1 -0
- package/types/runtime/swap-morph.d.ts +8 -0
- package/types/runtime/swap-morph.d.ts.map +1 -0
- package/types/runtime/swap-refusal.d.ts +2 -0
- package/types/runtime/swap-refusal.d.ts.map +1 -0
- package/types/runtime/swap-streamed.d.ts +14 -0
- package/types/runtime/swap-streamed.d.ts.map +1 -0
- package/types/runtime/swap-transition.d.ts +4 -0
- package/types/runtime/swap-transition.d.ts.map +1 -0
- package/types/runtime/swap.d.ts +16 -0
- package/types/runtime/swap.d.ts.map +1 -0
- package/types/runtime/template-context.d.ts +28 -0
- package/types/runtime/template-context.d.ts.map +1 -0
- package/types/runtime/transition.d.ts +11 -0
- package/types/runtime/transition.d.ts.map +1 -0
- package/types/runtime/ui.d.ts +22 -0
- package/types/runtime/ui.d.ts.map +1 -0
- package/types/runtime/uid.d.ts +10 -0
- package/types/runtime/uid.d.ts.map +1 -0
- package/types/runtime/uid.server.d.ts +6 -0
- package/types/runtime/uid.server.d.ts.map +1 -0
- package/types/runtime/upload.d.ts +2 -0
- package/types/runtime/upload.d.ts.map +1 -0
- package/types/runtime/url-attributes.d.ts +2 -0
- package/types/runtime/url-attributes.d.ts.map +1 -0
- package/types/runtime/url-report.d.ts +5 -0
- package/types/runtime/url-report.d.ts.map +1 -0
- package/types/runtime/url.d.ts +5 -0
- package/types/runtime/url.d.ts.map +1 -0
- package/types/runtime/validate.d.ts +26 -0
- package/types/runtime/validate.d.ts.map +1 -0
- package/types/runtime/values.d.ts +18 -0
- package/types/runtime/values.d.ts.map +1 -0
- package/types/runtime/visibility.d.ts +3 -0
- package/types/runtime/visibility.d.ts.map +1 -0
- package/types/runtime/warn-once.d.ts +4 -0
- package/types/runtime/warn-once.d.ts.map +1 -0
- package/types/runtime/wire.d.ts +15 -0
- package/types/runtime/wire.d.ts.map +1 -0
- package/types/runtime/with-query.d.ts +5 -0
- package/types/runtime/with-query.d.ts.map +1 -0
- package/types/runtime/words.client.d.ts +8 -0
- package/types/runtime/words.client.d.ts.map +1 -0
- package/types/runtime/words.server.d.ts +7 -0
- package/types/runtime/words.server.d.ts.map +1 -0
- package/types/runtime/work-worker.d.ts +2 -0
- package/types/runtime/work-worker.d.ts.map +1 -0
- package/types/runtime/work.client.d.ts +4 -0
- package/types/runtime/work.client.d.ts.map +1 -0
- package/types/runtime/work.d.ts +4 -0
- package/types/runtime/work.d.ts.map +1 -0
- package/types/server/accept-language.d.ts +5 -0
- package/types/server/accept-language.d.ts.map +1 -0
- package/types/server/action-clash.d.ts +2 -0
- package/types/server/action-clash.d.ts.map +1 -0
- package/types/server/action-hooks.d.ts +19 -0
- package/types/server/action-hooks.d.ts.map +1 -0
- package/types/server/action-input.d.ts +3 -0
- package/types/server/action-input.d.ts.map +1 -0
- package/types/server/action-iterable.d.ts +7 -0
- package/types/server/action-iterable.d.ts.map +1 -0
- package/types/server/actions.d.ts +56 -0
- package/types/server/actions.d.ts.map +1 -0
- package/types/server/address.d.ts +20 -0
- package/types/server/address.d.ts.map +1 -0
- package/types/server/analytics-script.d.ts +5 -0
- package/types/server/analytics-script.d.ts.map +1 -0
- package/types/server/analytics-server.d.ts +12 -0
- package/types/server/analytics-server.d.ts.map +1 -0
- package/types/server/analytics-words.d.ts +8 -0
- package/types/server/analytics-words.d.ts.map +1 -0
- package/types/server/analytics.d.ts +109 -0
- package/types/server/analytics.d.ts.map +1 -0
- package/types/server/api-modules.d.ts +51 -0
- package/types/server/api-modules.d.ts.map +1 -0
- package/types/server/api-params.d.ts +16 -0
- package/types/server/api-params.d.ts.map +1 -0
- package/types/server/api.d.ts +50 -0
- package/types/server/api.d.ts.map +1 -0
- package/types/server/app-database.d.ts +13 -0
- package/types/server/app-database.d.ts.map +1 -0
- package/types/server/app-hooks.d.ts +26 -0
- package/types/server/app-hooks.d.ts.map +1 -0
- package/types/server/app-identity.d.ts +13 -0
- package/types/server/app-identity.d.ts.map +1 -0
- package/types/server/app-stages.d.ts +210 -0
- package/types/server/app-stages.d.ts.map +1 -0
- package/types/server/app-store.d.ts +33 -0
- package/types/server/app-store.d.ts.map +1 -0
- package/types/server/app.d.ts +122 -0
- package/types/server/app.d.ts.map +1 -0
- package/types/server/auth-mails.d.ts +357 -0
- package/types/server/auth-mails.d.ts.map +1 -0
- package/types/server/auto-listen.d.ts +6 -0
- package/types/server/auto-listen.d.ts.map +1 -0
- package/types/server/avif-worker.d.ts +19 -0
- package/types/server/avif-worker.d.ts.map +1 -0
- package/types/server/avif.d.ts +12 -0
- package/types/server/avif.d.ts.map +1 -0
- package/types/server/base.d.ts +9 -0
- package/types/server/base.d.ts.map +1 -0
- package/types/server/basic-auth.d.ts +13 -0
- package/types/server/basic-auth.d.ts.map +1 -0
- package/types/server/body.d.ts +23 -0
- package/types/server/body.d.ts.map +1 -0
- package/types/server/build-files.d.ts +8 -0
- package/types/server/build-files.d.ts.map +1 -0
- package/types/server/builtins.d.ts +5 -0
- package/types/server/builtins.d.ts.map +1 -0
- package/types/server/bundle.d.ts +26 -0
- package/types/server/bundle.d.ts.map +1 -0
- package/types/server/card-draw.d.ts +20 -0
- package/types/server/card-draw.d.ts.map +1 -0
- package/types/server/card-template.d.ts +8 -0
- package/types/server/card-template.d.ts.map +1 -0
- package/types/server/card.d.ts +73 -0
- package/types/server/card.d.ts.map +1 -0
- package/types/server/ceiling.d.ts +2 -0
- package/types/server/ceiling.d.ts.map +1 -0
- package/types/server/clean-context.d.ts +2 -0
- package/types/server/clean-context.d.ts.map +1 -0
- package/types/server/client.d.ts +91 -0
- package/types/server/client.d.ts.map +1 -0
- package/types/server/codec/avif-enc-build.d.ts +2 -0
- package/types/server/codec/avif-enc-build.d.ts.map +1 -0
- package/types/server/compress-policy.d.ts +2 -0
- package/types/server/compress-policy.d.ts.map +1 -0
- package/types/server/compress.d.ts +44 -0
- package/types/server/compress.d.ts.map +1 -0
- package/types/server/config-error.d.ts +10 -0
- package/types/server/config-error.d.ts.map +1 -0
- package/types/server/config-limits.d.ts +37 -0
- package/types/server/config-limits.d.ts.map +1 -0
- package/types/server/consent-cookie.d.ts +2 -0
- package/types/server/consent-cookie.d.ts.map +1 -0
- package/types/server/context-reads.d.ts +2 -0
- package/types/server/context-reads.d.ts.map +1 -0
- package/types/server/context-record.d.ts +10 -0
- package/types/server/context-record.d.ts.map +1 -0
- package/types/server/context-values.d.ts +15 -0
- package/types/server/context-values.d.ts.map +1 -0
- package/types/server/cookie-names.d.ts +3 -0
- package/types/server/cookie-names.d.ts.map +1 -0
- package/types/server/cookies.d.ts +36 -0
- package/types/server/cookies.d.ts.map +1 -0
- package/types/server/cors.d.ts +35 -0
- package/types/server/cors.d.ts.map +1 -0
- package/types/server/crop.d.ts +16 -0
- package/types/server/crop.d.ts.map +1 -0
- package/types/server/cross-site.d.ts +9 -0
- package/types/server/cross-site.d.ts.map +1 -0
- package/types/server/csp.d.ts +13 -0
- package/types/server/csp.d.ts.map +1 -0
- package/types/server/dev-data.d.ts +44 -0
- package/types/server/dev-data.d.ts.map +1 -0
- package/types/server/dev-errors.d.ts +34 -0
- package/types/server/dev-errors.d.ts.map +1 -0
- package/types/server/dev-footprint.d.ts +2 -0
- package/types/server/dev-footprint.d.ts.map +1 -0
- package/types/server/dev-head.d.ts +13 -0
- package/types/server/dev-head.d.ts.map +1 -0
- package/types/server/dev-jobs.d.ts +4 -0
- package/types/server/dev-jobs.d.ts.map +1 -0
- package/types/server/dev-not-found.d.ts +9 -0
- package/types/server/dev-not-found.d.ts.map +1 -0
- package/types/server/dev-notes.d.ts +3 -0
- package/types/server/dev-notes.d.ts.map +1 -0
- package/types/server/dev-offered.d.ts +6 -0
- package/types/server/dev-offered.d.ts.map +1 -0
- package/types/server/dev-secret.d.ts +2 -0
- package/types/server/dev-secret.d.ts.map +1 -0
- package/types/server/dev-sizes.d.ts +18 -0
- package/types/server/dev-sizes.d.ts.map +1 -0
- package/types/server/dev-sqlite-worker.d.ts +22 -0
- package/types/server/dev-sqlite-worker.d.ts.map +1 -0
- package/types/server/dev-ui.d.ts +3 -0
- package/types/server/dev-ui.d.ts.map +1 -0
- package/types/server/dev.d.ts +158 -0
- package/types/server/dev.d.ts.map +1 -0
- package/types/server/dictionary.d.ts +28 -0
- package/types/server/dictionary.d.ts.map +1 -0
- package/types/server/drain.d.ts +5 -0
- package/types/server/drain.d.ts.map +1 -0
- package/types/server/editor.d.ts +2 -0
- package/types/server/editor.d.ts.map +1 -0
- package/types/server/endpoint-claims.d.ts +4 -0
- package/types/server/endpoint-claims.d.ts.map +1 -0
- package/types/server/endpoint-verbs.d.ts +11 -0
- package/types/server/endpoint-verbs.d.ts.map +1 -0
- package/types/server/endpoints.d.ts +12 -0
- package/types/server/endpoints.d.ts.map +1 -0
- package/types/server/entry-drafts.d.ts +15 -0
- package/types/server/entry-drafts.d.ts.map +1 -0
- package/types/server/entry-head.d.ts +5 -0
- package/types/server/entry-head.d.ts.map +1 -0
- package/types/server/entry-urls.d.ts +6 -0
- package/types/server/entry-urls.d.ts.map +1 -0
- package/types/server/env-state.d.ts +22 -0
- package/types/server/env-state.d.ts.map +1 -0
- package/types/server/env.d.ts +22 -0
- package/types/server/env.d.ts.map +1 -0
- package/types/server/error-maps.d.ts +3 -0
- package/types/server/error-maps.d.ts.map +1 -0
- package/types/server/errors.d.ts +13 -0
- package/types/server/errors.d.ts.map +1 -0
- package/types/server/event-stream.d.ts +22 -0
- package/types/server/event-stream.d.ts.map +1 -0
- package/types/server/face.d.ts +16 -0
- package/types/server/face.d.ts.map +1 -0
- package/types/server/favicon.d.ts +60 -0
- package/types/server/favicon.d.ts.map +1 -0
- package/types/server/fetch-public.d.ts +12 -0
- package/types/server/fetch-public.d.ts.map +1 -0
- package/types/server/field-errors.d.ts +6 -0
- package/types/server/field-errors.d.ts.map +1 -0
- package/types/server/file-limit.d.ts +3 -0
- package/types/server/file-limit.d.ts.map +1 -0
- package/types/server/file-type.d.ts +4 -0
- package/types/server/file-type.d.ts.map +1 -0
- package/types/server/flash.d.ts +24 -0
- package/types/server/flash.d.ts.map +1 -0
- package/types/server/font-metrics.d.ts +22 -0
- package/types/server/font-metrics.d.ts.map +1 -0
- package/types/server/fonts.d.ts +26 -0
- package/types/server/fonts.d.ts.map +1 -0
- package/types/server/forms.d.ts +3 -0
- package/types/server/forms.d.ts.map +1 -0
- package/types/server/guard-requirement.d.ts +8 -0
- package/types/server/guard-requirement.d.ts.map +1 -0
- package/types/server/guard-runs.d.ts +5 -0
- package/types/server/guard-runs.d.ts.map +1 -0
- package/types/server/guards.d.ts +24 -0
- package/types/server/guards.d.ts.map +1 -0
- package/types/server/handler-timing.d.ts +2 -0
- package/types/server/handler-timing.d.ts.map +1 -0
- package/types/server/history.d.ts +2 -0
- package/types/server/history.d.ts.map +1 -0
- package/types/server/hooks.d.ts +28 -0
- package/types/server/hooks.d.ts.map +1 -0
- package/types/server/host-allowlist.d.ts +11 -0
- package/types/server/host-allowlist.d.ts.map +1 -0
- package/types/server/hydration.d.ts +3 -0
- package/types/server/hydration.d.ts.map +1 -0
- package/types/server/i18n.d.ts +70 -0
- package/types/server/i18n.d.ts.map +1 -0
- package/types/server/image-color.d.ts +5 -0
- package/types/server/image-color.d.ts.map +1 -0
- package/types/server/image-format.d.ts +18 -0
- package/types/server/image-format.d.ts.map +1 -0
- package/types/server/image-limits.d.ts +17 -0
- package/types/server/image-limits.d.ts.map +1 -0
- package/types/server/image-metadata-bmff.d.ts +3 -0
- package/types/server/image-metadata-bmff.d.ts.map +1 -0
- package/types/server/image-metadata.d.ts +3 -0
- package/types/server/image-metadata.d.ts.map +1 -0
- package/types/server/image.d.ts +98 -0
- package/types/server/image.d.ts.map +1 -0
- package/types/server/index.d.ts +82 -0
- package/types/server/index.d.ts.map +1 -0
- package/types/server/internal.d.ts +8 -0
- package/types/server/internal.d.ts.map +1 -0
- package/types/server/job-admin.d.ts +36 -0
- package/types/server/job-admin.d.ts.map +1 -0
- package/types/server/job-status.d.ts +3 -0
- package/types/server/job-status.d.ts.map +1 -0
- package/types/server/job-steps.d.ts +2 -0
- package/types/server/job-steps.d.ts.map +1 -0
- package/types/server/jobs-page.d.ts +12 -0
- package/types/server/jobs-page.d.ts.map +1 -0
- package/types/server/jobs.d.ts +64 -0
- package/types/server/jobs.d.ts.map +1 -0
- package/types/server/kept-exports.d.ts +5 -0
- package/types/server/kept-exports.d.ts.map +1 -0
- package/types/server/kept-pages.d.ts +9 -0
- package/types/server/kept-pages.d.ts.map +1 -0
- package/types/server/kept-source.d.ts +48 -0
- package/types/server/kept-source.d.ts.map +1 -0
- package/types/server/kv.d.ts +17 -0
- package/types/server/kv.d.ts.map +1 -0
- package/types/server/lazy-guard.d.ts +10 -0
- package/types/server/lazy-guard.d.ts.map +1 -0
- package/types/server/library.d.ts +109 -0
- package/types/server/library.d.ts.map +1 -0
- package/types/server/lifecycle.d.ts +18 -0
- package/types/server/lifecycle.d.ts.map +1 -0
- package/types/server/limit.d.ts +6 -0
- package/types/server/limit.d.ts.map +1 -0
- package/types/server/link-schemes.d.ts +3 -0
- package/types/server/link-schemes.d.ts.map +1 -0
- package/types/server/links.d.ts +4 -0
- package/types/server/links.d.ts.map +1 -0
- package/types/server/literal-writes.d.ts +43 -0
- package/types/server/literal-writes.d.ts.map +1 -0
- package/types/server/live.d.ts +34 -0
- package/types/server/live.d.ts.map +1 -0
- package/types/server/load-budget.d.ts +4 -0
- package/types/server/load-budget.d.ts.map +1 -0
- package/types/server/loader.d.ts +5 -0
- package/types/server/loader.d.ts.map +1 -0
- package/types/server/loading-page.d.ts +6 -0
- package/types/server/loading-page.d.ts.map +1 -0
- package/types/server/local-files.d.ts +4 -0
- package/types/server/local-files.d.ts.map +1 -0
- package/types/server/log.d.ts +51 -0
- package/types/server/log.d.ts.map +1 -0
- package/types/server/maintenance.d.ts +24 -0
- package/types/server/maintenance.d.ts.map +1 -0
- package/types/server/mcp-key.d.ts +12 -0
- package/types/server/mcp-key.d.ts.map +1 -0
- package/types/server/mcp.d.ts +58 -0
- package/types/server/mcp.d.ts.map +1 -0
- package/types/server/memory-jobs.d.ts +3 -0
- package/types/server/memory-jobs.d.ts.map +1 -0
- package/types/server/memory-mark.d.ts +3 -0
- package/types/server/memory-mark.d.ts.map +1 -0
- package/types/server/message-drafts.d.ts +13 -0
- package/types/server/message-drafts.d.ts.map +1 -0
- package/types/server/metrics.d.ts +14 -0
- package/types/server/metrics.d.ts.map +1 -0
- package/types/server/missing-hits.d.ts +16 -0
- package/types/server/missing-hits.d.ts.map +1 -0
- package/types/server/module-state.d.ts +9 -0
- package/types/server/module-state.d.ts.map +1 -0
- package/types/server/new-tab.d.ts +4 -0
- package/types/server/new-tab.d.ts.map +1 -0
- package/types/server/not-found-config.d.ts +5 -0
- package/types/server/not-found-config.d.ts.map +1 -0
- package/types/server/not-found.d.ts +79 -0
- package/types/server/not-found.d.ts.map +1 -0
- package/types/server/notifications.d.ts +55 -0
- package/types/server/notifications.d.ts.map +1 -0
- package/types/server/offline.d.ts +22 -0
- package/types/server/offline.d.ts.map +1 -0
- package/types/server/openapi.d.ts +84 -0
- package/types/server/openapi.d.ts.map +1 -0
- package/types/server/option-keys.d.ts +2 -0
- package/types/server/option-keys.d.ts.map +1 -0
- package/types/server/overlay.d.ts +12 -0
- package/types/server/overlay.d.ts.map +1 -0
- package/types/server/own-headers.d.ts +21 -0
- package/types/server/own-headers.d.ts.map +1 -0
- package/types/server/page-error.d.ts +7 -0
- package/types/server/page-error.d.ts.map +1 -0
- package/types/server/page-flags.d.ts +5 -0
- package/types/server/page-flags.d.ts.map +1 -0
- package/types/server/page-headers.d.ts +6 -0
- package/types/server/page-headers.d.ts.map +1 -0
- package/types/server/page-hook.d.ts +32 -0
- package/types/server/page-hook.d.ts.map +1 -0
- package/types/server/page-limits.d.ts +26 -0
- package/types/server/page-limits.d.ts.map +1 -0
- package/types/server/page-reads.d.ts +6 -0
- package/types/server/page-reads.d.ts.map +1 -0
- package/types/server/page-routes.d.ts +48 -0
- package/types/server/page-routes.d.ts.map +1 -0
- package/types/server/page-settings.d.ts +13 -0
- package/types/server/page-settings.d.ts.map +1 -0
- package/types/server/params.d.ts +20 -0
- package/types/server/params.d.ts.map +1 -0
- package/types/server/parent.d.ts +5 -0
- package/types/server/parent.d.ts.map +1 -0
- package/types/server/personal-data.d.ts +13 -0
- package/types/server/personal-data.d.ts.map +1 -0
- package/types/server/pg-cache.d.ts +4 -0
- package/types/server/pg-cache.d.ts.map +1 -0
- package/types/server/pg-data.d.ts +30 -0
- package/types/server/pg-data.d.ts.map +1 -0
- package/types/server/pg-jobs.d.ts +31 -0
- package/types/server/pg-jobs.d.ts.map +1 -0
- package/types/server/pg-limit.d.ts +10 -0
- package/types/server/pg-limit.d.ts.map +1 -0
- package/types/server/pg-live.d.ts +4 -0
- package/types/server/pg-live.d.ts.map +1 -0
- package/types/server/pg-not-found.d.ts +30 -0
- package/types/server/pg-not-found.d.ts.map +1 -0
- package/types/server/pg-notify.d.ts +9 -0
- package/types/server/pg-notify.d.ts.map +1 -0
- package/types/server/pg-orm.d.ts +32 -0
- package/types/server/pg-orm.d.ts.map +1 -0
- package/types/server/pg-poll.d.ts +41 -0
- package/types/server/pg-poll.d.ts.map +1 -0
- package/types/server/pg-redirects.d.ts +4 -0
- package/types/server/pg-redirects.d.ts.map +1 -0
- package/types/server/pg-rooms.d.ts +7 -0
- package/types/server/pg-rooms.d.ts.map +1 -0
- package/types/server/pg-sql.d.ts +6 -0
- package/types/server/pg-sql.d.ts.map +1 -0
- package/types/server/pg-stores.d.ts +14 -0
- package/types/server/pg-stores.d.ts.map +1 -0
- package/types/server/plugin.d.ts +32 -0
- package/types/server/plugin.d.ts.map +1 -0
- package/types/server/plumbing.d.ts +20 -0
- package/types/server/plumbing.d.ts.map +1 -0
- package/types/server/png.d.ts +9 -0
- package/types/server/png.d.ts.map +1 -0
- package/types/server/prebuilt-loader.d.ts +2 -0
- package/types/server/prebuilt-loader.d.ts.map +1 -0
- package/types/server/prerender.d.ts +34 -0
- package/types/server/prerender.d.ts.map +1 -0
- package/types/server/prerendered.d.ts +19 -0
- package/types/server/prerendered.d.ts.map +1 -0
- package/types/server/presence.d.ts +10 -0
- package/types/server/presence.d.ts.map +1 -0
- package/types/server/preview.d.ts +55 -0
- package/types/server/preview.d.ts.map +1 -0
- package/types/server/private-dir.d.ts +7 -0
- package/types/server/private-dir.d.ts.map +1 -0
- package/types/server/protection.d.ts +95 -0
- package/types/server/protection.d.ts.map +1 -0
- package/types/server/proxy-key.d.ts +14 -0
- package/types/server/proxy-key.d.ts.map +1 -0
- package/types/server/public-suffix.d.ts +2 -0
- package/types/server/public-suffix.d.ts.map +1 -0
- package/types/server/public-suffixes.d.ts +3 -0
- package/types/server/public-suffixes.d.ts.map +1 -0
- package/types/server/public.d.ts +23 -0
- package/types/server/public.d.ts.map +1 -0
- package/types/server/publishing.d.ts +13 -0
- package/types/server/publishing.d.ts.map +1 -0
- package/types/server/pure-page.d.ts +21 -0
- package/types/server/pure-page.d.ts.map +1 -0
- package/types/server/push-crypto.d.ts +21 -0
- package/types/server/push-crypto.d.ts.map +1 -0
- package/types/server/push-keys-command.d.ts +4 -0
- package/types/server/push-keys-command.d.ts.map +1 -0
- package/types/server/push-server.d.ts +4 -0
- package/types/server/push-server.d.ts.map +1 -0
- package/types/server/push-settings.d.ts +18 -0
- package/types/server/push-settings.d.ts.map +1 -0
- package/types/server/push-store.d.ts +19 -0
- package/types/server/push-store.d.ts.map +1 -0
- package/types/server/push.d.ts +48 -0
- package/types/server/push.d.ts.map +1 -0
- package/types/server/query.d.ts +14 -0
- package/types/server/query.d.ts.map +1 -0
- package/types/server/queue-live.d.ts +20 -0
- package/types/server/queue-live.d.ts.map +1 -0
- package/types/server/queue-scheduler.d.ts +31 -0
- package/types/server/queue-scheduler.d.ts.map +1 -0
- package/types/server/queue-telling.d.ts +3 -0
- package/types/server/queue-telling.d.ts.map +1 -0
- package/types/server/queue.d.ts +166 -0
- package/types/server/queue.d.ts.map +1 -0
- package/types/server/raster.d.ts +14 -0
- package/types/server/raster.d.ts.map +1 -0
- package/types/server/rate-limit.d.ts +9 -0
- package/types/server/rate-limit.d.ts.map +1 -0
- package/types/server/rate-refusal.d.ts +4 -0
- package/types/server/rate-refusal.d.ts.map +1 -0
- package/types/server/reach-walk.d.ts +4 -0
- package/types/server/reach-walk.d.ts.map +1 -0
- package/types/server/reach.d.ts +11 -0
- package/types/server/reach.d.ts.map +1 -0
- package/types/server/redirect-spelling.d.ts +5 -0
- package/types/server/redirect-spelling.d.ts.map +1 -0
- package/types/server/redirects.d.ts +27 -0
- package/types/server/redirects.d.ts.map +1 -0
- package/types/server/reload.d.ts +4 -0
- package/types/server/reload.d.ts.map +1 -0
- package/types/server/remote.d.ts +24 -0
- package/types/server/remote.d.ts.map +1 -0
- package/types/server/render-document.d.ts +21 -0
- package/types/server/render-document.d.ts.map +1 -0
- package/types/server/render.d.ts +117 -0
- package/types/server/render.d.ts.map +1 -0
- package/types/server/report.d.ts +7 -0
- package/types/server/report.d.ts.map +1 -0
- package/types/server/request-read.d.ts +15 -0
- package/types/server/request-read.d.ts.map +1 -0
- package/types/server/request-record.d.ts +75 -0
- package/types/server/request-record.d.ts.map +1 -0
- package/types/server/request-scope.d.ts +7 -0
- package/types/server/request-scope.d.ts.map +1 -0
- package/types/server/request-timeout.d.ts +31 -0
- package/types/server/request-timeout.d.ts.map +1 -0
- package/types/server/request-url.d.ts +4 -0
- package/types/server/request-url.d.ts.map +1 -0
- package/types/server/request-user.d.ts +4 -0
- package/types/server/request-user.d.ts.map +1 -0
- package/types/server/resources.d.ts +12 -0
- package/types/server/resources.d.ts.map +1 -0
- package/types/server/response-mismatch.d.ts +3 -0
- package/types/server/response-mismatch.d.ts.map +1 -0
- package/types/server/revalidate.d.ts +3 -0
- package/types/server/revalidate.d.ts.map +1 -0
- package/types/server/rewrite.d.ts +13 -0
- package/types/server/rewrite.d.ts.map +1 -0
- package/types/server/rooms.d.ts +57 -0
- package/types/server/rooms.d.ts.map +1 -0
- package/types/server/route-table.d.ts +26 -0
- package/types/server/route-table.d.ts.map +1 -0
- package/types/server/routes.d.ts +106 -0
- package/types/server/routes.d.ts.map +1 -0
- package/types/server/runtime-redirect-api.d.ts +35 -0
- package/types/server/runtime-redirect-api.d.ts.map +1 -0
- package/types/server/runtime-redirects.d.ts +74 -0
- package/types/server/runtime-redirects.d.ts.map +1 -0
- package/types/server/safe-path.d.ts +2 -0
- package/types/server/safe-path.d.ts.map +1 -0
- package/types/server/save-data.d.ts +10 -0
- package/types/server/save-data.d.ts.map +1 -0
- package/types/server/schema-answer.d.ts +12 -0
- package/types/server/schema-answer.d.ts.map +1 -0
- package/types/server/schema-check.d.ts +12 -0
- package/types/server/schema-check.d.ts.map +1 -0
- package/types/server/scope.d.ts +12 -0
- package/types/server/scope.d.ts.map +1 -0
- package/types/server/seal.d.ts +11 -0
- package/types/server/seal.d.ts.map +1 -0
- package/types/server/security.d.ts +20 -0
- package/types/server/security.d.ts.map +1 -0
- package/types/server/seo.d.ts +15 -0
- package/types/server/seo.d.ts.map +1 -0
- package/types/server/served-paths.d.ts +26 -0
- package/types/server/served-paths.d.ts.map +1 -0
- package/types/server/server-islands.d.ts +28 -0
- package/types/server/server-islands.d.ts.map +1 -0
- package/types/server/server-record.d.ts +23 -0
- package/types/server/server-record.d.ts.map +1 -0
- package/types/server/serving.d.ts +5 -0
- package/types/server/serving.d.ts.map +1 -0
- package/types/server/session.d.ts +110 -0
- package/types/server/session.d.ts.map +1 -0
- package/types/server/setup.d.ts +49 -0
- package/types/server/setup.d.ts.map +1 -0
- package/types/server/sha256.d.ts +7 -0
- package/types/server/sha256.d.ts.map +1 -0
- package/types/server/signals.d.ts +17 -0
- package/types/server/signals.d.ts.map +1 -0
- package/types/server/signed.d.ts +9 -0
- package/types/server/signed.d.ts.map +1 -0
- package/types/server/site-facts.d.ts +8 -0
- package/types/server/site-facts.d.ts.map +1 -0
- package/types/server/site-paths.d.ts +3 -0
- package/types/server/site-paths.d.ts.map +1 -0
- package/types/server/sitemap.d.ts +35 -0
- package/types/server/sitemap.d.ts.map +1 -0
- package/types/server/snake-case.d.ts +2 -0
- package/types/server/snake-case.d.ts.map +1 -0
- package/types/server/source.d.ts +33 -0
- package/types/server/source.d.ts.map +1 -0
- package/types/server/speculation.d.ts +4 -0
- package/types/server/speculation.d.ts.map +1 -0
- package/types/server/sqlite-data.d.ts +14 -0
- package/types/server/sqlite-data.d.ts.map +1 -0
- package/types/server/sqlite-live.d.ts +3 -0
- package/types/server/sqlite-live.d.ts.map +1 -0
- package/types/server/stale-pages.d.ts +17 -0
- package/types/server/stale-pages.d.ts.map +1 -0
- package/types/server/stamp.d.ts +24 -0
- package/types/server/stamp.d.ts.map +1 -0
- package/types/server/storage.d.ts +70 -0
- package/types/server/storage.d.ts.map +1 -0
- package/types/server/stream.d.ts +26 -0
- package/types/server/stream.d.ts.map +1 -0
- package/types/server/string.d.ts +9 -0
- package/types/server/string.d.ts.map +1 -0
- package/types/server/svg-icon.d.ts +3 -0
- package/types/server/svg-icon.d.ts.map +1 -0
- package/types/server/swap.d.ts +3 -0
- package/types/server/swap.d.ts.map +1 -0
- package/types/server/tool-outputs.d.ts +12 -0
- package/types/server/tool-outputs.d.ts.map +1 -0
- package/types/server/tool-settings.d.ts +3 -0
- package/types/server/tool-settings.d.ts.map +1 -0
- package/types/server/trace-context.d.ts +17 -0
- package/types/server/trace-context.d.ts.map +1 -0
- package/types/server/trace.d.ts +33 -0
- package/types/server/trace.d.ts.map +1 -0
- package/types/server/translations.d.ts +8 -0
- package/types/server/translations.d.ts.map +1 -0
- package/types/server/typography.d.ts +3 -0
- package/types/server/typography.d.ts.map +1 -0
- package/types/server/uncaught.d.ts +9 -0
- package/types/server/uncaught.d.ts.map +1 -0
- package/types/server/unsafe-urls.d.ts +2 -0
- package/types/server/unsafe-urls.d.ts.map +1 -0
- package/types/server/violations.d.ts +18 -0
- package/types/server/violations.d.ts.map +1 -0
- package/types/server/visit.d.ts +11 -0
- package/types/server/visit.d.ts.map +1 -0
- package/types/server/vitals-routes/_guard.d.ts +3 -0
- package/types/server/vitals-routes/_guard.d.ts.map +1 -0
- package/types/server/vitals-screen.d.ts +5 -0
- package/types/server/vitals-screen.d.ts.map +1 -0
- package/types/server/vitals-script.d.ts +3 -0
- package/types/server/vitals-script.d.ts.map +1 -0
- package/types/server/vitals-server.d.ts +4 -0
- package/types/server/vitals-server.d.ts.map +1 -0
- package/types/server/vitals-store.d.ts +41 -0
- package/types/server/vitals-store.d.ts.map +1 -0
- package/types/server/vitals.d.ts +20 -0
- package/types/server/vitals.d.ts.map +1 -0
- package/types/server/web-socket.d.ts +11 -0
- package/types/server/web-socket.d.ts.map +1 -0
- package/types/server/wildcards.d.ts +3 -0
- package/types/server/wildcards.d.ts.map +1 -0
- package/types/server/words.d.ts +49 -0
- package/types/server/words.d.ts.map +1 -0
- package/types/server/work-scope.d.ts +14 -0
- package/types/server/work-scope.d.ts.map +1 -0
- package/types/server/work.d.ts +11 -0
- package/types/server/work.d.ts.map +1 -0
- package/types/server/workers.d.ts +23 -0
- package/types/server/workers.d.ts.map +1 -0
- package/types/server/workflow.d.ts +93 -0
- package/types/server/workflow.d.ts.map +1 -0
- package/types/server/writes.d.ts +4 -0
- package/types/server/writes.d.ts.map +1 -0
- package/types/server/ws-limits.d.ts +34 -0
- package/types/server/ws-limits.d.ts.map +1 -0
- package/types/svg-attributes.d.ts +2 -0
- package/types/svg-attributes.d.ts.map +1 -0
- package/types/template-auth.d.ts +4 -0
- package/types/template-auth.d.ts.map +1 -0
- package/types/template-ci.d.ts +4 -0
- package/types/template-ci.d.ts.map +1 -0
- package/types/template-config.d.ts +4 -0
- package/types/template-config.d.ts.map +1 -0
- package/types/template-docker.d.ts +6 -0
- package/types/template-docker.d.ts.map +1 -0
- package/types/template-pins.d.ts +11 -0
- package/types/template-pins.d.ts.map +1 -0
- package/types/template-shared.d.ts +28 -0
- package/types/template-shared.d.ts.map +1 -0
- package/types/template-starter.d.ts +7 -0
- package/types/template-starter.d.ts.map +1 -0
- package/types/template-styles.d.ts +10 -0
- package/types/template-styles.d.ts.map +1 -0
- package/types/template-ws.d.ts +4 -0
- package/types/template-ws.d.ts.map +1 -0
- package/types/templates.d.ts +11 -0
- package/types/templates.d.ts.map +1 -0
- package/types/test/browser.d.ts +17 -0
- package/types/test/browser.d.ts.map +1 -0
- package/types/test/clock.d.ts +2 -0
- package/types/test/clock.d.ts.map +1 -0
- package/types/test/content.d.ts +20 -0
- package/types/test/content.d.ts.map +1 -0
- package/types/test/cookies.d.ts +9 -0
- package/types/test/cookies.d.ts.map +1 -0
- package/types/test/database.d.ts +2 -0
- package/types/test/database.d.ts.map +1 -0
- package/types/test/dom.d.ts +2 -0
- package/types/test/dom.d.ts.map +1 -0
- package/types/test/env.d.ts +2 -0
- package/types/test/env.d.ts.map +1 -0
- package/types/test/index.d.ts +24 -0
- package/types/test/index.d.ts.map +1 -0
- package/types/test/interact.d.ts +7 -0
- package/types/test/interact.d.ts.map +1 -0
- package/types/test/isolation.d.ts +2 -0
- package/types/test/isolation.d.ts.map +1 -0
- package/types/test/lazy-plugins.d.ts +8 -0
- package/types/test/lazy-plugins.d.ts.map +1 -0
- package/types/test/mount.d.ts +16 -0
- package/types/test/mount.d.ts.map +1 -0
- package/types/test/natives.d.ts +26 -0
- package/types/test/natives.d.ts.map +1 -0
- package/types/test/network.d.ts +62 -0
- package/types/test/network.d.ts.map +1 -0
- package/types/test/outputs.d.ts +5 -0
- package/types/test/outputs.d.ts.map +1 -0
- package/types/test/override-env.d.ts +9 -0
- package/types/test/override-env.d.ts.map +1 -0
- package/types/test/page-types.d.ts +108 -0
- package/types/test/page-types.d.ts.map +1 -0
- package/types/test/page.d.ts +19 -0
- package/types/test/page.d.ts.map +1 -0
- package/types/test/preload.d.ts +5 -0
- package/types/test/preload.d.ts.map +1 -0
- package/types/test/reset.d.ts +2 -0
- package/types/test/reset.d.ts.map +1 -0
- package/types/test/root.d.ts +2 -0
- package/types/test/root.d.ts.map +1 -0
- package/types/test/scratch.d.ts +2 -0
- package/types/test/scratch.d.ts.map +1 -0
- package/types/test/service.d.ts +23 -0
- package/types/test/service.d.ts.map +1 -0
- package/types/test/shared-modules.d.ts +3 -0
- package/types/test/shared-modules.d.ts.map +1 -0
- package/types/test/site-actions.d.ts +8 -0
- package/types/test/site-actions.d.ts.map +1 -0
- package/types/test/site-api.d.ts +4 -0
- package/types/test/site-api.d.ts.map +1 -0
- package/types/test/site-mcp.d.ts +4 -0
- package/types/test/site-mcp.d.ts.map +1 -0
- package/types/test/site-scope.d.ts +21 -0
- package/types/test/site-scope.d.ts.map +1 -0
- package/types/test/site-socket.d.ts +4 -0
- package/types/test/site-socket.d.ts.map +1 -0
- package/types/test/site-types.d.ts +123 -0
- package/types/test/site-types.d.ts.map +1 -0
- package/types/test/sites.d.ts +4 -0
- package/types/test/sites.d.ts.map +1 -0
- package/types/test/timeout.d.ts +2 -0
- package/types/test/timeout.d.ts.map +1 -0
- package/types/test/wait.d.ts +7 -0
- package/types/test/wait.d.ts.map +1 -0
- package/types/test/writable.d.ts +2 -0
- package/types/test/writable.d.ts.map +1 -0
- package/types/tsgo.d.ts +3 -0
- package/types/tsgo.d.ts.map +1 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Texts from kay and its libraries
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
- Show, switch and format messages: the tasks of [Locales](locales.md#common-tasks).
|
|
6
|
+
|
|
7
|
+
## Reference
|
|
8
|
+
|
|
9
|
+
### Texts from kay and its libraries
|
|
10
|
+
|
|
11
|
+
- What a visitor reads that kay or a library wrote, not the app, is looked up in the app's catalogs under `kay.*`, `ui.*` (kayjs-ui), `cms.*`, `auth.*` (kayjs-auth), `mail.*` (kayjs-mail) and `ai.*` (kayjs-ai) keys before its English, so one block of `src/messages/<locale>.ts` words them all for the site; a site without the keys reads the English it did, except where a library ships a catalog for the locale: kayjs-ui, kayjs-mail and kayjs-cms ship French, read after the app's own.
|
|
12
|
+
- `wording(key, english, params?)` from `kay/words` is that lookup for a library: the message at `key` when a catalog has it, else `english`, `{placeholders}` filled either way, with no failing on a missing key and no request needed; an island's source naming the key as a literal, `wording('ui.close', 'Close')`, sends the message to the browser as `t('key')` does, and a key no catalog has sends nothing. A `Date` param is written as the page's locale writes it (`4 oct. 2026`), in the English too, while a number in the English is written plain (`1024`) and only a catalog groups it (`1,024`, `1 024`), so a site that words a count or a limit puts the key in its catalog. `pageLocale()` from it gives the locale to format a date in, and `sizeText(bytes, locale?)` writes a size in it (`1.5 MB`, `1,5 Mo`), the page's locale by default. `formatDate(value, options?)` and `formatNumber(value, options?)` from it are `kay/i18n`'s in the page's locale and the site's `timeZone`, without the rest of that module, which an island of a library imports to keep the page light.
|
|
13
|
+
- `kay/words` is its own small module, about 0.3 KB gzipped in the browser, so a library's islands do not load all of `kay/i18n` for a label; it reads the page's messages as `t` does, and takes strings, `{placeholders}` and plural forms.
|
|
14
|
+
- A locale may give a `kay.*`, `ui.*`, `cms.*`, `auth.*`, `mail.*` or `ai.*` key the default locale does not, so a French block needs no English twin: `kay check` compares such a key's `{placeholders}` with the English the code holds (kay's table, or the library's installed sources) and reports one dropped or invented, but not the key's absence from the default locale.
|
|
15
|
+
- A per-action `messages`, a schema's `error` and a component's label prop stay the overrides, and win over the catalog.
|
|
16
|
+
- A schema refusal without an `error` reads `kay.invalid.<kind>`, Elysia's own wording when the site gives none: `required` (nothing sent), `tooShort` (`{min}`), `tooLong` (`{max}`), `pattern`, `tooSmall` (`{min}`), `tooBig` (`{max}`), `format` (`{format}`, the schema's format such as `email`), `tooFewItems` (`{min}`) and `tooManyItems` (`{max}`) for an array out of its `minItems` and `maxItems`, and `type` for anything else, such as a wrong type, an exclusive bound or a union no branch fits. The browser's form check before a post reads the same keys with the same params in the page's locale, a page with a checked form sending them (only those the catalogs word, so a site without them sends nothing and reads Elysia's English), and a schema's own `error` still wins.
|
|
17
|
+
- A field of an entry the schema refuses (a CMS save or draft, `kay build`, `kay check`) reads as a sentence naming the field by its label, its schema `title` else its key worded (`publishedAt` gives `Published at`), under `kay.entry.*` with the kinds above, each holding `{field}` as well as its limit: `entry.required` (`{field} is required`), `entry.tooShort` (`{min}`), `entry.tooLong` (`{max}`), `entry.pattern`, `entry.format` (`{format}`), `entry.tooFewItems` (`{min}`), `entry.tooManyItems` (`{max}`), `entry.tooSmall` (`{min}`), `entry.tooBig` (`{max}`) and `entry.type` (`{field} is not valid`); `entry.item` (`{field}, item {n}`) names an item of a list and `entry.data` (`The data`) an entry that is no object. A schema's own `error` on the field still wins. The issue sits on the nested field it concerns (`networks.youtube`), on the line of its top-level field in a build. The editor words them in the request's locale; `kay build` and `kay check` read no request, so they word them in the site's default locale from its catalogs, the English where it gives none.
|
|
18
|
+
- The other `kay.*` keys, with their English: `action.serverError` (Something went wrong on our side; try again later), `action.timeout` (This took too long; try again later), `action.invalidFile` (Invalid file type), `action.bodyLimit` (Too large to send; {size} at most, the size written in the page's locale: `1 Mo`, `200 octets`), `link.newTab` ((opens in a new tab), said to screen readers after a link kay opens in a new tab), `offline.title` (Offline) and `offline.text` (This page needs a connection, and none is open.), the page the service worker gives offline for a page it did not keep, in the default locale, `protection.honeypot` (Leave this field empty), `protection.minTime.early` (Sent too fast; take a moment, then send it again), `protection.minTime.expired` and `protection.proofOfWork.expired` (This form has expired; send it again), `protection.proofOfWork.missing` (Turn JavaScript on to send this form), `protection.proofOfWork.wrong` (This form could not be checked; send it again), `protection.rateLimit` (Too many attempts; try again in {seconds} s).
|
|
19
|
+
- kayjs-ui's `ui.*` keys are listed in its `llms.txt`. kayjs-ai has one, `ai.chat.disclosure`, the line `Chat` shows that the visitor talks to an AI.
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
export default defineMessages({
|
|
23
|
+
kay: {
|
|
24
|
+
invalid: { required: 'Champ requis', tooShort: 'Au moins {min} caractères' },
|
|
25
|
+
protection: { rateLimit: 'Trop d\'essais, réessayez dans {seconds} s' },
|
|
26
|
+
},
|
|
27
|
+
})
|
|
28
|
+
```
|
package/llms/locales.md
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# Locales
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
### Serve a site in several locales
|
|
6
|
+
|
|
7
|
+
`i18n` in kay.config.ts serves every page in each locale, the default one unprefixed and the others under their prefix: `/about` and `/en/about`:
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
export default defineConfig({
|
|
11
|
+
i18n: { locales: ['fr', 'en'], defaultLocale: 'fr' },
|
|
12
|
+
})
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Serve each locale on its own host
|
|
16
|
+
|
|
17
|
+
`domains` replaces the prefixes with a host per locale:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
export default defineConfig({
|
|
21
|
+
i18n: {
|
|
22
|
+
locales: ['fr', 'en'],
|
|
23
|
+
defaultLocale: 'fr',
|
|
24
|
+
domains: { fr: 'example.fr', en: 'example.com' },
|
|
25
|
+
},
|
|
26
|
+
})
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Name a page its own way in a locale
|
|
30
|
+
|
|
31
|
+
`paths` is keyed by the pattern the page is served under, which is the default locale's path: the page is the file named after it, and `paths` translates it for the other locales. With French the default, `/a-propos` is served at `/en/about` in English and `/blog/:slug` at `/en/articles/hello`, and a link is written as the default locale's path. Translating the default locale itself, `{ '/about': { fr: '/a-propos' } }`, makes `kay check` warn, as a link to `/a-propos` would not localize:
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
export default defineConfig({
|
|
35
|
+
i18n: {
|
|
36
|
+
locales: ['fr', 'en'],
|
|
37
|
+
defaultLocale: 'fr',
|
|
38
|
+
paths: { '/a-propos': { en: '/about' }, '/blog/:slug': { en: '/articles/:slug' } },
|
|
39
|
+
},
|
|
40
|
+
})
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Write the messages of a locale
|
|
44
|
+
|
|
45
|
+
One file per locale in `src/messages/<locale>.ts`, exporting its messages by default through `defineMessages`, with plural forms picked by `count`:
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import { defineMessages } from 'kay/i18n'
|
|
49
|
+
|
|
50
|
+
export default defineMessages({
|
|
51
|
+
nav: { home: 'Accueil' },
|
|
52
|
+
greeting: 'Bonjour {name}',
|
|
53
|
+
items: {
|
|
54
|
+
zero: 'Aucun article',
|
|
55
|
+
one: '{count} article',
|
|
56
|
+
other: '{count} articles',
|
|
57
|
+
},
|
|
58
|
+
})
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Show a message
|
|
62
|
+
|
|
63
|
+
`t` of `kay/i18n` gives the message in the request's locale:
|
|
64
|
+
|
|
65
|
+
```kay
|
|
66
|
+
---
|
|
67
|
+
import { t } from 'kay/i18n'
|
|
68
|
+
|
|
69
|
+
const { name, count } = props<{ name: string, count: number }>()
|
|
70
|
+
---
|
|
71
|
+
nav
|
|
72
|
+
a(href="/") {t('nav.home')}
|
|
73
|
+
p {t('greeting', { name })}
|
|
74
|
+
p {t('items', { count })}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Put a link in the middle of a message
|
|
78
|
+
|
|
79
|
+
`T` renders a message whose tags are filled by the blocks of their names, `intro: 'Read <about>our story</about>, {name}.'`:
|
|
80
|
+
|
|
81
|
+
```kay
|
|
82
|
+
--- server
|
|
83
|
+
import { T } from 'kay/i18n'
|
|
84
|
+
---
|
|
85
|
+
T(key="intro" name="Ada")
|
|
86
|
+
@about(text)
|
|
87
|
+
a(href="/about") {text}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Switch language
|
|
91
|
+
|
|
92
|
+
`alternate` gives the page being rendered in another locale (for a routed collection's entry read with `get()`, its translation's own url), and a link carrying `hreflang` stays as written:
|
|
93
|
+
|
|
94
|
+
```kay
|
|
95
|
+
--- server
|
|
96
|
+
import { alternate } from 'kay/i18n'
|
|
97
|
+
---
|
|
98
|
+
a(href={alternate('fr')} hreflang="fr") Français
|
|
99
|
+
a(href={alternate('en')} hreflang="en") English
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
`locales()` lists every locale of `i18n`, typed as the app's `Locale`, and `localeName(code)` names one in its own language, so a switcher hard-codes neither:
|
|
103
|
+
|
|
104
|
+
```kay
|
|
105
|
+
--- server
|
|
106
|
+
import { alternate, localeName, locales } from 'kay/i18n'
|
|
107
|
+
---
|
|
108
|
+
nav
|
|
109
|
+
for code of locales()
|
|
110
|
+
a(href={alternate(code)} hreflang={code}) {localeName(code)}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Format a number, a date or a list
|
|
114
|
+
|
|
115
|
+
These format through `Intl` for the request's locale:
|
|
116
|
+
|
|
117
|
+
```kay
|
|
118
|
+
--- server
|
|
119
|
+
import { formatBytes, formatDate, formatDuration, formatList, formatNumber, formatRelativeTime } from 'kay/i18n'
|
|
120
|
+
---
|
|
121
|
+
p {formatNumber(1234.5)}
|
|
122
|
+
p {formatBytes(1536)}
|
|
123
|
+
p {formatDuration(7_500_000)}
|
|
124
|
+
p {formatDate(new Date(), { dateStyle: 'long' })}
|
|
125
|
+
p {formatRelativeTime(new Date(Date.now() - 3 * 86_400_000))}
|
|
126
|
+
p {formatList(['Ada', 'Grace'])}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Show a date relative to now that keeps ticking
|
|
130
|
+
|
|
131
|
+
`relativeTime` is a memo of that date relative to now, read by calling it, and makes the component an island:
|
|
132
|
+
|
|
133
|
+
```kay
|
|
134
|
+
---
|
|
135
|
+
import { relativeTime } from 'kay/i18n'
|
|
136
|
+
|
|
137
|
+
const { date } = props<{ date: Date }>()
|
|
138
|
+
const ago = relativeTime(() => date)
|
|
139
|
+
---
|
|
140
|
+
time {ago()}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
kayjs-ui's `RelativeTime(date)` is this with the full date as a tooltip the keyboard reaches.
|
|
144
|
+
|
|
145
|
+
### Link to a path that is no link
|
|
146
|
+
|
|
147
|
+
`localize` gives a path in the request's locale, for a redirect, a `fetch` or a URL to share:
|
|
148
|
+
|
|
149
|
+
```kay
|
|
150
|
+
--- server
|
|
151
|
+
import { localize } from 'kay/i18n'
|
|
152
|
+
|
|
153
|
+
const target = localize('/about')
|
|
154
|
+
---
|
|
155
|
+
p {target}
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Reference
|
|
159
|
+
|
|
160
|
+
### Configuring locales
|
|
161
|
+
|
|
162
|
+
- `i18n` in kay.config.ts serves every page in each locale, the default one unprefixed and the others under their prefix: `/about` and `/en/about`.
|
|
163
|
+
- `prefixDefault: true` puts the default locale under its prefix too, `/fr/about`; a path without one then redirects with a 307 to the visitor's locale: the one they last went to, kept in the `kay_locale` cookie once they follow a link of the site to it, then the best match of their browser's `Accept-Language`, then the default.
|
|
164
|
+
- Without `prefixDefault` the URL alone decides.
|
|
165
|
+
- `domains: { fr: 'example.fr', en: 'example.com' }` serves each locale on its own host instead, with no prefixes; a host not listed serves the default locale, and every locale needs a host.
|
|
166
|
+
- `domains` and `prefixDefault` do not go together.
|
|
167
|
+
- A page cannot sit under a locale's prefix itself, `src/routes/en/`: kay serves every page there already.
|
|
168
|
+
- A root `[slug].kay` with no `index.kay` would take `/en` as a slug, so give the site an index page.
|
|
169
|
+
- `paths` names a page its own way in some locales, keyed by the pattern the page is served under: `{ '/a-propos': { en: '/about' }, '/blog/:slug': { en: '/articles/:slug' } }`, the pattern being the default locale's path (`kay check` warns on a translation of the default locale).
|
|
170
|
+
- A translation keeps the page's `:params`, an optional `:page?` and a final `*` alike, and may move them.
|
|
171
|
+
- The page is then served at `/en/about` and `/en/articles/hello`, its untranslated path in that locale redirecting there with a 308, unless a public file, an endpoint, a redirect, an API route or a feed serves it, and with domains a host serves only its own locale's paths.
|
|
172
|
+
- `localize`, `alternate`, the `hreflang` links, the sitemap and `kay build --static` follow, and `kay check` checks links against the translated paths.
|
|
173
|
+
- A pattern no page serves, or a translation another page of the locale takes, stops the server.
|
|
174
|
+
|
|
175
|
+
### Messages
|
|
176
|
+
|
|
177
|
+
- Messages live in `src/messages/<locale>.ts`, one file per locale, `messages` in `i18n` naming another directory.
|
|
178
|
+
- Each exports its messages by default through `defineMessages`, nested as you like, a group never holding only keys named like plural forms (`one`, `other`...), which would read as one plural message.
|
|
179
|
+
- The catalog may also be a `const` exported later (`export default m`, `export { m as default }`), wrapped in a call handed it alone (`defineMessages({ ... })`, `omit({ ... })`) or in `as`/`satisfies`, and hold a group bound to a `const` (`ui: { table }`) or a spread of a `const` object (`...base`); a later key overrides an earlier one, as in JavaScript. `kay check` (`draft-message`) and the drafts kay writes read all these forms alike; a `const` group named by two paths is one literal, reported and edited once at the first path, and a `let`, a call with several arguments or a computed key is not read.
|
|
180
|
+
- The default locale's file is the reference `kay check` holds the others to, and a key a locale lacks falls back to the default locale's text.
|
|
181
|
+
- A message whose line ends on a `// draft` comment is a draft (the line its key is on: a plural's opening brace counts, a group's does not mark the messages under it), as a machine translation is written: served as any message, reported by `kay check` (`draft-message`, warn) until a person deletes the comment or runs `kay i18n accept <locale> [dir]`, which deletes every draft comment of that locale's file.
|
|
182
|
+
- `kay i18n missing [locale] [dir] [--format text|json]` lists what each locale lacks against the default one: message keys, its libraries' catalogs included, and the slugs a localized collection has in the default locale and not in it, a draft counting as there; `--format json` prints `{ locales: { fr: { messages: [keys], entries: { news: [slugs] } } } }`.
|
|
183
|
+
- `kay i18n translate <locale>` (`--dry-run`, `--quiet`), added by `@kayjs/ai`'s `ai()` extension, translates what `kay i18n missing` lists with a model and writes it as drafts: messages `// draft`, an entry of a localized collection with its `draft: '<field>'` field set true or, without one, a first YAML line `# draft` (a CMS saving the entry removes it, `kay check` reports it as `draft-entry` until then); a text that drops a `{placeholder}` is never written.
|
|
184
|
+
- A key no locale has, as a computed one may be, fails the render in development and tests, is logged in the browser in development, and shows as itself in production.
|
|
185
|
+
|
|
186
|
+
```ts
|
|
187
|
+
import { defineMessages } from 'kay/i18n'
|
|
188
|
+
|
|
189
|
+
export default defineMessages({
|
|
190
|
+
nav: { home: 'Accueil' },
|
|
191
|
+
greeting: 'Bonjour {name}',
|
|
192
|
+
items: {
|
|
193
|
+
zero: 'Aucun article',
|
|
194
|
+
one: '{count} article',
|
|
195
|
+
other: '{count} articles',
|
|
196
|
+
},
|
|
197
|
+
})
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
- A library whose package.json declares `"kay": { "messages": "./src/messages" }`, kayjs-ui for one, gives its catalogs to every app that installs it with no line in `kay.config.ts`; a regional locale such as `fr-CA` reads its language's catalog when the library has none for the region, and a locale it has no catalog for reads the default locale's texts, which `kay check` does not ask the app to translate. The app's file, then an extension of the same name, win over it.
|
|
201
|
+
- A library listed in `extensions` can bring catalogs of its own, `<locale>.ts` each in the directory its `messages` names (see [Extensions](component-libraries.md#extensions)).
|
|
202
|
+
- Every locale reads the library's messages with the app's laid over them key by key, so `auth: { title: 'Connexion' }` in `src/messages/fr.ts` replaces that one text of the library and keeps the rest.
|
|
203
|
+
- `t()` types the keys of both, and `kay check` holds each locale to the default one's keys, a library's included where it ships a catalog for the locale, so a key that catalog leaves out is the app's to fill.
|
|
204
|
+
- The app needs no file of its own for a locale the library translates.
|
|
205
|
+
- Without `i18n`, a site is in its one language, its `lang` (`en` without one): `t()` reads its libraries' catalogs for it, with the app's `src/messages/<lang>.ts` laid over them when it has one, and `kay check` types the keys of both.
|
|
206
|
+
- Without `i18n`, `locale()` is that language, `localize()` gives a path back as written, and no page gets `hreflang` links, so a library's pages read their texts in any app.
|
|
207
|
+
|
|
208
|
+
### Helpers
|
|
209
|
+
|
|
210
|
+
- `t`, `locale`, `locales`, `localeName`, `direction`, `localize`, `alternate`, `formatNumber`, `formatDate`, `formatRelativeTime`, `relativeTime` and `formatList` come from `kay/i18n`, which works anywhere a request is served from: loads, templates, components, islands, actions and guards, and in `renderToString` outside one, in the site's default locale or the one its `locale` option names (see rendering). An island's `alternate()` follows an entry's translated slug only when the page read the entry before its shell flushed; on a streamed page that reads it in a deferred block, the island links to the same slug.
|
|
211
|
+
- `t('greeting', { name })`, imported from `kay/i18n` where a template, a fence or an island uses it, gives a message in the request's locale, its key and placeholders typed from the default locale's file.
|
|
212
|
+
- A number fills a placeholder formatted for the locale, `1 234` in French, and a date with `dateStyle: 'medium'`.
|
|
213
|
+
- An object of plural forms is picked by `count` through `Intl.PluralRules`, `zero` taking 0 whenever it is given.
|
|
214
|
+
- A key no locale has renders as itself.
|
|
215
|
+
- `const ago = relativeTime(() => post.date)`, its options `Intl.RelativeTimeFormat`'s, is a memo of that date relative to now, read as `{ago}` in the template, that goes on ticking: every second under a minute away, every minute under an hour, every hour past that, until the island ends, paused while the tab is hidden and caught up as it shows again. The options may be a function too.
|
|
216
|
+
- The server renders it relative to the moment the page is rendered at, which it writes into the page, and the island's first render in the browser reads that moment too, so hydrating changes nothing; it then moves to the browser's clock.
|
|
217
|
+
- Using it makes the component an island.
|
|
218
|
+
- `T` renders a message holding markup, such as a link mid-sentence: see [Messages holding markup](#messages-holding-markup).
|
|
219
|
+
- `formatNumber(value, options)` and `formatDate(value, options)` format through `Intl` for the request's locale, and so do `formatRelativeTime(date)`, a date relative to now in the largest unit it reaches, `3 days ago`, `yesterday` or `in 2 hours`, `formatRelativeTime(2, 'week')` in the unit given, and `formatList(['Ada', 'Grace'])`, `Ada and Grace`. Outside a request, in a job, an alert or a push, these and `direction()` use the site's default locale (`en` when the site names none) instead of throwing, so a page and a mail format the same date alike. Each takes a `locale` among its options (`formatDate(date, { locale: user.locale })`) that wins over the request's, for a mail written in its reader's language. `formatDate` options that name no part of the date (none, a `locale`, a lone `timeZone` or `calendar`) give the medium date, as no options do.
|
|
220
|
+
- `formatBytes(1536)` is `1.5 kB` and `formatDuration(7_500_000)`, in milliseconds, is `2 hr 5 min`, each in the page's locale with a `locale` option of its own, `unitDisplay: 'long'` for the unit in full. `timeZone: 'Europe/Paris'` in kay.config.ts is the zone every `formatDate`, a message's date placeholder, `RelativeTime`'s tooltip write in; a chart's labels keep the machine's zone, on the server and in the islands alike, unless a call names its own `timeZone`, so on the server a time of day built from an instant is written in the server's zone until the island rewrites it in the visitor's, and `timeZone()` from `kay/i18n` reads it.
|
|
221
|
+
- In an island, give `formatRelativeTime` the moment it is relative to, `{ now }`, from the server, so the browser renders what the server did, or use `relativeTime`.
|
|
222
|
+
- `locales()` is the configured locales in `i18n`'s order, only the page's own without `i18n`; `localeName('fr')` is `Français`, `localeName('pt-BR')` is `Português (Brasil)`, each in its own language through `Intl.DisplayNames`, first letter capitalized, a code `Intl` cannot read as written.
|
|
223
|
+
- `direction()` is `rtl` or `ltr`, for the request's locale or the one given.
|
|
224
|
+
- `locale()` names it, as do `ctx.locale` in pages, guards, endpoints and actions, and `t()`, `wording()` and `locale()` in API handlers and their `onError`, the locale of the page the call came from, the site's `lang` (English by default) without `i18n`.
|
|
225
|
+
- A link written as the default locale names a page, `a(href="/about")`, goes to the page's locale's copy as it renders: `/en/about` on an English page, translated by `paths`, on the locale's host with `domains`.
|
|
226
|
+
- So do links to a localized collection's feed, the links of Markdown entries, and those an island renders in the browser, so converting a site needs no change to its links; a page whose islands write no link and read nothing of `kay/i18n` loads none of that code.
|
|
227
|
+
- A link carrying `hreflang` stays as written, as a language switcher's must: `a(href={alternate('fr')} hreflang="fr")`.
|
|
228
|
+
- So does one already under a locale's prefix, one to a file a param would take (`/blog/cover.png`), and one to no page, such as an API route or a public file.
|
|
229
|
+
- `localize('/about')` is that path in the request's locale, or in the one given as second argument, checked like any link, for a path that is no `a`'s href: a redirect, a `fetch`, a URL to share. A path already under a locale's prefix, such as a guard's `?redirect=/en/account`, stays as it is.
|
|
230
|
+
- `alternate('en')` is the page being rendered in another locale, for a language switcher.
|
|
231
|
+
- With domains, a locale on another host gives its absolute URL.
|
|
232
|
+
- An island gets only the messages it uses: those it looks up while rendering on the server and the keys its own source passes `t()`, or `T` as `key`, as they are written.
|
|
233
|
+
- A key built at runtime, or looked up only in a module the island imports, reaches the browser only if the server render used it.
|
|
234
|
+
- A content collection with `localized: true` keeps one folder per locale, `src/content/posts/en/hello.md`, and reads the request's locale's entries, the default locale's standing in; see content.
|
|
235
|
+
- An action runs in the locale of the page it was sent from, the one its `ctx.params` are read off (see actions), then the cookie and the browser's languages.
|
|
236
|
+
|
|
237
|
+
### The page's markup
|
|
238
|
+
|
|
239
|
+
- The page's `<html lang>` is its locale, with `dir="rtl"` for one written right to left, such as Arabic, Hebrew, Persian or Urdu, so the page lays itself out that way and CSS logical properties, `margin-inline-start`, follow.
|
|
240
|
+
- With `site`, every page links its copy in each locale, `<link rel="alternate" hreflang>` (a routed entry's translation at its own slug), `x-default` being the default locale's, its canonical URL is its own locale's, and the sitemap lists every copy with the others as `xhtml:link` alternates, a routed entry's translation at its own slug there too.
|
|
241
|
+
- `kay build` prerenders a page once per locale.
|
|
242
|
+
|
|
243
|
+
### French typography
|
|
244
|
+
|
|
245
|
+
- A page whose `lang` is `fr` or `fr-...` (the site's `lang`, or the locale of a French page under `i18n`) is written with a non-breaking space (U+00A0) in place of the plain one before `:`, `;`, `!`, `?` and `»`, and after `«`, so a mark never wraps to the next line alone. Nothing is typed: `Voulez-vous continuer ?` in a template, a prop, a `.ts` constant or a Markdown collection comes out right.
|
|
246
|
+
- It runs once over the page's markup on the server, so the shell, the blocks of an `await` as they stream, the pages `kay build` prerenders and exports, the server islands, the error and not-found pages and the offline page all have it, and a page in any other language costs nothing. The last few markups it spaced are remembered, so a page rendered per request with the same markup each time, as a not-found page, is not read again. It rewrites the text and the `alt`, `title`, `aria-label` and the `content` of a description or title meta (`description`, `title`, `og:` and `twitter:` ones, not an image `alt`).
|
|
247
|
+
- It leaves the text of `code`, `pre`, `kbd`, `samp`, `script`, `style`, `textarea`, comments, other attributes, URLs and times such as `12:30` as they are, works within one text node, so a colon right after a tag stays, and keeps any U+00A0 or U+202F already typed. Markup it cannot read ends the pass at that point, the rest going out as it was. A space before a mark in prose such as ` :D` is rewritten too, a streamed block or server island is read alone, so one placed inside a `pre` or `code` is rewritten, and an `option` without a `value` submits its text, so give it one.
|
|
248
|
+
- `client: { typography: false }` in `kay.config.ts` turns it off.
|
|
249
|
+
- An island's text goes through the same spacing in the browser, when its page is in French: a text the island writes while hydrating keeps the server's spaces, and a text a signal updates, a block shown later or a client-only island writes gets them. The text inside `code`, `pre`, `kbd`, `samp`, `script`, `style` and `textarea` is left alone there too, as are the `alt`, `title` and `aria-label` an island sets. A text a block writes outside any element of its own, such as `| a : b` under an `if` inside a `code`, is the one case spaced there, as the browser does not yet know where it goes.
|
|
250
|
+
- That code is built into the browser entry only for an app whose `lang` is French, or whose `i18n` lists a French locale, with `typography` not `false`, about 0.3 KB gzipped in the entry; an app without a French page ships none of it, and each island's own chunk is the same size.
|
|
251
|
+
|
|
252
|
+
### Messages holding markup
|
|
253
|
+
|
|
254
|
+
- `T` from `kay/i18n` renders a message whose tags are filled by the blocks of their names, `intro: 'Read <about>our story</about>, {name}.'` through:
|
|
255
|
+
|
|
256
|
+
```kay
|
|
257
|
+
--- server
|
|
258
|
+
import { T } from 'kay/i18n'
|
|
259
|
+
---
|
|
260
|
+
T(key="intro" name="Ada")
|
|
261
|
+
@about(text)
|
|
262
|
+
a(href="/about") {text}
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
- Each block gets its tag's text, placeholders filled; the text inside a tag and out is escaped, a value holding `<b>` included.
|
|
266
|
+
- `kay check` types the key, the placeholders as props and one block per tag of the default locale's message, a tag without its block or a block for no tag being an error, and holds every locale to the default one's tags.
|
|
267
|
+
- Tags do not nest, and a plural's `count` goes as a prop like any placeholder.
|
|
268
|
+
- In an island, `T` renders again when a placeholder changes.
|
|
269
|
+
- `t()` gives such a message with its tags as written.
|
package/llms/mcp.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# MCP endpoint
|
|
2
|
+
|
|
3
|
+
The reference for `mcp` in `kay.config.ts`; the first steps, `mcp: true` and a tool per action, are in [API routes](api-routes.md#let-an-agent-call-the-app).
|
|
4
|
+
|
|
5
|
+
## Common tasks
|
|
6
|
+
|
|
7
|
+
### Tell an agent how the tools fit together
|
|
8
|
+
|
|
9
|
+
Guidance spanning several tools goes in `instructions`, which a client shows its model before any tool description:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
// kay.config.ts
|
|
13
|
+
export default defineConfig({
|
|
14
|
+
mcp: { instructions: 'Read French screen text through temtem_resolve first; box entries are addressed by the id temtem_box answers.' },
|
|
15
|
+
})
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Test the endpoint as an agent
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import { testSite } from 'kay/test'
|
|
22
|
+
|
|
23
|
+
const site = await testSite()
|
|
24
|
+
|
|
25
|
+
expect((await site.mcp.initialize()).instructions).toContain('temtem_resolve')
|
|
26
|
+
expect((await site.mcp.tools()).map(tool => tool.name)).toContain('add_note')
|
|
27
|
+
expect(await site.mcp.call('add_note', { title: 'Milk' })).toMatchObject({ isError: false })
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Reference
|
|
31
|
+
|
|
32
|
+
- `mcp: true` serves Streamable HTTP at `/mcp`, or at `mcp: { path: '/tools' }` under the same rules as the OpenAPI paths, its sign-in metadata then at `/.well-known/oauth-protected-resource/tools`: one JSON-RPC message per `POST`, answered with JSON, `initialize`, `ping`, `tools/list` and `tools/call` only, no resources or prompts. `GET` and `DELETE` answer 405, a notification 202.
|
|
33
|
+
- `mcp: { rateLimit: { max: 60, window: '1m' } }` caps the requests one client may send the endpoint in a window, 120 a minute by default, `false` for none (a bare number, the requests a minute, still works and `kay upgrade` rewrites it), counted in `store.rates` where the app has one so replicas share it; one past it answers 429 with `Retry-After` and `Too many requests; try again in N s`, as an API module does. A call also meets the limits of the action or route it runs.
|
|
34
|
+
- `mcp: { instructions: 'Read French text through temtem_resolve first.' }` is sent as `instructions` of `initialize`, the MCP spec's field for guidance spanning tools that a client shows its model before any tool description; a non-empty string, else the boot fails. Absent, `initialize` carries none.
|
|
35
|
+
- `mcp: { key }` requires `Authorization: Bearer <key>` on every request to the endpoint, for a local agent holding a static key where no OAuth server signs it in: `key: true` reads `KAY_MCP_KEY`, else the trimmed file `KAY_MCP_KEY_FILE` names (a container secret); a string is the key itself; `{ file: 'data/mcp-key' }` reads the environment, else that file, made on first use with a random key (folder `0700`, file `0600`); a relative path is resolved against the project root, and against the working directory in a compiled server (`kay build --compile`), so it lands next to where the executable runs like a relative `sqlite://` path does, and an absolute one is used as given. A key is at least 16 characters, read once at boot, so a rotation is a restart. The check runs after the cross-site check and the rate limit (which refused guesses count against) and before the body is read: `initialize`, `ping`, `tools/list`, calls, notifications and unreadable bodies alike answer 401 with `WWW-Authenticate: Bearer realm="mcp"` and one JSON-RPC error, the same for a missing, malformed or wrong key. The scheme is matched in any case; the key is compared in constant time (both sides hashed first, so its length shows nothing). `GET` and `DELETE` stay 405. A tool call is dispatched by the endpoint after the check, so it needs nothing more, and the bearer is not passed on to the route or action it runs. A production server with `key: true` and no key does not boot; elsewhere, with none given, every request is refused and a warning names the variables. Checked under `kay dev` and `kay/test` too.
|
|
36
|
+
- An endpoint with `mcp.key` takes the static key alone: a kayjs-auth OAuth token is refused there, and the bearer is not passed on. With `proxy.key`, a `POST` to it is open to that check by itself (this path only; the rate limit counts the address `proxy` reads, so spoofing needs `hops` or `header` trusted from a caller that can reach the port, and a key of 32 random characters or more, as `{ file }` makes, makes guessing pointless), as its bearer is its credential: no `proxy.open: ['/mcp']` and no app guard. [Proxy and security](proxy-and-security.md).
|
|
37
|
+
- A message that is no JSON-RPC request answers 400, a body over `maxSize` 413, a request from another site (`Origin`, `Sec-Fetch-Site`) 403.
|
|
38
|
+
- A tool per action that sets `tool` and per API route whose `detail` sets `tool`, even with `openapi` off; a route that does not is in the OpenAPI document and no tool: absent from `tools/list`, and a `tools/call` naming it is refused as any unknown name is. Before 1.51 every route not hidden was a tool.
|
|
39
|
+
- A route's `detail.tool` is `true`, a description, or `{ name, description }`, as an action's. Its tool is named by `tool.name` else its `operationId` (a route setting only `tool.name` takes it as its `operationId`), made a safe name (`users.list` is `users_list`, a clash `_2`), described by `tool`'s description else its `summary` and `description`, its input one JSON Schema of the path params, query and JSON body, merged by name.
|
|
40
|
+
- Left out: `detail: { hide: true }` routes, `tool` or not (`hidden-tool` in `kay check`), websockets, a route whose body is files, text or bytes, an action holding a file, an action in a file whose pages have route params (a post from no page cannot name one), and `in: header` parameters. `tools/list` is served behind the API directory's `_guard.ts` as the document is, and with `requireGuards` it is refused (403) unless the guards cover every module; `initialize` and `ping` stay open, and a call runs the guards of its own route.
|
|
41
|
+
- A route answering every method, `.all()`, that sets `tool` is a tool per method; a `tool.name` takes the method as a suffix, `echo_get`.
|
|
42
|
+
- An action is a tool only when its third argument sets `tool`: `true`, a description, or `{ name, description }`; its name is the export in snake case, `addNote` is `add_note`, a clash `add_note_2`, and its input schema is the action's as JSON: `s.Integer()` and `s.Numeric()` read as a number, not also as the text a form sends (which a call still takes), and a top-level body or query field with a `default` is left out of `required`, as a call omitting it gets the default.
|
|
43
|
+
- A name is made of letters, digits and `_`, at most 64 characters.
|
|
44
|
+
- A call is dispatched through the whole app as a fetch to the route's or action's URL would be, so its guards, `rateLimit`, body limit, schema validation and `ctx.locals` are the web path's; `ctx.params` and `ctx.url` of an action are read as for a script's post from no page.
|
|
45
|
+
- It carries the caller's `Authorization` (not the endpoint's own `mcp.key` bearer), `Cookie`, `Accept-Language` and `User-Agent`, and rate limits count the caller's address as `proxy` reads it, not the server's.
|
|
46
|
+
- `toolCall(request)` from `kay/server` answers `{ tool, client }` for a request the endpoint dispatched, `tool` being the tool's name and `client` the address of the agent's client, and `undefined` for any other. It reads a hook registered before `pages()` (`.onRequest`), a guard's `request` and a handler's alike, and a client sending the marker headers itself is no tool call: the marker is a per-process secret. A front guard lets a bearer key reach the tools alone: `if (key && url.pathname !== '/mcp' && !toolCall(request)) deny(403, 'The key opens tools only')`; `/mcp` is let through because `tools/list` runs the API directory's guards as a request to `/mcp`, with no tool call.
|
|
47
|
+
- An `onRequest` hook that throws, the app's own Elysia one, a param matcher, `rewrite` or an extension's, is answered like a handler that throws: logged, handed to `onError`, and a 500 with `Internal Server Error` in production, the message in development, instead of Elysia's 200; a GET asking for HTML gets the routes directory's `_error.kay` (or kay's error page) in the default locale, any other request plain text. A `Response` the hook throws is answered as given, and an `onError` registered before `pages()` answers first. An `_error.kay` drawn for it reads in `ctx.locals` what a `derive` added before it threw.
|
|
48
|
+
- `honeypot`, `minTime` and `proofOfWork` are skipped, as only a form a person filled in can pass them; a marker only the endpoint sets, a per-process secret no request can send, says so, and `rateLimit` still counts.
|
|
49
|
+
- A path param is one segment: it is percent-encoded and an empty one, `.` or `..` is refused, so no value reaches another route.
|
|
50
|
+
- A refused call is a result with `isError`: the schema's field errors, the `ctx.fail` data and status as `{ status, errors, data }` JSON, a route's own refusal text, a redirect naming where it leads. The agent corrects and calls again.
|
|
51
|
+
- A guard answering 401 makes the endpoint answer 401 with `WWW-Authenticate: Bearer resource_metadata="<site>/.well-known/oauth-protected-resource"`, how a client learns to sign in (kay serves that document when kayjs-auth's OAuth server is on: see its "OAuth server for MCP clients"); any other refusal, 403 included, is a result. Only a guard's 401 does: a route answering 401 itself is a result too. A refused `tools/list` answers the same way (a redirect counting as a 401), as a JSON-RPC error. It keeps the guard's response headers, `Retry-After` of a 429 among them. A `tools/call` of a name no tool has is refused the same way, so names cannot be probed; a call to a tool runs its own guards.
|
|
52
|
+
- A result is JSON as text, and `structuredContent` when an object; any other type read as its size. A route's object `response` is the tool's `outputSchema`, with no `detail.tool.output` ([action protection](action-protection.md#offering-an-action-to-agents)).
|
|
53
|
+
- `/mcp` is claimed like a route: a page, endpoint or file serving it stops the boot, and `kay check` reports it.
|
|
54
|
+
- `unguarded-tool` warns, with `mcp`, of a tool action with a `honeypot`, `minTime` or `proofOfWork` that no guard covers: an agent calls it without the form those protections ask of a person. A `...spread` in the options counts as one of them, so it warns; options that are not an object literal, `action(schema, run, options)`, are not read, so the action is not taken for a tool.
|
|
55
|
+
- `site.mcp.initialize()` resolves with `{ serverInfo, instructions }` of the `initialize` answer, `instructions` being `mcp: { instructions }` or undefined.
|
|
56
|
+
- `site.mcp.tools()` lists the tools of an app with `mcp: true`, each `{ name, description, inputSchema }`, and `site.mcp.call('add_note', { title: 'Milk' })` calls one as an agent does, through the cookies of the site so far and the `headers` given, `{ headers: { authorization: 'Bearer token' } }`: it resolves with `{ isError, text, data, status }`, `isError` set when the app refused the call, `data` the answer when it is an object, `status` 401 when a guard asks for a sign-in; a protocol error, such as an unknown tool, throws. With `mcp: { key }`, `testSite({ mcpKey })` sets the key and `site.mcp` sends it as the bearer unless the call or the site's `headers` give an `authorization`; a config with `mcp.key` and no `mcpKey` gets a generated one.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Navigating from code and pages kay does not serve
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
### Go to a page from code
|
|
6
|
+
|
|
7
|
+
`navigate` from `kay` goes to a page as a link would, swapping it in place:
|
|
8
|
+
|
|
9
|
+
```kay
|
|
10
|
+
---
|
|
11
|
+
import { navigate } from 'kay'
|
|
12
|
+
---
|
|
13
|
+
button(onClick={() => navigate('/todos')}) Todos
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### Show a loader, cancel or react while a page loads
|
|
17
|
+
|
|
18
|
+
kayjs-ui's `NavigationProgress` is that top bar, once in the layout ([page layout](../../ui/llms/page-layout-palette-and-trees.md)). `navigation` from `kay` follows the swap, so a bar of your own is a few lines in an island, and the link followed (a GET form too) carries `data-pending` until the swap ends, so `a[data-pending]` styles it with no script:
|
|
19
|
+
|
|
20
|
+
```kay
|
|
21
|
+
---
|
|
22
|
+
import { navigation, onBeforeNavigate } from 'kay'
|
|
23
|
+
|
|
24
|
+
onBeforeNavigate(({ url }) => !dirty() || confirm(`Leave for ${url.pathname}?`))
|
|
25
|
+
---
|
|
26
|
+
if navigation.pending()
|
|
27
|
+
.top-bar
|
|
28
|
+
if navigation.error()
|
|
29
|
+
p.error The page could not be swapped in.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Render a component on a page kay does not serve
|
|
33
|
+
|
|
34
|
+
With `"kay/bun"` listed under `[serve.static] plugins` in `bunfig.toml`, `mount` from `kay` (also `kay/mount`) renders one into an element and returns what disposes it:
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import { mount } from 'kay/mount'
|
|
38
|
+
import Panel from './panel.kay'
|
|
39
|
+
|
|
40
|
+
const dispose = mount(Panel, document.querySelector('#panel')!, { title: 'Tickets' })
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Reference
|
|
44
|
+
|
|
45
|
+
### Navigating from code
|
|
46
|
+
|
|
47
|
+
- `navigate('/todos/1')`, imported from `kay`, goes to a page as a link would (the mount point and the current locale's prefix put on as on any `href`, `/todos/1` on a French page going to `/fr/todos/1`, a path already prefixed or another site's URL left as written; a module that gets `navigate` through a dynamic `import('kay')` is not covered, so import it statically), `{ replace: true }` taking the current history entry's place, `{ scroll: 'keep' }` leaving the window scrolled where it is instead of going to the top, `{ transition: false }` swapping without a view transition; another site's page loads, so a `?next=` param goes through `localPath()` as a redirect's does, and a `javascript:` URL throws, as it would run in the page; `mailto:`, `tel:` and other schemes go to the browser as a link would. A link or `navigate()` that a redirect takes to another site loads that page fully rather than swapping it in.
|
|
48
|
+
- `navigate({ query: { sort: 'name', page: null } })` goes to the current page with those params set and a null, undefined or empty one dropped, the others and the path kept and the hash left out, keeping the scroll and the focus as `refresh()` does: a filter or a sort picked in place.
|
|
49
|
+
- `withQuery({ page: 2, sort: null })` from `kay`, in a server fence, a template or an island (where it follows the address, so the link is built again after each `navigate({ query })`, swap, Back and `persisted` query write), returns the path of the current page with those params set by the rule of `navigate({ query })`, the other params kept and the hash left out, to link to it with one filter changed: `a(href={withQuery({ page: 2 })}) Next`. The path is the site's own, so `base`, `trailingSlash` and the locale prefix are put on by the link as on any `href`; in a fence it reads the request, so it throws in a page rendered once at build time.
|
|
50
|
+
- `refresh()` from `kay` runs the current page's loads again and shows what they return, keeping the scroll, the focus and every island whose props did not change, as a call to an action does by itself once it went through.
|
|
51
|
+
- `refresh('cart')` or `refresh(['cart', 'user'])` sends and swaps only the elements of the page reading the loads of its fence that bind those names, and leaves the rest of the page as it is: [rendering](rendering.md#refreshing-some-loads).
|
|
52
|
+
- An island calls `refresh()` once something else changed what the page shows, or polls with it, `every('3s', refresh, { while: () => issuing })`.
|
|
53
|
+
- A `refresh()`, including the one an action's call or a live value ends in, never cancels a link, `navigate()` or Back in flight: it waits for the swap, then runs again only when the swap left the URL it was asked for, since the new page is as recent as its answer. An island polling an action needs no `{ refresh: false }` to keep links working.
|
|
54
|
+
- A page whose first part the server has not sent after 10 seconds, the whole page when it does not stream (`client: { pageTimeout: '15s' }` sets it), for a link or `navigate()` but not a `refresh()`, is loaded by the browser instead, which shows its own progress or error; a view transition not finished after 3 seconds is skipped, the swap committing as it would have, and a link clicked during a transition skips it and is followed. The code a swap loads for a streamed page, or to keep a deferred server island already fetched on screen, is waited for 4.5 seconds at most once the page arrived: past that the streamed page is loaded by the browser, and the island shows its inert copy until fetched again, so a `refresh()` waiting behind the swap runs, and the swaps after it do not wait for that code again until it arrives.
|
|
55
|
+
- `navigate` and `refresh` do nothing on the server. `navigate()` resolves to `false` when a leave guard was declined and the page stayed, `true` otherwise.
|
|
56
|
+
- `shortcut(keys, handler, options?)` from `kay`, called in an island's script, runs `handler(event)` on a keydown, for as long as the island lives, and does nothing on the server; `keys` may be a function returning the string or null, following the signals it reads. `keys` joins modifiers (`mod`, `ctrl`, `meta`, `alt`, `shift`) and one key with `+`: `mod+s`, `shift+?`, `/`, `escape`, `arrowup`, `space`. The modifiers must match exactly, except that `shift` is ignored for a symbol key such as `?`, `space` and `shift+space` are two bindings, and a symbol typed with AltGr, as `@`, matches without `ctrl` or `alt`.
|
|
57
|
+
- A shortcut binds the whole page; `on: element` or `on: () => element`, the function form reading a `ref` variable once the island mounted, scopes it to that element (an `on` holding no element, as a `ref` variable still undefined, binds nothing), which gets `aria-keyshortcuts` while the island lives.
|
|
58
|
+
- A shortcut with `mod`, `ctrl`, `meta` or `alt` fires while a text field, select or `contenteditable` element has the focus; a bare key (`/`, `?`, `g`) does not, unless `{ inputs: true }`. `escape` and the function keys fire there too, and a bare `enter` or `space` is left to a focused button or link.
|
|
59
|
+
- It cancels the browser's default (`mod+s` saving the page) unless `{ preventDefault: false }`, and skips a press that is part of an IME composition, a held key unless `{ repeat: true }`, and an event something already handled (`defaultPrevented`), so of two bindings on one key the innermost one, an element's before the page's, wins.
|
|
60
|
+
- A letter or digit matches the character typed, else the physical key (`event.code`), so `mod+s` still works on a Cyrillic layout or with Option held on a Mac. An unknown modifier or an empty key throws.
|
|
61
|
+
- `followLog(container, options?)` from `kay`, called in an island's script, watches the element that scrolls (an element, or a function returning it once the island mounted, as `() => list` for a `ref` variable) for as long as the island lives, and does nothing on the server. It starts the list at its bottom; after each change inside it (an item appended or prepended, a line's text growing, the list resized) it scrolls to the bottom while the reader was within `threshold` pixels of it (32 by default), else it moves the scroll so the first item showing keeps its place on screen. The items are the container's direct children, or the elements `items: 'li.turn'` selects. A reader who scrolls up stops being followed until they come back to the bottom, or until the `toBottom()` of the `toBottom()` it returns takes them there, as a chat's send does. Calling what it returns stops it before the island ends, as `options.signal` aborting does.
|
|
62
|
+
- `guardLeave(() => dirty())` from `kay`, called in an island's script, asks before the page is left while the function returns true, for as long as the island lives.
|
|
63
|
+
- Under a guard, a link of the app, `navigate()` and going back or forward wait for the answer, a refused back or forward returning the URL and its history entry to the page, scroll and islands as they were.
|
|
64
|
+
- A reload, closing the tab or a link loading fully gets the browser's own prompt, listened for only while a guard holds changes, so the page stays in the back-forward cache otherwise.
|
|
65
|
+
- `{ confirm: to => ... }` replaces the default `window.confirm` with the app's own question, returning a boolean or a promise of one, `to` being the URL left for.
|
|
66
|
+
- With several guards holding changes, one asks, once.
|
|
67
|
+
- A form posting to an action, `refresh()` and an island's own `history.replaceState` are no leave.
|
|
68
|
+
- An island writing history keeps `history.state`, which holds kay's place in it.
|
|
69
|
+
|
|
70
|
+
### Navigation state and hooks
|
|
71
|
+
|
|
72
|
+
- `navigation.status()` from `kay`, read in an island, a template or an effect, is `'loading'` while the next page is fetched, `'swapping'` while it is put in place and `'idle'` otherwise; `navigation.to()` is the URL being navigated to (the site's own, with `base`, `trailingSlash` and the locale prefix on, as the swap fetches it) until `'idle'`, `navigation.pending()` whether `status()` is not `'idle'`, and `navigation.error()` the `ApiError` of the last swap that gave up, kept until the next navigation starts: `status` 0 as no answer came, kay's own message (`kay: <url> could not be fetched`, `did not answer in time`, `could not be put in place`) and the browser's error as `cause`. The server and a page that never navigates read `'idle'`. It is a source like the others an island reads ([Island sources](island-sources.md)).
|
|
73
|
+
- It covers a link, `navigate()` (a query change too), Back and Forward and the redirect of a form post; a `refresh()` and a refused post, shown in place, are no navigation and leave the state `'idle'`. A navigation superseded by a later one moves `to()` to the later URL without passing through `'idle'`.
|
|
74
|
+
- A swap that gives up (the fetch fails, the page does not answer in 10 seconds, or it cannot be put in place) sets `error()` and fires `kay:navigate-error`, then the browser loads the page in full as before; a leave refused by a guard or a handler starts nothing.
|
|
75
|
+
- `onBeforeNavigate(({ url, from }) => ...)`, called in an island's script, is asked with the URL going to and the page left before a link of the app, `navigate()` or going back or forward leaves the page, for as long as the island lives, and returns what removes it sooner. Returning `false`, or a promise of it, keeps the page (`navigate()` resolves `false`, a refused Back or Forward is undone as under `guardLeave`); anything else lets it go. A handler that throws, here and in `onNavigate`, is logged and the navigation goes on, as a browser hook is never a security boundary. It answers before the `guardLeave` guards, which are not asked when it refuses.
|
|
76
|
+
- It is asked for a navigation kay swaps in place only: not for a post's redirect, a form's or an island action's (the `guardLeave` guards still ask), as the action already ran, nor for a refresh, a link or `navigate()` to another site, an API or `/_kay` path or a site with `navigation: false` (loaded fully), nor a reload.
|
|
77
|
+
- While a handler is registered, every Back and Forward goes back to the page left first, as under a guard holding changes, and is made again once the handlers allow it: two history traversals, the scroll restored as for any traversal.
|
|
78
|
+
- `onNavigate(({ url }) => ...)` runs with the URL of each page a swap shows, once it is in place, for as long as the island lives, returning what removes it sooner; it is `kay:navigate` for an island, and fires for a refresh as that does.
|
|
79
|
+
- `kay:navigate-start` fires on `document` when a swap to another page begins, with `event.detail.url`; `kay:navigate-error` when it gives up, with `event.detail.url` and `event.detail.error` (an `Error` with kay's message and the browser's as `cause`); `kay:navigate` (see [Navigation](navigation.md#navigation)) when the page is in place. A refresh fires `kay:navigate` alone.
|
|
80
|
+
|
|
81
|
+
### Full loads and prefetching
|
|
82
|
+
|
|
83
|
+
- The page loads only a small listener up front; the code doing the swap is fetched once a visitor points at or presses a link of the app, or an island calls `navigate()` or `refresh()`. A page prefetching (the default) also fetches the small code prefetching its links, along with the first link a visitor points at, presses or focuses, which it handles at once.
|
|
84
|
+
- The code posting and checking forms is fetched once a form takes focus or is submitted.
|
|
85
|
+
- A link clicked before the code arrived is swapped once it has, and if it cannot load, the link and the form load pages fully as without JavaScript.
|
|
86
|
+
- A link or a form with `data-reload`, or inside an element with it, loads the next page fully.
|
|
87
|
+
- A form with `method="get"` (or none) to a page of the app navigates in place as a link does, its fields serialized into the query as the browser writes them, a submit button's `formaction` and `formmethod` read: a search or a filter keeps the islands marked `persist`, the view transition, scroll and focus. It is a change of the query when the path stays, which keeps the scroll and the focused field, else a visit. `data-keep-scroll`, `data-no-transition` and `data-reload` on the form or around it act as for a link, and the leave guards and `onBeforeNavigate` are asked. A submit with `Ctrl`, `Cmd` or `Shift` held goes to the browser, as a link does. The handler loads with the page's forms: a submit before it has loaded is held and swapped once it has, as a post to an action is, and goes to the browser only if it cannot load. A form with `target`, one to another site, an `/api` or `/_kay` path, or whose submit a handler cancelled, is the browser's.
|
|
88
|
+
- So do a link with `target` or `download`, one to another site, `/api` and `/_kay` paths, and modified clicks.
|
|
89
|
+
- A page in another locale, or one built against another client build, loads fully too, as does a page setting `reload: true` in its `page` or its layout's, and one whose cross-origin isolation differs from the current page's, which a document cannot change in place.
|
|
90
|
+
- Such a page still swaps itself in place: a link to it with another query, `navigate({ query })` and `refresh()` on it.
|
|
91
|
+
- The swap prefetches as the speculation rules would, on the timing the `prefetch` setting gives (see [Project setup](project.md#project-setup)), and a page loading it carries that setting alone, not the rules, so each page is fetched once: a hovered link's page is kept for 30 seconds and taken as the link is followed.
|
|
92
|
+
- `data-no-prefetch` or `data-prefetch="false"`, on the link or a container, opts a link out; `data-prefetch="eager|moderate|conservative"` gives it its own level, read by the swap's code only (a page without kay's script keeps the page's level). `eager` fetches the links scrolled into view, three at a time, from the page's load on, those added later by an island, a stream or a scroll included. The nearest `data-prefetch` wins, and it does nothing under `prefetch: false`, which ships no prefetch code.
|
|
93
|
+
- A visitor asking for less data (`Save-Data: on`) gets a lighter site with no setting: the image route answers the next width down of the ladder (see [Images](images.md#responsive-images)), font preloads, speculation rules and any other `rel="preload" as="font"` link leave the page, its fonts show only when cached (`font-display: optional`), and the swap prefetches nothing. In the browser, `prefers-reduced-data: reduce` and `navigator.connection.saveData` stop the swap's prefetch alone, as no media query can drop a preload.
|
|
94
|
+
- Pages say `Vary: Save-Data`, so a cache or CDN keeps the two copies apart; a prerendered page is served to that visitor from its plain HTML, not the compressed copies the build wrote, its head changed on the way out. A static export has no header to read: the prefetch and the islands' wait still follow the browser, but the preloads stay.
|
|
95
|
+
- Islands wait too: those with no `hydrate` hydrate once they scroll near, and the page preloads none of their chunks when the request says `Save-Data` (see [Islands](islands.md#hydration)).
|
|
96
|
+
- A page streaming `await` blocks is swapped in once its first part is in, with the `pending` branches: `navigation.status()` is `'idle'` and `kay:navigate` fires then, once, while blocks may still be arriving, and each block replaces its branch in place later, firing nothing, its islands hydrating as it lands. A navigation to another page ends the stream. If the stream sends no byte for `pageTimeout` (the server writes a keep-alive every 5 s, so keep it above that) the blocks still pending stay as they are, the console gets a warning and `kay:navigate-stall` fires on `document` with `event.detail.url`, once, for an app to offer a retry; the page is not requested again, and `kay:navigate-error` is not fired.
|
|
97
|
+
- `client: { saveData: false }` in `kay.config.ts` or `pages()` gives everyone the same page and image, with no `Vary`.
|
|
98
|
+
- A link, or one inside an element, with `data-keep-scroll` swaps without scrolling to the top, and with `data-no-transition` without a view transition, as `navigate()`'s `scroll: 'keep'` and `transition: false` do; going back still restores the position saved, and a hash in the URL is not scrolled to while the scroll is kept. The nearest `data-keep-scroll` to the link decides, so `data-keep-scroll="false"` on a link, or on an element between it and a keeping one, scrolls to the top as a plain link does.
|
|
99
|
+
- A stylesheet holding `@view-transition { navigation: auto; }` animates the swap where the browser has view transitions, as it animates full loads, the rule standing at the top level or inside an `@media` or `@supports` that holds.
|
|
100
|
+
- A visitor asking for reduced motion (`prefers-reduced-motion: reduce`) gets no animation from the swap whatever the stylesheet says; a full load animates for them unless the rule sits in `@media (prefers-reduced-motion: no-preference)`, as the one `kay new` writes does.
|
|
101
|
+
- `client: { navigation: false }` in `kay.config.ts` or `pages()` turns it off: pages load fully, and only pages with islands ship a script.
|
|
102
|
+
- Under `kay dev`, a page with navigation off still refreshes without a reload when only markup changed, as [Project setup](project.md#project-setup) describes.
|
|
103
|
+
|
|
104
|
+
### A page kay does not serve
|
|
105
|
+
|
|
106
|
+
- A page another server or tool bundles, such as an HTML file `Bun.serve` imports, renders `.kay` components too.
|
|
107
|
+
- The plugin `kay` from `kay/bun` compiles them, for the browser in a browser build: list `"kay/bun"` under `[serve.static] plugins` in `bunfig.toml`, which `Bun.serve` reads from the directory it starts in, or pass `kay({ root })` to `Bun.build`'s `plugins`, `root` being where `.kay/` goes, the working directory by default.
|
|
108
|
+
- `mount(Component, element, props)` from `kay` (`kay/mount` is the same function) renders one into an element, as an island renders but with no server markup to hydrate, and returns a handle, which disposes it when called, ending its effects and removing only the nodes it rendered, so several components mounted into one element are disposed one at a time and the rest of the element stays as it was.
|
|
109
|
+
- `props` may be left out for a component taking none.
|
|
110
|
+
- The handle is `{ update(props), dispose }` as well as the disposer: `handle.update({ title: 'Done' })` gives the mounted component its next props, which it reads reactively as an island does (a prop left out reads `undefined`), and `handle.dispose()` is `handle()`. `update` after a dispose does nothing.
|
|
111
|
+
- `props` may be a function, `mount(Panel, el, () => ({ title: title() }))`, read as an effect reads: the mount follows the signals it uses, so a widget keeps current with no `update` call; an `update` on such a mount holds until a signal the function reads changes. The component reads a copy of the props, one getter each, not the object passed, and a function that throws on the first read throws out of `mount` with nothing left in the element. A prop changes when it is another value (`Object.is`).
|
|
112
|
+
- A signal a `.ts` module exports reaches every component mounted from that module's bundle, so a module feeding signals from a WebSocket keeps them current.
|
|
113
|
+
- Imports of `.kay` files are typed through `.kay/types` as in a kay project, which `kay check` writes, with the tsconfig settings of [Project setup](project.md#project-setup).
|