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(agent-screen): route every header name write through the placeholder-clearing setter

nirholasaa3869522c40
diff --git a/src/agent-screen.js b/src/agent-screen.js
index 7b868cd88..e40310c49 100644
--- a/src/agent-screen.js
+++ b/src/agent-screen.js
@@ -166,7 +166,7 @@ if (!agentId) {
async function renderSetup() {
document.title = 'Deploy to the wall · Agent Screen · three.ws';
- agentNameEl.textContent = 'Deploy to wall';
+ setAgentNameText('Deploy to wall');
liveBadgeEl.style.display = 'none';
controlsEl.style.display = 'none';
@@ -1030,7 +1030,7 @@ async function boot(id) {
const agent = j.agent || j;
agentRecord = agent;
agentName = agent.name || 'Agent';
- agentNameEl.textContent = agentName;
+ setAgentNameText(agentName);
setPageHeading(agentName);
document.title = `${agentName} · Agent Screen · three.ws`;
webcamName.textContent = agentName;
@@ -1903,7 +1903,7 @@ async function boot(id) {
const client = createAgentScreenClient(id, {
onOpen({ agentName: n }) {
- if (n) { agentNameEl.textContent = n; agentName = n; webcamName.textContent = n; setPageHeading(n); }
+ if (n) { setAgentNameText(n); agentName = n; webcamName.textContent = n; setPageHeading(n); }
badgeTextEl.textContent = 'Connecting…';
},
onFrame(frame) {