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.

Punctuation cleanup across the newly added surfaces

nirholas6f3b3941bdac
diff --git a/api/_lib/services/MonetizationService.js b/api/_lib/services/MonetizationService.js
index 7f8dd9975..0e4edb5e3 100644
--- a/api/_lib/services/MonetizationService.js
+++ b/api/_lib/services/MonetizationService.js
@@ -197,7 +197,7 @@ export class MonetizationService {
// Dynamic pricing rules (first-N-free proof phases, post-traction step-ups,
// time windows) override the base amount for fixed-price skills. This is
- // the same engine the creator dashboard writes rules into — quoting from
+ // the same engine the creator dashboard writes rules into: quoting from
// the base table alone would advertise promos that never apply.
if (!isPwyw) {
const effective = await resolveSkillPrice(agentId, skillName).catch(() => null);
diff --git a/api/_lib/skill-pricing-rules.js b/api/_lib/skill-pricing-rules.js
index c4ec8406d..431214ad5 100644
--- a/api/_lib/skill-pricing-rules.js
+++ b/api/_lib/skill-pricing-rules.js
@@ -71,7 +71,7 @@ export async function resolveSkillPrice(agentId, skillName) {
}
/**
- * Public promo descriptor for a skill — powers proof-phase UI (spots-left
+ * Public promo descriptor for a skill: powers proof-phase UI (spots-left
* counters, strikethrough list prices) without duplicating rule evaluation.
*
* Returns null when the skill has no base price. `promo` is non-null only
diff --git a/api/leaderboard/daily-match.js b/api/leaderboard/daily-match.js
index 800ec8c5d..c5de66c09 100644
--- a/api/leaderboard/daily-match.js
+++ b/api/leaderboard/daily-match.js
@@ -1,27 +1,27 @@
-// GET /api/leaderboard/daily-match — the agents' Daily Match board.
+// GET /api/leaderboard/daily-match: the agents' Daily Match board.
//
// Ranks public agents by REAL output shipped since 00:00 UTC today. Every
-// column is a COUNT/SUM over an existing activity table — never a synthetic
+// column is a COUNT/SUM over an existing activity table: never a synthetic
// engagement number:
-// · actions — agent_actions rows today (on-chain/skill events, the same
+// · actions: agent_actions rows today (on-chain/skill events, the same
// signal the /agents-live wall ranks by)
-// · launches — pump_agent_mints rows today (coins actually minted)
-// · trades — closed sniper positions (agent_sniper_positions) + pump
+// · launches: pump_agent_mints rows today (coins actually minted)
+// · trades: closed sniper positions (agent_sniper_positions) + pump
// trades on the agent's own coins (pump_agent_trades) today
-// · sales — skill_purchases confirmed today (someone paid this agent)
-// · pnl_lamports — realized sniper P&L today (signed; shown, not scored,
+// · sales: skill_purchases confirmed today (someone paid this agent)
+// · pnl_lamports: realized sniper P&L today (signed; shown, not scored,
// so the board rewards shipping output, not luck)
//
// score = actions + 5·trades + 15·sales + 25·launches. Weights order the
// board by economic effort (a launch > a sale > a trade > a generic action);
-// they are display ranking only — no payout hangs off this number. The board
+// they are display ranking only: no payout hangs off this number. The board
// is computed live from the daily window (no rollup cron; the same pattern
// as /api/leaderboard/unified) and resets naturally at UTC midnight.
//
// Also returns yesterday's winner (same aggregate, previous UTC day) and a
// short live feed of today's most recent actions for the ticker.
//
-// Format adopted from Bowyer's Arena (bowyer.app/arena) — they run this daily
+// Format adopted from Bowyer's Arena (bowyer.app/arena): they run this daily
// output-match format on top of three.ws avatars; adopted here with credit.
import { cors, method, json, wrap, rateLimited } from '../_lib/http.js';
diff --git a/pages/daily-match.html b/pages/daily-match.html
index 367eda464..033800cf6 100644
--- a/pages/daily-match.html
+++ b/pages/daily-match.html
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
- <script>/* three.ws theme boot — no-flash */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
+ <script>/* three.ws theme boot: no-flash */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>Daily Match · three.ws</title>
@@ -120,7 +120,7 @@
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
<meta property="og:locale" content="en_US">
- <meta property="og:image:alt" content="Daily Match — three.ws">
+ <meta property="og:image:alt" content="Daily Match: three.ws">
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Daily Match","description":"Which agent ships the most real output today? Live daily standings over real agent activity: actions, trades, skill sales, and coin launches. Resets at 00:00 UTC.","url":"https://three.ws/daily-match","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=labs&amp;t=Daily+Match&amp;d=Which+agent+ships+the+most+real+output+today%3F+Live+daily+standings+over+real+agent+activity%3A+actions%2C+trades%2C+skill+sales%2C+and+coin+launches.+Resets+at+00%3A00+UT&amp;p=%2Fdaily-match"}]}</script>
</head>
<body>
@@ -139,7 +139,7 @@
</div>
<div class="dm-reset" role="timer" aria-label="Time until the daily reset">
<div class="dm-reset-label">Resets in</div>
- <div class="dm-reset-clock" id="dm-clock">–:–:–</div>
+ <div class="dm-reset-clock" id="dm-clock">-:-:-</div>
</div>
</section>
@@ -206,7 +206,7 @@
function pnlCell(lamports) {
const n = Number(lamports || 0);
- if (!n) return '<td>—</td>';
+ if (!n) return '<td>-</td>';
const sol = (n / 1e9).toFixed(3);
return `<td class="${n > 0 ? 'dm-pnl-pos' : 'dm-pnl-neg'}">${n > 0 ? '+' : ''}${esc(sol)} SOL</td>`;
}
@@ -245,7 +245,7 @@
const host = $('dm-standings');
if (!standings.length) {
- host.innerHTML = `<div class="dm-empty">No agent has shipped output yet today. The board resets at 00:00 UTC —
+ host.innerHTML = `<div class="dm-empty">No agent has shipped output yet today. The board resets at 00:00 UTC:
<a href="/agents-live">watch the live wall</a> or <a href="/create-agent">field your own agent</a>.</div>`;
} else {
host.innerHTML = `<table class="dm-table">
diff --git a/pages/profile.html b/pages/profile.html
index ea160b2ff..913a77c74 100644
--- a/pages/profile.html
+++ b/pages/profile.html
@@ -2167,7 +2167,7 @@
copyBtn.textContent = prev;
}, 1200);
} catch {
- // Clipboard blocked — open the composer prefilled instead.
+ // Clipboard blocked: open the composer prefilled instead.
window.open(`/create/prompt?prompt=${encodeURIComponent(prompt)}`, '_blank', 'noopener');
}
});
diff --git a/src/agent-detail.js b/src/agent-detail.js
index f2a01fd8f..c30001ac6 100644
--- a/src/agent-detail.js
+++ b/src/agent-detail.js
@@ -61,7 +61,7 @@ let _playgroundHandle = null;
let _hotTakeTimer = 0;
/**
- * "Connect via MCP" card — ready-to-paste config for each MCP client, pinned
+ * "Connect via MCP" card: ready-to-paste config for each MCP client, pinned
* to this agent. The server is the shared three.ws MCP endpoint; the per-agent
* part is the `call_agent` invocation with this agent's real id, so a
* developer goes from profile page to talking to this exact agent in one
@@ -1067,7 +1067,7 @@ function render(agent) {
// Net-Worth-Reactive Avatar: weld the agent's real wallet to its hero body so
// its funded-ness is legible here exactly as on the viewer and in the galaxy.
mountAgentDetailAura(agent);
- // Playground strip — gesture/fx chips + accent pills under the hero. Only
+ // Playground strip: gesture/fx chips + accent pills under the hero. Only
// reveals itself once the rig proves it can play canonical clips, so props
// and image-fallback heroes never show dead chrome.
_playgroundHandle?.dispose();
@@ -2594,7 +2594,7 @@ function wireShareButton(agent) {
const origin = location.origin;
const shareUrl = `${origin}/agent/${agent.id}/share`;
const remixUrl = `${origin}/create`;
- // Per-agent share template assembled from the agent's real capabilities —
+ // Per-agent share template assembled from the agent's real capabilities:
// a tweet that says what this agent actually has, not a generic title drop.
const skillsCount = Array.isArray(agent.rawMetadata?.skills) ? agent.rawMetadata.skills.length : 0;
const shareBits = [];
@@ -3030,7 +3030,7 @@ export function normalize(rec, avatar) {
meta.glb_url ||
null,
// Generation provenance: prompt-born avatars persist their prompt in
- // avatars.source_meta — surfaced so the profile can offer "copy the
+ // avatars.source_meta: surfaced so the profile can offer "copy the
// prompt that made this body" (selfie-born avatars have none).
avatarPrompt: avatar?.source_meta?.prompt || null,
rawMetadata: rec,
diff --git a/src/creations.js b/src/creations.js
index 2d9fa6bcf..a8281e58d 100644
--- a/src/creations.js
+++ b/src/creations.js
@@ -326,7 +326,7 @@ function wireRemixActions() {
copyBtn.disabled = false;
}, 1200);
} catch {
- // Clipboard blocked (permissions/insecure context) — hand the visitor
+ // Clipboard blocked (permissions/insecure context): hand the visitor
// the composer instead so the action still lands somewhere real.
window.open(`/create/prompt?prompt=${encodeURIComponent(item.prompt)}`, '_blank', 'noopener');
}
diff --git a/src/payment-modal.js b/src/payment-modal.js
index 1e5659595..fd6ed834a 100644
--- a/src/payment-modal.js
+++ b/src/payment-modal.js
@@ -146,7 +146,7 @@ const STYLE = `
}
.skill-pay-status.err { color: #f87171; }
.skill-pay-status.ok { color: #34d399; }
-/* Checkout step tracker — the flow is always visible, not narrated one line
+/* Checkout step tracker: the flow is always visible, not narrated one line
at a time: Connect → Approve → Confirm → Record. */
.skill-pay-steps {
list-style: none; display: flex; align-items: center;
diff --git a/src/shared/avatar-playground.js b/src/shared/avatar-playground.js
index 4c3723d00..179f7d342 100644
--- a/src/shared/avatar-playground.js
+++ b/src/shared/avatar-playground.js
@@ -1,5 +1,5 @@
/**
- * Avatar playground — a "things to try" chip strip for any living avatar mount.
+ * Avatar playground: a "things to try" chip strip for any living avatar mount.
*
* Gesture chips fire real canonical clips on the rig (wave, dance, celebrate),
* fx chips layer CSS spectacle on the DOM around the WebGL stage (accent pulse,
@@ -20,7 +20,7 @@
const STYLE_ID = 'tws-avatar-playground-styles';
-/** Semantic actions, most-preferred clip first — degrade across the library per rig. */
+/** Semantic actions, most-preferred clip first: degrade across the library per rig. */
const GESTURES = [
{ id: 'wave', label: 'Wave', clips: ['wave'] },
{ id: 'dance', label: 'Dance', clips: ['dance', 'av-dance-shuffle', 'av-rap-dance'] },
@@ -105,7 +105,7 @@ export function mountAvatarPlayground({ container, handle, fxHost = null, glowEl
label.textContent = 'Try:';
strip.appendChild(label);
- // A single in-flight gesture at a time — chips glow while their clip plays
+ // A single in-flight gesture at a time: chips glow while their clip plays
// and re-arm when it settles, so mashing buttons can't queue a backlog.
let busy = false;
const gestureButtons = [];
@@ -116,7 +116,7 @@ export function mountAvatarPlayground({ container, handle, fxHost = null, glowEl
try {
const played = await handle.playGesture(clips);
if (!disposed && !played) {
- // No candidate could play on this rig — retire the chip honestly
+ // No candidate could play on this rig: retire the chip honestly
// instead of leaving a button that silently does nothing.
btn.disabled = true;
btn.title = 'Not available on this rig';
@@ -203,7 +203,7 @@ export function mountAvatarPlayground({ container, handle, fxHost = null, glowEl
strip.appendChild(pills);
}
- // Host-supplied chips — rig-independent, live immediately.
+ // Host-supplied chips: rig-independent, live immediately.
for (const extra of extras) {
const btn = chipBtn(extra.label, 'apg-chip--extra');
btn.disabled = false;
@@ -212,7 +212,7 @@ export function mountAvatarPlayground({ container, handle, fxHost = null, glowEl
strip.appendChild(btn);
}
- // Credit where the interaction pattern came from — Bowyer built this
+ // Credit where the interaction pattern came from: Bowyer built this
// playground on top of three.ws avatars first, and credited us in kind.
const credit = document.createElement('a');
credit.className = 'apg-credit';
@@ -225,7 +225,7 @@ export function mountAvatarPlayground({ container, handle, fxHost = null, glowEl
container.appendChild(strip);
- // Reveal only for rigs that can actually gesture — a prop or own-clip model
+ // Reveal only for rigs that can actually gesture: a prop or own-clip model
// keeps the clean hero with no dead chrome. Host extras (rig-independent)
// still earn the strip; the gesture chips just never appear.
handle.ready.then((supports) => {
diff --git a/src/shared/idle-avatar.js b/src/shared/idle-avatar.js
index 8755f2619..6ee4098dc 100644
--- a/src/shared/idle-avatar.js
+++ b/src/shared/idle-avatar.js
@@ -102,7 +102,7 @@ export function mountIdleAvatar(container, glbUrl, opts = {}) {
let disposed = false;
// Resolves once the GLB + clip pipeline settled, with whether this rig can
- // accept canonical library clips (humanoid) — false for props/own-clip
+ // accept canonical library clips (humanoid): false for props/own-clip
// models and on load failure. Lets callers (the playground chips) know
// whether gesture playback is possible without reaching into the manager
// mid-load.
@@ -165,7 +165,7 @@ export function mountIdleAvatar(container, glbUrl, opts = {}) {
/**
* Play the first available gesture from a candidate list, then settle
* back into the idle loop. Candidates let one semantic action ("dance")
- * degrade across the clip library per rig — a clip the fallen-pose guard
+ * degrade across the clip library per rig: a clip the fallen-pose guard
* rejected on this skeleton is skipped, not frozen on.
*
* @param {string|string[]} names Clip name(s), most-preferred first.
diff --git a/src/shared/share.js b/src/shared/share.js
index d6322e326..56a563f34 100644
--- a/src/shared/share.js
+++ b/src/shared/share.js
@@ -36,7 +36,7 @@ export function showSharePanel(entity, triggerEl = null) {
const xUrl = encodeURIComponent(shareUrl || location.href);
const xHref = `${X_INTENT}?text=${xText}&url=${xUrl}`;
- const fcText = encodeURIComponent(shareText ? `${shareText} — ` : `${title} on three.ws — `);
+ const fcText = encodeURIComponent(shareText ? `${shareText}: ` : `${title} on three.ws; `);
const fcEmbed = encodeURIComponent(shareUrl || location.href);
const fcHref = `${FARCASTER_COMPOSE}?text=${fcText}&embeds[]=${fcEmbed}`;