Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: Meshy MCP, privy-login move to src/, register route, jsdom pin
nirholaseb23e48efd23
diff --git a/.env.example b/.env.exampleindex 21d1b1da1..01561844c 100644--- a/.env.example+++ b/.env.example@@ -816,3 +816,6 @@ CC_SERVER_SECRET=# OPTIONAL default coin a bare /walk binds to when no ?coin= is present and the# lobby is skipped. A Solana mint address. Unset → /walk shows the world lobby.CC_DEFAULT_TOKEN=++# Meshy AI — 3D generation MCP server (Pro plan required: meshy.ai/settings/api)+MESHY_API_KEY=msy_your_key_herediff --git a/.mcp.json b/.mcp.jsonindex 50d2c8614..e1bfa80f5 100644--- a/.mcp.json+++ b/.mcp.json@@ -1,5 +1,12 @@{"mcpServers": {+ "meshy": {+ "command": "npx",+ "args": ["-y", "@meshy-ai/meshy-mcp-server"],+ "env": {+ "MESHY_API_KEY": "${MESHY_API_KEY}"+ }+ },"3d-agent": {"url": "https://three.ws/api/mcp","headers": {diff --git a/package-lock.json b/package-lock.jsonindex e9833a187..fd683722c 100644--- a/package-lock.json+++ b/package-lock.json@@ -137,7 +137,7 @@"@x402/fetch": "^2.14.0","ajv": "^8.20.0","ajv-formats": "^3.0.1",- "jsdom": "^29.1.1",+ "jsdom": "27.3.0","knip": "^6.14.2","playwright": "^1.45.1","prettier": "^3.2.5",@@ -403,6 +403,40 @@"vitest": "^4.1.7"}},+ "character-studio/node_modules/@asamuzakjp/css-color": {+ "version": "5.1.11",+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-5.1.11.tgz",+ "integrity": "sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@asamuzakjp/generational-cache": "^1.0.1",+ "@csstools/css-calc": "^3.2.0",+ "@csstools/css-color-parser": "^4.1.0",+ "@csstools/css-parser-algorithms": "^4.0.0",+ "@csstools/css-tokenizer": "^4.0.0"+ },+ "engines": {+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ }+ },+ "character-studio/node_modules/@asamuzakjp/dom-selector": {+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-7.1.1.tgz",+ "integrity": "sha512-67RZDnYRc8H/8MLDgQCDE//zoqVFwajkepHZgmXrbwybzXOEwOWGPYGmALYl9J2DOLfFPPs6kKCqmbzV895hTQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@asamuzakjp/generational-cache": "^1.0.1",+ "@asamuzakjp/nwsapi": "^2.3.9",+ "bidi-js": "^1.0.3",+ "css-tree": "^3.2.1",+ "is-potential-custom-element-name": "^1.0.1"+ },+ "engines": {+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ }+ },"character-studio/node_modules/@eslint/js": {"version": "8.57.1","resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",@@ -673,17 +707,17 @@}},"character-studio/node_modules/data-urls": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz",- "integrity": "sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==",+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-7.0.0.tgz",+ "integrity": "sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==","dev": true,"license": "MIT","dependencies": {- "whatwg-mimetype": "^4.0.0",- "whatwg-url": "^14.0.0"+ "whatwg-mimetype": "^5.0.0",+ "whatwg-url": "^16.0.0"},"engines": {- "node": ">=18"+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"}},"character-studio/node_modules/dotenv": {@@ -698,19 +732,6 @@"url": "https://dotenvx.com"}},- "character-studio/node_modules/entities": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",- "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.12"- },- "funding": {- "url": "https://github.com/fb55/entities?sponsor=1"- }- },"character-studio/node_modules/eslint": {"version": "8.57.1","resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",@@ -808,49 +829,37 @@"url": "https://github.com/sponsors/sindresorhus"}},- "character-studio/node_modules/html-encoding-sniffer": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz",- "integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "whatwg-encoding": "^3.1.1"- },- "engines": {- "node": ">=18"- }- },"character-studio/node_modules/jsdom": {- "version": "26.1.0",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-26.1.0.tgz",- "integrity": "sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg==",+ "version": "29.1.1",+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-29.1.1.tgz",+ "integrity": "sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==","dev": true,"license": "MIT","dependencies": {- "cssstyle": "^4.2.1",- "data-urls": "^5.0.0",- "decimal.js": "^10.5.0",- "html-encoding-sniffer": "^4.0.0",- "http-proxy-agent": "^7.0.2",- "https-proxy-agent": "^7.0.6",+ "@asamuzakjp/css-color": "^5.1.11",+ "@asamuzakjp/dom-selector": "^7.1.1",+ "@bramus/specificity": "^2.4.2",+ "@csstools/css-syntax-patches-for-csstree": "^1.1.3",+ "@exodus/bytes": "^1.15.0",+ "css-tree": "^3.2.1",+ "data-urls": "^7.0.0",+ "decimal.js": "^10.6.0",+ "html-encoding-sniffer": "^6.0.0","is-potential-custom-element-name": "^1.0.1",- "nwsapi": "^2.2.16",- "parse5": "^7.2.1",- "rrweb-cssom": "^0.8.0",+ "lru-cache": "^11.3.5",+ "parse5": "^8.0.1","saxes": "^6.0.0","symbol-tree": "^3.2.4",- "tough-cookie": "^5.1.1",+ "tough-cookie": "^6.0.1",+ "undici": "^7.25.0","w3c-xmlserializer": "^5.0.0",- "webidl-conversions": "^7.0.0",- "whatwg-encoding": "^3.1.1",- "whatwg-mimetype": "^4.0.0",- "whatwg-url": "^14.1.1",- "ws": "^8.18.0",+ "webidl-conversions": "^8.0.1",+ "whatwg-mimetype": "^5.0.0",+ "whatwg-url": "^16.0.1","xml-name-validator": "^5.0.0"},"engines": {- "node": ">=18"+ "node": "^20.19.0 || ^22.13.0 || >=24.0.0"},"peerDependencies": {"canvas": "^3.0.0"@@ -896,6 +905,16 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "character-studio/node_modules/lru-cache": {+ "version": "11.5.1",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",+ "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "engines": {+ "node": "20 || >=22"+ }+ },"character-studio/node_modules/magic-string": {"version": "0.30.21","resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",@@ -951,19 +970,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "character-studio/node_modules/parse5": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",- "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",- "dev": true,- "license": "MIT",- "dependencies": {- "entities": "^6.0.0"- },- "funding": {- "url": "https://github.com/inikulin/parse5?sponsor=1"- }- },"character-studio/node_modules/proxy-from-env": {"version": "2.1.0","resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",@@ -1003,50 +1009,17 @@"node": ">=14.0.0"}},- "character-studio/node_modules/tldts": {- "version": "6.1.86",- "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz",- "integrity": "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "tldts-core": "^6.1.86"- },- "bin": {- "tldts": "bin/cli.js"- }- },- "character-studio/node_modules/tldts-core": {- "version": "6.1.86",- "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz",- "integrity": "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==",- "dev": true,- "license": "MIT"- },- "character-studio/node_modules/tough-cookie": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz",- "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==",- "dev": true,- "license": "BSD-3-Clause",- "dependencies": {- "tldts": "^6.1.32"- },- "engines": {- "node": ">=16"- }- },"character-studio/node_modules/tr46": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz",- "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==",+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-6.0.0.tgz",+ "integrity": "sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==","dev": true,"license": "MIT","dependencies": {"punycode": "^2.3.1"},"engines": {- "node": ">=18"+ "node": ">=20"}},"character-studio/node_modules/undici-types": {@@ -1129,37 +1102,38 @@}},"character-studio/node_modules/webidl-conversions": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",- "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",+ "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": ">=12"+ "node": ">=20"}},"character-studio/node_modules/whatwg-mimetype": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",- "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",+ "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": ">=18"+ "node": ">=20"}},"character-studio/node_modules/whatwg-url": {- "version": "14.2.0",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz",- "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==",+ "version": "16.0.1",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-16.0.1.tgz",+ "integrity": "sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==","dev": true,"license": "MIT","dependencies": {- "tr46": "^5.1.0",- "webidl-conversions": "^7.0.0"+ "@exodus/bytes": "^1.11.0",+ "tr46": "^6.0.0",+ "webidl-conversions": "^8.0.1"},"engines": {- "node": ">=18"+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"}},"chat": {@@ -1540,6 +1514,13 @@"resolved": "mcp-server","link": true},+ "node_modules/@acemir/cssom": {+ "version": "0.9.31",+ "resolved": "https://registry.npmjs.org/@acemir/cssom/-/cssom-0.9.31.tgz",+ "integrity": "sha512-ZnR3GSaH+/vJ0YlHau21FjfLYjMpYVIzTD8M8vIEQvIGxeOXyXdzCI140rrCY862p/C/BbzWsjc1dgnM9mkoTA==",+ "dev": true,+ "license": "MIT"+ },"node_modules/@achingbrain/http-parser-js": {"version": "0.5.9","resolved": "https://registry.npmjs.org/@achingbrain/http-parser-js/-/http-parser-js-0.5.9.tgz",@@ -1803,37 +1784,51 @@}},"node_modules/@asamuzakjp/css-color": {- "version": "5.1.11",- "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-5.1.11.tgz",- "integrity": "sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==",+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-4.1.2.tgz",+ "integrity": "sha512-NfBUvBaYgKIuq6E/RBLY1m0IohzNHAYyaJGuTK79Z23uNwmz2jl1mPsC5ZxCCxylinKhT1Amn5oNTlx1wN8cQg==","dev": true,"license": "MIT","dependencies": {- "@asamuzakjp/generational-cache": "^1.0.1",- "@csstools/css-calc": "^3.2.0",- "@csstools/css-color-parser": "^4.1.0",+ "@csstools/css-calc": "^3.0.0",+ "@csstools/css-color-parser": "^4.0.1","@csstools/css-parser-algorithms": "^4.0.0",- "@csstools/css-tokenizer": "^4.0.0"- },+ "@csstools/css-tokenizer": "^4.0.0",+ "lru-cache": "^11.2.5"+ }+ },+ "node_modules/@asamuzakjp/css-color/node_modules/lru-cache": {+ "version": "11.5.1",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",+ "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==",+ "dev": true,+ "license": "BlueOak-1.0.0","engines": {- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ "node": "20 || >=22"}},"node_modules/@asamuzakjp/dom-selector": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-7.1.1.tgz",- "integrity": "sha512-67RZDnYRc8H/8MLDgQCDE//zoqVFwajkepHZgmXrbwybzXOEwOWGPYGmALYl9J2DOLfFPPs6kKCqmbzV895hTQ==",+ "version": "6.8.1",+ "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-6.8.1.tgz",+ "integrity": "sha512-MvRz1nCqW0fsy8Qz4dnLIvhOlMzqDVBabZx6lH+YywFDdjXhMY37SmpV1XFX3JzG5GWHn63j6HX6QPr3lZXHvQ==","dev": true,"license": "MIT","dependencies": {- "@asamuzakjp/generational-cache": "^1.0.1","@asamuzakjp/nwsapi": "^2.3.9","bidi-js": "^1.0.3",- "css-tree": "^3.2.1",- "is-potential-custom-element-name": "^1.0.1"- },+ "css-tree": "^3.1.0",+ "is-potential-custom-element-name": "^1.0.1",+ "lru-cache": "^11.2.6"+ }+ },+ "node_modules/@asamuzakjp/dom-selector/node_modules/lru-cache": {+ "version": "11.5.1",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",+ "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==",+ "dev": true,+ "license": "BlueOak-1.0.0","engines": {- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ "node": "20 || >=22"}},"node_modules/@asamuzakjp/generational-cache": {@@ -6143,9 +6138,9 @@}},"node_modules/@csstools/css-calc": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.2.0.tgz",- "integrity": "sha512-bR9e6o2BDB12jzN/gIbjHa5wLJ4UjD1CB9pM7ehlc0ddk6EBz+yYS1EV2MF55/HUxrHcB/hehAyt5vhsA3hx7w==",+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.2.1.tgz",+ "integrity": "sha512-DtdHlgXh5ZkA43cwBcAm+huzgJiwx3ZTWVjBs94kwz2xKqSimDA3lBgCjphYgwgVUMWatSM0pDd8TILB1yrVVg==","dev": true,"funding": [{@@ -6167,9 +6162,9 @@}},"node_modules/@csstools/css-color-parser": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.1.0.tgz",- "integrity": "sha512-U0KhLYmy2GVj6q4T3WaAe6NPuFYCPQoE3b0dRGxejWDgcPp8TP7S5rVdM5ZrFaqu4N67X8YaPBw14dQSYx3IyQ==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.1.1.tgz",+ "integrity": "sha512-eZ5XOtyhK+mggRafYUWzA0tvaYOFgdY8AkgQiCJF9qNAePnUo/zmsqqYubBBb3sQ8uNUaSKTY9s9klfRaAXL0g==","dev": true,"funding": [{@@ -6184,7 +6179,7 @@"license": "MIT","dependencies": {"@csstools/color-helpers": "^6.0.2",- "@csstools/css-calc": "^3.2.0"+ "@csstools/css-calc": "^3.2.1"},"engines": {"node": ">=20.19.0"@@ -6218,9 +6213,9 @@}},"node_modules/@csstools/css-syntax-patches-for-csstree": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.3.tgz",- "integrity": "sha512-SH60bMfrRCJF3morcdk57WklujF4Jr/EsQUzqkarfHXEFcAR1gg7fS/chAE922Sehgzc1/+Tz5H3Ypa1HiEKrg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.5.tgz",+ "integrity": "sha512-oNjBvzLq2GPZtJphCjLqXow/cHySHSgtxvKZb7OqSZ/xHgw6NWNhfad+6AB9cLeVm6eA9d/qMll3JdEHjy6M+A==","dev": true,"funding": [{@@ -28572,156 +28567,6 @@"dev": true,"license": "MIT"},- "node_modules/cssstyle": {- "version": "4.6.0",- "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz",- "integrity": "sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@asamuzakjp/css-color": "^3.2.0",- "rrweb-cssom": "^0.8.0"- },- "engines": {- "node": ">=18"- }- },- "node_modules/cssstyle/node_modules/@asamuzakjp/css-color": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz",- "integrity": "sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@csstools/css-calc": "^2.1.3",- "@csstools/css-color-parser": "^3.0.9",- "@csstools/css-parser-algorithms": "^3.0.4",- "@csstools/css-tokenizer": "^3.0.3",- "lru-cache": "^10.4.3"- }- },- "node_modules/cssstyle/node_modules/@csstools/color-helpers": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz",- "integrity": "sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/csstools"- },- {- "type": "opencollective",- "url": "https://opencollective.com/csstools"- }- ],- "license": "MIT-0",- "engines": {- "node": ">=18"- }- },- "node_modules/cssstyle/node_modules/@csstools/css-calc": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz",- "integrity": "sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/csstools"- },- {- "type": "opencollective",- "url": "https://opencollective.com/csstools"- }- ],- "license": "MIT",- "engines": {- "node": ">=18"- },- "peerDependencies": {- "@csstools/css-parser-algorithms": "^3.0.5",- "@csstools/css-tokenizer": "^3.0.4"- }- },- "node_modules/cssstyle/node_modules/@csstools/css-color-parser": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.1.0.tgz",- "integrity": "sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/csstools"- },- {- "type": "opencollective",- "url": "https://opencollective.com/csstools"- }- ],- "license": "MIT",- "dependencies": {- "@csstools/color-helpers": "^5.1.0",- "@csstools/css-calc": "^2.1.4"- },- "engines": {- "node": ">=18"- },- "peerDependencies": {- "@csstools/css-parser-algorithms": "^3.0.5",- "@csstools/css-tokenizer": "^3.0.4"- }- },- "node_modules/cssstyle/node_modules/@csstools/css-parser-algorithms": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz",- "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/csstools"- },- {- "type": "opencollective",- "url": "https://opencollective.com/csstools"- }- ],- "license": "MIT",- "engines": {- "node": ">=18"- },- "peerDependencies": {- "@csstools/css-tokenizer": "^3.0.4"- }- },- "node_modules/cssstyle/node_modules/@csstools/css-tokenizer": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz",- "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/csstools"- },- {- "type": "opencollective",- "url": "https://opencollective.com/csstools"- }- ],- "license": "MIT",- "engines": {- "node": ">=18"- }- },- "node_modules/cssstyle/node_modules/lru-cache": {- "version": "10.4.3",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",- "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",- "dev": true,- "license": "ISC"- },"node_modules/csstype": {"version": "3.2.3","resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",@@ -28803,17 +28648,17 @@}},"node_modules/data-urls": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-7.0.0.tgz",- "integrity": "sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==",+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-6.0.1.tgz",+ "integrity": "sha512-euIQENZg6x8mj3fO6o9+fOW8MimUI4PpD/fZBhJfeioZVy9TUpM4UY7KjQNVZFlqwJ0UdzRDzkycB997HEq1BQ==","dev": true,"license": "MIT","dependencies": {"whatwg-mimetype": "^5.0.0",- "whatwg-url": "^16.0.0"+ "whatwg-url": "^15.1.0"},"engines": {- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ "node": ">=20"}},"node_modules/data-urls/node_modules/tr46": {@@ -28839,19 +28684,28 @@"node": ">=20"}},+ "node_modules/data-urls/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/data-urls/node_modules/whatwg-url": {- "version": "16.0.1",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-16.0.1.tgz",- "integrity": "sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==",+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz",+ "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==","dev": true,"license": "MIT","dependencies": {- "@exodus/bytes": "^1.11.0","tr46": "^6.0.0",- "webidl-conversions": "^8.0.1"+ "webidl-conversions": "^8.0.0"},"engines": {- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ "node": ">=20"}},"node_modules/data-view-buffer": {@@ -38008,36 +37862,35 @@}},"node_modules/jsdom": {- "version": "29.1.1",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-29.1.1.tgz",- "integrity": "sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==",+ "version": "27.3.0",+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-27.3.0.tgz",+ "integrity": "sha512-GtldT42B8+jefDUC4yUKAvsaOrH7PDHmZxZXNgF2xMmymjUbRYJvpAybZAKEmXDGTM0mCsz8duOa4vTm5AY2Kg==","dev": true,"license": "MIT","dependencies": {- "@asamuzakjp/css-color": "^5.1.11",- "@asamuzakjp/dom-selector": "^7.1.1",- "@bramus/specificity": "^2.4.2",- "@csstools/css-syntax-patches-for-csstree": "^1.1.3",- "@exodus/bytes": "^1.15.0",- "css-tree": "^3.2.1",- "data-urls": "^7.0.0",+ "@acemir/cssom": "^0.9.28",+ "@asamuzakjp/dom-selector": "^6.7.6",+ "cssstyle": "^5.3.4",+ "data-urls": "^6.0.0","decimal.js": "^10.6.0",- "html-encoding-sniffer": "^6.0.0",+ "html-encoding-sniffer": "^4.0.0",+ "http-proxy-agent": "^7.0.2",+ "https-proxy-agent": "^7.0.6","is-potential-custom-element-name": "^1.0.1",- "lru-cache": "^11.3.5",- "parse5": "^8.0.1",+ "parse5": "^8.0.0","saxes": "^6.0.0","symbol-tree": "^3.2.4",- "tough-cookie": "^6.0.1",- "undici": "^7.25.0",+ "tough-cookie": "^6.0.0","w3c-xmlserializer": "^5.0.0",- "webidl-conversions": "^8.0.1",- "whatwg-mimetype": "^5.0.0",- "whatwg-url": "^16.0.1",+ "webidl-conversions": "^8.0.0",+ "whatwg-encoding": "^3.1.1",+ "whatwg-mimetype": "^4.0.0",+ "whatwg-url": "^15.1.0",+ "ws": "^8.18.3","xml-name-validator": "^5.0.0"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24.0.0"+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {"canvas": "^3.0.0"@@ -38048,10 +37901,39 @@}}},+ "node_modules/jsdom/node_modules/cssstyle": {+ "version": "5.3.7",+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-5.3.7.tgz",+ "integrity": "sha512-7D2EPVltRrsTkhpQmksIu+LxeWAIEk6wRDMJ1qljlv+CKHJM+cJLlfhWIzNA44eAsHXSNe3+vO6DW1yCYx8SuQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@asamuzakjp/css-color": "^4.1.1",+ "@csstools/css-syntax-patches-for-csstree": "^1.0.21",+ "css-tree": "^3.1.0",+ "lru-cache": "^11.2.4"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/jsdom/node_modules/html-encoding-sniffer": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz",+ "integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "whatwg-encoding": "^3.1.1"+ },+ "engines": {+ "node": ">=18"+ }+ },"node_modules/jsdom/node_modules/lru-cache": {- "version": "11.3.5",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.5.tgz",- "integrity": "sha512-NxVFwLAnrd9i7KUBxC4DrUhmgjzOs+1Qm50D3oF1/oL+r1NpZ4gA7xvG0/zJ8evR7zIKn4vLf7qTNduWFtCrRw==",+ "version": "11.5.1",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",+ "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==","dev": true,"license": "BlueOak-1.0.0","engines": {@@ -38082,18 +37964,17 @@}},"node_modules/jsdom/node_modules/whatwg-url": {- "version": "16.0.1",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-16.0.1.tgz",- "integrity": "sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==",+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz",+ "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==","dev": true,"license": "MIT","dependencies": {- "@exodus/bytes": "^1.11.0","tr46": "^6.0.0",- "webidl-conversions": "^8.0.1"+ "webidl-conversions": "^8.0.0"},"engines": {- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"+ "node": ">=20"}},"node_modules/jsesc": {@@ -41633,13 +41514,6 @@"integrity": "sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==","license": "MIT"},- "node_modules/nwsapi": {- "version": "2.2.23",- "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz",- "integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==",- "dev": true,- "license": "MIT"- },"node_modules/oauth-sign": {"version": "0.9.0","resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",@@ -44681,13 +44555,6 @@"@types/node": "*"}},- "node_modules/rrweb-cssom": {- "version": "0.8.0",- "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz",- "integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==",- "dev": true,- "license": "MIT"- },"node_modules/run-async": {"version": "2.4.1","resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",@@ -48709,9 +48576,9 @@"license": "MIT"},"node_modules/undici": {- "version": "7.25.0",- "resolved": "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz",- "integrity": "sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==",+ "version": "7.27.1",+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.27.1.tgz",+ "integrity": "sha512-UDdpiex+mzigiyrXrGbiUaF4HzTNhKbh2vRNFaTMzcqmLIPrZxaCtwo/1TMSuWoM1Xz3WiTo9KdgI3kRqYzJGg==","dev": true,"license": "MIT","engines": {@@ -49782,13 +49649,13 @@}},"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==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",+ "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==","dev": true,"license": "MIT","engines": {- "node": ">=20"+ "node": ">=18"}},"node_modules/whatwg-url": {diff --git a/package.json b/package.jsonindex aa2843725..5f801291f 100644--- a/package.json+++ b/package.json@@ -224,7 +224,7 @@"@x402/fetch": "^2.14.0","ajv": "^8.20.0","ajv-formats": "^3.0.1",- "jsdom": "^27.0.0",+ "jsdom": "27.3.0","knip": "^6.14.2","playwright": "^1.45.1","prettier": "^3.2.5",diff --git a/public/getting-started.js b/public/getting-started.jsindex d409e54f5..a5059403c 100644--- a/public/getting-started.js+++ b/public/getting-started.js@@ -458,7 +458,6 @@// But only render the floating UI on non-immersive pages, when not opted out.if (!hidden && !isExcludedRoute()) {mount();- if (shouldShowWelcome()) showWelcome();}}diff --git a/public/login.html b/public/login.htmlindex 723a20705..3b9220f3c 100644--- a/public/login.html+++ b/public/login.html@@ -711,7 +711,7 @@</div></footer><script type="module" src="/wallet-login.js"></script>- <script type="module" src="/privy-login.js"></script>+ <script type="module" src="/src/privy-login.js"></script><script>(function () {const form = document.getElementById('f');diff --git a/public/register.html b/public/register.htmlindex a32e8d718..8f467c5ca 100644--- a/public/register.html+++ b/public/register.html@@ -567,7 +567,7 @@</div><script type="module" src="/wallet-login.js"></script>- <script type="module" src="/privy-login.js"></script>+ <script type="module" src="/src/privy-login.js"></script><script>// Avatar mouse tracking + parallax + skeletondiff --git a/public/privy-login.js b/src/privy-login.jssimilarity index 97%rename from public/privy-login.jsrename to src/privy-login.jsindex db6a9c05a..598408817 100644--- a/public/privy-login.js+++ b/src/privy-login.js@@ -28,14 +28,13 @@ const appId = await getAppId();// If Privy is not configured, hide the section and exit.const section = document.getElementById('privy-section');+const divider = document.getElementById('privy-or-divider');+if (!appId) {if (section) section.style.display = 'none';- // Also hide the "or" divider if nothing else is above it.- const divider = document.getElementById('privy-or-divider');if (divider) divider.style.display = 'none';} else {const privy = new Privy({ appId, storage: new LocalStorage() });- await privy.initialize();mountPrivyUI(privy);}diff --git a/vite.config.js b/vite.config.jsindex ca54a81a0..018f1a6a6 100644--- a/vite.config.js+++ b/vite.config.js@@ -329,6 +329,7 @@ const appConfig = {// bundles that module so the sign-in avatar renders in production// instead of shipping an unresolvable bare import.login: resolve(__dirname, 'public/login.html'),+ register: resolve(__dirname, 'public/register.html'),// BEGIN:DISCOVER_ROUTE'my-agents': resolve(__dirname, 'public/my-agents/index.html'),discover: resolve(__dirname, 'public/discover/index.html'),