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.

IRL heading + My Pins; deploy-button progress polish; agent-detail 3D tweaks

nirholas23c451a2f3f8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 520005f9d..ad7242be0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,11 +33,13 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **IRL — permanent pins for signed-in users, compass heading, and manage placements from dashboard** — Authenticated users now get permanent GPS pins (no 7-day expiry). Avatars face the correct compass direction when pinned — the heading is captured from the device compass and applied when foreign avatars spawn. New /dashboard/irl-placements page lets you view, edit captions, and remove all your placed avatars from any device without physically going back. (`/irl`) `[improvement]`
- **IRL and XR: choose any of your 3D avatars from a bottom-sheet picker** — Both /irl and /xr now let you swap your 3D avatar without leaving the page. Tap Avatar (IRL) or Change (XR) to open a thumbnail grid of all your uploaded avatars. Selecting one hot-swaps the model in the scene instantly — camera, animations, half-body mode, and AR state all carry over. Signed-out users see a prompt to sign in; empty accounts link to the creation flow. (`/irl`) `[feature]`
- **IRL: move your phone to look around your avatar in AR** — When you pin an avatar to the real world in IRL mode, rotating your phone now physically moves the camera — the avatar stays locked to its spot while your view orbits around it, exactly like Pokémon GO. On iOS the app requests motion sensor access as required by iOS 13+. Drag still works as a fallback when orientation is unavailable. The lock icon pulses while active tracking is on. (`/irl`) `[feature, improvement]`
+- **IRL: pinned avatars now face the direction you were looking** — When you pin your agent to a real-world spot in IRL mode, the app records which compass direction you were facing and stores it with the pin. Nearby users now see your avatar oriented that way — north, NE, east, and so on — instead of every agent facing the same default direction. The orientation is preserved as the detailed 3D model loads in, your own avatar snaps to the stored heading the moment you lock it, and the placement status confirms it (e.g. "Pinned facing NE"). Your IRL Placements dashboard shows a facing badge on each pin card. (`/irl`) `[feature]`
- **IRL: place your agent on the map — others nearby can see it** — Pin your 3D avatar to a real GPS coordinate in IRL mode and other users who walk within 150 metres see your agent appear in their AR view. Each nearby agent shows its name and distance as a floating label; tap it for a detail sheet with the option to pay via x402. Your own pin is removed automatically when you unpin the avatar or close the page. Requires location permission. (`/irl`) `[feature]`
- **Launch detail: pump.fun comment sentiment in Community section** — The coin detail page now shows live pump.fun comment sentiment in the Community section — bullish / bearish / mixed classification with positive, negative, and neutral percentage bars, and a sample comment. Loads asynchronously after the page renders so it never delays the Oracle conviction score or smart money data. Coins with fewer than 3 comments are silently skipped. (`/launches`) `[feature]`
- **Launches: Oracle conviction tier filter** — The Launches feed now has a conviction tier filter: All, Prime, Strong, or Lean. Selecting a tier server-filters the feed — only three.ws agent-launched coins that have reached that Oracle conviction floor appear, sorted by score descending. The Oracle badge on each card is injected synchronously from the API response (no extra batch fetch), so filtered views are faster than before. (`/launches`) `[feature, improvement]`
- **Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate** — The Trader Leaderboard now includes an Oracle Conviction Rankings section below the main board. Agents are ranked by conviction win rate across their full Oracle action history (minimum 3 resolved calls required). Each row shows wins/losses, realized PnL, and ROI. A new /api/oracle/leaderboard endpoint drives the data. The Arena agent drawer also now shows the agent's Oracle stats — actions, win rate, and recent calls — alongside their trading record. (`/leaderboard`) `[feature]`
- **Live Trade Feed — every notable pump.fun win in one public stream** — A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad. (`/trades`) `[feature]`
+- **On-chain deploy: cinematic step-by-step progress** — Deploying an agent on-chain now shows a dramatic vertical progress flow — each step is a glowing tile with a checkmark when done, a pulsing animated spinner on the active step, and flowing connector lines between them. The current step is called out in large status text with a live terminal-style detail line underneath (handy when grinding a vanity address). The vanity-grind cancel is now a clearly labeled Stop grinding button. After a successful mint on Solana or any EVM chain, you're taken straight to the reveal page for your new on-chain agent. (`/agents`) `[improvement]`
- **Oracle — live trade tape and 3D conviction graph in the war room** — Two new war-room surfaces: every coin in Oracle now has a live trade tape inside its drawer that streams every buy and sell in real time, annotated with the trader's archetype — Smart Money, KOL, Sniper, Rugger — the moment it lands on-chain. Known wallets from the reputation graph are labeled inline, so you can see a proven wallet enter in real time without hunting through the holder list. Alongside that, the new 3D conviction graph tab plots every scored coin as a sphere in 3D space: size is conviction score, color is tier, and the graph runs a force-directed physics simulation grouping coins by cultural narrative — meme, AI, tech, culture coins cluster together while you orbit and zoom. Click any sphere to open its full conviction breakdown. Both surfaces are live when you open Oracle. (`/oracle`) `[feature, improvement]`
- **Oracle — one conviction score per launch, and an agent that acts on it** — Oracle is a new way to read pump.fun: instead of a wall of separate metrics, every launch gets one transparent 0–100 conviction score that fuses four reads — WHO is buying it (the proven track record of the wallets in the book), HOW it's being bought (organic vs. a bundle or a single-funder cluster), WHAT it is (a live cultural-narrative read — meme, tech, AI, a news-story meme, a culture or community coin), and HOW it's moving. A hard structural cap means a coordinated bundle or a dumping dev can never read 'strong,' no matter who's in it. Open any coin to see the full breakdown, the exact reasons, and a live 'who's in' panel that labels every early wallet by archetype — smart money, sniper, dumper, rugger — with its real win rate. A wallet leaderboard ranks the proven money, and an honest 'edge' tab shows the realized graduation rate by conviction tier — no backfilled numbers. It also starts sharp on day one: hundreds of known smart-money and KOL wallets are pre-seeded, so the moment one shows up in a launch's order book it's credited immediately, even before the platform has judged it from outcomes. Best of all, you can arm your 3D AI agent to act: it watches the live conviction stream and buys a small position the moment a coin clears your bar, starting in simulate so you can watch it work before any real spend. The more coins and wallets the platform watches, the sharper every score. (`/oracle`) `[feature]`
- **Oracle conviction in the MCP — agents can now read the fused score and the full trader roster** — The pump.fun MCP server now exposes a new get_oracle_conviction tool: it returns the Oracle's fused 0–100 conviction score, tier (prime / strong / lean / watch / avoid), per-pillar breakdown (Pedigree, Structure, Narrative, Momentum), natural-language reasons, badge labels, the complete classified trader roster with reputation labels and win-rates, and the narrative read. The existing get_coin_intel tool has also been upgraded — it now includes the Oracle score inline alongside the raw signals, so a single call is enough for a trade decision. 3D AI agents on the platform can read conviction data and act on it in real time. (`/oracle`) `[feature, sdk]`
diff --git a/data/changelog.json b/data/changelog.json
index 7691e83ec..d0ce003df 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,24 @@
{
"$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-16",
+ "title": "IRL: pinned avatars now face the direction you were looking",
+ "summary": "When you pin your agent to a real-world spot in IRL mode, the app records which compass direction you were facing and stores it with the pin. Nearby users now see your avatar oriented that way — north, NE, east, and so on — instead of every agent facing the same default direction. The orientation is preserved as the detailed 3D model loads in, your own avatar snaps to the stored heading the moment you lock it, and the placement status confirms it (e.g. \"Pinned facing NE\"). Your IRL Placements dashboard shows a facing badge on each pin card.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/irl"
+ },
+ {
+ "date": "2026-06-16",
+ "title": "On-chain deploy: cinematic step-by-step progress",
+ "summary": "Deploying an agent on-chain now shows a dramatic vertical progress flow — each step is a glowing tile with a checkmark when done, a pulsing animated spinner on the active step, and flowing connector lines between them. The current step is called out in large status text with a live terminal-style detail line underneath (handy when grinding a vanity address). The vanity-grind cancel is now a clearly labeled Stop grinding button. After a successful mint on Solana or any EVM chain, you're taken straight to the reveal page for your new on-chain agent.",
+ "tags": [
+ "improvement"
+ ],
+ "link": "/agents"
+ },
{
"date": "2026-06-16",
"title": "Oracle: rich social previews when sharing conviction links",
diff --git a/pages/agent-detail.html b/pages/agent-detail.html
index b546ab2b5..314de478f 100644
--- a/pages/agent-detail.html
+++ b/pages/agent-detail.html
@@ -201,9 +201,7 @@
id="ad-avatar-3d"
class="ad-hero-avatar"
auto-rotate
- camera-controls
- disable-zoom
- disable-pan
+ rotation-per-second="18deg"
interaction-prompt="none"
loading="eager"
reveal="auto"
@@ -747,6 +745,16 @@
exposure="1.1"
alt="Agent 3D avatar — fullscreen"
></model-viewer>
+ <a
+ id="ad-3d-modal-world"
+ class="ad-3d-modal-world"
+ href="#"
+ hidden
+ aria-label="See this agent in the three.ws world"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.27 6.96 12 12.01 20.73 6.96"/><line x1="12" y1="22.08" x2="12" y2="12"/></svg>
+ View in AR
+ </a>
</div>
</div>
diff --git a/public/changelog.json b/public/changelog.json
index 7d36b70e1..2b0f0acd7 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T09:45:33.033Z",
+ "generated_at": "2026-06-16T10:11:40.092Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -280,6 +280,16 @@
"improvement"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "IRL: pinned avatars now face the direction you were looking",
+ "summary": "When you pin your agent to a real-world spot in IRL mode, the app records which compass direction you were facing and stores it with the pin. Nearby users now see your avatar oriented that way — north, NE, east, and so on — instead of every agent facing the same default direction. The orientation is preserved as the detailed 3D model loads in, your own avatar snaps to the stored heading the moment you lock it, and the placement status confirms it (e.g. \"Pinned facing NE\"). Your IRL Placements dashboard shows a facing badge on each pin card.",
+ "link": "/irl",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
@@ -331,6 +341,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "On-chain deploy: cinematic step-by-step progress",
+ "summary": "Deploying an agent on-chain now shows a dramatic vertical progress flow — each step is a glowing tile with a checkmark when done, a pulsing animated spinner on the active step, and flowing connector lines between them. The current step is called out in large status text with a live terminal-style detail line underneath (handy when grinding a vanity address). The vanity-grind cancel is now a clearly labeled Stop grinding button. After a successful mint on Solana or any EVM chain, you're taken straight to the reveal page for your new on-chain agent.",
+ "link": "/agents",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index b95492646..2e053ed4e 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -222,6 +222,14 @@
<category>feature</category>
<description>When you pin an avatar to the real world in IRL mode, rotating your phone now physically moves the camera — the avatar stays locked to its spot while your view orbits around it, exactly like Pokémon GO. On iOS the app requests motion sensor access as required by iOS 13+. Drag still works as a fallback when orientation is unavailable. The lock icon pulses while active tracking is on.</description>
</item>
+ <item>
+ <title>IRL: pinned avatars now face the direction you were looking</title>
+ <link>https://three.ws/irl</link>
+ <guid isPermaLink="false">2026-06-16:IRL: pinned avatars now face the direction you were looking</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>When you pin your agent to a real-world spot in IRL mode, the app records which compass direction you were facing and stores it with the pin. Nearby users now see your avatar oriented that way — north, NE, east, and so on — instead of every agent facing the same default direction. The orientation is preserved as the detailed 3D model loads in, your own avatar snaps to the stored heading the moment you lock it, and the placement status confirms it (e.g. &quot;Pinned facing NE&quot;). Your IRL Placements dashboard shows a facing badge on each pin card.</description>
+ </item>
<item>
<title>IRL: place your agent on the map — others nearby can see it</title>
<link>https://three.ws/irl</link>
@@ -262,6 +270,14 @@
<category>feature</category>
<description>A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad.</description>
</item>
+ <item>
+ <title>On-chain deploy: cinematic step-by-step progress</title>
+ <link>https://three.ws/agents</link>
+ <guid isPermaLink="false">2026-06-16:On-chain deploy: cinematic step-by-step progress</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Deploying an agent on-chain now shows a dramatic vertical progress flow — each step is a glowing tile with a checkmark when done, a pulsing animated spinner on the active step, and flowing connector lines between them. The current step is called out in large status text with a live terminal-style detail line underneath (handy when grinding a vanity address). The vanity-grind cancel is now a clearly labeled Stop grinding button. After a successful mint on Solana or any EVM chain, you're taken straight to the reveal page for your new on-chain agent.</description>
+ </item>
<item>
<title>Oracle — live trade tape and 3D conviction graph in the war room</title>
<link>https://three.ws/oracle</link>
diff --git a/public/features.json b/public/features.json
index 297ccec89..253567d24 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T09:45:33.017Z",
+ "generated_at": "2026-06-16T10:11:40.048Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index 6b3a62df9..4fa289b27 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -56,20 +56,6 @@
.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }
.sm-brand:hover { text-decoration: none; }
</style>
-
- <meta property="og:type" content="website">
- <meta property="og:site_name" content="three.ws">
- <meta property="og:title" content="Sitemap · three.ws">
- <meta property="og:description" content="Human-readable index of every page on three.ws.">
- <meta property="og:url" content="https://three.ws/sitemap">
- <meta property="og:image" content="https://three.ws/og-image.png">
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:title" content="Sitemap · three.ws">
- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">
- <meta name="twitter:image" content="https://three.ws/og-image.png">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
</head>
<body>
<header class="sm-topbar">
diff --git a/src/dashboard-next/pages/irl-placements.js b/src/dashboard-next/pages/irl-placements.js
index 2cb22c05d..b3a0375ac 100644
--- a/src/dashboard-next/pages/irl-placements.js
+++ b/src/dashboard-next/pages/irl-placements.js
@@ -263,11 +263,12 @@ async function mount(el) {
});
}
-mountShell({
- title: 'IRL Placements',
- requireAuth: true,
- onMount: async (el) => {
+(async function boot() {
+ const el = await mountShell();
+ try {
await requireUser();
await mount(el);
- },
-});
+ } catch (e) {
+ el.innerHTML = `<div class="irl-empty"><b>Couldn't load placements</b>${esc(e?.message || 'Please try again.')}</div>${STYLE}`;
+ }
+})();
diff --git a/src/erc8004/deploy-button.js b/src/erc8004/deploy-button.js
index 822c69c2d..90e16135a 100644
--- a/src/erc8004/deploy-button.js
+++ b/src/erc8004/deploy-button.js
@@ -257,47 +257,63 @@ export class DeployButton {
const style = document.createElement('style');
style.id = 'db-progress-kf';
style.textContent = `
- @keyframes db-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(99,102,241,.7)} 50%{box-shadow:0 0 0 8px rgba(99,102,241,0)} }
+ @keyframes db-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(99,102,241,.55)} 50%{box-shadow:0 0 0 10px rgba(99,102,241,0)} }
@keyframes db-spin { to{transform:rotate(360deg)} }
- @keyframes db-flow { 0%{stroke-dashoffset:24} 100%{stroke-dashoffset:0} }
+ @keyframes db-flow { to{background-position:0 -16px} }
+ @keyframes db-rise { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
+ @keyframes db-blink { 0%,100%{opacity:.35} 50%{opacity:1} }
+ .db-step{display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:10px;font-size:13px;transition:background .25s,border-color .25s,color .25s,opacity .25s}
+ .db-step--done{background:rgba(99,102,241,.92);border:1px solid rgba(99,102,241,.55);color:#fff;font-weight:600;opacity:1}
+ .db-step--active{background:rgba(99,102,241,.14);border:1px solid rgba(99,102,241,.85);color:#c7d2fe;font-weight:700;opacity:1;animation:db-pulse 1.7s ease-in-out infinite}
+ .db-step--pending{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);color:#5b6270;font-weight:500;opacity:.6}
+ .db-connector{width:2px;height:16px;margin-left:27px;border-radius:2px}
+ .db-connector--filled{background:rgba(99,102,241,.7)}
+ .db-connector--flow{background:linear-gradient(180deg,rgba(99,102,241,.85) 0 8px,transparent 8px 16px);background-size:2px 16px;animation:db-flow .55s linear infinite}
+ .db-connector--idle{background:rgba(255,255,255,.07)}
+ .db-status{margin-top:14px;font-size:16px;font-weight:700;letter-spacing:-.01em;line-height:1.2;background:linear-gradient(90deg,#c7d2fe,#a5b4fc);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:db-rise .35s ease both}
+ .db-status--done{background:linear-gradient(90deg,#a7f3d0,#6ee7b7)}
+ .db-cancel{margin-top:14px;font-size:12.5px;font-weight:600;background:transparent;border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:8px 16px;cursor:pointer;color:#9ca3af;transition:border-color .15s,color .15s,background .15s}
+ .db-cancel:hover{border-color:rgba(248,113,113,.6);color:#fca5a5;background:rgba(248,113,113,.08)}
+ .db-cancel:focus-visible{outline:2px solid rgba(165,180,252,.8);outline-offset:2px}
`;
document.head.appendChild(style);
}
- const liveText = activeIdx < steps.length ? `${steps[activeIdx]}…` : 'Done';
- const tiles = steps.map((s, i) => {
- const done = i < activeIdx;
- const active = i === activeIdx;
- const pending = i > activeIdx;
- const bg = done ? 'rgba(99,102,241,.9)' : active ? 'rgba(99,102,241,.12)' : 'rgba(255,255,255,.04)';
- const bord = done ? 'rgba(99,102,241,.6)' : active ? 'rgba(99,102,241,.8)' : 'rgba(255,255,255,.1)';
- const col = done ? '#fff' : active ? '#a5b4fc' : '#6b7280';
- const anim = active ? 'animation:db-pulse 1.6s ease-in-out infinite' : '';
+ const isDone = activeIdx >= steps.length;
+ const liveText = isDone ? 'Deployed on-chain' : `${steps[activeIdx]}…`;
+
+ const rows = steps.map((s, i) => {
+ const done = i < activeIdx;
+ const active = i === activeIdx;
+ const cls = done ? 'db-step--done' : active ? 'db-step--active' : 'db-step--pending';
const icon = done
- ? `<span style="font-size:15px;line-height:1">✓</span>`
+ ? `<span style="font-size:16px;line-height:1;width:18px;text-align:center;flex-shrink:0">✓</span>`
+ : active
+ ? `<svg width="18" height="18" viewBox="0 0 18 18" style="animation:db-spin .85s linear infinite;flex-shrink:0"><circle cx="9" cy="9" r="7" fill="none" stroke="rgba(165,180,252,.22)" stroke-width="2"/><path d="M9 2A7 7 0 0 1 16 9" fill="none" stroke="#c7d2fe" stroke-width="2" stroke-linecap="round"/></svg>`
+ : `<span style="width:18px;height:18px;flex-shrink:0;display:inline-block;border-radius:50%;border:1.5px solid rgba(255,255,255,.1)"></span>`;
+ const tile = `<div class="db-step ${cls}">${icon}<span>${_esc(s)}</span></div>`;
+ if (i === steps.length - 1) return tile;
+ // Connector below this tile: filled if next step reached, flowing if
+ // this step is the active one (work in progress), idle otherwise.
+ const conn = done
+ ? (i + 1 <= activeIdx ? 'db-connector--filled' : 'db-connector--flow')
: active
- ? `<svg width="16" height="16" viewBox="0 0 16 16" style="animation:db-spin .9s linear infinite;flex-shrink:0"><circle cx="8" cy="8" r="6" fill="none" stroke="rgba(165,180,252,.25)" stroke-width="2"/><path d="M8 2A6 6 0 0 1 14 8" fill="none" stroke="#a5b4fc" stroke-width="2" stroke-linecap="round"/></svg>`
- : `<span style="width:16px;height:16px;display:inline-block;border-radius:50%;background:rgba(255,255,255,.06)"></span>`;
- return `<div style="display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:8px;background:${bg};border:1px solid ${bord};color:${col};font-size:12px;font-weight:${active ? '600' : '500'};${anim}">
- ${icon}
- <span>${_esc(s)}</span>
- </div>`;
- }).join(`<svg width="2" height="14" viewBox="0 0 2 14" style="flex-shrink:0;margin:0 2px">
- <line x1="1" y1="0" x2="1" y2="14" stroke="rgba(255,255,255,.1)" stroke-width="1.5" stroke-dasharray="4 3" style="animation:db-flow .7s linear infinite"/>
- </svg>`);
+ ? 'db-connector--flow'
+ : 'db-connector--idle';
+ return `${tile}<div class="db-connector ${conn}" aria-hidden="true"></div>`;
+ }).join('');
this._root.innerHTML = `
<div role="status" aria-live="polite" aria-label="Deployment progress"
- style="display:flex;flex-direction:row;align-items:center;gap:4px;flex-wrap:wrap">
- ${tiles}
- <span class="visually-hidden">${_esc(liveText)}</span>
+ style="display:flex;flex-direction:column;align-items:stretch;gap:0">
+ ${rows}
</div>
+ <div class="db-status ${isDone ? 'db-status--done' : ''}">${_esc(liveText)}</div>
<div class="deploy-progress-detail" aria-live="polite"
- style="margin-top:8px;font-size:11px;color:#6b7280;font-family:ui-monospace,monospace;min-height:1.2em;letter-spacing:.01em">
+ style="margin-top:7px;font-size:11.5px;color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-height:1.2em;letter-spacing:.01em${extra?.text ? ';animation:db-blink 1.6s ease-in-out infinite' : ''}">
${extra?.text ? _esc(extra.text) : ''}
</div>
- ${extra?.cancelable ? `<button class="deploy-cancel-btn" type="button"
- style="margin-top:10px;font-size:12px;font-weight:500;background:none;border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:5px 14px;cursor:pointer;color:#9ca3af;transition:border-color .15s,color .15s">Stop grinding</button>` : ''}
+ ${extra?.cancelable ? `<button class="db-cancel deploy-cancel-btn" type="button">⊘ Stop grinding</button>` : ''}
`;
if (extra?.onCancel) {
const cb = this._root.querySelector('.deploy-cancel-btn');
diff --git a/src/irl.js b/src/irl.js
index db4d69d4f..75144b08a 100644
--- a/src/irl.js
+++ b/src/irl.js
@@ -661,6 +661,12 @@ async function setLocked(next) {
gpsModeActive = true;
document.body.classList.add('gps-mode');
const headingDeg = ((cameraYaw * 180 / Math.PI) % 360 + 360) % 360;
+ // Snap the avatar to face the heading we're about to store so it
+ // matches how nearby users will see it — spawnNearbyPin() rotates
+ // foreign avatars with the same -(heading) → Y mapping. Keeping
+ // avatarYaw in sync means a later unlock+walk lerps from here too.
+ avatarYaw = -(headingDeg * Math.PI / 180);
+ avatarRig.quaternion.setFromAxisAngle(upY, avatarYaw);
openCaptionPanel(pinLat, pinLng, headingDeg);
}
} else {
@@ -1255,6 +1261,18 @@ function tick() {
// ── Boot ──────────────────────────────────────────────────────────────────
initGPS();
+
+// Show My Pins button if the authenticated user already has saved pins
+fetch('/api/irl/pins?mine=1', { credentials: 'include' })
+ .then(r => r.ok ? r.json() : null)
+ .then(d => {
+ if (d?.pins?.length) {
+ const btn = document.getElementById('irl-mypins-btn');
+ if (btn) btn.style.display = '';
+ }
+ })
+ .catch(() => {});
+
loadAvatar()
.then(() => requestAnimationFrame(tick))
.catch(err => {