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(social): land the DM button in a real conversation instead of a page that never shipped
nirholas37c5e4775461
diff --git a/src/dashboard-next/pages/home.js b/src/dashboard-next/pages/home.jsindex f376c6f52..4385724b1 100644--- a/src/dashboard-next/pages/home.js+++ b/src/dashboard-next/pages/home.js@@ -1215,8 +1215,8 @@ const DIRECTORY = [group: 'Trading & Pump.fun',items: [{ href: '/pump-live', title: 'Pump.fun Live', sub: 'Real-time token feed and activity' },- { href: '/pumpfun-trending', title: 'Trending Tokens', sub: 'Top trending tokens right now' },- { href: '/pumpfun-search', title: 'Token Search', sub: 'Search for any Pump.fun token' },+ { href: '/trending', title: 'Trending', sub: 'Top agents and conviction coins right now' },+ { href: '/pump-dashboard', title: 'Token Scanner', sub: 'Scanner, watchlists, quotes and live charts' },],},{diff --git a/src/game/coincommunities.js b/src/game/coincommunities.jsindex eb88c0ea6..95d1481d7 100644--- a/src/game/coincommunities.js+++ b/src/game/coincommunities.js@@ -2753,8 +2753,8 @@ export class CoinCommunities {// ── Friends (W09) ─────────────────────────────────────────────────────────// The account-level social graph inside the world: who's online, which coin// world they're standing in, and DM threads. `FriendsPanel` is a pure view over- // the shared `friendsClient`, so the same graph backs /play, /walk and the- // standalone /friends page, a DM read here is read everywhere.+ // the shared `friendsClient`, so the same graph backs /play and /walk alike,+ // and a DM read here is read everywhere.//// Presence is published by the room, not this panel: CommunityNet now carries a// signed presence ticket into the join, so a player is visible to friends thediff --git a/src/shared/avatar-inspector.js b/src/shared/avatar-inspector.jsindex d34f50a1f..11a0f9aa3 100644--- a/src/shared/avatar-inspector.js+++ b/src/shared/avatar-inspector.js@@ -431,7 +431,10 @@ function renderProfileActions(row, { username, userId, following, followedBy, cafriendBtn.addEventListener('click', () => {closeAvatarInspector();if (typeof onOpenDM === 'function') onOpenDM(userId);- else window.location.href = '/friends';+ // No DM surface on this host: /walk reads `?dm=` on load and opens the+ // friends panel straight into that thread, so the button still lands+ // the user in the conversation instead of on a page that never shipped.+ else window.location.href = `/walk?dm=${encodeURIComponent(userId)}`;});} else if (outgoing) {friendBtn.className = 'avi-act avi-act-ghost';diff --git a/src/walk.js b/src/walk.jsindex 53b084e8d..eda4757b6 100644--- a/src/walk.js+++ b/src/walk.js@@ -3073,6 +3073,12 @@ function inspectRemotePlayer(rp) {username: rp.username || '',avatarUrl: rp._avatarUrl,facts: worldInspectFacts(),+ // Walk has its own friends panel, so a DM opens here rather than sending the+ // player to another surface and losing the world they are standing in.+ onOpenDM: (userId) => {+ openFriendsPanel();+ _friendsPanel?.client?.openThread?.(userId);+ },}, { trigger: canvas });}function inspectSelfPlayer() {