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: add ethers.js dependency and update related packages
nirholase2a8b11a1956
diff --git a/features.html b/features.htmlnew file mode 100644index 000000000..35a81e4b5--- /dev/null+++ b/features.html@@ -0,0 +1,205 @@+<!doctype html>+<html lang="en">+<head>+ <meta charset="utf-8" />+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />+ <title>Features — 3D Agent</title>+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <meta name="author" content="nirholas" />+ <meta name="description" content="3D Agent features: ERC-8004 trustless identity, on-chain agent discovery, 3D model validation, and AI-powered rendering." />+ <meta name="theme-color" content="#000000" />++ <meta property="og:type" content="website" />+ <meta property="og:title" content="Features — 3D Agent" />+ <meta property="og:description" content="ERC-8004 trustless identity, on-chain agent discovery, 3D model validation, and AI-powered rendering." />+ <meta property="og:url" content="https://3d.irish/features" />++ <link rel="canonical" href="https://3d.irish/features" />+ <link rel="shortcut icon" href="/favicon.ico" />+ <link rel="preconnect" href="https://fonts.googleapis.com" />+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />+ <link rel="stylesheet" href="/style.css" />+ <link rel="stylesheet" href="/features.css" />+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap" rel="stylesheet" />+</head>+<body class="features-page">+ <header>+ <h1><a href="/">3D Agent</a></h1>+ <nav class="features-nav">+ <a href="/">Viewer</a>+ <a href="/features" class="active">Features</a>+ </nav>+ </header>++ <main class="features-main">+ <!-- Hero -->+ <section class="hero" id="hero">+ <div class="hero-content">+ <p class="hero-eyebrow scroll-reveal">ERC-8004 · Trustless Agents</p>+ <h2 class="hero-title scroll-reveal">On-Chain Identity<br/>for AI Agents</h2>+ <p class="hero-subtitle scroll-reveal">3D Agent uses Ethereum's trustless agent standard to give every avatar a verifiable, portable identity — discoverable by any agent, anywhere.</p>+ <div class="hero-cta scroll-reveal">+ <a href="/" class="btn-primary">Launch Viewer</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener" class="btn-ghost">Read ERC-8004 →</a>+ </div>+ </div>+ <div class="hero-glow"></div>+ </section>++ <!-- How it works -->+ <section class="section" id="how-it-works">+ <h3 class="section-label scroll-reveal">How It Works</h3>+ <div class="steps">+ <div class="step scroll-reveal">+ <div class="step-num">01</div>+ <h4>Register</h4>+ <p>Mint an ERC-721 token on any EVM chain. The <code>tokenURI</code> points to your agent's JSON registration file — name, description, endpoints, and trust preferences.</p>+ </div>+ <div class="step scroll-reveal">+ <div class="step-num">02</div>+ <h4>Discover</h4>+ <p>Other agents and clients query the Identity Registry to find your agent. Service endpoints expose A2A, MCP, web interfaces, ENS names, and wallet addresses.</p>+ </div>+ <div class="step scroll-reveal">+ <div class="step-num">03</div>+ <h4>Trust</h4>+ <p>Reputation feedback, validation registries, and cryptographic proofs build trust proportional to value at risk — from ordering pizza to medical diagnosis.</p>+ </div>+ </div>+ </section>++ <!-- Registration JSON -->+ <section class="section section-dark" id="registration">+ <h3 class="section-label scroll-reveal">Agent Registration File</h3>+ <p class="section-desc scroll-reveal">Every 3D avatar is a JSON file — the same format ERC-8004 uses for agent identity. Your avatar's metadata becomes its on-chain passport.</p>+ <div class="code-block scroll-reveal">+ <div class="code-header">+ <span class="code-dot red"></span>+ <span class="code-dot yellow"></span>+ <span class="code-dot green"></span>+ <span class="code-filename">agent-registration.json</span>+ </div>+<pre class="code-body"><code>{+ <span class="json-key">"type"</span>: <span class="json-str">"https://eips.ethereum.org/EIPS/eip-8004#registration-v1"</span>,+ <span class="json-key">"name"</span>: <span class="json-str">"3D Agent"</span>,+ <span class="json-key">"description"</span>: <span class="json-str">"AI-powered 3D model viewer and validation agent"</span>,+ <span class="json-key">"image"</span>: <span class="json-str">"https://3d.irish/og-image.png"</span>,+ <span class="json-key">"active"</span>: <span class="json-bool">true</span>,+ <span class="json-key">"services"</span>: [+ { <span class="json-key">"name"</span>: <span class="json-str">"web"</span>, <span class="json-key">"endpoint"</span>: <span class="json-str">"https://3d.irish/"</span> },+ { <span class="json-key">"name"</span>: <span class="json-str">"A2A"</span>, <span class="json-key">"endpoint"</span>: <span class="json-str">"https://3d.irish/.well-known/agent-card.json"</span> },+ { <span class="json-key">"name"</span>: <span class="json-str">"MCP"</span>, <span class="json-key">"endpoint"</span>: <span class="json-str">"https://3d.irish/.well-known/openapi.yaml"</span> }+ ],+ <span class="json-key">"supportedTrust"</span>: [<span class="json-str">"reputation"</span>]+}</code></pre>+ </div>+ </section>++ <!-- Three Registries -->+ <section class="section" id="registries">+ <h3 class="section-label scroll-reveal">Three Registries</h3>+ <div class="registry-grid">+ <div class="registry-card scroll-reveal">+ <div class="registry-icon">🪪</div>+ <h4>Identity Registry</h4>+ <p>ERC-721 based. Every agent gets a unique <code>agentId</code> and a URI that resolves to its registration file. Transferable, composable, browsable with any NFT app.</p>+ <ul class="registry-details">+ <li><code>register(agentURI)</code></li>+ <li><code>setAgentURI()</code></li>+ <li><code>setMetadata()</code></li>+ </ul>+ </div>+ <div class="registry-card scroll-reveal">+ <div class="registry-icon">⭐</div>+ <h4>Reputation Registry</h4>+ <p>Any client can leave signed feedback — quality scores, uptime, response time. On-chain composability meets off-chain aggregation.</p>+ <ul class="registry-details">+ <li><code>giveFeedback(agentId, value)</code></li>+ <li><code>getSummary(agentId)</code></li>+ <li><code>revokeFeedback()</code></li>+ </ul>+ </div>+ <div class="registry-card scroll-reveal">+ <div class="registry-icon">🔐</div>+ <h4>Validation Registry</h4>+ <p>Request independent verification: stake-secured re-execution, zkML proofs, TEE attestations. Trust proportional to value at risk.</p>+ <ul class="registry-details">+ <li><code>validationRequest()</code></li>+ <li><code>validationResponse()</code></li>+ <li><code>getValidationStatus()</code></li>+ </ul>+ </div>+ </div>+ </section>++ <!-- 3D + ERC-8004 -->+ <section class="section section-dark" id="integration">+ <h3 class="section-label scroll-reveal">3D Avatars Meet Web3 Identity</h3>+ <div class="integration-grid">+ <div class="integration-item scroll-reveal">+ <h4>GLB → On-Chain</h4>+ <p>Your 3D avatar's GLB file becomes the <code>"image"</code> field in the registration JSON. Render it in any viewer, verify it on-chain.</p>+ </div>+ <div class="integration-item scroll-reveal">+ <h4>Validation Built-In</h4>+ <p>glTF validation results feed the Reputation Registry — model quality scores become on-chain reputation signals.</p>+ </div>+ <div class="integration-item scroll-reveal">+ <h4>Agent Discovery</h4>+ <p>Any A2A or MCP client can discover your 3D Agent via the Identity Registry and interact through standard endpoints.</p>+ </div>+ <div class="integration-item scroll-reveal">+ <h4>Portable & Composable</h4>+ <p>Your agent identity is an NFT — transfer it, delegate it, list it. Works across any EVM chain.</p>+ </div>+ </div>+ </section>++ <!-- CTA -->+ <section class="section cta-section" id="cta">+ <div class="cta-content scroll-reveal">+ <h3>Ready to give your AI agent an identity?</h3>+ <p>Drop a 3D model into the viewer, or explore the ERC-8004 spec.</p>+ <div class="hero-cta">+ <a href="/" class="btn-primary">Launch Viewer</a>+ <a href="https://ethereum-magicians.org/t/erc-8004-trustless-agents/25098" target="_blank" rel="noopener" class="btn-ghost">Join the Discussion →</a>+ </div>+ </div>+ </section>++ <footer class="features-footer">+ <p>3D Agent · <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a> · Built on <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a></p>+ </footer>+ </main>++ <script>+ // Scroll-triggered reveal animations using IntersectionObserver+ (function () {+ const reveals = document.querySelectorAll('.scroll-reveal');++ const observer = new IntersectionObserver(+ (entries) => {+ entries.forEach((entry) => {+ if (entry.isIntersecting) {+ entry.target.classList.add('revealed');+ observer.unobserve(entry.target);+ }+ });+ },+ {+ threshold: 0.15,+ rootMargin: '0px 0px -60px 0px',+ }+ );++ reveals.forEach((el, i) => {+ // Stagger siblings inside the same parent+ const siblings = Array.from(el.parentElement.querySelectorAll('.scroll-reveal'));+ const idx = siblings.indexOf(el);+ el.style.transitionDelay = (idx * 0.1) + 's';+ observer.observe(el);+ });+ })();+ </script>+</body>+</html>diff --git a/package-lock.json b/package-lock.jsonindex f5e41263e..edbb87dd0 100644--- a/package-lock.json+++ b/package-lock.json@@ -9,8 +9,10 @@"version": "1.5.1","license": "MIT","dependencies": {+ "@avaturn-live/web-sdk": "^0.4.0","@chenglou/pretext": "^0.0.5","dat.gui": "^0.7.9",+ "ethers": "^6.16.0","gltf-validator": "^2.0.0-dev.3.10","query-string": "^8.1.0","simple-dropzone": "^0.8.3",@@ -24,6 +26,12 @@"vite-plugin-pwa": "^1.2.0"}},+ "node_modules/@adraffy/ens-normalize": {+ "version": "1.10.1",+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz",+ "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==",+ "license": "MIT"+ },"node_modules/@apideck/better-ajv-errors": {"version": "0.3.7","resolved": "https://registry.npmjs.org/@apideck/better-ajv-errors/-/better-ajv-errors-0.3.7.tgz",@@ -41,6 +49,15 @@"ajv": ">=8"}},+ "node_modules/@avaturn-live/web-sdk": {+ "version": "0.4.8",+ "resolved": "https://registry.npmjs.org/@avaturn-live/web-sdk/-/web-sdk-0.4.8.tgz",+ "integrity": "sha512-Pjy60pR3PB0rk05cBgSjMW/zmSixLT5n/y59FrqpsrbQbP+zf21x+i/hudU6obfHvT2KaRYT4E6vSIhLZjZYAg==",+ "dependencies": {+ "@daily-co/daily-js": "^0.87.0",+ "axios": "^1.7.2"+ }+ },"node_modules/@babel/code-frame": {"version": "7.29.0","resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",@@ -1512,7 +1529,6 @@"version": "7.29.2","resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz","integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",- "dev": true,"license": "MIT","engines": {"node": ">=6.9.0"@@ -1572,6 +1588,22 @@"integrity": "sha512-A8GZN10REdFGsyuiUgLV8jjPDDFMg5GmgxGWV0I3igxBOnzj+jgz2VMmVD7g+SFyoctfeqHFxbNatKSzVRWtRg==","license": "MIT"},+ "node_modules/@daily-co/daily-js": {+ "version": "0.87.0",+ "resolved": "https://registry.npmjs.org/@daily-co/daily-js/-/daily-js-0.87.0.tgz",+ "integrity": "sha512-hWHdBDvJwDeg8unz+XG9hD7xamuFi5Jmsk89ASATKL4fdTDHplpxi4PG9aaPXzBZYYLTjuxUje1K7B5uUR+gzw==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "@babel/runtime": "^7.12.5",+ "@sentry/browser": "^8.33.1",+ "bowser": "^2.8.1",+ "dequal": "^2.0.3",+ "events": "^3.1.0"+ },+ "engines": {+ "node": ">=10.0.0"+ }+ },"node_modules/@emnapi/runtime": {"version": "1.9.2","resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",@@ -2535,6 +2567,30 @@"@jridgewell/sourcemap-codec": "^1.4.14"}},+ "node_modules/@noble/curves": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz",+ "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==",+ "license": "MIT",+ "dependencies": {+ "@noble/hashes": "1.3.2"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/@noble/hashes": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz",+ "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 16"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },"node_modules/@rollup/plugin-node-resolve": {"version": "15.3.1","resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.1.tgz",@@ -2886,6 +2942,81 @@"win32"]},+ "node_modules/@sentry-internal/browser-utils": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.55.1.tgz",+ "integrity": "sha512-SipXiwVhJrxzy3/4kf+YIFmpYlLKtGSRD+er7SBCcuSBtv31Fee8IXMDvk+bq24gRXxyjOLUmT//GGXjy2LL6w==",+ "license": "MIT",+ "dependencies": {+ "@sentry/core": "8.55.1"+ },+ "engines": {+ "node": ">=14.18"+ }+ },+ "node_modules/@sentry-internal/feedback": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.55.1.tgz",+ "integrity": "sha512-9iFHaT/ijtzB0ffZhXMnt2rPNIXO/dDiCL1G1Bc55rQMPXgawR9AIaAWciyqQjYcbL1DDOhWbzdVqB+kVs5gXw==",+ "license": "MIT",+ "dependencies": {+ "@sentry/core": "8.55.1"+ },+ "engines": {+ "node": ">=14.18"+ }+ },+ "node_modules/@sentry-internal/replay": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.55.1.tgz",+ "integrity": "sha512-XaX6r8pXeX47rfiQrSQUwkgxHsDkOKzIT++zfTwrmveVlYSqAhp3x+AKhxAXGmKG62wlmAKQz54GJKcG4cgyKQ==",+ "license": "MIT",+ "dependencies": {+ "@sentry-internal/browser-utils": "8.55.1",+ "@sentry/core": "8.55.1"+ },+ "engines": {+ "node": ">=14.18"+ }+ },+ "node_modules/@sentry-internal/replay-canvas": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.55.1.tgz",+ "integrity": "sha512-2sKRu96Qe70y6TiYdYbwkhg4um2prgzH/ZJRItuoSEAjPjoFYYlP+1qjE2CcBw4RPS8/PimV7SFheSaeZs2GCw==",+ "license": "MIT",+ "dependencies": {+ "@sentry-internal/replay": "8.55.1",+ "@sentry/core": "8.55.1"+ },+ "engines": {+ "node": ">=14.18"+ }+ },+ "node_modules/@sentry/browser": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.55.1.tgz",+ "integrity": "sha512-OEn2eg8h3Mr7BmBGQ28BqbWehYA/NklZ0pAZB1FypPPl+kMd85AbaRdGTnaSjgmpc8bKbBO64edq4Y14sbCs5w==",+ "license": "MIT",+ "dependencies": {+ "@sentry-internal/browser-utils": "8.55.1",+ "@sentry-internal/feedback": "8.55.1",+ "@sentry-internal/replay": "8.55.1",+ "@sentry-internal/replay-canvas": "8.55.1",+ "@sentry/core": "8.55.1"+ },+ "engines": {+ "node": ">=14.18"+ }+ },+ "node_modules/@sentry/core": {+ "version": "8.55.1",+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.55.1.tgz",+ "integrity": "sha512-0ea+yDOgaijR3ba2al1QZxY0bZ9MBZq2a0G+2A0uCBpBkiXnpLFGVAo9UAlEikN1C4M8ROZYiuFU7yZCqacgLQ==",+ "license": "MIT",+ "engines": {+ "node": ">=14.18"+ }+ },"node_modules/@surma/rollup-plugin-off-main-thread": {"version": "2.2.3","resolved": "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz",@@ -2906,6 +3037,15 @@"dev": true,"license": "MIT"},+ "node_modules/@types/node": {+ "version": "22.7.5",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",+ "license": "MIT",+ "dependencies": {+ "undici-types": "~6.19.2"+ }+ },"node_modules/@types/resolve": {"version": "1.20.2","resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",@@ -2933,6 +3073,12 @@"node": ">=0.4.0"}},+ "node_modules/aes-js": {+ "version": "4.0.0-beta.5",+ "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz",+ "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==",+ "license": "MIT"+ },"node_modules/ajv": {"version": "8.18.0","resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",@@ -3007,6 +3153,12 @@"node": ">= 0.4"}},+ "node_modules/asynckit": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",+ "license": "MIT"+ },"node_modules/at-least-node": {"version": "1.0.0","resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",@@ -3033,6 +3185,17 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/axios": {+ "version": "1.15.0",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",+ "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",+ "license": "MIT",+ "dependencies": {+ "follow-redirects": "^1.15.11",+ "form-data": "^4.0.5",+ "proxy-from-env": "^2.1.0"+ }+ },"node_modules/babel-plugin-polyfill-corejs2": {"version": "0.4.17","resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz",@@ -3098,6 +3261,12 @@"node": ">=6.0.0"}},+ "node_modules/bowser": {+ "version": "2.14.1",+ "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz",+ "integrity": "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==",+ "license": "MIT"+ },"node_modules/brace-expansion": {"version": "5.0.5","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",@@ -3176,7 +3345,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz","integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -3224,6 +3392,18 @@],"license": "CC-BY-4.0"},+ "node_modules/combined-stream": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",+ "license": "MIT",+ "dependencies": {+ "delayed-stream": "~1.0.0"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/commander": {"version": "2.20.3","resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",@@ -3420,6 +3600,24 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/delayed-stream": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/dequal": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },"node_modules/detect-libc": {"version": "2.1.2","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",@@ -3434,7 +3632,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz","integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",- "dev": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.1",@@ -3541,7 +3738,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz","integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -3551,7 +3747,6 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz","integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -3561,7 +3756,6 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz","integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0"@@ -3574,7 +3768,6 @@"version": "2.1.0","resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz","integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -3670,6 +3863,49 @@"node": ">=0.10.0"}},+ "node_modules/ethers": {+ "version": "6.16.0",+ "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.16.0.tgz",+ "integrity": "sha512-U1wulmetNymijEhpSEQ7Ct/P/Jw9/e7R1j5XIbPRydgV2DjLVMsULDlNksq3RQnFgKoLlZf88ijYtWEXcPa07A==",+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/ethers-io/"+ },+ {+ "type": "individual",+ "url": "https://www.buymeacoffee.com/ricmoo"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "@adraffy/ens-normalize": "1.10.1",+ "@noble/curves": "1.2.0",+ "@noble/hashes": "1.3.2",+ "@types/node": "22.7.5",+ "aes-js": "4.0.0-beta.5",+ "tslib": "2.7.0",+ "ws": "8.17.1"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/ethers/node_modules/tslib": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",+ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",+ "license": "0BSD"+ },+ "node_modules/events": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",+ "license": "MIT",+ "engines": {+ "node": ">=0.8.x"+ }+ },"node_modules/fast-deep-equal": {"version": "3.1.3","resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",@@ -3771,6 +4007,26 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/follow-redirects": {+ "version": "1.16.0",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",+ "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==",+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/RubenVerborgh"+ }+ ],+ "license": "MIT",+ "engines": {+ "node": ">=4.0"+ },+ "peerDependenciesMeta": {+ "debug": {+ "optional": true+ }+ }+ },"node_modules/for-each": {"version": "0.3.5","resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",@@ -3804,6 +4060,22 @@"url": "https://github.com/sponsors/isaacs"}},+ "node_modules/form-data": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz",+ "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",+ "license": "MIT",+ "dependencies": {+ "asynckit": "^0.4.0",+ "combined-stream": "^1.0.8",+ "es-set-tostringtag": "^2.1.0",+ "hasown": "^2.0.2",+ "mime-types": "^2.1.12"+ },+ "engines": {+ "node": ">= 6"+ }+ },"node_modules/fs-extra": {"version": "9.1.0","resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",@@ -3839,7 +4111,6 @@"version": "1.1.2","resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz","integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",- "dev": true,"license": "MIT","funding": {"url": "https://github.com/sponsors/ljharb"@@ -3900,7 +4171,6 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz","integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",- "dev": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.2",@@ -3932,7 +4202,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz","integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",- "dev": true,"license": "MIT","dependencies": {"dunder-proto": "^1.0.1",@@ -4012,7 +4281,6 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz","integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -4074,7 +4342,6 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz","integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -4087,7 +4354,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz","integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",- "dev": true,"license": "MIT","dependencies": {"has-symbols": "^1.0.3"@@ -4103,7 +4369,6 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz","integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",- "dev": true,"license": "MIT","dependencies": {"function-bind": "^1.1.2"@@ -4699,12 +4964,32 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz","integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"}},+ "node_modules/mime-db": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "2.1.35",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "1.52.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/minimatch": {"version": "10.2.5","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",@@ -4966,6 +5251,15 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/proxy-from-env": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",+ "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },"node_modules/punycode": {"version": "2.3.1","resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",@@ -5915,6 +6209,12 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/undici-types": {+ "version": "6.19.8",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",+ "license": "MIT"+ },"node_modules/unicode-canonical-property-names-ecmascript": {"version": "2.0.1","resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz",@@ -6566,6 +6866,27 @@"workbox-core": "7.4.0"}},+ "node_modules/ws": {+ "version": "8.17.1",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",+ "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",+ "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/yallist": {"version": "3.1.1","resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",diff --git a/package.json b/package.jsonindex 8688efe23..620f06b1a 100644--- a/package.json+++ b/package.json@@ -41,6 +41,7 @@"@avaturn-live/web-sdk": "^0.4.0","@chenglou/pretext": "^0.0.5","dat.gui": "^0.7.9",+ "ethers": "^6.16.0","gltf-validator": "^2.0.0-dev.3.10","query-string": "^8.1.0","simple-dropzone": "^0.8.3",diff --git a/public/.well-known/agent-registration.json b/public/.well-known/agent-registration.jsonnew file mode 100644index 000000000..4d1eae972--- /dev/null+++ b/public/.well-known/agent-registration.json@@ -0,0 +1,28 @@+{+ "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",+ "name": "3D Agent",+ "description": "AI-powered 3D model viewer and validation agent. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser. Supports real-time rendering, model validation, environment maps, and animation playback via Three.js and WebGL.",+ "image": "https://3d.irish/og-image.png",+ "active": true,+ "services": [+ {+ "name": "web",+ "endpoint": "https://3d.irish/"+ },+ {+ "name": "A2A",+ "endpoint": "https://3d.irish/.well-known/agent-card.json",+ "version": "0.3.0"+ },+ {+ "name": "MCP",+ "endpoint": "https://3d.irish/.well-known/openapi.yaml",+ "version": "2025-06-18"+ }+ ],+ "x402Support": false,+ "registrations": [],+ "supportedTrust": [+ "reputation"+ ]+}diff --git a/src/ipfs.js b/src/ipfs.jsnew file mode 100644index 000000000..42187a228--- /dev/null+++ b/src/ipfs.js@@ -0,0 +1,74 @@+/**+ * IPFS / Arweave URI resolver.+ *+ * Translates decentralised storage URIs into HTTPS gateway URLs+ * so the Three.js loader can fetch them normally.+ *+ * ipfs://QmXyz... → https://dweb.link/ipfs/QmXyz...+ * ipfs://bafkreiXyz... → https://dweb.link/ipfs/bafkreiXyz...+ * ar://txId → https://arweave.net/txId+ */++const IPFS_GATEWAYS = [+ 'https://dweb.link/ipfs/',+ 'https://cloudflare-ipfs.com/ipfs/',+ 'https://ipfs.io/ipfs/',+];++const AR_GATEWAY = 'https://arweave.net/';++/**+ * Returns true when the URL uses a decentralised storage scheme.+ * @param {string} url+ * @returns {boolean}+ */+export function isDecentralizedURI(url) {+ return /^(ipfs|ar):\/\//i.test(url);+}++/**+ * Resolve an ipfs:// or ar:// URI to an HTTPS gateway URL.+ * For regular URLs the input is returned unchanged.+ *+ * @param {string} uri+ * @param {number} [gatewayIndex=0] Which IPFS gateway to use (for fallback).+ * @returns {string}+ */+export function resolveURI(uri, gatewayIndex = 0) {+ if (!uri) return uri;++ // ipfs://CID or ipfs://CID/path+ const ipfsMatch = uri.match(/^ipfs:\/\/(.+)$/i);+ if (ipfsMatch) {+ const gw = IPFS_GATEWAYS[gatewayIndex % IPFS_GATEWAYS.length];+ return gw + ipfsMatch[1];+ }++ // ar://txId+ const arMatch = uri.match(/^ar:\/\/(.+)$/i);+ if (arMatch) {+ return AR_GATEWAY + arMatch[1];+ }++ return uri;+}++/**+ * Try to fetch from the primary gateway; on failure, cycle through fallbacks.+ *+ * @param {string} ipfsURI An ipfs:// URI.+ * @returns {Promise<Response>}+ */+export async function fetchWithFallback(ipfsURI) {+ let lastError;+ for (let i = 0; i < IPFS_GATEWAYS.length; i++) {+ const url = resolveURI(ipfsURI, i);+ try {+ const res = await fetch(url);+ if (res.ok) return res;+ } catch (err) {+ lastError = err;+ }+ }+ throw lastError || new Error('All IPFS gateways failed for ' + ipfsURI);+}diff --git a/yarn.lock b/yarn.lockindex 9dae6de1f..983c1d82b 100644--- a/yarn.lock+++ b/yarn.lock@@ -2,6 +2,11 @@# yarn lockfile v1+"@adraffy/[email protected]":+ version "1.10.1"+ resolved "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz"+ integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==+"@apideck/better-ajv-errors@^0.3.1":version "0.3.7"resolved "https://registry.npmjs.org/@apideck/better-ajv-errors/-/better-ajv-errors-0.3.7.tgz"@@ -10,6 +15,14 @@jsonpointer "^5.0.1"leven "^3.1.0"+"@avaturn-live/web-sdk@^0.4.0":+ version "0.4.8"+ resolved "https://registry.npmjs.org/@avaturn-live/web-sdk/-/web-sdk-0.4.8.tgz"+ integrity sha512-Pjy60pR3PB0rk05cBgSjMW/zmSixLT5n/y59FrqpsrbQbP+zf21x+i/hudU6obfHvT2KaRYT4E6vSIhLZjZYAg==+ dependencies:+ "@daily-co/daily-js" "^0.87.0"+ axios "^1.7.2"+"@babel/code-frame@^7.28.6", "@babel/code-frame@^7.29.0":version "7.29.0"resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz"@@ -762,7 +775,7 @@"@babel/types" "^7.4.4"esutils "^2.0.2"-"@babel/runtime@^7.11.2":+"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5":version "7.29.2"resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz"integrity sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==@@ -802,6 +815,17 @@resolved "https://registry.npmjs.org/@chenglou/pretext/-/pretext-0.0.5.tgz"integrity sha512-A8GZN10REdFGsyuiUgLV8jjPDDFMg5GmgxGWV0I3igxBOnzj+jgz2VMmVD7g+SFyoctfeqHFxbNatKSzVRWtRg==+"@daily-co/daily-js@^0.87.0":+ version "0.87.0"+ resolved "https://registry.npmjs.org/@daily-co/daily-js/-/daily-js-0.87.0.tgz"+ integrity sha512-hWHdBDvJwDeg8unz+XG9hD7xamuFi5Jmsk89ASATKL4fdTDHplpxi4PG9aaPXzBZYYLTjuxUje1K7B5uUR+gzw==+ dependencies:+ "@babel/runtime" "^7.12.5"+ "@sentry/browser" "^8.33.1"+ bowser "^2.8.1"+ dequal "^2.0.3"+ events "^3.1.0"+"@esbuild/[email protected]":version "0.21.5"resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz"@@ -817,6 +841,11 @@resolved "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz"integrity sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==+"@img/[email protected]":+ 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==+"@img/[email protected]":version "0.34.5"resolved "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz"@@ -824,6 +853,13 @@optionalDependencies:"@img/sharp-libvips-linux-x64" "1.2.4"+"@img/[email protected]":+ version "0.34.5"+ resolved "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz"+ integrity sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==+ optionalDependencies:+ "@img/sharp-libvips-linuxmusl-x64" "1.2.4"+"@isaacs/cliui@^9.0.0":version "9.0.0"resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz"@@ -871,6 +907,18 @@"@jridgewell/resolve-uri" "^3.1.0""@jridgewell/sourcemap-codec" "^1.4.14"+"@noble/[email protected]":+ version "1.2.0"+ resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz"+ integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==+ dependencies:+ "@noble/hashes" "1.3.2"++"@noble/[email protected]":+ version "1.3.2"+ resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz"+ integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==+"@rollup/plugin-babel@^5.2.0":version "5.3.1"resolved "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz"@@ -935,6 +983,52 @@resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.2.tgz"integrity sha512-tD46wKHd+KJvsmije4bUskNuvWKFcTOIM9tZ/RrmIvcXnbi0YK/cKS9FzFtAm7Oxi2EhV5N2OpfFB348vSQRXA==+"@sentry-internal/[email protected]":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.55.1.tgz"+ integrity sha512-SipXiwVhJrxzy3/4kf+YIFmpYlLKtGSRD+er7SBCcuSBtv31Fee8IXMDvk+bq24gRXxyjOLUmT//GGXjy2LL6w==+ dependencies:+ "@sentry/core" "8.55.1"++"@sentry-internal/[email protected]":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.55.1.tgz"+ integrity sha512-9iFHaT/ijtzB0ffZhXMnt2rPNIXO/dDiCL1G1Bc55rQMPXgawR9AIaAWciyqQjYcbL1DDOhWbzdVqB+kVs5gXw==+ dependencies:+ "@sentry/core" "8.55.1"++"@sentry-internal/[email protected]":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.55.1.tgz"+ integrity sha512-2sKRu96Qe70y6TiYdYbwkhg4um2prgzH/ZJRItuoSEAjPjoFYYlP+1qjE2CcBw4RPS8/PimV7SFheSaeZs2GCw==+ dependencies:+ "@sentry-internal/replay" "8.55.1"+ "@sentry/core" "8.55.1"++"@sentry-internal/[email protected]":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.55.1.tgz"+ integrity sha512-XaX6r8pXeX47rfiQrSQUwkgxHsDkOKzIT++zfTwrmveVlYSqAhp3x+AKhxAXGmKG62wlmAKQz54GJKcG4cgyKQ==+ dependencies:+ "@sentry-internal/browser-utils" "8.55.1"+ "@sentry/core" "8.55.1"++"@sentry/browser@^8.33.1":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry/browser/-/browser-8.55.1.tgz"+ integrity sha512-OEn2eg8h3Mr7BmBGQ28BqbWehYA/NklZ0pAZB1FypPPl+kMd85AbaRdGTnaSjgmpc8bKbBO64edq4Y14sbCs5w==+ dependencies:+ "@sentry-internal/browser-utils" "8.55.1"+ "@sentry-internal/feedback" "8.55.1"+ "@sentry-internal/replay" "8.55.1"+ "@sentry-internal/replay-canvas" "8.55.1"+ "@sentry/core" "8.55.1"++"@sentry/[email protected]":+ version "8.55.1"+ resolved "https://registry.npmjs.org/@sentry/core/-/core-8.55.1.tgz"+ integrity sha512-0ea+yDOgaijR3ba2al1QZxY0bZ9MBZq2a0G+2A0uCBpBkiXnpLFGVAo9UAlEikN1C4M8ROZYiuFU7yZCqacgLQ==+"@surma/rollup-plugin-off-main-thread@^2.2.3":version "2.2.3"resolved "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz"@@ -955,6 +1049,13 @@resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz"integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==+"@types/node@^18.0.0 || >=20.0.0", "@types/[email protected]":+ version "22.7.5"+ resolved "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz"+ integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==+ dependencies:+ undici-types "~6.19.2"+"@types/[email protected]":version "1.20.2"resolved "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz"@@ -970,6 +1071,11 @@ acorn@^8.15.0:resolved "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz"integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==+ version "4.0.0-beta.5"+ resolved "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz"+ integrity sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==+ajv@^8.6.0, ajv@>=8:version "8.18.0"resolved "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz"@@ -1011,6 +1117,11 @@ async@^3.2.6:resolved "https://registry.npmjs.org/async/-/async-3.2.6.tgz"integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==+asynckit@^0.4.0:+ version "0.4.0"+ resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"+ integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==+at-least-node@^1.0.0:version "1.0.0"resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz"@@ -1023,6 +1134,15 @@ available-typed-arrays@^1.0.7:dependencies:possible-typed-array-names "^1.0.0"+axios@^1.7.2:+ version "1.15.0"+ resolved "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz"+ integrity sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==+ dependencies:+ follow-redirects "^1.15.11"+ form-data "^4.0.5"+ proxy-from-env "^2.1.0"+babel-plugin-polyfill-corejs2@^0.4.15:version "0.4.17"resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz"@@ -1062,6 +1182,11 @@ baseline-browser-mapping@^2.10.12:resolved "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.19.tgz"integrity sha512-qCkNLi2sfBOn8XhZQ0FXsT1Ki/Yo5P90hrkRamVFRS7/KV9hpfA4HkoWNU152+8w0zPjnxo5psx5NL3PSGgv5g==+bowser@^2.8.1:+ version "2.14.1"+ resolved "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz"+ integrity sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==+brace-expansion@^2.0.1:version "2.1.0"resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz"@@ -1123,6 +1248,13 @@ caniuse-lite@^1.0.30001782:resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001788.tgz"integrity sha512-6q8HFp+lOQtcf7wBK+uEenxymVWkGKkjFpCvw5W25cmMwEDU45p1xQFBQv8JDlMMry7eNxyBaR+qxgmTUZkIRQ==+combined-stream@^1.0.8:+ version "1.0.8"+ resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz"+ integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==+ dependencies:+ delayed-stream "~1.0.0"+commander@^2.20.0:version "2.20.3"resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz"@@ -1226,6 +1358,16 @@ define-properties@^1.2.1:has-property-descriptors "^1.0.0"object-keys "^1.1.1"+delayed-stream@~1.0.0:+ version "1.0.0"+ resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"+ integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==++dequal@^2.0.3:+ version "2.0.3"+ resolved "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz"+ integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==+detect-libc@^2.1.2:version "2.1.2"resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz"@@ -1397,6 +1539,24 @@ esutils@^2.0.2:resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz"integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==+ethers@^6.16.0:+ version "6.16.0"+ resolved "https://registry.npmjs.org/ethers/-/ethers-6.16.0.tgz"+ integrity sha512-U1wulmetNymijEhpSEQ7Ct/P/Jw9/e7R1j5XIbPRydgV2DjLVMsULDlNksq3RQnFgKoLlZf88ijYtWEXcPa07A==+ dependencies:+ "@adraffy/ens-normalize" "1.10.1"+ "@noble/curves" "1.2.0"+ "@noble/hashes" "1.3.2"+ "@types/node" "22.7.5"+ aes-js "4.0.0-beta.5"+ tslib "2.7.0"+ ws "8.17.1"++events@^3.1.0:+ version "3.3.0"+ resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz"+ integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==+fast-deep-equal@^3.1.3:version "3.1.3"resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"@@ -1429,6 +1589,11 @@ filter-obj@^5.1.0:resolved "https://registry.npmjs.org/filter-obj/-/filter-obj-5.1.0.tgz"integrity sha512-qWeTREPoT7I0bifpPUXtxkZJ1XJzxWtfoWWkdVGqa+eCr3SHW/Ocp89o8vLvbUuQnadybJpjOKu4V+RwO6sGng==+follow-redirects@^1.15.11:+ version "1.16.0"+ resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz"+ integrity sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==+for-each@^0.3.3, for-each@^0.3.5:version "0.3.5"resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz"@@ -1444,6 +1609,17 @@ foreground-child@^3.3.1:cross-spawn "^7.0.6"signal-exit "^4.0.1"+form-data@^4.0.5:+ version "4.0.5"+ resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz"+ integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==+ dependencies:+ asynckit "^0.4.0"+ combined-stream "^1.0.8"+ es-set-tostringtag "^2.1.0"+ hasown "^2.0.2"+ mime-types "^2.1.12"+fs-extra@^9.0.1:version "9.1.0"resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz"@@ -1901,6 +2077,18 @@ math-intrinsics@^1.1.0:resolved "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz"integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==+ version "1.52.0"+ resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz"+ integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==++mime-types@^2.1.12:+ version "2.1.35"+ resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz"+ integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==+ dependencies:+ mime-db "1.52.0"+minimatch@^10.1.1:version "10.2.5"resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz"@@ -2033,6 +2221,11 @@ pretty-bytes@^6.1.1:resolved "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz"integrity sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==+proxy-from-env@^2.1.0:+ version "2.1.0"+ resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz"+ integrity sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==+punycode@^2.1.0:version "2.3.1"resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz"@@ -2509,6 +2702,11 @@ tr46@^1.0.1:dependencies:punycode "^2.1.0"+ version "2.7.0"+ resolved "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz"+ integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==+type-fest@^0.16.0:version "0.16.0"resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz"@@ -2569,6 +2767,11 @@ unbox-primitive@^1.1.0:has-symbols "^1.1.0"which-boxed-primitive "^1.1.1"+undici-types@~6.19.2:+ version "6.19.8"+ resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz"+ integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==+unicode-canonical-property-names-ecmascript@^2.0.0:version "2.0.1"resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz"@@ -2876,6 +3079,11 @@ workbox-window@^7.4.0, [email protected]:"@types/trusted-types" "^2.0.2"workbox-core "7.4.0"+ version "8.17.1"+ resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz"+ integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==+yallist@^3.0.2:version "3.1.1"resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz"