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.

fix(tests): unbreak the branding lock, slot list, and dance-clip guard

nirholas8936da4dc4ae
diff --git a/data/pages.json b/data/pages.json
index 232e2c028..af6d4f9f1 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -47,6 +47,14 @@
"added": "2026-06-17",
"showcase": true
},
+ {
+ "path": "/gestures",
+ "title": "Agent Gestures",
+ "description": "The three.ws agent gesture vocabulary: every animation slot, the clip it plays, the skills that trigger it, and a builder for overriding any slot on your own agent. Previewed live on a real avatar.",
+ "priority": 0.7,
+ "changefreq": "weekly",
+ "added": "2026-07-30"
+ },
{
"path": "/character-library",
"title": "Character Library",
@@ -4179,7 +4187,7 @@
{
"path": "/tutorials/import-avatar-url",
"title": "Tutorial · Import an avatar by URL",
- "description": "Bring a Ready Player Me or any hosted glTF/GLB avatar into three.ws by link: auto-validated, auto-rigged, ready for an agent.",
+ "description": "Bring any hosted glTF/GLB avatar into three.ws by link: auto-validated, auto-rigged, ready for an agent.",
"priority": 0.8,
"changefreq": "monthly",
"added": "2026-06-21"
diff --git a/public/tutorials-manifest.js b/public/tutorials-manifest.js
index 6c1eb2206..88adc7501 100644
--- a/public/tutorials-manifest.js
+++ b/public/tutorials-manifest.js
@@ -164,7 +164,7 @@
slug: 'import-avatar-url',
tier: 'easy',
title: 'Import an avatar by URL',
- blurb: 'Bring a Ready Player Me or any hosted glTF/GLB avatar into three.ws by link — auto-validated, auto-rigged, ready for an agent.',
+ blurb: 'Bring any hosted glTF/GLB avatar into three.ws by link: auto-validated, auto-rigged, ready for an agent.',
builds: 'An imported avatar live on your account from a single URL',
time: '6 min',
previewModel: '/avatars/cz.glb',
diff --git a/tests/api/dance-tip.test.js b/tests/api/dance-tip.test.js
index d368ff750..ab093e882 100644
--- a/tests/api/dance-tip.test.js
+++ b/tests/api/dance-tip.test.js
@@ -13,6 +13,7 @@
// • The bazaar schema advertises the new `dance` enum values + sequence shape
import { describe, it, expect } from 'vitest';
+import { readFileSync } from 'node:fs';
import {
STYLES,
pickStyle,
@@ -64,7 +65,18 @@ describe('STYLES — registry', () => {
// `idle`/`walk` are stage transitions, not danceable styles, so they're not
// valid routine clips.
it('only references clips that exist in the deployed animation manifest', () => {
- const PERFORMABLE = new Set(['dance', 'rumba', 'silly', 'thriller', 'capoeira', 'twerk']);
+ // Read the shipped manifest rather than a hand-kept list: a hardcoded set
+ // goes stale the moment a new routine is added, which turns this guard
+ // into a false alarm instead of the real check its name promises.
+ const manifest = JSON.parse(
+ readFileSync(new URL('../../public/animations/manifest.json', import.meta.url), 'utf8'),
+ );
+ const entries = Array.isArray(manifest) ? manifest : manifest.animations || manifest.clips || [];
+ const PERFORMABLE = new Set(entries.map((a) => a.name || a.id).filter(Boolean));
+ // `idle`/`walk` ship in the manifest as stage transitions, so exclude them:
+ // a paid routine that only stands or walks is the frozen-dancer bug.
+ PERFORMABLE.delete('idle');
+ PERFORMABLE.delete('walk');
for (const [key, style] of Object.entries(STYLES)) {
const clips = style.sequence ? style.sequence.map((s) => s.clip) : [style.clip];
for (const clip of clips) {
diff --git a/tests/branding-allowlist.json b/tests/branding-allowlist.json
index 5443266c9..281372b90 100644
--- a/tests/branding-allowlist.json
+++ b/tests/branding-allowlist.json
@@ -1,4 +1,9 @@
[
+ {
+ "pattern": "<code>avaturn</code>",
+ "file": "pages/avatar-cli.html",
+ "reason": "Accepted value of the manifest `skeleton` field, fixed by the published @three-ws/avatar-schema enum (schema/avatar.v1.json). The field reference must print the literal a user types, so this is a technical identifier rather than product copy."
+ },
{
"pattern": "source: 'avaturn'",
"file": "*",
diff --git a/tests/src/animation-slots.test.js b/tests/src/animation-slots.test.js
index 349f71b0f..535ee9e69 100644
--- a/tests/src/animation-slots.test.js
+++ b/tests/src/animation-slots.test.js
@@ -21,6 +21,13 @@ describe('SLOTS', () => {
'shrug',
'fidget',
'dance',
+ 'inspect',
+ 'present',
+ 'sign',
+ 'curiosity',
+ 'patience',
+ 'manipulate',
+ 'conjure',
];
expect(SLOTS).toEqual(expected);
});