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
fix(deps): refresh the modly and rembg worker requirements and the lockfile, and correct the marketplace splits test
nirholasd3d74e670073
diff --git a/package-lock.json b/package-lock.jsonindex 8048d78fe..a4fa7808e 100644--- a/package-lock.json+++ b/package-lock.json@@ -3643,36 +3643,6 @@"node-fetch": "^2.7.0"}},- "node_modules/@bnb-chain/greenfield-js-sdk/node_modules/fast-xml-parser": {- "version": "4.5.7",- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.7.tgz",- "integrity": "sha512-a6Qh1RMCNbSrU1+sAyAAZH3rTe+OaWJbNZIq0S+ifZciUUOQtlVxBJwoTUE2bYhysmG/RYyI5WJFIKdBahJdrQ==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/NaturalIntelligence"- }- ],- "license": "MIT",- "dependencies": {- "strnum": "^1.0.5"- },- "bin": {- "fxparser": "src/cli/cli.js"- }- },- "node_modules/@bnb-chain/greenfield-js-sdk/node_modules/strnum": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.1.2.tgz",- "integrity": "sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/NaturalIntelligence"- }- ],- "license": "MIT"- },"node_modules/@bnb-chain/mpp": {"version": "0.2.0","resolved": "https://registry.npmjs.org/@bnb-chain/mpp/-/mpp-0.2.0.tgz",@@ -42168,25 +42138,6 @@"xpath": "^0.0.34"}},- "node_modules/adaptive-expressions/node_modules/fast-xml-parser": {- "version": "4.5.7",- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.7.tgz",- "integrity": "sha512-a6Qh1RMCNbSrU1+sAyAAZH3rTe+OaWJbNZIq0S+ifZciUUOQtlVxBJwoTUE2bYhysmG/RYyI5WJFIKdBahJdrQ==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/NaturalIntelligence"- }- ],- "license": "MIT",- "dependencies": {- "strnum": "^1.0.5"- },- "bin": {- "fxparser": "src/cli/cli.js"- }- },"node_modules/adaptive-expressions/node_modules/lru-cache": {"version": "5.1.1","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",@@ -42197,19 +42148,6 @@"yallist": "^3.0.2"}},- "node_modules/adaptive-expressions/node_modules/strnum": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.1.2.tgz",- "integrity": "sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/NaturalIntelligence"- }- ],- "license": "MIT"- },"node_modules/adaptive-expressions/node_modules/uuid": {"version": "11.1.1","resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",diff --git a/tests/marketplace-splits.test.js b/tests/marketplace-splits.test.jsindex 58cfce54a..d801be547 100644--- a/tests/marketplace-splits.test.js+++ b/tests/marketplace-splits.test.js@@ -272,6 +272,33 @@ describe('recordSplitDistribution — persisted allocations', () => {});});+describe('recordSplitDistribution - net already paid to the seller wallet', () => {+ const split = {+ id: 'split-9',+ split_mode: 'ledger',+ recipients: [+ { address: EVM_A, share_bps: 5000, recipient_user_id: 'u-a' },+ { address: EVM_B, share_bps: 5000, recipient_user_id: 'u-b' },+ ],+ };++ it('records informational settled rows so the treasury never pays the net twice', async () => {+ const out = await recordSplitDistribution(fakeSql([]), {+ purchaseId: 'p-9', split, netAtomics: 1000n, currencyMint: 'usdc', chain: 'solana',+ settledToWallet: true,+ });+ expect(out.every((r) => r.status === 'settled')).toBe(true);+ });++ it('keeps accrued credit only when the net did not reach the seller wallet', async () => {+ const out = await recordSplitDistribution(fakeSql([]), {+ purchaseId: 'p-10', split, netAtomics: 1000n, currencyMint: 'usdc', chain: 'solana',+ settledToWallet: false,+ });+ expect(out.every((r) => r.status === 'accrued')).toBe(true);+ });+});+describe('enforceOnchainLicense — fail-open gate', () => {const prev = process.env.SKILL_LICENSE_ENFORCE;afterEach(() => {diff --git a/workers/modly/requirements-host.txt b/workers/modly/requirements-host.txtindex 258515c1b..61ae38440 100644--- a/workers/modly/requirements-host.txt+++ b/workers/modly/requirements-host.txt@@ -4,17 +4,20 @@# lower bounds only; the versions below satisfy every bound it declares.# ── Modly backend (api/requirements.txt at the pinned Modly commit) ──────────+# python-multipart, cryptography, certifi and pytest are kept on current+# releases (they carry open advisories at older pins). Nothing here is held down+# by Modly's declared lower bounds, so they are free to move up.fastapi==0.115.6uvicorn[standard]==0.34.0-python-multipart==0.0.20+python-multipart==0.0.32httpx==0.28.1mcp==1.30.0trimesh==4.5.3pymeshlab==2023.12.post2huggingface_hub==0.36.2hf_xet==1.1.10-cryptography==45.0.7-certifi==2025.8.3+cryptography==50.0.2+certifi==2026.10.23# ── Shared numeric stack (pymeshlab 2023.12 needs numpy 1.x) ─────────────────numpy==1.26.4@@ -27,4 +30,4 @@ xatlas==0.0.11scipy==1.13.1Pillow==13.0.0google-cloud-storage==2.18.0-pytest==8.3.5+pytest==9.1.1diff --git a/workers/rembg/requirements.txt b/workers/rembg/requirements.txtindex 28a9eef5c..4e1d9dd45 100644--- a/workers/rembg/requirements.txt+++ b/workers/rembg/requirements.txt@@ -4,10 +4,12 @@ uvicorn[standard]==0.32.1# onnxruntime-gpu plus its CUDA libraries on top of the CPU runtime that rembg# already installs. onnxruntime is pinned because rembg leaves it open, which# made every rebuild a different inference runtime.-# 2.0.75 is the first release with the fixes for the model_path traversal and-# the server SSRF/CORS advisories. It needs Python 3.11 and numpy 2.3, which this-# python:3.11-slim image takes cleanly (onnxruntime 1.28 ships numpy 2 wheels).-rembg==2.0.75+# 2.0.75 was the first release with the fixes for the model_path traversal and+# the server SSRF/CORS advisories. 2.0.86 is the first release that allows+# Pillow 13 (every earlier one caps it below 13), which the Pillow pin below+# needs. It needs Python 3.11 and numpy 2.3, which this python:3.11-slim image+# takes cleanly (onnxruntime 1.28 ships numpy 2 wheels).+rembg==2.0.86onnxruntime==1.28.0# Pillow 13.0.0, the same pin every other worker carries. This service decodes an# image the caller supplied, which is the exact path the heap overflows in the