Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix(wiki): finish crawlability metadata, routes and PR checks

Haozhe Wu266109188750
diff --git a/.github/workflows/wiki-deploy.yml b/.github/workflows/wiki-deploy.yml
index 879e79c1a..5dcde389e 100644
--- a/.github/workflows/wiki-deploy.yml
+++ b/.github/workflows/wiki-deploy.yml
@@ -38,6 +38,19 @@ jobs:
python wiki/scripts/build_alpha_library.py --clean
test -f wiki/alpha-library/content/index.json
+ # The docs pages are client-rendered. Write one static HTML file per URL
+ # so a crawler that never runs JavaScript (GPTBot, ClaudeBot,
+ # PerplexityBot) still gets the article body, its own canonical and the
+ # hreflang pair; then regenerate the sitemap from what was just written.
+ - name: Prerender docs and regenerate the sitemap
+ working-directory: wiki
+ run: |
+ node scripts/prerender_docs.mjs
+ node scripts/gen_sitemap.mjs
+ test -f docs/latest/tools/alpha-zoo.html
+ test -f docs/zh/tools/alpha-zoo.html
+ test "$(grep -c '<loc>' sitemap.xml)" -ge 42
+
- name: Deploy wiki
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
with:
diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml
index 2e6e01e3b..ec80ce7d5 100644
--- a/.github/workflows/wiki.yml
+++ b/.github/workflows/wiki.yml
@@ -5,11 +5,13 @@ on:
branches: [main]
paths:
- "wiki/**"
+ - "tools/wiki/**"
- ".github/workflows/wiki.yml"
pull_request:
branches: [main]
paths:
- "wiki/**"
+ - "tools/wiki/**"
- ".github/workflows/wiki.yml"
jobs:
@@ -38,6 +40,15 @@ jobs:
node --check wiki/docs/content.en.js
node --check wiki/docs/content.zh.js
node --check wiki/docs/main.js
+ node --check wiki/docs/metadata.js
+ node --check wiki/scripts/prerender_docs.mjs
+ node --check wiki/scripts/gen_sitemap.mjs
+
+ - name: Install wiki check dependencies
+ run: npm ci --prefix tools/wiki --no-audit --no-fund
+
+ - name: Generate docs and verify metadata, languages and actual Pages routes
+ run: npm test --prefix tools/wiki
- name: Check English and Chinese docs match
run: node wiki/scripts/check_docs_parity.mjs
diff --git a/.gitignore b/.gitignore
index 4aeb80a8b..7d51a9de6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -191,3 +191,7 @@ agent/tests/artifacts/
# Runtime background command previews and restart outcomes
/background-tasks/
+
+# Prerendered docs pages (written by wiki/scripts/prerender_docs.mjs at deploy time)
+wiki/docs/latest/
+wiki/docs/zh/
diff --git a/tools/wiki/dom.mjs b/tools/wiki/dom.mjs
new file mode 100644
index 000000000..654a9a803
--- /dev/null
+++ b/tools/wiki/dom.mjs
@@ -0,0 +1,49 @@
+import { readFileSync } from "node:fs";
+import path from "node:path";
+import vm from "node:vm";
+import { fileURLToPath } from "node:url";
+import { JSDOM } from "jsdom";
+
+export const wiki = fileURLToPath(new URL("../../wiki/", import.meta.url));
+
+// Execute the shipped modules, with only external network requests replaced.
+export async function loadPage(filename, url, { language = "en", entry = "docs/main.js" } = {}) {
+ const dom = new JSDOM(readFileSync(path.join(wiki, filename), "utf8"), {
+ url: `http://127.0.0.1${url}`, runScripts: "outside-only", pretendToBeVisual: true,
+ });
+ dom.window.scrollTo = () => {};
+ dom.window.localStorage.setItem("vibetrading-lang", language);
+ dom.window.fetch = async (target) => ({
+ ok: true,
+ json: async () => String(target).startsWith("/locales/")
+ ? JSON.parse(readFileSync(path.join(wiki, "locales/zh.json"), "utf8")) : {},
+ });
+ const context = dom.getInternalVMContext();
+ const cache = new Map();
+ async function load(file) {
+ if (cache.has(file)) return cache.get(file);
+ const module = new vm.SourceTextModule(readFileSync(file, "utf8"), { context, identifier: file });
+ cache.set(file, module);
+ await module.link((specifier, parent) => {
+ const clean = specifier.split("?")[0];
+ return load(clean.startsWith("/") ? path.join(wiki, clean) : path.resolve(path.dirname(parent.identifier), clean));
+ });
+ return module;
+ }
+ try {
+ const module = await load(path.join(wiki, entry));
+ await module.evaluate();
+ return dom;
+ } catch (error) {
+ dom.window.close();
+ throw error;
+ }
+}
+
+export async function until(predicate) {
+ const deadline = Date.now() + 2000;
+ while (!predicate()) {
+ if (Date.now() >= deadline) throw new Error("page did not reach the expected state");
+ await new Promise((resolve) => setTimeout(resolve, 5));
+ }
+}
diff --git a/tools/wiki/package-lock.json b/tools/wiki/package-lock.json
new file mode 100644
index 000000000..8c9d8649e
--- /dev/null
+++ b/tools/wiki/package-lock.json
@@ -0,0 +1,2070 @@
+{
+ "name": "vibe-trading-wiki-checks",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "vibe-trading-wiki-checks",
+ "devDependencies": {
+ "jsdom": "30.1.3",
+ "wrangler": "4.98.0"
+ },
+ "engines": {
+ "node": ">=22.22"
+ }
+ },
+ "node_modules/@asamuzakjp/css-color": {
+ "version": "7.1.9",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.9.tgz",
+ "integrity": "sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/css-calc": "^3.4.3",
+ "@csstools/css-color-parser": "^4.2.6",
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2",
+ "lru-cache": "^11.5.3"
+ },
+ "engines": {
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
+ }
+ },
+ "node_modules/@asamuzakjp/dom-selector": {
+ "version": "10.0.5",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.5.tgz",
+ "integrity": "sha512-EgmJ7oEaGQECTn3H3wmnQpEy4hKY66VvM7VQndwPIQob3p877BgbyOUE3EX0LgXQCciF2H8KMdR+RznqjMNOLw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bidi-js": "^1.1.0",
+ "css-tree": "^3.2.1",
+ "is-potential-custom-element-name": "^1.0.1",
+ "lru-cache": "^11.5.3"
+ },
+ "engines": {
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
+ }
+ },
+ "node_modules/@bramus/specificity": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz",
+ "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "css-tree": "^3.2.1"
+ },
+ "bin": {
+ "specificity": "bin/cli.js"
+ }
+ },
+ "node_modules/@cloudflare/kv-asset-handler": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz",
+ "integrity": "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "engines": {
+ "node": ">=22.0.0"
+ }
+ },
+ "node_modules/@cloudflare/unenv-preset": {
+ "version": "2.16.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.1.tgz",
+ "integrity": "sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "peerDependencies": {
+ "unenv": "2.0.0-rc.24",
+ "workerd": ">1.20260305.0 <2.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "workerd": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@cloudflare/workerd-darwin-64": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20260603.1.tgz",
+ "integrity": "sha512-cEXDWu6V3ZrpmwWkM4OJE9AeXjdAgOY5rh8EHhcBVCuP5rxnzUbPzLtrVOHx0UUUAcCrFq0Xsa6mZKL1VUZsKQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-darwin-arm64": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20260603.1.tgz",
+ "integrity": "sha512-uBPK4LaWJNbbCYwPnUAehlHbbVulhVZPZsdcAhBPfZhHb3QAuAEPAQepO/P67R3V6Cni4YGx1fLbL8A5wwoaNA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-linux-64": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20260603.1.tgz",
+ "integrity": "sha512-ht9l6/8Tk7Rp6kA4S9oFZ4X8u0VjnnFdmU/6B3fnABYKREYTKh2RdOqXqXxcp5eNJseireKnWik/hQOPK1CutQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-linux-arm64": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20260603.1.tgz",
+ "integrity": "sha512-LJZ6x00rAjSrobV4m0ZW0TpH5ilBbKcWBzlH+y+KOUsIE/CpTuhAzKV43TbSnFLRX5+jrWKiz2v0hO91lPXy6A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-windows-64": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20260603.1.tgz",
+ "integrity": "sha512-DvwqkXMAJRPoDN4PxapAwhlz/6ouD+6R1ttbAEK3cWD/QBvFF5STx7Ds/9Irf+rBly3np3uHWkeX+wZnNFEuzA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cspotcode/source-map-support": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
+ "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "0.3.9"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@csstools/color-helpers": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz",
+ "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=20.19.0"
+ }
+ },
+ "node_modules/@csstools/css-calc": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz",
+ "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2"
+ }
+ },
+ "node_modules/@csstools/css-color-parser": {
+ "version": "4.2.7",
+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.7.tgz",
+ "integrity": "sha512-zgm9yjQz5iJB4VL8RyVwd71TWB8Q89FSxt/NzXoWqPSkEBOVtn9L6vAPtSc9hpKfB0Awo/AL2VKFHjYetBLFHQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/color-helpers": "^6.1.2",
+ "@csstools/css-calc": "^3.4.3"
+ },
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2"
+ }
+ },
+ "node_modules/@csstools/css-parser-algorithms": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz",
+ "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "@csstools/css-tokenizer": "^4.0.2"
+ }
+ },
+ "node_modules/@csstools/css-syntax-patches-for-csstree": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.16.tgz",
+ "integrity": "sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "peerDependencies": {
+ "css-tree": "^3.2.1"
+ },
+ "peerDependenciesMeta": {
+ "css-tree": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@csstools/css-tokenizer": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz",
+ "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.11.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz",
+ "integrity": "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.3.tgz",
+ "integrity": "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.3.tgz",
+ "integrity": "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.3.tgz",
+ "integrity": "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.3.tgz",
+ "integrity": "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.3.tgz",
+ "integrity": "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.3.tgz",
+ "integrity": "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.3.tgz",
+ "integrity": "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.3.tgz",
+ "integrity": "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.3.tgz",
+ "integrity": "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.3.tgz",
+ "integrity": "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.3.tgz",
+ "integrity": "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.3.tgz",
+ "integrity": "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.3.tgz",
+ "integrity": "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.3.tgz",
+ "integrity": "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.3.tgz",
+ "integrity": "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.3.tgz",
+ "integrity": "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.3.tgz",
+ "integrity": "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.3.tgz",
+ "integrity": "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.3.tgz",
+ "integrity": "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.3.tgz",
+ "integrity": "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.3.tgz",
+ "integrity": "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.3.tgz",
+ "integrity": "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@exodus/bytes": {
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.16.0.tgz",
+ "integrity": "sha512-IcpW84uEn3N7ETtNZMlxKhfl6Pec8rUNGOTBtWbK1FKhJxIFAptZyVrvVRVBimAJxJCgc3PxepxkdWWG4DVzfA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "@noble/hashes": "^1.8.0 || ^2.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@noble/hashes": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@img/colour": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@img/sharp-darwin-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",
+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-arm64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-darwin-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",
+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-x64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",
+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",
+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",
+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",
+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-ppc64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",
+ "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-riscv64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",
+ "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-s390x": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",
+ "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",
+ "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",
+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",
+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",
+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",
+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-ppc64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",
+ "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-ppc64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-riscv64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",
+ "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-riscv64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-s390x": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",
+ "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-s390x": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",
+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-x64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",
+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",
+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"
+ }
+ },
+ "node_modules/@img/sharp-wasm32": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",
+ "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/runtime": "^1.7.0"
+ },
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",
+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-ia32": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",
+ "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
+ "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.0.3",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
+ }
+ },
+ "node_modules/@poppinss/colors": {
+ "version": "4.1.6",
+ "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz",
+ "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^4.1.5"
+ }
+ },
+ "node_modules/@poppinss/dumper": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz",
+ "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/colors": "^4.1.5",
+ "@sindresorhus/is": "^7.0.2",
+ "supports-color": "^10.0.0"
+ }
+ },
+ "node_modules/@poppinss/exception": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz",
+ "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@sindresorhus/is": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz",
+ "integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/is?sponsor=1"
+ }
+ },
+ "node_modules/@speed-highlight/core": {
+ "version": "1.2.24",
+ "resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.24.tgz",
+ "integrity": "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
+ "node_modules/bidi-js": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz",
+ "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "require-from-string": "^2.0.2"
+ }
+ },
+ "node_modules/blake3-wasm": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz",
+ "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cookie": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
+ "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/css-tree": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz",
+ "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mdn-data": "2.27.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
+ }
+ },
+ "node_modules/data-urls": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-8.0.0.tgz",
+ "integrity": "sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-mimetype": "^5.0.0",
+ "whatwg-url": "^17.1.2"
+ },
+ "engines": {
+ "node": "^22.14.0 || >=24.0.0"
+ }
+ },
+ "node_modules/decimal.js": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
+ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/entities": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz",
+ "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/error-stack-parser-es": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz",
+ "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz",
+ "integrity": "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.3",
+ "@esbuild/android-arm": "0.27.3",
+ "@esbuild/android-arm64": "0.27.3",
+ "@esbuild/android-x64": "0.27.3",
+ "@esbuild/darwin-arm64": "0.27.3",
+ "@esbuild/darwin-x64": "0.27.3",
+ "@esbuild/freebsd-arm64": "0.27.3",
+ "@esbuild/freebsd-x64": "0.27.3",
+ "@esbuild/linux-arm": "0.27.3",
+ "@esbuild/linux-arm64": "0.27.3",
+ "@esbuild/linux-ia32": "0.27.3",
+ "@esbuild/linux-loong64": "0.27.3",
+ "@esbuild/linux-mips64el": "0.27.3",
+ "@esbuild/linux-ppc64": "0.27.3",
+ "@esbuild/linux-riscv64": "0.27.3",
+ "@esbuild/linux-s390x": "0.27.3",
+ "@esbuild/linux-x64": "0.27.3",
+ "@esbuild/netbsd-arm64": "0.27.3",
+ "@esbuild/netbsd-x64": "0.27.3",
+ "@esbuild/openbsd-arm64": "0.27.3",
+ "@esbuild/openbsd-x64": "0.27.3",
+ "@esbuild/openharmony-arm64": "0.27.3",
+ "@esbuild/sunos-x64": "0.27.3",
+ "@esbuild/win32-arm64": "0.27.3",
+ "@esbuild/win32-ia32": "0.27.3",
+ "@esbuild/win32-x64": "0.27.3"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/html-encoding-sniffer": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-7.0.0.tgz",
+ "integrity": "sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@exodus/bytes": "^1.15.1"
+ },
+ "engines": {
+ "node": "^22.13.0 || >=24.0.0"
+ }
+ },
+ "node_modules/is-potential-custom-element-name": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/jsdom": {
+ "version": "30.1.3",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-30.1.3.tgz",
+ "integrity": "sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@asamuzakjp/css-color": "^7.1.3",
+ "@asamuzakjp/dom-selector": "^10.0.3",
+ "@bramus/specificity": "^2.4.2",
+ "@csstools/css-syntax-patches-for-csstree": "^1.1.15",
+ "@exodus/bytes": "^1.16.0",
+ "css-tree": "^3.2.1",
+ "data-urls": "^8.0.0",
+ "decimal.js": "^10.6.0",
+ "html-encoding-sniffer": "^7.0.0",
+ "is-potential-custom-element-name": "^1.0.1",
+ "lru-cache": "^11.5.3",
+ "parse5": "^8.0.1",
+ "saxes": "^6.0.0",
+ "tough-cookie": "^6.0.2",
+ "undici": "^8.12.1",
+ "w3c-xmlserializer": "^6.0.0",
+ "webidl-conversions": "^8.0.1",
+ "whatwg-mimetype": "^5.0.0",
+ "whatwg-url": "^17.2.0",
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
+ },
+ "peerDependencies": {
+ "canvas": "^3.2.3"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/kleur": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "11.5.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
+ "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": "20 || >=22"
+ }
+ },
+ "node_modules/mdn-data": {
+ "version": "2.27.1",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",
+ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
+ "node_modules/miniflare": {
+ "version": "4.20260603.0",
+ "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-4.20260603.0.tgz",
+ "integrity": "sha512-+kMQYB82gC8MPOuojHur3icQsUeZUEJ+Sphuo5rVC3Ri9txBLAW/mH33b9OVrpmkogQeaaqPS4tPtugJZhk5Kw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cspotcode/source-map-support": "0.8.1",
+ "sharp": "0.34.5",
+ "undici": "7.24.8",
+ "workerd": "1.20260603.1",
+ "ws": "8.20.1",
+ "youch": "4.1.0-beta.10"
+ },
+ "bin": {
+ "miniflare": "bootstrap.js"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ }
+ },
+ "node_modules/miniflare/node_modules/undici": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.24.8.tgz",
+ "integrity": "sha512-6KQ/+QxK49Z/p3HO6E5ZCZWNnCasyZLa5ExaVYyvPxUwKtbCPMKELJOqh7EqOle0t9cH/7d2TaaTRRa6Nhs4YQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.18.1"
+ }
+ },
+ "node_modules/parse5": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.0.tgz",
+ "integrity": "sha512-sq3qBFpee5jeocbFbO48VHlGr8sT7mbXS0vxlKN6sottBtJzrOG3998sr0llSZcQAGgfpdmEYAIZE0P9z0dE8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^9.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/path-to-regexp": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
+ "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/saxes": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
+ "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "xmlchars": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=v12.22.7"
+ }
+ },
+ "node_modules/semver": {
+ "version": "7.8.6",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz",
+ "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/sharp": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",
+ "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@img/colour": "^1.0.0",
+ "detect-libc": "^2.1.2",
+ "semver": "^7.7.3"
+ },
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-darwin-arm64": "0.34.5",
+ "@img/sharp-darwin-x64": "0.34.5",
+ "@img/sharp-libvips-darwin-arm64": "1.2.4",
+ "@img/sharp-libvips-darwin-x64": "1.2.4",
+ "@img/sharp-libvips-linux-arm": "1.2.4",
+ "@img/sharp-libvips-linux-arm64": "1.2.4",
+ "@img/sharp-libvips-linux-ppc64": "1.2.4",
+ "@img/sharp-libvips-linux-riscv64": "1.2.4",
+ "@img/sharp-libvips-linux-s390x": "1.2.4",
+ "@img/sharp-libvips-linux-x64": "1.2.4",
+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",
+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4",
+ "@img/sharp-linux-arm": "0.34.5",
+ "@img/sharp-linux-arm64": "0.34.5",
+ "@img/sharp-linux-ppc64": "0.34.5",
+ "@img/sharp-linux-riscv64": "0.34.5",
+ "@img/sharp-linux-s390x": "0.34.5",
+ "@img/sharp-linux-x64": "0.34.5",
+ "@img/sharp-linuxmusl-arm64": "0.34.5",
+ "@img/sharp-linuxmusl-x64": "0.34.5",
+ "@img/sharp-wasm32": "0.34.5",
+ "@img/sharp-win32-arm64": "0.34.5",
+ "@img/sharp-win32-ia32": "0.34.5",
+ "@img/sharp-win32-x64": "0.34.5"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "10.2.2",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
+ "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/tldts": {
+ "version": "7.4.19",
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.19.tgz",
+ "integrity": "sha512-48dH6aSpQnpbzDUc4vIQZ1VjB8tkK+e8c1yx05/SZK+rkssgjEOlxDd/yU8/a4vGYQ9vRgJr9dwMq9TJ0b3X2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tldts-core": "^7.4.19"
+ },
+ "bin": {
+ "tldts": "bin/cli.js"
+ }
+ },
+ "node_modules/tldts-core": {
+ "version": "7.4.20",
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.20.tgz",
+ "integrity": "sha512-C630TWXZCZmLq0F2bW4QqwnaaxCQ/svpAqvJwnC4JvgEM5ohhBnGsEzTLSOXcN+xjz+kEaHS5uoWIw2klnqd0A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tough-cookie": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz",
+ "integrity": "sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tldts": "^7.0.5"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-7.0.0.tgz",
+ "integrity": "sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.3.1"
+ },
+ "engines": {
+ "node": "^22.14.0 || >=24.0.0"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.9.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz",
+ "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==",
+ "dev": true,
+ "license": "0BSD",
+ "optional": true
+ },
+ "node_modules/undici": {
+ "version": "8.12.3",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz",
+ "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=22.19.0"
+ }
+ },
+ "node_modules/unenv": {
+ "version": "2.0.0-rc.24",
+ "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
+ "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pathe": "^2.0.3"
+ }
+ },
+ "node_modules/w3c-xmlserializer": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-6.0.0.tgz",
+ "integrity": "sha512-4Nsy8K5Tr6SPDH9jhKJOHf7ChDrc1zufZTVSF7x72hwuEXBqxqk9G6cK+K2NRUtB3iELRJqjXb4JPDMBjMTl2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
+ }
+ },
+ "node_modules/webidl-conversions": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-8.0.1.tgz",
+ "integrity": "sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/whatwg-mimetype": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz",
+ "integrity": "sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/whatwg-url": {
+ "version": "17.3.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-17.3.0.tgz",
+ "integrity": "sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@exodus/bytes": "^1.16.0",
+ "tr46": "^7.0.0",
+ "webidl-conversions": "^8.0.1"
+ },
+ "engines": {
+ "node": "^22.14.0 || >=24.0.0"
+ }
+ },
+ "node_modules/workerd": {
+ "version": "1.20260603.1",
+ "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20260603.1.tgz",
+ "integrity": "sha512-NPcbhI1++CS+fnELyXtsIR52en+5kwr/OrKeiQeYXGy10HxmPdsQBv9N+DU7hJIOOmBHhOGAAsoGDjyiQ2YCaA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "workerd": "bin/workerd"
+ },
+ "engines": {
+ "node": ">=16"
+ },
+ "optionalDependencies": {
+ "@cloudflare/workerd-darwin-64": "1.20260603.1",
+ "@cloudflare/workerd-darwin-arm64": "1.20260603.1",
+ "@cloudflare/workerd-linux-64": "1.20260603.1",
+ "@cloudflare/workerd-linux-arm64": "1.20260603.1",
+ "@cloudflare/workerd-windows-64": "1.20260603.1"
+ }
+ },
+ "node_modules/wrangler": {
+ "version": "4.98.0",
+ "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.98.0.tgz",
+ "integrity": "sha512-cXfFUuF4rMIvE0hiMnXjEAB27ERryaCgquBJdUoPIjFzYYE1rbRdMUkEdQ18qDPUtsPvhJdqxLntixT9OfSzQw==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@cloudflare/kv-asset-handler": "0.5.0",
+ "@cloudflare/unenv-preset": "2.16.1",
+ "blake3-wasm": "2.1.5",
+ "esbuild": "0.27.3",
+ "miniflare": "4.20260603.0",
+ "path-to-regexp": "6.3.0",
+ "unenv": "2.0.0-rc.24",
+ "workerd": "1.20260603.1"
+ },
+ "bin": {
+ "wrangler": "bin/wrangler.js",
+ "wrangler2": "bin/wrangler.js"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "2.3.3"
+ },
+ "peerDependencies": {
+ "@cloudflare/workers-types": "^4.20260603.1"
+ },
+ "peerDependenciesMeta": {
+ "@cloudflare/workers-types": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.20.1",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.1.tgz",
+ "integrity": "sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xml-name-validator": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
+ "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/xmlchars": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/youch": {
+ "version": "4.1.0-beta.10",
+ "resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz",
+ "integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/colors": "^4.1.5",
+ "@poppinss/dumper": "^0.6.4",
+ "@speed-highlight/core": "^1.2.7",
+ "cookie": "^1.0.2",
+ "youch-core": "^0.3.3"
+ }
+ },
+ "node_modules/youch-core": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz",
+ "integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/exception": "^1.2.2",
+ "error-stack-parser-es": "^1.0.5"
+ }
+ }
+ }
+}
diff --git a/tools/wiki/package.json b/tools/wiki/package.json
new file mode 100644
index 000000000..3b7b5e793
--- /dev/null
+++ b/tools/wiki/package.json
@@ -0,0 +1,14 @@
+{
+ "name": "vibe-trading-wiki-checks",
+ "private": true,
+ "type": "module",
+ "engines": { "node": ">=22.22" },
+ "scripts": {
+ "pretest": "node prepare.mjs",
+ "test": "node --experimental-vm-modules --test site.test.mjs routes.test.mjs"
+ },
+ "devDependencies": {
+ "jsdom": "30.1.3",
+ "wrangler": "4.98.0"
+ }
+}
diff --git a/tools/wiki/prepare.mjs b/tools/wiki/prepare.mjs
new file mode 100644
index 000000000..41d76477b
--- /dev/null
+++ b/tools/wiki/prepare.mjs
@@ -0,0 +1,7 @@
+import { execFileSync } from "node:child_process";
+import { fileURLToPath } from "node:url";
+
+export const wiki = fileURLToPath(new URL("../../wiki/", import.meta.url));
+for (const script of ["prerender_docs.mjs", "gen_sitemap.mjs"]) {
+ execFileSync(process.execPath, [`scripts/${script}`], { cwd: wiki, stdio: "inherit" });
+}
diff --git a/tools/wiki/routes.test.mjs b/tools/wiki/routes.test.mjs
new file mode 100644
index 000000000..62d4387e3
--- /dev/null
+++ b/tools/wiki/routes.test.mjs
@@ -0,0 +1,122 @@
+import assert from "node:assert/strict";
+import { spawn } from "node:child_process";
+import { once } from "node:events";
+import { mkdtempSync, readFileSync, rmSync } from "node:fs";
+import net from "node:net";
+import os from "node:os";
+import path from "node:path";
+import { createRequire } from "node:module";
+import { after, before, test } from "node:test";
+import { fileURLToPath } from "node:url";
+import { JSDOM } from "jsdom";
+
+const wiki = fileURLToPath(new URL("../../wiki/", import.meta.url));
+const require = createRequire(import.meta.url);
+let server;
+let state;
+let base;
+
+before(async () => {
+ const reservation = net.createServer();
+ reservation.listen(0, "127.0.0.1");
+ await once(reservation, "listening");
+ const port = reservation.address().port;
+ await new Promise((resolve) => reservation.close(resolve));
+ base = `http://127.0.0.1:${port}`;
+ state = mkdtempSync(path.join(os.tmpdir(), "vibe-wiki-pages-test-"));
+ server = spawn(process.execPath, [require.resolve("wrangler/bin/wrangler.js"),
+ "pages", "dev", ".", "--ip", "127.0.0.1", "--port", String(port), "--persist-to", state], {
+ cwd: wiki,
+ env: { ...process.env, WRANGLER_SEND_METRICS: "false" },
+ stdio: ["ignore", "pipe", "pipe"],
+ detached: process.platform !== "win32",
+ });
+ await new Promise((resolve, reject) => {
+ let output = "";
+ const timer = setTimeout(() => reject(new Error(`Pages startup timed out:\n${output}`)), 40000);
+ function log(data) {
+ output = (output + data).slice(-20000);
+ if (output.includes(`Ready on ${base}`)) {
+ clearTimeout(timer);
+ resolve();
+ }
+ }
+ server.stdout.on("data", log);
+ server.stderr.on("data", log);
+ server.once("error", (error) => { clearTimeout(timer); reject(error); });
+ server.once("exit", (code) => { clearTimeout(timer); reject(new Error(`Pages exited ${code}:\n${output}`)); });
+ });
+}, { timeout: 45000 });
+
+after(async () => {
+ if (server && server.exitCode === null && server.signalCode === null) {
+ const stopped = once(server, "exit");
+ if (process.platform === "win32") server.kill();
+ else process.kill(-server.pid, "SIGTERM");
+ let timer;
+ await Promise.race([stopped, new Promise((resolve) => { timer = setTimeout(resolve, 5000); })]);
+ clearTimeout(timer);
+ if (server.exitCode === null && server.signalCode === null) {
+ if (process.platform === "win32") server.kill("SIGKILL");
+ else process.kill(-server.pid, "SIGKILL");
+ await stopped;
+ }
+ }
+ if (state) rmSync(state, { recursive: true, force: true });
+});
+
+function request(route) {
+ return fetch(base + route, { redirect: "manual", headers: { "User-Agent": "GPTBot/1.2", Accept: "text/html" }, signal: AbortSignal.timeout(10000) });
+}
+
+test("Pages serves actual crawler files with their declared MIME types", async () => {
+ const robots = await request("/robots.txt");
+ assert.equal(robots.status, 200);
+ assert.match(robots.headers.get("content-type"), /^text\/plain/);
+ assert.match(await robots.text(), /Sitemap: https:\/\/vibetrading.wiki\/sitemap.xml/);
+ const sitemap = await request("/sitemap.xml");
+ assert.equal(sitemap.status, 200);
+ assert.match(sitemap.headers.get("content-type"), /^application\/xml/);
+});
+
+test("every sitemap URL is directly reachable without JavaScript or redirects", async () => {
+ const dom = new JSDOM(readFileSync(path.join(wiki, "sitemap.xml"), "utf8"), { contentType: "application/xml" });
+ const routes = [...dom.window.document.querySelectorAll("url > loc")].map((element) => new URL(element.textContent).pathname);
+ dom.window.close();
+ for (const route of routes) {
+ const response = await request(route);
+ assert.equal(response.status, 200, route);
+ if (route.startsWith("/docs/")) {
+ const html = await response.text();
+ assert.match(html, /<h1>[^<]+<\/h1>/, route);
+ assert.ok(html.includes(`href="https://vibetrading.wiki${route}"`), route);
+ } else await response.body.cancel();
+ }
+});
+
+test("English and Chinese version roots redirect to the correct overview", async () => {
+ for (const segment of ["latest", "zh"]) {
+ for (const suffix of ["", "/"]) {
+ const response = await request(`/docs/${segment}${suffix}`);
+ assert.equal(response.status, 302);
+ assert.equal(response.headers.get("location"), `/docs/${segment}/getting-started/vibe-trading-overview`);
+ }
+ }
+});
+
+test("old version deep links preserve their document through a permanent redirect", async () => {
+ const response = await request("/docs/0.1.7/tools/alpha-zoo");
+ assert.equal(response.status, 301);
+ assert.equal(response.headers.get("location"), "/docs/latest/tools/alpha-zoo");
+});
+
+test("missing routes return a genuine non-indexable 404 while the docs shell still loads", async () => {
+ for (const route of ["/missing-crawl-check", "/docs/latest/missing-crawl-check"]) {
+ const response = await request(route);
+ assert.equal(response.status, 404);
+ const html = await response.text();
+ assert.match(html, /name="robots" content="noindex, follow"/);
+ assert.match(html, /data-i18n="notFound.heading"/);
+ }
+ assert.equal((await request("/docs/")).status, 200);
+});
diff --git a/tools/wiki/site.test.mjs b/tools/wiki/site.test.mjs
new file mode 100644
index 000000000..cf01b189b
--- /dev/null
+++ b/tools/wiki/site.test.mjs
@@ -0,0 +1,175 @@
+import assert from "node:assert/strict";
+import { readFileSync, readdirSync } from "node:fs";
+import path from "node:path";
+import test from "node:test";
+import { JSDOM } from "jsdom";
+import { DOCS_STRUCTURE as EN } from "../../wiki/docs/content.en.js";
+import { DOCS_STRUCTURE as ZH } from "../../wiki/docs/content.zh.js";
+import { buildDocMetadata, serializeStructuredData } from "../../wiki/docs/metadata.js";
+import { loadPage, until, wiki } from "./dom.mjs";
+
+const site = "https://vibetrading.wiki";
+const pages = { en: EN.flatMap((g) => g.pages), zh: ZH.flatMap((g) => g.pages) };
+const segments = { en: "latest", zh: "zh" };
+
+test("every static document has its body, own metadata and reciprocal language links", () => {
+ for (const [lang, entries] of Object.entries(pages)) {
+ for (const page of entries) {
+ const dom = new JSDOM(readFileSync(path.join(wiki, `docs/${segments[lang]}/${page.id}.html`), "utf8"));
+ try {
+ const document = dom.window.document;
+ const canonical = `${site}/docs/${segments[lang]}/${page.id}`;
+ assert.equal(document.querySelector("h1").textContent, page.title);
+ assert.equal(document.documentElement.lang, lang === "en" ? "en" : "zh-CN");
+ assert.equal(document.querySelector('link[rel="canonical"]').href, canonical);
+ for (const section of page.sections) {
+ const rendered = document.getElementById(section.id);
+ assert.ok(rendered, `${canonical} is missing section ${section.id}`);
+ const expected = JSDOM.fragment(section.body).textContent.replace(/\s+/g, " ").trim();
+ assert.ok(rendered.textContent.replace(/\s+/g, " ").includes(expected));
+ }
+ const scripts = document.querySelectorAll('script[type="application/ld+json"]');
+ assert.equal(scripts.length, 1);
+ const data = JSON.parse(scripts[0].textContent);
+ assert.equal(data.url, canonical);
+ assert.equal(data.mainEntityOfPage["@id"], canonical);
+ assert.equal(data.headline, page.title);
+ assert.equal(data.inLanguage, document.documentElement.lang);
+ for (const [code, segment] of [["en", "latest"], ["zh-CN", "zh"], ["x-default", "latest"]]) {
+ assert.equal(document.querySelector(`link[hreflang="${code}"]`).href, `${site}/docs/${segment}/${page.id}`);
+ }
+ } finally {
+ dom.window.close();
+ }
+ }
+ }
+});
+
+test("sitemap has all docs, core pages and articles without duplicate or redirecting URLs", () => {
+ const dom = new JSDOM(readFileSync(path.join(wiki, "sitemap.xml"), "utf8"), { contentType: "application/xml" });
+ try {
+ const urls = [...dom.window.document.querySelectorAll("url > loc")].map((e) => e.textContent);
+ const articleCount = ["tutorials", "research-lab/posts"].reduce((count, directory) =>
+ count + readdirSync(path.join(wiki, directory)).filter((name) => name.endsWith(".html") && name !== "index.html").length, 0);
+ assert.equal(urls.length, pages.en.length + pages.zh.length + 4 + articleCount);
+ assert.equal(new Set(urls).size, urls.length);
+ assert.ok(urls.every((url) => url.startsWith(`${site}/`) && !url.endsWith(".html")));
+ for (const [lang, entries] of Object.entries(pages)) {
+ for (const page of entries) assert.ok(urls.includes(`${site}/docs/${segments[lang]}/${page.id}`));
+ }
+ for (const directory of ["home", "tutorials", "alpha-library", "research-lab"]) {
+ assert.ok(urls.includes(`${site}/${directory}/`));
+ }
+ } finally {
+ dom.window.close();
+ }
+});
+
+function assertCurrentMetadata(window, pageId, lang) {
+ const document = window.document;
+ const page = pages[lang].find((p) => p.id === pageId);
+ const canonical = `${site}/docs/${segments[lang]}/${pageId}`;
+ const scripts = document.querySelectorAll('script[type="application/ld+json"]');
+ assert.equal(scripts.length, 1, "navigation must replace metadata, not append claims");
+ const data = JSON.parse(scripts[0].textContent);
+ assert.equal(window.location.pathname, `/docs/${segments[lang]}/${pageId}`);
+ assert.equal(document.querySelector("h1").textContent, page.title);
+ assert.equal(document.querySelector('link[rel="canonical"]').href, canonical);
+ assert.equal(document.querySelector('meta[property="og:url"]').content, canonical);
+ assert.equal(data.url, canonical);
+ assert.equal(data.mainEntityOfPage["@id"], canonical);
+ assert.equal(data.headline, page.title);
+ assert.equal(data.inLanguage, lang === "en" ? "en" : "zh-CN");
+}
+
+test("actual client router synchronizes JSON-LD on navigation, language changes and history", async () => {
+ const dom = await loadPage("docs/latest/tools/alpha-zoo.html", "/docs/latest/tools/alpha-zoo");
+ try {
+ const window = dom.window;
+ assertCurrentMetadata(window, "tools/alpha-zoo", "en");
+ window.document.querySelector('a[data-doc-link="getting-started/quick-start"]').click();
+ assertCurrentMetadata(window, "getting-started/quick-start", "en");
+ window.document.getElementById("lang-toggle").click();
+ await until(() => window.document.documentElement.lang === "zh-CN");
+ assertCurrentMetadata(window, "getting-started/quick-start", "zh");
+ window.history.back();
+ await until(() => window.location.pathname === "/docs/latest/getting-started/quick-start");
+ assertCurrentMetadata(window, "getting-started/quick-start", "en");
+ window.history.back();
+ await until(() => window.location.pathname === "/docs/latest/tools/alpha-zoo");
+ assertCurrentMetadata(window, "tools/alpha-zoo", "en");
+ window.history.forward();
+ await until(() => window.location.pathname === "/docs/latest/getting-started/quick-start");
+ assertCurrentMetadata(window, "getting-started/quick-start", "en");
+ } finally {
+ dom.window.close();
+ }
+});
+
+test("the unrendered docs entry also creates one correct structured-data record", async () => {
+ const dom = await loadPage("docs/index.html", "/docs/");
+ try {
+ assertCurrentMetadata(dom.window, "getting-started/vibe-trading-overview", "en");
+ } finally {
+ dom.window.close();
+ }
+});
+
+test("404 title, metadata, explanation and recovery links translate and restore to English", async () => {
+ const dom = await loadPage("404.html", "/missing-test-page", { entry: "main.js" });
+ try {
+ const document = dom.window.document;
+ const marked = [...document.querySelectorAll("[data-i18n], [data-i18n-attr]")];
+ const english = marked.map((element) => element.outerHTML);
+ assert.equal(document.querySelector("h1").textContent, "This page does not exist");
+ const locale = JSON.parse(readFileSync(path.join(wiki, "locales/zh.json"), "utf8"));
+ document.getElementById("lang-toggle").click();
+ await until(() => document.documentElement.lang === "zh-CN");
+ for (const element of marked) {
+ if (element.dataset.i18n) assert.equal(element.textContent, locale[element.dataset.i18n]);
+ for (const pair of (element.dataset.i18nAttr || "").split(",").filter(Boolean)) {
+ const [attr, key] = pair.split("=");
+ assert.equal(element.getAttribute(attr), locale[key]);
+ }
+ }
+ assert.equal(document.title, "页面未找到 | Vibe-Trading Wiki");
+ assert.equal(document.querySelector('meta[name="robots"]').content, "noindex, follow");
+ assert.deepEqual([...document.querySelectorAll("main a")].map((a) => a.getAttribute("href")),
+ ["/home/", "/docs/", "/tutorials/", "/alpha-library/", "/research-lab/", "https://github.com/HKUDS/Vibe-Trading"]);
+ document.getElementById("lang-toggle").click();
+ await until(() => document.documentElement.lang === "en");
+ for (const [index, element] of marked.entries()) {
+ // The translator stores the originals in data attributes; compare rendered values.
+ const original = JSDOM.fragment(english[index]).firstChild;
+ if (element.dataset.i18n) assert.equal(element.textContent, original.textContent);
+ for (const pair of (element.dataset.i18nAttr || "").split(",").filter(Boolean)) {
+ const [attr] = pair.split("=");
+ assert.equal(element.getAttribute(attr), original.getAttribute(attr));
+ }
+ }
+ } finally {
+ dom.window.close();
+ }
+});
+
+test("404 honors an existing Chinese preference on first load", async () => {
+ const dom = await loadPage("404.html", "/missing-test-page", { language: "zh", entry: "main.js" });
+ try {
+ await until(() => dom.window.document.documentElement.lang === "zh-CN");
+ assert.equal(dom.window.document.querySelector("h1").textContent, "此页面不存在");
+ } finally {
+ dom.window.close();
+ }
+});
+
+test("static JSON-LD serialization preserves text without terminating the script", () => {
+ const metadata = buildDocMetadata({ id: "test", title: "</script><h1>wrong</h1>", lead: "test" },
+ { segment: "latest", htmlLang: "en", siteTitle: "Docs" });
+ const dom = new JSDOM(`<script type="application/ld+json">${serializeStructuredData(metadata.structuredData)}</script>`);
+ try {
+ assert.equal(dom.window.document.querySelectorAll("h1").length, 0);
+ assert.deepEqual(JSON.parse(dom.window.document.querySelector("script").textContent), metadata.structuredData);
+ } finally {
+ dom.window.close();
+ }
+});
diff --git a/wiki/404.html b/wiki/404.html
new file mode 100644
index 000000000..431bd28c8
--- /dev/null
+++ b/wiki/404.html
@@ -0,0 +1,93 @@
+<!doctype html>
+<html lang="en" data-lang-neutral>
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title data-i18n="notFound.title">Page not found | Vibe-Trading Wiki</title>
+ <meta name="description" content="This URL is not part of the Vibe-Trading Wiki. Start from the docs, the tutorials, the Alpha Library or the Research Lab." data-i18n-attr="content=notFound.description">
+ <meta name="robots" content="noindex, follow">
+ <meta property="og:type" content="website">
+ <meta property="og:site_name" content="Vibe-Trading Wiki">
+ <meta property="og:title" content="Page not found" data-i18n-attr="content=notFound.socialTitle">
+ <meta property="og:description" content="This URL is not part of the Vibe-Trading Wiki. Start from the docs, the tutorials, the Alpha Library or the Research Lab." data-i18n-attr="content=notFound.description">
+ <meta property="og:image" content="https://vibetrading.wiki/assets/icon.png">
+ <meta property="og:url" content="https://vibetrading.wiki/404.html">
+ <!-- site-head:start -->
+ <link rel="icon" type="image/png" href="/assets/icon.png">
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
+ <!-- site-head:end -->
+ <script type="module" src="/main.js?v=20261105"></script>
+ <style>
+ .notfound { max-width: 46rem; margin: 12vh auto; padding: 0 1.25rem; }
+ .notfound h1 { margin: 0 0 .5rem; }
+ .notfound p { color: var(--muted, #666); line-height: 1.6; }
+ .notfound ul { line-height: 1.9; padding-left: 1.1rem; }
+ </style>
+</head>
+<body data-section="home">
+ <!-- site-header:start -->
+ <header class="site-header" id="site-header">
+ <div class="site-header__inner">
+ <a class="brand" href="/home/" aria-label="Vibe-Trading home" data-i18n-attr="aria-label=header.homeLabel">
+ <img class="brand__mark" src="/assets/icon.png" alt="" width="40" height="40">
+ <span class="brand__text">Vibe-Trading</span>
+ </a>
+ <nav class="site-nav" aria-label="Primary" data-i18n-attr="aria-label=header.navLabel">
+ <a href="/home/" data-nav="home" data-i18n="nav.home">Home</a>
+ <a href="/docs/" data-nav="docs" data-i18n="nav.docs">Docs</a>
+ <a href="/tutorials/" data-nav="tutorials" data-i18n="nav.tutorials">Tutorials</a>
+ <a href="/alpha-library/" data-nav="alpha" data-i18n="nav.alpha">Alpha Library</a>
+ <a href="/research-lab/" data-nav="lab" data-i18n="nav.lab">Research Lab</a>
+ <a href="https://github.com/HKUDS/Vibe-Trading">GitHub</a>
+ </nav>
+ <div class="site-actions">
+ <button class="lang-pill" id="lang-toggle" type="button" lang="zh-CN" aria-label="切换到中文">中文</button>
+ <a class="star-pill" href="https://github.com/HKUDS/Vibe-Trading" aria-label="Vibe-Trading on GitHub">
+ <span aria-hidden="true">Star</span>
+ <strong id="star-count">--</strong>
+ </a>
+ <button class="icon-button" id="theme-toggle" type="button" aria-label="Toggle color theme" data-i18n-attr="aria-label=header.themeLabel">
+ <span class="theme-icon" aria-hidden="true"></span>
+ </button>
+ </div>
+ </div>
+ </header>
+ <!-- site-header:end -->
+
+ <main class="notfound">
+ <p class="eyebrow">404</p>
+ <h1 data-i18n="notFound.heading">This page does not exist</h1>
+ <p data-i18n="notFound.intro">The URL is not part of the wiki. Try one of these:</p>
+ <ul>
+ <li><a href="/home/" data-i18n="nav.home">Home</a></li>
+ <li><a href="/docs/" data-i18n="nav.docs">Docs</a> — <span data-i18n="notFound.docsHint">install, configure, run</span></li>
+ <li><a href="/tutorials/" data-i18n="nav.tutorials">Tutorials</a></li>
+ <li><a href="/alpha-library/" data-i18n="nav.alpha">Alpha Library</a></li>
+ <li><a href="/research-lab/" data-i18n="nav.lab">Research Lab</a></li>
+ </ul>
+ <p><span data-i18n="notFound.sourcePrompt">Looking for the source?</span> <a href="https://github.com/HKUDS/Vibe-Trading">github.com/HKUDS/Vibe-Trading</a></p>
+ </main>
+
+ <!-- site-footer:start -->
+ <footer class="site-footer">
+ <span class="site-footer__name">Vibe-Trading Wiki</span>
+ <a href="/docs/" data-i18n="nav.docs">Docs</a>
+ <a href="/tutorials/" data-i18n="nav.tutorials">Tutorials</a>
+ <a href="/alpha-library/" data-i18n="nav.alpha">Alpha Library</a>
+ <a href="/research-lab/" data-i18n="nav.lab">Research Lab</a>
+ <a href="https://github.com/HKUDS/Vibe-Trading">GitHub</a>
+ <a href="https://pypi.org/project/vibe-trading-ai/">PyPI</a>
+ <div class="footer-traffic" id="footer-traffic" hidden>
+ <span class="ft-item">🤖 <strong id="vt-agents">–</strong> <span data-i18n="footer.agents">AI agents</span></span>
+ <span class="ft-item">👤 <strong id="vt-humans">–</strong> <span data-i18n="footer.humans">humans</span></span>
+ <span class="ft-item">📦 <strong id="vt-installs">–</strong> <span data-i18n="footer.installs">installs/mo</span></span>
+ <span class="ft-note" data-i18n="footer.note">visitors to this site · anonymous · first-party</span>
+ </div>
+ </footer>
+ <!-- site-footer:end -->
+</body>
+</html>
diff --git a/wiki/README.md b/wiki/README.md
index 2f6a12a46..0f03e0af5 100644
--- a/wiki/README.md
+++ b/wiki/README.md
@@ -16,7 +16,24 @@ Open `http://localhost:8088/home/` for the landing page and these wiki sections:
- `http://localhost:8088/alpha-library/`
- `http://localhost:8088/research-lab/`
-Direct docs URLs such as `/docs/latest/getting-started/vibe-trading-overview` or `/docs/zh/…` are handled by Cloudflare Pages via `_redirects`. The simple Python preview server does not apply those rewrite rules, so use `/docs/` as the local entry point. Build the Alpha Library first (see below) or its zoo links fall through.
+Docs deep links are generated HTML files, served without the `.html` suffix by
+Cloudflare Pages. The simple Python preview server does not implement those
+routes; use `/docs/` with it, or preview the actual Pages runtime:
+
+```bash
+# From the repository root; Node >= 22.22
+npm ci --prefix tools/wiki
+npm test --prefix tools/wiki
+cd wiki
+../tools/wiki/node_modules/.bin/wrangler pages dev . --ip 127.0.0.1 --port 8088
+```
+
+The test command first generates the docs and sitemap, then checks every static
+document and sitemap URL, client navigation/language/history metadata, 404
+translations, and real local Pages responses (200, 301, 302 and 404). Its Pages
+process and D1 data are isolated and cleaned up after the tests. No deployment
+or Cloudflare login is needed. Build the Alpha Library separately (below) to
+preview its generated zoo and factor pages.
## One header, two languages
@@ -49,9 +66,11 @@ button switches the whole site and the choice is stored (`vibetrading-lang`).
`<link rel="alternate" hreflang>` both ways): the tutorial
(`vibe-trading-beginner.html` / `-zh.html`) and the research post. Opening
one records its language; the button goes to the other file.
-- The docs are one shell: English at `/docs/latest/<page>` from
- `docs/content.en.js`, Chinese at `/docs/zh/<page>` from
- `docs/content.zh.js`.
+- The docs have static English pages at `/docs/latest/<page>` from
+ `docs/content.en.js` and Chinese pages at `/docs/zh/<page>` from
+ `docs/content.zh.js`. The client router uses those same sources, and
+ `docs/metadata.js` keeps canonical URLs and JSON-LD consistent across static
+ generation, in-page navigation, language switching and browser history.
```bash
node wiki/scripts/check_docs_parity.mjs # docs: same pages and sections in both languages
@@ -81,8 +100,17 @@ python wiki/scripts/build_alpha_library.py --clean
- Output directory: `.`
- Custom domain: `vibetrading.wiki`
-The pages are static and need no build step; the deploy workflow only
-generates the Alpha Library (above). The only dynamic piece is a small
+The deploy workflow generates the Alpha Library, prerenders the docs and
+regenerates `sitemap.xml` before uploading. The PR Wiki workflow runs the
+generation and route checks too. Top-level `404.html` disables Pages' default
+SPA fallback; missing URLs must return HTTP 404, while `/docs/latest` and
+`/docs/latest/` redirect to the English overview, `/docs/zh` and `/docs/zh/`
+redirect to the Chinese overview, and `/docs/0.1.7/*` redirects permanently to
+the matching latest document. After an authorized deploy, verify the production
+robots/sitemap MIME types, missing-path status and a docs page's raw body and
+canonical; a local pass alone does not prove the deployed response.
+
+The only dynamic piece is a small
analytics layer in `functions/` (Cloudflare Pages Functions): `_middleware.js`
classifies each page request as AI-agent / bot / human by User-Agent and counts
it into a D1 database (`vibetrading-analytics`, binding `DB`), and
diff --git a/wiki/_headers b/wiki/_headers
index 89d13fcea..51f5a94dc 100644
--- a/wiki/_headers
+++ b/wiki/_headers
@@ -12,3 +12,13 @@
/*.css
Cache-Control: public, max-age=3600
+
+# Crawler entry points: serve them as their real types instead of letting the
+# project's not-found fallback answer with the HTML shell.
+/robots.txt
+ Content-Type: text/plain; charset=utf-8
+ Cache-Control: public, max-age=3600
+
+/sitemap.xml
+ Content-Type: application/xml; charset=utf-8
+ Cache-Control: public, max-age=3600
diff --git a/wiki/_redirects b/wiki/_redirects
index 3040ab18e..3bd9e2c78 100644
--- a/wiki/_redirects
+++ b/wiki/_redirects
@@ -3,8 +3,8 @@
/alpha /alpha-library/ 302
/alpha-library /alpha-library/ 302
/research-lab /research-lab/ 302
+/docs/latest /docs/latest/getting-started/vibe-trading-overview 302
+/docs/latest/ /docs/latest/getting-started/vibe-trading-overview 302
/docs/zh /docs/zh/getting-started/vibe-trading-overview 302
/docs/zh/ /docs/zh/getting-started/vibe-trading-overview 302
-/docs/latest/* /docs/ 200
-/docs/zh/* /docs/ 200
-/docs/0.1.7/* /docs/ 200
+/docs/0.1.7/* /docs/latest/:splat 301
diff --git a/wiki/alpha-library/alpha.js b/wiki/alpha-library/alpha.js
index da02e9d40..2d9e647bb 100644
--- a/wiki/alpha-library/alpha.js
+++ b/wiki/alpha-library/alpha.js
@@ -1,6 +1,6 @@
// Fills the Alpha Library landing stats from content/index.json, which the
// deploy workflow generates (wiki/scripts/build_alpha_library.py).
-import { storedLang } from "/site.js?v=20261101";
+import { storedLang } from "/site.js?v=20261105";
const TEXT = {
en: { across: (n) => `across ${n} zoos`, alphas: (n) => `${n} alphas`, missing: "manifest not generated yet" },
diff --git a/wiki/alpha-library/index.html b/wiki/alpha-library/index.html
index 8bf4d65cb..bcaa950bb 100644
--- a/wiki/alpha-library/index.html
+++ b/wiki/alpha-library/index.html
@@ -24,11 +24,11 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
- <script type="module" src="/alpha-library/alpha.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
+ <script type="module" src="/alpha-library/alpha.js?v=20261105"></script>
<style>
.alpha-hero { width: min(1180px, calc(100% - 32px)); margin: 56px auto 32px; }
.alpha-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 8px 0 14px; letter-spacing: -0.01em; }
diff --git a/wiki/docs/content.js b/wiki/docs/content.js
index b854af563..84b497b42 100644
--- a/wiki/docs/content.js
+++ b/wiki/docs/content.js
@@ -1,5 +1,5 @@
-import { DOCS_STRUCTURE as EN_STRUCTURE } from "/docs/content.en.js?v=20261101";
-import { DOCS_STRUCTURE as ZH_STRUCTURE } from "/docs/content.zh.js?v=20261101";
+import { DOCS_STRUCTURE as EN_STRUCTURE } from "/docs/content.en.js?v=20261105";
+import { DOCS_STRUCTURE as ZH_STRUCTURE } from "/docs/content.zh.js?v=20261105";
// One content set per language; every version alias renders the latest.
export const DOCS_DEFAULT_VERSION = "0.1.16";
diff --git a/wiki/docs/index.html b/wiki/docs/index.html
index 9626c2126..bcf3ae91c 100644
--- a/wiki/docs/index.html
+++ b/wiki/docs/index.html
@@ -21,11 +21,11 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <link rel="stylesheet" href="/docs/styles.css?v=20261101">
- <script type="module" src="/docs/main.js?v=20261101"></script>
+ <link rel="stylesheet" href="/docs/styles.css?v=20261105">
+ <script type="module" src="/docs/main.js?v=20261105"></script>
</head>
<body class="docs-body" data-section="docs">
<!-- site-header:start -->
diff --git a/wiki/docs/main.js b/wiki/docs/main.js
index ccf44521f..6de3dcbd0 100644
--- a/wiki/docs/main.js
+++ b/wiki/docs/main.js
@@ -1,13 +1,12 @@
-import { initSite, setPageLang, storedLang } from "/site.js?v=20261101";
+import { initSite, setPageLang, storedLang } from "/site.js?v=20261105";
+import { DOCS_SITE as SITE, buildDocMetadata, serializeStructuredData } from "./metadata.js?v=20261105";
import {
DOCS_DEFAULT_LANG,
DOCS_DEFAULT_PAGE,
DOCS_LANGUAGES,
DOCS_UI,
DOCS_VERSIONS
-} from "/docs/content.js?v=20261101";
-
-const SITE = "https://vibetrading.wiki";
+} from "/docs/content.js?v=20261105";
function stripTags(html) {
return String(html).replace(/<[^>]+>/g, " ").replace(/\s+/g, " ");
@@ -82,20 +81,28 @@ function setAlternate(hreflang, href) {
function setMeta(page, lang) {
const ui = DOCS_UI[lang];
- const title = `${page.title} - ${ui.siteTitle}`;
- const description = page.description || page.lead;
+ const { title, description, canonical, structuredData } = buildDocMetadata(
+ page, { ...DOCS_LANGUAGES[lang], siteTitle: ui.siteTitle },
+ );
document.title = title;
document.querySelector('meta[name="description"]')?.setAttribute("content", description);
document.querySelector('meta[property="og:title"]')?.setAttribute("content", title);
document.querySelector('meta[property="og:description"]')?.setAttribute("content", description);
document.querySelector('meta[property="og:site_name"]')?.setAttribute("content", ui.siteTitle);
- const canonical = `${SITE}${canonicalPath(page.id, lang)}`;
document.querySelector('meta[property="og:url"]')?.setAttribute("content", canonical);
document.querySelector("link[rel='canonical']")?.setAttribute("href", canonical);
for (const [code, meta] of Object.entries(DOCS_LANGUAGES)) {
setAlternate(meta.htmlLang, `${SITE}${canonicalPath(page.id, code)}`);
}
setAlternate("x-default", `${SITE}${canonicalPath(page.id, DOCS_DEFAULT_LANG)}`);
+ let structured = document.getElementById("docs-structured-data");
+ if (!structured) {
+ structured = document.createElement("script");
+ structured.id = "docs-structured-data";
+ structured.type = "application/ld+json";
+ document.head.appendChild(structured);
+ }
+ structured.textContent = serializeStructuredData(structuredData);
}
function applyChrome(lang) {
diff --git a/wiki/docs/metadata.js b/wiki/docs/metadata.js
new file mode 100644
index 000000000..cb80f1d06
--- /dev/null
+++ b/wiki/docs/metadata.js
@@ -0,0 +1,28 @@
+// Shared by the static generator and the client router so their claims agree.
+export const DOCS_SITE = "https://vibetrading.wiki";
+
+export function buildDocMetadata(page, language) {
+ const description = page.description || String(page.lead).replace(/<[^>]+>/g, "").trim();
+ const canonical = `${DOCS_SITE}/docs/${language.segment}/${page.id}`;
+ return {
+ title: `${page.title} - ${language.siteTitle}`,
+ description,
+ canonical,
+ structuredData: {
+ "@context": "https://schema.org",
+ "@type": "TechArticle",
+ headline: page.title,
+ description,
+ inLanguage: language.htmlLang,
+ url: canonical,
+ mainEntityOfPage: { "@type": "WebPage", "@id": canonical },
+ isPartOf: { "@type": "WebSite", name: "Vibe-Trading Wiki", url: `${DOCS_SITE}/home/` },
+ publisher: { "@type": "Organization", name: "Vibe-Trading", url: "https://github.com/HKUDS/Vibe-Trading" },
+ },
+ };
+}
+
+export function serializeStructuredData(data) {
+ // A literal closing script tag must not end the static JSON-LD element.
+ return JSON.stringify(data).replace(/</g, "\\u003c");
+}
diff --git a/wiki/home/index.html b/wiki/home/index.html
index 43bfcd2b9..6461a4dfb 100644
--- a/wiki/home/index.html
+++ b/wiki/home/index.html
@@ -23,10 +23,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
</head>
<body data-section="home">
<!-- site-header:start -->
diff --git a/wiki/locales/zh.json b/wiki/locales/zh.json
index fe8a6de4d..35754bb2e 100644
--- a/wiki/locales/zh.json
+++ b/wiki/locales/zh.json
@@ -106,5 +106,12 @@
"home.term.result": "<span class=\"ok\">收益</span> +18.6% <span class=\"warn\">最大回撤</span> -7.4%",
"home.term.workers": "成员:宏观、量化、风控、催化剂",
"home.term.report": "<span class=\"ok\">报告</span>已保存,附证据、指标和注意事项",
- "lab.gtja.date": "2026-05-17 · 2026-09-29 修订"
+ "lab.gtja.date": "2026-05-17 · 2026-09-29 修订",
+ "notFound.title": "页面未找到 | Vibe-Trading Wiki",
+ "notFound.description": "此网址不属于 Vibe-Trading Wiki。请从文档、教程、因子库或研究室继续浏览。",
+ "notFound.socialTitle": "页面未找到",
+ "notFound.heading": "此页面不存在",
+ "notFound.intro": "此网址不属于本站,你可以从以下入口继续浏览:",
+ "notFound.docsHint": "安装、配置和运行",
+ "notFound.sourcePrompt": "在找源代码?"
}
diff --git a/wiki/main.js b/wiki/main.js
index 8818a8a3a..908ba6ca4 100644
--- a/wiki/main.js
+++ b/wiki/main.js
@@ -1,4 +1,4 @@
-import { initSite } from "/site.js?v=20261101";
+import { initSite } from "/site.js?v=20261105";
// Home page install tabs; a no-op on pages without them.
function initInstallTabs() {
diff --git a/wiki/partials/site-head.html b/wiki/partials/site-head.html
index 738ebe864..abf29bc56 100644
--- a/wiki/partials/site-head.html
+++ b/wiki/partials/site-head.html
@@ -2,5 +2,5 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
-<link rel="stylesheet" href="/styles.css?v=20261101">
-<script src="/theme-init.js?v=20261101"></script>
+<link rel="stylesheet" href="/styles.css?v=20261105">
+<script src="/theme-init.js?v=20261105"></script>
diff --git a/wiki/research-lab/index.html b/wiki/research-lab/index.html
index c830bfd7d..9eeee5acb 100644
--- a/wiki/research-lab/index.html
+++ b/wiki/research-lab/index.html
@@ -18,10 +18,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
</head>
<body data-section="lab">
<!-- site-header:start -->
diff --git a/wiki/research-lab/posts/alpha-191-in-2026-zh.html b/wiki/research-lab/posts/alpha-191-in-2026-zh.html
index c25790041..a662a9e5b 100644
--- a/wiki/research-lab/posts/alpha-191-in-2026-zh.html
+++ b/wiki/research-lab/posts/alpha-191-in-2026-zh.html
@@ -22,10 +22,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
<style>
.post {
width: min(760px, calc(100% - 32px));
diff --git a/wiki/research-lab/posts/alpha-191-in-2026.html b/wiki/research-lab/posts/alpha-191-in-2026.html
index 8c8ab6761..01fe0bc18 100644
--- a/wiki/research-lab/posts/alpha-191-in-2026.html
+++ b/wiki/research-lab/posts/alpha-191-in-2026.html
@@ -22,10 +22,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
<style>
.post {
width: min(760px, calc(100% - 32px));
diff --git a/wiki/robots.txt b/wiki/robots.txt
new file mode 100644
index 000000000..5101e5467
--- /dev/null
+++ b/wiki/robots.txt
@@ -0,0 +1,43 @@
+# vibetrading.wiki — robots policy
+# 2026-10-29: first real robots.txt. Before this file every path (including
+# this one) returned the 419-byte SPA shell with HTTP 200.
+
+User-agent: *
+Allow: /
+Disallow: /api/
+
+# AI crawlers are explicitly welcome: the wiki is meant to be cited.
+# Keep this list in sync with the agent regex in functions/_middleware.js.
+User-agent: GPTBot
+Allow: /
+Disallow: /api/
+
+User-agent: OAI-SearchBot
+Allow: /
+Disallow: /api/
+
+User-agent: ClaudeBot
+Allow: /
+Disallow: /api/
+
+User-agent: Claude-SearchBot
+Allow: /
+Disallow: /api/
+
+User-agent: PerplexityBot
+Allow: /
+Disallow: /api/
+
+User-agent: Google-Extended
+Allow: /
+Disallow: /api/
+
+User-agent: CCBot
+Allow: /
+Disallow: /api/
+
+User-agent: Applebot-Extended
+Allow: /
+Disallow: /api/
+
+Sitemap: https://vibetrading.wiki/sitemap.xml
diff --git a/wiki/scripts/build_alpha_library.py b/wiki/scripts/build_alpha_library.py
index c2667f64c..688081e93 100644
--- a/wiki/scripts/build_alpha_library.py
+++ b/wiki/scripts/build_alpha_library.py
@@ -88,7 +88,7 @@ _CSP_CONTENT = (
)
# Cache-busting version of the site shell modules; matches the hand-written pages.
-_SHELL_VERSION = "20261101"
+_SHELL_VERSION = "20261105"
# Display names for zoos. Source of truth — do not depend on prose elsewhere.
_ZOO_DISPLAY: dict[str, dict[str, str]] = {
diff --git a/wiki/scripts/gen_sitemap.mjs b/wiki/scripts/gen_sitemap.mjs
new file mode 100644
index 000000000..f1aa6b11a
--- /dev/null
+++ b/wiki/scripts/gen_sitemap.mjs
@@ -0,0 +1,125 @@
+// wiki/scripts/gen_sitemap.mjs — generate wiki/sitemap.xml from the pages the
+// site actually publishes. Source of truth is the filesystem plus
+// docs/content.{en,zh}.js, so the sitemap cannot drift from what a crawler can
+// fetch.
+//
+// Usage: node scripts/gen_sitemap.mjs [--lastmod YYYY-MM-DD] [--out sitemap.xml]
+// Run from wiki/ (`cd wiki && node scripts/gen_sitemap.mjs`).
+import { writeFileSync, readdirSync, existsSync } from "node:fs";
+import { execFileSync } from "node:child_process";
+import { DOCS_STRUCTURE as EN } from "../docs/content.en.js";
+import { DOCS_STRUCTURE as ZH } from "../docs/content.zh.js";
+
+const SITE = "https://vibetrading.wiki";
+const args = process.argv.slice(2);
+const getArg = (name, fallback) => {
+ const i = args.indexOf(name);
+ return i >= 0 && args[i + 1] ? args[i + 1] : fallback;
+};
+
+function gitDate(path, fallback) {
+ try {
+ return (
+ execFileSync("git", ["log", "-1", "--format=%cs", "--", path], {
+ encoding: "utf8",
+ }).trim() || fallback
+ );
+ } catch {
+ return fallback;
+ }
+}
+
+const today = new Date().toISOString().slice(0, 10);
+const defaultLastmod = getArg("--lastmod", "");
+const lastmodFor = (path) => defaultLastmod || gitDate(path, today);
+const out = getArg("--out", "sitemap.xml");
+
+const enIds = EN.flatMap((g) => g.pages.map((p) => p.id));
+const zhIds = ZH.flatMap((g) => g.pages.map((p) => p.id));
+if (enIds.join("|") !== zhIds.join("|")) {
+ console.error("content.en.js / content.zh.js page ids diverge; refusing to write sitemap");
+ process.exit(1);
+}
+
+const esc = (s) => s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
+const urls = [];
+const push = (loc, lastmod, extra = "", priority = "") =>
+ urls.push(
+ ` <url>\n <loc>${esc(loc)}</loc>\n <lastmod>${lastmod}</lastmod>\n` +
+ (priority ? ` <priority>${priority}</priority>\n` : "") +
+ extra +
+ ` </url>`,
+ );
+
+// Core pages: one URL each; language is a client-side toggle, no separate URL.
+for (const [path, priority] of [
+ ["/home/", "1.0"],
+ ["/tutorials/", "0.7"],
+ ["/alpha-library/", "0.7"],
+ ["/research-lab/", "0.6"],
+]) {
+ push(`${SITE}${path}`, lastmodFor(`${path.slice(1)}index.html`), "", priority);
+}
+
+// Editorial articles: every hand-written page under tutorials/ and
+// research-lab/posts/ exists once per language, paired by the -zh suffix.
+// Their canonical form keeps the .html extension (see each page's <link>).
+const articles = [];
+for (const dir of ["tutorials", "research-lab/posts"]) {
+ if (!existsSync(dir)) continue;
+ for (const name of readdirSync(dir).sort()) {
+ if (!name.endsWith(".html") || name === "index.html") continue;
+ articles.push({ dir, name, zh: name.endsWith("-zh.html") });
+ }
+}
+const articlePairs = new Map();
+for (const a of articles) {
+ const base = a.zh ? a.name.replace(/-zh\.html$/, ".html") : a.name;
+ const key = `${a.dir}/${base}`;
+ const entry = articlePairs.get(key) || { dir: a.dir, base };
+ if (a.zh) entry.zh = a.name;
+ else entry.en = a.name;
+ articlePairs.set(key, entry);
+}
+for (const { dir, base, en } of articlePairs.values()) {
+ // Cloudflare Pages 308-redirects ``.html`` to the extensionless URL, so the
+ // sitemap lists the final form; listing the redirecting form would submit a
+ // URL that answers 308.
+ const enPath = `${dir}/${base}`;
+ const enClean = `${SITE}/${enPath.replace(/\.html$/, "")}`;
+ const zhName = base.replace(/\.html$/, "-zh.html");
+ const zhExists = existsSync(`${dir}/${zhName}`);
+ const zhClean = `${SITE}/${dir}/${zhName.replace(/\.html$/, "")}`;
+ const extra = zhExists
+ ? ` <xhtml:link rel="alternate" hreflang="en" href="${enClean}"/>\n` +
+ ` <xhtml:link rel="alternate" hreflang="zh-CN" href="${zhClean}"/>\n` +
+ ` <xhtml:link rel="alternate" hreflang="x-default" href="${enClean}"/>\n`
+ : "";
+ push(enClean, lastmodFor(enPath), extra);
+ if (zhExists) push(zhClean, lastmodFor(`${dir}/${zhName}`), extra);
+}
+
+// Docs pages: every page exists in both languages; emit reciprocal hreflang.
+const docsLastmod = lastmodFor("docs/content.en.js");
+for (const id of enIds) {
+ const en = `${SITE}/docs/latest/${id}`;
+ const zh = `${SITE}/docs/zh/${id}`;
+ for (const loc of [en, zh]) {
+ push(
+ loc,
+ docsLastmod,
+ ` <xhtml:link rel="alternate" hreflang="en" href="${en}"/>\n` +
+ ` <xhtml:link rel="alternate" hreflang="zh-CN" href="${zh}"/>\n` +
+ ` <xhtml:link rel="alternate" hreflang="x-default" href="${en}"/>\n`,
+ );
+ }
+}
+
+const xml =
+ `<?xml version="1.0" encoding="UTF-8"?>\n` +
+ `<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">\n` +
+ urls.join("\n") +
+ `\n</urlset>\n`;
+
+writeFileSync(out, xml);
+console.error(`wrote ${out}: ${urls.length} URLs`);
diff --git a/wiki/scripts/prerender_docs.mjs b/wiki/scripts/prerender_docs.mjs
new file mode 100644
index 000000000..11e45fac0
--- /dev/null
+++ b/wiki/scripts/prerender_docs.mjs
@@ -0,0 +1,122 @@
+// wiki/scripts/prerender_docs.mjs — static-render every docs URL so non-JS
+// crawlers (GPTBot, ClaudeBot, PerplexityBot) get the real body, title,
+// canonical and hreflang without executing /docs/main.js.
+//
+// Usage: node scripts/prerender_docs.mjs
+// Output: docs/latest/<id>.html, docs/zh/<id>.html (34 files for 17 pages x 2 langs)
+// The runtime client (docs/main.js) still hydrates and takes over navigation.
+import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
+import { dirname, join } from "node:path";
+import { DOCS_STRUCTURE as EN } from "../docs/content.en.js";
+import { DOCS_STRUCTURE as ZH } from "../docs/content.zh.js";
+import { DOCS_SITE as SITE, buildDocMetadata, serializeStructuredData } from "../docs/metadata.js";
+
+const TEMPLATE = readFileSync(new URL("../docs/index.html", import.meta.url), "utf8");
+
+const LANGS = {
+ en: { segment: "latest", htmlLang: "en", siteTitle: "Vibe-Trading Docs", previous: "Previous", next: "Next", navLabel: "Documentation navigation", onThisPage: "On this page" },
+ zh: { segment: "zh", htmlLang: "zh-CN", siteTitle: "Vibe-Trading 文档", previous: "上一页", next: "下一页", navLabel: "文档导航", onThisPage: "本页内容" },
+};
+const STRUCTURE = { en: EN, zh: ZH };
+
+const slugify = (s) =>
+ String(s).toLowerCase().replace(/[^a-z0-9\u4e00-\u9fa5]+/g, "-").replace(/^-|-$/g, "");
+const esc = (s) =>
+ String(s).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
+const canonicalPath = (id, lang) => `/docs/${LANGS[lang].segment}/${id}`;
+
+function articleHtml(page, lang, pages) {
+ const idx = pages.findIndex((p) => p.id === page.id);
+ const prev = idx > 0 ? pages[idx - 1] : null;
+ const next = idx < pages.length - 1 ? pages[idx + 1] : null;
+ const sections = page.sections
+ .map(
+ (s) =>
+ `<section id="${esc(s.id || slugify(s.title))}" class="doc-section">\n<h2>${s.title}</h2>\n${s.body}\n</section>`,
+ )
+ .join("\n");
+ const footer =
+ `<footer class="doc-footer">` +
+ (prev ? `<a href="${canonicalPath(prev.id, lang)}"><span>${LANGS[lang].previous}</span><strong>${prev.title}</strong></a>` : "<span></span>") +
+ (next ? `<a href="${canonicalPath(next.id, lang)}"><span>${LANGS[lang].next}</span><strong>${next.title}</strong></a>` : "<span></span>") +
+ `</footer>`;
+ return (
+ `<header class="doc-hero">\n<p class="eyebrow">${esc(page.group)}</p>\n<h1>${page.title}</h1>\n<p>${page.lead}</p>\n</header>\n` +
+ sections +
+ "\n" +
+ footer
+ );
+}
+
+function buildNav(pages, groups, currentId) {
+ return groups
+ .map((group) => {
+ const items = pages
+ .filter((p) => p.group === group.label)
+ .map(
+ (p) =>
+ `<a class="${p.id === currentId ? "is-active" : ""}" href="${canonicalPath(p.id, p.lang)}"><span>${p.title}</span><small>${p.description}</small></a>`,
+ )
+ .join("\n");
+ return `<section>\n<h2>${group.label}</h2>\n${items}\n</section>`;
+ })
+ .join("\n");
+}
+
+const files = [];
+for (const [lang, structure] of Object.entries(STRUCTURE)) {
+ const pages = structure.flatMap((g) => g.pages.map((p) => ({ ...p, group: g.label, lang })));
+ for (const page of pages) {
+ const { title, description, canonical, structuredData } = buildDocMetadata(page, LANGS[lang]);
+ const en = `${SITE}${canonicalPath(page.id, "en")}`;
+ const zh = `${SITE}${canonicalPath(page.id, "zh")}`;
+
+ let html = TEMPLATE.replace(/^<html lang="[^"]*"/m, `<html lang="${LANGS[lang].htmlLang}"`);
+
+ // --- head: per-URL title/description/OG/canonical/hreflang ---
+ html = html
+ .replace(/<title>[\s\S]*?<\/title>/, `<title>${esc(title)}</title>`)
+ .replace(/(<meta name="description" content=")[^"]*(")/, `$1${esc(description)}$2`)
+ .replace(/(<meta property="og:title" content=")[^"]*(")/, `$1${esc(title)}$2`)
+ .replace(/(<meta property="og:description" content=")[^"]*(")/, `$1${esc(description)}$2`)
+ .replace(/(<meta property="og:url" content=")[^"]*(")/, `$1${canonical}$2`)
+ .replace(/(<link rel="canonical" href=")[^"]*(")/, `$1${canonical}$2`)
+ .replace(
+ /<link rel="alternate" hreflang="en" href="[^"]*">/,
+ `<link rel="alternate" hreflang="en" href="${en}">`,
+ )
+ .replace(
+ /<link rel="alternate" hreflang="zh-CN" href="[^"]*">/,
+ `<link rel="alternate" hreflang="zh-CN" href="${zh}">`,
+ )
+ .replace(
+ /<link rel="alternate" hreflang="x-default" href="[^"]*">/,
+ `<link rel="alternate" hreflang="x-default" href="${en}">`,
+ );
+
+ // --- body: sidebar nav, article, outline ---
+ html = html
+ .replace(/<nav id="docs-nav"><\/nav>/, `<nav id="docs-nav">\n${buildNav(pages, structure, page.id)}\n</nav>`)
+ .replace(
+ /<article class="docs-article" id="docs-article" tabindex="-1"><\/article>/,
+ `<article class="docs-article" id="docs-article" tabindex="-1">\n${articleHtml(page, lang, pages)}\n</article>`,
+ )
+ .replace(
+ /<nav id="docs-outline"><\/nav>/,
+ `<nav id="docs-outline">\n${page.sections
+ .map((s) => `<a href="#${esc(s.id || slugify(s.title))}">${s.title}</a>`)
+ .join("\n")}\n</nav>`,
+ )
+ .replace(
+ /<\/head>/,
+ `<script id="docs-structured-data" type="application/ld+json">${serializeStructuredData(structuredData)}</script>\n</head>`,
+ );
+
+ const out = join("docs", LANGS[lang].segment, `${page.id}.html`);
+ mkdirSync(dirname(out), { recursive: true });
+ writeFileSync(out, html);
+ files.push(out);
+ }
+}
+
+console.error(`prerendered ${files.length} docs pages`);
diff --git a/wiki/scripts/sync_site_chrome.py b/wiki/scripts/sync_site_chrome.py
index a83a8ed13..10d9b4bd9 100644
--- a/wiki/scripts/sync_site_chrome.py
+++ b/wiki/scripts/sync_site_chrome.py
@@ -37,6 +37,9 @@ WIKI = Path(__file__).resolve().parents[1]
PARTIALS = WIKI / "partials"
BLOCKS = ("site-head", "site-header", "site-footer")
SECTIONS = {
+ # ``404.html`` has no section of its own; highlighting Home is the least
+ # surprising choice on a page whose job is to send the reader somewhere real.
+ "404.html": "home",
"home": "home",
"docs": "docs",
"tutorials": "tutorials",
diff --git a/wiki/site.js b/wiki/site.js
index c9388c388..bd44a79b2 100644
--- a/wiki/site.js
+++ b/wiki/site.js
@@ -15,7 +15,7 @@
// site Chinese; its toggle goes to the counterpart page instead.
const LANG_KEY = "vibetrading-lang";
-const LOCALE_VERSION = "20261101";
+const LOCALE_VERSION = "20261105";
const THEME_KEY = "vibetrading-theme";
const STARS_CACHE_KEY = "vibetrading-github-stars";
const STARS_TTL_MS = 12 * 60 * 60 * 1000;
diff --git a/wiki/sitemap.xml b/wiki/sitemap.xml
new file mode 100644
index 000000000..ef152c4df
--- /dev/null
+++ b/wiki/sitemap.xml
@@ -0,0 +1,289 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+ <url>
+ <loc>https://vibetrading.wiki/home/</loc>
+ <lastmod>2026-11-05</lastmod>
+ <priority>1.0</priority>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/tutorials/</loc>
+ <lastmod>2026-11-05</lastmod>
+ <priority>0.7</priority>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/alpha-library/</loc>
+ <lastmod>2026-11-05</lastmod>
+ <priority>0.7</priority>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/research-lab/</loc>
+ <lastmod>2026-11-05</lastmod>
+ <priority>0.6</priority>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/tutorials/vibe-trading-beginner</loc>
+ <lastmod>2026-11-05</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner-zh"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/tutorials/vibe-trading-beginner-zh</loc>
+ <lastmod>2026-11-05</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner-zh"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/tutorials/vibe-trading-beginner"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026</loc>
+ <lastmod>2026-11-05</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026-zh"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026-zh</loc>
+ <lastmod>2026-11-05</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026-zh"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/research-lab/posts/alpha-191-in-2026"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/getting-started/vibe-trading-overview</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/vibe-trading-overview"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/vibe-trading-overview"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/vibe-trading-overview"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/getting-started/vibe-trading-overview</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/vibe-trading-overview"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/vibe-trading-overview"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/vibe-trading-overview"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/getting-started/quick-start</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/quick-start"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/quick-start"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/quick-start"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/getting-started/quick-start</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/quick-start"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/quick-start"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/quick-start"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/getting-started/configuration</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/configuration"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/configuration"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/configuration"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/getting-started/configuration</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/configuration"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/configuration"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/configuration"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/getting-started/troubleshooting</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/troubleshooting"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/troubleshooting"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/troubleshooting"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/getting-started/troubleshooting</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/getting-started/troubleshooting"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/getting-started/troubleshooting"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/getting-started/troubleshooting"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/core-concepts/research-workflow</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/research-workflow"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/research-workflow"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/research-workflow"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/core-concepts/research-workflow</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/research-workflow"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/research-workflow"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/research-workflow"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/core-concepts/checked-numbers</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/checked-numbers"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/checked-numbers"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/checked-numbers"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/core-concepts/checked-numbers</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/checked-numbers"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/checked-numbers"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/checked-numbers"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/core-concepts/backtesting</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/backtesting"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/backtesting"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/backtesting"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/core-concepts/backtesting</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/backtesting"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/backtesting"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/backtesting"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/core-concepts/swarm-teams</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/swarm-teams"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/swarm-teams"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/swarm-teams"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/core-concepts/swarm-teams</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/core-concepts/swarm-teams"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/core-concepts/swarm-teams"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/core-concepts/swarm-teams"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/tools/data-sources</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/data-sources"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/data-sources"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/data-sources"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/tools/data-sources</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/data-sources"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/data-sources"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/data-sources"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/tools/shadow-account</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/shadow-account"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/shadow-account"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/shadow-account"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/tools/shadow-account</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/shadow-account"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/shadow-account"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/shadow-account"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/tools/finance-skills</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/finance-skills"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/finance-skills"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/finance-skills"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/tools/finance-skills</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/finance-skills"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/finance-skills"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/finance-skills"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/tools/alpha-zoo</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/alpha-zoo"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/alpha-zoo"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/alpha-zoo"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/tools/alpha-zoo</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/alpha-zoo"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/alpha-zoo"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/alpha-zoo"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/tools/brokers-and-live-trading</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/brokers-and-live-trading"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/brokers-and-live-trading"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/brokers-and-live-trading"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/tools/brokers-and-live-trading</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/tools/brokers-and-live-trading"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/tools/brokers-and-live-trading"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/tools/brokers-and-live-trading"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/reference/cli</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/cli"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/cli"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/cli"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/reference/cli</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/cli"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/cli"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/cli"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/reference/mcp-server</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/mcp-server"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/mcp-server"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/mcp-server"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/reference/mcp-server</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/mcp-server"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/mcp-server"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/mcp-server"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/reference/web-ui-and-api</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/web-ui-and-api"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/web-ui-and-api"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/web-ui-and-api"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/reference/web-ui-and-api</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/web-ui-and-api"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/web-ui-and-api"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/web-ui-and-api"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/latest/reference/cloudflare-pages</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/cloudflare-pages"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/cloudflare-pages"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/cloudflare-pages"/>
+ </url>
+ <url>
+ <loc>https://vibetrading.wiki/docs/zh/reference/cloudflare-pages</loc>
+ <lastmod>2026-11-04</lastmod>
+ <xhtml:link rel="alternate" hreflang="en" href="https://vibetrading.wiki/docs/latest/reference/cloudflare-pages"/>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://vibetrading.wiki/docs/zh/reference/cloudflare-pages"/>
+ <xhtml:link rel="alternate" hreflang="x-default" href="https://vibetrading.wiki/docs/latest/reference/cloudflare-pages"/>
+ </url>
+</urlset>
diff --git a/wiki/tutorials/index.html b/wiki/tutorials/index.html
index 731e00911..aa6260295 100644
--- a/wiki/tutorials/index.html
+++ b/wiki/tutorials/index.html
@@ -18,10 +18,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
</head>
<body data-section="tutorials">
<!-- site-header:start -->
diff --git a/wiki/tutorials/vibe-trading-beginner-zh.html b/wiki/tutorials/vibe-trading-beginner-zh.html
index 16d7fd008..a7cd4e288 100644
--- a/wiki/tutorials/vibe-trading-beginner-zh.html
+++ b/wiki/tutorials/vibe-trading-beginner-zh.html
@@ -21,10 +21,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
<style>
.tutorial {
width: min(940px, calc(100% - 32px));
diff --git a/wiki/tutorials/vibe-trading-beginner.html b/wiki/tutorials/vibe-trading-beginner.html
index 915b92fb4..b17006253 100644
--- a/wiki/tutorials/vibe-trading-beginner.html
+++ b/wiki/tutorials/vibe-trading-beginner.html
@@ -21,10 +21,10 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],600;9..144,750&amp;family=IBM+Plex+Mono:wght@400;500;600&amp;family=IBM+Plex+Sans:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/styles.css?v=20261101">
- <script src="/theme-init.js?v=20261101"></script>
+ <link rel="stylesheet" href="/styles.css?v=20261105">
+ <script src="/theme-init.js?v=20261105"></script>
<!-- site-head:end -->
- <script type="module" src="/main.js?v=20261101"></script>
+ <script type="module" src="/main.js?v=20261105"></script>
<style>
.tutorial {
width: min(940px, calc(100% - 32px));