Skip to content

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.

feat(packages): discover publishable packages instead of reading a hand-kept list

nirholasd5bda0f6d50a
diff --git a/packages/render/package.json b/packages/render/package.json
index d4d59990c..37c474dcd 100644
--- a/packages/render/package.json
+++ b/packages/render/package.json
@@ -59,6 +59,6 @@
"sharp": "^0.35.3"
},
"scripts": {
- "test": "vitest run tests"
+ "test": "vitest run --root ../.. packages/render/tests"
}
}
diff --git a/packages/render/tests/glb.test.js b/packages/render/tests/glb.test.js
index 269fe6309..6c7f1f697 100644
--- a/packages/render/tests/glb.test.js
+++ b/packages/render/tests/glb.test.js
@@ -7,9 +7,11 @@
import { describe, it, expect } from 'vitest';
import { readFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
import { parseGlb, packGlb, extractImages, stripImages } from '../src/glb.js';
-const AVATAR = 'public/avatars/default.glb';
+const ROOT = fileURLToPath(new URL('../../../', import.meta.url));
+const AVATAR = `${ROOT}public/avatars/default.glb`;
function readAvatar() {
const buf = readFileSync(AVATAR);
diff --git a/packages/render/tests/render.test.js b/packages/render/tests/render.test.js
index 6985f0749..c70879d99 100644
--- a/packages/render/tests/render.test.js
+++ b/packages/render/tests/render.test.js
@@ -7,6 +7,7 @@
import { describe, it, expect, beforeAll } from 'vitest';
import { readFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
import { createHash } from 'node:crypto';
import { AvatarModel } from '../src/model.js';
import { renderFrame, renderFrames, frameCamera, PRESETS } from '../src/render.js';
@@ -14,8 +15,9 @@ import { parseClipJson } from '../src/clips.js';
import { encodePng, encodeApng } from '../src/encode.js';
import { decodePng } from '../src/image.js';
-const AVATAR = 'public/avatars/default.glb';
-const CLIP = 'public/animations/clips/idle.json';
+const ROOT = fileURLToPath(new URL('../../../', import.meta.url));
+const AVATAR = `${ROOT}public/avatars/default.glb`;
+const CLIP = `${ROOT}public/animations/clips/idle.json`;
let model;
diff --git a/packages/see/package.json b/packages/see/package.json
index 1a7f572d2..b6d3170aa 100644
--- a/packages/see/package.json
+++ b/packages/see/package.json
@@ -40,7 +40,7 @@
"node": ">=18"
},
"scripts": {
- "test": "node --test test/"
+ "test": "node --test test/*.test.js"
},
"publishConfig": {
"access": "public"
diff --git a/public/changelog.json b/public/changelog.json
index 27db5d493..23c8fd3e1 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-03T16:28:57.686Z",
+ "generated_at": "2026-09-03T16:35:40.785Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/features.json b/public/features.json
index de076dcb1..f73d5f0ca 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-03T16:28:57.677Z",
+ "generated_at": "2026-09-03T16:35:40.767Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",