Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
Prepare Kiln 1.0 stable package and dependency fixes (#151)
Matthew Kissingerfda71ac77575
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 3966c063..936632b6 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "kiln","description": "Build and revise 3D assets with your coding agent. Write JavaScript, inspect selected views, edit saved source revisions, and export GLB files locally.",- "version": "1.0.0-rc.1",+ "version": "1.0.0","author": {"name": "Matthew Kissinger"},diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 9452e8ad..fcc90f53 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "kiln",- "version": "1.0.0-rc.1",+ "version": "1.0.0","description": "Create, review, save, and refine procedural 3D assets with portable source and GLB collections.","author": {"name": "Matthew Kissinger"diff --git a/.github/published-candidate.json b/.github/published-candidate.jsonnew file mode 100644index 00000000..8c90729e--- /dev/null+++ b/.github/published-candidate.json@@ -0,0 +1,8 @@+{+ "name": "@instruktlabs/kiln",+ "version": "1.0.0-rc.1",+ "tag": "next",+ "sha256": "f2de7eb69f6e16dd618c77249b1f46eda1b5d032789f5b0d9048b2b2a08ea8c2",+ "sourceCommit": "ce640ccae0c621177aad176a03b5a214ae57d266",+ "publicationRun": "37477014656"+}diff --git a/.github/workflows/published-package.yml b/.github/workflows/published-package.ymlnew file mode 100644index 00000000..d261cc52--- /dev/null+++ b/.github/workflows/published-package.yml@@ -0,0 +1,118 @@+name: Published package checks++on:+ pull_request:+ paths:+ - .github/workflows/published-package.yml+ - .github/published-candidate.json+ - scripts/smoke-package*.mjs+ - scripts/smoke-sdk-types.mjs+ - scripts/verify-package-receipt.mjs+ workflow_dispatch:++permissions:+ contents: read++concurrency:+ group: published-package-${{ github.ref }}+ cancel-in-progress: true++jobs:+ consumer:+ name: Registry install · ${{ matrix.runner }} · Node ${{ matrix.node }}+ runs-on: ${{ matrix.runner }}+ timeout-minutes: 20+ strategy:+ fail-fast: false+ matrix:+ include:+ - {runner: ubuntu-22.04, platform: linux, arch: x64, node: 20.15.0, npm: 10.7.0}+ - {runner: ubuntu-22.04, platform: linux, arch: x64, node: 22.2.0, npm: 10.7.0}+ - {runner: ubuntu-22.04, platform: linux, arch: x64, node: 22.23.3, npm: 12.2.0}+ - {runner: ubuntu-22.04, platform: linux, arch: x64, node: 24.20.0, npm: 11.19.0}+ - {runner: windows-2022, platform: win32, arch: x64, node: 22.23.3, npm: 12.2.0}+ - {runner: macos-15-intel, platform: darwin, arch: x64, node: 22.23.3, npm: 12.2.0}+ - {runner: macos-15, platform: darwin, arch: arm64, node: 22.23.3, npm: 12.2.0}+ env:+ KILN_RENDER: cpu+ steps:+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ with:+ persist-credentials: false+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: ${{ matrix.node }}+ architecture: ${{ matrix.arch }}+ - run: npm install --global npm@${{ matrix.npm }} --ignore-scripts+ - name: Resolve and download the exact public version+ shell: bash+ run: |+ set -euo pipefail+ mkdir candidate+ spec=$(node -e 'const p=require("./.github/published-candidate.json");if(p.name!=="@instruktlabs/kiln"||!/^\d+\.\d+\.\d+(?:-rc\.\d+)?$/.test(p.version))process.exit(1);process.stdout.write(`${p.name}@${p.version}`)')+ npm view "$spec" --json --registry=https://registry.npmjs.org > candidate/registry.json+ npm pack "$spec" --ignore-scripts --pack-destination candidate --json --registry=https://registry.npmjs.org > candidate/download.json+ node --input-type=module -e '+ import assert from "node:assert/strict";+ import {readFileSync,writeFileSync} from "node:fs";+ import {createHash} from "node:crypto";+ const expected=JSON.parse(readFileSync(".github/published-candidate.json"));+ const raw=JSON.parse(readFileSync("candidate/registry.json"));+ const metadata=Array.isArray(raw)?raw[0]:raw;+ assert.equal(metadata.name,expected.name);+ assert.equal(metadata.version,expected.version);+ const rawPack=JSON.parse(readFileSync("candidate/download.json"));+ const pack=Array.isArray(rawPack)?rawPack[0]:Object.values(rawPack)[0];+ assert.equal(pack.name,expected.name);assert.equal(pack.version,expected.version);+ assert.match(pack.filename,/^[a-z0-9.-]+\.tgz$/);+ const bytes=readFileSync(`candidate/${pack.filename}`);+ assert.equal(createHash("sha256").update(bytes).digest("hex"),expected.sha256);+ assert.equal(`sha512-${createHash("sha512").update(bytes).digest("base64")}`,metadata.dist.integrity);+ writeFileSync("candidate/filename.txt",pack.filename);+ '+ - name: Exercise an installation by its public package name+ shell: bash+ run: |+ set -euo pipefail+ spec=$(node -p 'const p=require("./.github/published-candidate.json");`${p.name}@${p.version}`')+ # A fresh prefix and npm cache avoid resolving the checkout or an earlier install.+ mkdir consumer+ (cd consumer && npm init -y >/dev/null)+ npm install --prefix consumer --cache "$PWD/consumer-cache" "$spec" --omit=dev --ignore-scripts --no-audit --no-fund --registry=https://registry.npmjs.org+ node consumer/node_modules/@instruktlabs/kiln/dist/cli.mjs --help > candidate/registry-cli-help.txt+ node --input-type=module -e '+ import assert from "node:assert/strict";import {readFileSync} from "node:fs";+ const expected=JSON.parse(readFileSync(".github/published-candidate.json"));+ const installed=JSON.parse(readFileSync("consumer/node_modules/@instruktlabs/kiln/package.json"));+ const lock=JSON.parse(readFileSync("consumer/package-lock.json"));+ const raw=JSON.parse(readFileSync("candidate/registry.json"));const metadata=Array.isArray(raw)?raw[0]:raw;+ assert.equal(installed.version,expected.version);+ assert.equal(lock.packages["node_modules/@instruktlabs/kiln"].integrity,metadata.dist.integrity);+ '+ - name: Qualify the public archive through SDK, CLI, MCP and plugin checks+ shell: bash+ run: |+ set -euo pipefail+ # Windows keeps the upgraded global npm apart from Node's bundled npm.+ # Pass the selected CLI explicitly, as npm run would, to child checks.+ export npm_execpath="$(npm root --global)/npm/bin/npm-cli.js"+ test "$(node "$npm_execpath" --version)" = '${{ matrix.npm }}'+ tarball="$PWD/candidate/$(cat candidate/filename.txt)"+ node scripts/smoke-package.mjs --tarball "$tarball" > candidate/package-smoke.json+ # The checkout may already target the next release. Verify this receipt+ # against the committed public-release record, whose digest was checked above.+ mkdir candidate/receipt-target+ cp .github/published-candidate.json candidate/receipt-target/package.json+ cp toolchain.json candidate/receipt-target/toolchain.json+ node scripts/verify-package-receipt.mjs --root candidate/receipt-target --platform '${{ matrix.platform }}' --arch '${{ matrix.arch }}' --node '${{ matrix.node }}' --npm '${{ matrix.npm }}' --receipt candidate/package-smoke.json+ - name: Retain public-registry evidence+ if: always()+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4+ with:+ name: registry-${{ matrix.runner }}-${{ matrix.arch }}-node-${{ matrix.node }}+ path: |+ candidate/*.json+ candidate/*.txt+ consumer/package-lock.json+ if-no-files-found: error+ retention-days: 30diff --git a/.gitignore b/.gitignoreindex 01991506..8b4fa719 100644--- a/.gitignore+++ b/.gitignore@@ -28,6 +28,12 @@ coverage/.env.env.*!.env.example+# Cloudflare local secret bindings. Examples must contain placeholders only.+.dev.vars+.dev.vars.*+!.dev.vars.example+# Generated cf CLI build output and local project state.+.cloudflare/.localdata/tmp/# Disposable Node bundle for the checked-in Discovery research source.diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8eda8dee..bd4cbacb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,14 +1,16 @@# ChangelogChanges to `@instruktlabs/kiln` (previously the private `@kiln/engine` package).-Source releases and installable package publication are-separate milestones. The package is not published on the npm registry.+Source releases and installable package publication are separate milestones.+Published versions and tags are recorded by the npm registry; changing this file+does not publish a package.-## Unreleased+## 1.0.0-Changes since the 0.10.0 tagged package release. The checkout uses the unpublished-`1.0.0-rc.1` release candidate. Source/main and website deployment are separate-from publishing a new installable package.+Changes since the 0.10.0 tagged package release, qualified first through the public+`1.0.0-rc.1` prerelease. Promotion of the stable archive to npm `latest` requires+the separate release gates in [the runbook](docs/releasing.md).+Hosted deployment and vendor directory acceptance remain separate milestones.- **Breaking:** the npm identity is now `@instruktlabs/kiln`, with compiled ESM andTypeScript declarations for its public subpaths. The root is a library entrypoint;diff --git a/README.md b/README.mdindex 952b1fd0..6c3fe698 100644--- a/README.md+++ b/README.md@@ -5,9 +5,13 @@**Build and revise 3D assets with your coding agent.**-**The v1 package is a release candidate.** This checkout prepares `@instruktlabs/[email protected]`,-which is not published to npm yet. npm 1.0 publication and the-hosted service remain separate, uncompleted release steps. The [SDK guide](docs/sdk.md)+**The package name is `@instruktlabs/kiln`.** This checkout targets version 1.0.0.+Stable releases use npm's `latest` tag; release candidates use `next`.+Until 1.0.0 is available in the [npm registry](https://www.npmjs.com/package/@instruktlabs/kiln),+install the public RC with `npm install @instruktlabs/kiln@next`, or pin+`@instruktlabs/[email protected]`. Do not use the unqualified name while `latest`+still points to the temporary `0.0.0-stage` holding version.+Package publication and the hosted service have separate release gates. The [SDK guide](docs/sdk.md)describes the compiled ESM library; use the [local package build](docs/install.md#install-a-local-package)to test this checkout. The 0.10.0 release described below remains a historical release.@@ -75,12 +79,12 @@ builds on 0.9.0's optional projects, material library, Live Review and calibrateeach breaking one marked, and the [migration notes](docs/migration.md#changes-in-0100)list what an existing author will notice.-**0.10.0 is the source and site release for dogfooding.** Its package tarball is attached+**0.10.0 was the source and site release for dogfooding.** Its package tarball is attachedto the [v0.10.0 release](https://github.com/instruktlabs/kiln/releases/tag/v0.10.0)with `SHA256SUMS.txt` and the installed-package receipts, as later releases' tarballs are-on the [releases page](https://github.com/instruktlabs/kiln/releases); registry-publication is deferred to v1.0 after feedback, and the site deployment publishes no-package.+on the [releases page](https://github.com/instruktlabs/kiln/releases).+The public npm release candidate and stable release process are described above;+site deployment does not publish a package.## Install and start an asset workspacediff --git a/bun.lock b/bun.lockindex 5f848c95..cd9841dc 100644--- a/bun.lock+++ b/bun.lock@@ -135,7 +135,7 @@"@google/genai": ["@google/[email protected]", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"] }, "sha512-W6F9Y9d4h7cVQNa85IPCOVVP9PiUzve/ZQPBvQnBmnBJcLvxstEw+R2X/RyCH0SOe0HVDQzeKDpDUf6ZRtbmdQ=="],- "@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4" } }, "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw=="],+ "@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4" } }, "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw=="],"@img/colour": ["@img/[email protected]", "", {}, "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ=="],@@ -205,7 +205,7 @@"@modelcontextprotocol/ext-apps": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@standard-schema/spec": "^1.1.0" }, "peerDependencies": { "@modelcontextprotocol/client": "^2.0.0", "@modelcontextprotocol/core": "^2.0.0", "@modelcontextprotocol/server": "^2.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0", "zod": "^4.2.0" }, "optionalPeers": ["@modelcontextprotocol/server", "react", "react-dom"] }, "sha512-Tn+4+cyhO4f4cQSDxNyLiIfEE+qlTTuIbWBJB8JTinEXOhDYgCT4wDTQplxD9MBYZH5pCYGC59GaxiwIT4bu8w=="],- "@modelcontextprotocol/sdk": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA=="],+ "@modelcontextprotocol/sdk": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw=="],"@modelcontextprotocol/server": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@modelcontextprotocol/core": "2.3.0", "zod": "^4.2.0" } }, "sha512-+6b0LdsQLmHsvS7J6sQJ4weTpzUn61fU1JKS+321/+IyDYoHW5CR2Tgqcs6GgAAQvlesCo6yX3xttgmx+XGtJw=="],@@ -233,7 +233,7 @@"@napi-rs/canvas-win32-x64-msvc": ["@napi-rs/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-9WtzW85PaIhtB27iXaR/9RrLCqHLbqD3Z8Q+kh17NjFxwQXFXU5vWbYH4vEH+drM307TTyK3hidZgpt09G5T3g=="],- "@nodable/entities": ["@nodable/[email protected]", "", {}, "sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg=="],+ "@nodable/entities": ["@nodable/[email protected]", "", {}, "sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ=="],"@openrouter/ai-sdk-provider": ["@openrouter/[email protected]", "", { "peerDependencies": { "ai": "^6.0.0", "zod": "^3.25.0 || ^4.0.0" } }, "sha512-FMsAEjLUt5pWuRE2LDC/LCvVrFjLlrEzUITH5+5SZtfq7KZ2wrOHjQVxzz92sju8S9ltpzW87CLW8/b0oBXVCw=="],@@ -433,11 +433,11 @@"fast-sha256": ["[email protected]", "", {}, "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ=="],- "fast-uri": ["[email protected]", "", {}, "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ=="],+ "fast-uri": ["[email protected]", "", {}, "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg=="],"fast-xml-builder": ["[email protected]", "", { "dependencies": { "path-expression-matcher": "^1.5.0", "xml-naming": "^0.1.0" } }, "sha512-00aAWieqff+ZJhsXA4g1g7M8k+7AYoMUUHF+/zFb5U6Uv/P0Vl4QZo84/IcufzYalLuEj9928bXN9PbbFzMF0Q=="],- "fast-xml-parser": ["[email protected]", "", { "dependencies": { "@nodable/entities": "^2.2.0", "fast-xml-builder": "^1.2.0", "is-unsafe": "^1.0.1", "path-expression-matcher": "^1.5.0", "strnum": "^2.4.1", "xml-naming": "^0.1.0" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-brCNCeScma/kqa54J4PIDriSSSLssRkuYaUCpvHJulGc3HGI/xxKUCTDcYkAdqJsyb//ydpbxecjC3hB9+tb/g=="],+ "fast-xml-parser": ["[email protected]", "", { "dependencies": { "@nodable/entities": "^3.0.1", "fast-xml-builder": "^1.2.0", "is-unsafe": "^2.0.0", "path-expression-matcher": "^1.6.2", "strnum": "^2.4.2", "xml-naming": "^0.3.0" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-R9iDuNrQYeQut46cn2r2wHKn4HYzVDvDm5J1wW+koZewykv0yuO2HChTYeZtrULyHIDM9cj9TUXloCsueCQUog=="],"fetch-blob": ["[email protected]", "", { "dependencies": { "node-domexception": "^1.0.0", "web-streams-polyfill": "^3.0.3" } }, "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ=="],@@ -473,7 +473,7 @@"hasown": ["[email protected]", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],- "hono": ["[email protected]", "", {}, "sha512-1yrb/+w6HWQJrUCLkJ2IF5jNIPvvFkblV5RNOYl6bV+OA6p9GLcMpHFFGTosSvHvcAUibuUukRqhlYI4z32C7Q=="],+ "hono": ["[email protected]", "", {}, "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA=="],"http-errors": ["[email protected]", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],@@ -485,7 +485,7 @@"iota-array": ["[email protected]", "", {}, "sha512-pZ2xT+LOHckCatGQ3DcG/a+QuEqvoxqkiL7tvE8nn3uuu+f6i1TtpB5/FtWFbxUuVr5PZCx8KskuGatbJDXOWA=="],- "ip-address": ["[email protected]", "", {}, "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA=="],+ "ip-address": ["[email protected]", "", {}, "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg=="],"ipaddr.js": ["[email protected]", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],@@ -493,7 +493,7 @@"is-promise": ["[email protected]", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],- "is-unsafe": ["[email protected]", "", {}, "sha512-CLK2+VdgERgD96EYm5lUQssZYlRg2tkZnbsxZoacmSiRxiFJ4Nk4SzjCl+Ur+v3kXIY9dTIdb3IH22y1mZ56LA=="],+ "is-unsafe": ["[email protected]", "", {}, "sha512-HgbIHPBH0KHHCcjLfGsCvhtPTVxjaAZlXjwdz7/GQC40SjSe4sfQsar8J5VFo8JOSbarkpV0OLG95bbaNd9aAQ=="],"isexe": ["[email protected]", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],@@ -565,7 +565,7 @@"parseurl": ["[email protected]", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],- "path-expression-matcher": ["[email protected]", "", {}, "sha512-h7bxdzhHk8Knyc4Tj+jMaa7fEEoUJy7p1qtbVgkYg1Uhpe5Np5VuGXCRZnkZvU+Q42M1vStt0ifa3ueykRJPmQ=="],+ "path-expression-matcher": ["[email protected]", "", {}, "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ=="],"path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],@@ -577,11 +577,11 @@"property-graph": ["[email protected]", "", {}, "sha512-AvPcP7XECNWy4LGmFQ77k7un4lSKM4eS29PTvW4ck95uYeLxXPWJM7hLuBqK91FaHqCcgJvIUCuNJjjxKE7VKQ=="],- "protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.5", "@protobufjs/eventemitter": "^1.1.1", "@protobufjs/fetch": "^1.1.1", "@protobufjs/float": "^1.0.2", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.1", "@types/node": ">=13.7.0", "long": "^5.3.2" } }, "sha512-RJJPTTpvFfHcWLkIa2JFWK4XvtSzS0yEWDmunqHXli1h3JlkbcQZXDZdcWxv+JK3Xsl5/UFDPZ0iGm7DAengYw=="],+ "protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.5", "@protobufjs/eventemitter": "^1.1.1", "@protobufjs/fetch": "^1.1.1", "@protobufjs/float": "^1.0.2", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.1", "@types/node": ">=13.7.0", "long": "^5.3.2" } }, "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg=="],- "proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],+ "proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ=="],- "qs": ["[email protected]", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw=="],+ "qs": ["[email protected]", "", { "dependencies": { "es-define-property": "^1.0.1", "side-channel": "^1.1.1" } }, "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA=="],"range-parser": ["[email protected]", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="],@@ -623,7 +623,7 @@"statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],- "strnum": ["[email protected]", "", { "dependencies": { "anynum": "^1.0.1" } }, "sha512-M9eUSMT2dCB2cTNPG7UYj6KuK7RJR2SN2+yCV/fTW3xzTCS6EaGZ5pSMgDIjB7r8zSfTGk+dvvn9rTjpVS9Mwg=="],+ "strnum": ["[email protected]", "", { "dependencies": { "anynum": "^1.0.1" } }, "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw=="],"three": ["[email protected]", "", {}, "sha512-blFeqb49wRCSGUGj7gtpfnSGHy2lwDk94RhUmS1c/hTby70kvChbWpkJ4Pm1390LqzzvTmzgXKHPEafJwCb8jA=="],@@ -663,7 +663,7 @@"xatlasjs": ["[email protected]", "", { "optionalDependencies": { "comlink": "^4.3.1" } }, "sha512-3YxdpuDY4X2Kjn/Zm2c5648x/hYAP/X5YIx7nc1ify65kroSX+CFyzkhbBkIq9RDpjhA2prPRyhJZzYPUE1WgQ=="],- "xml-naming": ["[email protected]", "", {}, "sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw=="],+ "xml-naming": ["[email protected]", "", {}, "sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ=="],"yaml": ["[email protected]", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw=="],@@ -683,6 +683,10 @@"body-parser/content-type": ["[email protected]", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="],+ "fast-xml-builder/path-expression-matcher": ["[email protected]", "", {}, "sha512-h7bxdzhHk8Knyc4Tj+jMaa7fEEoUJy7p1qtbVgkYg1Uhpe5Np5VuGXCRZnkZvU+Q42M1vStt0ifa3ueykRJPmQ=="],++ "fast-xml-builder/xml-naming": ["[email protected]", "", {}, "sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw=="],+"type-is/content-type": ["[email protected]", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="],}}diff --git a/dist/agent-run.mjs b/dist/agent-run.mjsindex 0435548d..77fb8de3 100644--- a/dist/agent-run.mjs+++ b/dist/agent-run.mjs@@ -32939,7 +32939,7 @@ function createKilnSourceDef(store) {}// src/engine-identity.ts-var ENGINE_VERSION = "1.0.0-rc.1";+var ENGINE_VERSION = "1.0.0";var ENGINE_INSTALL_URL = new URL("../", import.meta.url).href;function engineIdentity() {return { version: ENGINE_VERSION, installUrl: ENGINE_INSTALL_URL };diff --git a/dist/build.json b/dist/build.jsonindex b1157c30..c47d1023 100644--- a/dist/build.json+++ b/dist/build.json@@ -2,12 +2,12 @@"schemaVersion": 1,"entries": {"worker": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -37,12 +37,12 @@"bundleHash": "sha256:37098a17b5304a5f5746131c9652498d937a5181c0fb0975861dec999721d5be"},"agent-run": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -69,15 +69,15 @@},"target": "node","file": "agent-run.mjs",- "bundleHash": "sha256:68aa4031b98e722ac9d4191b6bc5611452b816cac474bd1c678af5c2c371c9ac"+ "bundleHash": "sha256:60946cbf1ddfbc28e60829013354fd069947892c1698c9597e14c672730f8628"},"agent-providers": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -107,12 +107,12 @@"bundleHash": "sha256:9d6faf03d307321bc2e3bd5ce5bdee0bbbf61e0ebed8bfebfa1fb072287b83fa"},"mcp": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -139,15 +139,15 @@},"target": "node","file": "mcp-server.mjs",- "bundleHash": "sha256:58f697718e4e609439c6d22378d6b9bcb698f6675f87d76ac317fcaa2e44e14b"+ "bundleHash": "sha256:1f0727c7d63590d950d964e4dd15e303fdd27a79c97bf864aaaee5d7a7b9289e"},"cli": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -174,15 +174,15 @@},"target": "node","file": "cli.mjs",- "bundleHash": "sha256:7ddfaf5c0d412b35e44a99c5183eef389209baac4fbe9f690cbe53e51ec1dad6"+ "bundleHash": "sha256:bfe2e039974e093486b4d92af795235ac20c2d3772424237c90eb16455db47c5"},"engine": {- "identity": "sha256:a0456b139322272b252798a0b71ab5f82d864af7bd7635c4664098169ae5917b",- "engineVersion": "1.0.0-rc.1",+ "identity": "sha256:81875ff0bc5f7b4b952f2bb32ffa11d9b4e2ee7067f1ccd458f6ec0aec455538",+ "engineVersion": "1.0.0","toolchain": "[email protected]",- "sourceHash": "c53eb2a566184d53c3d28b3c5b940b8dc7e68a6ec2add972f50140736658b30e",+ "sourceHash": "83b57574766f2e278eeee58d8b923b9bfc642a6832f2d1c137408b2b389acc7f","rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",- "dependencyHash": "66fa080538b44a4cc1b0655bb23c097cda70041d879e085f2dec0aadccb8abed",+ "dependencyHash": "182eedef24fb67faae8fed2506e5ad51afee511fdcbce8fb8c709c3cc6fd91f9","dependencies": {"@gltf-transform/core": "4.5.1","@gltf-transform/extensions": "4.5.1",@@ -209,7 +209,7 @@},"target": "node","file": "mcp-engine.mjs",- "bundleHash": "sha256:e426a9ef1f39ded71849c7c5575e8036e9fb6bb2eb36d5bdf9080a8933d2cf1b"+ "bundleHash": "sha256:c86e0280590c819d12baad3173fa0acc788cc6feb376e53cebf11abb44814d35"}}}diff --git a/dist/cli.mjs b/dist/cli.mjsindex 1c7f2571..9bbda0d4 100644--- a/dist/cli.mjs+++ b/dist/cli.mjs@@ -36171,7 +36171,7 @@ var init_program_artifacts = __esm(() => {function engineIdentity() {return { version: ENGINE_VERSION, installUrl: ENGINE_INSTALL_URL };}-var ENGINE_VERSION = "1.0.0-rc.1", ENGINE_INSTALL_URL;+var ENGINE_VERSION = "1.0.0", ENGINE_INSTALL_URL;var init_engine_identity = __esm(() => {ENGINE_INSTALL_URL = new URL("../", import.meta.url).href;});diff --git a/dist/mcp-engine.mjs b/dist/mcp-engine.mjsindex 113a1d50..6f92074d 100644--- a/dist/mcp-engine.mjs+++ b/dist/mcp-engine.mjs@@ -36102,7 +36102,7 @@ import { readFile as readFile8 } from "node:fs/promises";var KILN_ASSET_WIDGET_URI = "ui://kiln/asset-v5.html";// src/engine-identity.ts-var ENGINE_VERSION = "1.0.0-rc.1";+var ENGINE_VERSION = "1.0.0";var ENGINE_INSTALL_URL = new URL("../", import.meta.url).href;function engineIdentity() {return { version: ENGINE_VERSION, installUrl: ENGINE_INSTALL_URL };diff --git a/dist/mcp-server.mjs b/dist/mcp-server.mjsindex 1168f029..955d36eb 100644--- a/dist/mcp-server.mjs+++ b/dist/mcp-server.mjs@@ -2085,7 +2085,7 @@ import { readFile } from "node:fs/promises";var KILN_ASSET_WIDGET_URI = "ui://kiln/asset-v5.html";// src/engine-identity.ts-var ENGINE_VERSION = "1.0.0-rc.1";+var ENGINE_VERSION = "1.0.0";var ENGINE_INSTALL_URL = new URL("../", import.meta.url).href;// src/requirements-json.tsdiff --git a/dist/viewer/app.js b/dist/viewer/app.jsindex 76cc68b0..0921149a 100644--- a/dist/viewer/app.js+++ b/dist/viewer/app.js@@ -2,7 +2,7 @@ function to(e){let t=Object.values(e).filter((i)=>typeof i==="number");return Ob`).filter((s)=>s),i=Math.min(...n.map((s)=>s.length-s.trimStart().length)),r=n.map((s)=>s.slice(i)).map((s)=>" ".repeat(this.indent*2)+s);for(let s of r)this.content.push(s)}compile(){let e=Function,t=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {${t.join(``)}-};`)(...Object.values(this.closed))}}var Wp={major:4,minor:6,patch:4};var Ct=ie("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Wp;let i=e._zod.def.checks,r=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of r)for(let o of s._zod.onattach)o(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(a,c,l)=>{if(a.memo)return a;let u=li(a),h;for(let d of c){if(d._zod.def.when){if(zf(a))continue;if(!d._zod.def.when(a))continue}else if(u)continue;let f=a.issues.length,m=d._zod.check(a);if(m instanceof Promise&&l?.async===!1)throw new hi;if(h||m instanceof Promise)h=(h??Promise.resolve()).then(async()=>{if(await m,a.issues.length===f)return;if(Pl(a.issues,f,e),!u)u=li(a,f)});else{if(a.issues.length===f)continue;if(Pl(a.issues,f,e),!u)u=li(a,f)}}if(h)return h.then(()=>a);return a},o=(a,c,l)=>{if(li(a))return a.aborted=!0,a;let u=s(c,r,l);if(u instanceof Promise){if(l.async===!1)throw new hi;return u.then((h)=>e._zod.parse(h,l))}return e._zod.parse(u,l)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let u=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});if(u instanceof Promise)return u.then((h)=>o(h,a,c));return o(u,a,c)}let l=e._zod.parse(a,c);if(l instanceof Promise){if(c.async===!1)throw new hi;return l.then((u)=>s(u,r,c))}return s(l,r,c)}}},{get "~standard"(){return Ia(this,"~standard",Wl(this))},set "~standard"(e){Ni(this,"~standard",e)}}),nm=(e,t)=>e.issues.length?{issues:e.issues.map((n)=>ui(n,t,wn()))}:{value:e.value};async function iS(e,t){let n={async:!0};return nm(await e._zod.run({value:t,issues:[]},n),n)}function Wl(e){return{validate:(t)=>{let n={async:!1};try{let i=e._zod.run({value:t,issues:[]},n);if(!(i instanceof Promise))return nm(i,n)}catch(i){}return iS(e,t)},vendor:"zod",version:1}}var Ba=ie("$ZodString",(e,t)=>{Ct.init(e,t),e._zod.pattern=t.pattern??Rp,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}if(typeof n.value==="string")return n;return n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Tt=ie("$ZodStringFormat",(e,t)=>{co.init(e,t),Ba.init(e,t)}),im=ie("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=fp),Tt.init(e,t)}),rm=ie("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=zl(i))}else t.pattern??(t.pattern=zl());Tt.init(e,t)}),sm=ie("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=pp),Tt.init(e,t)}),om=1,za=2;function am(e){try{if(typeof URL<"u"&&typeof URL.canParse==="function")return URL.canParse(e);return new URL(e),!0}catch{return!1}}function rS(e,t){if(!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t))return am(e)||za;return sS(e,t)}function sS(e,t){if(!t.normalize&&t.protocol?.source===Sp.source&&!/^https?:\/\//i.test(e))return om;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse==="function")return n.parse(e)??za}return new URL(e)}catch{return za}}var oS=/[\t\n\r]/g;function Zp(e){return e.replace(oS,"")}function aS(e,t){return t.lastIndex=0,t.test(e.hostname)}function cS(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var cm=ie("$ZodURL",(e,t)=>{Tt.init(e,t),e._zod.check=(n)=>{try{let i=n.value.trim(),r=rS(i,t);if(r===om){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(r===za){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=Zp(i);return}if(t.hostname&&!aS(r,t.hostname))n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort});if(t.protocol&&!cS(r,t.protocol))n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort});n.value=t.normalize?r.href:Zp(i);return}catch(i){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),lm=ie("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=mp()),Tt.init(e,t)}),um=ie("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?up:hp(t.length)),Tt.init(e,t)}),hm=ie("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=sp),Tt.init(e,t)}),dm=ie("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=op),Tt.init(e,t)}),fm=ie("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ap),Tt.init(e,t)}),pm=ie("$ZodXID",(e,t)=>{t.pattern??(t.pattern=cp),Tt.init(e,t)}),mm=ie("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=lp),Tt.init(e,t)}),gm=ie("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Ap(t)),Tt.init(e,t)}),_m=ie("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Ep),Tt.init(e,t)}),xm=ie("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Tp(t)),Tt.init(e,t)}),vm=ie("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=dp),Tt.init(e,t)}),ym=ie("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=gp),Tt.init(e,t)}),lS=/^[0-9a-fA-F:.]+$/;function bm(e){if(!lS.test(e))return!1;return am(`http://[${e}]`)}var Sm=ie("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=_p),Tt.init(e,t),e._zod.check=(n)=>{if(!bm(n.value))n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}});var wm=ie("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=xp),Tt.init(e,t)});function uS(e){let t=e.split("/");if(t.length!==2)return!1;let[n,i]=t;if(!i)return!1;let r=Number(i);if(`${r}`!==i)return!1;if(r<0||r>128)return!1;return bm(n)}var Mm=ie("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=vp),Tt.init(e,t),e._zod.check=(n)=>{if(!uS(n.value))n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function Em(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Zl=/^[0-9a-zA-Z+/]*={0,2}$/,Tm=ie("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Zl),Tt.init(e,t),e._zod.check=(n)=>{if(Em(n.value))return;n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),Ga=/^[A-Za-z0-9_-]*$/;function hS(e){if(!Ga.test(e))return!1;let t=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Em(n)}var Am=ie("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Ga),Tt.init(e,t),e._zod.check=(n)=>{if(hS(n.value))return;n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Rm=ie("$ZodE164",(e,t)=>{t.pattern??(t.pattern=wp),Tt.init(e,t)});function dS(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));if("typ"in r&&r?.typ!=="JWT")return!1;if(!r.alg)return!1;if(t&&(!("alg"in r)||r.alg!==t))return!1;return!0}catch{return!1}}var Cm=ie("$ZodJWT",(e,t)=>{Tt.init(e,t),e._zod.check=(n)=>{if(dS(n.value,t.alg))return;n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}});var Xl=ie("$ZodNumber",(e,t)=>{Ct.init(e,t),e._zod.pattern=oo,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch(o){}let r=n.value;if(typeof r==="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let s=typeof r==="number"?Number.isNaN(r)?"NaN":!Number.isFinite(r)?String(r):void 0:void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...s?{received:s}:{}}),n}}),Im=ie("$ZodNumberFormat",(e,t)=>{Np.init(e,t),Xl.init(e,t)}),Pm=ie("$ZodBoolean",(e,t)=>{Ct.init(e,t),e._zod.pattern=Cp,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Boolean(n.value)}catch(s){}let r=n.value;if(typeof r==="boolean")return n;return n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}});var Lm=ie("$ZodUnknown",(e,t)=>{Ct.init(e,t),e._zod.parse=(n)=>n}),Nm=ie("$ZodNever",(e,t)=>{Ct.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Xp(e,t,n){if(e.issues.length)t.issues.push(...Qi(n,e.issues));t.value[n]=e.value}var Dm=ie("$ZodArray",(e,t)=>{Ct.init(e,t);let n=xn.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=n?n.alloc(e,i,Array(s.length),r):Array(s.length);let o=[],a=r?.abortEarly;for(let c=0;c<s.length;c++){let l=s[c],u=t.element._zod.run({value:l,issues:[]},r);if(u instanceof Promise)o.push(u.then((h)=>Xp(h,i,c)));else if(Xp(u,i,c),a&&u.issues.length!==0&&li(u))break}if(o.length)return Promise.all(o).then(()=>i);return i}});function ka(e,t,n,i,r,s){let o=n in i,a=s==="optional";if(!o&&a&&r==="optional")return;if(e.issues.length){if(r!==void 0&&a&&!o)return;t.issues.push(...Qi(n,e.issues))}if(!o&&r===void 0){if(!e.issues.length)t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}if(e.value===void 0){if(o||r==="defaulted"&&!a)t.value[n]=void 0}else t.value[n]=e.value}var fS=[];function Om(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),i=n.length?n:fS,r=i.length?[...t,...i]:t;for(let o of r)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(o)}": expected a Zod schema`);let s=Of(e.shape);return{...e,allKeys:r,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(s)}}function Um(e,t,n,i,r,s,o){let a=[],c=r.keySet,l=r.catchall._zod,u=l.def.type,{optin:h,optout:d}=l,f=0;for(let m in t){if(o&&n.issues.length!==f){if(li(n,f))break;f=n.issues.length}if(c.has(m))continue;if(m==="__proto__"){if(u==="never")a.push(m);continue}if(u==="never"){a.push(m);continue}let _=l.run({value:t[m],issues:[]},i);if(_ instanceof Promise)e.push(_.then((p)=>ka(p,n,m,t,h,d)));else ka(_,n,m,t,h,d)}if(a.length)n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:s,continue:!0});if(!e.length)return n;return Promise.all(e).then(()=>n)}var pS=ie("$ZodObject",(e,t)=>{Ct.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),i=n?.get?n.get.raw:t.shape??{};if(i){let l=()=>{let u={...i};return Object.defineProperty(t,"shape",{value:u}),l.raw=u,u};l.raw=i,Object.defineProperty(t,"shape",{get:l})}let r=io(()=>Om(t));at(e,"propValues",(l)=>{let u=l.def.shape,h={};for(let d in u){let f=u[d]._zod;if(f.values){if(!Object.prototype.hasOwnProperty.call(h,d))Dn(h,d,new Set);for(let m of f.values)h[d].add(m);if(f.optin!==void 0)h[d].add(void 0)}}return h});let s=os,o=t.catchall,a,c=xn.memoizer;c?.attach(e),e._zod.parse=(l,u)=>{a??(a=r.value);let h=l.value;if(!s(h))return l.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),l;l.value=c?c.alloc(e,l,{},u):{};let d=[],f=a.shape,m=u?.abortEarly,_=l.issues.length;for(let p of a.allKeys){if(m&&l.issues.length!==_){if(li(l,_))break;_=l.issues.length}if(p==="__proto__")continue;let g=f[p],M=g._zod.optin,T=g._zod.optout,v=g._zod.run({value:h[p],issues:[]},u);if(v instanceof Promise)d.push(v.then((S)=>ka(S,l,p,h,M,T)));else ka(v,l,p,h,M,T)}if(!o)return d.length?Promise.all(d).then(()=>l):l;return Um(d,h,l,u,r.value,e,m===!0)}}),Fm=ie("$ZodObjectJIT",(e,t)=>{pS.init(e,t);let n=e._zod.parse,i=io(()=>Om(t)),r=xn.memoizer,s=(f)=>{let m=i.value,_=m.symbolKeys,p=new Vl(["payload","ctx"],{shape:f,inst:e,memo:r,syms:_}),g=(S)=>`shape[${S}]._zod.run({ value: input[${S}], issues: [] }, ctx)`,M=(S,E)=>`+};`)(...Object.values(this.closed))}}var Wp={major:4,minor:6,patch:5};var Ct=ie("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Wp;let i=e._zod.def.checks,r=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of r)for(let o of s._zod.onattach)o(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(a,c,l)=>{if(a.memo)return a;let u=li(a),h;for(let d of c){if(d._zod.def.when){if(zf(a))continue;if(!d._zod.def.when(a))continue}else if(u)continue;let f=a.issues.length,m=d._zod.check(a);if(m instanceof Promise&&l?.async===!1)throw new hi;if(h||m instanceof Promise)h=(h??Promise.resolve()).then(async()=>{if(await m,a.issues.length===f)return;if(Pl(a.issues,f,e),!u)u=li(a,f)});else{if(a.issues.length===f)continue;if(Pl(a.issues,f,e),!u)u=li(a,f)}}if(h)return h.then(()=>a);return a},o=(a,c,l)=>{if(li(a))return a.aborted=!0,a;let u=s(c,r,l);if(u instanceof Promise){if(l.async===!1)throw new hi;return u.then((h)=>e._zod.parse(h,l))}return e._zod.parse(u,l)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let u=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});if(u instanceof Promise)return u.then((h)=>o(h,a,c));return o(u,a,c)}let l=e._zod.parse(a,c);if(l instanceof Promise){if(c.async===!1)throw new hi;return l.then((u)=>s(u,r,c))}return s(l,r,c)}}},{get "~standard"(){return Ia(this,"~standard",Wl(this))},set "~standard"(e){Ni(this,"~standard",e)}}),nm=(e,t)=>e.issues.length?{issues:e.issues.map((n)=>ui(n,t,wn()))}:{value:e.value};async function iS(e,t){let n={async:!0};return nm(await e._zod.run({value:t,issues:[]},n),n)}function Wl(e){return{validate:(t)=>{let n={async:!1};try{let i=e._zod.run({value:t,issues:[]},n);if(!(i instanceof Promise))return nm(i,n)}catch(i){}return iS(e,t)},vendor:"zod",version:1}}var Ba=ie("$ZodString",(e,t)=>{Ct.init(e,t),e._zod.pattern=t.pattern??Rp,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}if(typeof n.value==="string")return n;return n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Tt=ie("$ZodStringFormat",(e,t)=>{co.init(e,t),Ba.init(e,t)}),im=ie("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=fp),Tt.init(e,t)}),rm=ie("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=zl(i))}else t.pattern??(t.pattern=zl());Tt.init(e,t)}),sm=ie("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=pp),Tt.init(e,t)}),om=1,za=2;function am(e){try{if(typeof URL<"u"&&typeof URL.canParse==="function")return URL.canParse(e);return new URL(e),!0}catch{return!1}}function rS(e,t){if(!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t))return am(e)||za;return sS(e,t)}function sS(e,t){if(!t.normalize&&t.protocol?.source===Sp.source&&!/^https?:\/\//i.test(e))return om;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse==="function")return n.parse(e)??za}return new URL(e)}catch{return za}}var oS=/[\t\n\r]/g;function Zp(e){return e.replace(oS,"")}function aS(e,t){return t.lastIndex=0,t.test(e.hostname)}function cS(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var cm=ie("$ZodURL",(e,t)=>{Tt.init(e,t),e._zod.check=(n)=>{try{let i=n.value.trim(),r=rS(i,t);if(r===om){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(r===za){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=Zp(i);return}if(t.hostname&&!aS(r,t.hostname))n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort});if(t.protocol&&!cS(r,t.protocol))n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort});n.value=t.normalize?r.href:Zp(i);return}catch(i){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),lm=ie("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=mp()),Tt.init(e,t)}),um=ie("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?up:hp(t.length)),Tt.init(e,t)}),hm=ie("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=sp),Tt.init(e,t)}),dm=ie("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=op),Tt.init(e,t)}),fm=ie("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ap),Tt.init(e,t)}),pm=ie("$ZodXID",(e,t)=>{t.pattern??(t.pattern=cp),Tt.init(e,t)}),mm=ie("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=lp),Tt.init(e,t)}),gm=ie("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Ap(t)),Tt.init(e,t)}),_m=ie("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Ep),Tt.init(e,t)}),xm=ie("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Tp(t)),Tt.init(e,t)}),vm=ie("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=dp),Tt.init(e,t)}),ym=ie("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=gp),Tt.init(e,t)}),lS=/^[0-9a-fA-F:.]+$/;function bm(e){if(!lS.test(e))return!1;return am(`http://[${e}]`)}var Sm=ie("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=_p),Tt.init(e,t),e._zod.check=(n)=>{if(!bm(n.value))n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}});var wm=ie("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=xp),Tt.init(e,t)});function uS(e){let t=e.split("/");if(t.length!==2)return!1;let[n,i]=t;if(!i)return!1;let r=Number(i);if(`${r}`!==i)return!1;if(r<0||r>128)return!1;return bm(n)}var Mm=ie("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=vp),Tt.init(e,t),e._zod.check=(n)=>{if(!uS(n.value))n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function Em(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Zl=/^[0-9a-zA-Z+/]*={0,2}$/,Tm=ie("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Zl),Tt.init(e,t),e._zod.check=(n)=>{if(Em(n.value))return;n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),Ga=/^[A-Za-z0-9_-]*$/;function hS(e){if(!Ga.test(e))return!1;let t=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Em(n)}var Am=ie("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Ga),Tt.init(e,t),e._zod.check=(n)=>{if(hS(n.value))return;n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Rm=ie("$ZodE164",(e,t)=>{t.pattern??(t.pattern=wp),Tt.init(e,t)});function dS(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));if("typ"in r&&r?.typ!=="JWT")return!1;if(!r.alg)return!1;if(t&&(!("alg"in r)||r.alg!==t))return!1;return!0}catch{return!1}}var Cm=ie("$ZodJWT",(e,t)=>{Tt.init(e,t),e._zod.check=(n)=>{if(dS(n.value,t.alg))return;n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}});var Xl=ie("$ZodNumber",(e,t)=>{Ct.init(e,t),e._zod.pattern=oo,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch(o){}let r=n.value;if(typeof r==="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let s=typeof r==="number"?Number.isNaN(r)?"NaN":!Number.isFinite(r)?String(r):void 0:void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...s?{received:s}:{}}),n}}),Im=ie("$ZodNumberFormat",(e,t)=>{Np.init(e,t),Xl.init(e,t)}),Pm=ie("$ZodBoolean",(e,t)=>{Ct.init(e,t),e._zod.pattern=Cp,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Boolean(n.value)}catch(s){}let r=n.value;if(typeof r==="boolean")return n;return n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}});var Lm=ie("$ZodUnknown",(e,t)=>{Ct.init(e,t),e._zod.parse=(n)=>n}),Nm=ie("$ZodNever",(e,t)=>{Ct.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Xp(e,t,n){if(e.issues.length)t.issues.push(...Qi(n,e.issues));t.value[n]=e.value}var Dm=ie("$ZodArray",(e,t)=>{Ct.init(e,t);let n=xn.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=n?n.alloc(e,i,Array(s.length),r):Array(s.length);let o=[],a=r?.abortEarly;for(let c=0;c<s.length;c++){let l=s[c],u=t.element._zod.run({value:l,issues:[]},r);if(u instanceof Promise)o.push(u.then((h)=>Xp(h,i,c)));else if(Xp(u,i,c),a&&u.issues.length!==0&&li(u))break}if(o.length)return Promise.all(o).then(()=>i);return i}});function ka(e,t,n,i,r,s){let o=n in i,a=s==="optional";if(!o&&a&&r==="optional")return;if(e.issues.length){if(r!==void 0&&a&&!o)return;t.issues.push(...Qi(n,e.issues))}if(!o&&r===void 0){if(!e.issues.length)t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}if(e.value===void 0){if(o||r==="defaulted"&&!a)t.value[n]=void 0}else t.value[n]=e.value}var fS=[];function Om(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),i=n.length?n:fS,r=i.length?[...t,...i]:t;for(let o of r)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(o)}": expected a Zod schema`);let s=Of(e.shape);return{...e,allKeys:r,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(s)}}function Um(e,t,n,i,r,s,o){let a=[],c=r.keySet,l=r.catchall._zod,u=l.def.type,{optin:h,optout:d}=l,f=0;for(let m in t){if(o&&n.issues.length!==f){if(li(n,f))break;f=n.issues.length}if(c.has(m))continue;if(m==="__proto__"){if(u==="never")a.push(m);continue}if(u==="never"){a.push(m);continue}let _=l.run({value:t[m],issues:[]},i);if(_ instanceof Promise)e.push(_.then((p)=>ka(p,n,m,t,h,d)));else ka(_,n,m,t,h,d)}if(a.length)n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:s,continue:!0});if(!e.length)return n;return Promise.all(e).then(()=>n)}var pS=ie("$ZodObject",(e,t)=>{Ct.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),i=n?.get?n.get.raw:t.shape??{};if(i){let l=()=>{let u={...i};return Object.defineProperty(t,"shape",{value:u}),l.raw=u,u};l.raw=i,Object.defineProperty(t,"shape",{get:l})}let r=io(()=>Om(t));at(e,"propValues",(l)=>{let u=l.def.shape,h={};for(let d in u){let f=u[d]._zod;if(f.values){if(!Object.prototype.hasOwnProperty.call(h,d))Dn(h,d,new Set);for(let m of f.values)h[d].add(m);if(f.optin!==void 0)h[d].add(void 0)}}return h});let s=os,o=t.catchall,a,c=xn.memoizer;c?.attach(e),e._zod.parse=(l,u)=>{a??(a=r.value);let h=l.value;if(!s(h))return l.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),l;l.value=c?c.alloc(e,l,{},u):{};let d=[],f=a.shape,m=u?.abortEarly,_=l.issues.length;for(let p of a.allKeys){if(m&&l.issues.length!==_){if(li(l,_))break;_=l.issues.length}if(p==="__proto__")continue;let g=f[p],M=g._zod.optin,T=g._zod.optout,v=g._zod.run({value:h[p],issues:[]},u);if(v instanceof Promise)d.push(v.then((S)=>ka(S,l,p,h,M,T)));else ka(v,l,p,h,M,T)}if(!o)return d.length?Promise.all(d).then(()=>l):l;return Um(d,h,l,u,r.value,e,m===!0)}}),Fm=ie("$ZodObjectJIT",(e,t)=>{pS.init(e,t);let n=e._zod.parse,i=io(()=>Om(t)),r=xn.memoizer,s=(f)=>{let m=i.value,_=m.symbolKeys,p=new Vl(["payload","ctx"],{shape:f,inst:e,memo:r,syms:_}),g=(S)=>`shape[${S}]._zod.run({ value: input[${S}], issues: [] }, ctx)`,M=(S,E)=>`let ${S}_ab = false;for (let i = 0; i < ${S}.issues.length; i++) {const iss = ${S}.issues[i];diff --git a/dist/viewer/chat.html b/dist/viewer/chat.htmlindex 701b9705..d1f007aa 100644--- a/dist/viewer/chat.html+++ b/dist/viewer/chat.html@@ -4345,7 +4345,7 @@ void main() {`).filter((s)=>s),i=Math.min(...n.map((s)=>s.length-s.trimStart().length)),r=n.map((s)=>s.slice(i)).map((s)=>" ".repeat(this.indent*2)+s);for(let s of r)this.content.push(s)}compile(){let e=Function,t=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {${t.join(``)}-};`)(...Object.values(this.closed))}}var Qg={major:4,minor:6,patch:4};var Mt=Q("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Qg;let i=e._zod.def.checks,r=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of r)for(let o of s._zod.onattach)o(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(a,c,l)=>{if(a.memo)return a;let u=fi(a),f;for(let h of c){if(h._zod.def.when){if(Zm(a))continue;if(!h._zod.def.when(a))continue}else if(u)continue;let d=a.issues.length,g=h._zod.check(a);if(g instanceof Promise&&l?.async===!1)throw new pi;if(f||g instanceof Promise)f=(f??Promise.resolve()).then(async()=>{if(await g,a.issues.length===d)return;if(ch(a.issues,d,e),!u)u=fi(a,d)});else{if(a.issues.length===d)continue;if(ch(a.issues,d,e),!u)u=fi(a,d)}}if(f)return f.then(()=>a);return a},o=(a,c,l)=>{if(fi(a))return a.aborted=!0,a;let u=s(c,r,l);if(u instanceof Promise){if(l.async===!1)throw new pi;return u.then((f)=>e._zod.parse(f,l))}return e._zod.parse(u,l)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let u=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});if(u instanceof Promise)return u.then((f)=>o(f,a,c));return o(u,a,c)}let l=e._zod.parse(a,c);if(l instanceof Promise){if(c.async===!1)throw new pi;return l.then((u)=>s(u,r,c))}return s(l,r,c)}}},{get "~standard"(){return oc(this,"~standard",Sh(this))},set "~standard"(e){Li(this,"~standard",e)}}),u_=(e,t)=>e.issues.length?{issues:e.issues.map((n)=>di(n,t,Sn()))}:{value:e.value};async function iA(e,t){let n={async:!0};return u_(await e._zod.run({value:t,issues:[]},n),n)}function Sh(e){return{validate:(t)=>{let n={async:!1};try{let i=e._zod.run({value:t,issues:[]},n);if(!(i instanceof Promise))return u_(i,n)}catch(i){}return iA(e,t)},vendor:"zod",version:1}}var gc=Q("$ZodString",(e,t)=>{Mt.init(e,t),e._zod.pattern=t.pattern??Ug,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}if(typeof n.value==="string")return n;return n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),bt=Q("$ZodStringFormat",(e,t)=>{bo.init(e,t),gc.init(e,t)}),h_=Q("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=bg),bt.init(e,t)}),f_=Q("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=mh(i))}else t.pattern??(t.pattern=mh());bt.init(e,t)}),d_=Q("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Sg),bt.init(e,t)}),p_=1,pc=2;function m_(e){try{if(typeof URL<"u"&&typeof URL.canParse==="function")return URL.canParse(e);return new URL(e),!0}catch{return!1}}function rA(e,t){if(!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t))return m_(e)||pc;return sA(e,t)}function sA(e,t){if(!t.normalize&&t.protocol?.source===Pg.source&&!/^https?:\/\//i.test(e))return p_;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse==="function")return n.parse(e)??pc}return new URL(e)}catch{return pc}}var oA=/[\t\n\r]/g;function e_(e){return e.replace(oA,"")}function aA(e,t){return t.lastIndex=0,t.test(e.hostname)}function cA(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var g_=Q("$ZodURL",(e,t)=>{bt.init(e,t),e._zod.check=(n)=>{try{let i=n.value.trim(),r=rA(i,t);if(r===p_){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(r===pc){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=e_(i);return}if(t.hostname&&!aA(r,t.hostname))n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort});if(t.protocol&&!cA(r,t.protocol))n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort});n.value=t.normalize?r.href:e_(i);return}catch(i){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),__=Q("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Mg()),bt.init(e,t)}),x_=Q("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?xg:yg(t.length)),bt.init(e,t)}),y_=Q("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=dg),bt.init(e,t)}),v_=Q("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=pg),bt.init(e,t)}),b_=Q("$ZodULID",(e,t)=>{t.pattern??(t.pattern=mg),bt.init(e,t)}),S_=Q("$ZodXID",(e,t)=>{t.pattern??(t.pattern=gg),bt.init(e,t)}),M_=Q("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=_g),bt.init(e,t)}),w_=Q("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Og(t)),bt.init(e,t)}),E_=Q("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Ng),bt.init(e,t)}),T_=Q("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Dg(t)),bt.init(e,t)}),A_=Q("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=vg),bt.init(e,t)}),R_=Q("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=wg),bt.init(e,t)}),lA=/^[0-9a-fA-F:.]+$/;function C_(e){if(!lA.test(e))return!1;return m_(`http://[${e}]`)}var P_=Q("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Eg),bt.init(e,t),e._zod.check=(n)=>{if(!C_(n.value))n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}});var I_=Q("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Tg),bt.init(e,t)});function uA(e){let t=e.split("/");if(t.length!==2)return!1;let[n,i]=t;if(!i)return!1;let r=Number(i);if(`${r}`!==i)return!1;if(r<0||r>128)return!1;return C_(n)}var L_=Q("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Ag),bt.init(e,t),e._zod.check=(n)=>{if(!uA(n.value))n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function N_(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Mh=/^[0-9a-zA-Z+/]*={0,2}$/,D_=Q("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Mh),bt.init(e,t),e._zod.check=(n)=>{if(N_(n.value))return;n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),_c=/^[A-Za-z0-9_-]*$/;function hA(e){if(!_c.test(e))return!1;let t=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return N_(n)}var O_=Q("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=_c),bt.init(e,t),e._zod.check=(n)=>{if(hA(n.value))return;n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),U_=Q("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Ig),bt.init(e,t)});function fA(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));if("typ"in r&&r?.typ!=="JWT")return!1;if(!r.alg)return!1;if(t&&(!("alg"in r)||r.alg!==t))return!1;return!0}catch{return!1}}var F_=Q("$ZodJWT",(e,t)=>{bt.init(e,t),e._zod.check=(n)=>{if(fA(n.value,t.alg))return;n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}});var wh=Q("$ZodNumber",(e,t)=>{Mt.init(e,t),e._zod.pattern=yo,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch(o){}let r=n.value;if(typeof r==="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let s=typeof r==="number"?Number.isNaN(r)?"NaN":!Number.isFinite(r)?String(r):void 0:void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...s?{received:s}:{}}),n}}),z_=Q("$ZodNumberFormat",(e,t)=>{Gg.init(e,t),wh.init(e,t)}),k_=Q("$ZodBoolean",(e,t)=>{Mt.init(e,t),e._zod.pattern=Fg,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Boolean(n.value)}catch(s){}let r=n.value;if(typeof r==="boolean")return n;return n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}});var B_=Q("$ZodUnknown",(e,t)=>{Mt.init(e,t),e._zod.parse=(n)=>n}),G_=Q("$ZodNever",(e,t)=>{Mt.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function t_(e,t,n){if(e.issues.length)t.issues.push(...ar(n,e.issues));t.value[n]=e.value}var H_=Q("$ZodArray",(e,t)=>{Mt.init(e,t);let n=dn.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=n?n.alloc(e,i,Array(s.length),r):Array(s.length);let o=[],a=r?.abortEarly;for(let c=0;c<s.length;c++){let l=s[c],u=t.element._zod.run({value:l,issues:[]},r);if(u instanceof Promise)o.push(u.then((f)=>t_(f,i,c)));else if(t_(u,i,c),a&&u.issues.length!==0&&fi(u))break}if(o.length)return Promise.all(o).then(()=>i);return i}});function mc(e,t,n,i,r,s){let o=n in i,a=s==="optional";if(!o&&a&&r==="optional")return;if(e.issues.length){if(r!==void 0&&a&&!o)return;t.issues.push(...ar(n,e.issues))}if(!o&&r===void 0){if(!e.issues.length)t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}if(e.value===void 0){if(o||r==="defaulted"&&!a)t.value[n]=void 0}else t.value[n]=e.value}var dA=[];function V_(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),i=n.length?n:dA,r=i.length?[...t,...i]:t;for(let o of r)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(o)}": expected a Zod schema`);let s=Vm(e.shape);return{...e,allKeys:r,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(s)}}function $_(e,t,n,i,r,s,o){let a=[],c=r.keySet,l=r.catchall._zod,u=l.def.type,{optin:f,optout:h}=l,d=0;for(let g in t){if(o&&n.issues.length!==d){if(fi(n,d))break;d=n.issues.length}if(c.has(g))continue;if(g==="__proto__"){if(u==="never")a.push(g);continue}if(u==="never"){a.push(g);continue}let x=l.run({value:t[g],issues:[]},i);if(x instanceof Promise)e.push(x.then((p)=>mc(p,n,g,t,f,h)));else mc(x,n,g,t,f,h)}if(a.length)n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:s,continue:!0});if(!e.length)return n;return Promise.all(e).then(()=>n)}var pA=Q("$ZodObject",(e,t)=>{Mt.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),i=n?.get?n.get.raw:t.shape??{};if(i){let l=()=>{let u={...i};return Object.defineProperty(t,"shape",{value:u}),l.raw=u,u};l.raw=i,Object.defineProperty(t,"shape",{get:l})}let r=go(()=>V_(t));nt(e,"propValues",(l)=>{let u=l.def.shape,f={};for(let h in u){let d=u[h]._zod;if(d.values){if(!Object.prototype.hasOwnProperty.call(f,h))Ln(f,h,new Set);for(let g of d.values)f[h].add(g);if(d.optin!==void 0)f[h].add(void 0)}}return f});let s=Ms,o=t.catchall,a,c=dn.memoizer;c?.attach(e),e._zod.parse=(l,u)=>{a??(a=r.value);let f=l.value;if(!s(f))return l.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),l;l.value=c?c.alloc(e,l,{},u):{};let h=[],d=a.shape,g=u?.abortEarly,x=l.issues.length;for(let p of a.allKeys){if(g&&l.issues.length!==x){if(fi(l,x))break;x=l.issues.length}if(p==="__proto__")continue;let m=d[p],E=m._zod.optin,R=m._zod.optout,v=m._zod.run({value:f[p],issues:[]},u);if(v instanceof Promise)h.push(v.then((M)=>mc(M,l,p,f,E,R)));else mc(v,l,p,f,E,R)}if(!o)return h.length?Promise.all(h).then(()=>l):l;return $_(h,f,l,u,r.value,e,g===!0)}}),W_=Q("$ZodObjectJIT",(e,t)=>{pA.init(e,t);let n=e._zod.parse,i=go(()=>V_(t)),r=dn.memoizer,s=(d)=>{let g=i.value,x=g.symbolKeys,p=new vh(["payload","ctx"],{shape:d,inst:e,memo:r,syms:x}),m=(M)=>`shape[${M}]._zod.run({ value: input[${M}], issues: [] }, ctx)`,E=(M,T)=>`+};`)(...Object.values(this.closed))}}var Qg={major:4,minor:6,patch:5};var Mt=Q("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Qg;let i=e._zod.def.checks,r=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of r)for(let o of s._zod.onattach)o(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(a,c,l)=>{if(a.memo)return a;let u=fi(a),f;for(let h of c){if(h._zod.def.when){if(Zm(a))continue;if(!h._zod.def.when(a))continue}else if(u)continue;let d=a.issues.length,g=h._zod.check(a);if(g instanceof Promise&&l?.async===!1)throw new pi;if(f||g instanceof Promise)f=(f??Promise.resolve()).then(async()=>{if(await g,a.issues.length===d)return;if(ch(a.issues,d,e),!u)u=fi(a,d)});else{if(a.issues.length===d)continue;if(ch(a.issues,d,e),!u)u=fi(a,d)}}if(f)return f.then(()=>a);return a},o=(a,c,l)=>{if(fi(a))return a.aborted=!0,a;let u=s(c,r,l);if(u instanceof Promise){if(l.async===!1)throw new pi;return u.then((f)=>e._zod.parse(f,l))}return e._zod.parse(u,l)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let u=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});if(u instanceof Promise)return u.then((f)=>o(f,a,c));return o(u,a,c)}let l=e._zod.parse(a,c);if(l instanceof Promise){if(c.async===!1)throw new pi;return l.then((u)=>s(u,r,c))}return s(l,r,c)}}},{get "~standard"(){return oc(this,"~standard",Sh(this))},set "~standard"(e){Li(this,"~standard",e)}}),u_=(e,t)=>e.issues.length?{issues:e.issues.map((n)=>di(n,t,Sn()))}:{value:e.value};async function iA(e,t){let n={async:!0};return u_(await e._zod.run({value:t,issues:[]},n),n)}function Sh(e){return{validate:(t)=>{let n={async:!1};try{let i=e._zod.run({value:t,issues:[]},n);if(!(i instanceof Promise))return u_(i,n)}catch(i){}return iA(e,t)},vendor:"zod",version:1}}var gc=Q("$ZodString",(e,t)=>{Mt.init(e,t),e._zod.pattern=t.pattern??Ug,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}if(typeof n.value==="string")return n;return n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),bt=Q("$ZodStringFormat",(e,t)=>{bo.init(e,t),gc.init(e,t)}),h_=Q("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=bg),bt.init(e,t)}),f_=Q("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=mh(i))}else t.pattern??(t.pattern=mh());bt.init(e,t)}),d_=Q("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Sg),bt.init(e,t)}),p_=1,pc=2;function m_(e){try{if(typeof URL<"u"&&typeof URL.canParse==="function")return URL.canParse(e);return new URL(e),!0}catch{return!1}}function rA(e,t){if(!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t))return m_(e)||pc;return sA(e,t)}function sA(e,t){if(!t.normalize&&t.protocol?.source===Pg.source&&!/^https?:\/\//i.test(e))return p_;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse==="function")return n.parse(e)??pc}return new URL(e)}catch{return pc}}var oA=/[\t\n\r]/g;function e_(e){return e.replace(oA,"")}function aA(e,t){return t.lastIndex=0,t.test(e.hostname)}function cA(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var g_=Q("$ZodURL",(e,t)=>{bt.init(e,t),e._zod.check=(n)=>{try{let i=n.value.trim(),r=rA(i,t);if(r===p_){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(r===pc){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=e_(i);return}if(t.hostname&&!aA(r,t.hostname))n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort});if(t.protocol&&!cA(r,t.protocol))n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort});n.value=t.normalize?r.href:e_(i);return}catch(i){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),__=Q("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Mg()),bt.init(e,t)}),x_=Q("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?xg:yg(t.length)),bt.init(e,t)}),y_=Q("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=dg),bt.init(e,t)}),v_=Q("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=pg),bt.init(e,t)}),b_=Q("$ZodULID",(e,t)=>{t.pattern??(t.pattern=mg),bt.init(e,t)}),S_=Q("$ZodXID",(e,t)=>{t.pattern??(t.pattern=gg),bt.init(e,t)}),M_=Q("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=_g),bt.init(e,t)}),w_=Q("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Og(t)),bt.init(e,t)}),E_=Q("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Ng),bt.init(e,t)}),T_=Q("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Dg(t)),bt.init(e,t)}),A_=Q("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=vg),bt.init(e,t)}),R_=Q("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=wg),bt.init(e,t)}),lA=/^[0-9a-fA-F:.]+$/;function C_(e){if(!lA.test(e))return!1;return m_(`http://[${e}]`)}var P_=Q("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Eg),bt.init(e,t),e._zod.check=(n)=>{if(!C_(n.value))n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}});var I_=Q("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Tg),bt.init(e,t)});function uA(e){let t=e.split("/");if(t.length!==2)return!1;let[n,i]=t;if(!i)return!1;let r=Number(i);if(`${r}`!==i)return!1;if(r<0||r>128)return!1;return C_(n)}var L_=Q("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Ag),bt.init(e,t),e._zod.check=(n)=>{if(!uA(n.value))n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function N_(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Mh=/^[0-9a-zA-Z+/]*={0,2}$/,D_=Q("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Mh),bt.init(e,t),e._zod.check=(n)=>{if(N_(n.value))return;n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),_c=/^[A-Za-z0-9_-]*$/;function hA(e){if(!_c.test(e))return!1;let t=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return N_(n)}var O_=Q("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=_c),bt.init(e,t),e._zod.check=(n)=>{if(hA(n.value))return;n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),U_=Q("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Ig),bt.init(e,t)});function fA(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));if("typ"in r&&r?.typ!=="JWT")return!1;if(!r.alg)return!1;if(t&&(!("alg"in r)||r.alg!==t))return!1;return!0}catch{return!1}}var F_=Q("$ZodJWT",(e,t)=>{bt.init(e,t),e._zod.check=(n)=>{if(fA(n.value,t.alg))return;n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}});var wh=Q("$ZodNumber",(e,t)=>{Mt.init(e,t),e._zod.pattern=yo,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch(o){}let r=n.value;if(typeof r==="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let s=typeof r==="number"?Number.isNaN(r)?"NaN":!Number.isFinite(r)?String(r):void 0:void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...s?{received:s}:{}}),n}}),z_=Q("$ZodNumberFormat",(e,t)=>{Gg.init(e,t),wh.init(e,t)}),k_=Q("$ZodBoolean",(e,t)=>{Mt.init(e,t),e._zod.pattern=Fg,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Boolean(n.value)}catch(s){}let r=n.value;if(typeof r==="boolean")return n;return n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}});var B_=Q("$ZodUnknown",(e,t)=>{Mt.init(e,t),e._zod.parse=(n)=>n}),G_=Q("$ZodNever",(e,t)=>{Mt.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function t_(e,t,n){if(e.issues.length)t.issues.push(...ar(n,e.issues));t.value[n]=e.value}var H_=Q("$ZodArray",(e,t)=>{Mt.init(e,t);let n=dn.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=n?n.alloc(e,i,Array(s.length),r):Array(s.length);let o=[],a=r?.abortEarly;for(let c=0;c<s.length;c++){let l=s[c],u=t.element._zod.run({value:l,issues:[]},r);if(u instanceof Promise)o.push(u.then((f)=>t_(f,i,c)));else if(t_(u,i,c),a&&u.issues.length!==0&&fi(u))break}if(o.length)return Promise.all(o).then(()=>i);return i}});function mc(e,t,n,i,r,s){let o=n in i,a=s==="optional";if(!o&&a&&r==="optional")return;if(e.issues.length){if(r!==void 0&&a&&!o)return;t.issues.push(...ar(n,e.issues))}if(!o&&r===void 0){if(!e.issues.length)t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}if(e.value===void 0){if(o||r==="defaulted"&&!a)t.value[n]=void 0}else t.value[n]=e.value}var dA=[];function V_(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),i=n.length?n:dA,r=i.length?[...t,...i]:t;for(let o of r)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(o)}": expected a Zod schema`);let s=Vm(e.shape);return{...e,allKeys:r,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(s)}}function $_(e,t,n,i,r,s,o){let a=[],c=r.keySet,l=r.catchall._zod,u=l.def.type,{optin:f,optout:h}=l,d=0;for(let g in t){if(o&&n.issues.length!==d){if(fi(n,d))break;d=n.issues.length}if(c.has(g))continue;if(g==="__proto__"){if(u==="never")a.push(g);continue}if(u==="never"){a.push(g);continue}let x=l.run({value:t[g],issues:[]},i);if(x instanceof Promise)e.push(x.then((p)=>mc(p,n,g,t,f,h)));else mc(x,n,g,t,f,h)}if(a.length)n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:s,continue:!0});if(!e.length)return n;return Promise.all(e).then(()=>n)}var pA=Q("$ZodObject",(e,t)=>{Mt.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),i=n?.get?n.get.raw:t.shape??{};if(i){let l=()=>{let u={...i};return Object.defineProperty(t,"shape",{value:u}),l.raw=u,u};l.raw=i,Object.defineProperty(t,"shape",{get:l})}let r=go(()=>V_(t));nt(e,"propValues",(l)=>{let u=l.def.shape,f={};for(let h in u){let d=u[h]._zod;if(d.values){if(!Object.prototype.hasOwnProperty.call(f,h))Ln(f,h,new Set);for(let g of d.values)f[h].add(g);if(d.optin!==void 0)f[h].add(void 0)}}return f});let s=Ms,o=t.catchall,a,c=dn.memoizer;c?.attach(e),e._zod.parse=(l,u)=>{a??(a=r.value);let f=l.value;if(!s(f))return l.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),l;l.value=c?c.alloc(e,l,{},u):{};let h=[],d=a.shape,g=u?.abortEarly,x=l.issues.length;for(let p of a.allKeys){if(g&&l.issues.length!==x){if(fi(l,x))break;x=l.issues.length}if(p==="__proto__")continue;let m=d[p],E=m._zod.optin,R=m._zod.optout,v=m._zod.run({value:f[p],issues:[]},u);if(v instanceof Promise)h.push(v.then((M)=>mc(M,l,p,f,E,R)));else mc(v,l,p,f,E,R)}if(!o)return h.length?Promise.all(h).then(()=>l):l;return $_(h,f,l,u,r.value,e,g===!0)}}),W_=Q("$ZodObjectJIT",(e,t)=>{pA.init(e,t);let n=e._zod.parse,i=go(()=>V_(t)),r=dn.memoizer,s=(d)=>{let g=i.value,x=g.symbolKeys,p=new vh(["payload","ctx"],{shape:d,inst:e,memo:r,syms:x}),m=(M)=>`shape[${M}]._zod.run({ value: input[${M}], issues: [] }, ctx)`,E=(M,T)=>`let ${M}_ab = false;for (let i = 0; i < ${M}.issues.length; i++) {const iss = ${M}.issues[i];diff --git a/docs/install.md b/docs/install.mdindex 0f7af77e..b9b18e60 100644--- a/docs/install.md+++ b/docs/install.md@@ -1,9 +1,9 @@# Install Kiln for your coding agent-This checkout prepares **Kiln 1.0** under the package name `@instruktlabs/kiln`.-Its development build is not published to npm. Build a [local package](#install-a-local-package)-to test this checkout, or use a previously released tarball with that release's-documentation. [CHANGELOG.md](../CHANGELOG.md) lists changes; read the+This guide covers **Kiln 1.0** under the package name `@instruktlabs/kiln`.+Use a version available in the [npm registry](https://www.npmjs.com/package/@instruktlabs/kiln),+or build a [local package](#install-a-local-package) to test an unpublished checkout.+[CHANGELOG.md](../CHANGELOG.md) lists changes; read the[migration notes](migration.md) before upgrading an existing workspace.Kiln supports standalone authoring with optional projects, a material library and@@ -12,7 +12,25 @@ same engine and saved-source contracts.## Install the package-The unpublished candidate packs as `instruktlabs-kiln-VERSION.tgz`; earlier releases+Once stable 1.0 is published, install it with Node.js and npm:++```sh+mkdir kiln-install+cd kiln-install+npm init -y+npm install @instruktlabs/[email protected] --omit=dev --include=optional+npm exec --offline -- kiln-init ../my-assets --harness codex # or claude, opencode, hermes, agy, copilot, cursor-agent+cd ../my-assets+# Follow START.md for your harness+```++Until that exact version is available, use `@instruktlabs/kiln@next` or the public+`@instruktlabs/[email protected]` instead. The unqualified package name selects+`latest`, which must no longer be the temporary `0.0.0-stage` holding version+before using it. After stable publication, `npm install @instruktlabs/kiln` is the+normal command; the explicit version above keeps this guide reproducible.++Archives are also supported. The package packs as `instruktlabs-kiln-VERSION.tgz`; earlier releasesused `kiln-engine-VERSION.tgz`. Install the actual tarball with Node.js andnpm. Use the tarball and checksum actually attached to the current[release](https://github.com/instruktlabs/kiln/releases) (for 0.10.0, the@@ -37,11 +55,11 @@ cd ../my-assets# Follow START.md for your harness```-Kiln is not published to the npm registry; do not run a registry install command yet.The installed package exposes `kiln`, `kiln-init` and `kiln-mcp`. The last command isa stdio server for MCP clients, not an interactive shell. A client can launch itfrom an existing installation with `npm exec --offline -- kiln-mcp`; package-based-plugin definitions will pin an exact published version once the registry release exists.+plugin definitions pin the matching engine version and require that exact version+to be published, or its reviewed local archive during qualification.npm 11 may warn that the optional `webgpu` package's install script is not covered by`allowScripts` (`npm warn install-scripts`). That script only clears the macOS downloadquarantine from the prebuilt Dawn binary the package ships; Windows and Linux need@@ -89,8 +107,9 @@ attached to the selected release; do not treat an older receipt or a source archas qualification of the current candidate.A successful local build or an unreleased fix does not update the GitHub release: a-checkout can be ahead of it. Do not substitute an unverified npm registry package -- this-package is distributed through GitHub and is deliberately not published to npm.+checkout can be ahead of it. Registry and GitHub release receipts each identify the+exact archive they qualify; neither an unpublished checkout nor an older receipt+proves that a newer version has been published and verified.## Start on a Mac with a local packagediff --git a/docs/migration.md b/docs/migration.mdindex f829b4ed..bb1745ec 100644--- a/docs/migration.md+++ b/docs/migration.md@@ -4,16 +4,17 @@ Existing inline-code transport and the legacy capture format remain supported. TDiscovery and authoring-helper changes below require explicit migration; retirednames have no callable compatibility aliases.-## Unreleased changes planned for 1.0+## Changes in 1.0-These changes describe the 1.0 release candidate, not the downloadable 0.10.0-release. Use the documentation and package from the same release when upgrading.+These changes describe version 1.0 and its public RC, following the downloadable+0.10.0 release. Use the documentation and package from the same release when upgrading.### Package and SDK identityThe npm package becomes `@instruktlabs/kiln`. The previous `@kiln/engine` name wasused by downloaded private-package tarballs; this change does not publish an alias-under that old namespace. The current `1.0.0-rc.1` checkout is still unpublished.+under that old namespace. See the [installation guide](install.md) for the stable+and prerelease npm channels and local candidate qualification.Update application imports to `@instruktlabs/kiln` and its documented subpaths.Exports now provide compiled ESM and TypeScript declarations, so Node consumers nodiff --git a/docs/releasing.md b/docs/releasing.mdindex 5d1c45c1..1907a546 100644--- a/docs/releasing.md+++ b/docs/releasing.md@@ -1,7 +1,8 @@# Publishing Kiln 1.0-This is the maintainer runbook for `@instruktlabs/kiln`. The release workflow is-prepared; it has not published a package. Development, registry publication,+This is the maintainer runbook for `@instruktlabs/kiln`. npm publishing access is+configured and `1.0.0-rc.1` is public under `next`; stable `1.0.0` has not been+published. Development, registry publication,hosted deployment and directory acceptance have separate evidence requirements.See the [v1 execution record](reviews/2026-10-06-v1-execution.md) for current status.@@ -43,8 +44,9 @@ main. Verify these settings before dispatching mode **stage**; the script refusean unprotected environment rather than accepting an implicit environment creation.This GitHub environment was created and read back on 6 October 2026 with the-settings above; see the execution record. Recheck it before staging. npm trusted-publishing is not configured yet, and creating the environment published nothing.+settings above; see the execution record. Recheck it before staging. npm's+stage-only trusted publisher and mandatory package 2FA were configured and verified+the same day. Run `37477014656` subsequently completed the first OIDC stage.First-time npm staging creates a public `0.0.0-stage` placeholder. It thereforerequires explicit authorization against the reviewed candidate. The staged codediff --git a/docs/reviews/2026-10-06-stable-package-candidate.md b/docs/reviews/2026-10-06-stable-package-candidate.mdnew file mode 100644index 00000000..e122558a--- /dev/null+++ b/docs/reviews/2026-10-06-stable-package-candidate.md@@ -0,0 +1,96 @@+# Stable package candidate++This branch prepares `@instruktlabs/[email protected]` from main+`8d14d0e0ca89fe3ef860ff6d3568e5647a382c53`. It does not publish the package,+deploy hosting or claim vendor directory acceptance. Merge and promotion remain+owner decisions against the qualified candidate in [the runbook](../releasing.md).++## Scope++- Align the package, engine and legacy/plugin manifests to 1.0.0; regenerate the+ maintained local plugin and rebuild the Node runtime, SDK and local viewer.+- Correct packaged installation, SDK and migration facts for the stable contract.+ The broad README/Troy/gallery/site content refresh remains deferred until stable+ publication and hosted acceptance, as requested by the owner.+- Carry the already-reviewed root and site dependency patches, the scoped+ Miniflare `[email protected]` override, and ignored Cloudflare secret-binding paths+ independently of unfinished native hosting work.+- Preserve the public RC receipt and registry-install workflow. That workflow+ still verifies `1.0.0-rc.1`; it does not attest that 1.0.0 is published.++The account-controls and native-container branches are excluded. No hosted+authentication or evaluation behavior is changed by this candidate.++## Registry state++On 6 October, a fresh public registry read returned `next: 1.0.0-rc.1` and+`latest: 0.0.0-stage`. Stable promotion must replace that temporary holding tag.+The explicit RC remains the installable version until the stable promotion receipt+and public archive are verified. Never substitute a locally packed archive for the+exact main-CI archive selected by the release workflow.++## Security review++The earlier targeted patches update Hono, its Node server adapter, URI/XML/IP+parsers, protobufjs, proxy-addr and qs within existing declared dependency ranges.+The site patches update `http-cache-semantics` and `source-map-js`. The remaining+moderate selector-parser advisory is confined to the site's trusted static CSS+build; it remains tracked rather than suppressed. No online user-CSS parser is+provided by this release.++A fresh audit also identified the optional agent graph's+`@modelcontextprotocol/[email protected]`. The upstream+[OAuth client advisory](https://github.com/advisories/GHSA-6qxp-vccf-f47h), added to+GitHub's database on 6 October, fixes 1.x in 1.31.0 and later. Kiln's local stdio+server is outside the advisory's affected HTTP OAuth-client path. The optional+Strands/Google dependencies allow a patched 1.x version; the lockfile now resolves+1.32.1 without changing direct dependencies. Root, full hosted and the clean+installed-package production audits report zero known vulnerabilities. This+observation does not imply credentials were+exposed, and no credentials were inspected.++## Qualification++Local gates pass; exact-commit CI and main qualification remain. Local receipts+are retained under `.cache/stable-qualification/`.+The locally packed archive has SHA-256+`6ed3d6b9964429f14c3c6a0a6a13d56be509dd0f40b07061a37d491f901c1508`.+A clean Windows installation with Node 22.23.3/npm 12.2.0 passes SDK imports and+consumer types without optional agent peers, CLI/subprocess rendering, WASM CSG+and UVs, CPU images, MCP discovery, restart persistence, immutable edits, exact+source export, the community exporter and local plugin bundle checks. The release+receipt verifier accepts it. This local archive is development evidence, not the+main-CI archive that will be promoted.++The rebuilt engine passes all 91 hosted foundation tests. Hosted types/builds,+root typecheck/lint, toolchain/skills checks and all 78 render-service tests pass.+Gitleaks scans the 947 validated extracted archive entries (24.07 MB), reporting+no matching secrets. That bounded scan does not establish absence of every secret.++The first full engine run passed 3,289 tests and skipped two, but failed one+standalone CLI fixture at a Windows directory rename (`EPERM`). Its focused retry+passed without a source change. The full rerun with the patched dependency graph+and pinned Node environment passes all 3,290 tests with two platform skips and no+failures. The coverage gate passes at 95.16% functions (minimum 94.00%) and 92.50%+lines (minimum 92.10%); no threshold changed. The initial run remains a failed+receipt, and the Windows CI run must independently qualify the commit.+Initial site builds also exposed missing fresh-worktree setup: scene dependencies+and the generated gallery index. Follow the existing CI preparation steps before+assessing the site build; do not change bundler behavior to hide missing inputs.+After those preparation steps, the full site build passes with no public-text+errors or private-data findings. Nothing was uploaded or deployed.++PR registry CI exposed a verification-target bug: the immutable public RC passed+installation but its receipt was compared with the checkout's new 1.0.0 manifest.+The registry workflow now uses the committed public-release record as its explicit+receipt target, with the same toolchain expectations and unchanged hash checks.+The retained Linux CI receipt and a freshly downloaded, digest-verified public RC+reproduce the rejection against the checkout and pass against the public record.+The stable package/main-release gates still use the actual checkout manifest.++Every final candidate must pass the release matrix on its exact commit; earlier+RC, native or account receipts cannot qualify these changed package bytes.++Hosted startup, hostile-job isolation, real identity-provider sign-in, account+controls, tenant storage, production deployment and directory submissions retain+their separate outstanding gates. Stable package progress does not accept them.diff --git a/docs/runtime.md b/docs/runtime.mdindex 04b94739..3ed7b021 100644--- a/docs/runtime.md+++ b/docs/runtime.md@@ -133,9 +133,9 @@ Advanced geometry callbacks also have operation-specific input limits. Those che### Bake defaults-The rigid-group `full` contract and `rigid-v1` rebuild policy below describe the-unreleased alignment candidate planned for 0.11. They are not implemented by the-downloadable 0.10.0 package; see the [migration notes](migration.md#unreleased-changes-planned-for-10).+The rigid-group `full` contract and `rigid-v1` rebuild policy below are included in+1.0 and its release candidate. They are not implemented by the downloadable 0.10.0+package; see the [migration notes](migration.md#changes-in-10).`KILN_BAKE_OPTIMIZE` and `KILN_BAKE_INSTANCE` choose the bake passes for a render that does not pass `optimize` or `instance`; a value the call passes always wins.diff --git a/docs/sdk.md b/docs/sdk.mdindex 3ea8dc0d..e1efee2d 100644--- a/docs/sdk.md+++ b/docs/sdk.md@@ -1,7 +1,8 @@# Kiln JavaScript and TypeScript SDK-This describes the v1 package contract under development. Registry publication is-a separate release gate; examples use the selected name `@instruktlabs/kiln`.+This describes the v1 package contract. Examples use `@instruktlabs/kiln`; install+a published version or a qualified local archive as described in the+[installation guide](install.md). Registry publication is a separate release gate.## Imports@@ -56,7 +57,8 @@ except `implicit` are stable entrypoints for v1: their declared public signaturerecord shapes and documented behavior receive normal semantic-versioningcompatibility. Optional dependencies do not make the two agent APIs experimental.The `arena` entry is pure ranking math and needs no model SDK or provider key.-This release candidate is not yet the published 1.0 contract.+Use the documentation shipped with the installed version; a checkout does not+change an already installed package's contract.The exception follows the feature across imports: `implicitSurface` remainsexperimental when re-exported by `primitives` or used in authoring globals, anddiff --git a/hosting/package-lock.json b/hosting/package-lock.jsonindex 7b114890..1f3fd77a 100644--- a/hosting/package-lock.json+++ b/hosting/package-lock.json@@ -594,9 +594,9 @@}},"node_modules/@img/sharp-darwin-arm64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.4.tgz",- "integrity": "sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",+ "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==","cpu": ["arm64"],@@ -613,13 +613,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-darwin-arm64": "1.3.3"+ "@img/sharp-libvips-darwin-arm64": "1.3.4"}},"node_modules/@img/sharp-darwin-x64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.4.tgz",- "integrity": "sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",+ "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==","cpu": ["x64"],@@ -636,13 +636,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-darwin-x64": "1.3.3"+ "@img/sharp-libvips-darwin-x64": "1.3.4"}},"node_modules/@img/sharp-freebsd-wasm32": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.4.tgz",- "integrity": "sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",+ "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==","dev": true,"license": "Apache-2.0","optional": true,@@ -650,7 +650,7 @@"freebsd"],"dependencies": {- "@img/sharp-wasm32": "0.35.4"+ "@img/sharp-wasm32": "0.35.5"},"engines": {"node": ">=20.9.0"@@ -660,9 +660,9 @@}},"node_modules/@img/sharp-libvips-darwin-arm64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.3.tgz",- "integrity": "sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",+ "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==","cpu": ["arm64"],@@ -677,9 +677,9 @@}},"node_modules/@img/sharp-libvips-darwin-x64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.3.tgz",- "integrity": "sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",+ "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==","cpu": ["x64"],@@ -694,9 +694,9 @@}},"node_modules/@img/sharp-libvips-linux-arm": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.3.tgz",- "integrity": "sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",+ "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==","cpu": ["arm"],@@ -714,9 +714,9 @@}},"node_modules/@img/sharp-libvips-linux-arm64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.3.tgz",- "integrity": "sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",+ "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==","cpu": ["arm64"],@@ -734,9 +734,9 @@}},"node_modules/@img/sharp-libvips-linux-ppc64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.3.tgz",- "integrity": "sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",+ "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==","cpu": ["ppc64"],@@ -754,9 +754,9 @@}},"node_modules/@img/sharp-libvips-linux-riscv64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.3.tgz",- "integrity": "sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",+ "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==","cpu": ["riscv64"],@@ -774,9 +774,9 @@}},"node_modules/@img/sharp-libvips-linux-s390x": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.3.tgz",- "integrity": "sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",+ "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==","cpu": ["s390x"],@@ -794,9 +794,9 @@}},"node_modules/@img/sharp-libvips-linux-x64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.3.tgz",- "integrity": "sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",+ "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==","cpu": ["x64"],@@ -814,9 +814,9 @@}},"node_modules/@img/sharp-libvips-linuxmusl-arm64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.3.tgz",- "integrity": "sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",+ "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==","cpu": ["arm64"],@@ -834,9 +834,9 @@}},"node_modules/@img/sharp-libvips-linuxmusl-x64": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.3.tgz",- "integrity": "sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",+ "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==","cpu": ["x64"],@@ -854,9 +854,9 @@}},"node_modules/@img/sharp-linux-arm": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.4.tgz",- "integrity": "sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",+ "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==","cpu": ["arm"],@@ -876,13 +876,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-arm": "1.3.3"+ "@img/sharp-libvips-linux-arm": "1.3.4"}},"node_modules/@img/sharp-linux-arm64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.4.tgz",- "integrity": "sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",+ "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==","cpu": ["arm64"],@@ -902,13 +902,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-arm64": "1.3.3"+ "@img/sharp-libvips-linux-arm64": "1.3.4"}},"node_modules/@img/sharp-linux-ppc64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.4.tgz",- "integrity": "sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",+ "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==","cpu": ["ppc64"],@@ -928,13 +928,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-ppc64": "1.3.3"+ "@img/sharp-libvips-linux-ppc64": "1.3.4"}},"node_modules/@img/sharp-linux-riscv64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.4.tgz",- "integrity": "sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",+ "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==","cpu": ["riscv64"],@@ -954,13 +954,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-riscv64": "1.3.3"+ "@img/sharp-libvips-linux-riscv64": "1.3.4"}},"node_modules/@img/sharp-linux-s390x": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.4.tgz",- "integrity": "sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",+ "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==","cpu": ["s390x"],@@ -980,13 +980,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-s390x": "1.3.3"+ "@img/sharp-libvips-linux-s390x": "1.3.4"}},"node_modules/@img/sharp-linux-x64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.4.tgz",- "integrity": "sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",+ "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==","cpu": ["x64"],@@ -1006,13 +1006,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-x64": "1.3.3"+ "@img/sharp-libvips-linux-x64": "1.3.4"}},"node_modules/@img/sharp-linuxmusl-arm64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.4.tgz",- "integrity": "sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",+ "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==","cpu": ["arm64"],@@ -1032,13 +1032,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linuxmusl-arm64": "1.3.3"+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"}},"node_modules/@img/sharp-linuxmusl-x64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.4.tgz",- "integrity": "sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",+ "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==","cpu": ["x64"],@@ -1058,13 +1058,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linuxmusl-x64": "1.3.3"+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4"}},"node_modules/@img/sharp-wasm32": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.4.tgz",- "integrity": "sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",+ "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==","dev": true,"license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT","optional": true,@@ -1079,9 +1079,9 @@}},"node_modules/@img/sharp-webcontainers-wasm32": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.4.tgz",- "integrity": "sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",+ "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==","cpu": ["wasm32"],@@ -1089,7 +1089,7 @@"license": "Apache-2.0","optional": true,"dependencies": {- "@img/sharp-wasm32": "0.35.4"+ "@img/sharp-wasm32": "0.35.5"},"engines": {"node": ">=20.9.0"@@ -1099,9 +1099,9 @@}},"node_modules/@img/sharp-win32-arm64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.4.tgz",- "integrity": "sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",+ "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==","cpu": ["arm64"],@@ -1119,9 +1119,9 @@}},"node_modules/@img/sharp-win32-ia32": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.4.tgz",- "integrity": "sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",+ "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==","cpu": ["ia32"],@@ -1139,9 +1139,9 @@}},"node_modules/@img/sharp-win32-x64": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.4.tgz",- "integrity": "sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",+ "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==","cpu": ["x64"],@@ -1727,9 +1727,9 @@}},"node_modules/sharp": {- "version": "0.35.4",- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.4.tgz",- "integrity": "sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA==",+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",+ "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==","dev": true,"license": "Apache-2.0","dependencies": {@@ -1744,31 +1744,31 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-darwin-arm64": "0.35.4",- "@img/sharp-darwin-x64": "0.35.4",- "@img/sharp-freebsd-wasm32": "0.35.4",- "@img/sharp-libvips-darwin-arm64": "1.3.3",- "@img/sharp-libvips-darwin-x64": "1.3.3",- "@img/sharp-libvips-linux-arm": "1.3.3",- "@img/sharp-libvips-linux-arm64": "1.3.3",- "@img/sharp-libvips-linux-ppc64": "1.3.3",- "@img/sharp-libvips-linux-riscv64": "1.3.3",- "@img/sharp-libvips-linux-s390x": "1.3.3",- "@img/sharp-libvips-linux-x64": "1.3.3",- "@img/sharp-libvips-linuxmusl-arm64": "1.3.3",- "@img/sharp-libvips-linuxmusl-x64": "1.3.3",- "@img/sharp-linux-arm": "0.35.4",- "@img/sharp-linux-arm64": "0.35.4",- "@img/sharp-linux-ppc64": "0.35.4",- "@img/sharp-linux-riscv64": "0.35.4",- "@img/sharp-linux-s390x": "0.35.4",- "@img/sharp-linux-x64": "0.35.4",- "@img/sharp-linuxmusl-arm64": "0.35.4",- "@img/sharp-linuxmusl-x64": "0.35.4",- "@img/sharp-webcontainers-wasm32": "0.35.4",- "@img/sharp-win32-arm64": "0.35.4",- "@img/sharp-win32-ia32": "0.35.4",- "@img/sharp-win32-x64": "0.35.4"+ "@img/sharp-darwin-arm64": "0.35.5",+ "@img/sharp-darwin-x64": "0.35.5",+ "@img/sharp-freebsd-wasm32": "0.35.5",+ "@img/sharp-libvips-darwin-arm64": "1.3.4",+ "@img/sharp-libvips-darwin-x64": "1.3.4",+ "@img/sharp-libvips-linux-arm": "1.3.4",+ "@img/sharp-libvips-linux-arm64": "1.3.4",+ "@img/sharp-libvips-linux-ppc64": "1.3.4",+ "@img/sharp-libvips-linux-riscv64": "1.3.4",+ "@img/sharp-libvips-linux-s390x": "1.3.4",+ "@img/sharp-libvips-linux-x64": "1.3.4",+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4",+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4",+ "@img/sharp-linux-arm": "0.35.5",+ "@img/sharp-linux-arm64": "0.35.5",+ "@img/sharp-linux-ppc64": "0.35.5",+ "@img/sharp-linux-riscv64": "0.35.5",+ "@img/sharp-linux-s390x": "0.35.5",+ "@img/sharp-linux-x64": "0.35.5",+ "@img/sharp-linuxmusl-arm64": "0.35.5",+ "@img/sharp-linuxmusl-x64": "0.35.5",+ "@img/sharp-webcontainers-wasm32": "0.35.5",+ "@img/sharp-win32-arm64": "0.35.5",+ "@img/sharp-win32-ia32": "0.35.5",+ "@img/sharp-win32-x64": "0.35.5"},"peerDependenciesMeta": {"@types/node": {diff --git a/hosting/package.json b/hosting/package.jsonindex 6cf69659..84ec6bde 100644--- a/hosting/package.json+++ b/hosting/package.json@@ -13,6 +13,11 @@"@modelcontextprotocol/server": "2.3.0","oauth4webapi": "3.8.8"},+ "overrides": {+ "miniflare": {+ "sharp": "0.35.5"+ }+ },"devDependencies": {"@cloudflare/workers-types": "5.20261006.1","esbuild": "0.28.1",diff --git a/package.json b/package.jsonindex 798b1e46..1a1490f2 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@instruktlabs/kiln",- "version": "1.0.0-rc.1",+ "version": "1.0.0","description": "Create and refine procedural 3D assets with JavaScript, image feedback, and reusable source revisions.","license": "MIT","author": "Matthew Kissinger",diff --git a/plugin.json b/plugin.jsonindex 70fb1275..1b12986c 100644--- a/plugin.json+++ b/plugin.json@@ -2,7 +2,7 @@"name": "kiln","displayName": "Kiln","description": "Build and revise 3D assets with your coding agent. Write JavaScript, inspect selected views, edit saved source revisions, and export GLB files locally.",- "version": "1.0.0-rc.1",+ "version": "1.0.0","license": "MIT","homepage": "https://github.com/instruktlabs/kiln","keywords": [diff --git a/plugins/kiln-engine/.claude-plugin/plugin.json b/plugins/kiln-engine/.claude-plugin/plugin.jsonindex 0fb53522..57737b31 100644--- a/plugins/kiln-engine/.claude-plugin/plugin.json+++ b/plugins/kiln-engine/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "kiln-engine",- "version": "1.0.0-rc.1",+ "version": "1.0.0","description": "Set up a local Kiln workspace to create, inspect and revise editable 3D assets with Claude Code or Codex.","author": {"name": "Instrukt Labs"diff --git a/plugins/kiln-engine/README.md b/plugins/kiln-engine/README.mdindex 39daddbb..8c76de9f 100644--- a/plugins/kiln-engine/README.md+++ b/plugins/kiln-engine/README.md@@ -1,11 +1,9 @@# Kiln Engine local plugin-**Release candidate.** Use the reviewed archive via `--archive` for local qualification. Registry installation requires this exact version to be available on npm.--Version 1.0.0-rc.1, published by Instrukt Labs under the MIT license.+Version 1.0.0, published by Instrukt Labs under the MIT license.Ask your coding agent to set up a Kiln workspace. The setup skill installs-`@instruktlabs/[email protected]` with npm and creates a separate asset workspace.+`@instruktlabs/[email protected]` with npm and creates a separate asset workspace.Use a supported Node.js installation with npm; no Bun, engine clone or separatemodel API key is required. The workspace's START.md explains how to reopen it.diff --git a/plugins/kiln-engine/package-provenance.json b/plugins/kiln-engine/package-provenance.jsonindex 5a14c490..34e81b73 100644--- a/plugins/kiln-engine/package-provenance.json+++ b/plugins/kiln-engine/package-provenance.json@@ -1,13 +1,13 @@{"schemaVersion": 1,"kind": "kiln-local-plugin",- "engineVersion": "1.0.0-rc.1",+ "engineVersion": "1.0.0","files": {- ".claude-plugin/plugin.json": "sha256:5bf6fedd28a3b9ee3fa93bd6a89874a4ed5993c62473e05ac77960f4040be0d3",+ ".claude-plugin/plugin.json": "sha256:c40c7eafed4c0822faef83178633f3bf3449311220f709d5155aed4a9c74cd6b","LICENSE": "sha256:cdba278ebf1d6de618869936226bf03be4887179c128efc7aaa13d22034826a5",- "plugin.json": "sha256:2410014ba1112930d7a1b20dd1e6ce12508b26551a6cce970a00b2c84015ef90",- "README.md": "sha256:5c773283968b63a29c05edf1f517cc0b5e5d9d44880442a4f76b35a540300744",- "runtime.json": "sha256:4deba826fd99f813d0a401add295f99b75937377af6cb45539bf63c9ff58d6f5",+ "plugin.json": "sha256:f80ecc90d141adf45e5fadfe5092c325e9174f02b364c1e0059cd5bd345eaaf1",+ "README.md": "sha256:3a9482e4e8e47b8ef7fb27d2d880253397a7f903b7ccdd64794995fd3075d2dd",+ "runtime.json": "sha256:18129a1d310c468aeba0966792940242f0359ab14c41a4c9ef240310d07d3bd2","scripts/setup-workspace.mjs": "sha256:0936f482a213706cf1576da11e57d40993b90f42b486f262e55d38d8d27b2e4d","skills/kiln-setup-workspace/references/plugin-install.md": "sha256:84f4ce4c9620aae1e6b37a6a04f5c874feae507c9e7a2f24fe62e48bbe6c09bd","skills/kiln-setup-workspace/SKILL.md": "sha256:9dbcb66514e21ea11b097bb1cd4b27b616834ded3e8182ea804f370add37a69f"diff --git a/plugins/kiln-engine/plugin.json b/plugins/kiln-engine/plugin.jsonindex 5e034443..699c644a 100644--- a/plugins/kiln-engine/plugin.json+++ b/plugins/kiln-engine/plugin.json@@ -1,7 +1,7 @@{"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json","name": "kiln-engine",- "version": "1.0.0-rc.1",+ "version": "1.0.0","description": "Set up a local Kiln workspace to create, inspect and revise editable 3D assets with Claude Code or Codex.","author": {"name": "Instrukt Labs"diff --git a/plugins/kiln-engine/runtime.json b/plugins/kiln-engine/runtime.jsonindex 86a2a1dc..bf2c958a 100644--- a/plugins/kiln-engine/runtime.json+++ b/plugins/kiln-engine/runtime.json@@ -1,4 +1,4 @@{"name": "@instruktlabs/kiln",- "version": "1.0.0-rc.1"+ "version": "1.0.0"}diff --git a/site/bun.lock b/site/bun.lockindex 5e4a0371..49558ade 100644--- a/site/bun.lock+++ b/site/bun.lock@@ -736,7 +736,7 @@"html-void-elements": ["[email protected]", "", {}, "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg=="],- "http-cache-semantics": ["[email protected]", "", {}, "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ=="],+ "http-cache-semantics": ["[email protected]", "", {}, "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA=="],"http-link-header": ["[email protected]", "", {}, "sha512-xT3GPW6/ZbGuw4UvwHqErSCEjNUlwbQJuZn9/q5U4WEKfp2kENVCAlousG1zLxHeaQ/ffOHUNpWamvkbBW0eNw=="],@@ -1126,7 +1126,7 @@"source-map": ["[email protected]", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="],- "source-map-js": ["[email protected]", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],+ "source-map-js": ["[email protected]", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="],"space-separated-tokens": ["[email protected]", "", {}, "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q=="],diff --git a/src/engine-identity.ts b/src/engine-identity.tsindex a9c2fa6b..909b701b 100644--- a/src/engine-identity.ts+++ b/src/engine-identity.ts@@ -27,7 +27,7 @@* `src/__tests__/package-contents.test.ts` fails if it disagrees with the manifest* or with any plugin manifest, which is what keeps the literal honest.*/-export const ENGINE_VERSION = '1.0.0-rc.1';+export const ENGINE_VERSION = '1.0.0';/*** Where this engine was loaded from, as a `file://` URL of the package root.