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: improve club entry and tipping experience by auto-closing payment modals

zprv2141b3599199
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 236226276..bcae7287d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Agents now run a live treasury cockpit on their screen** — Open an agent's screen and a Treasury panel shows its money managing itself: a live SOL/$THREE balance, a runway gauge, and the plain-English policy it follows — "pay your own compute, keep a 1 SOL buffer, buy back your coin weekly, sweep profit to me on Fridays." When a cycle fires, a toast slides in ("Bought back $THREE — $18.40"), the balance ticks down in real time, and every action links to the on-chain transaction. Owners can edit the policy in English, watch it compile to bounded rules, arm or disarm it, hit a kill switch, and run one cycle on demand — all under hard spend caps the autopilot can never exceed. (`/agent-screen`) `[feature]`
- **Ambient mode: leave an agent's screen on as a living world it hosts** — Open an agent's screen and switch on Ambient mode (the ◉ Ambient button, or press A): the agent stops trading and starts hosting a calm, always-on 3D world. A low-poly biome — seeded from the agent so every agent's world is its own — breathes under a real day/night cycle: the sun rises, warms to golden hour, sets, and the stars come out, on a clock so steady that everyone watching the same screen sees the same sky. NPCs wander the plaza, and in the corner the agent's avatar glances around like a host while a soft line scrolls into the log — "Sun's setting over the square. Quiet shift tonight." Flip on voice (default off, one tap) and those host lines are spoken in the agent's real voice over a gentle ambient pad, with the avatar's mouth moving to the words. It's the opposite of the trading desk: nothing urgent, everything alive — the one channel you leave open all day. (`/agent-screen`) `[feature]`
- **Call out a pose and your agent's 3D avatar performs it live** — On an agent's live screen the Avatar Cam is now a stage. Type a phrase — “wave hello”, “take a bow”, “warrior stance” — or tap a quick-pick chip, and the head-and-shoulders avatar performs it on the spot: animated emotes like a wave or a dance play as real motion, while named poses settle the figure into place and ease smoothly back to its idle. It works on whatever rig the agent is wearing — a Mixamo export, a VRoid model, an Avaturn head — because the same canonical clip library drives them all, and a model that can't be skeleton-driven falls back gracefully instead of snapping to a T-pose. Every request is tagged in the activity log. (`/agent-screen`) `[feature]`
+- **Club entry no longer gets stuck behind the payment receipt** — Paying the cover at the club door (and tipping a dancer) now drops you straight into the room. The wallet checkout used to leave a "Payment confirmed" card sitting on top of the club after the charge settled — the velvet rope had already dropped and the dancer had taken the pole, but the receipt covered it, so it looked like the payment modal wouldn't let you in. The checkout now clears itself the instant the payment lands, so you see the club, not a leftover receipt. (`/club`) `[fix]`
- **Coin Clash stays up when the leaderboard backend hiccups** — The live Coin Clash arena and leaderboard used to go completely dark with an error whenever the power-tracking backend had a momentary outage — a recoverable blip took the whole page down. Clash now rides out a backend hiccup gracefully: the arena and standings keep loading (showing the current round at zero power until the backend recovers) instead of erroring out, and tap-to-rally falls back so the game stays playable. (`/clash`) `[fix]`
- **Coin World Tour: an agent walks you through the $THREE 3D world live** — Watch a guide agent take a first-person walk through the $THREE 3D world — gliding from the lobby across the floor and into the arena, the camera bobbing with each step. As it reaches each stop it commentates what's climbing the three.ws launch feed, the lines scrolling in the activity log like a travel stream through a coin's universe. It's a real headless browser driving the real scene — no faked motion — spun up only while someone is watching. Open it on the live wall or full-size on an agent's screen, where a TOUR badge shows the current stop and reveals the latest narration on hover. (`/agents-live`) `[feature]`
- **Copy-Trade Mirror: watch an agent shadow a target wallet live** — Watch an agent mirror a target wallet live — the source trade and the agent's guarded replica land side by side with latency and fill shown, every order inside hard spend caps. The Mirror panel on /agent-screen streams the target wallet's real pump.fun trades on the left and the agent's server-signed, firewall-enforced replica on the right — stamped with the real latency (submitted − detected) and the actual fill. Blocked orders render as actionable rows with the exact guard reason (over daily cap, impact too high, etc.) — never a silent skip. The owner sets the target wallet, sizing rule (fixed SOL, multiplier, % of balance), and spend caps; viewers watch the live dual-column frame in read-only mode. (`/agent-screen`) `[feature]`
diff --git a/data/changelog.json b/data/changelog.json
index 429153c6f..7292decfc 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 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-29",
+ "title": "Club entry no longer gets stuck behind the payment receipt",
+ "summary": "Paying the cover at the club door (and tipping a dancer) now drops you straight into the room. The wallet checkout used to leave a \"Payment confirmed\" card sitting on top of the club after the charge settled — the velvet rope had already dropped and the dancer had taken the pole, but the receipt covered it, so it looked like the payment modal wouldn't let you in. The checkout now clears itself the instant the payment lands, so you see the club, not a leftover receipt.",
+ "tags": [
+ "fix"
+ ],
+ "link": "/club"
+ },
{
"date": "2026-06-29",
"title": "The live wall is now programmed like a channel",
diff --git a/public/changelog.json b/public/changelog.json
index ba424f22f..fb5418528 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-29T05:55:37.131Z",
+ "generated_at": "2026-06-29T06:52:16.566Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -76,6 +76,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-29",
+ "type": "update",
+ "title": "Club entry no longer gets stuck behind the payment receipt",
+ "summary": "Paying the cover at the club door (and tipping a dancer) now drops you straight into the room. The wallet checkout used to leave a \"Payment confirmed\" card sitting on top of the club after the charge settled — the velvet rope had already dropped and the dancer had taken the pole, but the receipt covered it, so it looked like the payment modal wouldn't let you in. The checkout now clears itself the instant the payment lands, so you see the club, not a leftover receipt.",
+ "link": "/club",
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-06-29",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index a71c17846..599abe4d5 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -62,6 +62,14 @@
<category>feature</category>
<description>On an agent's live screen the Avatar Cam is now a stage. Type a phrase — “wave hello”, “take a bow”, “warrior stance” — or tap a quick-pick chip, and the head-and-shoulders avatar performs it on the spot: animated emotes like a wave or a dance play as real motion, while named poses settle the figure into place and ease smoothly back to its idle. It works on whatever rig the agent is wearing — a Mixamo export, a VRoid model, an Avaturn head — because the same canonical clip library drives them all, and a model that can't be skeleton-driven falls back gracefully instead of snapping to a T-pose. Every request is tagged in the activity log.</description>
</item>
+ <item>
+ <title>Club entry no longer gets stuck behind the payment receipt</title>
+ <link>https://three.ws/club</link>
+ <guid isPermaLink="false">2026-06-29:Club entry no longer gets stuck behind the payment receipt</guid>
+ <pubDate>Mon, 29 Jun 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Paying the cover at the club door (and tipping a dancer) now drops you straight into the room. The wallet checkout used to leave a &quot;Payment confirmed&quot; card sitting on top of the club after the charge settled — the velvet rope had already dropped and the dancer had taken the pole, but the receipt covered it, so it looked like the payment modal wouldn't let you in. The checkout now clears itself the instant the payment lands, so you see the club, not a leftover receipt.</description>
+ </item>
<item>
<title>Coin Clash stays up when the leaderboard backend hiccups</title>
<link>https://three.ws/clash</link>
diff --git a/public/features.json b/public/features.json
index 4eb3f273c..249ef1acd 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-29T05:55:36.686Z",
+ "generated_at": "2026-06-29T06:52:16.553Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/x402.js b/public/x402.js
index f496a22ee..473babec7 100644
--- a/public/x402.js
+++ b/public/x402.js
@@ -1590,8 +1590,13 @@ class CheckoutModal {
const settleHeader = res.headers.get('x-payment-response');
const payment = b64decode(settleHeader) || {};
this.spendReservation = null;
- this.renderDone({ result, payment });
this.resolve?.({ ok: true, result, payment, response: { status: res.status, headers: headersToObject(res.headers) } });
+ // autoClose (opt-in): a programmatic caller (e.g. the club door) renders
+ // its own success beat over the unlocked content, so the modal must get
+ // out of the way the instant payment settles instead of parking on a
+ // manual "Done" screen that would cover what the caller just revealed.
+ if (this.opts.autoClose) this.close('done');
+ else this.renderDone({ result, payment });
} catch (err) {
if (this.spendReservation) {
browserRollbackReservation(this.spendReservation);
@@ -1730,13 +1735,15 @@ class CheckoutModal {
result = text;
}
const siwx = { address: payload.address, network: chainId };
- this.renderDone({ result, siwx });
this.resolve?.({
ok: true,
result,
siwx,
response: { status: res.status, headers: headersToObject(res.headers) },
});
+ // See the paid path: a programmatic caller dismisses the modal itself.
+ if (this.opts.autoClose) this.close('done');
+ else this.renderDone({ result, siwx });
return;
}
diff --git a/src/club-gate.js b/src/club-gate.js
index 37c763047..51eef6fc0 100644
--- a/src/club-gate.js
+++ b/src/club-gate.js
@@ -113,6 +113,10 @@ async function payCover(root, { payBtn, msgEl, tierEl }) {
// Skip the checkout's wallet-picker when one wallet is detected — the
// SIWX free-re-entry choice and the install/pick cases still surface.
autoConnect: true,
+ // Dismiss the checkout the instant cover settles — the door renders its
+ // own admit beat and drops the rope, so the modal must not park on a
+ // "Payment confirmed / Done" screen on top of the club it just unlocked.
+ autoClose: true,
});
const pass = out?.result;
if (!pass?.ok) throw new Error(pass?.error || 'cover did not settle');
diff --git a/src/club.js b/src/club.js
index 59a7b5801..32d61fc6d 100644
--- a/src/club.js
+++ b/src/club.js
@@ -1592,6 +1592,10 @@ async function tipDancer({ dancer, dance, button }) {
merchant: 'three.ws Pole Club',
action: `Tip Dancer ${dancer} — ${dance}`,
autoConnect: true,
+ // Clear the checkout the instant the tip settles — the dancer takes the
+ // pole right behind it, and a lingering "Done" receipt at the top
+ // z-layer would hide the very performance the tip just paid for.
+ autoClose: true,
});
const ticket = out?.result;
if (!ticket?.ok) {