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
Anthropic MCP Registry + 3D homepage
oversteppingde1872e9728f
diff --git a/api/render/avatar-clip.js b/api/render/avatar-clip.jsnew file mode 100644index 000000000..37bc44820--- /dev/null+++ b/api/render/avatar-clip.js@@ -0,0 +1,150 @@+// POST /api/render/avatar-clip — public renderer for posed + camera-orbited+// avatar PNGs. Wraps renderClip from _lib/render-clip.js.+//+// Body (JSON):+// {+// glbUrl: "https://...", // required+// width: 1024, height: 1024, // default 1024, max 2048+// background: "#0a0a0a" | "transparent",+// posePresetId: "wave" | "tpose" | ..., // see GET /api/render/poses+// cameraOrbit: { theta: 0, phi: 80, radius: null }, // degrees + meters+// expression: { jawOpen: 0.4, mouthSmileLeft: 0.6, ... } // ARKit-52 morphs+// }++import { cors, error, json, method, readJson, wrap } from '../_lib/http.js';+import { renderClip } from '../_lib/render-clip.js';+import { PRESETS } from '../../src/pose-presets.js';++export const maxDuration = 30;++const MAX_DIM = 2048;+const MIN_DIM = 64;+const MAX_GLB_BYTES = 10 * 1024 * 1024;+const RATE_LIMIT_WINDOW_MS = 10 * 60 * 1000;+const RATE_LIMIT_MAX = 60;++const rateMap = new Map();+function rateCheck(ip) {+ if (!ip) return true;+ const now = Date.now();+ const arr = (rateMap.get(ip) || []).filter((t) => now - t < RATE_LIMIT_WINDOW_MS);+ if (arr.length >= RATE_LIMIT_MAX) {+ rateMap.set(ip, arr);+ return false;+ }+ arr.push(now);+ rateMap.set(ip, arr);+ return true;+}++function isPublicHttpUrl(u) {+ try {+ const url = new URL(u);+ if (url.protocol !== 'https:' && url.protocol !== 'http:') return false;+ const host = url.hostname;+ if (host === 'localhost' || host === '127.0.0.1' || host === '0.0.0.0') return false;+ if (host.startsWith('169.254.') || host.startsWith('10.') || host.startsWith('192.168.')) return false;+ if (host.endsWith('.internal') || host.endsWith('.local')) return false;+ return true;+ } catch {+ return false;+ }+}++async function preflightSize(url) {+ try {+ const r = await fetch(url, { method: 'HEAD' });+ const lenHeader = r.headers.get('content-length');+ if (!lenHeader) return { ok: true, size: null };+ const size = Number(lenHeader);+ if (Number.isFinite(size) && size > MAX_GLB_BYTES) {+ return { ok: false, code: 'glb_too_large', size, limit: MAX_GLB_BYTES };+ }+ return { ok: true, size };+ } catch {+ return { ok: true, size: null };+ }+}++export default wrap(async function handler(req, res) {+ if (cors(req, res, { methods: 'GET,POST,OPTIONS' })) return;++ // GET surfaces the pose catalog so callers can pick a posePresetId+ // without scraping the source. Same URL as the POST renderer.+ if (req.method === 'GET') {+ return json(res, 200, {+ poses: PRESETS.map((p) => ({ id: p.id, label: p.label, group: p.group })),+ cameraOrbit: { theta: '0..360 (degrees, yaw)', phi: '0..180 (degrees, pitch from top)', radius: 'meters or null for auto-frame' },+ background: ['transparent', '#0a0a0a', 'any CSS color'],+ }, { 'cache-control': 'public, max-age=86400' });+ }++ if (method(req, res, ['POST'])) return;++ const ip = (req.headers['x-forwarded-for'] || '').split(',')[0].trim() || req.socket?.remoteAddress;+ if (!rateCheck(ip)) {+ return error(res, 429, 'rate_limited', `Too many render requests. Limit: ${RATE_LIMIT_MAX} per ${RATE_LIMIT_WINDOW_MS / 60000}m.`);+ }++ let body;+ try {+ body = await readJson(req, 20_000);+ } catch (e) {+ return error(res, e.status || 400, 'bad_request', e.message);+ }++ const glbUrl = typeof body.glbUrl === 'string' ? body.glbUrl.trim() : '';+ if (!glbUrl) return error(res, 400, 'bad_request', 'glbUrl is required');+ if (!isPublicHttpUrl(glbUrl)) {+ return error(res, 400, 'bad_request', 'glbUrl must be a public http(s) URL');+ }++ const width = Math.max(MIN_DIM, Math.min(MAX_DIM, Number(body.width) || 1024));+ const height = Math.max(MIN_DIM, Math.min(MAX_DIM, Number(body.height) || 1024));+ const background = body.background === 'transparent' ? 'transparent' : (typeof body.background === 'string' && body.background ? body.background : '#0a0a0a');++ let posePresetId = null;+ if (body.posePresetId) {+ const found = PRESETS.find((p) => p.id === body.posePresetId);+ if (!found) {+ return error(res, 400, 'unknown_pose', `Unknown pose preset "${body.posePresetId}". GET this endpoint for the catalog.`);+ }+ posePresetId = found.id;+ }++ const cameraOrbit = body.cameraOrbit && typeof body.cameraOrbit === 'object'+ ? {+ theta: Number(body.cameraOrbit.theta) || 0,+ phi: Number.isFinite(Number(body.cameraOrbit.phi)) ? Number(body.cameraOrbit.phi) : 80,+ radius: Number.isFinite(Number(body.cameraOrbit.radius)) ? Number(body.cameraOrbit.radius) : null,+ }+ : null;++ const expression = body.expression && typeof body.expression === 'object' ? body.expression : null;++ const pre = await preflightSize(glbUrl);+ if (!pre.ok) {+ return error(res, 413, pre.code, `GLB is ${pre.size} bytes; limit is ${pre.limit}`, { size: pre.size, limit: pre.limit });+ }++ let result;+ try {+ result = await renderClip({ glbUrl, width, height, background, posePresetId, cameraOrbit, expression });+ } catch (err) {+ const status = err?.status || 502;+ return error(res, status, err?.code || 'render_failed', err?.message || 'render failed');+ }++ res.statusCode = 200;+ res.setHeader('content-type', 'image/png');+ res.setHeader('content-length', String(result.png.length));+ res.setHeader('cache-control', 'public, max-age=300, s-maxage=86400');+ res.setHeader('x-render-width', String(width));+ res.setHeader('x-render-height', String(height));+ res.setHeader('x-render-background', background);+ if (result.pose) {+ res.setHeader('x-render-pose', result.pose.id);+ res.setHeader('x-render-pose-label', result.pose.label);+ }+ res.end(result.png);+});diff --git a/api/render/glb.js b/api/render/glb.jsnew file mode 100644index 000000000..66e1dcef1--- /dev/null+++ b/api/render/glb.js@@ -0,0 +1,126 @@+// POST /api/render/glb — public renderer that takes an arbitrary GLB URL+// and returns a PNG. Same headless chromium pipeline used by the OG-card+// path, exposed as a content-typed PNG response.+//+// Body (JSON):+// {+// glbUrl: "https://example.com/model.glb", // required, http(s)+// width: 1024, // default 1024, max 2048+// height: 1024, // default 1024, max 2048+// background: "#0a0a0a" | "transparent" // default #0a0a0a+// }+//+// Response: image/png bytes on success; JSON error otherwise.+//+// Safety:+// - Only http(s) URLs accepted (no file://, data://, internal IPs).+// - GLB HEAD-fetched first to enforce a 10 MB cap before chromium boots.+// - In-memory IP rate limit (60 renders / 10 min / IP) to keep chromium+// warm-up costs bounded under abuse.++import { cors, error, method, readJson, wrap } from '../_lib/http.js';+import { renderGlbToPng } from '../_lib/render-glb.js';++export const maxDuration = 30;++const MAX_DIM = 2048;+const MIN_DIM = 64;+const MAX_GLB_BYTES = 10 * 1024 * 1024;+const RATE_LIMIT_WINDOW_MS = 10 * 60 * 1000;+const RATE_LIMIT_MAX = 60;++const rateMap = new Map();+function rateCheck(ip) {+ if (!ip) return true;+ const now = Date.now();+ const arr = (rateMap.get(ip) || []).filter((t) => now - t < RATE_LIMIT_WINDOW_MS);+ if (arr.length >= RATE_LIMIT_MAX) {+ rateMap.set(ip, arr);+ return false;+ }+ arr.push(now);+ rateMap.set(ip, arr);+ return true;+}++function isPublicHttpUrl(u) {+ try {+ const url = new URL(u);+ if (url.protocol !== 'https:' && url.protocol !== 'http:') return false;+ const host = url.hostname;+ // Block localhost and link-local — chromium running on Vercel could+ // otherwise be coerced into hitting internal services.+ if (host === 'localhost' || host === '127.0.0.1' || host === '0.0.0.0') return false;+ if (host.startsWith('169.254.') || host.startsWith('10.') || host.startsWith('192.168.')) return false;+ if (host.endsWith('.internal') || host.endsWith('.local')) return false;+ return true;+ } catch {+ return false;+ }+}++async function preflightSize(url) {+ try {+ const r = await fetch(url, { method: 'HEAD' });+ const lenHeader = r.headers.get('content-length');+ if (!lenHeader) return { ok: true, size: null };+ const size = Number(lenHeader);+ if (Number.isFinite(size) && size > MAX_GLB_BYTES) {+ return { ok: false, code: 'glb_too_large', size, limit: MAX_GLB_BYTES };+ }+ return { ok: true, size };+ } catch {+ // Origins that don't support HEAD will still be filtered by chromium's+ // 15s render budget. Don't fail closed on a HEAD timeout.+ return { ok: true, size: null };+ }+}++export default wrap(async function handler(req, res) {+ if (cors(req, res, { methods: 'POST,OPTIONS' })) return;+ if (method(req, res, ['POST'])) return;++ const ip = (req.headers['x-forwarded-for'] || '').split(',')[0].trim() || req.socket?.remoteAddress;+ if (!rateCheck(ip)) {+ return error(res, 429, 'rate_limited', `Too many render requests. Limit: ${RATE_LIMIT_MAX} per ${RATE_LIMIT_WINDOW_MS / 60000}m.`);+ }++ let body;+ try {+ body = await readJson(req, 5000);+ } catch (e) {+ return error(res, e.status || 400, 'bad_request', e.message);+ }++ const glbUrl = typeof body.glbUrl === 'string' ? body.glbUrl.trim() : '';+ if (!glbUrl) return error(res, 400, 'bad_request', 'glbUrl is required');+ if (!isPublicHttpUrl(glbUrl)) {+ return error(res, 400, 'bad_request', 'glbUrl must be a public http(s) URL');+ }++ const width = Math.max(MIN_DIM, Math.min(MAX_DIM, Number(body.width) || 1024));+ const height = Math.max(MIN_DIM, Math.min(MAX_DIM, Number(body.height) || 1024));+ const background = body.background === 'transparent' ? 'transparent' : (typeof body.background === 'string' && body.background ? body.background : '#0a0a0a');++ const pre = await preflightSize(glbUrl);+ if (!pre.ok) {+ return error(res, 413, pre.code, `GLB is ${pre.size} bytes; limit is ${pre.limit}`, { size: pre.size, limit: pre.limit });+ }++ let png;+ try {+ png = await renderGlbToPng({ glbUrl, width, height, background });+ } catch (err) {+ const status = err?.status || 502;+ return error(res, status, err?.code || 'render_failed', err?.message || 'render failed');+ }++ res.statusCode = 200;+ res.setHeader('content-type', 'image/png');+ res.setHeader('content-length', String(png.length));+ res.setHeader('cache-control', 'public, max-age=600, s-maxage=86400');+ res.setHeader('x-render-width', String(width));+ res.setHeader('x-render-height', String(height));+ res.setHeader('x-render-background', background);+ res.end(png);+});diff --git a/packages/avatar-agent-mcp/.gitignore b/packages/avatar-agent-mcp/.gitignorenew file mode 100644index 000000000..ed45f7354--- /dev/null+++ b/packages/avatar-agent-mcp/.gitignore@@ -0,0 +1,6 @@+node_modules/+.env+.env.*+!.env.example+*.log+.DS_Storediff --git a/packages/avatar-agent-mcp/LICENSE b/packages/avatar-agent-mcp/LICENSEnew file mode 100644index 000000000..bbb838721--- /dev/null+++ b/packages/avatar-agent-mcp/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 three.ws++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/avatar-agent-mcp/README.md b/packages/avatar-agent-mcp/README.mdnew file mode 100644index 000000000..13c24bf80--- /dev/null+++ b/packages/avatar-agent-mcp/README.md@@ -0,0 +1,199 @@+# 3D AI Agent Avatar++> **The MCP server for 3D + AI agents.** Inspect, validate, and optimize any GLB. Spawn a textured 3D avatar with a Solana wallet, a voice, and full pump.fun powers — including atomic Jito-bundled launches and creator-fee collection.++[](https://www.npmjs.com/package/@three-ws/avatar-agent)+[](./LICENSE)+[](https://nodejs.org)+[](https://modelcontextprotocol.io)++Registry name: **`io.github.nirholas/3D-AI-Agent-Avatar`** · npm: **`@three-ws/avatar-agent`**++A single MCP server that's two things at once:++1. **A general-purpose 3D toolkit** — `inspect_glb`, `validate_glb`, `optimize_glb`, `viewer_url` work on **any** GLB/glTF model, no avatar required. Powered by `@gltf-transform/core` + Khronos's official `gltf-validator`.+2. **A full 3D agent in a box** — spawn a textured GLB avatar, give it a voice (OpenAI TTS), a Solana wallet, and pump.fun trading powers (Jupiter swaps, atomic Jito-bundled launches, creator-fee collection).++Install it once. Your Claude / Cursor / Continue / Cline can now:++- **Inspect any GLB** — meshes, materials, textures, animations, bounding box, vertex + triangle counts.+- **Validate any GLB** against the Khronos glTF 2.0 spec (the same engine behind gltf.report).+- **Optimize a GLB** — dedup, prune, weld, Draco-compress; get the smaller file back inline.+- **Build a viewer URL** for any GLB so humans see it in WebGL with one click.+- **Spawn a 3D avatar** from the curated defaults (`default`, `cz`) or any GLB URL.+- **Dress it** — hats, glasses, earrings, poses.+- **Generate a fresh avatar** from a text prompt via Replicate (Hunyuan-3D).+- **Give it a voice** — OpenAI TTS, 11 voices.+- **Hand it a Solana wallet** — vanity-grind a `three…` address in milliseconds.+- **Read live pump.fun data** — Jupiter price, Dexscreener volume, pump.fun meta, holders.+- **Buy any token** — Jupiter swap, optionally inside a sniper-resistant Jito bundle.+- **Launch a coin atomically** — separate funder + creator wallets, both txs in the same block.+- **Collect creator fees atomically** — collect + drain to a safe wallet in one tx.+- **Resolve names** — ENS (`.eth`) and SNS (`.sol`).++Built and maintained by [three.ws](https://three.ws). Atomic pump.fun pieces are ported from [nirholas/atomic](https://github.com/nirholas/atomic).++---++## Quick start (Claude Desktop / Cursor / Continue)++Add this to your MCP config:++```json+{+ "mcpServers": {+ "3d-ai-agent-avatar": {+ "command": "npx",+ "args": ["-y", "@three-ws/avatar-agent"],+ "env": {+ "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com",+ "OPENAI_API_KEY": "sk-...",+ "THREE_MINT": "<the $three CA on pump.fun>"+ }+ }+ }+}+```++Restart your client. Ask it: **"Inspect https://three.ws/avatars/cz.glb, then spawn CZ, give him shades, and read me the latest snapshot for $three."**++---++## Two 30-second demos++### 3D toolkit demo (no avatar required)++```+You ▸ Inspect this GLB: https://three.ws/avatars/cz.glb — how many triangles?+ Then validate it against the Khronos spec and optimize it with Draco.+```++Runs:+1. `inspect_glb({ url })` → mesh/material/animation breakdown + triangle count + bbox+2. `validate_glb({ url })` → official Khronos report+3. `optimize_glb({ url, draco: true })` → dedup → prune → weld → Draco, returns the smaller GLB inline++### Avatar agent demo++```+You ▸ Spawn cz, give him shades, mint him a "three"-prefixed wallet,+ pull a snapshot of $three, and have him say "we're so back."+```++Behind the scenes the MCP runs:++1. `spawn_avatar({ preset: "cz", voice: "onyx" })` → returns a `sessionId` + viewer URL+2. `dress_avatar({ sessionId, accessoryIds: ["glasses-shades"] })`+3. `wallet_create({ sessionId, vanityPrefix: "three" })` → base58 pubkey starting with `three…`+4. `pump_snapshot({ token: "three" })` → live Jupiter price, Dexscreener volume, holders+5. `speak({ sessionId, text: "we're so back" })` → mp3 base64 the client plays++---++## Tool surface (20 tools)++### 3D toolkit (works on any GLB)+| Tool | What it does |+|---|---|+| `inspect_glb` | Mesh / material / animation / skin breakdown + bounding box + vertex & triangle counts. `@gltf-transform/core`. |+| `validate_glb` | Run Khronos's official `gltf-validator` on a GLB; errors, warnings, infos, hints with JSON pointers. |+| `optimize_glb` | Dedup → prune → weld → optional Draco. Returns optimized bytes inline + before/after sizes. |+| `thumbnail_glb` | **Render any GLB to a PNG** via three.ws's hosted three-light rig + auto-framing camera. Same pipeline as OG cards. Returns base64 PNG inline. |+| `viewer_url` | Build a `three.ws/viewer?...` URL + ready-to-paste iframe snippet for any GLB or avatar session. Supports background, auto-rotate, camera preset OR explicit orbit, AR mode, dimensions. |++### Avatar+| Tool | What it does |+|---|---|+| `list_avatars` | Catalog of default GLB avatars (`default`, `cz`), accessories, and pose presets. |+| `list_animations` | Live fetch of three.ws's 24 pose presets (T-pose, wave, thinker, jump, dance, warrior2, …) grouped by category. |+| `spawn_avatar` | Create an avatar session from a preset or custom GLB URL. Returns `sessionId`. |+| `dress_avatar` | Apply accessories + pose to a session. |+| `render_avatar` | **Render a posed avatar to a PNG** — pose preset + camera orbit (theta/phi/radius) + ARKit-52 facial expression. Same rig + lighting as the three.ws customizer's save-snapshot. |+| `generate_avatar` | Text/image-to-3D via Replicate. New session preloaded with the generated GLB. |++### Voice+| Tool | What it does |+|---|---|+| `speak` | OpenAI TTS — synthesize speech in the avatar's voice. Returns base64 audio. |++### Wallet+| Tool | What it does |+|---|---|+| `wallet_create` | Generate a Solana keypair. Optional vanity grinder (`vanityPrefix: "three"`). |+| `wallet_balance` | Read SOL + all SPL token balances (incl. Token-2022). |+| `wallet_send` | Send SOL on mainnet. **Execution action.** |++### pump.fun+| Tool | What it does |+|---|---|+| `pump_snapshot` | Live market snapshot: price, volume, holders, meta. Pass `target: "three"` for $three. |+| `pump_buy` | Jupiter swap, direct or **Jito-bundled** (funder→buyer transfer + swap atomic). **Execution action.** |+| `pump_launch` | **Atomic launch** via Jito bundle: separate funder + creator wallets, both txs same block. Uploads metadata to pump.fun IPFS if no URI is supplied. **Execution action.** |+| `pump_collect_fees` | **Atomic collect**: `collectCoinCreatorFee` + drain to safe wallet in one tx inside a Jito bundle — leaked-creator-key resistant. **Execution action.** |++### Identity+| Tool | What it does |+|---|---|+| `ens_sns_resolve` | Resolve `.eth` (ENS) and `.sol` (Bonfida SNS) names to addresses with reverse + favorite-domain lookups. |++---++## Environment variables++| Variable | Required for | Notes |+|---|---|---|+| `SOLANA_RPC_URL` | All Solana ops | Defaults to `https://api.mainnet-beta.solana.com`. Bring your own (Helius/QuickNode/Triton) for production. |+| `ETH_RPC_URL` | `ens_sns_resolve` | Optional — falls back to ethers' default public providers. |+| `HELIUS_API_KEY` | `pump_snapshot` (enhanced) | Adds exact supply + DAS data. |+| `OPENAI_API_KEY` | `speak` | Used directly against `api.openai.com/v1/audio/speech`. |+| `REPLICATE_API_TOKEN` | `generate_avatar` | |+| `REPLICATE_TEXT_TO_AVATAR_MODEL` | `generate_avatar` | Pin a commercial-OK version, e.g. latest `tencent/hunyuan-3d-3.1`. |+| `SOLANA_SECRET_KEY` | `wallet_send` / `pump_buy` default signer | Per-call `secret` args override. Treat like cash. |+| `THREE_MINT` | `pump_snapshot` / `pump_buy` shorthand | Set so tools accept `target: "three"`. |++---++## Atomic pump.fun, briefly++The `pump_launch` and `pump_collect_fees` tools wrap the pattern from [nirholas/atomic](https://github.com/nirholas/atomic). Two things matter:++**Launch:** the create tx's `payerKey` is the **creator** wallet, not the funder — so the on-chain `creator` field (which receives pump.fun creator fees forever) is the creator wallet. But the creator doesn't need to hold SOL: the funder transfers rent + tip in Tx1 of the same Jito bundle. Either both land or neither does.++**Collect:** even if a creator key is shared / leaked, the collect-and-drain runs as a single tx inside a Jito bundle. No competing collector can interleave a tx between `collectCoinCreatorFee` and the drain, even with the same key.++If you start hitting `Bundles must write lock at least one tip account`, the [Jito tip account list](https://docs.jito.wtf/) has rotated — refresh `src/lib/jito.js`.++---++## Running locally++```bash+npm install @three-ws/avatar-agent+npx three-avatar-agent # MCP stdio server+npx @modelcontextprotocol/inspector npx three-avatar-agent # GUI+```++Or clone this repo:++```bash+git clone https://github.com/nirholas/three.ws.git+cd three.ws/packages/avatar-agent-mcp+npm install+npm start+```++---++## Safety++`pump_buy`, `pump_launch`, `pump_collect_fees`, and `wallet_send` all execute real on-chain transactions and move real funds. The MCP makes no judgment about the input — if your client tells it to send 100 SOL to a random address with a valid signer, it will. Configure your client's tool-approval flow accordingly.++Secrets are never logged or persisted. Secrets returned by `wallet_create` are returned ONCE — store them yourself.++---++## License++MIT © 2026 three.ws++Powered by the [Model Context Protocol](https://modelcontextprotocol.io), the [@nirholas/pump-sdk](https://www.npmjs.com/package/@nirholas/pump-sdk), and Jito's [Block Engine](https://docs.jito.wtf/).diff --git a/packages/avatar-agent-mcp/package-lock.json b/packages/avatar-agent-mcp/package-lock.jsonnew file mode 100644index 000000000..2016b8bed--- /dev/null+++ b/packages/avatar-agent-mcp/package-lock.json@@ -0,0 +1,4627 @@+{+ "name": "@three-ws/avatar-agent",+ "version": "1.0.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "@three-ws/avatar-agent",+ "version": "1.0.0",+ "license": "MIT",+ "dependencies": {+ "@gltf-transform/core": "^4.3.0",+ "@gltf-transform/extensions": "^4.3.0",+ "@gltf-transform/functions": "^4.3.0",+ "@modelcontextprotocol/sdk": "^1.29.0",+ "@nirholas/pump-sdk": "^1.30.0",+ "@solana/spl-token": "^0.4.14",+ "@solana/web3.js": "^1.98.4",+ "bs58": "^6.0.0",+ "draco3dgltf": "^1.5.7",+ "ethers": "^6.16.0",+ "form-data": "^4.0.5",+ "gltf-validator": "^2.0.0-dev.3.10",+ "zod": "^3.23.8"+ },+ "bin": {+ "three-avatar-agent": "src/index.js",+ "three-avatar-agent-mcp": "src/index.js"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "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/@babel/code-frame": {+ "version": "7.29.0",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",+ "license": "MIT",+ "dependencies": {+ "@babel/helper-validator-identifier": "^7.28.5",+ "js-tokens": "^4.0.0",+ "picocolors": "^1.1.1"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.28.5",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/runtime": {+ "version": "7.29.2",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",+ "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@coral-xyz/anchor": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/anchor/-/anchor-0.31.1.tgz",+ "integrity": "sha512-QUqpoEK+gi2S6nlYc2atgT2r41TT3caWr/cPUEL8n8Md9437trZ68STknq897b82p5mW0XrTBNOzRbmIRJtfsA==",+ "license": "(MIT OR Apache-2.0)",+ "dependencies": {+ "@coral-xyz/anchor-errors": "^0.31.1",+ "@coral-xyz/borsh": "^0.31.1",+ "@noble/hashes": "^1.3.1",+ "@solana/web3.js": "^1.69.0",+ "bn.js": "^5.1.2",+ "bs58": "^4.0.1",+ "buffer-layout": "^1.2.2",+ "camelcase": "^6.3.0",+ "cross-fetch": "^3.1.5",+ "eventemitter3": "^4.0.7",+ "pako": "^2.0.3",+ "superstruct": "^0.15.4",+ "toml": "^3.0.0"+ },+ "engines": {+ "node": ">=17"+ }+ },+ "node_modules/@coral-xyz/anchor-errors": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/anchor-errors/-/anchor-errors-0.31.1.tgz",+ "integrity": "sha512-NhNEku4F3zzUSBtrYz84FzYWm48+9OvmT1Hhnwr6GnPQry2dsEqH/ti/7ASjjpoFTWRnPXrjAIT1qM6Isop+LQ==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/@coral-xyz/anchor/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/@coral-xyz/anchor/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/@coral-xyz/borsh": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.31.1.tgz",+ "integrity": "sha512-9N8AU9F0ubriKfNE3g1WF0/4dtlGXoBN/hd1PvbNBamBNwRgHxH4P+o3Zt7rSEloW1HUs6LfZEchlx9fW7POYw==",+ "license": "Apache-2.0",+ "dependencies": {+ "bn.js": "^5.1.2",+ "buffer-layout": "^1.2.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.69.0"+ }+ },+ "node_modules/@emnapi/runtime": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",+ "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@gltf-transform/core": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/@gltf-transform/core/-/core-4.3.0.tgz",+ "integrity": "sha512-ZeaQfszGJ9LYwELszu45CuDQCsE26lJNNe36FVmN8xclaT6WDdCj7fwGpQXo0/l/YgAVAHX+uO7YNBW75/SRYw==",+ "license": "MIT",+ "dependencies": {+ "property-graph": "^4.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/donmccurdy"+ }+ },+ "node_modules/@gltf-transform/extensions": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/@gltf-transform/extensions/-/extensions-4.3.0.tgz",+ "integrity": "sha512-XDAjQPYVMHa/VDpSbfCBwI+/1muwRJCaXhUpLgnUzAjn0D//PgvIAcbNm1EwBl3LIWBSwjDUCn2LiMAjp+aXVw==",+ "license": "MIT",+ "dependencies": {+ "@gltf-transform/core": "^4.3.0",+ "ktx-parse": "^1.0.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/donmccurdy"+ }+ },+ "node_modules/@gltf-transform/functions": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/@gltf-transform/functions/-/functions-4.3.0.tgz",+ "integrity": "sha512-FZggHVgt3DHOezgESBrf2vDzuD2FYQYaNT2sT/aP316SIwhuiIwby3z7rhV9joDvWqqUaPkf1UmkjlOaY9riSQ==",+ "license": "MIT",+ "dependencies": {+ "@gltf-transform/core": "^4.3.0",+ "@gltf-transform/extensions": "^4.3.0",+ "ktx-parse": "^1.0.1",+ "ndarray": "^1.0.19",+ "ndarray-lanczos": "^0.3.0",+ "ndarray-pixels": "^5.0.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/donmccurdy"+ }+ },+ "node_modules/@hono/node-server": {+ "version": "1.19.14",+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.14.tgz",+ "integrity": "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==",+ "license": "MIT",+ "engines": {+ "node": ">=18.14.1"+ },+ "peerDependencies": {+ "hono": "^4"+ }+ },+ "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==",+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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"+ ],+ "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/@modelcontextprotocol/sdk": {+ "version": "1.29.0",+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.29.0.tgz",+ "integrity": "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==",+ "license": "MIT",+ "dependencies": {+ "@hono/node-server": "^1.19.9",+ "ajv": "^8.17.1",+ "ajv-formats": "^3.0.1",+ "content-type": "^1.0.5",+ "cors": "^2.8.5",+ "cross-spawn": "^7.0.5",+ "eventsource": "^3.0.2",+ "eventsource-parser": "^3.0.0",+ "express": "^5.2.1",+ "express-rate-limit": "^8.2.1",+ "hono": "^4.11.4",+ "jose": "^6.1.3",+ "json-schema-typed": "^8.0.2",+ "pkce-challenge": "^5.0.0",+ "raw-body": "^3.0.0",+ "zod": "^3.25 || ^4.0",+ "zod-to-json-schema": "^3.25.1"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@cfworker/json-schema": "^4.1.1",+ "zod": "^3.25 || ^4.0"+ },+ "peerDependenciesMeta": {+ "@cfworker/json-schema": {+ "optional": true+ },+ "zod": {+ "optional": false+ }+ }+ },+ "node_modules/@nirholas/pump-sdk": {+ "version": "1.30.0",+ "resolved": "https://registry.npmjs.org/@nirholas/pump-sdk/-/pump-sdk-1.30.0.tgz",+ "integrity": "sha512-LK79pRiXucEOU5kqHWo/XWh5y/4dxXrO0bFrhQWvnGB3zB3QWYpEaxQ8OhFTxM0+0KzlVHTJFRTspu88AQM0xw==",+ "license": "MIT",+ "dependencies": {+ "@coral-xyz/anchor": "^0.31.1",+ "@pump-fun/pump-swap-sdk": "^1.13.0",+ "@solana/spl-token": "^0.4.13",+ "@solana/web3.js": "^1.98.2",+ "bn.js": "^5.2.2",+ "playwright": "^1.58.2",+ "puppeteer": "^24.38.0",+ "puppeteer-extra": "^3.3.6",+ "puppeteer-extra-plugin-stealth": "^2.11.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@noble/curves": {+ "version": "1.9.7",+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz",+ "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==",+ "license": "MIT",+ "dependencies": {+ "@noble/hashes": "1.8.0"+ },+ "engines": {+ "node": "^14.21.3 || >=16"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/@noble/hashes": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",+ "license": "MIT",+ "engines": {+ "node": "^14.21.3 || >=16"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/@pump-fun/pump-swap-sdk": {+ "version": "1.16.0",+ "resolved": "https://registry.npmjs.org/@pump-fun/pump-swap-sdk/-/pump-swap-sdk-1.16.0.tgz",+ "integrity": "sha512-UFj4+c3/TZtZ2eNtzJ2Q9SoBr854nSWNdWexpL8Vt04/RnCZisAAtD4gzQXtvyTjefsrcwZOXZ+9g14QAYJ/HA==",+ "license": "MIT",+ "dependencies": {+ "@coral-xyz/anchor": "^0.31.1",+ "@solana/spl-token": "^0.4.9",+ "@solana/web3.js": "^1.98.2",+ "bn.js": "^5.2.2",+ "bs58": "^6.0.0"+ },+ "engines": {+ "node": ">=16"+ }+ },+ "node_modules/@puppeteer/browsers": {+ "version": "2.13.2",+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.13.2.tgz",+ "integrity": "sha512-5EUZSUIc37H6aIXyWO0Z4y8NlF8NnjgmqeQgOGiswAU7pY0HOo16ho4+alIWmSfdZnjqBRawMsP3I5YqLSn6kw==",+ "license": "Apache-2.0",+ "dependencies": {+ "debug": "^4.4.3",+ "extract-zip": "^2.0.1",+ "progress": "^2.0.3",+ "proxy-agent": "^6.5.0",+ "semver": "^7.7.4",+ "tar-fs": "^3.1.1",+ "yargs": "^17.7.2"+ },+ "bin": {+ "browsers": "lib/cjs/main-cli.js"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@solana/buffer-layout": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz",+ "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==",+ "license": "MIT",+ "dependencies": {+ "buffer": "~6.0.3"+ },+ "engines": {+ "node": ">=5.10"+ }+ },+ "node_modules/@solana/buffer-layout-utils": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/@solana/buffer-layout-utils/-/buffer-layout-utils-0.2.0.tgz",+ "integrity": "sha512-szG4sxgJGktbuZYDg2FfNmkMi0DYQoVjN2h7ta1W1hPrwzarcFLBq9UpX1UjNXsNpT9dn+chgprtWGioUAr4/g==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/buffer-layout": "^4.0.0",+ "@solana/web3.js": "^1.32.0",+ "bigint-buffer": "^1.1.5",+ "bignumber.js": "^9.0.1"+ },+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@solana/codecs": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz",+ "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-data-structures": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/codecs-strings": "2.0.0-rc.1",+ "@solana/options": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-core": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz",+ "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-data-structures": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz",+ "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-numbers": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz",+ "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-strings": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz",+ "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "fastestsmallesttextencoderdecoder": "^1.0.22",+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/errors": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz",+ "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==",+ "license": "MIT",+ "dependencies": {+ "chalk": "^5.3.0",+ "commander": "^12.1.0"+ },+ "bin": {+ "errors": "bin/cli.mjs"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/options": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz",+ "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-data-structures": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/codecs-strings": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/spl-token": {+ "version": "0.4.14",+ "resolved": "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.4.14.tgz",+ "integrity": "sha512-u09zr96UBpX4U685MnvQsNzlvw9TiY005hk1vJmJr7gMJldoPG1eYU5/wNEyOA5lkMLiR/gOi9SFD4MefOYEsA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/buffer-layout": "^4.0.0",+ "@solana/buffer-layout-utils": "^0.2.0",+ "@solana/spl-token-group": "^0.0.7",+ "@solana/spl-token-metadata": "^0.1.6",+ "buffer": "^6.0.3"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.5"+ }+ },+ "node_modules/@solana/spl-token-group": {+ "version": "0.0.7",+ "resolved": "https://registry.npmjs.org/@solana/spl-token-group/-/spl-token-group-0.0.7.tgz",+ "integrity": "sha512-V1N/iX7Cr7H0uazWUT2uk27TMqlqedpXHRqqAbVO2gvmJyT0E0ummMEAVQeXZ05ZhQ/xF39DLSdBp90XebWEug==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/codecs": "2.0.0-rc.1"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.3"+ }+ },+ "node_modules/@solana/spl-token-metadata": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/@solana/spl-token-metadata/-/spl-token-metadata-0.1.6.tgz",+ "integrity": "sha512-7sMt1rsm/zQOQcUWllQX9mD2O6KhSAtY1hFR2hfFwgqfFWzSY9E9GDvFVNYUI1F0iQKcm6HmePU9QbKRXTEBiA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/codecs": "2.0.0-rc.1"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.3"+ }+ },+ "node_modules/@solana/web3.js": {+ "version": "1.98.4",+ "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.98.4.tgz",+ "integrity": "sha512-vv9lfnvjUsRiq//+j5pBdXig0IQdtzA0BRZ3bXEP4KaIyF1CcaydWqgyzQgfZMNIsWNWmG+AUHwPy4AHOD6gpw==",+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.25.0",+ "@noble/curves": "^1.4.2",+ "@noble/hashes": "^1.4.0",+ "@solana/buffer-layout": "^4.0.1",+ "@solana/codecs-numbers": "^2.1.0",+ "agentkeepalive": "^4.5.0",+ "bn.js": "^5.2.1",+ "borsh": "^0.7.0",+ "bs58": "^4.0.1",+ "buffer": "6.0.3",+ "fast-stable-stringify": "^1.0.0",+ "jayson": "^4.1.1",+ "node-fetch": "^2.7.0",+ "rpc-websockets": "^9.0.2",+ "superstruct": "^2.0.2"+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/codecs-core": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.3.0.tgz",+ "integrity": "sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==",+ "license": "MIT",+ "dependencies": {+ "@solana/errors": "2.3.0"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": ">=5.3.3"+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.3.0.tgz",+ "integrity": "sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.3.0",+ "@solana/errors": "2.3.0"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": ">=5.3.3"+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/errors": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.3.0.tgz",+ "integrity": "sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==",+ "license": "MIT",+ "dependencies": {+ "chalk": "^5.4.1",+ "commander": "^14.0.0"+ },+ "bin": {+ "errors": "bin/cli.mjs"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": ">=5.3.3"+ }+ },+ "node_modules/@solana/web3.js/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/@solana/web3.js/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/@solana/web3.js/node_modules/commander": {+ "version": "14.0.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",+ "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",+ "license": "MIT",+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@solana/web3.js/node_modules/superstruct": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz",+ "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==",+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@swc/helpers": {+ "version": "0.5.21",+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.21.tgz",+ "integrity": "sha512-jI/VAmtdjB/RnI8GTnokyX7Ug8c+g+ffD6QRLa6XQewtnGyukKkKSk3wLTM3b5cjt1jNh9x0jfVlagdN2gDKQg==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.8.0"+ }+ },+ "node_modules/@swc/helpers/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/@tootallnate/quickjs-emscripten": {+ "version": "0.23.0",+ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",+ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==",+ "license": "MIT"+ },+ "node_modules/@types/connect": {+ "version": "3.4.38",+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",+ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/debug": {+ "version": "4.1.13",+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",+ "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",+ "license": "MIT",+ "dependencies": {+ "@types/ms": "*"+ }+ },+ "node_modules/@types/ms": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",+ "license": "MIT"+ },+ "node_modules/@types/ndarray": {+ "version": "1.0.14",+ "resolved": "https://registry.npmjs.org/@types/ndarray/-/ndarray-1.0.14.tgz",+ "integrity": "sha512-oANmFZMnFQvb219SSBIhI1Ih/r4CvHDOzkWyJS/XRqkMrGH5/kaPSA1hQhdIBzouaE+5KpE/f5ylI9cujmckQg==",+ "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/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",+ "license": "MIT"+ },+ "node_modules/@types/ws": {+ "version": "7.4.7",+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz",+ "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/yauzl": {+ "version": "2.10.3",+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",+ "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/accepts": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",+ "license": "MIT",+ "dependencies": {+ "mime-types": "^3.0.0",+ "negotiator": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "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/agent-base": {+ "version": "7.1.4",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/agentkeepalive": {+ "version": "4.6.0",+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz",+ "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==",+ "license": "MIT",+ "dependencies": {+ "humanize-ms": "^1.2.1"+ },+ "engines": {+ "node": ">= 8.0.0"+ }+ },+ "node_modules/ajv": {+ "version": "8.20.0",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",+ "license": "MIT",+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "fast-uri": "^3.0.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/ajv-formats": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz",+ "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",+ "license": "MIT",+ "dependencies": {+ "ajv": "^8.0.0"+ },+ "peerDependencies": {+ "ajv": "^8.0.0"+ },+ "peerDependenciesMeta": {+ "ajv": {+ "optional": true+ }+ }+ },+ "node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "license": "MIT",+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/argparse": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",+ "license": "Python-2.0"+ },+ "node_modules/arr-union": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",+ "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/ast-types": {+ "version": "0.13.4",+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz",+ "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.1"+ },+ "engines": {+ "node": ">=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/b4a": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.1.tgz",+ "integrity": "sha512-aiqre1Nr0B/6DgE2N5vwTc+2/oQZ4Wh1t4NznYY4E00y8LCt6NqdRv81so00oo27D8MVKTpUa/MwUUtBLXCoDw==",+ "license": "Apache-2.0",+ "peerDependencies": {+ "react-native-b4a": "*"+ },+ "peerDependenciesMeta": {+ "react-native-b4a": {+ "optional": true+ }+ }+ },+ "node_modules/balanced-match": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",+ "license": "MIT"+ },+ "node_modules/bare-events": {+ "version": "2.8.3",+ "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.8.3.tgz",+ "integrity": "sha512-HdUm8EMQBLaJvGUdidNNbqpA1kYkwNcb+MYxkxCLAPJGQzlv9J0C24h8V65Z4c5GLd/JEALDvpFCQgpLJqc0zw==",+ "license": "Apache-2.0",+ "peerDependencies": {+ "bare-abort-controller": "*"+ },+ "peerDependenciesMeta": {+ "bare-abort-controller": {+ "optional": true+ }+ }+ },+ "node_modules/bare-fs": {+ "version": "4.7.1",+ "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.1.tgz",+ "integrity": "sha512-WDRsyVN52eAx/lBamKD6uyw8H4228h/x0sGGGegOamM2cd7Pag88GfMQalobXI+HaEUxpCkbKQUDOQqt9wawRw==",+ "license": "Apache-2.0",+ "dependencies": {+ "bare-events": "^2.5.4",+ "bare-path": "^3.0.0",+ "bare-stream": "^2.6.4",+ "bare-url": "^2.2.2",+ "fast-fifo": "^1.3.2"+ },+ "engines": {+ "bare": ">=1.16.0"+ },+ "peerDependencies": {+ "bare-buffer": "*"+ },+ "peerDependenciesMeta": {+ "bare-buffer": {+ "optional": true+ }+ }+ },+ "node_modules/bare-os": {+ "version": "3.9.1",+ "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.9.1.tgz",+ "integrity": "sha512-6M5XjcnsygQNPMCMPXSK379xrJFiZ/AEMNBmFEmQW8d/789VQATvriyi5r0HYTL9TkQ26rn3kgdTG3aisbrXkQ==",+ "license": "Apache-2.0",+ "engines": {+ "bare": ">=1.14.0"+ }+ },+ "node_modules/bare-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz",+ "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==",+ "license": "Apache-2.0",+ "dependencies": {+ "bare-os": "^3.0.1"+ }+ },+ "node_modules/bare-stream": {+ "version": "2.13.1",+ "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.1.tgz",+ "integrity": "sha512-Vp0cnjYyrEC4whYTymQ+YZi6pBpfiICZO3cfRG8sy67ZNWe951urv1x4eW1BKNngw3U+3fPYb5JQvHbCtxH7Ow==",+ "license": "Apache-2.0",+ "dependencies": {+ "streamx": "^2.25.0",+ "teex": "^1.0.1"+ },+ "peerDependencies": {+ "bare-abort-controller": "*",+ "bare-buffer": "*",+ "bare-events": "*"+ },+ "peerDependenciesMeta": {+ "bare-abort-controller": {+ "optional": true+ },+ "bare-buffer": {+ "optional": true+ },+ "bare-events": {+ "optional": true+ }+ }+ },+ "node_modules/bare-url": {+ "version": "2.4.3",+ "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.3.tgz",+ "integrity": "sha512-Kccpc7ACfXaxfeInfqKcZtW4pT5YBn1mesc4sCsun6sRwtbJ4h+sNOaksUpYEJUKfN65YWC6Bw2OJEFiKxq8nQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "bare-path": "^3.0.0"+ }+ },+ "node_modules/base-x": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.1.tgz",+ "integrity": "sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==",+ "license": "MIT"+ },+ "node_modules/base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT"+ },+ "node_modules/basic-ftp": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.1.tgz",+ "integrity": "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==",+ "license": "MIT",+ "engines": {+ "node": ">=10.0.0"+ }+ },+ "node_modules/bigint-buffer": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/bigint-buffer/-/bigint-buffer-1.1.5.tgz",+ "integrity": "sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==",+ "hasInstallScript": true,+ "license": "Apache-2.0",+ "dependencies": {+ "bindings": "^1.3.0"+ },+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/bignumber.js": {+ "version": "9.3.1",+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz",+ "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==",+ "license": "MIT",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/bindings": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",+ "license": "MIT",+ "dependencies": {+ "file-uri-to-path": "1.0.0"+ }+ },+ "node_modules/bn.js": {+ "version": "5.2.3",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.3.tgz",+ "integrity": "sha512-EAcmnPkxpntVL+DS7bO1zhcZNvCkxqtkd0ZY53h06GNQ3DEkkGZ/gKgmDv6DdZQGj9BgfSPKtJJ7Dp1GPP8f7w==",+ "license": "MIT"+ },+ "node_modules/body-parser": {+ "version": "2.2.2",+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz",+ "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==",+ "license": "MIT",+ "dependencies": {+ "bytes": "^3.1.2",+ "content-type": "^1.0.5",+ "debug": "^4.4.3",+ "http-errors": "^2.0.0",+ "iconv-lite": "^0.7.0",+ "on-finished": "^2.4.1",+ "qs": "^6.14.1",+ "raw-body": "^3.0.1",+ "type-is": "^2.0.1"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/borsh": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz",+ "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==",+ "license": "Apache-2.0",+ "dependencies": {+ "bn.js": "^5.2.0",+ "bs58": "^4.0.0",+ "text-encoding-utf-8": "^1.0.2"+ }+ },+ "node_modules/borsh/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/borsh/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/brace-expansion": {+ "version": "1.1.14",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",+ "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "node_modules/bs58": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz",+ "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^5.0.0"+ }+ },+ "node_modules/buffer": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "base64-js": "^1.3.1",+ "ieee754": "^1.2.1"+ }+ },+ "node_modules/buffer-crc32": {+ "version": "0.2.13",+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",+ "license": "MIT",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/buffer-layout": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/buffer-layout/-/buffer-layout-1.2.2.tgz",+ "integrity": "sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==",+ "license": "MIT",+ "engines": {+ "node": ">=4.5"+ }+ },+ "node_modules/bufferutil": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.1.0.tgz",+ "integrity": "sha512-ZMANVnAixE6AWWnPzlW2KpUrxhm9woycYvPOo67jWHyFowASTEd9s+QN1EIMsSDtwhIxN4sWE1jotpuDUIgyIw==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/bytes": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/call-bind-apply-helpers": {+ "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==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "function-bind": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/call-bound": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.2",+ "get-intrinsic": "^1.3.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/camelcase": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/chalk": {+ "version": "5.6.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",+ "license": "MIT",+ "engines": {+ "node": "^12.17.0 || ^14.13 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/chromium-bidi": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-14.0.0.tgz",+ "integrity": "sha512-9gYlLtS6tStdRWzrtXaTMnqcM4dudNegMXJxkR0I/CXObHalYeYcAMPrL19eroNZHtJ8DQmu1E+ZNOYu/IXMXw==",+ "license": "Apache-2.0",+ "dependencies": {+ "mitt": "^3.0.1",+ "zod": "^3.24.1"+ },+ "peerDependencies": {+ "devtools-protocol": "*"+ }+ },+ "node_modules/cliui": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",+ "license": "ISC",+ "dependencies": {+ "string-width": "^4.2.0",+ "strip-ansi": "^6.0.1",+ "wrap-ansi": "^7.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/clone-deep": {+ "version": "0.2.4",+ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.2.4.tgz",+ "integrity": "sha512-we+NuQo2DHhSl+DP6jlUiAhyAjBQrYnpOk15rN6c6JSPScjiCLh8IbSU+VTcph6YS3o7mASE8a0+gbZ7ChLpgg==",+ "license": "MIT",+ "dependencies": {+ "for-own": "^0.1.3",+ "is-plain-object": "^2.0.1",+ "kind-of": "^3.0.2",+ "lazy-cache": "^1.0.3",+ "shallow-clone": "^0.1.2"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "license": "MIT",+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "license": "MIT"+ },+ "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": "12.1.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",+ "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",+ "license": "MIT"+ },+ "node_modules/content-disposition": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz",+ "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/content-type": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/cookie": {+ "version": "0.7.2",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/cookie-signature": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",+ "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",+ "license": "MIT",+ "engines": {+ "node": ">=6.6.0"+ }+ },+ "node_modules/cors": {+ "version": "2.8.6",+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz",+ "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==",+ "license": "MIT",+ "dependencies": {+ "object-assign": "^4",+ "vary": "^1"+ },+ "engines": {+ "node": ">= 0.10"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/cosmiconfig": {+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.1.tgz",+ "integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==",+ "license": "MIT",+ "dependencies": {+ "env-paths": "^2.2.1",+ "import-fresh": "^3.3.0",+ "js-yaml": "^4.1.0",+ "parse-json": "^5.2.0"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/d-fischer"+ },+ "peerDependencies": {+ "typescript": ">=4.9.5"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/cross-fetch": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz",+ "integrity": "sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==",+ "license": "MIT",+ "dependencies": {+ "node-fetch": "^2.7.0"+ }+ },+ "node_modules/cross-spawn": {+ "version": "7.0.6",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",+ "license": "MIT",+ "dependencies": {+ "path-key": "^3.1.0",+ "shebang-command": "^2.0.0",+ "which": "^2.0.1"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/cwise-compiler": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/cwise-compiler/-/cwise-compiler-1.1.3.tgz",+ "integrity": "sha512-WXlK/m+Di8DMMcCjcWr4i+XzcQra9eCdXIJrgh4TUgh0pIS/yJduLxS9JgefsHJ/YVLdgPtXm9r62W92MvanEQ==",+ "license": "MIT",+ "dependencies": {+ "uniq": "^1.0.0"+ }+ },+ "node_modules/data-uri-to-buffer": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz",+ "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==",+ "license": "MIT",+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/debug": {+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",+ "license": "MIT",+ "dependencies": {+ "ms": "^2.1.3"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },+ "node_modules/deepmerge": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/degenerator": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz",+ "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==",+ "license": "MIT",+ "dependencies": {+ "ast-types": "^0.13.4",+ "escodegen": "^2.1.0",+ "esprima": "^4.0.1"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/delay": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",+ "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "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/depd": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "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==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/devtools-protocol": {+ "version": "0.0.1608973",+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1608973.tgz",+ "integrity": "sha512-Tpm17fxYzt+J7VrGdc1k8YdRqS3YV7se/M6KeemEqvUbq/n7At1rWVuXMxQgpWkdwSdIEKYbU//Bve+Shm4YNQ==",+ "license": "BSD-3-Clause"+ },+ "node_modules/draco3dgltf": {+ "version": "1.5.7",+ "resolved": "https://registry.npmjs.org/draco3dgltf/-/draco3dgltf-1.5.7.tgz",+ "integrity": "sha512-LeqcpmoHIyYUi0z70/H3tMkGj8QhqVxq6FJGPjlzR24BNkQ6jyMheMvFKJBI0dzGZrEOUyQEmZ8axM1xRrbRiw==",+ "license": "Apache-2.0"+ },+ "node_modules/dunder-proto": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.1",+ "es-errors": "^1.3.0",+ "gopd": "^1.2.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/ee-first": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",+ "license": "MIT"+ },+ "node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "license": "MIT"+ },+ "node_modules/encodeurl": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/end-of-stream": {+ "version": "1.4.5",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",+ "license": "MIT",+ "dependencies": {+ "once": "^1.4.0"+ }+ },+ "node_modules/env-paths": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/error-ex": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",+ "license": "MIT",+ "dependencies": {+ "is-arrayish": "^0.2.1"+ }+ },+ "node_modules/es-define-property": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-errors": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-object-atoms": {+ "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==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-set-tostringtag": {+ "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==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.6",+ "has-tostringtag": "^1.0.2",+ "hasown": "^2.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es6-promise": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",+ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",+ "license": "MIT"+ },+ "node_modules/es6-promisify": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",+ "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==",+ "license": "MIT",+ "dependencies": {+ "es6-promise": "^4.0.3"+ }+ },+ "node_modules/escalade": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/escape-html": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",+ "license": "MIT"+ },+ "node_modules/escodegen": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "esprima": "^4.0.1",+ "estraverse": "^5.2.0",+ "esutils": "^2.0.2"+ },+ "bin": {+ "escodegen": "bin/escodegen.js",+ "esgenerate": "bin/esgenerate.js"+ },+ "engines": {+ "node": ">=6.0"+ },+ "optionalDependencies": {+ "source-map": "~0.6.1"+ }+ },+ "node_modules/esprima": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",+ "license": "BSD-2-Clause",+ "bin": {+ "esparse": "bin/esparse.js",+ "esvalidate": "bin/esvalidate.js"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/esutils": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/etag": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "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/@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/ethers/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/eventemitter3": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",+ "license": "MIT"+ },+ "node_modules/events-universal": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz",+ "integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==",+ "license": "Apache-2.0",+ "dependencies": {+ "bare-events": "^2.7.0"+ }+ },+ "node_modules/eventsource": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",+ "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==",+ "license": "MIT",+ "dependencies": {+ "eventsource-parser": "^3.0.1"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/eventsource-parser": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.8.tgz",+ "integrity": "sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ==",+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/express": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz",+ "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==",+ "license": "MIT",+ "dependencies": {+ "accepts": "^2.0.0",+ "body-parser": "^2.2.1",+ "content-disposition": "^1.0.0",+ "content-type": "^1.0.5",+ "cookie": "^0.7.1",+ "cookie-signature": "^1.2.1",+ "debug": "^4.4.0",+ "depd": "^2.0.0",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "etag": "^1.8.1",+ "finalhandler": "^2.1.0",+ "fresh": "^2.0.0",+ "http-errors": "^2.0.0",+ "merge-descriptors": "^2.0.0",+ "mime-types": "^3.0.0",+ "on-finished": "^2.4.1",+ "once": "^1.4.0",+ "parseurl": "^1.3.3",+ "proxy-addr": "^2.0.7",+ "qs": "^6.14.0",+ "range-parser": "^1.2.1",+ "router": "^2.2.0",+ "send": "^1.1.0",+ "serve-static": "^2.2.0",+ "statuses": "^2.0.1",+ "type-is": "^2.0.1",+ "vary": "^1.1.2"+ },+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/express-rate-limit": {+ "version": "8.5.2",+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.5.2.tgz",+ "integrity": "sha512-5Kb34ipNX694DH48vN9irak1Qx30nb0PLYHXfJgw4YEjiC3ZEmZJhwOp+VfiCYwFzvFTdB9QkArYS5kXa2cx2A==",+ "license": "MIT",+ "dependencies": {+ "ip-address": "^10.2.0"+ },+ "engines": {+ "node": ">= 16"+ },+ "funding": {+ "url": "https://github.com/sponsors/express-rate-limit"+ },+ "peerDependencies": {+ "express": ">= 4.11"+ }+ },+ "node_modules/extract-zip": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "debug": "^4.1.1",+ "get-stream": "^5.1.0",+ "yauzl": "^2.10.0"+ },+ "bin": {+ "extract-zip": "cli.js"+ },+ "engines": {+ "node": ">= 10.17.0"+ },+ "optionalDependencies": {+ "@types/yauzl": "^2.9.1"+ }+ },+ "node_modules/eyes": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",+ "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==",+ "engines": {+ "node": "> 0.1.90"+ }+ },+ "node_modules/fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",+ "license": "MIT"+ },+ "node_modules/fast-fifo": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",+ "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",+ "license": "MIT"+ },+ "node_modules/fast-stable-stringify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz",+ "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==",+ "license": "MIT"+ },+ "node_modules/fast-uri": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz",+ "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/fastify"+ },+ {+ "type": "opencollective",+ "url": "https://opencollective.com/fastify"+ }+ ],+ "license": "BSD-3-Clause"+ },+ "node_modules/fastestsmallesttextencoderdecoder": {+ "version": "1.0.22",+ "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",+ "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==",+ "license": "CC0-1.0",+ "peer": true+ },+ "node_modules/fd-slicer": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",+ "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",+ "license": "MIT",+ "dependencies": {+ "pend": "~1.2.0"+ }+ },+ "node_modules/file-uri-to-path": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",+ "license": "MIT"+ },+ "node_modules/finalhandler": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz",+ "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.4.0",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "on-finished": "^2.4.1",+ "parseurl": "^1.3.3",+ "statuses": "^2.0.1"+ },+ "engines": {+ "node": ">= 18.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/for-in": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",+ "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/for-own": {+ "version": "0.1.5",+ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",+ "integrity": "sha512-SKmowqGTJoPzLO1T0BBJpkfp3EMacCMOuH40hOUbrbzElVktk4DioXVM99QkLCyKoiuOmyjgcWMpVz2xjE7LZw==",+ "license": "MIT",+ "dependencies": {+ "for-in": "^1.0.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "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/form-data/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/form-data/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/forwarded": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/fresh": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/fs-extra": {+ "version": "10.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",+ "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",+ "license": "MIT",+ "dependencies": {+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",+ "license": "ISC"+ },+ "node_modules/fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/function-bind": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/get-caller-file": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",+ "license": "ISC",+ "engines": {+ "node": "6.* || 8.* || >= 10.*"+ }+ },+ "node_modules/get-intrinsic": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.2",+ "es-define-property": "^1.0.1",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.1.1",+ "function-bind": "^1.1.2",+ "get-proto": "^1.0.1",+ "gopd": "^1.2.0",+ "has-symbols": "^1.1.0",+ "hasown": "^2.0.2",+ "math-intrinsics": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/get-proto": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",+ "license": "MIT",+ "dependencies": {+ "dunder-proto": "^1.0.1",+ "es-object-atoms": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",+ "license": "MIT",+ "dependencies": {+ "pump": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/get-uri": {+ "version": "6.0.5",+ "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.5.tgz",+ "integrity": "sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg==",+ "license": "MIT",+ "dependencies": {+ "basic-ftp": "^5.0.2",+ "data-uri-to-buffer": "^6.0.2",+ "debug": "^4.3.4"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/glob": {+ "version": "7.2.3",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",+ "license": "ISC",+ "dependencies": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.1.1",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ },+ "engines": {+ "node": "*"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/gltf-validator": {+ "version": "2.0.0-dev.3.10",+ "resolved": "https://registry.npmjs.org/gltf-validator/-/gltf-validator-2.0.0-dev.3.10.tgz",+ "integrity": "sha512-odJ4k0tRkGXiDGn78yDBg+fBbAIvBnXxh3RwAta0emSxGtyagFE8B4xELB1oYe3S5RD8Ci3uZAsZaascH2LAEQ==",+ "license": "Apache-2.0"+ },+ "node_modules/gopd": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/graceful-fs": {+ "version": "4.2.11",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "license": "ISC"+ },+ "node_modules/has-symbols": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-tostringtag": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",+ "license": "MIT",+ "dependencies": {+ "has-symbols": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/hasown": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",+ "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==",+ "license": "MIT",+ "dependencies": {+ "function-bind": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/hono": {+ "version": "4.12.21",+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.21.tgz",+ "integrity": "sha512-uV63apnb0kyPtAUwoWgaGh9HyIFcv8lgmzPZSiTBQAFOFGIzka5EZ1dZocmGnn0XdX0+XTqJ6Tqv7selMuGLRQ==",+ "license": "MIT",+ "engines": {+ "node": ">=16.9.0"+ }+ },+ "node_modules/http-errors": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",+ "license": "MIT",+ "dependencies": {+ "depd": "~2.0.0",+ "inherits": "~2.0.4",+ "setprototypeof": "~1.2.0",+ "statuses": "~2.0.2",+ "toidentifier": "~1.0.1"+ },+ "engines": {+ "node": ">= 0.8"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/http-proxy-agent": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",+ "license": "MIT",+ "dependencies": {+ "agent-base": "^7.1.0",+ "debug": "^4.3.4"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/https-proxy-agent": {+ "version": "7.0.6",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",+ "license": "MIT",+ "dependencies": {+ "agent-base": "^7.1.2",+ "debug": "4"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/humanize-ms": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",+ "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",+ "license": "MIT",+ "dependencies": {+ "ms": "^2.0.0"+ }+ },+ "node_modules/iconv-lite": {+ "version": "0.7.2",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz",+ "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==",+ "license": "MIT",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/ieee754": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "BSD-3-Clause"+ },+ "node_modules/import-fresh": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",+ "license": "MIT",+ "dependencies": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",+ "license": "ISC",+ "dependencies": {+ "once": "^1.3.0",+ "wrappy": "1"+ }+ },+ "node_modules/inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",+ "license": "ISC"+ },+ "node_modules/iota-array": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/iota-array/-/iota-array-1.0.0.tgz",+ "integrity": "sha512-pZ2xT+LOHckCatGQ3DcG/a+QuEqvoxqkiL7tvE8nn3uuu+f6i1TtpB5/FtWFbxUuVr5PZCx8KskuGatbJDXOWA==",+ "license": "MIT"+ },+ "node_modules/ip-address": {+ "version": "10.2.0",+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz",+ "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==",+ "license": "MIT",+ "engines": {+ "node": ">= 12"+ }+ },+ "node_modules/ipaddr.js": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.10"+ }+ },+ "node_modules/is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",+ "license": "MIT"+ },+ "node_modules/is-buffer": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",+ "license": "MIT"+ },+ "node_modules/is-extendable": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",+ "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-plain-object": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",+ "license": "MIT",+ "dependencies": {+ "isobject": "^3.0.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-promise": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",+ "license": "MIT"+ },+ "node_modules/isexe": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",+ "license": "ISC"+ },+ "node_modules/isobject": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",+ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/isomorphic-ws": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",+ "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",+ "license": "MIT",+ "peerDependencies": {+ "ws": "*"+ }+ },+ "node_modules/jayson": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.3.0.tgz",+ "integrity": "sha512-AauzHcUcqs8OBnCHOkJY280VaTiCm57AbuO7lqzcw7JapGj50BisE3xhksye4zlTSR1+1tAz67wLTl8tEH1obQ==",+ "license": "MIT",+ "dependencies": {+ "@types/connect": "^3.4.33",+ "@types/node": "^12.12.54",+ "@types/ws": "^7.4.4",+ "commander": "^2.20.3",+ "delay": "^5.0.0",+ "es6-promisify": "^5.0.0",+ "eyes": "^0.1.8",+ "isomorphic-ws": "^4.0.1",+ "json-stringify-safe": "^5.0.1",+ "stream-json": "^1.9.1",+ "uuid": "^8.3.2",+ "ws": "^7.5.10"+ },+ "bin": {+ "jayson": "bin/jayson.js"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/jayson/node_modules/@types/node": {+ "version": "12.20.55",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz",+ "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==",+ "license": "MIT"+ },+ "node_modules/jayson/node_modules/commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",+ "license": "MIT"+ },+ "node_modules/jayson/node_modules/ws": {+ "version": "7.5.10",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",+ "license": "MIT",+ "engines": {+ "node": ">=8.3.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }+ }+ },+ "node_modules/jose": {+ "version": "6.2.3",+ "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.3.tgz",+ "integrity": "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/panva"+ }+ },+ "node_modules/js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "license": "MIT"+ },+ "node_modules/js-yaml": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",+ "license": "MIT",+ "dependencies": {+ "argparse": "^2.0.1"+ },+ "bin": {+ "js-yaml": "bin/js-yaml.js"+ }+ },+ "node_modules/json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "license": "MIT"+ },+ "node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",+ "license": "MIT"+ },+ "node_modules/json-schema-typed": {+ "version": "8.0.2",+ "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz",+ "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==",+ "license": "BSD-2-Clause"+ },+ "node_modules/json-stringify-safe": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",+ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",+ "license": "ISC"+ },+ "node_modules/jsonfile": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",+ "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",+ "license": "MIT",+ "dependencies": {+ "universalify": "^2.0.0"+ },+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",+ "license": "MIT",+ "dependencies": {+ "is-buffer": "^1.1.5"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/ktx-parse": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/ktx-parse/-/ktx-parse-1.1.0.tgz",+ "integrity": "sha512-mKp3y+FaYgR7mXWAbyyzpa/r1zDWeaunH+INJO4fou3hb45XuNSwar+7llrRyvpMWafxSIi99RNFJ05MHedaJQ==",+ "license": "MIT"+ },+ "node_modules/lazy-cache": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz",+ "integrity": "sha512-RE2g0b5VGZsOCFOCgP7omTRYFqydmZkBwl5oNnQ1lDYC57uyO9KqNnNVxT7COSHTxrRCWVcAVOcbjk+tvh/rgQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/lines-and-columns": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",+ "license": "MIT"+ },+ "node_modules/lru-cache": {+ "version": "7.18.3",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",+ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/math-intrinsics": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/media-typer": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/merge-deep": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/merge-deep/-/merge-deep-3.0.3.tgz",+ "integrity": "sha512-qtmzAS6t6grwEkNrunqTBdn0qKwFgNWvlxUbAV8es9M7Ot1EbyApytCnvE0jALPa46ZpKDUo527kKiaWplmlFA==",+ "license": "MIT",+ "dependencies": {+ "arr-union": "^3.1.0",+ "clone-deep": "^0.2.4",+ "kind-of": "^3.0.2"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/merge-descriptors": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/mime-db": {+ "version": "1.54.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",+ "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "^1.54.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/minimatch": {+ "version": "3.1.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",+ "license": "ISC",+ "dependencies": {+ "brace-expansion": "^1.1.7"+ },+ "engines": {+ "node": "*"+ }+ },+ "node_modules/mitt": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",+ "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==",+ "license": "MIT"+ },+ "node_modules/mixin-object": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz",+ "integrity": "sha512-ALGF1Jt9ouehcaXaHhn6t1yGWRqGaHkPFndtFVHfZXOvkIZ/yoGaSi0AHVTafb3ZBGg4dr/bDwnaEKqCXzchMA==",+ "license": "MIT",+ "dependencies": {+ "for-in": "^0.1.3",+ "is-extendable": "^0.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/mixin-object/node_modules/for-in": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz",+ "integrity": "sha512-F0to7vbBSHP8E3l6dCjxNOLuSFAACIxFy3UehTUlG7svlXi37HHsDkyVcHo0Pq8QwrE+pXvWSVX3ZT1T9wAZ9g==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/ms": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",+ "license": "MIT"+ },+ "node_modules/ndarray": {+ "version": "1.0.19",+ "resolved": "https://registry.npmjs.org/ndarray/-/ndarray-1.0.19.tgz",+ "integrity": "sha512-B4JHA4vdyZU30ELBw3g7/p9bZupyew5a7tX1Y/gGeF2hafrPaQZhgrGQfsvgfYbgdFZjYwuEcnaobeM/WMW+HQ==",+ "license": "MIT",+ "dependencies": {+ "iota-array": "^1.0.0",+ "is-buffer": "^1.0.2"+ }+ },+ "node_modules/ndarray-lanczos": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/ndarray-lanczos/-/ndarray-lanczos-0.3.0.tgz",+ "integrity": "sha512-5kBmmG3Zvyj77qxIAC4QFLKuYdDIBJwCG+DukT6jQHNa1Ft74/hPH1z5mbQXeHBt8yvGPBGVrr3wEOdJPYYZYg==",+ "license": "MIT",+ "dependencies": {+ "@types/ndarray": "^1.0.11",+ "ndarray": "^1.0.19"+ }+ },+ "node_modules/ndarray-ops": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/ndarray-ops/-/ndarray-ops-1.2.2.tgz",+ "integrity": "sha512-BppWAFRjMYF7N/r6Ie51q6D4fs0iiGmeXIACKY66fLpnwIui3Wc3CXiD/30mgLbDjPpSLrsqcp3Z62+IcHZsDw==",+ "license": "MIT",+ "dependencies": {+ "cwise-compiler": "^1.0.0"+ }+ },+ "node_modules/ndarray-pixels": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ndarray-pixels/-/ndarray-pixels-5.0.1.tgz",+ "integrity": "sha512-IBtrpefpqlI8SPDCGjXk4v5NV5z7r3JSuCbfuEEXaM0vrOJtNGgYUa4C3Lt5H+qWdYF4BCPVFsnXhNC7QvZwkw==",+ "license": "MIT",+ "dependencies": {+ "@types/ndarray": "^1.0.14",+ "ndarray": "^1.0.19",+ "ndarray-ops": "^1.2.2",+ "sharp": "^0.34.0"+ }+ },+ "node_modules/negotiator": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/netmask": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.1.1.tgz",+ "integrity": "sha512-eonl3sLUha+S1GzTPxychyhnUzKyeQkZ7jLjKrBagJgPla13F+uQ71HgpFefyHgqrjEbCPkDArxYsjY8/+gLKA==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4.0"+ }+ },+ "node_modules/node-fetch": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",+ "license": "MIT",+ "dependencies": {+ "whatwg-url": "^5.0.0"+ },+ "engines": {+ "node": "4.x || >=6.0.0"+ },+ "peerDependencies": {+ "encoding": "^0.1.0"+ },+ "peerDependenciesMeta": {+ "encoding": {+ "optional": true+ }+ }+ },+ "node_modules/node-gyp-build": {+ "version": "4.8.4",+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz",+ "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==",+ "license": "MIT",+ "optional": true,+ "bin": {+ "node-gyp-build": "bin.js",+ "node-gyp-build-optional": "optional.js",+ "node-gyp-build-test": "build-test.js"+ }+ },+ "node_modules/object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-inspect": {+ "version": "1.13.4",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/on-finished": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",+ "license": "MIT",+ "dependencies": {+ "ee-first": "1.1.1"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",+ "license": "ISC",+ "dependencies": {+ "wrappy": "1"+ }+ },+ "node_modules/pac-proxy-agent": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz",+ "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==",+ "license": "MIT",+ "dependencies": {+ "@tootallnate/quickjs-emscripten": "^0.23.0",+ "agent-base": "^7.1.2",+ "debug": "^4.3.4",+ "get-uri": "^6.0.1",+ "http-proxy-agent": "^7.0.0",+ "https-proxy-agent": "^7.0.6",+ "pac-resolver": "^7.0.1",+ "socks-proxy-agent": "^8.0.5"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/pac-resolver": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz",+ "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==",+ "license": "MIT",+ "dependencies": {+ "degenerator": "^5.0.0",+ "netmask": "^2.0.2"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/pako": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz",+ "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==",+ "license": "(MIT AND Zlib)"+ },+ "node_modules/parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "license": "MIT",+ "dependencies": {+ "callsites": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "license": "MIT",+ "dependencies": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/parseurl": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/path-key": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/path-to-regexp": {+ "version": "8.4.2",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz",+ "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/pend": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",+ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",+ "license": "MIT"+ },+ "node_modules/picocolors": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",+ "license": "ISC"+ },+ "node_modules/pkce-challenge": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz",+ "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==",+ "license": "MIT",+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/playwright": {+ "version": "1.60.0",+ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0.tgz",+ "integrity": "sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==",+ "license": "Apache-2.0",+ "dependencies": {+ "playwright-core": "1.60.0"+ },+ "bin": {+ "playwright": "cli.js"+ },+ "engines": {+ "node": ">=18"+ },+ "optionalDependencies": {+ "fsevents": "2.3.2"+ }+ },+ "node_modules/playwright-core": {+ "version": "1.60.0",+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.60.0.tgz",+ "integrity": "sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==",+ "license": "Apache-2.0",+ "bin": {+ "playwright-core": "cli.js"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/progress": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",+ "license": "MIT",+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/property-graph": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/property-graph/-/property-graph-4.1.0.tgz",+ "integrity": "sha512-AvPcP7XECNWy4LGmFQ77k7un4lSKM4eS29PTvW4ck95uYeLxXPWJM7hLuBqK91FaHqCcgJvIUCuNJjjxKE7VKQ==",+ "license": "MIT"+ },+ "node_modules/proxy-addr": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",+ "license": "MIT",+ "dependencies": {+ "forwarded": "0.2.0",+ "ipaddr.js": "1.9.1"+ },+ "engines": {+ "node": ">= 0.10"+ }+ },+ "node_modules/proxy-agent": {+ "version": "6.5.0",+ "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz",+ "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==",+ "license": "MIT",+ "dependencies": {+ "agent-base": "^7.1.2",+ "debug": "^4.3.4",+ "http-proxy-agent": "^7.0.1",+ "https-proxy-agent": "^7.0.6",+ "lru-cache": "^7.14.1",+ "pac-proxy-agent": "^7.1.0",+ "proxy-from-env": "^1.1.0",+ "socks-proxy-agent": "^8.0.5"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/proxy-from-env": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",+ "license": "MIT"+ },+ "node_modules/pump": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",+ "license": "MIT",+ "dependencies": {+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"+ }+ },+ "node_modules/puppeteer": {+ "version": "24.43.1",+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.43.1.tgz",+ "integrity": "sha512-/FSOViCrqRdb1HDocpsM9Z1giA71gTQPUt3SpHGVRALKAy/rJr1fLFYZW9F23qPxqVxTHQnbh/5B5opJST3kAw==",+ "hasInstallScript": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@puppeteer/browsers": "2.13.2",+ "chromium-bidi": "14.0.0",+ "cosmiconfig": "^9.0.0",+ "devtools-protocol": "0.0.1608973",+ "puppeteer-core": "24.43.1",+ "typed-query-selector": "^2.12.2"+ },+ "bin": {+ "puppeteer": "lib/cjs/puppeteer/node/cli.js"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/puppeteer-core": {+ "version": "24.43.1",+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.43.1.tgz",+ "integrity": "sha512-T5ScUMAsmhdNbgDR41AGESYeS6V9MSgetkSnVhhW+gXvzC42VesKCn5ld87gAZDJ6vLHL9GkRvY9WtQWSnwFbw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@puppeteer/browsers": "2.13.2",+ "chromium-bidi": "14.0.0",+ "debug": "^4.4.3",+ "devtools-protocol": "0.0.1608973",+ "typed-query-selector": "^2.12.2",+ "webdriver-bidi-protocol": "0.4.1",+ "ws": "^8.20.0"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/puppeteer-core/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==",+ "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/puppeteer-extra": {+ "version": "3.3.6",+ "resolved": "https://registry.npmjs.org/puppeteer-extra/-/puppeteer-extra-3.3.6.tgz",+ "integrity": "sha512-rsLBE/6mMxAjlLd06LuGacrukP2bqbzKCLzV1vrhHFavqQE/taQ2UXv3H5P0Ls7nsrASa+6x3bDbXHpqMwq+7A==",+ "license": "MIT",+ "dependencies": {+ "@types/debug": "^4.1.0",+ "debug": "^4.1.1",+ "deepmerge": "^4.2.2"+ },+ "engines": {+ "node": ">=8"+ },+ "peerDependencies": {+ "@types/puppeteer": "*",+ "puppeteer": "*",+ "puppeteer-core": "*"+ },+ "peerDependenciesMeta": {+ "@types/puppeteer": {+ "optional": true+ },+ "puppeteer": {+ "optional": true+ },+ "puppeteer-core": {+ "optional": true+ }+ }+ },+ "node_modules/puppeteer-extra-plugin": {+ "version": "3.2.3",+ "resolved": "https://registry.npmjs.org/puppeteer-extra-plugin/-/puppeteer-extra-plugin-3.2.3.tgz",+ "integrity": "sha512-6RNy0e6pH8vaS3akPIKGg28xcryKscczt4wIl0ePciZENGE2yoaQJNd17UiEbdmh5/6WW6dPcfRWT9lxBwCi2Q==",+ "license": "MIT",+ "dependencies": {+ "@types/debug": "^4.1.0",+ "debug": "^4.1.1",+ "merge-deep": "^3.0.1"+ },+ "engines": {+ "node": ">=9.11.2"+ },+ "peerDependencies": {+ "playwright-extra": "*",+ "puppeteer-extra": "*"+ },+ "peerDependenciesMeta": {+ "playwright-extra": {+ "optional": true+ },+ "puppeteer-extra": {+ "optional": true+ }+ }+ },+ "node_modules/puppeteer-extra-plugin-stealth": {+ "version": "2.11.2",+ "resolved": "https://registry.npmjs.org/puppeteer-extra-plugin-stealth/-/puppeteer-extra-plugin-stealth-2.11.2.tgz",+ "integrity": "sha512-bUemM5XmTj9i2ZerBzsk2AN5is0wHMNE6K0hXBzBXOzP5m5G3Wl0RHhiqKeHToe/uIH8AoZiGhc1tCkLZQPKTQ==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.1.1",+ "puppeteer-extra-plugin": "^3.2.3",+ "puppeteer-extra-plugin-user-preferences": "^2.4.1"+ },+ "engines": {+ "node": ">=8"+ },+ "peerDependencies": {+ "playwright-extra": "*",+ "puppeteer-extra": "*"+ },+ "peerDependenciesMeta": {+ "playwright-extra": {+ "optional": true+ },+ "puppeteer-extra": {+ "optional": true+ }+ }+ },+ "node_modules/puppeteer-extra-plugin-user-data-dir": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/puppeteer-extra-plugin-user-data-dir/-/puppeteer-extra-plugin-user-data-dir-2.4.1.tgz",+ "integrity": "sha512-kH1GnCcqEDoBXO7epAse4TBPJh9tEpVEK/vkedKfjOVOhZAvLkHGc9swMs5ChrJbRnf8Hdpug6TJlEuimXNQ+g==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.1.1",+ "fs-extra": "^10.0.0",+ "puppeteer-extra-plugin": "^3.2.3",+ "rimraf": "^3.0.2"+ },+ "engines": {+ "node": ">=8"+ },+ "peerDependencies": {+ "playwright-extra": "*",+ "puppeteer-extra": "*"+ },+ "peerDependenciesMeta": {+ "playwright-extra": {+ "optional": true+ },+ "puppeteer-extra": {+ "optional": true+ }+ }+ },+ "node_modules/puppeteer-extra-plugin-user-preferences": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/puppeteer-extra-plugin-user-preferences/-/puppeteer-extra-plugin-user-preferences-2.4.1.tgz",+ "integrity": "sha512-i1oAZxRbc1bk8MZufKCruCEC3CCafO9RKMkkodZltI4OqibLFXF3tj6HZ4LZ9C5vCXZjYcDWazgtY69mnmrQ9A==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.1.1",+ "deepmerge": "^4.2.2",+ "puppeteer-extra-plugin": "^3.2.3",+ "puppeteer-extra-plugin-user-data-dir": "^2.4.1"+ },+ "engines": {+ "node": ">=8"+ },+ "peerDependencies": {+ "playwright-extra": "*",+ "puppeteer-extra": "*"+ },+ "peerDependenciesMeta": {+ "playwright-extra": {+ "optional": true+ },+ "puppeteer-extra": {+ "optional": true+ }+ }+ },+ "node_modules/qs": {+ "version": "6.15.2",+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz",+ "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "side-channel": "^1.1.0"+ },+ "engines": {+ "node": ">=0.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/range-parser": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/raw-body": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",+ "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==",+ "license": "MIT",+ "dependencies": {+ "bytes": "~3.1.2",+ "http-errors": "~2.0.1",+ "iconv-lite": "~0.7.0",+ "unpipe": "~1.0.0"+ },+ "engines": {+ "node": ">= 0.10"+ }+ },+ "node_modules/require-directory": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "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==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "license": "MIT",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",+ "deprecated": "Rimraf versions prior to v4 are no longer supported",+ "license": "ISC",+ "dependencies": {+ "glob": "^7.1.3"+ },+ "bin": {+ "rimraf": "bin.js"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/router": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",+ "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.4.0",+ "depd": "^2.0.0",+ "is-promise": "^4.0.0",+ "parseurl": "^1.3.3",+ "path-to-regexp": "^8.0.0"+ },+ "engines": {+ "node": ">= 18"+ }+ },+ "node_modules/rpc-websockets": {+ "version": "9.3.9",+ "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.3.9.tgz",+ "integrity": "sha512-2iQDaTB4g5fDB2ihrTFSJSibCEuxaRi1q7qTW7ZO9/M5/TC+ToHA4D9/ffNLEbAoHNNrcdeP05oATNk44SKZXA==",+ "license": "LGPL-3.0-only",+ "dependencies": {+ "@swc/helpers": "^0.5.11",+ "@types/uuid": "^10.0.0",+ "@types/ws": "^8.2.2",+ "buffer": "^6.0.3",+ "eventemitter3": "^5.0.1",+ "uuid": "^14.0.0",+ "ws": "^8.5.0"+ },+ "funding": {+ "type": "paypal",+ "url": "https://paypal.me/kozjak"+ },+ "optionalDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^6.0.0"+ }+ },+ "node_modules/rpc-websockets/node_modules/@types/ws": {+ "version": "8.18.1",+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/rpc-websockets/node_modules/eventemitter3": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",+ "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",+ "license": "MIT"+ },+ "node_modules/rpc-websockets/node_modules/uuid": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz",+ "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist-node/bin/uuid"+ }+ },+ "node_modules/safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT"+ },+ "node_modules/safer-buffer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",+ "license": "MIT"+ },+ "node_modules/semver": {+ "version": "7.8.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz",+ "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/send": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz",+ "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.4.3",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "etag": "^1.8.1",+ "fresh": "^2.0.0",+ "http-errors": "^2.0.1",+ "mime-types": "^3.0.2",+ "ms": "^2.1.3",+ "on-finished": "^2.4.1",+ "range-parser": "^1.2.1",+ "statuses": "^2.0.2"+ },+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/serve-static": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz",+ "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==",+ "license": "MIT",+ "dependencies": {+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "parseurl": "^1.3.3",+ "send": "^1.2.0"+ },+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/setprototypeof": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",+ "license": "ISC"+ },+ "node_modules/shallow-clone": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-0.1.2.tgz",+ "integrity": "sha512-J1zdXCky5GmNnuauESROVu31MQSnLoYvlyEn6j2Ztk6Q5EHFIhxkMhYcv6vuDzl2XEzoRr856QwzMgWM/TmZgw==",+ "license": "MIT",+ "dependencies": {+ "is-extendable": "^0.1.1",+ "kind-of": "^2.0.1",+ "lazy-cache": "^0.2.3",+ "mixin-object": "^2.0.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/shallow-clone/node_modules/kind-of": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz",+ "integrity": "sha512-0u8i1NZ/mg0b+W3MGGw5I7+6Eib2nx72S/QvXa0hYjEkjTknYmEYQJwGu3mLC0BrhtJjtQafTkyRUQ75Kx0LVg==",+ "license": "MIT",+ "dependencies": {+ "is-buffer": "^1.0.2"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/shallow-clone/node_modules/lazy-cache": {+ "version": "0.2.7",+ "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz",+ "integrity": "sha512-gkX52wvU/R8DVMMt78ATVPFMJqfW8FPz1GZ1sVHBVQHmu/WvhIWE4cE1GBzhJNFicDeYhnwp6Rl35BcAIM3YOQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/sharp": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",+ "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",+ "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/shebang-command": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",+ "license": "MIT",+ "dependencies": {+ "shebang-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/shebang-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/side-channel": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",+ "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "object-inspect": "^1.13.3",+ "side-channel-list": "^1.0.0",+ "side-channel-map": "^1.0.1",+ "side-channel-weakmap": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/side-channel-list": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "object-inspect": "^1.13.4"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/side-channel-map": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.5",+ "object-inspect": "^1.13.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/side-channel-weakmap": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.5",+ "object-inspect": "^1.13.3",+ "side-channel-map": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/smart-buffer": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",+ "license": "MIT",+ "engines": {+ "node": ">= 6.0.0",+ "npm": ">= 3.0.0"+ }+ },+ "node_modules/socks": {+ "version": "2.8.9",+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.9.tgz",+ "integrity": "sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw==",+ "license": "MIT",+ "dependencies": {+ "ip-address": "^10.1.1",+ "smart-buffer": "^4.2.0"+ },+ "engines": {+ "node": ">= 10.0.0",+ "npm": ">= 3.0.0"+ }+ },+ "node_modules/socks-proxy-agent": {+ "version": "8.0.5",+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz",+ "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==",+ "license": "MIT",+ "dependencies": {+ "agent-base": "^7.1.2",+ "debug": "^4.3.4",+ "socks": "^2.8.3"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "license": "BSD-3-Clause",+ "optional": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/statuses": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/stream-chain": {+ "version": "2.2.5",+ "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz",+ "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==",+ "license": "BSD-3-Clause"+ },+ "node_modules/stream-json": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.1.tgz",+ "integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "stream-chain": "^2.2.5"+ }+ },+ "node_modules/streamx": {+ "version": "2.25.0",+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.25.0.tgz",+ "integrity": "sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==",+ "license": "MIT",+ "dependencies": {+ "events-universal": "^1.0.0",+ "fast-fifo": "^1.3.2",+ "text-decoder": "^1.1.0"+ }+ },+ "node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/superstruct": {+ "version": "0.15.5",+ "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.15.5.tgz",+ "integrity": "sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==",+ "license": "MIT"+ },+ "node_modules/tar-fs": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.2.tgz",+ "integrity": "sha512-QGxxTxxyleAdyM3kpFs14ymbYmNFrfY+pHj7Z8FgtbZ7w2//VAgLMac7sT6nRpIHjppXO2AwwEOg0bPFVRcmXw==",+ "license": "MIT",+ "dependencies": {+ "pump": "^3.0.0",+ "tar-stream": "^3.1.5"+ },+ "optionalDependencies": {+ "bare-fs": "^4.0.1",+ "bare-path": "^3.0.0"+ }+ },+ "node_modules/tar-stream": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.0.tgz",+ "integrity": "sha512-ojzvCvVaNp6aOTFmG7jaRD0meowIAuPc3cMMhSgKiVWws1GyHbGd/xvnyuRKcKlMpt3qvxx6r0hreCNITP9hIg==",+ "license": "MIT",+ "dependencies": {+ "b4a": "^1.6.4",+ "bare-fs": "^4.5.5",+ "fast-fifo": "^1.2.0",+ "streamx": "^2.15.0"+ }+ },+ "node_modules/teex": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/teex/-/teex-1.0.1.tgz",+ "integrity": "sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg==",+ "license": "MIT",+ "dependencies": {+ "streamx": "^2.12.5"+ }+ },+ "node_modules/text-decoder": {+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.7.tgz",+ "integrity": "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "b4a": "^1.6.4"+ }+ },+ "node_modules/text-encoding-utf-8": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz",+ "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg=="+ },+ "node_modules/toidentifier": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",+ "license": "MIT",+ "engines": {+ "node": ">=0.6"+ }+ },+ "node_modules/toml": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz",+ "integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==",+ "license": "MIT"+ },+ "node_modules/tr46": {+ "version": "0.0.3",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",+ "license": "MIT"+ },+ "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/type-is": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",+ "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",+ "license": "MIT",+ "dependencies": {+ "content-type": "^2.0.0",+ "media-typer": "^1.1.0",+ "mime-types": "^3.0.0"+ },+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/type-is/node_modules/content-type": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/typed-query-selector": {+ "version": "2.12.2",+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.2.tgz",+ "integrity": "sha512-EOPFbyIub4ngnEdqi2yOcNeDLaX/0jcE1JoAXQDDMIthap7FoN795lc/SHfIq2d416VufXpM8z/lD+WRm2gfOQ==",+ "license": "MIT"+ },+ "node_modules/typescript": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",+ "license": "Apache-2.0",+ "peer": true,+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "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/uniq": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",+ "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==",+ "license": "MIT"+ },+ "node_modules/universalify": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",+ "license": "MIT",+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/unpipe": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/utf-8-validate": {+ "version": "6.0.6",+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-6.0.6.tgz",+ "integrity": "sha512-q3l3P9UtEEiAHcsgsqTgf9PPjctrDWoIXW3NpOHFdRDbLvu4DLIcxHangJ4RLrWkBcKjmcs/6NkerI8T/rE4LA==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/uuid": {+ "version": "8.3.2",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",+ "license": "MIT",+ "bin": {+ "uuid": "dist/bin/uuid"+ }+ },+ "node_modules/vary": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/webdriver-bidi-protocol": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.4.1.tgz",+ "integrity": "sha512-ARrjNjtWRRs2w4Tk7nqrf2gBI0QXWuOmMCx2hU+1jUt6d00MjMxURrhxhGbrsoiZKJrhTSTzbIrc554iKI10qw==",+ "license": "Apache-2.0"+ },+ "node_modules/webidl-conversions": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",+ "license": "BSD-2-Clause"+ },+ "node_modules/whatwg-url": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",+ "license": "MIT",+ "dependencies": {+ "tr46": "~0.0.3",+ "webidl-conversions": "^3.0.0"+ }+ },+ "node_modules/which": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",+ "license": "ISC",+ "dependencies": {+ "isexe": "^2.0.0"+ },+ "bin": {+ "node-which": "bin/node-which"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/wrap-ansi": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",+ "license": "ISC"+ },+ "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/y18n": {+ "version": "5.0.8",+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",+ "license": "ISC",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/yargs": {+ "version": "17.7.2",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",+ "license": "MIT",+ "dependencies": {+ "cliui": "^8.0.1",+ "escalade": "^3.1.1",+ "get-caller-file": "^2.0.5",+ "require-directory": "^2.1.1",+ "string-width": "^4.2.3",+ "y18n": "^5.0.5",+ "yargs-parser": "^21.1.1"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/yargs-parser": {+ "version": "21.1.1",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/yauzl": {+ "version": "2.10.0",+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",+ "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",+ "license": "MIT",+ "dependencies": {+ "buffer-crc32": "~0.2.3",+ "fd-slicer": "~1.1.0"+ }+ },+ "node_modules/zod": {+ "version": "3.25.76",+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"+ }+ },+ "node_modules/zod-to-json-schema": {+ "version": "3.25.2",+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz",+ "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==",+ "license": "ISC",+ "peerDependencies": {+ "zod": "^3.25.28 || ^4"+ }+ }+ }+}diff --git a/packages/avatar-agent-mcp/package.json b/packages/avatar-agent-mcp/package.jsonnew file mode 100644index 000000000..8cd734897--- /dev/null+++ b/packages/avatar-agent-mcp/package.json@@ -0,0 +1,74 @@+{+ "name": "@three-ws/avatar-agent",+ "version": "1.0.0",+ "mcpName": "io.github.nirholas/3D-AI-Agent-Avatar",+ "description": "3D AI Agent Avatar — MCP server that spawns a textured GLB avatar, inspects/validates/optimizes any 3D model, gives the agent a Solana wallet + a voice, and ships full pump.fun powers (atomic Jito-bundled launches + creator-fee collection). Powered by three.ws.",+ "type": "module",+ "author": "nirholas <[email protected]>",+ "license": "MIT",+ "homepage": "https://three.ws",+ "repository": {+ "type": "git",+ "url": "https://github.com/nirholas/three.ws.git",+ "directory": "packages/avatar-agent-mcp"+ },+ "bugs": {+ "url": "https://github.com/nirholas/three.ws/issues"+ },+ "keywords": [+ "mcp",+ "model-context-protocol",+ "three.ws",+ "avatar",+ "3d",+ "glb",+ "solana",+ "pump.fun",+ "jito",+ "atomic-bundle",+ "wallet",+ "tts",+ "ai-agent",+ "agent-payments",+ "$three"+ ],+ "publishConfig": {+ "access": "public"+ },+ "files": [+ "src",+ "README.md",+ "LICENSE",+ "server.json"+ ],+ "bin": {+ "three-avatar-agent": "./src/index.js",+ "three-avatar-agent-mcp": "./src/index.js"+ },+ "main": "./src/index.js",+ "exports": {+ ".": "./src/index.js"+ },+ "engines": {+ "node": ">=20"+ },+ "scripts": {+ "start": "node src/index.js",+ "inspect": "npx -y @modelcontextprotocol/inspector node src/index.js"+ },+ "dependencies": {+ "@gltf-transform/core": "^4.3.0",+ "@gltf-transform/extensions": "^4.3.0",+ "@gltf-transform/functions": "^4.3.0",+ "@modelcontextprotocol/sdk": "^1.29.0",+ "@nirholas/pump-sdk": "^1.30.0",+ "@solana/spl-token": "^0.4.14",+ "@solana/web3.js": "^1.98.4",+ "bs58": "^6.0.0",+ "draco3dgltf": "^1.5.7",+ "ethers": "^6.16.0",+ "form-data": "^4.0.5",+ "gltf-validator": "^2.0.0-dev.3.10",+ "zod": "^3.23.8"+ }+}diff --git a/packages/avatar-agent-mcp/server.json b/packages/avatar-agent-mcp/server.jsonnew file mode 100644index 000000000..41b1c0bcd--- /dev/null+++ b/packages/avatar-agent-mcp/server.json@@ -0,0 +1,75 @@+{+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",+ "name": "io.github.nirholas/3D-AI-Agent-Avatar",+ "description": "3D AI Agent Avatar — spawn a textured GLB avatar, inspect/validate/optimize any 3D model, give the agent a Solana wallet + a voice, and ship full pump.fun powers (atomic Jito-bundled launches + creator-fee collection).",+ "repository": {+ "url": "https://github.com/nirholas/three.ws",+ "source": "github"+ },+ "version": "1.0.0",+ "packages": [+ {+ "registryType": "npm",+ "identifier": "@three-ws/avatar-agent",+ "version": "1.0.0",+ "transport": {+ "type": "stdio"+ },+ "environmentVariables": [+ {+ "name": "SOLANA_RPC_URL",+ "description": "Solana mainnet RPC endpoint. Defaults to https://api.mainnet-beta.solana.com — bring your own (Helius / QuickNode / Triton) for production traffic.",+ "format": "string",+ "isRequired": false,+ "default": "https://api.mainnet-beta.solana.com"+ },+ {+ "name": "ETH_RPC_URL",+ "description": "Ethereum mainnet RPC for ENS resolution. Optional — falls back to ethers' default public providers.",+ "format": "string",+ "isRequired": false+ },+ {+ "name": "HELIUS_API_KEY",+ "description": "Optional Helius API key — enables exact supply + DAS data in pump_snapshot.",+ "format": "string",+ "isRequired": false,+ "isSecret": true+ },+ {+ "name": "OPENAI_API_KEY",+ "description": "Required for the speak tool (OpenAI TTS).",+ "format": "string",+ "isRequired": false,+ "isSecret": true+ },+ {+ "name": "REPLICATE_API_TOKEN",+ "description": "Required for the generate_avatar tool (Replicate text/image-to-3D).",+ "format": "string",+ "isRequired": false,+ "isSecret": true+ },+ {+ "name": "REPLICATE_TEXT_TO_AVATAR_MODEL",+ "description": "Replicate version hash pinned for text-to-3D — recommended: latest tencent/hunyuan-3d-3.1.",+ "format": "string",+ "isRequired": false+ },+ {+ "name": "SOLANA_SECRET_KEY",+ "description": "Optional default base58 Solana secret for wallet_send / pump_buy. Per-call secret args override this. Treat like cash.",+ "format": "string",+ "isRequired": false,+ "isSecret": true+ },+ {+ "name": "THREE_MINT",+ "description": "Optional pump.fun mint address for $three so tools accept target=\"three\" as shorthand.",+ "format": "string",+ "isRequired": false+ }+ ]+ }+ ]+}diff --git a/packages/avatar-agent-mcp/src/config.js b/packages/avatar-agent-mcp/src/config.jsnew file mode 100644index 000000000..dc5c3a454--- /dev/null+++ b/packages/avatar-agent-mcp/src/config.js@@ -0,0 +1,31 @@+// Centralized env access. The MCP server is user-keyed: every Solana+// signing operation requires the user to supply a keypair via env or via+// tool arguments. We never sign on behalf of someone with a baked-in key.++export function env(key, fallback) {+ const v = process.env[key];+ return v !== undefined && String(v).trim() !== '' ? String(v).trim() : fallback;+}++export const SOLANA_RPC_URL = env('SOLANA_RPC_URL', 'https://api.mainnet-beta.solana.com');+export const ETH_RPC_URL = env('ETH_RPC_URL') || env('MAINNET_RPC_URL') || null;+export const HELIUS_API_KEY = env('HELIUS_API_KEY', '');+export const OPENAI_API_KEY = env('OPENAI_API_KEY', '');+export const REPLICATE_API_TOKEN = env('REPLICATE_API_TOKEN', '');+export const REPLICATE_TEXT_TO_AVATAR_MODEL = env('REPLICATE_TEXT_TO_AVATAR_MODEL', '');++// Optional default signer for Solana ops. Tools that sign accept a `secret`+// argument that overrides this on a per-call basis.+export const SOLANA_DEFAULT_SECRET = env('SOLANA_SECRET_KEY') || env('FUNDER_SECRET') || '';++// $three is the official three.ws token on pump.fun. Used as the canonical+// example mint in tool examples and README demos.+export const THREE_MINT = env(+ 'THREE_MINT',+ // Placeholder until the user pins their real $three CA. Override via+ // the THREE_MINT env var when running the MCP.+ '',+);++export const VIEWER_BASE = env('VIEWER_BASE', 'https://three.ws/viewer');+export const THREE_WS_BASE = env('THREE_WS_BASE', 'https://three.ws');diff --git a/packages/avatar-agent-mcp/src/index.js b/packages/avatar-agent-mcp/src/index.jsnew file mode 100755index 000000000..b7635fe5e--- /dev/null+++ b/packages/avatar-agent-mcp/src/index.js@@ -0,0 +1,123 @@+#!/usr/bin/env node+// @three-ws/avatar-agent — MCP server entry point.+//+// Boots a Model Context Protocol server over stdio that gives any AI+// assistant a 3D avatar, a Solana wallet, a voice, and full pump.fun+// powers (snapshots + Jupiter buys + atomic Jito-bundled launches ++// creator-fee collection).+//+// Run standalone:+// node packages/avatar-agent-mcp/src/index.js+//+// Or wire into Claude Desktop / Cursor — see README.md.++import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';+import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';++import { def as inspectGlb } from './tools/inspect-glb.js';+import { def as validateGlb } from './tools/validate-glb.js';+import { def as optimizeGlb } from './tools/optimize-glb.js';+import { def as thumbnailGlb } from './tools/thumbnail-glb.js';+import { def as viewerUrl } from './tools/viewer-url.js';+import { def as listAvatars } from './tools/list-avatars.js';+import { def as listAnimations } from './tools/list-animations.js';+import { def as spawnAvatar } from './tools/spawn-avatar.js';+import { def as dressAvatar } from './tools/dress-avatar.js';+import { def as renderAvatar } from './tools/render-avatar.js';+import { def as generateAvatar } from './tools/generate-avatar.js';+import { def as speak } from './tools/speak.js';+import { def as walletCreate } from './tools/wallet-create.js';+import { def as walletBalance } from './tools/wallet-balance.js';+import { def as walletSend } from './tools/wallet-send.js';+import { def as pumpSnapshot } from './tools/pump-snapshot.js';+import { def as pumpBuy } from './tools/pump-buy.js';+import { def as pumpLaunch } from './tools/pump-launch.js';+import { def as pumpCollect } from './tools/pump-collect.js';+import { def as ensSnsResolve } from './tools/ens-sns-resolve.js';++const TOOLS = [+ // 3D toolkit — universal GLB / glTF tools+ inspectGlb,+ validateGlb,+ optimizeGlb,+ thumbnailGlb,+ viewerUrl,+ // Avatar+ listAvatars,+ listAnimations,+ spawnAvatar,+ dressAvatar,+ renderAvatar,+ generateAvatar,+ speak,+ // Wallet+ walletCreate,+ walletBalance,+ walletSend,+ // pump.fun+ pumpSnapshot,+ pumpBuy,+ pumpLaunch,+ pumpCollect,+ // Identity+ ensSnsResolve,+];++async function main() {+ const server = new McpServer(+ { name: '3d-ai-agent-avatar', version: '1.0.0' },+ {+ capabilities: { tools: {} },+ instructions:+ '3D AI Agent Avatar — a complete 3D MCP toolkit plus a Solana-wallet-bearing, pump.fun-trading avatar agent. ' ++ '3D tools (work on any GLB URL, no avatar required): inspect_glb returns mesh/material/animation/bbox stats; ' ++ 'validate_glb runs the official Khronos validator; optimize_glb runs dedup/prune/weld/Draco and returns the ' ++ 'smaller GLB inline; thumbnail_glb renders any GLB to a PNG via three.ws\'s hosted three-light rig (the same ' ++ 'pipeline that generates OG cards); viewer_url builds a three.ws/viewer link + iframe embed. ' ++ 'Avatar flow: list_avatars → list_animations → spawn_avatar (preset "default"/"cz" or any GLB) → dress_avatar → ' ++ 'render_avatar (pose + camera orbit + ARKit-52 expression → real PNG) → speak. generate_avatar text/image-to-3D ' ++ 'via Replicate. wallet_create (optional vanity grinder) gives the avatar a Solana wallet; wallet_balance, ' ++ 'wallet_send for SOL ops. ' ++ 'pump.fun: pump_snapshot for live market data (target="three" for $three); pump_buy via Jupiter, optional Jito ' ++ 'bundle; pump_launch is an atomic Jito-bundled launch with separate funder + creator; pump_collect_fees drains ' ++ 'pump.fun creator-fee vaults atomically. ens_sns_resolve for .eth / .sol names.',+ },+ );++ for (const tool of TOOLS) {+ server.registerTool(+ tool.name,+ {+ title: tool.title,+ description: tool.description,+ inputSchema: tool.inputSchema,+ },+ async (args, extra) => {+ try {+ const result = await tool.handler(args, extra);+ const text = typeof result === 'string' ? result : JSON.stringify(result, null, 2);+ return { content: [{ type: 'text', text }] };+ } catch (err) {+ const payload = {+ ok: false,+ error: err?.code || 'unhandled',+ message: err?.message || String(err),+ };+ return {+ content: [{ type: 'text', text: JSON.stringify(payload, null, 2) }],+ isError: true,+ };+ }+ },+ );+ }++ const transport = new StdioServerTransport();+ await server.connect(transport);+ console.error(`[3d-ai-agent-avatar] connected over stdio with ${TOOLS.length} tools`);+}++main().catch((err) => {+ console.error('[3d-ai-agent-avatar] fatal:', err);+ process.exit(1);+});diff --git a/packages/avatar-agent-mcp/src/lib/atomic-collect.js b/packages/avatar-agent-mcp/src/lib/atomic-collect.jsnew file mode 100644index 000000000..0a6f38682--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/atomic-collect.js@@ -0,0 +1,141 @@+// Atomic pump.fun creator-fee collection via a Jito bundle.+//+// Ported from nirholas/atomic's collect-jito.js. Single tx in the bundle:+// 1. Funder pays fee + tip+// 2. Creator signs `collectCoinCreatorFee` (drains pump.fun's vault to creator)+// 3. Creator signs a SystemProgram transfer of the freshly-collected SOL+// to a safe DESTINATION wallet+//+// All three steps live in one tx, so even if the creator key is leaked /+// shared, no other holder of that key can interleave a tx between the+// collect and the drain.++import {+ PublicKey,+ SystemProgram,+ TransactionMessage,+ VersionedTransaction,+ ComputeBudgetProgram,+ LAMPORTS_PER_SOL,+} from '@solana/web3.js';++import { bs58encode, getConnection, keypairFromSecret } from './solana.js';+import { randomTipAccount, submitBundle, waitForSignatures } from './jito.js';++// Rent-exempt minimum for a bare system account. Leaving exactly this in+// the creator keeps the account alive without locking up unnecessary SOL.+const RENT_EXEMPT_LAMPORTS = 890_880;++export async function atomicCollect({+ funderSecret,+ creatorSecret,+ destination,+ jitoTipSol = 0.005,+ priorityMicroLamports = 3_000_000,+ bufferLamports = RENT_EXEMPT_LAMPORTS,+ minVaultSol = 0.001,+}) {+ if (!destination) throw new Error('atomicCollect: destination is required');+ const destinationPk = new PublicKey(destination);+ const funder = keypairFromSecret(funderSecret);+ const creator = keypairFromSecret(creatorSecret);++ const pumpSdkPkg = await import('@nirholas/pump-sdk');+ const OnlinePumpSdk = pumpSdkPkg.OnlinePumpSdk || pumpSdkPkg.default?.OnlinePumpSdk;+ if (!OnlinePumpSdk) {+ throw new Error('@nirholas/pump-sdk: OnlinePumpSdk export missing');+ }+ const conn = getConnection();+ const sdk = new OnlinePumpSdk(conn);++ const vaultBalance = await sdk.getCreatorVaultBalance(creator.publicKey);+ const vaultLamports = Number(vaultBalance);+ if (vaultLamports < Math.floor(minVaultSol * LAMPORTS_PER_SOL)) {+ return {+ ok: false,+ code: 'vault_too_small',+ vaultSol: vaultLamports / LAMPORTS_PER_SOL,+ minSol: minVaultSol,+ };+ }++ const creatorPreBal = await conn.getBalance(creator.publicKey, 'confirmed');+ const transferAmount = creatorPreBal + vaultLamports - bufferLamports;+ if (transferAmount <= 0) {+ return {+ ok: false,+ code: 'nothing_to_drain',+ vaultSol: vaultLamports / LAMPORTS_PER_SOL,+ creatorPreBalSol: creatorPreBal / LAMPORTS_PER_SOL,+ };+ }++ const funderBal = await conn.getBalance(funder.publicKey, 'confirmed');+ const needed = (jitoTipSol + 0.002) * LAMPORTS_PER_SOL;+ if (funderBal < needed) {+ const err = new Error(+ `Funder needs >= ${(needed / LAMPORTS_PER_SOL).toFixed(4)} SOL; has ${(funderBal / LAMPORTS_PER_SOL).toFixed(4)} SOL.`,+ );+ err.code = 'insufficient_funds';+ throw err;+ }++ const tipAccount = randomTipAccount();+ const collectIxs = await sdk.collectCoinCreatorFeeInstructions(creator.publicKey, funder.publicKey);+ const { blockhash } = await conn.getLatestBlockhash('confirmed');++ const msg = new TransactionMessage({+ payerKey: funder.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityMicroLamports }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 100_000 }),+ SystemProgram.transfer({+ fromPubkey: funder.publicKey,+ toPubkey: tipAccount,+ lamports: Math.floor(jitoTipSol * LAMPORTS_PER_SOL),+ }),+ ...collectIxs,+ SystemProgram.transfer({+ fromPubkey: creator.publicKey,+ toPubkey: destinationPk,+ lamports: transferAmount,+ }),+ ],+ }).compileToV0Message();++ const tx = new VersionedTransaction(msg);+ tx.sign([funder, creator]);++ // Simulate first so we surface program errors before paying the tip.+ const sim = await conn.simulateTransaction(tx, { sigVerify: false, replaceRecentBlockhash: false });+ if (sim.value.err) {+ return {+ ok: false,+ code: 'simulation_failed',+ err: sim.value.err,+ logs: sim.value.logs,+ };+ }++ const bundle = [bs58encode(tx.serialize())];+ const { bundleId, explorer } = await submitBundle(bundle);+ const sig = bs58encode(tx.signatures[0]);+ const wait = await waitForSignatures(conn, [sig], { timeoutMs: 60_000, intervalMs: 2_000 });++ return {+ ok: wait.ok,+ bundleId,+ bundleExplorer: explorer,+ signature: sig,+ statuses: wait.statuses,+ err: wait.err,+ creator: creator.publicKey.toBase58(),+ destination,+ drainedLamports: transferAmount,+ drainedSol: transferAmount / LAMPORTS_PER_SOL,+ vaultLamports,+ vaultSol: vaultLamports / LAMPORTS_PER_SOL,+ txExplorer: `https://solscan.io/tx/${sig}`,+ };+}diff --git a/packages/avatar-agent-mcp/src/lib/atomic-launch.js b/packages/avatar-agent-mcp/src/lib/atomic-launch.jsnew file mode 100644index 000000000..5edb4209c--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/atomic-launch.js@@ -0,0 +1,184 @@+// Atomic pump.fun token launch via a Jito bundle.+//+// Ported from nirholas/atomic's fire-jito.js. Two-tx bundle:+// Tx 1 (funder pays fee + tip): transfer rent SOL to creator + Jito tip+// Tx 2 (creator pays fee): pump.fun createV2 instruction+//+// Both txs share the same recent blockhash and are submitted as a bundle to+// Jito's mainnet block engine. Either both land or neither does — so no+// MEV searcher can interleave, and the creator wallet doesn't need to hold+// SOL before the launch.+//+// This is the "real launch" path: the on-chain `creator` field on the mint+// is the creator wallet, not the funder. That matters because pump.fun's+// creator-fee accrual follows the creator key.++import {+ Keypair,+ PublicKey,+ SystemProgram,+ TransactionMessage,+ VersionedTransaction,+ ComputeBudgetProgram,+ LAMPORTS_PER_SOL,+} from '@solana/web3.js';+import FormData from 'form-data';++import { bs58encode, bs58decode, getConnection, keypairFromSecret } from './solana.js';+import { JITO_TIP_ACCOUNTS, randomTipAccount, submitBundle, waitForSignatures } from './jito.js';++const PUMP_IPFS_URL = 'https://pump.fun/api/ipfs';++// Upload token metadata + image to pump.fun's IPFS endpoint. Returns the+// metadata URI you feed into createV2. If no imageUrl is provided we use a+// 1x1 transparent PNG placeholder so the form is valid; pass an imageUrl+// to use a real image fetched at upload time.+export async function uploadPumpMetadata({ name, symbol, description = '', twitter = '', telegram = '', website = '', imageUrl, showName = true }) {+ if (!name) throw new Error('uploadPumpMetadata: name is required');+ if (!symbol) throw new Error('uploadPumpMetadata: symbol is required');+ const form = new FormData();+ let imageBuf;+ let imageName = 'placeholder.png';+ let imageType = 'image/png';+ if (imageUrl) {+ const r = await fetch(imageUrl);+ if (!r.ok) throw new Error(`Failed to fetch imageUrl: HTTP ${r.status}`);+ imageBuf = Buffer.from(await r.arrayBuffer());+ const ext = (imageUrl.split('?')[0].split('.').pop() || 'png').toLowerCase();+ imageName = `image.${ext}`;+ imageType = r.headers.get('content-type') || imageType;+ } else {+ imageBuf = Buffer.from(+ '89504e470d0a1a0a0000000d49484452000000010000000108060000001f15c4890000000d49444154' ++ '78da63fcffff3f0305000601018a0c1d990000000049454e44ae426082',+ 'hex',+ );+ }+ form.append('file', imageBuf, { filename: imageName, contentType: imageType });+ form.append('name', name);+ form.append('symbol', symbol);+ form.append('description', description);+ form.append('twitter', twitter);+ form.append('telegram', telegram);+ form.append('website', website);+ form.append('showName', String(showName));++ const res = await fetch(PUMP_IPFS_URL, {+ method: 'POST',+ body: form,+ headers: form.getHeaders(),+ });+ if (!res.ok) {+ const txt = await res.text().catch(() => '');+ throw new Error(`pump.fun IPFS upload failed (${res.status}): ${txt.slice(0, 300)}`);+ }+ const json = await res.json();+ return {+ uri: json.metadataUri || json.metadata_uri || null,+ raw: json,+ };+}++export async function atomicLaunch({+ name,+ symbol,+ uri,+ funderSecret,+ creatorSecret,+ mintSecret,+ rentSol = 0.035,+ jitoTipSol = 0.005,+ priorityMicroLamports = 2_000_000,+ mayhemMode = false,+ cashback = false,+}) {+ if (!name) throw new Error('atomicLaunch: name is required');+ if (!symbol) throw new Error('atomicLaunch: symbol is required');+ if (!uri) throw new Error('atomicLaunch: uri is required (call uploadPumpMetadata first or pass an existing one)');++ const funder = keypairFromSecret(funderSecret);+ const creator = keypairFromSecret(creatorSecret);+ const mint = mintSecret+ ? Keypair.fromSecretKey(bs58decode(mintSecret))+ : Keypair.generate();++ // pump-sdk is a CJS module — import dynamically so this file can stay ESM.+ const pumpSdkPkg = await import('@nirholas/pump-sdk');+ const PUMP_SDK = pumpSdkPkg.PUMP_SDK || pumpSdkPkg.default?.PUMP_SDK;+ if (!PUMP_SDK || typeof PUMP_SDK.createV2Instruction !== 'function') {+ throw new Error('@nirholas/pump-sdk: PUMP_SDK.createV2Instruction not found in installed version');+ }++ const conn = getConnection();+ const funderBal = await conn.getBalance(funder.publicKey, 'confirmed');+ const needed = (rentSol + jitoTipSol + 0.002) * LAMPORTS_PER_SOL;+ if (funderBal < needed) {+ const err = new Error(+ `Funder needs >= ${(needed / LAMPORTS_PER_SOL).toFixed(4)} SOL; has ${(funderBal / LAMPORTS_PER_SOL).toFixed(4)} SOL.`,+ );+ err.code = 'insufficient_funds';+ throw err;+ }++ const tipAccount = randomTipAccount();+ const { blockhash } = await conn.getLatestBlockhash('confirmed');++ const tx1Msg = new TransactionMessage({+ payerKey: funder.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityMicroLamports }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 1000 }),+ SystemProgram.transfer({ fromPubkey: funder.publicKey, toPubkey: creator.publicKey, lamports: Math.floor(rentSol * LAMPORTS_PER_SOL) }),+ SystemProgram.transfer({ fromPubkey: funder.publicKey, toPubkey: tipAccount, lamports: Math.floor(jitoTipSol * LAMPORTS_PER_SOL) }),+ ],+ }).compileToV0Message();+ const tx1 = new VersionedTransaction(tx1Msg);+ tx1.sign([funder]);++ const createIx = await PUMP_SDK.createV2Instruction({+ mint: mint.publicKey,+ name,+ symbol,+ uri,+ creator: creator.publicKey,+ user: creator.publicKey,+ mayhemMode,+ cashback,+ });+ const tx2Msg = new TransactionMessage({+ payerKey: creator.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityMicroLamports }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 300_000 }),+ createIx,+ ],+ }).compileToV0Message();+ const tx2 = new VersionedTransaction(tx2Msg);+ tx2.sign([creator, mint]);++ const bundle = [bs58encode(tx1.serialize()), bs58encode(tx2.serialize())];+ const { bundleId, explorer } = await submitBundle(bundle);++ const sig1 = bs58encode(tx1.signatures[0]);+ const sig2 = bs58encode(tx2.signatures[0]);+ const wait = await waitForSignatures(conn, [sig1, sig2], { timeoutMs: 60_000, intervalMs: 2_000 });++ return {+ ok: wait.ok,+ bundleId,+ bundleExplorer: explorer,+ mint: mint.publicKey.toBase58(),+ mintSecret: bs58encode(mint.secretKey),+ creator: creator.publicKey.toBase58(),+ funder: funder.publicKey.toBase58(),+ tx1Signature: sig1,+ tx2Signature: sig2,+ statuses: wait.statuses,+ err: wait.err,+ pumpUrl: `https://pump.fun/coin/${mint.publicKey.toBase58()}`,+ fundingTxExplorer: `https://solscan.io/tx/${sig1}`,+ createTxExplorer: `https://solscan.io/tx/${sig2}`,+ };+}diff --git a/packages/avatar-agent-mcp/src/lib/avatars.js b/packages/avatar-agent-mcp/src/lib/avatars.jsnew file mode 100644index 000000000..e60887ecc--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/avatars.js@@ -0,0 +1,94 @@+// Curated catalog of default avatars + accessories served from the+// three.ws public CDN. All URLs are public and cacheable — no auth needed.+//+// The MCP keeps avatar sessions in-process: spawning an avatar returns a+// session id that other tools (dress_avatar, viewer_url, render_clip) can+// reference. Sessions don't persist across MCP restarts; for production+// flows the client should re-call spawn_avatar.++import { randomUUID } from 'node:crypto';++import { THREE_WS_BASE, VIEWER_BASE } from '../config.js';++export const DEFAULT_AVATARS = [+ {+ id: 'default',+ name: 'three.ws default',+ description: 'Stylized humanoid base mesh, rigged with the three.ws standard skeleton. Good starting point for any persona.',+ glb: `${THREE_WS_BASE}/avatars/default.glb`,+ thumbnail: null,+ },+ {+ id: 'cz',+ name: 'CZ',+ description: 'Suited exchange-founder type with a clean rig. Drops well-known crypto vibes into your demo.',+ glb: `${THREE_WS_BASE}/avatars/cz.glb`,+ thumbnail: null,+ },+];++export const ACCESSORIES = [+ { id: 'hat-baseball', slot: 'head', glb: `${THREE_WS_BASE}/accessories/hat-baseball.glb`, name: 'Baseball cap' },+ { id: 'hat-beanie', slot: 'head', glb: `${THREE_WS_BASE}/accessories/hat-beanie.glb`, name: 'Beanie' },+ { id: 'hat-cowboy', slot: 'head', glb: `${THREE_WS_BASE}/accessories/hat-cowboy.glb`, name: 'Cowboy hat' },+ { id: 'glasses-round', slot: 'face', glb: `${THREE_WS_BASE}/accessories/glasses-round.glb`, name: 'Round glasses' },+ { id: 'glasses-shades', slot: 'face', glb: `${THREE_WS_BASE}/accessories/glasses-shades.glb`, name: 'Shades' },+ { id: 'earrings-hoops', slot: 'ears', glb: `${THREE_WS_BASE}/accessories/earrings-hoops.glb`, name: 'Hoop earrings' },+ { id: 'earrings-studs', slot: 'ears', glb: `${THREE_WS_BASE}/accessories/earrings-studs.glb`, name: 'Stud earrings' },+];++export const POSE_PRESETS = [+ 'idle', 'wave', 'thumbs_up', 'dab', 't_pose', 'sit', 'point', 'salute', 'cheer',+];++export function findAvatar(id) {+ return DEFAULT_AVATARS.find((a) => a.id === id) || null;+}++export function findAccessory(id) {+ return ACCESSORIES.find((a) => a.id === id) || null;+}++// In-memory session store. Maps sessionId → { avatar, accessories[], pose,+// voice, createdAt, lastUpdated }.+const sessions = new Map();++export function createSession({ glb, name, voice, persona, accessories = [], pose = 'idle' }) {+ const id = randomUUID();+ const session = {+ id,+ name: name || null,+ persona: persona || null,+ voice: voice || 'nova',+ avatar: { glb, source: glb.startsWith(THREE_WS_BASE) ? 'three.ws' : 'external' },+ accessories: accessories.slice(),+ pose,+ wallet: null,+ createdAt: new Date().toISOString(),+ lastUpdated: new Date().toISOString(),+ };+ sessions.set(id, session);+ return session;+}++export function getSession(id) {+ return sessions.get(id) || null;+}++export function updateSession(id, patch) {+ const s = sessions.get(id);+ if (!s) return null;+ Object.assign(s, patch, { lastUpdated: new Date().toISOString() });+ return s;+}++export function listSessions() {+ return [...sessions.values()];+}++export function viewerUrlFor(session) {+ const params = new URLSearchParams({ src: session.avatar.glb });+ if (session.accessories.length) params.set('accessories', session.accessories.map((a) => a.id).join(','));+ if (session.pose && session.pose !== 'idle') params.set('pose', session.pose);+ return `${VIEWER_BASE}?${params.toString()}`;+}diff --git a/packages/avatar-agent-mcp/src/lib/ens-sns.js b/packages/avatar-agent-mcp/src/lib/ens-sns.jsnew file mode 100644index 000000000..f190f1566--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/ens-sns.js@@ -0,0 +1,105 @@+// ENS (Ethereum) + SNS (Solana) name resolution.+//+// ENS: ethers JsonRpcProvider against the configured ETH_RPC_URL, falling+// back to ethers' default public provider rotation.+// SNS: Bonfida's sns-api (the same service three.ws uses on the web side).++import { ethers } from 'ethers';++import { ETH_RPC_URL } from '../config.js';++const ENS_RE = /^(?:[a-z0-9-]+\.)*[a-z0-9-]+\.eth$/i;+const SOL_RE = /^[a-z0-9-]{1,63}(?:\.sol)?$/i;+const SNS_API = 'https://sns-api.bonfida.com';++async function withTimeout(promise, ms, label) {+ const timeout = new Promise((_, rej) => setTimeout(() => rej(new Error(`${label} timed out after ${ms}ms`)), ms));+ return Promise.race([promise, timeout]);+}++async function resolveEns(name) {+ const provider = ETH_RPC_URL+ ? new ethers.JsonRpcProvider(ETH_RPC_URL)+ : ethers.getDefaultProvider('mainnet');+ const address = await withTimeout(provider.resolveName(name), 4000, 'ens');+ if (!address) return null;+ let reverseName = null;+ try {+ reverseName = await withTimeout(provider.lookupAddress(address), 3000, 'ens-reverse');+ } catch {+ // best effort+ }+ return { network: 'ethereum', name, address, reverseName, rpc: ETH_RPC_URL || 'ethers-default' };+}++async function resolveSns(name) {+ const bare = name.toLowerCase().replace(/\.sol$/, '');+ if (!/^[a-z0-9-]{1,63}$/.test(bare)) return null;+ const lookup = await fetch(`${SNS_API}/v2/domain/lookup/${bare}.sol`).catch(() => null);+ if (!lookup || !lookup.ok) return null;+ const data = await lookup.json().catch(() => null);+ const owner = data?.owner || data?.[bare + '.sol']?.owner || data?.data?.owner || null;+ if (!owner) return null;++ let allDomains = [];+ try {+ const r = await fetch(`${SNS_API}/v2/user/domains/${owner}`);+ if (r.ok) {+ const body = await r.json();+ const list = body?.[owner] || body?.data?.[owner] || [];+ if (Array.isArray(list)) {+ allDomains = list+ .map((d) => (typeof d === 'string' ? d : d?.domain || d?.name))+ .filter(Boolean);+ }+ }+ } catch {+ // best effort+ }++ let favoriteDomain = null;+ try {+ const r = await fetch(`${SNS_API}/v2/user/fav-domains/${owner}`);+ if (r.ok) {+ const body = await r.json();+ favoriteDomain = body?.[owner] || body?.data?.[owner] || null;+ }+ } catch {+ // best effort+ }++ return {+ network: 'solana',+ name: `${bare}.sol`,+ address: owner,+ favoriteDomain,+ allDomains,+ source: `${SNS_API}/v2/domain/lookup/${bare}.sol`,+ };+}++export async function resolveName(name) {+ const trimmed = String(name || '').trim().toLowerCase();+ const isEns = ENS_RE.test(trimmed);+ const isSol = /\.sol$/.test(trimmed) || (!isEns && SOL_RE.test(trimmed));++ const tasks = [];+ if (isEns) tasks.push(['ens', resolveEns(trimmed).catch((e) => ({ error: e?.message || 'ens failed' }))]);+ if (isSol) tasks.push(['sns', resolveSns(trimmed).catch((e) => ({ error: e?.message || 'sns failed' }))]);+ if (!isEns && !isSol) {+ return { ok: false, error: 'invalid_name', message: 'name does not look like a .eth, .sol, or bare label' };+ }+ const results = await Promise.all(tasks.map((t) => t[1]));+ const out = { ok: false, input: trimmed, ens: null, sns: null };+ tasks.forEach(([key], i) => {+ out[key] = results[i] || null;+ });+ if (out.ens && !out.ens.error) out.ok = true;+ if (out.sns && !out.sns.error) out.ok = true;+ if (!out.ok) {+ out.error = 'not_found';+ out.message = 'name did not resolve in either ENS or SNS';+ }+ out.fetchedAt = new Date().toISOString();+ return out;+}diff --git a/packages/avatar-agent-mcp/src/lib/glb-io.js b/packages/avatar-agent-mcp/src/lib/glb-io.jsnew file mode 100644index 000000000..37f224b86--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/glb-io.js@@ -0,0 +1,59 @@+// glTF / GLB I/O helpers — load a GLB from a URL or a base64 data URL into+// a @gltf-transform/core Document, and serialize back to bytes when needed.+//+// The @gltf-transform NodeIO reader does the binary parsing (BIN chunk ++// JSON chunk per the glTF 2.0 spec). We attach the Draco extension on+// both reader + writer so already-Draco-compressed meshes round-trip+// correctly.++import { NodeIO } from '@gltf-transform/core';+import { KHRDracoMeshCompression, ALL_EXTENSIONS } from '@gltf-transform/extensions';+import draco3dgltf from 'draco3dgltf';++let _io = null;++async function buildIo() {+ const [encoder, decoder] = await Promise.all([+ draco3dgltf.createEncoderModule(),+ draco3dgltf.createDecoderModule(),+ ]);+ return new NodeIO()+ .registerExtensions(ALL_EXTENSIONS)+ .registerDependencies({+ 'draco3d.encoder': encoder,+ 'draco3d.decoder': decoder,+ });+}++export async function getIo() {+ if (!_io) _io = await buildIo();+ return _io;+}++export async function fetchGlbBytes(url) {+ if (url.startsWith('data:')) {+ const comma = url.indexOf(',');+ if (comma === -1) throw new Error('Invalid data URL');+ const meta = url.slice(5, comma);+ const data = url.slice(comma + 1);+ if (meta.includes(';base64')) {+ return Buffer.from(data, 'base64');+ }+ return Buffer.from(decodeURIComponent(data), 'utf8');+ }+ const r = await fetch(url);+ if (!r.ok) throw new Error(`Failed to fetch ${url}: HTTP ${r.status}`);+ return Buffer.from(await r.arrayBuffer());+}++export async function readDocument(url) {+ const io = await getIo();+ const bytes = await fetchGlbBytes(url);+ const doc = await io.readBinary(bytes);+ return { doc, bytes };+}++export async function writeBinary(doc) {+ const io = await getIo();+ return io.writeBinary(doc);+}diff --git a/packages/avatar-agent-mcp/src/lib/jito.js b/packages/avatar-agent-mcp/src/lib/jito.jsnew file mode 100644index 000000000..5b4dfa6a1--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/jito.js@@ -0,0 +1,72 @@+// Jito Block Engine helpers.+//+// We submit pre-signed transaction bundles to Jito's mainnet block engine.+// A bundle of 1-5 transactions either all land in the same block or none+// land — atomicity is what enables the launch-and-collect tricks in+// nirholas/atomic (separate funder and creator wallets, leaked-key+// rescues, sniper-resistant launches).+//+// Jito tip accounts rotate occasionally; if you start hitting+// "Bundles must write lock at least one tip account" errors, fetch fresh+// ones via the getTipAccounts JSON-RPC method against the block engine.++import { PublicKey } from '@solana/web3.js';++export const JITO_BUNDLE_URL = 'https://mainnet.block-engine.jito.wtf/api/v1/bundles';++export const JITO_TIP_ACCOUNTS = [+ 'ADuUkR4vqLUMWXxW9gh6D6L8pMSawimctcNZ5pGwDcEt',+ 'HFqU5x63VTqvQss8hp11i4wVV8bD44PvwucfZ2bU7gRe',+ 'Cw8CFyM9FkoMi7K7Crf6HNQqf4uEMzpKw6QNghXLvLkY',+ 'ADaUMid9yfUytqMBgopwjb2DTLSokTSzL1zt6iGPaS49',+ 'DttWaMuVvTiduZRnguLF7jNxTgiMBZ1hyAumKUiL2KRL',+ '96gYZGLnJYVFmbjzopPSU6QiEV5fGqZNyN9nmNhvrZU5',+ '3AVi9Tg9Uo68tJfuvoKvqKNWKkC5wPdSSdeBnizKZ6jT',+ 'DfXygSm4jCyNCybVYYK6DwvWqjKee8pbDmJGcLWNDXjh',+];++export function randomTipAccount() {+ return new PublicKey(JITO_TIP_ACCOUNTS[Math.floor(Math.random() * JITO_TIP_ACCOUNTS.length)]);+}++export async function submitBundle(bs58Txs) {+ const res = await fetch(JITO_BUNDLE_URL, {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'sendBundle', params: [bs58Txs] }),+ });+ const body = await res.json().catch(() => ({}));+ if (body.error) {+ const err = new Error(`Jito bundle submit failed: ${JSON.stringify(body.error)}`);+ err.code = 'jito_error';+ err.detail = body.error;+ throw err;+ }+ return {+ bundleId: body.result,+ explorer: `https://explorer.jito.wtf/bundle/${body.result}`,+ };+}++// Poll signature statuses until all are confirmed/failed or the timeout+// elapses. Used after submitting a Jito bundle so callers see a final+// state instead of just the bundle id.+export async function waitForSignatures(connection, signatures, { timeoutMs = 60_000, intervalMs = 2_000 } = {}) {+ const deadline = Date.now() + timeoutMs;+ while (Date.now() < deadline) {+ const sigs = await connection.getSignatureStatuses(signatures);+ const all = sigs?.value || [];+ const allConfirmed = all.length === signatures.length+ && all.every((s) => s?.confirmationStatus === 'confirmed' || s?.confirmationStatus === 'finalized');+ if (allConfirmed) {+ const anyErr = all.find((s) => s?.err);+ return {+ ok: !anyErr,+ err: anyErr?.err || null,+ statuses: all.map((s) => s?.confirmationStatus || null),+ };+ }+ await new Promise((r) => setTimeout(r, intervalMs));+ }+ return { ok: false, err: 'timeout', statuses: null };+}diff --git a/packages/avatar-agent-mcp/src/lib/jupiter-buy.js b/packages/avatar-agent-mcp/src/lib/jupiter-buy.jsnew file mode 100644index 000000000..7f5d745f9--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/jupiter-buy.js@@ -0,0 +1,158 @@+// Jupiter swap for any Solana SPL or pump.fun token.+//+// Two modes:+// - jupiterBuyDirect: the buyer wallet has SOL — single tx, no Jito.+// - jupiterBuyBundled: ported from nirholas/atomic's buy-jito.js. The+// funder transfers SOL to the buyer + Jito tip in Tx1, the buyer signs+// the Jupiter swap in Tx2, both submitted as a bundle. Use this when+// the buyer key is shared/leaked and you must beat sweeper bots.++import {+ PublicKey,+ SystemProgram,+ TransactionMessage,+ VersionedTransaction,+ ComputeBudgetProgram,+ LAMPORTS_PER_SOL,+} from '@solana/web3.js';++import { bs58encode, getConnection, keypairFromSecret } from './solana.js';+import { randomTipAccount, submitBundle, waitForSignatures } from './jito.js';++const SOL_MINT = 'So11111111111111111111111111111111111111112';++async function fetchJupiterQuote({ inputMint = SOL_MINT, outputMint, amount, slippageBps = 500 }) {+ const url = `https://lite-api.jup.ag/swap/v1/quote?inputMint=${inputMint}&outputMint=${outputMint}&amount=${amount}&slippageBps=${slippageBps}`;+ const r = await fetch(url);+ if (!r.ok) {+ const txt = await r.text().catch(() => '');+ throw new Error(`Jupiter quote failed (${r.status}): ${txt.slice(0, 300)}`);+ }+ return r.json();+}++async function fetchJupiterSwapTx({ quoteResponse, userPublicKey, priorityMicroLamports = 2_000_000 }) {+ const r = await fetch('https://lite-api.jup.ag/swap/v1/swap', {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({+ quoteResponse,+ userPublicKey,+ wrapAndUnwrapSol: true,+ computeUnitPriceMicroLamports: priorityMicroLamports,+ }),+ });+ if (!r.ok) {+ const txt = await r.text().catch(() => '');+ throw new Error(`Jupiter swap build failed (${r.status}): ${txt.slice(0, 300)}`);+ }+ return r.json();+}++export async function jupiterBuyDirect({ buyerSecret, targetMint, buySol = 0.01, slippageBps = 500, priorityMicroLamports = 2_000_000 }) {+ const buyer = keypairFromSecret(buyerSecret);+ const conn = getConnection();++ const buyLamports = Math.floor(buySol * LAMPORTS_PER_SOL);+ const quote = await fetchJupiterQuote({ outputMint: targetMint, amount: buyLamports, slippageBps });+ const { swapTransaction } = await fetchJupiterSwapTx({+ quoteResponse: quote,+ userPublicKey: buyer.publicKey.toBase58(),+ priorityMicroLamports,+ });+ const swapTx = VersionedTransaction.deserialize(Buffer.from(swapTransaction, 'base64'));+ swapTx.sign([buyer]);++ const sig = await conn.sendTransaction(swapTx, { maxRetries: 5 });+ const wait = await waitForSignatures(conn, [sig], { timeoutMs: 60_000, intervalMs: 2_000 });++ return {+ ok: wait.ok,+ signature: sig,+ buyer: buyer.publicKey.toBase58(),+ target: targetMint,+ soldSol: buySol,+ expectedOutAmount: quote.outAmount,+ priceImpactPct: quote.priceImpactPct,+ route: Array.isArray(quote.routePlan) ? quote.routePlan.map((r) => r.swapInfo?.label).filter(Boolean) : [],+ statuses: wait.statuses,+ err: wait.err,+ explorer: `https://solscan.io/tx/${sig}`,+ };+}++export async function jupiterBuyBundled({+ funderSecret,+ buyerSecret,+ targetMint,+ buySol = 0.01,+ slippageBps = 500,+ jitoTipSol = 0.005,+ priorityMicroLamports = 2_000_000,+}) {+ const funder = keypairFromSecret(funderSecret);+ const buyer = keypairFromSecret(buyerSecret);+ const conn = getConnection();++ const funderBal = await conn.getBalance(funder.publicKey, 'confirmed');+ const needed = (buySol + 0.005 + jitoTipSol + 0.002) * LAMPORTS_PER_SOL;+ if (funderBal < needed) {+ const err = new Error(+ `Funder needs >= ${(needed / LAMPORTS_PER_SOL).toFixed(4)} SOL; has ${(funderBal / LAMPORTS_PER_SOL).toFixed(4)} SOL.`,+ );+ err.code = 'insufficient_funds';+ throw err;+ }++ const buyLamports = Math.floor(buySol * LAMPORTS_PER_SOL);+ const quote = await fetchJupiterQuote({ outputMint: targetMint, amount: buyLamports, slippageBps });+ const { swapTransaction } = await fetchJupiterSwapTx({+ quoteResponse: quote,+ userPublicKey: buyer.publicKey.toBase58(),+ priorityMicroLamports,+ });+ const swapTx = VersionedTransaction.deserialize(Buffer.from(swapTransaction, 'base64'));+ swapTx.sign([buyer]);++ const transferToBuyer = Math.floor((buySol + 0.005) * LAMPORTS_PER_SOL);+ const tipAccount = randomTipAccount();+ const blockhash = swapTx.message.recentBlockhash;++ const fundMsg = new TransactionMessage({+ payerKey: funder.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityMicroLamports }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 1000 }),+ SystemProgram.transfer({ fromPubkey: funder.publicKey, toPubkey: buyer.publicKey, lamports: transferToBuyer }),+ SystemProgram.transfer({ fromPubkey: funder.publicKey, toPubkey: tipAccount, lamports: Math.floor(jitoTipSol * LAMPORTS_PER_SOL) }),+ ],+ }).compileToV0Message();+ const fundTx = new VersionedTransaction(fundMsg);+ fundTx.sign([funder]);++ const bundle = [bs58encode(fundTx.serialize()), bs58encode(swapTx.serialize())];+ const { bundleId, explorer } = await submitBundle(bundle);+ const sig1 = bs58encode(fundTx.signatures[0]);+ const sig2 = bs58encode(swapTx.signatures[0]);+ const wait = await waitForSignatures(conn, [sig1, sig2], { timeoutMs: 60_000, intervalMs: 2_000 });++ return {+ ok: wait.ok,+ bundleId,+ bundleExplorer: explorer,+ fundTxSignature: sig1,+ swapTxSignature: sig2,+ funder: funder.publicKey.toBase58(),+ buyer: buyer.publicKey.toBase58(),+ target: targetMint,+ soldSol: buySol,+ expectedOutAmount: quote.outAmount,+ priceImpactPct: quote.priceImpactPct,+ route: Array.isArray(quote.routePlan) ? quote.routePlan.map((r) => r.swapInfo?.label).filter(Boolean) : [],+ statuses: wait.statuses,+ err: wait.err,+ fundTxExplorer: `https://solscan.io/tx/${sig1}`,+ swapTxExplorer: `https://solscan.io/tx/${sig2}`,+ };+}diff --git a/packages/avatar-agent-mcp/src/lib/pumpfun.js b/packages/avatar-agent-mcp/src/lib/pumpfun.jsnew file mode 100644index 000000000..e94bb7bc8--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/pumpfun.js@@ -0,0 +1,175 @@+// pump.fun + on-chain snapshot data. Pulls live numbers from public APIs+// and the Solana RPC. No fallbacks, no mocked numbers — if a source is+// unreachable the field is null so callers see the gap clearly.+//+// Sources:+// - Jupiter Lite price API (lite-api.jup.ag/price/v3)+// - Dexscreener tokens API (api.dexscreener.com/latest/dex/tokens/<mint>)+// - pump.fun frontend-api-v3 (frontend-api-v3.pump.fun/coins/<mint>)+// - Solana getTokenLargestAccounts via the configured RPC+// - Optional Helius DAS getAsset (HELIUS_API_KEY)++import { Connection, PublicKey } from '@solana/web3.js';++import { HELIUS_API_KEY, SOLANA_RPC_URL } from '../config.js';++async function fetchJson(url, init = {}, timeoutMs = 8000) {+ const controller = new AbortController();+ const t = setTimeout(() => controller.abort(), timeoutMs);+ try {+ const res = await fetch(url, { ...init, signal: controller.signal });+ if (!res.ok) throw new Error(`${url} → HTTP ${res.status}`);+ return await res.json();+ } finally {+ clearTimeout(t);+ }+}++export async function getJupiterPrice(mint) {+ try {+ const data = await fetchJson(`https://lite-api.jup.ag/price/v3?ids=${mint}`);+ const entry = data?.[mint];+ if (!entry) return null;+ return {+ usdPrice: entry.usdPrice ?? null,+ priceChange24hPct: entry.priceChange24h ?? null,+ liquidityUsd: entry.liquidity ?? null,+ decimals: entry.decimals ?? null,+ blockId: entry.blockId ?? null,+ };+ } catch (err) {+ return { error: err.message };+ }+}++export async function getDexscreener(mint) {+ try {+ const data = await fetchJson(`https://api.dexscreener.com/latest/dex/tokens/${mint}`);+ const pairs = Array.isArray(data?.pairs) ? data.pairs : [];+ if (pairs.length === 0) return null;+ const pair = pairs.reduce((best, p) => {+ const v = Number(p?.volume?.h24 || 0);+ return v > (best?.vol || 0) ? { pair: p, vol: v } : best;+ }, null)?.pair;+ if (!pair) return null;+ return {+ volume24hUsd: Number(pair.volume?.h24 || 0),+ priceUsd: pair.priceUsd ? Number(pair.priceUsd) : null,+ priceChange24hPct: pair.priceChange?.h24 ?? null,+ liquidityUsd: pair.liquidity?.usd ?? null,+ fdvUsd: pair.fdv ?? null,+ marketCapUsd: pair.marketCap ?? null,+ pairAddress: pair.pairAddress,+ dex: pair.dexId,+ chain: pair.chainId,+ url: pair.url,+ txns24h: pair.txns?.h24 ?? null,+ };+ } catch (err) {+ return { error: err.message };+ }+}++export async function getPumpFunMeta(mint) {+ try {+ const data = await fetchJson(`https://frontend-api-v3.pump.fun/coins/${mint}`);+ if (!data || data.error) return null;+ return {+ name: data.name || null,+ symbol: data.symbol || null,+ description: data.description || null,+ imageUrl: data.image_uri || null,+ twitter: data.twitter || null,+ telegram: data.telegram || null,+ website: data.website || null,+ creator: data.creator || null,+ createdAtMs: data.created_timestamp || null,+ complete: !!data.complete,+ marketCapUsd: data.usd_market_cap ?? null,+ marketCapQuote: data.market_cap ?? null,+ totalSupply: data.total_supply_str || data.total_supply || null,+ poolAddress: data.pool_address || null,+ lastTradeTimestampMs: data.last_trade_timestamp || null,+ athMarketCapUsd: data.ath_market_cap ?? null,+ athMarketCapTimestampMs: data.ath_market_cap_timestamp || null,+ program: data.program || null,+ };+ } catch (err) {+ return { error: err.message };+ }+}++export async function getTopHolders(mint) {+ try {+ const conn = new Connection(SOLANA_RPC_URL, 'confirmed');+ const res = await conn.getTokenLargestAccounts(new PublicKey(mint));+ const top = (res?.value || []).map((acct) => ({+ address: acct.address.toBase58(),+ uiAmount: acct.uiAmount,+ amount: acct.amount,+ decimals: acct.decimals,+ }));+ return {+ topHolderCount: top.length,+ topHolders: top,+ };+ } catch (err) {+ return { error: err.message };+ }+}++export async function getHeliusInfo(mint) {+ if (!HELIUS_API_KEY) return null;+ try {+ const url = `https://mainnet.helius-rpc.com/?api-key=${HELIUS_API_KEY}`;+ const body = {+ jsonrpc: '2.0',+ id: 'getAsset',+ method: 'getAsset',+ params: { id: mint, options: { showFungible: true } },+ };+ const data = await fetchJson(url, {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify(body),+ });+ const supply = data?.result?.token_info?.supply ?? null;+ const decimals = data?.result?.token_info?.decimals ?? null;+ const priceInfo = data?.result?.token_info?.price_info ?? null;+ return {+ supply: supply !== null ? String(supply) : null,+ decimals,+ heliusPriceUsd: priceInfo?.price_per_token ?? null,+ };+ } catch (err) {+ return { error: err.message };+ }+}++export async function snapshot(mint) {+ const [price, ds, meta, holders, helius] = await Promise.all([+ getJupiterPrice(mint),+ getDexscreener(mint),+ getPumpFunMeta(mint),+ getTopHolders(mint),+ getHeliusInfo(mint),+ ]);+ return {+ token: mint,+ fetchedAt: new Date().toISOString(),+ price,+ volume24h: ds,+ meta,+ holders,+ helius,+ image: meta?.imageUrl || null,+ pumpUrl: `https://pump.fun/coin/${mint}`,+ sources: {+ price: 'https://lite-api.jup.ag/price/v3',+ volume24h: 'https://api.dexscreener.com',+ meta: 'https://frontend-api-v3.pump.fun',+ holders: SOLANA_RPC_URL,+ helius: HELIUS_API_KEY ? 'https://mainnet.helius-rpc.com' : null,+ },+ };+}diff --git a/packages/avatar-agent-mcp/src/lib/render.js b/packages/avatar-agent-mcp/src/lib/render.jsnew file mode 100644index 000000000..fafaa2115--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/render.js@@ -0,0 +1,76 @@+// Client helpers for the three.ws server-side render endpoints. The+// MCP doesn't ship a renderer itself — chromium is too heavy for an+// npm-installed local server. Instead we POST to three.ws's hosted+// headless-chromium pipeline (the same renderer that powers OG cards),+// stream the PNG back, and return it as a base64 data URL plus the+// upstream URL so callers can choose whichever they want.++import { THREE_WS_BASE } from '../config.js';++const DEFAULT_MAX_INLINE = 4 * 1024 * 1024;++async function postPng(path, body, { maxInlineBytes = DEFAULT_MAX_INLINE } = {}) {+ const url = `${THREE_WS_BASE}${path}`;+ const t0 = Date.now();+ const r = await fetch(url, {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify(body),+ });+ const durationMs = Date.now() - t0;+ if (!r.ok) {+ // Try to surface the JSON error envelope three.ws returns.+ let detail = null;+ try {+ detail = await r.json();+ } catch {+ detail = { error_description: await r.text().catch(() => '') };+ }+ return {+ ok: false,+ status: r.status,+ error: detail?.error || 'render_failed',+ message: detail?.error_description || `HTTP ${r.status}`,+ endpoint: url,+ durationMs,+ };+ }+ const buf = Buffer.from(await r.arrayBuffer());+ const meta = {+ width: Number(r.headers.get('x-render-width')) || null,+ height: Number(r.headers.get('x-render-height')) || null,+ background: r.headers.get('x-render-background') || null,+ pose: r.headers.get('x-render-pose') || null,+ poseLabel: r.headers.get('x-render-pose-label') || null,+ };+ const inline = buf.length <= maxInlineBytes;+ return {+ ok: true,+ status: r.status,+ endpoint: url,+ durationMs,+ sizeBytes: buf.length,+ mime: 'image/png',+ dataUrl: inline ? `data:image/png;base64,${buf.toString('base64')}` : null,+ omittedInline: !inline,+ meta,+ };+}++export async function renderGlbThumbnail({ glbUrl, width, height, background, maxInlineBytes }) {+ return postPng('/api/render/glb', { glbUrl, width, height, background }, { maxInlineBytes });+}++export async function renderAvatarClipRemote({ glbUrl, width, height, background, posePresetId, cameraOrbit, expression, maxInlineBytes }) {+ return postPng(+ '/api/render/avatar-clip',+ { glbUrl, width, height, background, posePresetId, cameraOrbit, expression },+ { maxInlineBytes },+ );+}++export async function fetchPoseCatalogRemote() {+ const r = await fetch(`${THREE_WS_BASE}/api/render/avatar-clip`, { method: 'GET' });+ if (!r.ok) throw new Error(`Pose catalog fetch failed: HTTP ${r.status}`);+ return r.json();+}diff --git a/packages/avatar-agent-mcp/src/lib/solana.js b/packages/avatar-agent-mcp/src/lib/solana.jsnew file mode 100644index 000000000..a48987bba--- /dev/null+++ b/packages/avatar-agent-mcp/src/lib/solana.js@@ -0,0 +1,190 @@+// Solana primitives: keypair load, balances, transfers.+//+// Every signer-required tool accepts an optional base58 `secret` in the+// tool arguments. If not provided, it falls back to SOLANA_SECRET_KEY /+// FUNDER_SECRET from the environment. We never embed default keys.++import {+ Connection,+ Keypair,+ PublicKey,+ SystemProgram,+ TransactionMessage,+ VersionedTransaction,+ ComputeBudgetProgram,+ LAMPORTS_PER_SOL,+} from '@solana/web3.js';+import bs58 from 'bs58';++import { SOLANA_RPC_URL, SOLANA_DEFAULT_SECRET } from '../config.js';++const bs58encode = bs58.default ? bs58.default.encode : bs58.encode;+const bs58decode = bs58.default ? bs58.default.decode : bs58.decode;++export { bs58encode, bs58decode, LAMPORTS_PER_SOL };++let _conn = null;+export function getConnection() {+ if (!_conn) _conn = new Connection(SOLANA_RPC_URL, 'confirmed');+ return _conn;+}++export function isValidPubkey(s) {+ try {+ new PublicKey(s);+ return true;+ } catch {+ return false;+ }+}++export function keypairFromSecret(secret) {+ const trimmed = String(secret || '').trim();+ if (!trimmed) {+ const err = new Error(+ 'Solana secret required. Pass `secret` (base58) in the tool call, ' ++ 'or set SOLANA_SECRET_KEY in the MCP server environment.',+ );+ err.code = 'no_signer';+ throw err;+ }+ const bytes = bs58decode(trimmed);+ if (bytes.length !== 64) {+ const err = new Error(`Solana secret must decode to 64 bytes (got ${bytes.length})`);+ err.code = 'invalid_secret';+ throw err;+ }+ return Keypair.fromSecretKey(bytes);+}++export function loadSigner(secret) {+ return keypairFromSecret(secret || SOLANA_DEFAULT_SECRET);+}++export async function getBalanceSol(pubkeyStr) {+ const conn = getConnection();+ const lamports = await conn.getBalance(new PublicKey(pubkeyStr), 'confirmed');+ return { lamports, sol: lamports / LAMPORTS_PER_SOL };+}++export async function getTokenBalances(pubkeyStr) {+ const conn = getConnection();+ const owner = new PublicKey(pubkeyStr);+ // SPL Token program — fetch parsed accounts so we get mint + amount cleanly.+ const TOKEN_PROGRAM = new PublicKey('TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA');+ const TOKEN_2022_PROGRAM = new PublicKey('TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb');+ const [legacy, t22] = await Promise.all([+ conn.getParsedTokenAccountsByOwner(owner, { programId: TOKEN_PROGRAM }),+ conn.getParsedTokenAccountsByOwner(owner, { programId: TOKEN_2022_PROGRAM }),+ ]);+ const all = [...legacy.value, ...t22.value];+ return all+ .map((r) => {+ const info = r.account.data?.parsed?.info;+ if (!info) return null;+ const amount = info.tokenAmount;+ return {+ mint: info.mint,+ owner: info.owner,+ account: r.pubkey.toBase58(),+ amount: amount?.amount,+ uiAmount: amount?.uiAmount,+ uiAmountString: amount?.uiAmountString,+ decimals: amount?.decimals,+ };+ })+ .filter(Boolean)+ .filter((t) => Number(t.uiAmount) > 0);+}++export async function sendSol({ secret, to, sol, priorityMicroLamports = 100000 }) {+ if (!isValidPubkey(to)) {+ const err = new Error(`Destination is not a valid Solana pubkey: ${to}`);+ err.code = 'invalid_destination';+ throw err;+ }+ const signer = loadSigner(secret);+ const conn = getConnection();+ const lamports = Math.floor(Number(sol) * LAMPORTS_PER_SOL);+ if (!Number.isFinite(lamports) || lamports <= 0) {+ const err = new Error(`sol must be a positive number (got ${sol})`);+ err.code = 'invalid_amount';+ throw err;+ }+ const { blockhash, lastValidBlockHeight } = await conn.getLatestBlockhash('confirmed');+ const msg = new TransactionMessage({+ payerKey: signer.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityMicroLamports }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 1000 }),+ SystemProgram.transfer({+ fromPubkey: signer.publicKey,+ toPubkey: new PublicKey(to),+ lamports,+ }),+ ],+ }).compileToV0Message();+ const tx = new VersionedTransaction(msg);+ tx.sign([signer]);+ const sig = await conn.sendTransaction(tx, { maxRetries: 5 });+ const conf = await conn.confirmTransaction(+ { signature: sig, blockhash, lastValidBlockHeight },+ 'confirmed',+ );+ if (conf?.value?.err) {+ const err = new Error(`Transaction failed: ${JSON.stringify(conf.value.err)}`);+ err.code = 'tx_failed';+ err.signature = sig;+ throw err;+ }+ return {+ signature: sig,+ from: signer.publicKey.toBase58(),+ to,+ sol: Number(sol),+ lamports,+ explorer: `https://solscan.io/tx/${sig}`,+ };+}++// Vanity grinder. Returns the first keypair whose base58 pubkey matches the+// given prefix and/or suffix (case-sensitive by default). The user can cap+// max attempts to keep the call bounded.+export function grindVanity({ prefix = '', suffix = '', caseSensitive = true, maxAttempts = 500_000 }) {+ const pre = String(prefix || '');+ const suf = String(suffix || '');+ if (!pre && !suf) {+ const err = new Error('Provide at least a prefix or suffix to grind for.');+ err.code = 'invalid_input';+ throw err;+ }+ const matches = (b58) => {+ const candidate = caseSensitive ? b58 : b58.toLowerCase();+ const p = caseSensitive ? pre : pre.toLowerCase();+ const s = caseSensitive ? suf : suf.toLowerCase();+ if (p && !candidate.startsWith(p)) return false;+ if (s && !candidate.endsWith(s)) return false;+ return true;+ };+ const startedAt = Date.now();+ for (let i = 0; i < maxAttempts; i++) {+ const kp = Keypair.generate();+ const b58 = kp.publicKey.toBase58();+ if (matches(b58)) {+ return {+ found: true,+ attempts: i + 1,+ durationMs: Date.now() - startedAt,+ pubkey: b58,+ secret: bs58encode(kp.secretKey),+ };+ }+ }+ return {+ found: false,+ attempts: maxAttempts,+ durationMs: Date.now() - startedAt,+ message: `No match for prefix="${pre}" suffix="${suf}" in ${maxAttempts} attempts. Try a shorter pattern or a higher maxAttempts.`,+ };+}diff --git a/packages/avatar-agent-mcp/src/tools/dress-avatar.js b/packages/avatar-agent-mcp/src/tools/dress-avatar.jsnew file mode 100644index 000000000..1f2728a2e--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/dress-avatar.js@@ -0,0 +1,61 @@+// `dress_avatar` — apply or remove accessories on a spawned avatar session+// and optionally set the pose. Returns the updated session manifest and a+// refreshed viewer URL.++import { z } from 'zod';++import { ACCESSORIES, POSE_PRESETS, findAccessory, getSession, updateSession, viewerUrlFor } from '../lib/avatars.js';++export const def = {+ name: 'dress_avatar',+ title: 'Apply accessories + pose to a spawned avatar',+ description:+ 'Apply (or replace) accessories on a spawned avatar session and optionally set a pose. Pass accessoryIds to set the full accessory list (empty array clears them). Pass pose to switch animations. Returns the updated viewer URL.',+ inputSchema: {+ sessionId: z.string().describe('Session id returned by spawn_avatar.'),+ accessoryIds: z.array(z.string()).optional()+ .describe(`Full list of accessory ids to wear. Allowed: ${ACCESSORIES.map((a) => a.id).join(', ')}. Empty array clears.`),+ pose: z.string().optional()+ .describe(`Pose preset. Allowed: ${POSE_PRESETS.join(', ')}.`),+ },+ async handler(args) {+ const { sessionId, accessoryIds, pose } = args || {};+ const session = getSession(sessionId);+ if (!session) {+ return { ok: false, error: 'unknown_session', message: `No session ${sessionId}. Call spawn_avatar first.` };+ }+ const patch = {};+ if (Array.isArray(accessoryIds)) {+ const resolved = [];+ const missing = [];+ for (const id of accessoryIds) {+ const acc = findAccessory(id);+ if (!acc) {+ missing.push(id);+ continue;+ }+ resolved.push(acc);+ }+ if (missing.length) {+ return { ok: false, error: 'unknown_accessory', missing, allowed: ACCESSORIES.map((a) => a.id) };+ }+ patch.accessories = resolved;+ }+ if (pose) {+ if (!POSE_PRESETS.includes(pose)) {+ return { ok: false, error: 'unknown_pose', pose, allowed: POSE_PRESETS };+ }+ patch.pose = pose;+ }+ const updated = updateSession(sessionId, patch);+ return {+ ok: true,+ sessionId: updated.id,+ avatar: updated.avatar,+ accessories: updated.accessories,+ pose: updated.pose,+ viewerUrl: viewerUrlFor(updated),+ lastUpdated: updated.lastUpdated,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/ens-sns-resolve.js b/packages/avatar-agent-mcp/src/tools/ens-sns-resolve.jsnew file mode 100644index 000000000..2cf5727c9--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/ens-sns-resolve.js@@ -0,0 +1,21 @@+// `ens_sns_resolve` — resolve human-readable names to on-chain addresses+// across ENS (Ethereum) and SNS (Solana, Bonfida). Useful for naming+// avatar wallets ("alice.sol") or sending to ENS addresses without+// pasting raw hex.++import { z } from 'zod';++import { resolveName } from '../lib/ens-sns.js';++export const def = {+ name: 'ens_sns_resolve',+ title: 'Resolve ENS + SNS names to addresses',+ description:+ 'Resolve a human-readable name to addresses across ENS (Ethereum) and SNS (Solana, Bonfida). For .eth: returns Ethereum address + reverse lookup. For .sol: returns Solana owner wallet + the wallet\'s other owned .sol domains + favorite domain. Names without a suffix are tried against both registries.',+ inputSchema: {+ name: z.string().min(1).max(253).describe('Name to resolve, e.g. "vitalik.eth", "bonfida.sol", or bare "vitalik" (tried in both registries).'),+ },+ async handler(args) {+ return await resolveName(args.name);+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/generate-avatar.js b/packages/avatar-agent-mcp/src/tools/generate-avatar.jsnew file mode 100644index 000000000..695a0ebdc--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/generate-avatar.js@@ -0,0 +1,165 @@+// `generate_avatar` — generate a textured GLB from a text prompt or+// reference image(s) via Replicate. Requires REPLICATE_API_TOKEN and a+// pinned model version in REPLICATE_TEXT_TO_AVATAR_MODEL (recommended:+// the latest tencent/hunyuan-3d-3.1 commercial-OK version).+//+// On success, the result is a new avatar session preloaded with the+// generated GLB URL.++import { z } from 'zod';++import { REPLICATE_API_TOKEN, REPLICATE_TEXT_TO_AVATAR_MODEL } from '../config.js';+import { createSession, viewerUrlFor } from '../lib/avatars.js';++const REPLICATE_BASE = 'https://api.replicate.com/v1';++function authHeaders() {+ return { authorization: `Bearer ${REPLICATE_API_TOKEN}`, 'content-type': 'application/json' };+}++function extractGlbUrl(output) {+ if (!output) return null;+ if (typeof output === 'string') return output;+ if (Array.isArray(output)) {+ for (const v of output) if (typeof v === 'string' && /\.glb(\?|$)/i.test(v)) return v;+ for (const v of output) if (typeof v === 'string' && /^https?:\/\//.test(v)) return v;+ }+ if (typeof output === 'object') {+ for (const key of ['glb', 'mesh', 'mesh_url', 'output_url', 'url', 'model']) {+ if (typeof output[key] === 'string') return output[key];+ }+ }+ return null;+}++async function submitPrediction({ version, input }) {+ const res = await fetch(`${REPLICATE_BASE}/predictions`, {+ method: 'POST',+ headers: authHeaders(),+ body: JSON.stringify({ version, input }),+ });+ const data = await res.json().catch(() => ({}));+ if (!res.ok) {+ const err = new Error(data?.detail || data?.title || `replicate returned ${res.status}`);+ err.code = 'provider_error';+ throw err;+ }+ return data;+}++async function pollPrediction(predictionId, { timeoutMs, intervalMs }) {+ const deadline = Date.now() + timeoutMs;+ let last = null;+ while (Date.now() < deadline) {+ const r = await fetch(`${REPLICATE_BASE}/predictions/${encodeURIComponent(predictionId)}`, {+ headers: authHeaders(),+ });+ const data = await r.json().catch(() => ({}));+ if (!r.ok) {+ const err = new Error(data?.detail || `replicate poll returned ${r.status}`);+ err.code = 'provider_error';+ throw err;+ }+ last = data;+ const s = data.status;+ if (s === 'succeeded' || s === 'failed' || s === 'canceled') return data;+ await new Promise((res) => setTimeout(res, intervalMs));+ }+ return { ...last, _timedOut: true };+}++export const def = {+ name: 'generate_avatar',+ title: 'Generate a 3D avatar (Replicate text-to-3D)',+ description:+ 'Generate a textured GLB from a text prompt or reference image URLs via Replicate (Hunyuan-3D 3.1 by default; configurable). Returns the GLB URL and a new avatar session you can dress + animate. Requires REPLICATE_API_TOKEN and REPLICATE_TEXT_TO_AVATAR_MODEL on the MCP server.',+ inputSchema: {+ prompt: z.string().max(1000).optional().describe('Text description of the avatar to generate.'),+ images: z.array(z.string().url()).max(4).optional().describe('Reference image URLs for image-to-3D.'),+ seed: z.number().int().min(0).max(2147483647).optional(),+ texture: z.boolean().optional().describe('Request PBR textures when supported (default true).'),+ name: z.string().max(80).optional().describe('Name for the resulting avatar session.'),+ voice: z+ .enum(['alloy', 'ash', 'ballad', 'coral', 'echo', 'fable', 'nova', 'onyx', 'sage', 'shimmer', 'verse'])+ .optional()+ .describe('TTS voice the session should use.'),+ },+ async handler(args) {+ if (!REPLICATE_API_TOKEN) {+ return { ok: false, error: 'not_configured', message: 'REPLICATE_API_TOKEN is not set on the MCP server.' };+ }+ if (!REPLICATE_TEXT_TO_AVATAR_MODEL) {+ return {+ ok: false,+ error: 'not_configured',+ message: 'REPLICATE_TEXT_TO_AVATAR_MODEL is not set. Pin a commercial-OK image/text-to-3D version (e.g. latest tencent/hunyuan-3d-3.1).',+ };+ }+ const { prompt, images, seed, texture, name, voice } = args || {};+ if (!prompt && (!images || images.length === 0)) {+ return { ok: false, error: 'invalid_input', message: 'Provide either prompt or images[].' };+ }+ const input = {+ prompt: prompt || undefined,+ image: images && images.length ? images[0] : undefined,+ images: images && images.length ? images : undefined,+ seed: typeof seed === 'number' ? seed : undefined,+ texture: typeof texture === 'boolean' ? texture : true,+ };+ Object.keys(input).forEach((k) => input[k] === undefined && delete input[k]);++ const started = Date.now();+ let submitted;+ try {+ submitted = await submitPrediction({ version: REPLICATE_TEXT_TO_AVATAR_MODEL, input });+ } catch (err) {+ return { ok: false, error: err.code || 'provider_error', message: err.message };+ }+ const timeoutMs = Number(process.env.REPLICATE_TIMEOUT_MS || '120000');+ const intervalMs = Number(process.env.REPLICATE_POLL_MS || '2000');+ const finalState = await pollPrediction(submitted.id, { timeoutMs, intervalMs });+ const durationMs = Date.now() - started;+ if (finalState._timedOut) {+ return {+ ok: false,+ error: 'timeout',+ message: `prediction did not finish within ${timeoutMs}ms`,+ predictionId: submitted.id,+ durationMs,+ };+ }+ if (finalState.status === 'failed' || finalState.status === 'canceled') {+ return {+ ok: false,+ error: 'prediction_failed',+ message: finalState.error || `prediction ended with status ${finalState.status}`,+ predictionId: submitted.id,+ durationMs,+ };+ }+ const glbUrl = extractGlbUrl(finalState.output);+ if (!glbUrl) {+ return {+ ok: false,+ error: 'no_glb_in_output',+ message: 'prediction succeeded but no GLB url was found in output',+ rawOutput: finalState.output,+ predictionId: submitted.id,+ durationMs,+ };+ }+ const session = createSession({ glb: glbUrl, name, voice });+ return {+ ok: true,+ sessionId: session.id,+ avatar: session.avatar,+ predictionId: submitted.id,+ model: REPLICATE_TEXT_TO_AVATAR_MODEL,+ prompt: prompt || null,+ images: images || null,+ seed: typeof seed === 'number' ? seed : null,+ durationMs,+ viewerUrl: viewerUrlFor(session),+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/inspect-glb.js b/packages/avatar-agent-mcp/src/tools/inspect-glb.jsnew file mode 100644index 000000000..98b244df9--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/inspect-glb.js@@ -0,0 +1,219 @@+// `inspect_glb` — fetch any GLB URL and return its full structural+// breakdown: meshes, materials, textures, animations, file size, vertex+// + triangle counts, bounding box, and skinning info.+//+// Pure parse via @gltf-transform/core. No network calls beyond the GLB+// fetch itself.++import { z } from 'zod';++import { fetchGlbBytes, getIo } from '../lib/glb-io.js';++function arrayLen(prim, semantic) {+ const acc = prim.getAttribute(semantic);+ return acc ? acc.getCount() : 0;+}++function primitiveTriangleCount(prim) {+ const mode = prim.getMode();+ const idx = prim.getIndices();+ const count = idx ? idx.getCount() : arrayLen(prim, 'POSITION');+ // glTF primitive modes: 0=POINTS, 1=LINES, 4=TRIANGLES, 5=TRIANGLE_STRIP, 6=TRIANGLE_FAN.+ switch (mode) {+ case 4:+ return Math.floor(count / 3);+ case 5:+ case 6:+ return Math.max(0, count - 2);+ default:+ return 0;+ }+}++function computeWorldBbox(scene) {+ let min = [Infinity, Infinity, Infinity];+ let max = [-Infinity, -Infinity, -Infinity];+ const visit = (node, mat = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]) => {+ // Compose: world = parent * local. Keep mat as a 16-element column-major+ // transform; we only need translate + axis-aligned vertex check so+ // the full matrix multiplication suffices.+ const t = node.getMatrix();+ const world = mul(mat, t);+ const mesh = node.getMesh();+ if (mesh) {+ for (const prim of mesh.listPrimitives()) {+ const pos = prim.getAttribute('POSITION');+ if (!pos) continue;+ const arr = pos.getArray();+ const stride = pos.getElementSize();+ for (let i = 0; i < arr.length; i += stride) {+ const v = transform([arr[i], arr[i + 1], arr[i + 2]], world);+ if (v[0] < min[0]) min[0] = v[0];+ if (v[1] < min[1]) min[1] = v[1];+ if (v[2] < min[2]) min[2] = v[2];+ if (v[0] > max[0]) max[0] = v[0];+ if (v[1] > max[1]) max[1] = v[1];+ if (v[2] > max[2]) max[2] = v[2];+ }+ }+ }+ for (const child of node.listChildren()) visit(child, world);+ };+ for (const root of scene.listChildren()) visit(root);+ if (!Number.isFinite(min[0])) return null;+ return {+ min,+ max,+ center: [(min[0] + max[0]) / 2, (min[1] + max[1]) / 2, (min[2] + max[2]) / 2],+ size: [max[0] - min[0], max[1] - min[1], max[2] - min[2]],+ };+}++function mul(a, b) {+ const r = new Array(16).fill(0);+ for (let i = 0; i < 4; i++) {+ for (let j = 0; j < 4; j++) {+ let s = 0;+ for (let k = 0; k < 4; k++) s += a[i + k * 4] * b[k + j * 4];+ r[i + j * 4] = s;+ }+ }+ return r;+}++function transform(v, m) {+ return [+ m[0] * v[0] + m[4] * v[1] + m[8] * v[2] + m[12],+ m[1] * v[0] + m[5] * v[1] + m[9] * v[2] + m[13],+ m[2] * v[0] + m[6] * v[1] + m[10] * v[2] + m[14],+ ];+}++export const def = {+ name: 'inspect_glb',+ title: 'Inspect a GLB / glTF 3D model',+ description:+ 'Fetch any GLB URL (or data: URL) and return a full structural breakdown: meshes, primitives, materials, textures, animations, skins, vertex + triangle counts, world-space bounding box, and file size. Pure local parse via @gltf-transform/core — no third-party services.',+ inputSchema: {+ url: z.string().describe('Public URL or data: URL of a .glb file.'),+ },+ async handler(args) {+ const { url } = args || {};+ if (!url) return { ok: false, error: 'invalid_input', message: 'url is required' };+ let bytes;+ let doc;+ try {+ bytes = await fetchGlbBytes(url);+ const io = await getIo();+ doc = await io.readBinary(bytes);+ } catch (err) {+ return { ok: false, error: 'parse_failed', message: err.message };+ }+ const root = doc.getRoot();+ const asset = root.getAsset();++ let totalVertices = 0;+ let totalTriangles = 0;+ const meshes = root.listMeshes().map((mesh) => {+ const prims = mesh.listPrimitives().map((p) => {+ const v = arrayLen(p, 'POSITION');+ const tri = primitiveTriangleCount(p);+ totalVertices += v;+ totalTriangles += tri;+ return {+ mode: p.getMode(),+ vertices: v,+ triangles: tri,+ indexed: !!p.getIndices(),+ attributes: p.listSemantics(),+ material: p.getMaterial()?.getName() || null,+ morphTargets: p.listTargets().length,+ };+ });+ return {+ name: mesh.getName() || null,+ primitiveCount: prims.length,+ primitives: prims,+ };+ });++ const materials = root.listMaterials().map((m) => ({+ name: m.getName() || null,+ alphaMode: m.getAlphaMode(),+ doubleSided: m.getDoubleSided(),+ baseColorFactor: m.getBaseColorFactor(),+ metallicFactor: m.getMetallicFactor(),+ roughnessFactor: m.getRoughnessFactor(),+ hasBaseColorTexture: !!m.getBaseColorTexture(),+ hasMetallicRoughnessTexture: !!m.getMetallicRoughnessTexture(),+ hasNormalTexture: !!m.getNormalTexture(),+ hasOcclusionTexture: !!m.getOcclusionTexture(),+ hasEmissiveTexture: !!m.getEmissiveTexture(),+ }));++ const textures = root.listTextures().map((t) => ({+ name: t.getName() || null,+ mimeType: t.getMimeType(),+ sizeBytes: t.getImage()?.byteLength ?? null,+ uri: t.getURI() || null,+ }));++ const animations = root.listAnimations().map((a) => {+ let maxTime = 0;+ for (const ch of a.listChannels()) {+ const sampler = ch.getSampler();+ const input = sampler?.getInput();+ if (input) {+ const arr = input.getArray();+ const last = arr[arr.length - 1];+ if (last > maxTime) maxTime = last;+ }+ }+ return {+ name: a.getName() || null,+ channelCount: a.listChannels().length,+ samplerCount: a.listSamplers().length,+ durationSeconds: maxTime,+ };+ });++ const skins = root.listSkins().map((s) => ({+ name: s.getName() || null,+ jointCount: s.listJoints().length,+ hasInverseBindMatrices: !!s.getInverseBindMatrices(),+ }));++ const scenes = root.listScenes().map((s) => ({+ name: s.getName() || null,+ rootNodeCount: s.listChildren().length,+ }));++ const defaultScene = root.getDefaultScene() || root.listScenes()[0] || null;+ const bbox = defaultScene ? computeWorldBbox(defaultScene) : null;++ return {+ ok: true,+ url,+ sizeBytes: bytes.byteLength,+ generator: asset.generator || null,+ version: asset.version || null,+ counts: {+ meshes: meshes.length,+ materials: materials.length,+ textures: textures.length,+ animations: animations.length,+ skins: skins.length,+ scenes: scenes.length,+ totalVertices,+ totalTriangles,+ },+ boundingBox: bbox,+ meshes,+ materials,+ textures,+ animations,+ skins,+ scenes,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/list-animations.js b/packages/avatar-agent-mcp/src/tools/list-animations.jsnew file mode 100644index 000000000..82728d1db--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/list-animations.js@@ -0,0 +1,37 @@+// `list_animations` — fetch the three.ws pose preset catalog (24 presets+// across Standing, Action, Sitting & Floor, Expressive). Lives at+// GET /api/render/avatar-clip on three.ws so the catalog stays+// authoritative even when this MCP version is older than the live one.++import { THREE_WS_BASE } from '../config.js';+import { fetchPoseCatalogRemote } from '../lib/render.js';++export const def = {+ name: 'list_animations',+ title: 'List three.ws pose presets + animation slots',+ description:+ 'Return the three.ws pose preset catalog (T-pose, A-pose, wave, thinker, jump, dance, warrior2, …) grouped by category. Use the ids returned here as posePresetId in render_avatar. Fetched live from three.ws so the catalog reflects the deployed version.',+ inputSchema: {},+ async handler() {+ try {+ const catalog = await fetchPoseCatalogRemote();+ const grouped = {};+ for (const p of catalog.poses || []) {+ const key = p.group || 'Other';+ if (!grouped[key]) grouped[key] = [];+ grouped[key].push({ id: p.id, label: p.label });+ }+ return {+ ok: true,+ source: `${THREE_WS_BASE}/api/render/avatar-clip`,+ poseCount: (catalog.poses || []).length,+ groups: Object.keys(grouped).map((g) => ({ group: g, poses: grouped[g] })),+ cameraOrbit: catalog.cameraOrbit,+ background: catalog.background,+ fetchedAt: new Date().toISOString(),+ };+ } catch (err) {+ return { ok: false, error: 'fetch_failed', message: err.message };+ }+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/list-avatars.js b/packages/avatar-agent-mcp/src/tools/list-avatars.jsnew file mode 100644index 000000000..a4472be90--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/list-avatars.js@@ -0,0 +1,20 @@+// `list_avatars` — enumerate the curated default avatars + accessories ++// pose presets shipped by three.ws. Free, no signer needed.++import { ACCESSORIES, DEFAULT_AVATARS, POSE_PRESETS } from '../lib/avatars.js';++export const def = {+ name: 'list_avatars',+ title: 'List three.ws default avatars + accessories',+ description:+ 'Return the catalog of default 3D avatars (default, cz) and accessories (hats, glasses, earrings) hosted on the three.ws CDN. Each entry includes a public GLB URL ready to load in any glTF viewer or Three.js scene. Includes the supported pose preset names.',+ inputSchema: {},+ async handler() {+ return {+ avatars: DEFAULT_AVATARS,+ accessories: ACCESSORIES,+ poses: POSE_PRESETS,+ fetchedAt: new Date().toISOString(),+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/optimize-glb.js b/packages/avatar-agent-mcp/src/tools/optimize-glb.jsnew file mode 100644index 000000000..a628608bf--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/optimize-glb.js@@ -0,0 +1,114 @@+// `optimize_glb` — shrink a GLB by running a configurable+// @gltf-transform/functions pipeline: dedup → prune → join → weld+// → Draco mesh compression. Returns the optimized bytes as a base64+// data URL plus before/after byte counts so callers see the saving.+//+// Texture re-encoding (PNG → WebP/AVIF) is intentionally off by default+// because it requires Sharp's native binaries; flip `reencodeTextures`+// when running in an env where Sharp is available.++import { z } from 'zod';+import { dedup, draco, prune, weld } from '@gltf-transform/functions';++import { fetchGlbBytes, getIo } from '../lib/glb-io.js';++const MAX_RETURN_BYTES = 20 * 1024 * 1024;++export const def = {+ name: 'optimize_glb',+ title: 'Optimize a GLB (dedup, prune, weld, Draco)',+ description:+ 'Run a @gltf-transform/functions optimization pipeline on a GLB URL: dedup → prune unused → weld duplicate vertices → optional Draco mesh compression. Returns the optimized bytes as a base64 data URL with before/after sizes. Lossless for geometry except where Draco quantization is requested.',+ inputSchema: {+ url: z.string().describe('Source GLB URL (or data: URL).'),+ dedup: z.boolean().optional().describe('Merge equivalent accessors / materials / textures. Default true.'),+ prune: z.boolean().optional().describe('Remove unused materials / nodes / meshes. Default true.'),+ weld: z.boolean().optional().describe('Merge duplicate vertices. Default true.'),+ draco: z.boolean().optional().describe('Apply Draco mesh compression (lossy quantization). Default false.'),+ dracoQuantizePosition: z.number().int().min(1).max(16).optional()+ .describe('Position bits for Draco (default 14 = high fidelity).'),+ returnInline: z.boolean().optional()+ .describe('Return the optimized GLB inline as a base64 data URL (default true). Set false to return only stats.'),+ },+ async handler(args) {+ const { url } = args || {};+ if (!url) return { ok: false, error: 'invalid_input', message: 'url is required' };+ const wantDedup = args.dedup !== false;+ const wantPrune = args.prune !== false;+ const wantWeld = args.weld !== false;+ const wantDraco = !!args.draco;+ const inline = args.returnInline !== false;++ let srcBytes;+ try {+ srcBytes = await fetchGlbBytes(url);+ } catch (err) {+ return { ok: false, error: 'fetch_failed', message: err.message };+ }++ let doc;+ const io = await getIo();+ try {+ doc = await io.readBinary(srcBytes);+ } catch (err) {+ return { ok: false, error: 'parse_failed', message: err.message };+ }++ const applied = [];+ try {+ if (wantDedup) {+ await doc.transform(dedup());+ applied.push('dedup');+ }+ if (wantPrune) {+ await doc.transform(prune());+ applied.push('prune');+ }+ if (wantWeld) {+ await doc.transform(weld());+ applied.push('weld');+ }+ if (wantDraco) {+ const opts = {};+ if (typeof args.dracoQuantizePosition === 'number') {+ opts.quantizePosition = args.dracoQuantizePosition;+ }+ await doc.transform(draco(opts));+ applied.push('draco');+ }+ } catch (err) {+ return { ok: false, error: 'transform_failed', message: err.message, applied };+ }++ let outBytes;+ try {+ outBytes = await io.writeBinary(doc);+ } catch (err) {+ return { ok: false, error: 'write_failed', message: err.message, applied };+ }++ const before = srcBytes.byteLength;+ const after = outBytes.byteLength;+ const ratio = before > 0 ? after / before : 1;+ const result = {+ ok: true,+ url,+ pipeline: applied,+ beforeBytes: before,+ afterBytes: after,+ savedBytes: before - after,+ ratio,+ reductionPct: (1 - ratio) * 100,+ };+ if (inline) {+ if (after > MAX_RETURN_BYTES) {+ result.optimizedGlb = null;+ result.note = `Optimized GLB is ${after} bytes (> ${MAX_RETURN_BYTES} inline cap). Re-run with smaller input or use a hosting endpoint.`;+ } else {+ const b64 = Buffer.from(outBytes).toString('base64');+ result.optimizedGlb = `data:model/gltf-binary;base64,${b64}`;+ }+ }+ return result;+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/pump-buy.js b/packages/avatar-agent-mcp/src/tools/pump-buy.jsnew file mode 100644index 000000000..e0995c57c--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/pump-buy.js@@ -0,0 +1,69 @@+// `pump_buy` — buy any Solana SPL or pump.fun token via Jupiter.+//+// Two modes:+// - direct (default): the buyer wallet pays its own fee + spends SOL.+// - bundled (set jitoBundle=true with a funderSecret): two-tx Jito+// bundle where the funder transfers SOL to the buyer + Jito tip in+// Tx1 and the buyer signs the swap in Tx2. Use this if the buyer+// wallet is shared/leaked and you must beat sweeper bots.+//+// EXECUTION ACTION — real swaps on Solana mainnet.++import { z } from 'zod';++import { isValidPubkey } from '../lib/solana.js';+import { jupiterBuyBundled, jupiterBuyDirect } from '../lib/jupiter-buy.js';+import { THREE_MINT } from '../config.js';++export const def = {+ name: 'pump_buy',+ title: 'Buy a Solana token via Jupiter (direct or Jito-bundled)',+ description:+ 'Swap SOL → target mint via Jupiter aggregator. Direct mode = one tx signed by the buyer. Bundled mode (jitoBundle=true) = two-tx Jito bundle where funderSecret transfers SOL + tip to the buyer atomically with the swap (sweeper-resistant). Pass target="three" to use the $three reference mint. EXECUTION ACTION.',+ inputSchema: {+ target: z.string().describe('Target mint (base58) or "three" to use the THREE_MINT env.'),+ buySol: z.number().positive().describe('Amount of SOL to spend.'),+ buyerSecret: z.string().describe('Base58 secret of the buyer wallet (signs the swap).'),+ funderSecret: z.string().optional().describe('Base58 secret of the funder. Required when jitoBundle=true.'),+ jitoBundle: z.boolean().optional().describe('Use a Jito bundle (atomic funder→buyer transfer + swap). Default false.'),+ slippageBps: z.number().int().min(1).max(10_000).optional().describe('Slippage in basis points (default 500 = 5%).'),+ jitoTipSol: z.number().min(0).optional().describe('Jito tip in SOL (default 0.005). Only used when jitoBundle=true.'),+ priorityMicroLamports: z.number().int().min(0).max(20_000_000).optional()+ .describe('Compute-unit price (default 2_000_000).'),+ },+ async handler(args) {+ let target = args.target;+ if (target === 'three' || target === '$three') {+ if (!THREE_MINT) return { ok: false, error: 'three_mint_not_configured' };+ target = THREE_MINT;+ }+ if (!isValidPubkey(target)) return { ok: false, error: 'invalid_target' };+ try {+ if (args.jitoBundle) {+ if (!args.funderSecret) {+ return { ok: false, error: 'invalid_input', message: 'jitoBundle=true requires funderSecret.' };+ }+ const out = await jupiterBuyBundled({+ funderSecret: args.funderSecret,+ buyerSecret: args.buyerSecret,+ targetMint: target,+ buySol: args.buySol,+ slippageBps: args.slippageBps,+ jitoTipSol: args.jitoTipSol,+ priorityMicroLamports: args.priorityMicroLamports,+ });+ return out;+ }+ const out = await jupiterBuyDirect({+ buyerSecret: args.buyerSecret,+ targetMint: target,+ buySol: args.buySol,+ slippageBps: args.slippageBps,+ priorityMicroLamports: args.priorityMicroLamports,+ });+ return out;+ } catch (err) {+ return { ok: false, error: err.code || 'buy_failed', message: err.message };+ }+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/pump-collect.js b/packages/avatar-agent-mcp/src/tools/pump-collect.jsnew file mode 100644index 000000000..a122d2f2b--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/pump-collect.js@@ -0,0 +1,48 @@+// `pump_collect_fees` — atomically collect a pump.fun coin's creator-fee+// vault and route the SOL to a safe destination, all in a single tx+// inside a Jito bundle.+//+// Useful when the creator key is shared or potentially leaked: even if+// another holder of the key tries to collect concurrently, the bundle's+// atomicity prevents any tx from interleaving between the collect and+// the drain.+//+// EXECUTION ACTION.++import { z } from 'zod';++import { atomicCollect } from '../lib/atomic-collect.js';++export const def = {+ name: 'pump_collect_fees',+ title: 'Atomic pump.fun creator-fee collection (Jito bundle)',+ description:+ 'Collect a pump.fun coin\'s creator-fee vault and route the SOL to a safe destination, atomically, in a single tx inside a Jito bundle. Funder pays the fee + Jito tip; creator signs collectCoinCreatorFee + drain to DESTINATION. The bundle\'s atomicity blocks any competing collector from interleaving even if the creator key is leaked. EXECUTION ACTION.',+ inputSchema: {+ funderSecret: z.string().describe('Base58 secret of the funder (pays fee + tip).'),+ creatorSecret: z.string().describe('Base58 secret of the coin creator (signs collect + drain).'),+ destination: z.string().describe('Pubkey to receive the collected SOL.'),+ jitoTipSol: z.number().min(0).optional().describe('Jito tip in SOL (default 0.005).'),+ priorityMicroLamports: z.number().int().min(0).max(20_000_000).optional()+ .describe('Compute-unit priority price (default 3_000_000).'),+ bufferLamports: z.number().int().min(0).optional()+ .describe('Lamports to leave in the creator wallet (default 890880, rent-exempt minimum).'),+ minVaultSol: z.number().min(0).optional()+ .describe('Abort if the vault holds less than this (default 0.001).'),+ },+ async handler(args) {+ try {+ return await atomicCollect({+ funderSecret: args.funderSecret,+ creatorSecret: args.creatorSecret,+ destination: args.destination,+ jitoTipSol: args.jitoTipSol,+ priorityMicroLamports: args.priorityMicroLamports,+ bufferLamports: args.bufferLamports,+ minVaultSol: args.minVaultSol,+ });+ } catch (err) {+ return { ok: false, error: err.code || 'collect_failed', message: err.message };+ }+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/pump-launch.js b/packages/avatar-agent-mcp/src/tools/pump-launch.jsnew file mode 100644index 000000000..023f65bd0--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/pump-launch.js@@ -0,0 +1,77 @@+// `pump_launch` — atomic pump.fun token launch via a Jito bundle.+//+// Wraps the atomic-launch port (originally from nirholas/atomic). Two-tx+// bundle: funder pays its own fee + the Jito tip and rent-funds the+// creator; creator signs createV2 in tx2. Either both land or neither+// does, so the on-chain `creator` is the creator wallet (not the funder)+// without forcing the creator to hold SOL up front.+//+// If `uri` is omitted, we upload metadata to pump.fun's IPFS endpoint+// first using the supplied name/symbol/description/socials/imageUrl. This+// makes the tool a one-shot "launch from scratch".+//+// EXECUTION ACTION — creates a real mint on Solana mainnet and pays+// Jito tips + rent.++import { z } from 'zod';++import { atomicLaunch, uploadPumpMetadata } from '../lib/atomic-launch.js';++export const def = {+ name: 'pump_launch',+ title: 'Atomic pump.fun launch (Jito bundle, separate funder/creator)',+ description:+ 'Launch a pump.fun token atomically via a Jito bundle. Funder pays its own fee + tip and rent-funds the creator; creator signs createV2 in tx2 — both txs land in the same block or neither does. If uri is omitted, metadata is uploaded to pump.fun IPFS first from name/symbol/description/socials/imageUrl. Returns the mint address, bundle id, both tx signatures, and the pump.fun URL. EXECUTION ACTION — creates a real mint on mainnet.',+ inputSchema: {+ name: z.string().min(1).max(32).describe('Token name.'),+ symbol: z.string().min(1).max(10).describe('Token symbol (ticker).'),+ funderSecret: z.string().describe('Base58 secret of the funder wallet (pays Tx1 fee + tip + rent transfer).'),+ creatorSecret: z.string().describe('Base58 secret of the creator wallet (signs createV2 — becomes on-chain creator).'),+ uri: z.string().url().optional().describe('Existing metadata URI. If omitted, metadata is uploaded first.'),+ description: z.string().max(500).optional(),+ twitter: z.string().optional(),+ telegram: z.string().optional(),+ website: z.string().optional(),+ imageUrl: z.string().url().optional().describe('Image to upload as the token icon (re-fetched at upload time).'),+ mintSecret: z.string().optional().describe('Base58 secret to use as the mint keypair (default: random).'),+ rentSol: z.number().min(0).optional().describe('SOL the funder transfers to the creator for tx2 rent + fees (default 0.035).'),+ jitoTipSol: z.number().min(0).optional().describe('Jito tip in SOL (default 0.005).'),+ priorityMicroLamports: z.number().int().min(0).max(20_000_000).optional()+ .describe('Compute-unit priority price (default 2_000_000).'),+ },+ async handler(args) {+ try {+ let uri = args.uri;+ let uploadedMeta = null;+ if (!uri) {+ uploadedMeta = await uploadPumpMetadata({+ name: args.name,+ symbol: args.symbol,+ description: args.description || '',+ twitter: args.twitter || '',+ telegram: args.telegram || '',+ website: args.website || '',+ imageUrl: args.imageUrl,+ });+ uri = uploadedMeta.uri;+ if (!uri) {+ return { ok: false, error: 'metadata_upload_failed', detail: uploadedMeta.raw };+ }+ }+ const out = await atomicLaunch({+ name: args.name,+ symbol: args.symbol,+ uri,+ funderSecret: args.funderSecret,+ creatorSecret: args.creatorSecret,+ mintSecret: args.mintSecret,+ rentSol: args.rentSol,+ jitoTipSol: args.jitoTipSol,+ priorityMicroLamports: args.priorityMicroLamports,+ });+ return { ...out, metadataUri: uri, metadataUploadedNow: !!uploadedMeta };+ } catch (err) {+ return { ok: false, error: err.code || 'launch_failed', message: err.message };+ }+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/pump-snapshot.js b/packages/avatar-agent-mcp/src/tools/pump-snapshot.jsnew file mode 100644index 000000000..6bf8ee9ce--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/pump-snapshot.js@@ -0,0 +1,38 @@+// `pump_snapshot` — live market snapshot for a Solana SPL or pump.fun+// token. Free, read-only. Aggregates Jupiter price, Dexscreener volume,+// pump.fun metadata, top holders from Solana RPC, and (optionally)+// Helius DAS supply info when HELIUS_API_KEY is set.++import { z } from 'zod';++import { snapshot } from '../lib/pumpfun.js';+import { isValidPubkey } from '../lib/solana.js';+import { THREE_MINT } from '../config.js';++export const def = {+ name: 'pump_snapshot',+ title: 'Live pump.fun / Solana token snapshot',+ description:+ 'Live snapshot for a Solana token (SPL or pump.fun): USD price (Jupiter), 24h volume + primary DEX (Dexscreener), pump.fun metadata (name/symbol/image/socials/mcap), and top-holder distribution from Solana RPC. Optional Helius DAS supply when HELIUS_API_KEY is configured. Free — no signer.',+ inputSchema: {+ token: z.string().min(32).max(64).describe('Base58 Solana mint address. Pass "three" or omit to use the $three reference mint (THREE_MINT env).').optional(),+ },+ async handler(args) {+ let mint = args?.token;+ if (!mint || mint === 'three' || mint === '$three') {+ if (!THREE_MINT) {+ return {+ ok: false,+ error: 'three_mint_not_configured',+ message: 'No token argument and THREE_MINT env is unset. Pass token=<mint> or set THREE_MINT.',+ };+ }+ mint = THREE_MINT;+ }+ if (!isValidPubkey(mint)) {+ return { ok: false, error: 'invalid_mint', token: mint };+ }+ const result = await snapshot(mint);+ return { ok: true, ...result };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/render-avatar.js b/packages/avatar-agent-mcp/src/tools/render-avatar.jsnew file mode 100644index 000000000..6a89d2589--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/render-avatar.js@@ -0,0 +1,60 @@+// `render_avatar` — full posed avatar render with three.ws's render-clip+// pipeline: applies a pose preset's Euler-rotation map to the rig, sets+// the camera orbit (theta/phi/radius), optionally applies ARKit-52 morph+// targets for facial expression, and returns the PNG.+//+// Mirrors the experience of the three.ws customizer: same rig conventions+// (Avaturn), same pose library (PRESETS in /src/pose-presets.js), same+// lighting (three-light rig with ACES tone mapping). Works on any GLB+// that follows the standard rig — both curated defaults and uploaded+// avatars.++import { z } from 'zod';++import { renderAvatarClipRemote } from '../lib/render.js';+import { getSession } from '../lib/avatars.js';++export const def = {+ name: 'render_avatar',+ title: 'Render a posed avatar (pose + camera + expression)',+ description:+ 'Render an avatar GLB with a three.ws pose preset, camera orbit, and optional ARKit-52 facial expression. Same pipeline as the three.ws customizer\'s save-snapshot flow. Returns PNG bytes as a base64 data URL. Accepts either glbUrl directly or sessionId from spawn_avatar.',+ inputSchema: {+ glbUrl: z.string().url().optional().describe('Avatar GLB URL. Required if sessionId is omitted.'),+ sessionId: z.string().optional().describe('Avatar session id from spawn_avatar. Overrides glbUrl.'),+ posePresetId: z.string().optional()+ .describe('Pose preset id (e.g. "tpose", "wave", "thinker"). Call list_animations for the full catalog.'),+ cameraOrbit: z.object({+ theta: z.number().optional().describe('Yaw in degrees, 0..360. Default 0 (front).'),+ phi: z.number().optional().describe('Pitch in degrees, 0..180 (from top). Default 80 (slightly above eye-level).'),+ radius: z.number().nullable().optional().describe('Distance in meters. null = auto-frame the bounding box.'),+ }).optional().describe('Camera orbit around the avatar.'),+ expression: z.record(z.number()).optional()+ .describe('ARKit-52 morph target map, e.g. { mouthSmileLeft: 0.6, mouthSmileRight: 0.6 }.'),+ width: z.number().int().min(64).max(2048).optional().describe('Output width (default 1024).'),+ height: z.number().int().min(64).max(2048).optional().describe('Output height (default 1024).'),+ background: z.string().optional().describe('CSS color or "transparent". Default "#0a0a0a".'),+ },+ async handler(args) {+ const { sessionId, glbUrl, posePresetId, cameraOrbit, expression, width, height, background } = args || {};+ let resolvedGlb = glbUrl;+ let sessionPose = null;+ if (sessionId) {+ const session = getSession(sessionId);+ if (!session) return { ok: false, error: 'unknown_session', message: `No session ${sessionId}.` };+ resolvedGlb = session.avatar.glb;+ sessionPose = session.pose && session.pose !== 'idle' ? session.pose : null;+ }+ if (!resolvedGlb) return { ok: false, error: 'invalid_input', message: 'Pass glbUrl or sessionId.' };+ const out = await renderAvatarClipRemote({+ glbUrl: resolvedGlb,+ posePresetId: posePresetId || sessionPose || null,+ cameraOrbit,+ expression,+ width,+ height,+ background,+ });+ return { ...out, glbUrl: resolvedGlb, sessionId: sessionId || null };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/spawn-avatar.js b/packages/avatar-agent-mcp/src/tools/spawn-avatar.jsnew file mode 100644index 000000000..5d966d161--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/spawn-avatar.js@@ -0,0 +1,60 @@+// `spawn_avatar` — create an in-process avatar session, either from a+// curated default (default / cz) or from a custom GLB URL. Returns a+// session id that other tools reference (dress_avatar, viewer_url, etc.).++import { z } from 'zod';++import { createSession, findAvatar, viewerUrlFor } from '../lib/avatars.js';++export const def = {+ name: 'spawn_avatar',+ title: 'Spawn a 3D avatar session',+ description:+ 'Spawn a 3D avatar from a curated default (preset="default" or "cz") or from a custom GLB URL. Returns a sessionId other tools (dress_avatar, viewer_url, speak) reference, plus the avatar GLB URL and a ready-to-open three.ws viewer link.',+ inputSchema: {+ preset: z.enum(['default', 'cz']).optional()+ .describe('Pick a curated default avatar.'),+ glbUrl: z.string().url().optional()+ .describe('Custom GLB URL — overrides preset.'),+ name: z.string().max(80).optional()+ .describe('Display name for the avatar persona.'),+ voice: z+ .enum(['alloy', 'ash', 'ballad', 'coral', 'echo', 'fable', 'nova', 'onyx', 'sage', 'shimmer', 'verse'])+ .optional()+ .describe('OpenAI TTS voice the speak tool should use for this session.'),+ persona: z.string().max(500).optional()+ .describe('Short persona/personality blurb (used by callers; not enforced server-side).'),+ },+ async handler(args) {+ const { preset, glbUrl, name, voice, persona } = args || {};+ if (!preset && !glbUrl) {+ return {+ ok: false,+ error: 'invalid_input',+ message: 'Provide either preset ("default" / "cz") or glbUrl.',+ };+ }+ let glb;+ if (glbUrl) {+ glb = glbUrl;+ } else {+ const a = findAvatar(preset);+ if (!a) {+ return { ok: false, error: 'unknown_preset', message: `No default avatar named "${preset}". Call list_avatars.` };+ }+ glb = a.glb;+ }+ const session = createSession({ glb, name, voice, persona });+ return {+ ok: true,+ sessionId: session.id,+ avatar: session.avatar,+ name: session.name,+ voice: session.voice,+ persona: session.persona,+ pose: session.pose,+ viewerUrl: viewerUrlFor(session),+ createdAt: session.createdAt,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/speak.js b/packages/avatar-agent-mcp/src/tools/speak.jsnew file mode 100644index 000000000..5bd528163--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/speak.js@@ -0,0 +1,92 @@+// `speak` — synthesize audio for the avatar via OpenAI's text-to-speech+// API. Returns the audio as a base64 data URL by default so clients can+// embed it directly. The avatar's voice (set when spawn_avatar runs) is+// used unless explicitly overridden.+//+// Requires OPENAI_API_KEY in the MCP server's environment.++import { z } from 'zod';++import { OPENAI_API_KEY } from '../config.js';+import { getSession, updateSession } from '../lib/avatars.js';++const VOICES = ['alloy', 'ash', 'ballad', 'coral', 'echo', 'fable', 'nova', 'onyx', 'sage', 'shimmer', 'verse'];+const MODELS = ['tts-1', 'tts-1-hd', 'gpt-4o-mini-tts'];+const FORMATS = {+ mp3: 'audio/mpeg',+ opus: 'audio/ogg',+ aac: 'audio/aac',+ flac: 'audio/flac',+ wav: 'audio/wav',+ pcm: 'audio/pcm',+};++export const def = {+ name: 'speak',+ title: 'Avatar speaks (OpenAI TTS)',+ description:+ 'Synthesize speech for an avatar session via OpenAI TTS and return a base64 audio data URL the client can play. Picks the session\'s configured voice unless overridden. Requires OPENAI_API_KEY on the MCP server.',+ inputSchema: {+ sessionId: z.string().optional()+ .describe('Avatar session id (optional — when omitted, voice falls back to the override or "nova").'),+ text: z.string().min(1).max(4096).describe('Text the avatar should say.'),+ voice: z.enum(VOICES).optional().describe('Override the session voice for this call.'),+ model: z.enum(MODELS).optional().describe('TTS model (default gpt-4o-mini-tts).'),+ format: z.enum(Object.keys(FORMATS)).optional().describe('Audio format (default mp3).'),+ speed: z.number().min(0.5).max(2.0).optional().describe('Playback speed multiplier.'),+ },+ async handler(args) {+ if (!OPENAI_API_KEY) {+ return {+ ok: false,+ error: 'not_configured',+ message: 'OPENAI_API_KEY is not set on the MCP server. Set it to enable TTS.',+ };+ }+ const { sessionId, text } = args || {};+ const session = sessionId ? getSession(sessionId) : null;+ if (sessionId && !session) {+ return { ok: false, error: 'unknown_session', message: `No session ${sessionId}.` };+ }+ const voice = args.voice || session?.voice || 'nova';+ const model = args.model || 'gpt-4o-mini-tts';+ const format = args.format || 'mp3';+ const speed = typeof args.speed === 'number' ? args.speed : 1.0;+ const mime = FORMATS[format];++ const t0 = Date.now();+ const r = await fetch('https://api.openai.com/v1/audio/speech', {+ method: 'POST',+ headers: {+ authorization: `Bearer ${OPENAI_API_KEY}`,+ 'content-type': 'application/json',+ },+ body: JSON.stringify({ input: text, voice, model, response_format: format, speed }),+ });+ if (!r.ok) {+ const errText = await r.text().catch(() => '');+ return {+ ok: false,+ error: 'tts_failed',+ status: r.status,+ message: errText.slice(0, 500),+ };+ }+ const buf = Buffer.from(await r.arrayBuffer());+ const base64 = buf.toString('base64');+ const dataUrl = `data:${mime};base64,${base64}`;+ if (session) updateSession(session.id, { lastSpoken: text.slice(0, 200) });+ return {+ ok: true,+ sessionId: session?.id || null,+ voice,+ model,+ format,+ mime,+ sizeBytes: buf.length,+ durationMs: Date.now() - t0,+ audio: dataUrl,+ text,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/thumbnail-glb.js b/packages/avatar-agent-mcp/src/tools/thumbnail-glb.jsnew file mode 100644index 000000000..b9382c0bc--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/thumbnail-glb.js@@ -0,0 +1,35 @@+// `thumbnail_glb` — render any public GLB URL to a PNG via three.ws's+// hosted headless-chromium pipeline (the same three-light rig and+// bounding-box framing that powers three.ws OG cards).+//+// Returns a base64 PNG data URL the client can display inline, plus+// width/height and the upstream endpoint that produced it.+//+// This is the single most-requested capability for any 3D MCP — without+// it the agent is "blind" to how a model actually looks.++import { z } from 'zod';++import { renderGlbThumbnail } from '../lib/render.js';++export const def = {+ name: 'thumbnail_glb',+ title: 'Render a GLB to a PNG thumbnail',+ description:+ 'Render any public GLB URL to a PNG via three.ws\'s hosted three-light rig + auto-framing camera. Returns the PNG inline as a base64 data URL (≤ ~4 MB) plus dimensions. Background defaults to #0a0a0a — pass "transparent" for compositing.',+ inputSchema: {+ glbUrl: z.string().url().describe('Public http(s) URL of a .glb file.'),+ width: z.number().int().min(64).max(2048).optional().describe('Output width in pixels (default 1024).'),+ height: z.number().int().min(64).max(2048).optional().describe('Output height in pixels (default 1024).'),+ background: z.string().optional().describe('CSS color (e.g. "#0a0a0a") or "transparent". Default "#0a0a0a".'),+ },+ async handler(args) {+ const { glbUrl, width, height, background } = args || {};+ if (!glbUrl) return { ok: false, error: 'invalid_input', message: 'glbUrl is required' };+ const out = await renderGlbThumbnail({ glbUrl, width, height, background });+ return {+ ...out,+ glbUrl,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/validate-glb.js b/packages/avatar-agent-mcp/src/tools/validate-glb.jsnew file mode 100644index 000000000..ca28bfcc6--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/validate-glb.js@@ -0,0 +1,90 @@+// `validate_glb` — run Khronos's official `gltf-validator` against any+// GLB URL and surface its findings (errors, warnings, infos, hints) with+// JSON-pointer locations and severity codes.+//+// This is the same validator the glTF Viewer (gltf.report) uses. It+// checks the entire spec compliance surface: accessor bounds, animation+// channel targets, image data integrity, extension usage, etc.++import { z } from 'zod';+import validator from 'gltf-validator';++import { fetchGlbBytes } from '../lib/glb-io.js';++const SEVERITIES = ['error', 'warning', 'info', 'hint'];++function classify(messages = []) {+ const buckets = { error: [], warning: [], info: [], hint: [] };+ for (const m of messages) {+ const sev = SEVERITIES[m.severity] || 'info';+ buckets[sev].push({+ code: m.code,+ message: m.message,+ pointer: m.pointer || null,+ offset: m.offset ?? null,+ });+ }+ return buckets;+}++export const def = {+ name: 'validate_glb',+ title: 'Validate a GLB / glTF against the Khronos spec',+ description:+ 'Run the official Khronos gltf-validator against a GLB URL. Returns errors, warnings, infos, and hints with codes + JSON pointers, plus structural counts (animations, materials, etc.) per the validator\'s info report. The same engine that powers gltf.report.',+ inputSchema: {+ url: z.string().describe('Public URL or data: URL of a .glb / .gltf file to validate.'),+ maxIssues: z.number().int().min(1).max(2000).optional()+ .describe('Cap on issues returned in each bucket (default 100). Validator may still scan all of them.'),+ },+ async handler(args) {+ const { url } = args || {};+ if (!url) return { ok: false, error: 'invalid_input', message: 'url is required' };+ const cap = args?.maxIssues || 100;+ let bytes;+ try {+ bytes = await fetchGlbBytes(url);+ } catch (err) {+ return { ok: false, error: 'fetch_failed', message: err.message };+ }++ let report;+ try {+ report = await validator.validateBytes(new Uint8Array(bytes), {+ uri: url,+ maxIssues: 2000,+ externalResourceFunction: async (resourceUri) => {+ // Fetch buffer/image references that live outside the GLB (rare+ // for .glb because everything's embedded, but supported here+ // for .gltf inputs).+ const r = await fetch(resourceUri);+ if (!r.ok) throw new Error(`external resource HTTP ${r.status}: ${resourceUri}`);+ return new Uint8Array(await r.arrayBuffer());+ },+ });+ } catch (err) {+ return { ok: false, error: 'validator_failed', message: err.message };+ }++ const buckets = classify(report.issues?.messages || []);+ for (const k of SEVERITIES) buckets[k] = buckets[k].slice(0, cap);++ return {+ ok: true,+ url,+ sizeBytes: bytes.byteLength,+ validatorVersion: report.validatorVersion || null,+ mimeType: report.mimeType || null,+ validated: report.validatedAt || new Date().toISOString(),+ summary: {+ numErrors: report.issues?.numErrors ?? 0,+ numWarnings: report.issues?.numWarnings ?? 0,+ numInfos: report.issues?.numInfos ?? 0,+ numHints: report.issues?.numHints ?? 0,+ truncated: !!report.issues?.truncated,+ },+ info: report.info || null,+ issues: buckets,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/viewer-url.js b/packages/avatar-agent-mcp/src/tools/viewer-url.jsnew file mode 100644index 000000000..005ca2fba--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/viewer-url.js@@ -0,0 +1,124 @@+// `viewer_url` — build a shareable three.ws viewer URL for any GLB plus+// optional embed snippet. Exposes the full set of viewer query params+// the three.ws web viewer respects: background, auto-rotate, camera+// preset OR explicit orbit string, AR mode, dimensions, pose, and+// accessory overlays.+//+// Supports an avatar sessionId (uses the session's GLB + accessories ++// pose as defaults) or a raw GLB URL. No fetch — pure URL composition+// plus an iframe snippet for sites that want to embed.++import { z } from 'zod';++import { VIEWER_BASE, THREE_WS_BASE } from '../config.js';+import { findAccessory, getSession } from '../lib/avatars.js';++function escAttr(s) {+ return String(s).replace(/&/g, '&').replace(/"/g, '"');+}++export const def = {+ name: 'viewer_url',+ title: 'Build a three.ws viewer URL + embed snippet',+ description:+ 'Build a shareable https://three.ws/viewer?... URL that opens any GLB in three.ws\'s WebGL viewer, plus a ready-to-paste iframe snippet. Supports background, auto-rotate, camera preset OR explicit camera orbit, AR mode (model-viewer), dimensions, pose, and accessory overlay. Accepts a raw glbUrl or a sessionId from spawn_avatar.',+ inputSchema: {+ glbUrl: z.string().url().optional().describe('Direct GLB URL. Required if sessionId is omitted.'),+ sessionId: z.string().optional().describe('Avatar sessionId returned by spawn_avatar. Overrides glbUrl.'),+ pose: z.string().optional().describe('Pose preset id (e.g. "wave", "tpose"). Call list_animations for the catalog.'),+ accessoryIds: z.array(z.string()).optional().describe('Accessory ids to attach in the viewer.'),+ background: z.string().optional()+ .describe('Background color or gradient (CSS), e.g. "#0a0a0a", "linear-gradient(...)", or "transparent".'),+ autoRotate: z.boolean().optional().describe('Auto-rotate the model. Default true on the web viewer.'),+ ar: z.boolean().optional().describe('Enable model-viewer AR buttons on iOS/Android.'),+ cameraPreset: z.enum(['front', 'three-quarter', 'side', 'back', 'top', 'closeup']).optional()+ .describe('Named camera framing preset.'),+ cameraOrbit: z.string().optional()+ .describe('Explicit camera orbit in model-viewer syntax, e.g. "0deg 80deg 2m". Overrides cameraPreset.'),+ cameraDistance: z.number().positive().optional().describe('Distance multiplier shorthand (1.0 = default). Used when cameraOrbit is absent.'),+ cameraAngleDeg: z.number().optional().describe('Yaw in degrees shorthand. Used when cameraOrbit is absent.'),+ width: z.number().int().min(64).max(4096).optional().describe('Viewer width in pixels (for the iframe snippet).'),+ height: z.number().int().min(64).max(4096).optional().describe('Viewer height in pixels.'),+ thumbnailUrl: z.string().url().optional().describe('Optional thumbnail to show in the iframe before the GLB loads.'),+ },+ async handler(args) {+ const {+ sessionId, glbUrl, pose, accessoryIds, background, autoRotate, ar,+ cameraPreset, cameraOrbit, cameraDistance, cameraAngleDeg,+ width, height, thumbnailUrl,+ } = args || {};++ let resolvedGlb = glbUrl;+ let resolvedAccessories = accessoryIds;+ let resolvedPose = pose;+ let session = null;+ if (sessionId) {+ session = getSession(sessionId);+ if (!session) return { ok: false, error: 'unknown_session', message: `No session ${sessionId}.` };+ resolvedGlb = session.avatar.glb;+ if (!resolvedAccessories) resolvedAccessories = session.accessories.map((a) => a.id);+ if (!resolvedPose) resolvedPose = session.pose;+ }+ if (!resolvedGlb) return { ok: false, error: 'invalid_input', message: 'Pass glbUrl or sessionId.' };++ const params = new URLSearchParams({ src: resolvedGlb });++ // Accessories — dedup + verify against the catalog.+ if (Array.isArray(resolvedAccessories) && resolvedAccessories.length) {+ const seen = new Set();+ const verified = [];+ for (const id of resolvedAccessories) {+ if (seen.has(id)) continue;+ seen.add(id);+ const acc = findAccessory(id);+ verified.push(acc ? acc.id : id);+ }+ params.set('accessories', verified.join(','));+ }+ if (resolvedPose && resolvedPose !== 'idle') params.set('pose', resolvedPose);++ // Camera — explicit orbit wins; fallback to preset; fallback to+ // the dist/yaw shorthand for backward compatibility.+ if (cameraOrbit) {+ params.set('camera', cameraOrbit);+ } else if (cameraPreset) {+ params.set('camera', cameraPreset);+ } else {+ if (typeof cameraDistance === 'number') params.set('camDist', String(cameraDistance));+ if (typeof cameraAngleDeg === 'number') params.set('camYaw', String(cameraAngleDeg));+ }++ if (background) params.set('background', background);+ if (autoRotate === false) params.set('auto_rotate', '0');+ if (autoRotate === true) params.set('auto_rotate', '1');+ if (ar) params.set('ar', '1');+ if (width) params.set('width', String(width));+ if (height) params.set('height', String(height));++ const viewerUrl = `${VIEWER_BASE}?${params.toString()}`;+ const iframeWidth = width || 800;+ const iframeHeight = height || 800;+ const iframeSnippet =+ `<iframe src="${escAttr(viewerUrl)}" width="${iframeWidth}" height="${iframeHeight}" ` ++ `style="border:0;border-radius:12px;background:#0a0a0a" allowfullscreen ` ++ `allow="autoplay;fullscreen;xr-spatial-tracking" loading="lazy"></iframe>`;++ return {+ ok: true,+ viewerUrl,+ iframeSnippet,+ glb: resolvedGlb,+ sessionId: session?.id || null,+ pose: resolvedPose || null,+ accessories: Array.isArray(resolvedAccessories) ? resolvedAccessories : null,+ cameraOrbit: cameraOrbit || (cameraPreset ? `preset:${cameraPreset}` : null),+ background: background || null,+ ar: !!ar,+ thumbnailUrl: thumbnailUrl || null,+ openGraph: {+ image: `${THREE_WS_BASE}/api/avatar-og?src=${encodeURIComponent(resolvedGlb)}`,+ url: viewerUrl,+ },+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/wallet-balance.js b/packages/avatar-agent-mcp/src/tools/wallet-balance.jsnew file mode 100644index 000000000..146e55abf--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/wallet-balance.js@@ -0,0 +1,36 @@+// `wallet_balance` — read SOL balance and all SPL token balances (both+// classic SPL + Token-2022) for any Solana pubkey. Read-only, no signer.++import { z } from 'zod';++import { getBalanceSol, getTokenBalances, isValidPubkey } from '../lib/solana.js';+import { SOLANA_RPC_URL } from '../config.js';++export const def = {+ name: 'wallet_balance',+ title: 'Read Solana wallet balances (SOL + SPL tokens)',+ description:+ 'Return SOL balance and all SPL token balances (including Token-2022) for a Solana pubkey. Uses the configured SOLANA_RPC_URL. Read-only — no signer required.',+ inputSchema: {+ pubkey: z.string().min(32).max(64).describe('Base58 Solana pubkey to read.'),+ includeTokens: z.boolean().optional().describe('Include SPL token accounts (default true).'),+ },+ async handler(args) {+ const { pubkey, includeTokens = true } = args || {};+ if (!isValidPubkey(pubkey)) {+ return { ok: false, error: 'invalid_pubkey' };+ }+ const sol = await getBalanceSol(pubkey);+ const tokens = includeTokens ? await getTokenBalances(pubkey) : null;+ return {+ ok: true,+ pubkey,+ sol: sol.sol,+ lamports: sol.lamports,+ tokens,+ rpc: SOLANA_RPC_URL,+ explorer: `https://solscan.io/account/${pubkey}`,+ fetchedAt: new Date().toISOString(),+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/wallet-create.js b/packages/avatar-agent-mcp/src/tools/wallet-create.jsnew file mode 100644index 000000000..c0c60ed73--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/wallet-create.js@@ -0,0 +1,67 @@+// `wallet_create` — generate a fresh Solana keypair locally and (optionally)+// attach it to an avatar session. With `vanityPrefix` / `vanitySuffix` the+// tool grinds keys until the base58 pubkey matches — useful for spawning a+// "three…" or "…wsai" themed wallet on the fly.+//+// The secret is returned base58-encoded ONCE. The MCP server does not+// persist it. The caller is responsible for storing it safely.++import { Keypair } from '@solana/web3.js';+import { z } from 'zod';++import { bs58encode, grindVanity } from '../lib/solana.js';+import { getSession, updateSession } from '../lib/avatars.js';++export const def = {+ name: 'wallet_create',+ title: 'Create a Solana wallet (optionally vanity-grinded)',+ description:+ 'Generate a Solana keypair locally. Optionally grind for a base58 prefix/suffix (e.g. "three") and/or attach it to an avatar session. Returns the base58 pubkey and secret ONCE — store the secret yourself; the MCP does not persist it.',+ inputSchema: {+ sessionId: z.string().optional().describe('If set, the wallet is attached to this avatar session.'),+ vanityPrefix: z.string().max(8).optional().describe('Base58 prefix to grind for (e.g. "three"). Up to 8 chars.'),+ vanitySuffix: z.string().max(8).optional().describe('Base58 suffix to grind for. Up to 8 chars.'),+ caseSensitive: z.boolean().optional().describe('Match case-sensitively (default true). Base58 has no 0OIl so set false to be permissive.'),+ maxAttempts: z.number().int().min(1).max(2_000_000).optional()+ .describe('Cap on grind attempts (default 500_000). Bump for longer prefixes.'),+ },+ async handler(args) {+ const { sessionId, vanityPrefix, vanitySuffix, caseSensitive = true, maxAttempts } = args || {};++ let pubkey;+ let secret;+ let grind = null;+ if (vanityPrefix || vanitySuffix) {+ grind = grindVanity({ prefix: vanityPrefix, suffix: vanitySuffix, caseSensitive, maxAttempts: maxAttempts || 500_000 });+ if (!grind.found) {+ return { ok: false, error: 'vanity_not_found', ...grind };+ }+ pubkey = grind.pubkey;+ secret = grind.secret;+ } else {+ const kp = Keypair.generate();+ pubkey = kp.publicKey.toBase58();+ secret = bs58encode(kp.secretKey);+ }++ let session = null;+ if (sessionId) {+ session = getSession(sessionId);+ if (!session) {+ return { ok: false, error: 'unknown_session', message: `No session ${sessionId}.` };+ }+ updateSession(sessionId, { wallet: { pubkey, hasSecret: true } });+ }++ return {+ ok: true,+ pubkey,+ secret,+ warning:+ 'This secret is shown ONCE. The MCP server does not persist it. Store it in a password manager or hardware wallet; treat it like cash.',+ sessionId: session?.id || null,+ vanity: grind ? { attempts: grind.attempts, durationMs: grind.durationMs } : null,+ explorer: `https://solscan.io/account/${pubkey}`,+ };+ },+};diff --git a/packages/avatar-agent-mcp/src/tools/wallet-send.js b/packages/avatar-agent-mcp/src/tools/wallet-send.jsnew file mode 100644index 000000000..05e7328d7--- /dev/null+++ b/packages/avatar-agent-mcp/src/tools/wallet-send.js@@ -0,0 +1,35 @@+// `wallet_send` — send SOL from a signer to a destination pubkey. The+// signer comes from the `secret` arg (preferred) or from SOLANA_SECRET_KEY+// in the MCP server environment. Returns the on-chain signature and a+// Solscan link once confirmed.++import { z } from 'zod';++import { sendSol } from '../lib/solana.js';++export const def = {+ name: 'wallet_send',+ title: 'Send SOL on Solana mainnet',+ description:+ 'Send SOL from the configured signer to a destination pubkey. The signer is supplied via the `secret` arg (base58) or via SOLANA_SECRET_KEY env on the MCP server. Returns the confirmed signature and a Solscan link. EXECUTION ACTION — funds move on mainnet.',+ inputSchema: {+ to: z.string().min(32).max(64).describe('Destination Solana pubkey.'),+ sol: z.number().positive().describe('Amount of SOL to send.'),+ secret: z.string().optional().describe('Base58 secret of the sender. Falls back to SOLANA_SECRET_KEY env.'),+ priorityMicroLamports: z.number().int().min(0).max(10_000_000).optional()+ .describe('Compute-unit price (default 100000).'),+ },+ async handler(args) {+ try {+ const out = await sendSol({+ secret: args.secret,+ to: args.to,+ sol: args.sol,+ priorityMicroLamports: args.priorityMicroLamports,+ });+ return { ok: true, ...out };+ } catch (err) {+ return { ok: false, error: err.code || 'send_failed', message: err.message, signature: err.signature || null };+ }+ },+};diff --git a/public/demos/3d-home.html b/public/demos/3d-home.htmlindex 34824ef34..843978bf2 100644--- a/public/demos/3d-home.html+++ b/public/demos/3d-home.html@@ -53,6 +53,12 @@line-height: 1.04; margin: 0 0 20px; color: #fff;}.hero-title em { color: #d6ff3d; font-style: normal; }+ /* Proximity shadow — JS updates --agent-shadow as the avatar nears #sit-line.+ Sharper + darker as he sits down on the text. */+ #sit-line {+ text-shadow: var(--agent-shadow, none);+ transition: text-shadow 90ms linear;+ }.hero-sub {color: #555870; font-size: 15.5px; line-height: 1.7;@@ -183,9 +189,43 @@renderer.setSize(window.innerWidth, window.innerHeight, false);updateFrustum();}- window.addEventListener('resize', () => { resize(); placeAtStart(); });+ window.addEventListener('resize', () => { resize(); recalibrateSitAnchor(); });resize();+ // ── Smooth lerp to a new world position (used for ResizeObserver) ─+ // We only retarget while the avatar is "at rest" on the sit-line — during+ // jump/standup the trajectory math owns position and we mustn't fight it.+ let recalSlide = null;+ function lerpAvatarTo(target, ms = 280) {+ if (!avatar) return;+ if (recalSlide) cancelAnimationFrame(recalSlide);+ const fromX = avatar.position.x, fromY = avatar.position.y;+ const t0 = performance.now();+ (function step(now) {+ const sp = Math.min((now - t0) / ms, 1);+ const e = smoothstep(sp);+ avatar.position.x = fromX + (target.x - fromX) * e;+ avatar.position.y = fromY + (target.y - fromY) * e;+ if (sp < 1) recalSlide = requestAnimationFrame(step);+ else recalSlide = null;+ })(performance.now());+ }++ function recalibrateSitAnchor() {+ if (!avatar) return;+ const next = getSitWorld();+ startW = next; // keep the resting anchor authoritative+ if (phase === 'sitting' || phase === 'standingUp' || phase === 'loading') {+ lerpAvatarTo(next, 280);+ }+ }++ // ResizeObserver: the window resize event fires once, but text reflow+ // (font load, line-wrap on viewport shrink) changes the rect bounds without+ // a window resize. Observe the target element directly so we always re-anchor.+ const sitLineRO = new ResizeObserver(() => recalibrateSitAnchor());+ sitLineRO.observe(sitLine);+// ── Lights ────────────────────────────────────────────────────────scene.add(new THREE.AmbientLight(0xffffff, 0.6));const key = new THREE.DirectionalLight(0xfff4dc, 2.0);@@ -277,13 +317,18 @@setTimeout(startStandup, SIT_DWELL_S * 1000);}+ // Crossfade duration tuned for organic blending between morph targets+ // and skeletal animations. ~0.3s reads as "intentional" rather than a snap.+ const FADE_S = 0.3;+function startStandup() {if (!standupAction || phase !== 'sitting') return;phase = 'standingUp';// Crossfade sit → standup, no rotation changestandupAction.reset();- standupAction.crossFadeFrom(sitAction, 0.2, false).play();- setTimeout(triggerJump, (STAND_S - 0.15) * 1000);+ standupAction.crossFadeFrom(sitAction, FADE_S, false).play();+ // Trigger jump just before standup ends, leaving room for the next fade+ setTimeout(triggerJump, (STAND_S - FADE_S) * 1000);}function triggerJump() {@@ -295,7 +340,7 @@phase = 'jumping'; seqT = 0; landed = false;fallAction.reset();- fallAction.crossFadeFrom(standupAction, 0.15, false).play();+ fallAction.crossFadeFrom(standupAction, FADE_S, false).play();}function updateSeq(dt) {@@ -404,6 +449,40 @@});});+ // ── Proximity shadow: ground the avatar by sharpening the text shadow+ // on #sit-line as he descends onto it. We project the avatar's world+ // position to screen px, compare against the rect's top edge, then map+ // vertical distance → shadow blur/darkness. As he sits (distance≈0),+ // the shadow is sharp + dark; as he leaves (distance≫), shadow fades.+ const _proj = new THREE.Vector3();+ function avatarScreenY() {+ _proj.set(avatar.position.x, avatar.position.y, avatar.position.z);+ _proj.project(camera);+ return (1 - _proj.y) * 0.5 * window.innerHeight;+ }+ function updateProximityShadow() {+ if (!avatar) return;+ const rect = sitLine.getBoundingClientRect();+ const ay = avatarScreenY();+ // Distance from avatar origin (feet) to text top edge, in px.+ // Negative = he's below the text line, clamp to 0 so shadow stays max.+ const dy = Math.max(0, rect.top - ay);+ // Map 0..220px → proximity 1..0 (closer = stronger shadow)+ const prox = 1 - Math.min(dy / 220, 1);+ if (prox <= 0.01) {+ sitLine.style.setProperty('--agent-shadow', 'none');+ return;+ }+ // Sharper (smaller blur) + darker as he gets closer.+ const blur = (10 * (1 - prox) + 2).toFixed(2); // 2px → 12px+ const offsetY = (2 + 6 * prox).toFixed(2); // 2px → 8px+ const alpha = (0.55 * prox).toFixed(3); // 0 → 0.55+ sitLine.style.setProperty(+ '--agent-shadow',+ `0 ${offsetY}px ${blur}px rgba(0,0,0,${alpha})`+ );+ }+// ── Render loop ───────────────────────────────────────────────────const clock = new THREE.Clock();(function tick() {@@ -412,6 +491,7 @@const dt = Math.min(clock.getDelta(), 0.05);mixer?.update(dt);updateSeq(dt);+ updateProximityShadow();renderer.render(scene, camera);} catch (_) {}})();diff --git a/public/demos/login.html b/public/demos/login.htmlnew file mode 100644index 000000000..ae55afbf0--- /dev/null+++ b/public/demos/login.html@@ -0,0 +1,495 @@+<!doctype html>+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>three.ws — login demo</title>+ <meta name="robots" content="noindex" />+ <link rel="stylesheet" href="/fonts/fonts.css" />+ <style>+ :root { color-scheme: dark; }+ *, *::before, *::after { box-sizing: border-box; }+ html, body { height: 100%; margin: 0; background: #04050d; color: #eee; font: 15px/1.5 'Inter', -apple-system, system-ui, sans-serif; }++ #avatar-canvas {+ position: fixed; inset: 0;+ width: 100vw; height: 100vh;+ pointer-events: none; z-index: 999;+ }++ .nav {+ position: fixed; top: 0; left: 0; right: 0; z-index: 20;+ display: flex; align-items: center; gap: 16px; padding: 14px 28px;+ background: rgba(4,5,13,0.55); backdrop-filter: blur(14px);+ border-bottom: 1px solid rgba(255,255,255,0.04);+ }+ .nav .brand { font: 700 15px/1 'Space Grotesk','Inter',sans-serif; color:#fff; text-decoration:none; display:flex; align-items:center; gap:7px; }+ .brand-dot { width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,#d6ff3d,#aacc00); box-shadow:0 0 10px rgba(214,255,61,0.6); }+ .nav a.link { color:#555870; text-decoration:none; font-size:13px; margin-left:auto; }+ .nav a.link:hover { color:#d6ff3d; }++ .page {+ min-height: 100vh;+ display: flex; align-items: center; justify-content: center;+ padding: 100px 24px 60px;+ }+ .card {+ width: 100%; max-width: 420px;+ background: rgba(12,14,28,0.72);+ border: 1px solid rgba(255,255,255,0.06);+ border-radius: 20px;+ padding: 40px 36px 32px;+ backdrop-filter: blur(18px);+ }+ .eyebrow {+ display: inline-flex; align-items: center; gap: 9px;+ font-size: 11px; font-weight: 600;+ letter-spacing: 0.17em; text-transform: uppercase;+ color: #d6ff3d; margin-bottom: 18px;+ font-family: 'Space Grotesk', 'Inter', sans-serif;+ }+ .eyebrow-dot {+ width: 7px; height: 7px; border-radius: 50%;+ background: #d6ff3d; box-shadow: 0 0 8px rgba(214,255,61,0.7);+ }+ h1 {+ font-family: 'Space Grotesk', 'Inter', sans-serif;+ font-size: 28px; font-weight: 800; letter-spacing: -0.02em;+ line-height: 1.15; margin: 0 0 8px; color: #fff;+ }+ .sub { color: #6b6e88; font-size: 14px; margin: 0 0 28px; }++ label { display: block; font-size: 12px; font-weight: 600; color: #8b8fae; margin: 0 0 6px; letter-spacing: 0.04em; }+ .field { margin-bottom: 18px; }+ .input {+ width: 100%;+ padding: 13px 14px;+ font: 500 15px/1.2 'Inter', inherit;+ background: rgba(255,255,255,0.04);+ border: 1.5px solid rgba(255,255,255,0.08);+ border-radius: 10px;+ color: #fff;+ outline: none;+ transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;+ }+ .input:focus {+ border-color: #d6ff3d;+ background: rgba(214,255,61,0.04);+ box-shadow: 0 0 0 3px rgba(214,255,61,0.12);+ }+ .input.error {+ border-color: #ff5a6a;+ background: rgba(255,90,106,0.05);+ box-shadow: 0 0 0 3px rgba(255,90,106,0.14);+ animation: nudge 0.4s ease;+ }+ @keyframes nudge {+ 0%,100% { transform: translateX(0); }+ 25% { transform: translateX(-4px); }+ 75% { transform: translateX(4px); }+ }++ .btn {+ display: inline-flex; align-items: center; justify-content: center;+ gap: 10px; width: 100%;+ padding: 14px 24px; border: none; border-radius: 12px;+ font: 700 15px/1 'Inter', inherit; cursor: pointer;+ background: linear-gradient(160deg, #e2ff5a, #c8ef2c);+ color: #0a0b0f;+ box-shadow: 0 6px 0 0 #7a9600, 0 8px 24px rgba(214,255,61,0.25);+ transform-origin: bottom center;+ will-change: transform;+ margin-top: 8px;+ }+ .btn:hover { filter: brightness(1.06); }++ .foot { margin: 22px 0 0; text-align: center; color: #54576f; font-size: 12.5px; }+ .foot a { color: #8a8eaa; }++ /* Hidden mirror — used to measure caret X in a regular <input>.+ Must match the input's typography & padding exactly. visibility:hidden+ so it occupies no painted pixels but is still measurable. */+ .caret-mirror {+ position: absolute;+ visibility: hidden;+ white-space: pre;+ font: 500 15px/1.2 'Inter', inherit;+ padding: 0;+ margin: 0;+ border: 0;+ pointer-events: none;+ top: -9999px; left: -9999px;+ }+ </style>+ </head>+ <body>+ <div class="nav">+ <a href="/" class="brand">+ <img src="/three.svg" width="20" height="20" alt="" />+ <span class="brand-dot"></span>+ three.ws+ </a>+ <a href="/demos/" class="link">← lab</a>+ </div>++ <div class="page">+ <form class="card" id="login-form" novalidate>+ <div class="eyebrow"><span class="eyebrow-dot"></span><span>Declarative agent interactions</span></div>+ <h1>Sign in</h1>+ <p class="sub">Your agent will read along — and look away when it shouldn't.</p>++ <div class="field">+ <label for="email">Email</label>+ <input+ class="input"+ id="email"+ name="email"+ type="email"+ autocomplete="email"+ placeholder="[email protected]"+ data-agent-target="stand-on"+ data-agent-action="track-typing"+ />+ </div>++ <div class="field">+ <label for="password">Password</label>+ <input+ class="input"+ id="password"+ name="password"+ type="password"+ autocomplete="current-password"+ placeholder="••••••••"+ data-agent-target="stand-on"+ data-agent-action="privacy-mode"+ />+ </div>++ <button+ class="btn"+ id="submit-btn"+ type="submit"+ data-agent-action="validate-form"+ >Sign in</button>++ <p class="foot">No account? <a href="/create">Build an agent →</a></p>+ </form>+ </div>++ <canvas id="avatar-canvas"></canvas>++ <script type="module">+ import * as THREE from 'three';+ import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';+ import { gsap } from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';++ const canvas = document.getElementById('avatar-canvas');+ const form = document.getElementById('login-form');++ // ── Renderer / scene (same orthographic pattern as 3d-home) ───────+ const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });+ renderer.setPixelRatio(Math.min(devicePixelRatio, 2));+ renderer.outputColorSpace = THREE.SRGBColorSpace;+ renderer.toneMapping = THREE.ACESFilmicToneMapping;+ renderer.toneMappingExposure = 1.1;++ const scene = new THREE.Scene();+ const PX_PER_UNIT = 120;+ const camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0.1, 100);+ camera.position.z = 10;++ function updateFrustum() {+ const hw = window.innerWidth / PX_PER_UNIT / 2;+ const hh = window.innerHeight / PX_PER_UNIT / 2;+ camera.left = -hw; camera.right = hw;+ camera.top = hh; camera.bottom = -hh;+ camera.updateProjectionMatrix();+ }++ const _v3 = new THREE.Vector3();+ function domToWorld(screenX, screenY) {+ _v3.set(+ (screenX / window.innerWidth) * 2 - 1,+ -(screenY / window.innerHeight) * 2 + 1,+ 0+ );+ _v3.unproject(camera);+ return { x: _v3.x, y: _v3.y };+ }+ function resize() {+ renderer.setSize(window.innerWidth, window.innerHeight, false);+ updateFrustum();+ }+ window.addEventListener('resize', resize);+ resize();++ // Lights+ scene.add(new THREE.AmbientLight(0xffffff, 0.6));+ const key = new THREE.DirectionalLight(0xfff4dc, 2.0); key.position.set(3, 6, 5); scene.add(key);+ const rim = new THREE.DirectionalLight(0x4060ff, 0.6); rim.position.set(-4, 3, -2); scene.add(rim);+ const fill = new THREE.DirectionalLight(0xffeedd, 0.4); fill.position.set(0, 2, 7); scene.add(fill);++ // ── Avatar runtime ────────────────────────────────────────────────+ let avatar = null, mixer = null, rootBone = null, baseRootPos = null;+ const clips = {}; // name → AnimationClip+ const actions = {}; // name → AnimationAction+ let currentAction = null;+ const FADE_S = 0.3; // crossfade duration — matches 3d-home++ function setAnimation(name, { loop = true, hold = false } = {}) {+ const next = actions[name];+ if (!next || next === currentAction) return;+ next.reset();+ next.setLoop(loop ? THREE.LoopRepeat : THREE.LoopOnce, loop ? Infinity : 1);+ next.clampWhenFinished = hold;+ if (currentAction) {+ next.crossFadeFrom(currentAction, FADE_S, false).play();+ } else {+ next.fadeIn(FADE_S).play();+ }+ currentAction = next;+ }++ // Smooth move avatar to a world position (lerp w/ smoothstep)+ let slideRAF = null;+ function moveAvatarTo(target, ms = 520) {+ if (!avatar) return Promise.resolve();+ if (slideRAF) cancelAnimationFrame(slideRAF);+ const fromX = avatar.position.x, fromY = avatar.position.y;+ const t0 = performance.now();+ return new Promise(resolve => {+ (function step(now) {+ const sp = Math.min((now - t0) / ms, 1);+ const e = sp * sp * (3 - 2 * sp);+ avatar.position.x = fromX + (target.x - fromX) * e;+ avatar.position.y = fromY + (target.y - fromY) * e;+ if (sp < 1) slideRAF = requestAnimationFrame(step);+ else { slideRAF = null; resolve(); }+ })(performance.now());+ });+ }++ // Smooth lookAt yaw (small head/body turn toward a screen X)+ function lookAtScreenX(targetScreenX) {+ if (!avatar) return;+ const projected = new THREE.Vector3(avatar.position.x, avatar.position.y, 0).project(camera);+ const screenAvatarX = (projected.x + 1) * 0.5 * window.innerWidth;+ const dxPx = targetScreenX - screenAvatarX;+ // Map ±200px of caret travel → ±~25° yaw+ const yaw = Math.max(-0.45, Math.min(0.45, dxPx / 450));+ gsap.to(avatar.rotation, { y: yaw, duration: 0.18, overwrite: true });+ }++ // ── Caret tracking via hidden mirror div ──────────────────────────+ // Given an <input>, place an off-screen <div> with identical typography+ // + padding, copy the prefix substring, and measure its width to find+ // the caret X within the input's content box.+ const mirror = document.createElement('div');+ mirror.className = 'caret-mirror';+ document.body.appendChild(mirror);++ function copyInputStyle(input) {+ const cs = getComputedStyle(input);+ mirror.style.font = cs.font;+ mirror.style.letterSpacing = cs.letterSpacing;+ mirror.style.textTransform = cs.textTransform;+ mirror.style.padding = '0';+ }++ function caretScreenX(input) {+ copyInputStyle(input);+ const rect = input.getBoundingClientRect();+ const cs = getComputedStyle(input);+ const padL = parseFloat(cs.paddingLeft) || 0;+ const padR = parseFloat(cs.paddingRight) || 0;+ const innerW = rect.width - padL - padR;++ // Use the real value for email; password inputs mask to a bullet so+ // the mirrored width reflects the rendered glyph stream, not the secret.+ const raw = input.value;+ const display = input.type === 'password' ? '•'.repeat(raw.length) : raw;+ const caretIdx = input.selectionStart ?? display.length;+ mirror.textContent = display.slice(0, caretIdx) || ' ';+ const textW = mirror.getBoundingClientRect().width;++ // Clamp to content box; ignores horizontal scroll on overflow but+ // good-enough for the input lengths typed in a login form.+ const offset = Math.min(textW, innerW);+ return rect.left + padL + offset;+ }++ // ── Declarative SDK: scan data-agent-* attributes and wire behaviors ─+ // We look for `data-agent-action` on form fields and the submit button.+ // Each action attaches the appropriate listeners + animation triggers.+ const targets = form.querySelectorAll('[data-agent-action]');++ let activeInput = null; // input currently focused+ let trackRAF = null; // rAF id for caret tracking loop++ function worldAboveInput(input) {+ const rect = input.getBoundingClientRect();+ // Stand on the top edge, ~one avatar-width inside from the left+ return domToWorld(rect.left + Math.min(40, rect.height * 1.2), rect.top);+ }++ async function walkTo(input) {+ setAnimation('walk', { loop: true });+ await moveAvatarTo(worldAboveInput(input), 540);+ }++ function startTypingTracking(input) {+ activeInput = input;+ setAnimation('idle', { loop: true });+ // Track caret on every animation frame while focused — covers keyboard+ // typing AND mouse-click cursor moves without listening for each event.+ cancelAnimationFrame(trackRAF);+ let lastCaretX = -1;+ (function loop() {+ if (activeInput !== input) return;+ const cx = caretScreenX(input);+ if (cx !== lastCaretX) {+ lastCaretX = cx;+ lookAtScreenX(cx);+ }+ trackRAF = requestAnimationFrame(loop);+ })();+ }++ function stopTypingTracking() {+ cancelAnimationFrame(trackRAF);+ trackRAF = null;+ activeInput = null;+ gsap.to(avatar.rotation, { y: 0, duration: 0.25, overwrite: true });+ }++ function enterPrivacyMode() {+ // Cover-eyes / look-away pose — held as long as the password field+ // owns focus. Loops in case the user pauses.+ setAnimation('coverstand', { loop: true });+ }++ function exitPrivacyMode() {+ setAnimation('idle', { loop: true });+ gsap.to(avatar.rotation, { y: 0, duration: 0.25, overwrite: true });+ }++ function disapprove() {+ // One-shot reaction, then fall back to idle.+ setAnimation('reaction', { loop: false, hold: false });+ // reaction.json is ~1.5s; schedule the fade back to idle just before it ends+ setTimeout(() => {+ if (currentAction === actions.reaction) setAnimation('idle', { loop: true });+ }, 1300);+ }++ // Wire each declared target+ targets.forEach(el => {+ const action = el.dataset.agentAction;++ if (action === 'track-typing') {+ el.addEventListener('focus', async () => {+ await walkTo(el);+ startTypingTracking(el);+ });+ el.addEventListener('blur', stopTypingTracking);+ // Recompute caret on input — selectionStart updates synchronously+ el.addEventListener('input', () => {+ if (activeInput === el) lookAtScreenX(caretScreenX(el));+ });+ el.addEventListener('keyup', () => {+ if (activeInput === el) lookAtScreenX(caretScreenX(el));+ });+ el.addEventListener('click', () => {+ if (activeInput === el) lookAtScreenX(caretScreenX(el));+ });+ }++ if (action === 'privacy-mode') {+ el.addEventListener('focus', async () => {+ stopTypingTracking();+ await walkTo(el);+ enterPrivacyMode();+ });+ el.addEventListener('blur', exitPrivacyMode);+ }++ if (action === 'validate-form') {+ // Attach to the form's submit so we intercept ENTER + click identically+ form.addEventListener('submit', ev => {+ const email = form.elements.email;+ const password = form.elements.password;+ const invalid = [];+ email.classList.remove('error');+ password.classList.remove('error');+ if (!email.value.trim()) invalid.push(email);+ if (!password.value) invalid.push(password);+ if (invalid.length) {+ ev.preventDefault();+ invalid.forEach(i => i.classList.add('error'));+ // Intentionally not focusing the first invalid input — focus would+ // fire the input's focus handler (walkTo → setAnimation('walk')),+ // which would immediately override the disapprove animation. The+ // red border + shake keyframe already mark where to look.+ disapprove();+ } else {+ // Real submit would POST here. For the demo, prevent navigation+ // and play a celebratory animation so the page stays observable.+ ev.preventDefault();+ setAnimation('celebrate', { loop: false, hold: true });+ }+ });+ }+ });++ // ── Load avatar + animations ──────────────────────────────────────+ const CLIPS = ['idle', 'walk', 'coverstand', 'reaction', 'celebrate'];++ new GLTFLoader().load('/avatars/cz.glb', gltf => {+ avatar = gltf.scene;+ avatar.traverse(n => {+ if (!rootBone && /^(Hips|Root|mixamorig:?Hips)$/i.test(n.name)) rootBone = n;+ });+ avatar.rotation.y = 0;+ scene.add(avatar);++ mixer = new THREE.AnimationMixer(avatar);++ Promise.all(CLIPS.map(name =>+ fetch(`/animations/clips/${name}.json`).then(r => r.json())+ )).then(jsons => {+ CLIPS.forEach((name, i) => {+ clips[name] = THREE.AnimationClip.parse(jsons[i]);+ actions[name] = mixer.clipAction(clips[name]);+ });++ if (rootBone) baseRootPos = rootBone.position.clone();+ // Lock root motion so animation drift doesn't accumulate translation+ const _r = renderer.render.bind(renderer);+ renderer.render = (sc, cam) => {+ try { if (rootBone && baseRootPos) rootBone.position.copy(baseRootPos); } catch (_) {}+ _r(sc, cam);+ };++ // Park avatar centered above the form card, looking forward.+ const cardRect = form.getBoundingClientRect();+ const restPos = domToWorld(cardRect.left + cardRect.width / 2, cardRect.top - 30);+ avatar.position.set(restPos.x, restPos.y, 0);++ setAnimation('idle', { loop: true });+ });+ });++ // ── Render loop ───────────────────────────────────────────────────+ const clock = new THREE.Clock();+ (function tick() {+ requestAnimationFrame(tick);+ try {+ const dt = Math.min(clock.getDelta(), 0.05);+ mixer?.update(dt);+ renderer.render(scene, camera);+ } catch (_) {}+ })();+ </script>+ </body>+</html>