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(rig): map 3ds Max Biped fingers and toes and Source engine ValveBiped skeletons, and name Source rigs in Rig Doctor

nirholas638a7f687647
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d182443ac..cd03318f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -72,6 +72,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **New payout addresses now wait out a cooldown you can cancel**: Your agent wallet has a destination whitelist. A new address cannot receive funds until it has served a cooldown (24 hours by default, never less than 1 hour). Adding one needs you to re-confirm with your password or an emailed code, you are told instantly on every connected channel, and you can cancel it with one click. Agents and API keys can only propose an address, never activate it. Removing an address works instantly. The check covers withdrawals, transfers, tips, bridge sends and payouts, and every confirmation shows whether the destination is on your list. Manage it on the new Allowlist tab of your agent wallet. (`/agent-wallet`) `[feature, security]`
- **Quieter, cleaner pages: dead links fixed and console errors gone**: We swept every page on three.ws with the browser developer console open and fixed what it found. Links to pages that moved now redirect to where they live today, share buttons always have a destination, 3D viewers decode compressed models on every page, the missing bow animation thumbnail is back on the choreography and gestures pages, and pages full of brand-new coins or agents without a wallet no longer fill the console with errors while they wait for data. (`/gestures`) `[fix]`
- **Quote any Papertrade position before you open it, from the API or your AI assistant**: three.ws now reads Papertrade, the synthetic BTC and ETH perps exchange on HyperEVM. Ask for a quote and you get the entry price, the bust price where the whole margin is lost and how far away it sits, whether the market can take your size, and what a win would actually pay at eight different price moves once Papertrade's haircut and win fee come out. Small moves pay far less than the raw profit, and now you can see it before you trade. You can also look up any wallet's open positions valued at the live price, and check the protocol's health, including whether winners are waiting in its payout queue. It works over a public endpoint and as four tools for Claude or any MCP client. It only reads: you still trade on Papertrade from your own wallet. (`/docs/papertrade`) `[feature]`
+- **Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks**: Source engine (ValveBiped) skeletons now map to the shared animation library and Rig Doctor names them as their own convention, so 16 rig conventions are recognised. 3ds Max Biped finger chains and toes now map too, which restores hand animation on those rigs. The browser GLB check now rejects truncated files before upload, matching the server. The Money Pulse counters roll over to the right unit near $1k and $1M instead of showing $1000 or 1000.0k, and the URL scheme and model-host guards gained regression tests. (`/rig-doctor`) `[improvement, fix]`
- **Run your agents on your own desktop**: The three.ws desktop app can now run agents, strategies, limit orders and automations on your machine. Signing keys stay in your operating system keychain, paper strategies keep working with no account or cloud connection, and every live trade waits for your approval in a native window that shows the exact recipient, amount, asset and chain. A tray menu lists each agent with pause, kill and review, and the mascot shows when an agent is working, waiting for you or in trouble. (`/docs/desktop-local-runtime`) `[feature]`
- **Set up your AI client with one command, and check it with doctor**: Run npx three-ws --claude (or --cursor, --codex, --vscode, --windsurf) and the CLI signs you in, connects three.ws and verifies it, with no prompts. Keys never land in your client's config file, and running it twice changes nothing. New installers at three.ws/cli/install and three.ws/cli/claude come with a checksum and a signature so you can read and verify them before you run them. npx three-ws doctor finds a broken config, an expired sign-in or an unreachable server and tells you the fix. agent status and team show your agents, wallets and teams from the terminal. (`/docs/cli`) `[feature, improvement]`
- **Sign in with Google, connect several AI clients at once, and grant permissions by group**: You can now sign in to three.ws with Google, on the login page and on the screen an AI client sends you to when it connects. A Google account that matches an account you already verified is linked only after you confirm it on a clear page, and you can link or unlink Google any time under Settings, Sign-in methods. Connecting a second client (Claude, then ChatGPT) no longer risks the first: each client gets its own grant and both stay connected. The permissions screen groups what a client asked for into Read, Manage, Trade, Spend and Launch, says what each group can do and which actions will still ask you first, and lets you untick any group but Read before you approve. Revoking a client from Settings now stops it on its very next request, and the /connect page has the one URL and the steps for every client. (`/connect`) `[feature, security]`
diff --git a/data/changelog.json b/data/changelog.json
index 11c27b7fc..81e37fe17 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,16 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-10-10",
+ "title": "Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks",
+ "summary": "Source engine (ValveBiped) skeletons now map to the shared animation library and Rig Doctor names them as their own convention, so 16 rig conventions are recognised. 3ds Max Biped finger chains and toes now map too, which restores hand animation on those rigs. The browser GLB check now rejects truncated files before upload, matching the server. The Money Pulse counters roll over to the right unit near $1k and $1M instead of showing $1000 or 1000.0k, and the URL scheme and model-host guards gained regression tests.",
+ "tags": [
+ "improvement",
+ "fix"
+ ],
+ "link": "/rig-doctor"
+ },
{
"date": "2026-10-10",
"title": "Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer",
diff --git a/docs/rig-doctor.md b/docs/rig-doctor.md
index 6f8e56ffd..4888c945f 100644
--- a/docs/rig-doctor.md
+++ b/docs/rig-doctor.md
@@ -122,6 +122,7 @@ The convention detector reports which authoring tool your skeleton came from and
| MediaPipe Pose | `foot_index` and `heel` landmark joints | `custom` |
| Reallusion Character Creator | `CC_Base_*` joint prefix | `custom` |
| Unreal Engine mannequin | `pelvis`, `thigh_l`, `clavicle_l` | `custom` |
+| Source engine (ValveBiped) | `ValveBiped.Bip01_*` joint prefix | `custom` |
| 3ds Max Biped | `Bip01` / `Bip001` prefix | `custom` |
| Blender Rigify | `DEF-` / `ORG-` / `MCH-` bone layers | `custom` |
| Autodesk HumanIK / MotionBuilder | character-namespaced joints (`Character1:Hips`) | `custom` |
diff --git a/pages/rig-doctor.html b/pages/rig-doctor.html
index abf365c1d..754b1f2d5 100644
--- a/pages/rig-doctor.html
+++ b/pages/rig-doctor.html
@@ -125,7 +125,7 @@
<ul class="rd-hero-facts">
<li data-i18n-html="rig-doctor.fact_bytes"><strong>0 bytes</strong> leave your machine</li>
<li><strong id="rd-fact-joints">52</strong> <span data-i18n="rig-doctor.fact_joints_label">canonical joints scored</span></li>
- <li><strong id="rd-fact-conventions">15</strong> <span data-i18n="rig-doctor.fact_conventions_label">rig conventions recognised</span></li>
+ <li><strong id="rd-fact-conventions">16</strong> <span data-i18n="rig-doctor.fact_conventions_label">rig conventions recognised</span></li>
<li data-i18n-html="rig-doctor.fact_repair"><strong>1</strong> click to download the repair</li>
</ul>
</div>
diff --git a/public/changelog-recent.json b/public/changelog-recent.json
index ae7db9566..27ff583b0 100644
--- a/public/changelog-recent.json
+++ b/public/changelog-recent.json
@@ -1,11 +1,11 @@
{
- "generated_at": "2026-10-10T22:36:14.215Z",
+ "generated_at": "2026-10-10T23:11:17.227Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
- "total": 3957,
+ "total": 3958,
"complete": false,
"full_feed": "/changelog.json",
"entries": [
@@ -655,6 +655,17 @@
"feature"
]
},
+ {
+ "date": "2026-10-10",
+ "type": "update",
+ "title": "Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks",
+ "summary": "Source engine (ValveBiped) skeletons now map to the shared animation library and Rig Doctor names them as their own convention, so 16 rig conventions are recognised. 3ds Max Biped finger chains and toes now map too, which restores hand animation on those rigs. The browser GLB check now rejects truncated files before upload, matching the server. The Money Pulse counters roll over to the right unit near $1k and $1M instead of showing $1000 or 1000.0k, and the URL scheme and model-host guards gained regression tests.",
+ "link": "/rig-doctor",
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
{
"date": "2026-10-10",
"type": "update",
@@ -1530,17 +1541,6 @@
"tags": [
"fix"
]
- },
- {
- "date": "2026-10-01",
- "type": "update",
- "title": "Pinned agent-3d embeds keep working after every update",
- "summary": "If you embedded the 3D avatar component with a pinned version and an integrity hash, as our docs recommend for production, the embed could stop loading after one of our updates: the file behind a version that is promised never to change was being rebuilt each time we shipped, so its fingerprint changed and browsers refused to run it. A released version is now frozen for good, every update serves exactly the same file under it, and the build fails if any hash in our docs, skills or code snippets ever disagrees with the file it points to. Version 1.5.2 is frozen as it is served today; if your page pins an older hash for 1.5.2, update it once from /agent-3d/1.5.2/integrity.json.",
- "link": "/docs/web-component",
- "tags": [
- "fix",
- "sdk"
- ]
}
]
}
diff --git a/public/changelog.json b/public/changelog.json
index 674ca58d2..2e907663c 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-10-10T22:36:14.191Z",
+ "generated_at": "2026-10-10T23:11:17.126Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -652,6 +652,17 @@
"feature"
]
},
+ {
+ "date": "2026-10-10",
+ "type": "update",
+ "title": "Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks",
+ "summary": "Source engine (ValveBiped) skeletons now map to the shared animation library and Rig Doctor names them as their own convention, so 16 rig conventions are recognised. 3ds Max Biped finger chains and toes now map too, which restores hand animation on those rigs. The browser GLB check now rejects truncated files before upload, matching the server. The Money Pulse counters roll over to the right unit near $1k and $1M instead of showing $1000 or 1000.0k, and the URL scheme and model-host guards gained regression tests.",
+ "link": "/rig-doctor",
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
{
"date": "2026-10-10",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index cad5a93cb..660be3cf4 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -510,6 +510,14 @@
<category>feature</category>
<description>three.ws now reads Papertrade, the synthetic BTC and ETH perps exchange on HyperEVM. Ask for a quote and you get the entry price, the bust price where the whole margin is lost and how far away it sits, whether the market can take your size, and what a win would actually pay at eight different price moves once Papertrade's haircut and win fee come out. Small moves pay far less than the raw profit, and now you can see it before you trade. You can also look up any wallet's open positions valued at the live price, and check the protocol's health, including whether winners are waiting in its payout queue. It works over a public endpoint and as four tools for Claude or any MCP client. It only reads: you still trade on Papertrade from your own wallet.</description>
</item>
+ <item>
+ <title>Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks</title>
+ <link>https://three.ws/rig-doctor</link>
+ <guid isPermaLink="false">2026-10-10:Rig Doctor and the animation library now understand Source engine and 3ds Max Biped hands, plus tighter upload and number checks</guid>
+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Source engine (ValveBiped) skeletons now map to the shared animation library and Rig Doctor names them as their own convention, so 16 rig conventions are recognised. 3ds Max Biped finger chains and toes now map too, which restores hand animation on those rigs. The browser GLB check now rejects truncated files before upload, matching the server. The Money Pulse counters roll over to the right unit near $1k and $1M instead of showing $1000 or 1000.0k, and the URL scheme and model-host guards gained regression tests.</description>
+ </item>
<item>
<title>Run your agents on your own desktop</title>
<link>https://three.ws/docs/desktop-local-runtime</link>
diff --git a/src/glb-canonicalize.js b/src/glb-canonicalize.js
index 592259569..4963c6379 100644
--- a/src/glb-canonicalize.js
+++ b/src/glb-canonicalize.js
@@ -197,6 +197,26 @@ const EXTRA_ALIASES = (() => {
for (let n = 0; n <= 2; n++) put(`${jp}親指${n}`, `${side}HandThumb${n + 1}`);
}
+ // 3ds Max Biped fingers. Biped numbers fingers instead of naming them: digit
+ // 0-4 is thumb, index, middle, ring, pinky. One digit (`Finger1`) is that
+ // finger's first segment; two digits are the finger, then the segment minus
+ // one (`Finger11` = index segment 2, `Finger42` = pinky segment 3). Keyed
+ // after the `Bip<NN>` strip, so `Bip01 L Finger01` and the sanitized
+ // `Bip01_L_Finger01` both reach `lfinger01`. Toe0 is the one toe joint.
+ for (const [side, long] of [['L', 'Left'], ['R', 'Right']]) {
+ ['Thumb', 'Index', 'Middle', 'Ring', 'Pinky'].forEach((cf, f) => {
+ for (let n = 1; n <= 3; n++) put(`${side} Finger${n === 1 ? f : `${f}${n - 1}`}`, `${long}Hand${cf}${n}`);
+ });
+ put(`${side} Toe0`, `${long}ToeBase`);
+ }
+
+ // Source engine (Valve) skeletons are Biped-derived. Source numbers its
+ // four-joint spine Spine, Spine1, Spine2, Spine4 (there is no Spine3) and its
+ // neck and head Neck1 / Head1. Spine4 is the top of the chain, so it targets
+ // the canonical top spine joint, Spine2. A rig that also has Bip01_Spine2
+ // keeps the lower joint: renames are first-wins, parent first.
+ for (const [v, c] of [['Spine4', 'Spine2'], ['Neck1', 'Neck'], ['Head1', 'Head']]) put(v, c);
+
// Centre / torso bones with no side (VRM 1.0, Daz, generic single-chest rigs).
for (const [v, c] of [
['chest', 'Spine1'], ['lowerChest', 'Spine1'], ['chestLower', 'Spine1'],
@@ -484,6 +504,11 @@ function _lookupBone(name) {
// space- or underscore-separated `Bip<NN>` prefix (the digits identify the
// character). Strip it so `Pelvis`/`Spine`/`L UpperArm`/`L Thigh`/`L Calf`
// reach the canonical + sided tables instead of T-posing.
+ // Source engine rigs sit behind a `ValveBiped.` prefix. three.js deletes the
+ // `.` when it sanitizes node names at runtime (PropertyBinding.sanitizeNodeName),
+ // so the prefix arrives as `ValveBiped.` from a raw glTF and `ValveBiped`
+ // from a loaded scene; strip both before the Biped strip below.
+ s = s.replace(/^ValveBiped\.?/i, '');
s = s.replace(/^Bip\d+[\s_]?/i, '');
// Collapse separators so `Left_Arm`, `left-arm`, `left arm`, `LeftArm`,
// `upperarm.L` all reach the same lookup key (`.` covers Blender/MakeHuman).
diff --git a/src/rig-report.js b/src/rig-report.js
index 7a962a018..84b8a5b9c 100644
--- a/src/rig-report.js
+++ b/src/rig-report.js
@@ -118,6 +118,11 @@ export const CONVENTIONS = [
test: (ctx) => ctx.joints.some((n) => /^pelvis$/i.test(n)) && ctx.joints.some((n) => /^(thigh|calf|clavicle|upperarm)_[lr]$/i.test(n)),
evidence: 'pelvis / thigh_l / clavicle_l mannequin naming',
},
+ {
+ id: 'source', label: 'Source engine (ValveBiped)', schema: 'custom',
+ test: (ctx) => ctx.joints.some((n) => /^ValveBiped\.?Bip\d+/i.test(n)),
+ evidence: 'ValveBiped.Bip01_* joint prefix',
+ },
{
id: 'biped', label: '3ds Max Biped', schema: 'custom',
test: (ctx) => ctx.joints.some((n) => /^Bip\d+[\s_]/i.test(n)),
diff --git a/tests/glb-canonicalize.test.js b/tests/glb-canonicalize.test.js
index 6ca4624ba..465fd70dd 100644
--- a/tests/glb-canonicalize.test.js
+++ b/tests/glb-canonicalize.test.js
@@ -280,6 +280,61 @@ describe('canonicalizeBoneName', () => {
expect(canonicalizeBoneName(input)).toBe(expected);
});
+ // 3ds Max Biped numbers its fingers: one digit is the finger at segment 1, two
+ // digits are the finger then the segment minus one. Both the space spelling
+ // and the underscore spelling three.js produces at runtime must resolve.
+ describe('3ds Max Biped fingers and toes', () => {
+ const FINGERS = [
+ ['Finger0', 'Thumb1'], ['Finger01', 'Thumb2'], ['Finger02', 'Thumb3'],
+ ['Finger1', 'Index1'], ['Finger11', 'Index2'], ['Finger12', 'Index3'],
+ ['Finger2', 'Middle1'], ['Finger21', 'Middle2'], ['Finger22', 'Middle3'],
+ ['Finger3', 'Ring1'], ['Finger31', 'Ring2'], ['Finger32', 'Ring3'],
+ ['Finger4', 'Pinky1'], ['Finger41', 'Pinky2'], ['Finger42', 'Pinky3'],
+ ];
+ const cases = [];
+ for (const prefix of ['Bip01', 'Bip001']) {
+ for (const sep of [' ', '_']) {
+ for (const [side, long] of [['L', 'Left'], ['R', 'Right']]) {
+ for (const [raw, canon] of FINGERS) {
+ cases.push([`${prefix}${sep}${side}${sep}${raw}`, `${long}Hand${canon}`]);
+ }
+ cases.push([`${prefix}${sep}${side}${sep}Toe0`, `${long}ToeBase`]);
+ }
+ }
+ }
+ it.each(cases)('maps %s → %s', (input, expected) => {
+ expect(canonicalizeBoneName(input)).toBe(expected);
+ });
+ it('never crosses sides', () => {
+ for (const [input, expected] of cases) {
+ const side = /[\s_]([LR])[\s_]/.exec(input)[1];
+ expect(expected.startsWith(side === 'L' ? 'Left' : 'Right')).toBe(true);
+ expect(canonicalizeBoneName(input)).toBe(expected);
+ }
+ });
+ });
+
+ // Source engine (Valve) skeletons: `ValveBiped.Bip01_*` in a raw glTF,
+ // `ValveBipedBip01_*` after three.js sanitizes the node name at runtime.
+ describe('Source engine ValveBiped bones', () => {
+ const BONES = [
+ ['Pelvis', 'Hips'], ['Spine', 'Spine'], ['Spine1', 'Spine1'], ['Spine2', 'Spine2'],
+ ['Spine4', 'Spine2'], ['Neck1', 'Neck'], ['Head1', 'Head'],
+ ['L_Clavicle', 'LeftShoulder'], ['L_UpperArm', 'LeftArm'], ['L_Forearm', 'LeftForeArm'], ['L_Hand', 'LeftHand'],
+ ['L_Thigh', 'LeftUpLeg'], ['L_Calf', 'LeftLeg'], ['L_Foot', 'LeftFoot'],
+ ['R_Clavicle', 'RightShoulder'], ['R_UpperArm', 'RightArm'], ['R_Forearm', 'RightForeArm'], ['R_Hand', 'RightHand'],
+ ['R_Thigh', 'RightUpLeg'], ['R_Calf', 'RightLeg'], ['R_Foot', 'RightFoot'],
+ ['L_Finger01', 'LeftHandThumb2'], ['R_Finger42', 'RightHandPinky3'],
+ ];
+ const cases = [];
+ for (const prefix of ['ValveBiped.', 'ValveBiped']) {
+ for (const [raw, canon] of BONES) cases.push([`${prefix}Bip01_${raw}`, canon]);
+ }
+ it.each(cases)('maps %s → %s', (input, expected) => {
+ expect(canonicalizeBoneName(input)).toBe(expected);
+ });
+ });
+
// Autodesk HumanIK / MotionBuilder / Maya — every joint sits behind a
// character or subject namespace (`Character1:Hips`, `subject:LeftArm`),
// optionally nested (`char:ns:Hips`). The stems are already canonical, so
diff --git a/tests/rig-report.test.js b/tests/rig-report.test.js
index cac663326..197057426 100644
--- a/tests/rig-report.test.js
+++ b/tests/rig-report.test.js
@@ -87,6 +87,13 @@ describe('detectConvention fingerprints', () => {
expect(c.label).toBe('MikuMikuDance (PMX/PMD)');
});
+ it('identifies a Source engine rig and ranks it above plain Biped', () => {
+ const c = detectConvention(ctx(['ValveBiped.Bip01_Pelvis', 'ValveBiped.Bip01_L_UpperArm', 'ValveBiped.Bip01_Head1']));
+ expect(c.id).toBe('source');
+ expect(detectConvention(ctx(['ValveBipedBip01_Pelvis'])).id).toBe('source');
+ expect(detectConvention(ctx(['Bip01 Pelvis', 'Bip01 L UpperArm'])).id).toBe('biped');
+ });
+
it('does not claim MMD for a Latin-named rig', () => {
expect(detectConvention(ctx(['Hips', 'Spine', 'LeftArm', 'RightArm'])).id).not.toBe('mmd');
});