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.

Add changelog entry for the Mixamo avatar retarget fix

nirholas35349e7f33d0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 689964634..ba5a1f930 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Jump straight from an agent's profile into IRL or XR** — Every agent profile now has View in IRL and View in XR buttons next to See in 3D. View in IRL drops you into three.ws/irl already wearing that agent's body, and if the same agent is placed nearby it flashes its pin and opens its card so you land right on it. View in XR opens the immersive AR/VR viewer with that agent loaded. Both are real links, so you can open them in a new tab, and every agent has a body to show — its own 3D model or the shared mannequin — so the buttons are never dead ends. This matches the Walk IRL / View in XR buttons avatars already had, so the whole platform now routes into the immersive layer from one surface to the next. (`/irl`) `[feature]`
- **Live trade feed: the time-window filters work on first load** — On the Live Trade Feed, the 1h / 24h / 7d window buttons threw an error as the page set up its controls, which could leave the feed stuck before it finished loading. The control-syncing code was treating a group of buttons as a single element. It now handles the whole group, so the window and min-PnL filters initialize and switch cleanly every time. (`/trades`) `[fix]`
- **Minting an agent's on-chain collectible is reliable under load** — Preparing an agent's on-chain mint sometimes failed when the shared public Solana RPC was rate-limited — the request to fetch a recent blockhash came back 'too many requests' and the whole prep errored out. Minting now builds the transaction through the same multi-endpoint failover the rest of the platform uses, rotating to a healthy Solana provider instead of giving up, so a busy public endpoint no longer blocks a mint. Solana name (.sol) lookups and the signer-balance watchdog were moved onto the same resilient connection. (`/create`) `[fix, improvement]`
+- **Mixamo-rigged avatars no longer lie down when they animate** — Some avatars — anything exported from Mixamo — would flip onto their back the moment they played an animation like Celebrate or Wave, while others stood and performed normally. The animation library is authored against one skeleton convention, and Mixamo rigs encode the up-axis differently: replaying a clip on one overwrote the correction that keeps the body upright, tipping it flat. Animations are now retargeted in each rig's own rest pose, so every avatar stays standing and moves as intended. Avatars that already animated correctly are byte-for-byte unchanged. `[fix]`
- **Move your IRL agents on a real map — drag the pin from anywhere** — Your IRL Agents dashboard now has a live map. Open Move on map on any placed agent and you get an OpenStreetMap view with a draggable pin for each agent you've placed: drag the highlighted one to a new spot, or tap another to switch to it. As you drag, the new location is named for you (the nearest town or city) and a Save bar appears so nothing changes until you confirm — and if a save ever fails, the pin snaps back to where it was. A compass dial lets you re-aim which way the agent faces, in degrees or by dragging the needle, and a Remove from map button takes a pin down. You can relocate an agent across the city — or across the world — without walking back to it. The map loads only when you open it, works on a phone, and if it can't load it falls back to a simple latitude/longitude form so you can still move the pin. (`/dashboard/irl-placements`) `[feature]`
- **Nearby agents on IRL now update live — no reload** — Open three.ws/irl and the agents other people have placed around you now update in real time. When anyone nearby drops a new agent, moves one, changes its outfit, or takes one down, you see it appear, shift, or vanish on your screen within about a second — no refresh, no waiting for the next scan. It works both ways: pin an agent and everyone standing near you sees it pop in too, and walk into a new area and the live view follows you to the agents there. A small status pill next to the nearby count shows whether you're getting live updates; if the realtime connection can't be reached — some networks block it — IRL automatically falls back to refreshing every few seconds and the pill reads 'Polling', still fully working, just a touch slower. (`/irl`) `[feature, improvement]`
- **Pay an IRL agent for its services — and open its full profile — right from the card** — When you tap an agent on three.ws/irl, its card now does real things. View profile opens that agent's full page so you can see who you just met. If the agent offers paid services, each one shows its price and a Use button: tap it, approve the payment in your wallet, and you pay in USDC on the spot — the standard x402 flow, capped at the price shown so a misconfigured service can never overcharge you. The response you paid for appears right inside the card instead of vanishing into a toast. Every state is handled: no wallet, a cancelled signature, or a service error each show a clear message and leave the button ready to try again, and each service button works on its own so paying for one never freezes the others. Completed encounters quietly notify the agent's owner, receipt and all. (`/irl`) `[feature]`
diff --git a/data/changelog.json b/data/changelog.json
index 656842235..6f6edf7c1 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,12 @@
{
"$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. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-17",
+ "title": "Mixamo-rigged avatars no longer lie down when they animate",
+ "summary": "Some avatars — anything exported from Mixamo — would flip onto their back the moment they played an animation like Celebrate or Wave, while others stood and performed normally. The animation library is authored against one skeleton convention, and Mixamo rigs encode the up-axis differently: replaying a clip on one overwrote the correction that keeps the body upright, tipping it flat. Animations are now retargeted in each rig's own rest pose, so every avatar stays standing and moves as intended. Avatars that already animated correctly are byte-for-byte unchanged.",
+ "tags": ["fix"]
+ },
{
"date": "2026-06-17",
"title": "IRL world: placed agents are private by location — discovered only in person",
diff --git a/prompts/monetization/10-creator-payout-wallet.md b/prompts/monetization/10-creator-payout-wallet.md
deleted file mode 100644
index 205941f95..000000000
--- a/prompts/monetization/10-creator-payout-wallet.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# Prompt 10: Creator Payouts Wallet
-
-## Objective
-Add a field in the user's settings or profile page for creators to specify the Solana wallet address where they want to receive payments for their paid skills.
-
-## Explanation
-To pay creators, we need to know where to send the funds. This task involves adding a UI element and the corresponding backend logic to allow users to save their primary payout wallet address. This address will be used as the destination for all skill purchase transactions.
-
-## Instructions
-1. **Database Schema Update:**
- * Add a new nullable column to your `users` table, such as `payout_wallet_address` (of type `VARCHAR(255)`).
-
-2. **Update the User Settings UI:**
- * In the user's profile or dashboard page (e.g., `profile.html`), add a new section for "Payout Information".
- * Include an `<input type="text">` field for the user to enter their Solana wallet address.
- * Add a "Save" button for this section.
-
-3. **Frontend Logic:**
- * When the page loads, fetch the current user's data and populate the input field with their saved `payout_wallet_address`, if it exists.
- * When the "Save" button is clicked:
- * Perform basic client-side validation to check if the input looks like a valid Solana address (e.g., check length, base58 characters).
- * Make a `PUT` or `POST` request to a new backend endpoint to save the address.
-
-4. **Backend Endpoint:**
- * Create an endpoint, e.g., `/api/users/me/payout-wallet`.
- * This endpoint should be authenticated.
- * It will receive the wallet address in the request body.
- * Perform server-side validation to ensure it's a valid public key.
- * Update the `payout_wallet_address` column for the authenticated user in the `users` table.
-
-## HTML Example (`profile.html`)
-
-```html
-<div class="settings-section">
- <h2>Payout Wallet</h2>
- <p>Enter the Solana wallet address where you'd like to receive payments.</p>
- <div class="form-group">
- <label for="payout-wallet">Solana Wallet Address</label>
- <input type="text" id="payout-wallet" placeholder="Enter your public key">
- <small id="wallet-error" class="error-text"></small>
- </div>
- <button id="save-payout-wallet-btn">Save Wallet Address</button>
-</div>
-```
-
-## Frontend JavaScript Example
-
-```javascript
-import { PublicKey } from '@solana/web3.js';
-
-const saveBtn = document.getElementById('save-payout-wallet-btn');
-const walletInput = document.getElementById('payout-wallet');
-const errorEl = document.getElementById('wallet-error');
-
-saveBtn.addEventListener('click', async () => {
- const address = walletInput.value.trim();
- errorEl.textContent = '';
-
- // Client-side validation
- try {
- new PublicKey(address); // Throws an error if invalid
- } catch (e) {
- errorEl.textContent = 'Invalid Solana address.';
- return;
- }
-
- // Send to backend
- const response = await fetch('/api/users/me/payout-wallet', {
- method: 'POST',
- headers: { 'Content-Type': 'application/json' },
- body: JSON.stringify({ walletAddress: address }),
- });
-
- if (response.ok) {
- showToast('Payout wallet updated!', 'success');
- } else {
- showToast('Failed to update wallet.', 'error');
- }
-});
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/10-creator-payout-wallet.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/10-payment-recipient-setup.md b/prompts/monetization/10-payment-recipient-setup.md
deleted file mode 100644
index cfe9bbf11..000000000
--- a/prompts/monetization/10-payment-recipient-setup.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# Prompt 10: Creator Payment Address Setup
-
-## Objective
-Allow agent creators to specify their own Solana wallet address as the recipient for skill payments.
-
-## Explanation
-To make the platform a true marketplace, creators need to be able to receive payments directly. This involves adding a field in the agent creation/editing form for a payout address and storing it securely in the backend.
-
-## Instructions
-1. **Update Database Schema:**
- * Add a `creator_wallet_address` column to the `agents` table in your database. This will store the public key of the creator's wallet.
-
-2. **Modify Agent Edit UI:**
- * In the UI where creators can create or edit their agents (`agent-edit.html`), add a new input field for "Payout Wallet Address."
- * Implement frontend validation to ensure the entered string is a valid Solana public key format.
-
-3. **Update Backend API:**
- * Modify the agent update endpoint (e.g., `/api/agents/:id` with a `POST` or `PUT` method).
- * When an agent is updated, validate the provided `creator_wallet_address` on the backend as well.
- * Save the validated address to the new column in the `agents` table.
-
-4. **Use the Address in Transactions:**
- * In `prompt-05-initiate-solana-transaction`, the code already assumes the agent object contains `creator_wallet_address`. This prompt ensures that data is actually captured and saved correctly. No changes are needed to the transaction logic itself, as it was designed to be dynamic.
-
-## Code Example (Frontend Validation in `agent-edit.js`)
-```javascript
-import { PublicKey } from '@solana/web3.js';
-
-const walletInput = document.getElementById('payout-wallet-input');
-const saveButton = document.getElementById('save-agent-button');
-
-walletInput.addEventListener('input', () => {
- try {
- // Validate the public key format
- new PublicKey(walletInput.value);
- walletInput.setCustomValidity(''); // Valid
- } catch (error) {
- walletInput.setCustomValidity('Please enter a valid Solana wallet address.'); // Invalid
- }
-});
-
-saveButton.addEventListener('click', async () => {
- // On save, re-validate before sending to backend
- if (!walletInput.reportValidity()) {
- return; // Don't submit if invalid
- }
- //... proceed with fetch to backend API
-});
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/10-payment-recipient-setup.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/10_enforce_skill_ownership.md b/prompts/monetization/10_enforce_skill_ownership.md
deleted file mode 100644
index ff66e8cf8..000000000
--- a/prompts/monetization/10_enforce_skill_ownership.md
+++ /dev/null
@@ -1,76 +0,0 @@
----
-status: not-started
-last_updated: 2026-05-04
----
-# Prompt 10: Enforcing Skill Ownership for API Usage
-
-## Objective
-Secure the agent's skill execution endpoint (`/api/chat` or similar) to prevent users from using paid skills they have not purchased.
-
-## Explanation
-Currently, the chat API likely allows any user to invoke any of an agent's skills. With paid skills, we must add an ownership check. Before executing a skill, the API needs to determine if the skill is free or, if it's paid, whether the calling user has purchased it.
-
-## Instructions
-1. **Locate the Skill Execution Logic:**
- * Find the API endpoint responsible for agent chat and skill execution. This is likely a central part of the application, possibly in `api/chat.js`.
-
-2. **Implement the Access Control Check:**
- * Inside the handler, just before the point where a skill is about to be executed, insert the access control logic.
- * **Step 1: Get Skill and User:**
- * You'll have the `agent_id`, the `skill_name` being invoked, and the `user_id` from the session.
- * **Step 2: Check if the Skill is Priced:**
- * Query the `agent_skill_prices` table to see if a price is set for the `agent_id` and `skill_name`.
- * **Step 3: Enforce Ownership:**
- * If no price exists, the skill is free, and execution can proceed.
- * If a price *does* exist, you must query the `user_purchased_skills` table to check for a record matching the `user_id`, `agent_id`, and `skill_name`.
- * If a record exists, the user owns the skill. Proceed with execution.
- * If no record exists, the user does not have access. Return a `403 Forbidden` error with a clear message like "You must purchase this skill to use it."
-
-## Code Example (Inside the Chat/Skill Execution API)
-
-```javascript
-// This logic should be inserted before the skill execution block
-
-const { agentId, skillName, userId } = /* ... from request context ... */;
-
-// 1. Check if the skill has a price
-const [skillPrice] = await sql`
- SELECT id FROM agent_skill_prices
- WHERE agent_id = ${agentId} AND skill_name = ${skillName}
-`;
-
-// If it has no price, it's free, so we can exit the check early
-if (!skillPrice) {
- // Proceed with skill execution...
- return;
-}
-
-// 2. If it's priced, check if the user owns it
-const [purchaseRecord] = await sql`
- SELECT id FROM user_purchased_skills
- WHERE user_id = ${userId} AND agent_id = ${agentId} AND skill_name = ${skillName}
-`;
-
-if (!purchaseRecord) {
- // User does NOT own the skill. Block execution.
- return error(res, 403, 'skill_not_owned', `Access denied. You must purchase the '${skillName}' skill to use it.`);
-}
-
-// 3. If we reach here, the user owns the skill.
-// Proceed with skill execution...
-
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/10_enforce_skill_ownership.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/11-backend-api-for-skill-prices.md b/prompts/monetization/11-backend-api-for-skill-prices.md
deleted file mode 100644
index cb9cd9a6f..000000000
--- a/prompts/monetization/11-backend-api-for-skill-prices.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# Prompt 11: Backend API for Saving Skill Prices
-
-## Status
-- [ ] Not Started
-
-## Objective
-Create the backend API endpoint that allows agent creators to save the prices they've set for their skills.
-
-## Explanation
-This prompt complements the previous one by providing the backend infrastructure to persist the pricing information set in the agent editor UI. This endpoint will receive the pricing data and update the `agent_skill_prices` table.
-
-## Instructions
-1. **Create the API Endpoint:**
- * Create a new route, for example `POST /api/agents/:id/skill-prices`.
- * This endpoint must be protected and only accessible by the agent's creator.
-
-2. **Implement the Update Logic:**
- * The endpoint will receive the agent's ID and a payload containing the skill prices (e.g., `{ "skill_name": { "amount": ..., "currency_mint": "..." } }`).
- * The logic should handle creating, updating, and deleting skill prices. A common approach is to:
- * Delete all existing price entries for that agent.
- * Insert the new price entries from the payload.
- * This "delete-then-insert" pattern is simple to implement, but for more advanced use cases, you might want to perform individual `UPSERT` operations.
- * Validate the input data to ensure amounts are valid numbers and currency mints are in the correct format.
-
-## Code Example (Backend - `/api/agents/[id]/skill-prices.js`)
-```javascript
-// Example using a hypothetical DB utility
-import { db } from './_db.js';
-import { getUserIdFromRequest } from './_auth.js'; // Auth utility
-
-export default async function handler(req, res) {
- if (req.method !== 'POST') {
- return res.status(405).json({ error: 'Method Not Allowed' });
- }
-
- const agentId = req.query.id;
- const userId = await getUserIdFromRequest(req);
-
- // 1. Authorization: Check if the user is the agent's creator
- const agent = await db.query('SELECT creator_id FROM agents WHERE id = $1', [agentId]);
- if (!agent || agent.creator_id !== userId) {
- return res.status(403).json({ error: 'Forbidden' });
- }
-
- const skillPrices = req.body.skillPrices;
-
- // 2. Database transaction for atomicity
- const client = await db.getClient();
- try {
- await client.query('BEGIN');
-
- // 3. Delete old prices for this agent
- await client.query('DELETE FROM agent_skill_prices WHERE agent_id = $1', [agentId]);
-
- // 4. Insert new prices
- for (const skillName in skillPrices) {
- const { amount, currency_mint } = skillPrices[skillName];
- // Basic validation
- if (typeof amount !== 'number' || typeof currency_mint !== 'string') {
- throw new Error('Invalid price data for skill: ' + skillName);
- }
- await client.query(
- 'INSERT INTO agent_skill_prices (agent_id, skill_name, amount, currency_mint) VALUES ($1, $2, $3, $4)',
- [agentId, skillName, amount, currency_mint]
- );
- }
-
- await client.query('COMMIT');
- res.status(200).json({ success: true });
- } catch (error) {
- await client.query('ROLLBACK');
- console.error('Failed to save skill prices:', error);
- res.status(500).json({ error: 'Internal Server Error' });
- } finally {
- client.release();
- }
-}
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/11-backend-api-for-skill-prices.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/11-backend-payout-logic.md b/prompts/monetization/11-backend-payout-logic.md
deleted file mode 100644
index 5dec1861d..000000000
--- a/prompts/monetization/11-backend-payout-logic.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# Prompt 11: Backend Logic for Payouts
-
-## Objective
-Integrate the creator's saved payout wallet address into the skill purchase transaction logic.
-
-## Explanation
-Now that creators can specify their payout wallet, we need to ensure our payment processing logic uses this address as the destination for funds. This task involves modifying the backend Solana Pay endpoint to fetch the creator's payout address and use it when constructing the transaction.
-
-## Instructions
-1. **Create a Database Function (`_lib/db.js`):**
- * Write a new function, `findCreatorPayoutWallet(agentId)`.
- * This function should first find the `creator_id` (a `user_id`) from the `agents` table using the `agentId`.
- * Then, it should query the `users` table to get the `payout_wallet_address` for that `creator_id`.
- * The function should return the wallet address as a string.
-
-2. **Update the Payment Endpoint (`api/payments/prepare-skill-purchase.js`):**
- * In the main handler, before you construct the transaction, call your new `findCreatorPayoutWallet` function.
- * Use the returned wallet address as the `destination` for the main portion of the SPL token transfer.
- * If no payout wallet is configured for the creator, the transaction should fail with an informative error. This prevents funds from being sent to a null or invalid address.
-
-## Code Example (Backend - `_lib/db.js`)
-
-```javascript
-import { db } from './database-client';
-
-export async function findCreatorPayoutWallet(agentId) {
- try {
- const result = await db.one(
- `
- SELECT u.payout_wallet_address
- FROM users u
- JOIN agents a ON a.creator_id = u.id
- WHERE a.id = $1;
- `,
- [agentId]
- );
- return result.payout_wallet_address;
- } catch (error) {
- // 'one' will throw an error if no row is found
- console.error(`Could not find payout wallet for agent ${agentId}:`, error);
- return null;
- }
-}
-```
-
-## Updated Payment Endpoint (`api/payments/prepare-skill-purchase.js`)
-
-```javascript
-// ... (imports)
-import { findCreatorPayoutWallet, findSkillPrice } from '../_lib/db';
-
-// ... (handler start)
-
- try {
- // ... (authentication and body validation)
-
- // Find the creator's configured payout wallet
- const creatorPayoutWalletAddress = await findCreatorPayoutWallet(agentId);
- if (!creatorPayoutWalletAddress) {
- return res.status(500).json({
- error: 'Creator has not configured a payout wallet. Purchase cannot be completed.'
- });
- }
- const creatorPublicKey = new PublicKey(creatorPayoutWalletAddress);
-
- // ... (find skill price, get blockhash)
-
- // The rest of the transaction logic now uses creatorPublicKey as the destination
- const creatorUsdcAddress = await getAssociatedTokenAddress(USDC_MINT, creatorPublicKey);
-
- // ... (create transfer instructions for creator and platform fee)
- transaction.add(
- createTransferInstruction(
- buyerUsdcAddress,
- creatorUsdcAddress, // Use the fetched wallet
- buyerPublicKey,
- creatorAmount
- )
- );
-
- // ... (rest of the logic)
-
- } catch (error) {
- // ... (error handling)
- }
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/11-backend-payout-logic.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/11-creator-dashboard-ui.md b/prompts/monetization/11-creator-dashboard-ui.md
deleted file mode 100644
index cfff7380b..000000000
--- a/prompts/monetization/11-creator-dashboard-ui.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# Prompt 11: Creator Dashboard UI
-
-## Objective
-Design and create the basic user interface for a new "Creator Dashboard" page, where agent creators can manage their monetization settings and view sales data.
-
-## Explanation
-A centralized dashboard is essential for creators to feel in control of their creations and revenue. This initial step focuses on building the static UI layout, which will be populated with dynamic data in subsequent tasks.
-
-## Instructions
-1. **Create New HTML File:**
- * Create a new file, `dashboard.html`.
- * This page should be behind authentication, accessible only to logged-in users.
-
-2. **Design the Layout:**
- * The layout should include:
- * A main navigation/header shared with the rest of the site.
- * A sidebar for dashboard-specific navigation (e.g., "Overview," "My Agents," "Analytics," "Settings").
- * A main content area.
-
-3. **Build UI Components (Static):**
- * In the "Overview" section, add placeholder components for:
- * A summary card for total revenue.
- * A summary card for total sales.
- * A chart (you can use a library like Chart.js or just use a placeholder image for now) to show sales over time.
- * In the "My Agents" section, add a placeholder for a table that will list the user's agents, along with stats like sales and revenue for each.
-
-4. **Add CSS:**
- * Create a new CSS file, `dashboard.css`, and link it to your HTML.
- * Add styles to create a clean, modern, and professional-looking dashboard layout.
-
-## Code Example (HTML Structure - `dashboard.html`)
-```html
-<div class="dashboard-container">
- <aside class="dashboard-sidebar">
- <nav>
- <ul>
- <li><a href="#" class="active">Overview</a></li>
- <li><a href="#">My Agents</a></li>
- <li><a href="#">Analytics</a></li>
- <li><a href="#">Settings</a></li>
- </ul>
- </nav>
- </aside>
- <main class="dashboard-content">
- <h1>Overview</h1>
- <div class="stats-grid">
- <div class="stat-card">
- <h2>Total Revenue</h2>
- <p>$0.00</p>
- </div>
- <div class="stat-card">
- <h2>Total Sales</h2>
- <p>0</p>
- </div>
- </div>
- <div class="chart-container">
- <h2>Sales Over Time</h2>
- <!-- Placeholder for a chart -->
- <canvas id="sales-chart"></canvas>
- </div>
- </main>
-</div>
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/11-creator-dashboard-ui.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/prompts/monetization/11-creator-earnings-dashboard-ui.md b/prompts/monetization/11-creator-earnings-dashboard-ui.md
deleted file mode 100644
index e6d4611e0..000000000
--- a/prompts/monetization/11-creator-earnings-dashboard-ui.md
+++ /dev/null
@@ -1,113 +0,0 @@
-# Prompt 11: Creator Earnings Dashboard UI
-
-## Objective
-Design and implement a basic UI for the creator's "Earnings" dashboard, which will display their total revenue, the number of sales, and a list of recent transactions.
-
-## Explanation
-To provide value to creators, they need visibility into how their skills are performing. This dashboard is the central place for them to track their sales. This task involves creating the frontend components to display this data. The data itself will be fetched from a new backend endpoint (created in the next prompt).
-
-## Instructions
-1. **Design the UI Layout:**
- * Inside the `#earnings-container` in `agent-edit.html`, create the HTML structure for the earnings dashboard.
- * Include "stat cards" for key metrics like "Total Revenue", "Total Sales", and "Balance".
- * Add a table structure for a list of recent transactions, with columns for "Date", "Skill", "Price", and "Transaction ID".
-
-2. **Frontend JavaScript:**
- * In `src/agent-edit.js`, create a function `renderEarningsDashboard`.
- * This function will be called when the monetization tab is displayed.
- * It will make a `fetch` call to a new backend endpoint (e.g., `/api/agents/[id]/earnings`) to get the sales data.
- * Upon receiving the data, it will populate the stat cards and dynamically generate the rows for the transaction table.
-
-3. **Styling:**
- * Add styles to `/public/agent-edit.css` to format the stat cards and the transaction table, ensuring it's readable and visually appealing.
-
-## HTML Example (`agent-edit.html` inside `#earnings-container`)
-
-```html
-<div class="earnings-stats">
- <div class="stat-card">
- <h4>Total Revenue</h4>
- <p id="total-revenue-stat">$0.00</p>
- </div>
- <div class="stat-card">
- <h4>Total Sales</h4>
- <p id="total-sales-stat">0</p>
- </div>
- <div class="stat-card">
- <h4>Withdrawable Balance</h4>
- <p id="balance-stat">$0.00</p>
- </div>
-</div>
-
-<h4 class="table-header">Recent Sales</h4>
-<div class="transactions-table">
- <div class="table-header-row">
- <div>Date</div>
- <div>Skill</div>
- <div>Price</div>
- <div>Transaction</div>
- </div>
- <div id="transactions-list">
- <!-- Rows will be injected here by JS -->
- <div class="table-empty-state">No sales yet.</div>
- </div>
-</div>
-```
-
-## JavaScript Example (`src/agent-edit.js`)
-
-```javascript
-async function renderEarningsDashboard(agentId) {
- const response = await fetch(`/api/agents/${agentId}/earnings`);
- const data = await response.json();
-
- document.getElementById('total-revenue-stat').textContent = `$${(data.totalRevenue / 1e6).toFixed(2)}`;
- document.getElementById('total-sales-stat').textContent = data.totalSales;
- document.getElementById('balance-stat').textContent = `$${(data.balance / 1e6).toFixed(2)}`;
-
- const listContainer = document.getElementById('transactions-list');
- if (data.recentSales && data.recentSales.length > 0) {
- listContainer.innerHTML = data.recentSales.map(sale => `
- <div class="table-row">
- <div>${new Date(sale.purchased_at).toLocaleDateString()}</div>
- <div>${escapeHtml(sale.skill_name)}</div>
- <div>$${(sale.price / 1e6).toFixed(2)}</div>
- <div>
- <a href="https://solscan.io/tx/${sale.transaction_signature}?cluster=devnet" target="_blank">
- ${sale.transaction_signature.slice(0, 6)}...
- </a>
- </div>
- </div>
- `).join('');
- } else {
- listContainer.innerHTML = '<div class="table-empty-state">No sales yet.</div>';
- }
-}
-```
-
-## CSS Example (`/public/agent-edit.css`)
-
-```css
-.earnings-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
-.stat-card { background: #101018; padding: 16px; border-radius: 8px; border: 1px solid var(--border); }
-.stat-card h4 { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
-.stat-card p { margin: 0; font-size: 24px; font-weight: 600; }
-.table-header-row, .table-row { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; padding: 12px 8px; border-bottom: 1px solid var(--border); }
-.table-header-row { font-weight: bold; color: var(--muted); }
-.table-row a { color: var(--accent); text-decoration: none; }
-.table-row a:hover { text-decoration: underline; }
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "prompts/monetization/11-creator-earnings-dashboard-ui.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/public/changelog.json b/public/changelog.json
index 07389cd7d..943af4f40 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-17T08:20:44.960Z",
+ "generated_at": "2026-06-17T08:27:45.049Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -226,6 +226,16 @@
"improvement"
]
},
+ {
+ "date": "2026-06-17",
+ "type": "update",
+ "title": "Mixamo-rigged avatars no longer lie down when they animate",
+ "summary": "Some avatars — anything exported from Mixamo — would flip onto their back the moment they played an animation like Celebrate or Wave, while others stood and performed normally. The animation library is authored against one skeleton convention, and Mixamo rigs encode the up-axis differently: replaying a clip on one overwrote the correction that keeps the body upright, tipping it flat. Animations are now retargeted in each rig's own rest pose, so every avatar stays standing and moves as intended. Avatars that already animated correctly are byte-for-byte unchanged.",
+ "link": null,
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-06-17",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 96bbbad41..ea6ac3e6c 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -174,6 +174,14 @@
<category>fix</category>
<description>Preparing an agent's on-chain mint sometimes failed when the shared public Solana RPC was rate-limited — the request to fetch a recent blockhash came back 'too many requests' and the whole prep errored out. Minting now builds the transaction through the same multi-endpoint failover the rest of the platform uses, rotating to a healthy Solana provider instead of giving up, so a busy public endpoint no longer blocks a mint. Solana name (.sol) lookups and the signer-balance watchdog were moved onto the same resilient connection.</description>
</item>
+ <item>
+ <title>Mixamo-rigged avatars no longer lie down when they animate</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-06-17:Mixamo-rigged avatars no longer lie down when they animate</guid>
+ <pubDate>Wed, 17 Jun 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Some avatars — anything exported from Mixamo — would flip onto their back the moment they played an animation like Celebrate or Wave, while others stood and performed normally. The animation library is authored against one skeleton convention, and Mixamo rigs encode the up-axis differently: replaying a clip on one overwrote the correction that keeps the body upright, tipping it flat. Animations are now retargeted in each rig's own rest pose, so every avatar stays standing and moves as intended. Avatars that already animated correctly are byte-for-byte unchanged.</description>
+ </item>
<item>
<title>Move your IRL agents on a real map — drag the pin from anywhere</title>
<link>https://three.ws/dashboard/irl-placements</link>
diff --git a/public/features.json b/public/features.json
index 58bf0d78f..d68c38210 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-17T08:20:44.934Z",
+ "generated_at": "2026-06-17T08:27:45.038Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",