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: add pin-celebration ripple effect and forge variation grammar

nirholas605fc9de183d
diff --git a/api/_lib/forge-thumbs.js b/api/_lib/forge-thumbs.js
new file mode 100644
index 000000000..e636c0397
--- /dev/null
+++ b/api/_lib/forge-thumbs.js
@@ -0,0 +1,237 @@
+// Forge thumbnail backfill — give every finished model a real picture.
+//
+// The Forge persists every generation to forge_creations, but the dominant free
+// NVIDIA/TRELLIS lane is geometry-first: it paints no reference image, so those
+// rows land with `preview_image_url = NULL`. In production ~79% of finished
+// models have no preview, which means every card that renders them — the "Fresh
+// from the Forge" showcase, the gallery, creator portfolios, /community, search
+// — falls back to a flat gradient placeholder. The browse-and-get-inspired loop
+// that brings people back looks broken because most of it is empty squares.
+//
+// The client-side poster capture in src/forge.js only fires while the *maker* is
+// still looking at their result, and only fills a NULL preview — so anything
+// generated headlessly (MCP, API, agents) or closed quickly never heals.
+//
+// This module is the server-side healer: it claims finished, previewless models
+// and renders each GLB to a 768² PNG with the shared headless-chromium renderer
+// (the exact pipeline avatar thumbnails already use in production), uploads it,
+// and fills the row's preview slot — object confirmed in R2 *before* the key is
+// committed, so a card never points at a missing image.
+//
+// Mirrors api/_lib/avatar-thumbs.js: a self-provisioning claim ledger
+// (forge_thumbnail_backfill), bounded attempts so a structurally-broken GLB is
+// retired after MAX_ATTEMPTS, a lease so an OOM-killed render frees its claim,
+// and a batch runner that aborts (refunding untouched claims) if chromium dies.
+
+import { sql } from './db.js';
+import { putObject, publicUrl } from './r2.js';
+import { thumbBackdropFor } from './avatar-thumbs.js';
+
+// 768² matches the avatar thumbnail size — crisp on retina cards, one PNG the
+// whole grid reuses instead of every visitor loading a multi-MB GLB to capture
+// a frame client-side.
+export const THUMB_SIZE = 768;
+export const THUMB_BACKGROUND = '#0a0a0a';
+
+// A GLB that fails to render this many times is almost certainly structurally
+// broken (corrupt, oversized, non-glTF). Stop paying chromium for it.
+export const MAX_ATTEMPTS = 3;
+// A claimed-but-unresolved row (container OOM'd mid-render) frees after this.
+export const LEASE_MINUTES = 15;
+
+export function forgeThumbKeyFor(creationId) {
+ return `forge/thumb/${creationId}.png`;
+}
+
+let schemaReady = false;
+
+// Idempotent schema provisioning, same house pattern as avatar-thumbs — the
+// ledger table is created at runtime so the cron works without a separate
+// migration step. Cached per warm container.
+export async function ensureBackfillSchema() {
+ if (schemaReady) return;
+ await sql`
+ CREATE TABLE IF NOT EXISTS forge_thumbnail_backfill (
+ creation_id uuid PRIMARY KEY REFERENCES forge_creations(id) ON DELETE CASCADE,
+ attempts int NOT NULL DEFAULT 0,
+ last_error text,
+ claimed_at timestamptz,
+ updated_at timestamptz NOT NULL DEFAULT now(),
+ created_at timestamptz NOT NULL DEFAULT now()
+ )
+ `;
+ await sql`
+ CREATE INDEX IF NOT EXISTS forge_thumbnail_backfill_claim_idx
+ ON forge_thumbnail_backfill (attempts, claimed_at)
+ `;
+ schemaReady = true;
+}
+
+// Coverage snapshot for reporting / dry runs: finished models that render on a
+// browse surface (done, has a GLB, not maker-rejected), split by whether they
+// already have a preview image, plus how many are retired as unrenderable.
+export async function coverage() {
+ const [row] = await sql`
+ SELECT
+ count(*)::int AS total,
+ count(*) FILTER (WHERE preview_image_url IS NOT NULL)::int AS covered,
+ count(*) FILTER (WHERE preview_image_url IS NULL)::int AS missing
+ FROM forge_creations
+ WHERE status = 'done' AND glb_url IS NOT NULL
+ AND (outcome IS NULL OR outcome != 'rejected')
+ `;
+ const exhausted = await sql`
+ SELECT count(*)::int AS n FROM forge_thumbnail_backfill WHERE attempts >= ${MAX_ATTEMPTS}
+ `.catch(() => [{ n: 0 }]);
+ return { ...row, exhausted: exhausted[0]?.n ?? 0 };
+}
+
+// Atomically select + claim the most-recent finished models still missing a
+// preview. Selection and claim are one statement with FOR UPDATE ... SKIP LOCKED
+// so the cron and an operator's bulk loop never claim the same row. Newest first:
+// the models most likely to be seen on the live showcase heal soonest.
+export async function claimCreations(limit = 8) {
+ await ensureBackfillSchema();
+ const rows = await sql`
+ WITH candidates AS (
+ SELECT c.id, c.glb_url
+ FROM forge_creations c
+ LEFT JOIN forge_thumbnail_backfill b ON b.creation_id = c.id
+ WHERE c.status = 'done'
+ AND c.glb_url IS NOT NULL
+ AND c.preview_image_url IS NULL
+ AND (c.outcome IS NULL OR c.outcome != 'rejected')
+ AND (
+ b.creation_id IS NULL
+ OR (b.attempts < ${MAX_ATTEMPTS}
+ AND (b.claimed_at IS NULL
+ OR b.claimed_at < now() - (${LEASE_MINUTES} * interval '1 minute')))
+ )
+ ORDER BY c.created_at DESC
+ LIMIT ${limit}
+ FOR UPDATE OF c SKIP LOCKED
+ ), claimed AS (
+ INSERT INTO forge_thumbnail_backfill (creation_id, attempts, claimed_at, updated_at)
+ SELECT id, 1, now(), now() FROM candidates
+ ON CONFLICT (creation_id) DO UPDATE
+ SET attempts = forge_thumbnail_backfill.attempts + 1,
+ claimed_at = now(),
+ updated_at = now()
+ RETURNING creation_id
+ )
+ SELECT c.id, c.glb_url
+ FROM candidates c
+ JOIN claimed k ON k.creation_id = c.id
+ `;
+ return rows;
+}
+
+async function releaseClaim(creationId) {
+ await sql`DELETE FROM forge_thumbnail_backfill WHERE creation_id = ${creationId}`.catch(() => {});
+}
+
+// Model-attributable failure: keep the bumped attempt so it retires after
+// MAX_ATTEMPTS, drop the lease so a retry can come sooner.
+async function failClaim(creationId, message) {
+ await sql`
+ UPDATE forge_thumbnail_backfill
+ SET last_error = ${String(message).slice(0, 500)}, claimed_at = NULL, updated_at = now()
+ WHERE creation_id = ${creationId}
+ `.catch(() => {});
+}
+
+// Browser died / never reached this job: the model is blameless, hand back the
+// attempt claimCreations() charged so a container OOM never retires it.
+async function rollbackClaim(creationId) {
+ await sql`
+ UPDATE forge_thumbnail_backfill
+ SET attempts = greatest(0, attempts - 1), claimed_at = NULL, updated_at = now()
+ WHERE creation_id = ${creationId}
+ `.catch(() => {});
+}
+
+// Render one claimed model's GLB to a PNG, upload it, and fill the preview slot.
+// The render import is lazy — chromium + puppeteer are a heavy tree that callers
+// which only report coverage should never load.
+export async function renderThumbnail({ id, glb_url: glbUrl }) {
+ const t0 = Date.now();
+ const { renderGlbToPng } = await import('./render-glb.js');
+
+ // glb_url is a durable public CDN url; renderGlbToPng pulls it through the
+ // SSRF-pinned fetcher, so chromium never touches the URL directly.
+ const png = await renderGlbToPng({
+ glbUrl,
+ width: THUMB_SIZE,
+ height: THUMB_SIZE,
+ background: THUMB_BACKGROUND,
+ backdrop: thumbBackdropFor(id),
+ });
+ if (!png?.length) throw new Error('renderer returned no bytes');
+
+ const key = forgeThumbKeyFor(id);
+ await putObject({ key, body: png, contentType: 'image/png', metadata: { 'forge-creation': String(id) } });
+
+ // Fill-only: only claim the preview slot if it is still empty, so a poster the
+ // maker captured in the meantime always wins over a headless render.
+ const url = publicUrl(key);
+ const updated = await sql`
+ UPDATE forge_creations
+ SET preview_image_url = ${url}, preview_key = ${key}, updated_at = now()
+ WHERE id = ${id} AND preview_image_url IS NULL
+ RETURNING id
+ `;
+ await releaseClaim(id);
+ return { id, key, url, bytes: png.length, ms: Date.now() - t0, filled: updated.length > 0 };
+}
+
+// Drain `limit` claimed models, `concurrency` at a time, sharing one chromium
+// instance. If the browser dies the batch ABORTS (rather than charging a retry
+// to every remaining good model) and refunds untouched claims — identical
+// failure semantics to the avatar backfill.
+export async function renderBatch({ limit = 8, concurrency = 2, onResult } = {}) {
+ const jobs = await claimCreations(limit);
+ if (!jobs.length) return { claimed: 0, rendered: 0, failed: 0, aborted: false, results: [] };
+
+ const { isBrowserInfrastructureError } = await import('./render-glb.js');
+
+ const results = [];
+ const queue = jobs.slice();
+ let aborted = null;
+
+ const workers = Array.from({ length: Math.max(1, Math.min(concurrency, jobs.length)) }, async () => {
+ for (let job = queue.shift(); job && !aborted; job = queue.shift()) {
+ try {
+ const r = await renderThumbnail(job);
+ const ok = { id: job.id, status: 'done', ...r };
+ results.push(ok);
+ onResult?.(ok);
+ } catch (err) {
+ const msg = err?.message || 'render_failed';
+ if (isBrowserInfrastructureError(err)) {
+ aborted = msg;
+ await rollbackClaim(job.id);
+ const infra = { id: job.id, status: 'aborted', error: msg };
+ results.push(infra);
+ onResult?.(infra);
+ return;
+ }
+ await failClaim(job.id, msg);
+ const bad = { id: job.id, status: 'failed', error: msg };
+ results.push(bad);
+ onResult?.(bad);
+ }
+ }
+ });
+ await Promise.all(workers);
+
+ // Untouched claims from an aborted batch must not keep their charged attempt.
+ for (const job of queue) await rollbackClaim(job.id);
+
+ return {
+ claimed: jobs.length,
+ rendered: results.filter((r) => r.status === 'done').length,
+ failed: results.filter((r) => r.status === 'failed').length,
+ aborted: aborted || false,
+ results,
+ };
+}
diff --git a/api/cron/forge-thumbnail-backfill.js b/api/cron/forge-thumbnail-backfill.js
new file mode 100644
index 000000000..43090c8b8
--- /dev/null
+++ b/api/cron/forge-thumbnail-backfill.js
@@ -0,0 +1,101 @@
+// GET /api/cron/forge-thumbnail-backfill
+//
+// Steady-state drain of the Forge thumbnail coverage gap.
+//
+// ~79% of finished forge models ship with `preview_image_url = NULL` — the free
+// NVIDIA/TRELLIS lane (the majority of all generations) is geometry-first and
+// paints no reference image, and the client-side poster capture only fires while
+// the maker is watching their own result. So every card that renders those
+// models — the "Fresh from the Forge" showcase, the gallery, creator portfolios,
+// /community, /search — falls back to a gradient placeholder, and the browse
+// loop that brings people back looks broken because most of it is empty squares.
+//
+// Each tick claims the most-recent previewless models, renders each GLB to a
+// 768² PNG with the shared headless-chromium renderer, uploads it, and fills the
+// preview slot — object confirmed in R2 before the key is committed, so a card
+// never points at a missing image. Fill-only: a poster the maker captured in the
+// meantime always wins.
+//
+// Env:
+// CRON_SECRET required (Bearer)
+// FORGE_THUMBNAIL_RENDER_BATCH models rendered per tick (default 8)
+// FORGE_THUMBNAIL_CONCURRENCY parallel renders (default 2)
+//
+// Sizing: a render is ~3-6s, so 8 models at concurrency 2 lands ~25-40s, inside
+// maxDuration=120. At */5 that is ~96 models/hour; a large backlog is cleared
+// faster with the bulk loop script (scripts/backfill-forge-thumbnails.mjs),
+// which shares this claim ledger. `?dry_run=1` reports coverage without
+// rendering. Skips cleanly when forge persistence is unconfigured.
+
+import { json, wrapCron } from '../_lib/http.js';
+import { env } from '../_lib/env.js';
+import { constantTimeEquals } from '../_lib/crypto.js';
+import { logger } from '../_lib/usage.js';
+import { forgeStoreEnabled } from '../_lib/forge-store.js';
+import { renderBatch, coverage } from '../_lib/forge-thumbs.js';
+
+export const maxDuration = 120;
+
+const log = logger('forge-thumbnail-backfill');
+
+const RENDER_BATCH = Math.max(0, Number(process.env.FORGE_THUMBNAIL_RENDER_BATCH || 8));
+const CONCURRENCY = Math.max(1, Number(process.env.FORGE_THUMBNAIL_CONCURRENCY || 2));
+
+function requireCron(req, res) {
+ const secret = process.env.CRON_SECRET || env.CRON_SECRET;
+ if (!secret) {
+ res.status(503).json({ error: 'not_configured', message: 'CRON_SECRET unset' });
+ return false;
+ }
+ const auth = req.headers['authorization'] || '';
+ const presented = auth.startsWith('Bearer ') ? auth.slice(7) : '';
+ if (!constantTimeEquals(presented, secret)) {
+ res.status(401).json({ error: 'unauthorized' });
+ return false;
+ }
+ return true;
+}
+
+export default wrapCron(async (req, res) => {
+ if (!requireCron(req, res)) return;
+
+ // Renders upload to R2 and read/write the DB — no store, nothing to do.
+ if (!forgeStoreEnabled()) {
+ return json(res, 200, { ok: false, reason: 'persistence_unconfigured' });
+ }
+
+ const url = new URL(req.url || '/', 'https://three.ws');
+ const dryRun = url.searchParams.get('dry_run') === '1';
+
+ const cov = await coverage();
+ if (dryRun) {
+ return json(res, 200, { ok: true, dry_run: true, coverage: cov, render_batch: RENDER_BATCH });
+ }
+
+ if (RENDER_BATCH === 0 || cov.missing === 0) {
+ return json(res, 200, { ok: true, coverage: cov, rendered: 0, note: 'nothing to render' });
+ }
+
+ let result;
+ try {
+ result = await renderBatch({ limit: RENDER_BATCH, concurrency: CONCURRENCY });
+ } catch (err) {
+ log.warn('render_batch_failed', { message: err?.message });
+ return json(res, 200, { ok: false, reason: `render_failed: ${err?.message}`, coverage: cov });
+ }
+
+ for (const r of result.results) {
+ if (r.status === 'done') log.info('rendered', { id: r.id, bytes: r.bytes, ms: r.ms });
+ else if (r.status === 'failed') log.warn('render_failed', { id: r.id, error: r.error });
+ }
+ if (result.aborted) log.warn('batch_aborted', { reason: result.aborted });
+
+ return json(res, 200, {
+ ok: true,
+ coverage: cov,
+ claimed: result.claimed,
+ rendered: result.rendered,
+ failed: result.failed,
+ aborted: result.aborted,
+ });
+});
diff --git a/avatar-sdk/README.md b/avatar-sdk/README.md
index 7c0cf04b0..fe797fd2b 100644
--- a/avatar-sdk/README.md
+++ b/avatar-sdk/README.md
@@ -105,9 +105,22 @@ A minimal viewer element: loads a GLB at `src`, frames it, and renders with
| `src` | GLB URL to load. |
| `alt` | Accessibility label; also rendered as an on-canvas caption. Defaults to `"3D model viewer"` when unset. |
| `background` | CSS color, or `transparent` (default) for an alpha canvas. |
-| `ar` | Opt-in boolean. Adds a "View in AR" button that opens `three.ws/api/ar` in a new tab — device-aware AR (Android Scene Viewer / iOS Quick Look / desktop viewer fallback). Absent by default. |
-
-It dispatches a `load` event (`detail: { url }`) on success, an `error` event
+| `auto-rotate` | Opt-in boolean. Slowly spins the model when idle, which also signals it's interactive. Absent by default; ignored under `prefers-reduced-motion: reduce`. |
+| `ar` | Opt-in boolean. Adds a "View in AR" button that opens `three.ws/api/ar` in a new tab (device-aware AR: Android Scene Viewer / iOS Quick Look / desktop viewer fallback). Absent by default. |
+
+**Built-in states.** The viewer ships its own designed load lifecycle so the host
+page never has to paper over a blank canvas:
+
+- **Loading**: a spinner with a live byte-progress percent (an indeterminate
+ spinner when the server omits `Content-Length`).
+- **Error**: a card with a **Try again** button and a **Download GLB** fallback
+ link, shown when the model fails to load.
+- **Empty**: a placeholder prompt when no `src` is set.
+- **Ready**: the model fades in, and a one-time "Drag to rotate" cue appears.
+
+It dispatches a `progress` event (`detail: { url, loaded, total, percent }`,
+where `percent` is `null` when the download size is unknown) while loading, a
+`load` event (`detail: { url }`) on success, an `error` event
(`detail: { url, error }`) on failure, and an `ar-launch` event
(`detail: { src, launchUrl }`) when the AR button is activated.
diff --git a/avatar-sdk/src/viewer-state.js b/avatar-sdk/src/viewer-state.js
new file mode 100644
index 000000000..fe8c5af17
--- /dev/null
+++ b/avatar-sdk/src/viewer-state.js
@@ -0,0 +1,42 @@
+// Pure helpers for <three-ws-viewer>'s load lifecycle, split out so the state
+// math is unit-testable without a DOM or a WebGL context. The component owns the
+// shadow-DOM overlays; this owns the decisions that drive them.
+
+/**
+ * Download progress as a whole-number percent, or null when the server didn't
+ * send a Content-Length (progress isn't computable, so show an indeterminate
+ * spinner instead of a lying bar).
+ *
+ * @param {number} loaded bytes received
+ * @param {number} total bytes expected (0/undefined when unknown)
+ * @returns {number|null} 0..100, or null when not computable
+ */
+export function loadPercent(loaded, total) {
+ if (!Number.isFinite(total) || total <= 0) return null;
+ if (!Number.isFinite(loaded) || loaded < 0) return 0;
+ const pct = Math.round((loaded / total) * 100);
+ return pct < 0 ? 0 : pct > 100 ? 100 : pct;
+}
+
+/**
+ * The label shown while loading: a percent when known, else a plain "Loading".
+ * @param {number|null} pct output of loadPercent
+ * @returns {string}
+ */
+export function progressLabel(pct) {
+ return pct == null ? 'Loading' : `${pct}%`;
+}
+
+/**
+ * The lifecycle state the viewer should be in given its src and load outcome.
+ * Keeps the transition rules in one testable place.
+ *
+ * @param {{ hasSrc: boolean, loading?: boolean, error?: boolean }} ctx
+ * @returns {'empty'|'loading'|'error'|'ready'}
+ */
+export function nextViewerState({ hasSrc, loading = false, error = false }) {
+ if (!hasSrc) return 'empty';
+ if (error) return 'error';
+ if (loading) return 'loading';
+ return 'ready';
+}
diff --git a/avatar-sdk/src/viewer.js b/avatar-sdk/src/viewer.js
index fea8343df..9bb26a3ed 100644
--- a/avatar-sdk/src/viewer.js
+++ b/avatar-sdk/src/viewer.js
@@ -26,6 +26,7 @@ import {
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';
+import { loadPercent, progressLabel, nextViewerState } from './viewer-state.js';
const TAG = 'three-ws-viewer';
@@ -81,7 +82,7 @@ function prefersReducedMotion() {
class ThreeWsViewerElement extends HTMLElement {
static get observedAttributes() {
- return ['src', 'alt', 'background', 'wallet', 'agent-id', 'api-base', 'ar'];
+ return ['src', 'alt', 'background', 'wallet', 'agent-id', 'api-base', 'ar', 'auto-rotate'];
}
constructor() {
@@ -89,7 +90,10 @@ class ThreeWsViewerElement extends HTMLElement {
this._shadow = this.attachShadow({ mode: 'open' });
this._shadow.innerHTML = `<style>
:host { display: block; position: relative; width: 100%; height: 100%; min-height: 320px; }
- canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
+ /* The canvas fades in once the model is framed, so it materializes instead
+ of popping. Starts transparent; .is-ready reveals it. */
+ canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; opacity: 0; transition: opacity 0.55s ease; }
+ :host(.is-ready) canvas { opacity: 1; }
canvas:focus-visible { outline: 2px solid #6ee7b7; outline-offset: -2px; }
.label { position: absolute; inset: auto 0 8px 0; text-align: center; font: 12px system-ui, sans-serif; color: rgba(255,255,255,0.65); pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.ar-btn {
@@ -103,14 +107,56 @@ class ThreeWsViewerElement extends HTMLElement {
.ar-btn:hover { background: rgba(20,22,28,0.85); border-color: rgba(255,255,255,0.4); }
.ar-btn:active { transform: translateY(1px); }
.ar-btn:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
- @media (prefers-reduced-motion: reduce) { .ar-btn { transition: none; } }
+ /* Designed load lifecycle: loading spinner, error card, empty placeholder.
+ One overlay host, swapped by _setState; pointer-events only where a
+ control lives so orbit drags pass through everywhere else. */
+ .tws-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; pointer-events: none; }
+ .tws-overlay[hidden] { display: none; }
+ .tws-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 280px; text-align: center; font: 13px/1.5 system-ui, sans-serif; color: rgba(255,255,255,0.82); }
+ .tws-spinner { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.14); border-top-color: #6ee7b7; animation: tws-spin 0.8s linear infinite; }
+ .tws-progress { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); }
+ .tws-title { font-weight: 700; color: #fff; }
+ .tws-body { color: rgba(255,255,255,0.6); }
+ .tws-icon { color: rgba(255,255,255,0.34); }
+ .tws-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; pointer-events: auto; }
+ .tws-btn { appearance: none; cursor: pointer; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 8px 15px; background: rgba(255,255,255,0.06); color: #fff; font: 600 12.5px/1 system-ui, sans-serif; text-decoration: none; display: inline-flex; align-items: center; transition: background 0.15s, border-color 0.15s, transform 0.08s; }
+ .tws-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
+ .tws-btn:active { transform: translateY(1px); }
+ .tws-btn:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
+ .tws-btn--primary { background: #6ee7b7; border-color: #6ee7b7; color: #04140d; }
+ .tws-btn--primary:hover { background: #5bd9a6; }
+ /* One-time "drag to rotate" cue, shown when a model first becomes ready. */
+ .tws-hint { position: absolute; left: 50%; top: 12px; transform: translate(-50%, -6px); z-index: 1; padding: 5px 12px; border-radius: 999px; background: rgba(10,11,14,0.66); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.82); font: 500 11.5px/1 system-ui, sans-serif; backdrop-filter: blur(6px); pointer-events: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
+ .tws-hint.is-visible { opacity: 1; transform: translate(-50%, 0); }
+ @keyframes tws-spin { to { transform: rotate(360deg); } }
+ @media (prefers-reduced-motion: reduce) {
+ .ar-btn, .tws-btn, .tws-hint { transition: none; }
+ canvas { transition: none; }
+ .tws-spinner { animation: none; border-top-color: rgba(255,255,255,0.5); }
+ }
</style>`;
this._canvas = document.createElement('canvas');
this._canvas.tabIndex = 0;
this._canvas.setAttribute('role', 'img');
this._shadow.appendChild(this._canvas);
+
+ // Overlay host for the loading / error / empty states, plus a transient
+ // interaction hint. Built once; content swapped by _setState.
+ this._overlay = document.createElement('div');
+ this._overlay.className = 'tws-overlay';
+ this._overlay.hidden = true;
+ this._shadow.appendChild(this._overlay);
+ this._hint = document.createElement('div');
+ this._hint.className = 'tws-hint';
+ this._hint.textContent = 'Drag to rotate';
+ this._hint.hidden = true;
+ this._shadow.appendChild(this._hint);
+
this._label = null;
this._arBtn = null;
+ this._state = null;
+ this._hintTimer = 0;
+ this._hintShown = false;
this._scene = null;
this._camera = null;
@@ -135,18 +181,25 @@ class ThreeWsViewerElement extends HTMLElement {
this._init();
this._render = this._render.bind(this);
this._raf = requestAnimationFrame(this._render);
+ this._applyAutoRotate();
const src = this.getAttribute('src');
if (src) this._loadModel(src);
+ else this._setState('empty'); // designed placeholder instead of a blank canvas
this._applyAlt(this.getAttribute('alt'));
this._applyWallet();
this._applyAr();
this._canvas.addEventListener('keydown', this._onKeydown);
+ // First real interaction retires the "drag to rotate" cue early.
+ this._dismissHint = this._dismissHint.bind(this);
+ this._canvas.addEventListener('pointerdown', this._dismissHint);
}
disconnectedCallback() {
cancelAnimationFrame(this._raf);
this._raf = 0;
+ clearTimeout(this._hintTimer);
this._canvas.removeEventListener('keydown', this._onKeydown);
+ if (this._dismissHint) this._canvas.removeEventListener('pointerdown', this._dismissHint);
if (this._resizeObs) {
this._resizeObs.disconnect();
this._resizeObs = null;
@@ -170,11 +223,15 @@ class ThreeWsViewerElement extends HTMLElement {
attributeChangedCallback(name, _old, value) {
if (!this._scene) return;
- if (name === 'src') this._loadModel(value);
+ if (name === 'src') {
+ if (value) this._loadModel(value);
+ else this._setState('empty');
+ }
else if (name === 'alt') this._applyAlt(value);
else if (name === 'background') this._applyBackground(value);
else if (name === 'wallet' || name === 'agent-id' || name === 'api-base') this._applyWallet();
else if (name === 'ar') this._applyAr();
+ else if (name === 'auto-rotate') this._applyAutoRotate();
}
_init() {
@@ -267,27 +324,143 @@ class ThreeWsViewerElement extends HTMLElement {
}
async _loadModel(url) {
- if (!url) return;
+ if (!url) { this._setState('empty'); return; }
this._currentSrc = url;
const token = ++this._loadToken;
+ this._setState('loading');
const loader = new GLTFLoader();
try {
const [meshoptDecoder, dracoLoader] = await Promise.all([getMeshoptDecoder(), getDracoLoader()]);
+ if (token !== this._loadToken) return; // superseded while decoders resolved
loader.setMeshoptDecoder(meshoptDecoder);
loader.setDRACOLoader(dracoLoader);
- const gltf = await loader.loadAsync(url);
+ // Real byte progress: GLTFLoader forwards the XHR ProgressEvent, so the
+ // overlay shows an honest percent (indeterminate spinner when the server
+ // omits Content-Length) and a `progress` event fires for the host page.
+ const gltf = await new Promise((resolve, reject) => {
+ loader.load(
+ url,
+ resolve,
+ (evt) => {
+ if (token !== this._loadToken) return;
+ const pct = loadPercent(evt?.loaded, evt?.total);
+ this._setLoadProgress(pct);
+ this.dispatchEvent(new CustomEvent('progress', {
+ detail: { url, loaded: evt?.loaded ?? 0, total: evt?.total ?? 0, percent: pct },
+ }));
+ },
+ reject,
+ );
+ });
if (token !== this._loadToken || !this._scene) return;
if (this._model) { this._scene.remove(this._model); this._disposeModel(this._model); }
this._model = gltf.scene;
this._scene.add(this._model);
this._frameModel(this._model);
+ this._setState('ready');
this.dispatchEvent(new CustomEvent('load', { detail: { url } }));
} catch (err) {
if (token !== this._loadToken) return;
+ this._setState('error', err);
this.dispatchEvent(new CustomEvent('error', { detail: { url, error: err } }));
}
}
+ // ── Load-lifecycle overlays ──────────────────────────────────────────────
+ // Swap the overlay to match the load state, reveal/hide the canvas, and (on
+ // first ready) flash the interaction hint. All content is built here so the
+ // component ships one self-contained visual for every state instead of a blank
+ // canvas the embedding page has to paper over.
+ _setState(state, error) {
+ if (state === this._state && state !== 'error') return;
+ this._state = state;
+ this.classList.toggle('is-ready', state === 'ready');
+ if (state === 'ready') {
+ this._overlay.hidden = true;
+ this._showHintOnce();
+ return;
+ }
+ this._overlay.hidden = false;
+ if (state === 'loading') this._renderLoading();
+ else if (state === 'empty') this._renderEmpty();
+ else if (state === 'error') this._renderError(error);
+ }
+
+ _renderLoading() {
+ this._overlay.innerHTML =
+ '<div class="tws-inner"><div class="tws-spinner"></div>' +
+ '<div class="tws-progress" part="progress">Loading</div></div>';
+ this._progressEl = this._overlay.querySelector('.tws-progress');
+ }
+
+ _setLoadProgress(pct) {
+ if (this._state !== 'loading' || !this._progressEl) return;
+ this._progressEl.textContent = progressLabel(pct);
+ }
+
+ _renderEmpty() {
+ this._overlay.innerHTML =
+ '<div class="tws-inner">' +
+ '<svg class="tws-icon" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" ' +
+ 'stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">' +
+ '<path d="M12 2 3 7v10l9 5 9-5V7l-9-5Z"/><path d="m3 7 9 5 9-5"/><path d="M12 12v10"/></svg>' +
+ '<div class="tws-body">No model to show yet. Set a <code>src</code> to a GLB to load one.</div></div>';
+ }
+
+ _renderError(err) {
+ const overlay = this._overlay;
+ overlay.innerHTML =
+ '<div class="tws-inner">' +
+ '<svg class="tws-icon" width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" ' +
+ 'stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">' +
+ '<circle cx="12" cy="12" r="10"/><path d="M12 8v5"/><path d="M12 16h.01"/></svg>' +
+ '<div class="tws-title">Couldn’t load this model</div>' +
+ '<div class="tws-body">The 3D file didn’t load. Check your connection, then try again.</div>' +
+ '<div class="tws-row"></div></div>';
+ const row = overlay.querySelector('.tws-row');
+ const retry = document.createElement('button');
+ retry.type = 'button';
+ retry.className = 'tws-btn tws-btn--primary';
+ retry.textContent = 'Try again';
+ retry.addEventListener('click', () => this._loadModel(this._currentSrc || this.getAttribute('src')));
+ row.appendChild(retry);
+ const src = this._currentSrc || this.getAttribute('src');
+ if (src) {
+ const dl = document.createElement('a');
+ dl.className = 'tws-btn';
+ dl.href = src;
+ dl.setAttribute('download', '');
+ dl.setAttribute('rel', 'noopener');
+ dl.textContent = 'Download GLB';
+ row.appendChild(dl);
+ }
+ }
+
+ _showHintOnce() {
+ if (this._hintShown || this._reducedMotion) return;
+ this._hintShown = true;
+ this._hint.hidden = false;
+ // Next frame so the transition runs from the hidden state.
+ requestAnimationFrame(() => this._hint.classList.add('is-visible'));
+ this._hintTimer = setTimeout(() => this._dismissHint(), 2600);
+ }
+
+ _dismissHint() {
+ if (!this._hint || this._hint.hidden) return;
+ clearTimeout(this._hintTimer);
+ this._hint.classList.remove('is-visible');
+ setTimeout(() => { if (this._hint) this._hint.hidden = true; }, 300);
+ }
+
+ // Opt-in idle spin (`auto-rotate` boolean attribute). Off by default so existing
+ // embeds are unchanged; when on, it both adds life and signals the model is
+ // interactive. Reduced-motion users never get the spin.
+ _applyAutoRotate() {
+ if (!this._controls) return;
+ this._controls.autoRotate = this.hasAttribute('auto-rotate') && !this._reducedMotion;
+ this._controls.autoRotateSpeed = 1.0;
+ }
+
_frameModel(obj) {
const box = new Box3().setFromObject(obj);
const size = new Vector3();
diff --git a/package.json b/package.json
index bc138666f..336cfbfef 100644
--- a/package.json
+++ b/package.json
@@ -377,6 +377,7 @@
"fbx2gltf": "^0.9.7-p1",
"glob": "^11.1.0",
"jsdom": "27.3.0",
+ "json5": "^2.2.3",
"playwright": "^1.45.1",
"prettier": "^3.8.4",
"typescript": "^5.9.3",
diff --git a/pages/forge.html b/pages/forge.html
index 2d3a93f8b..020141f81 100644
--- a/pages/forge.html
+++ b/pages/forge.html
@@ -116,6 +116,23 @@
margin: 0;
line-height: var(--leading-normal);
}
+ /* "Free" lede tag: the first word a first-timer reads, so the core hook
+ (this costs nothing, no account) lands immediately. */
+ .forge-free-tag {
+ display: inline-block;
+ font-family: var(--font-mono);
+ font-size: var(--text-2xs);
+ font-weight: var(--weight-semibold);
+ text-transform: uppercase;
+ letter-spacing: 0.08em;
+ color: var(--success);
+ border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
+ background: color-mix(in srgb, var(--success) 10%, transparent);
+ border-radius: var(--radius-sm);
+ padding: 1px 6px;
+ vertical-align: middle;
+ margin-right: 0.35rem;
+ }
/* Composer ---------------------------------------------------- */
.composer {
@@ -1196,14 +1213,14 @@
opacity: 0.9;
}
.quality-badge[data-band='verified'] {
- color: #4ade80;
- border-color: rgba(74, 222, 128, 0.4);
- background: rgba(74, 222, 128, 0.08);
+ color: var(--success);
+ border-color: color-mix(in srgb, var(--success) 40%, transparent);
+ background: color-mix(in srgb, var(--success) 8%, transparent);
}
.quality-badge[data-band='low'] {
- color: #fbbf24;
- border-color: rgba(251, 191, 36, 0.4);
- background: rgba(251, 191, 36, 0.08);
+ color: var(--warn);
+ border-color: color-mix(in srgb, var(--warn) 40%, transparent);
+ background: color-mix(in srgb, var(--warn) 8%, transparent);
}
.quality-badge.is-hidden {
display: none;
@@ -2607,6 +2624,44 @@
color: var(--ink-dim);
margin: 0;
}
+ /* Roll & Forge is the zero-typing path: one click picks a curated random
+ prompt and generates it, so a first-timer reaches the "wow" with no
+ prompt paralysis. Sits between the label and the starters as the hero
+ action of the empty stage. */
+ .forge-roll {
+ margin-top: var(--space-2xs);
+ }
+ .forge-roll .roll-die {
+ transition: transform var(--duration-base, 220ms) var(--ease-emphasized, ease);
+ }
+ .forge-roll:hover .roll-die {
+ transform: rotate(24deg);
+ }
+ .forge-roll.is-rolling .roll-die {
+ animation: forge-roll-spin 480ms var(--ease-emphasized, ease);
+ }
+ @keyframes forge-roll-spin {
+ from { transform: rotate(0); }
+ to { transform: rotate(360deg); }
+ }
+ @media (prefers-reduced-motion: reduce) {
+ .forge-roll .roll-die,
+ .forge-roll:hover .roll-die,
+ .forge-roll.is-rolling .roll-die {
+ transition: none;
+ animation: none;
+ transform: none;
+ }
+ }
+ /* Free-to-use reassurance: the first-timer's top hesitation is cost and
+ sign-up. State it plainly right under the primary action. */
+ .forge-empty-free {
+ font-family: var(--font-mono);
+ font-size: var(--text-2xs);
+ letter-spacing: 0.06em;
+ color: var(--ink-faint);
+ margin: 0;
+ }
/* Starter prompts inside the empty stage: a first-time visitor sees
exactly what to type and can generate in one click. Reuses the .chip
look; wired in forge.js (fills the prompt and submits). */
@@ -2730,7 +2785,7 @@
<main class="forge-main">
<header class="forge-head">
<h1>Forge</h1>
- <p>Text or photos → textured 3D model. Orbit, AR, download.</p>
+ <p><span class="forge-free-tag">Free</span> text or photos → textured 3D model. Orbit, AR, download.</p>
</header>
<div class="forge-workspace">
@@ -2998,12 +3053,24 @@
</svg>
</div>
<p class="forge-empty-label">Enter a prompt to generate</p>
+ <button class="btn forge-roll" type="button" id="roll-forge" aria-label="Forge a random model, no prompt needed">
+ <svg class="roll-die" width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
+ <rect x="3" y="3" width="18" height="18" rx="4" />
+ <circle cx="8.5" cy="8.5" r="1.3" fill="currentColor" stroke="none" />
+ <circle cx="15.5" cy="15.5" r="1.3" fill="currentColor" stroke="none" />
+ <circle cx="15.5" cy="8.5" r="1.3" fill="currentColor" stroke="none" />
+ <circle cx="8.5" cy="15.5" r="1.3" fill="currentColor" stroke="none" />
+ <circle cx="12" cy="12" r="1.3" fill="currentColor" stroke="none" />
+ </svg>
+ Roll &amp; Forge
+ </button>
+ <p class="forge-empty-free">Free · no sign-up · yours to download</p>
<div class="forge-empty-starters" id="empty-starters" role="group" aria-label="Starter prompts: click one to generate">
<button class="chip" type="button">a glazed ceramic teapot</button>
<button class="chip" type="button">a sci-fi combat helmet, brushed metal</button>
<button class="chip" type="button">a low-poly red fox, sitting</button>
</div>
- <p class="forge-empty-hint">Or click a starter above: it generates immediately.</p>
+ <p class="forge-empty-hint">Or click a starter: it generates immediately.</p>
</div>
<!-- Generating -->
diff --git a/pages/ibm/hello.html b/pages/ibm/hello.html
index 5bf128c91..a4b3e55f5 100644
--- a/pages/ibm/hello.html
+++ b/pages/ibm/hello.html
@@ -421,13 +421,13 @@ a:focus-visible{outline-offset:3px}
<link rel="canonical" href="https://three.ws/ibm/hello">
<meta property="og:site_name" content="three.ws">
<meta property="og:url" content="https://three.ws/ibm/x402-demo">
- <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&amp;t=IBM+%C3%97+three.ws+partnership&amp;d=The+IBM+%C3%97+three.ws+partnership+page%3A+how+three.ws%27s+agent+identity%2C+x402+payment+rails%2C+and+MCP+servers+integrate+with+IBM+watsonx+and+the+IBM+x402+ecosystem.+A&amp;p=%2Fibm%2Fhello">
+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&amp;t=x402+Live+Demo+%28IBM+%C3%97+three.ws%29&amp;d=A+self-contained+x402+micropayment+demo%3A+pay+%240.001+USDC+from+your+own+wallet+%E2%80%94+MetaMask+on+Base+or+Phantom+on+Solana+%E2%80%94+to+call+a+real+three.ws+data+API.+Watch+&amp;p=%2Fibm%2Fx402-demo">
<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="x402 Live Demo (IBM × three.ws) · three.ws">
<meta name="twitter:description" content="A self-contained x402 micropayment demo: pay $0.001 USDC from your own wallet — MetaMask on Base or Phantom on Solana — to call a real three.ws data API. Watch the live HTTP 402 challenge, sign a gasless authorization, and see the on-chain settlement receipt. No backend, no account; built as the public face of the IBM × three.ws partnership.">
- <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&amp;t=IBM+%C3%97+three.ws+partnership&amp;d=The+IBM+%C3%97+three.ws+partnership+page%3A+how+three.ws%27s+agent+identity%2C+x402+payment+rails%2C+and+MCP+servers+integrate+with+IBM+watsonx+and+the+IBM+x402+ecosystem.+A&amp;p=%2Fibm%2Fhello">
+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&amp;t=x402+Live+Demo+%28IBM+%C3%97+three.ws%29&amp;d=A+self-contained+x402+micropayment+demo%3A+pay+%240.001+USDC+from+your+own+wallet+%E2%80%94+MetaMask+on+Base+or+Phantom+on+Solana+%E2%80%94+to+call+a+real+three.ws+data+API.+Watch+&amp;p=%2Fibm%2Fx402-demo">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"x402 Live Demo (IBM × three.ws)","description":"A self-contained x402 micropayment demo: pay $0.001 USDC from your own wallet — MetaMask on Base or Phantom on Solana — to call a real three.ws data API. Watch the live HTTP 402 challenge, sign a gasless authorization, and see the on-chain settlement receipt. No backend, no account; built as the public face of the IBM × three.ws partnership.","url":"https://three.ws/ibm/x402-demo","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
<!-- model-viewer renders the GLB returned by the paid Forge demo (Demo 01).
Self-hosted (travels with this file under ./vendor/) so the page needs no
diff --git a/public/locales/ar.json b/public/locales/ar.json
index 3538be694..fcbd144c5 100644
--- a/public/locales/ar.json
+++ b/public/locales/ar.json
@@ -46,70 +46,70 @@
"replay_aloud_title": "إعادة التشغيل بصوت عالٍ",
"scored_today": "تم تقييمه اليوم",
"speaks_its_verdict_aloud": "<span class=\"ac-hero-dot\"></span> ينطق بحكمه بصوت عالٍ",
- "this_is_an_agent_s_opinion_grounded": "",
- "total_wins": "",
- "use_an_agent_id": "",
- "win_rate": ""
+ "this_is_an_agent_s_opinion_grounded": "هذا رأي وكيل مبني على بيانات حقيقية من السلسلة — ليس نصيحة مالية أو ضمانًا. كل رقم يذكره يتم التحقق منه مقابل الإشارات الحية المعروضة؛ الأرقام الملفقة تُرفض ولا تُنطق أبدًا. يتم تنفيذ الإجراءات فقط عبر محفظة الوكيل المحمية، ومقيدة بسياسة الإنفاق الخاصة به ومدققة بالكامل.",
+ "total_wins": "إجمالي المكاسب",
+ "use_an_agent_id": "استخدم معرّف وكيل",
+ "win_rate": "نسبة الفوز"
},
"avatar_sdk": {
- "0_deps": "",
- "2_lines": "",
- "30_clips": "",
- "50_mixamo_clips_bundled": "",
- "50kb": "",
- "add_the_web_component": "",
- "agent_3d_full_runtime": "",
- "all_four_exports_are_typed_and_tree": "",
- "altaccessibility_label_caption": "",
- "animation_library": "",
- "apache_2_0_open_source": "",
- "apioriginoverride_api_host_for_self_hosting": "",
- "arkit_viseme_morphs": "",
- "auto_generated_server_side": "",
- "auto_rotate": "",
- "avatar": "",
- "avatar_idthree_ws_avatar_uuid_resolved_via": "",
- "avatarcreator": "",
- "avatarcreator_2": "",
- "avatarcreator_class": "",
- "background": "",
- "backgroundcss_color_or_transparent": "",
- "bearertokenrequired_avatars_write_scope": "",
- "beyond_three_js": "",
- "bundler_esm": "",
- "character_builder": "",
- "charcoal_1c1c1c": "",
- "class": "",
- "click_the_button_to_open_the_avatar": "",
- "closed": "",
- "closed_to_new_apps": "",
- "cloud_upload": "",
- "community_only": "",
- "component": "",
- "configuration": "",
- "configure_the_viewer_see_the_result_in": "",
- "copy": "",
- "copy_2": "",
- "copy_3": "",
- "copy_4": "",
- "copy_5": "",
- "copy_6": "",
- "copy_7": "",
- "copy_arialabel": "",
- "copy_code": "",
- "create_your_first_avatar_free_no_credit": "",
- "creator_flow_js": "",
- "creator_iframe": "",
- "creator_minimal_js": "",
- "cz_avatar": "",
- "dark_090909": "",
- "default_avatar": "",
- "drop_in_web_component_react_bindings_iframe": "",
- "drop_or_the_lightweight_into_any_html": "",
- "element": "",
- "element_2": "",
- "everything_in_one_package": "",
- "everything_the_package_surfaces": "",
+ "0_deps": "0<span class=\"sdk-stat-unit\"> تبعيات</span>",
+ "2_lines": "2<span class=\"sdk-stat-unit\"> أسطر</span>",
+ "30_clips": "~30 مقطعًا",
+ "50_mixamo_clips_bundled": "<span class=\"check\">✓</span> أكثر من 50 مقطع Mixamo مجمعة",
+ "50kb": "&lt;50<span class=\"sdk-stat-unit\">KB</span>",
+ "add_the_web_component": "أضف مكون الويب",
+ "agent_3d_full_runtime": "agent-3d (وقت تشغيل كامل)",
+ "all_four_exports_are_typed_and_tree": "جميع الصادرات الأربعة مُحددة النوع وقابلة لإزالة الشجر. مُعلّمة بـ <code>'use client'</code> لموجّه تطبيقات Next.js.",
+ "altaccessibility_label_caption": "<span class=\"sdk-api-prop-name\">alt</span><span class=\"sdk-api-prop-desc\">تسمية إمكانية الوصول + تعليق</span>",
+ "animation_library": "مكتبة الرسوم المتحركة",
+ "apache_2_0_open_source": "<span class=\"check\">✓</span> مفتوح المصدر Apache-2.0",
+ "apioriginoverride_api_host_for_self_hosting": "<span class=\"sdk-api-prop-name\">apiOrigin</span><span class=\"sdk-api-prop-desc\">تجاوز مضيف API (للاستضافة الذاتية)</span>",
+ "arkit_viseme_morphs": "أشكال ARKit viseme",
+ "auto_generated_server_side": "<span class=\"check\">✓</span> مُنشأ تلقائيًا من جانب الخادم",
+ "auto_rotate": "تدوير تلقائي",
+ "avatar": "أفاتار",
+ "avatar_idthree_ws_avatar_uuid_resolved_via": "<span class=\"sdk-api-prop-name\">avatar-id</span><span class=\"sdk-api-prop-desc\">three.ws معرّف UUID للأفاتار — يتم حله عبر /api/avatars/:id</span>",
+ "avatarcreator": "AvatarCreator",
+ "avatarcreator_2": "AvatarCreator",
+ "avatarcreator_class": "فئة AvatarCreator",
+ "background": "الخلفية",
+ "backgroundcss_color_or_transparent": "<span class=\"sdk-api-prop-name\">background</span><span class=\"sdk-api-prop-desc\">لون CSS أو \"شفاف\"</span>",
+ "bearertokenrequired_avatars_write_scope": "<span class=\"sdk-api-prop-name\">bearerToken</span><span class=\"sdk-api-prop-desc\">مطلوب — نطاق avatars:write</span>",
+ "beyond_three_js": "ما وراء Three.js",
+ "bundler_esm": "مجمّع (ESM)",
+ "character_builder": "<span class=\"check\">✓</span> منشئ الشخصيات",
+ "charcoal_1c1c1c": "فحمي (#1c1c1c)",
+ "class": "فئة",
+ "click_the_button_to_open_the_avatar": "انقر الزر لفتح استوديو الأفاتار هنا مباشرةً. بعد تصدير أفاتار، سيظهر حجم الملف أدناه.",
+ "closed": "<span class=\"cross\">✕</span> مغلق",
+ "closed_to_new_apps": "<span class=\"cross\">✕</span> مغلق للتطبيقات الجديدة",
+ "cloud_upload": "رفع سحابي",
+ "community_only": "للمجتمع فقط",
+ "component": "مكون",
+ "configuration": "التكوين",
+ "configure_the_viewer_see_the_result_in": "قم بتكوين العارض، شاهد النتيجة في الوقت الفعلي، انسخ الكود.",
+ "copy": "نسخ",
+ "copy_2": "نسخ",
+ "copy_3": "نسخ",
+ "copy_4": "نسخ",
+ "copy_5": "نسخ",
+ "copy_6": "نسخ",
+ "copy_7": "نسخ",
+ "copy_arialabel": "نسخ",
+ "copy_code": "انسخ الكود",
+ "create_your_first_avatar_free_no_credit": "أنشئ أول أفاتار لك مجانًا. لا يلزم بطاقة ائتمان. انطلق للإنتاج في دقائق.",
+ "creator_flow_js": "creator-flow.js",
+ "creator_iframe": "إطار Creator Iframe",
+ "creator_minimal_js": "creator-minimal.js",
+ "cz_avatar": "أفاتار CZ",
+ "dark_090909": "داكن (#090909)",
+ "default_avatar": "أفاتار افتراضي",
+ "drop_in_web_component_react_bindings_iframe": "مكون ويب <strong>جاهز للاستخدام</strong>، روابط React، منشئ iframe، ورفع سحابي — حزمة <strong>SDK مفتوحة للأفاتار</strong> متكاملة، قابلة للاستضافة الذاتية، وبدون قيود على الموردين.",
+ "drop_or_the_lightweight_into_any_html": "أضف <code>&lt;agent-3d&gt;</code> أو <code>&lt;three-ws-viewer&gt;</code> الخفيف إلى أي صفحة HTML أو إطار عمل. يسجل نفسه تلقائيًا عند الاستيراد.",
+ "element": "عنصر",
+ "element_2": "عنصر",
+ "everything_in_one_package": "كل شيء في حزمة واحدة",
+ "everything_the_package_surfaces": "كل ما توفره الحزمة.",
"exports": "تصديرات",
"feature": "ميزة",
"first_class_react_18_components_and_a": "مكونات React 18+ متكاملة — <code>&lt;Avatar&gt;</code>، <code>&lt;AgentAvatar&gt;</code>، <code>&lt;AvatarCreator&gt;</code> وخطاف <code>useAvatar(id)</code>.",
@@ -951,45 +951,45 @@
"conviction_for_up_to_20_mints_at": "قناعة لما يصل إلى 20 عملية سك في وقت واحد.",
"conviction_is_only_half_the_product_the": "القناعة ليست سوى نصف المنتج. النصف الآخر هو السماح لوكيل ثلاثي الأبعاد بـ <b>التصرف</b> بناءً عليها — بشكل مستقل، ضمن الحدود التي تحددها، ويقيم نفسه مقابل كل نتيجة. هذا ما يقوم <a class=\"inl\" href=\"/oracle/arm\">/oracle/arm</a> بتهيئته.",
"conviction_is_the_weighted_fusion_of_four": "القناعة هي الدمج المرجح لأربع قراءات مستقلة. يتم تقييم كل ركيزة من 0 إلى 100 بشكل مستقل، لأسبابها الخاصة، وتساهم بحصة ثابتة من الرقم النهائي.",
- "conviction_weighted_size_the_executor_then_a": "",
- "creator_3_graduated_launches": "",
- "creator_3_launches_0_graduated": "",
- "creator_dumps_50_of_launches": "",
- "creator_still_holds_25": "",
- "cultural_strength_a_tie_breaker_not_a": "",
- "daily_budget": "",
- "data_ingestion": "",
- "data_ingestion_2": "",
- "data_model": "",
- "data_model_2": "",
- "deep_dive_configuration_safeguards_the_kill": "",
- "deep_dive_example_the_agent_signal_contract": "",
- "deep_dive_momentum_exact_rules": "",
- "deep_dive_narrative_priors_blending_and_the": "",
- "deep_dive_oracle_s_own_tables_data": "",
- "deep_dive_pedigree_exact_rules_constants": "",
- "deep_dive_structure_exact_rules_the_cap": "",
- "deep_dive_the_disclosures": "",
- "deep_dive_the_executor_sizing_jito_routing": "",
- "deep_dive_the_wilson_interval_why_we": "",
- "deep_dives_for_the_math": "",
- "deeper_social_ingestion_holder_graph_evoluti": "",
- "design_principle": "",
- "dev_buy_0_2_2_5_sol": "",
- "dev_buy_6_sol": "",
- "dev_sold_50_20": "",
- "docs": "",
- "documentation_living_reference": "",
- "does": "",
- "does_prime_actually_beat_blind_buying_the": "",
- "each_tier_s_realized_win_rate_is": "",
- "edge_multiple_monotonicity": "",
- "endpoint": "",
- "endpoint_2": "",
- "endpoint_3": "",
- "every_action_an_agent_takes_simulated_or": "",
- "every_field_here_is_also_available_programma": "",
- "every_new_wallet_judged_and_every_new": "",
+ "conviction_weighted_size_the_executor_then_a": "الحجم المرجح بالثقة: <code class=\"t\">size = base · (1 + clamp((score − min)/(100 − min), 0, 1)·0.5)</code>. ثم يطبق المنفذ السقف المطلق: <code class=\"t\">size = min(size, ORACLE_MAX_TRADE_SOL)</code> — وهو حد حارس يتجاوز أي إعداد خاص بالوكيل.",
+ "creator_3_graduated_launches": "المنشئ: ≥3 إطلاقات مكتملة",
+ "creator_3_launches_0_graduated": "المنشئ: ≥3 إطلاقات، 0 مكتملة",
+ "creator_dumps_50_of_launches": "المنشئ يتخلى عن ≥50% من الإطلاقات",
+ "creator_still_holds_25": "المنشئ لا يزال يحتفظ بـ ≥25%",
+ "cultural_strength_a_tie_breaker_not_a": "— القوة الثقافية؛ عامل حسم، وليس منقذًا.",
+ "daily_budget": "الميزانية اليومية",
+ "data_ingestion": "البيانات والاستيعاب",
+ "data_ingestion_2": "البيانات والاستيعاب",
+ "data_model": "نموذج البيانات",
+ "data_model_2": "نموذج البيانات",
+ "deep_dive_configuration_safeguards_the_kill": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> الإعدادات، الضمانات، ومفتاح الإيقاف الطارئ <span class=\"chev\">›</span>",
+ "deep_dive_example_the_agent_signal_contract": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> مثال: عقد إشارة الوكيل <span class=\"chev\">›</span>",
+ "deep_dive_momentum_exact_rules": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> الزخم — القواعد الدقيقة <span class=\"chev\">›</span>",
+ "deep_dive_narrative_priors_blending_and_the": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> السرد — الأولويات، المزج، وسلسلة التصنيف <span class=\"chev\">›</span>",
+ "deep_dive_oracle_s_own_tables_data": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> جداول أوراكل الخاصة ودورة حياة البيانات <span class=\"chev\">›</span>",
+ "deep_dive_pedigree_exact_rules_constants": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> الأصل — القواعد والثوابت الدقيقة <span class=\"chev\">›</span>",
+ "deep_dive_structure_exact_rules_the_cap": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> الهيكل — القواعد الدقيقة وآلية الحد الأقصى <span class=\"chev\">›</span>",
+ "deep_dive_the_disclosures": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> الإفصاحات",
+ "deep_dive_the_executor_sizing_jito_routing": "<span class=\"layer deep\"><b></b>نظرة معمقة</span> المنفذ — التحجيم، توجيه Jito، والحدود القصوى الصارمة <span class=\"chev\">›</span>",
+ "deep_dive_the_wilson_interval_why_we": "<span class=\"layer deep\"><b></b>غوص عميق</span> فترة ويلسون ولماذا نستخدمها <span class=\"chev\">›</span>",
+ "deep_dives_for_the_math": "🔬 <b>غوصات عميقة</b> للرياضيات",
+ "deeper_social_ingestion_holder_graph_evoluti": "استيعاب اجتماعي أعمق، وتطور مخطط حاملي الأصول بمرور الوقت، وربط المبدعين/الممولين عبر العملات، والبنية الدقيقة لتدفق الأوامر، كلها ركائز إضافية أو إشارات فرعية تندرج تحت عقد الدمج نفسه.",
+ "design_principle": "مبدأ التصميم",
+ "dev_buy_0_2_2_5_sol": "شراء المطورين 0.2–2.5 سول",
+ "dev_buy_6_sol": "شراء المطورين >6 سول",
+ "dev_sold_50_20": "باع المطورون ≥50% (≥20%)",
+ "docs": "وثائق",
+ "documentation_living_reference": "<b></b> وثائق · مرجع حي",
+ "does": "المهام",
+ "does_prime_actually_beat_blind_buying_the": "هل يتفوق برايم فعلاً على الشراء الأعمى؟ تعرض الصفحة معدل فوز برايم، الارتفاع عن المعدل الأساسي، مضاعف الأفضلية، وما إذا كان معدل الفوز يرتفع بشكل رتيب عبر المستويات.",
+ "each_tier_s_realized_win_rate_is": "يُعرض معدل الفوز المحقق لكل مستوى مع <b>فاصل ثقة ويلسون بنسبة 95%</b> — الأداة المناسبة لتقديرات معدل الفوز في العينات الصغيرة، حيث قد تكون علامة ± الساذجة مضللة. يشير النطاق الواسع إلى \"عدم توفر بيانات كافية بعد\"، وتوضح الصفحة ذلك.",
+ "edge_multiple_monotonicity": "مضاعف الأفضلية والرتابة",
+ "endpoint": "نقطة نهاية",
+ "endpoint_2": "نقطة نهاية",
+ "endpoint_3": "نقطة نهاية",
+ "every_action_an_agent_takes_simulated_or": "كل إجراء يتخذه الوكيل — سواء كان محاكى أو مباشر — يُقيّم مقابل الحقيقة الأساسية ويُسجل في سجل معدل الفوز الدائم الخاص به. هذا ما يجعل سجل أداء الوكيل قابلاً للتحقق بدلاً من مجرد ادعاء.",
+ "every_field_here_is_also_available_programma": "كل حقل هنا متاح أيضًا برمجيًا من <code class=\"t\">GET /api/oracle/coin?mint=…</code> — راجع <a class=\"inl\" href=\"#api\">مرجع الـ API</a>.",
+ "every_new_wallet_judged_and_every_new": "تقييم كل محفظة جديدة وتسوية كل إطلاق جديد يشحذ ركيزة WHO ويضيق النطاقات. عجلة البيانات هي الخندق — تتراكم التغطية لتتحول إلى معايرة.",
"every_one_of_those_facts_is_on": "كل حقيقة من تلك الحقائق موجودة على السلسلة أو على بعد استنتاج واحد منها. لم تكن العوائق أبدًا في التوفر — بل هي في <b>التجميع والسرعة</b>. لا يمكن لإنسان مراقبة كل محفظة عبر كل إطلاق ودمجها في قرار خلال ثوانٍ. الآلة تستطيع ذلك.",
"every_scored_coin_as_a_glowing_sphere": "كل عملة تم تقييمها ككرة متوهجة في حقل ثلاثي الأبعاد موجه بالقوة ومجمع حسب الفئة؛ الحجم واللون يرمزان إلى القناعة والمستوى.",
"every_section_opens_in_plain_english_what": "كل قسم يبدأ بلغة واضحة: ما هو، لماذا وُجد، وكيف تستخدمه. إذا قرأت النثر فقط، ستفهم النظام بأكمله ولن ترى أبدًا صيغة لم تطلبها.",
@@ -1054,38 +1054,38 @@
"meta_description": "المرجع الكامل لأوراكل: الأطروحة وراء الاقتناع المدمج pump.fun، نموذج التقييم ذو الأركان الأربعة ورياضياته الدقيقة، خط أنابيب البيانات وحلقات العمل، أدلة المعايرة والاختبار الرجعي، حلقة عمل الوكيل، واجهة برمجة التطبيقات الكاملة، نموذج البيانات، القيود، ومجالات التوسع — مكتوب للجميع من القراء لأول مرة إلى الباحثين.",
"meta_og_description": "كيف يحول Oracle كل إطلاق pump.fun إلى نتيجة اقتناع شفافة من 0 إلى 100 — الأطروحة، الرياضيات، البيانات، الأدلة، واجهة برمجة التطبيقات، ومجالات التوسع.",
"meta_og_title": "وثائق Oracle · three.ws",
- "meta_title": "",
- "meta_twitter_description": "",
- "meta_twitter_title": "",
- "min_score_tier": "",
- "monotonicity_edge_require_non_decreasing_in": "",
- "more_chains_more_venues": "",
- "more_wallets_more_density": "",
- "move_momentum": "",
- "move_momentum_2": "",
- "movers": "",
- "movers_with_its_designed_empty_state_what": "",
- "narrative_a_model_with_the_news_on": "",
- "narrative_filter": "",
- "narrative_lag_model_error": "",
- "new_agent_actions_and_outcome_settlements_as": "",
- "new_updated_conviction_verdicts_as_they_re": "",
- "no": "",
- "no_proven_wallet_is_in_yet_if": "",
- "not_financial_advice": "",
- "notable_columns": "",
- "note": "",
- "numbers_and_thresholds_quoted_here_are_the": "",
- "one_number_for_overall_calibration_error_the": "",
- "one_of_the_four_independent_reads_who": "",
- "one_verdict_fully_unpacked_conviction_35_wat": "",
- "open_the_feed_sort_by_conviction_click": "",
- "open_the_live_oracle": "",
- "operational_safeguards_layer_up_a_global_kil": "",
- "oracle": "",
- "oracle_as_a_calibrated_scoring_classifier": "",
- "oracle_is_a_thin_fast_conviction_layer": "",
- "oracle_is_an_analytics_and_automation_tool": "",
+ "meta_title": "وثائق أوراكل — محرك القناعة، شاملة · three.ws",
+ "meta_twitter_description": "من اللغة المبسّطة إلى مستوى الدكتوراه: كيف تُقيّم أوراكل كل إطلاق لـ pump.fun، بالحسابات الحقيقية والأدلة الواقعية.",
+ "meta_twitter_title": "وثائق أوراكل — محرك القناعة، شاملة",
+ "min_score_tier": "الحد الأدنى للنقاط / الفئة",
+ "monotonicity_edge_require_non_decreasing_in": "<b>الرتابة والحافة:</b> تتطلب أن يكون <code class=\"t\">ŷ</code> غير متناقص في فئة النقاط (ضمن التسامح)؛ تُعرّف مضاعف الحافة = <code class=\"t\">P(win | prime) / P(win | any)</code> والرفع = الفرق، وكلاهما يُبلّغ عنه مع فترات الثقة الخاصة بهما.",
+ "more_chains_more_venues": "المزيد من السلاسل، المزيد من المنصات",
+ "more_wallets_more_density": "المزيد من المحافظ، المزيد من الكثافة",
+ "move_momentum": "MOVE · الزخم",
+ "move_momentum_2": "④ MOVE — الزخم",
+ "movers": "<b>المحركون</b>",
+ "movers_with_its_designed_empty_state_what": "<b>المحركون</b>، مع حالته الفارغة المصممة — ما تراه قبل أن يتحول ما يكفي من القناعة في النافذة.",
+ "narrative_a_model_with_the_news_on": "السرد: نموذج يضع الأخبار نصب عينيه",
+ "narrative_filter": "فلتر السرد",
+ "narrative_lag_model_error": "تأخر السرد وخطأ النموذج",
+ "new_agent_actions_and_outcome_settlements_as": "إجراءات الوكلاء الجديدة وتسويات النتائج فور وصولها.",
+ "new_updated_conviction_verdicts_as_they_re": "أحكام قناعة جديدة / محدّثة فور تقييمها (فلتر <code>min_score</code> ).",
+ "no": "لا",
+ "no_proven_wallet_is_in_yet_if": "لم يتم إدخال أي محفظة مثبتة بعد (إذا لزم الأمر)",
+ "not_financial_advice": "ليست نصيحة مالية",
+ "notable_columns": "أعمدة بارزة",
+ "note": "ملاحظة",
+ "numbers_and_thresholds_quoted_here_are_the": "الأرقام والعتبات المذكورة هنا هي <b>ثوابت الإنتاج الفعلية</b> من المحرك. أسماء المستويات هي <code class=\"t\">prime · strong · lean · watch · avoid</code>. الأعمدة تُلقب بـ <b>WHO</b> (الأصل), <b>HOW</b> (الهيكل), <b>WHAT</b> (السرد), <b>MOVE</b> (الزخم) في جميع أنحاء المنتج وهذه الوثائق.",
+ "one_number_for_overall_calibration_error_the": "رقم واحد لخطأ المعايرة الكلي — متوسط الخطأ التربيعي لـ (النتيجة/100) مقابل النتيجة الثنائية. الأقل أفضل؛ 0 مثالي، 0.25 هو رمية عملة.",
+ "one_of_the_four_independent_reads_who": "إحدى القراءات المستقلة الأربع: WHO (الأصل), HOW (الهيكل), WHAT (السرد), MOVE (الزخم).",
+ "one_verdict_fully_unpacked_conviction_35_wat": "<b>حكم واحد، مفصل بالكامل.</b> قناعة <b>35</b> (مراقبة): أعمدة WHO/HOW/WHAT/MOVE في الأعلى، قائمة <b>\"لماذا هذه النتيجة\"</b> باللغة الإنجليزية المبسّطة، قراءة الهيكل (شراء عضوي مقابل حزمة)، قائمة محافظ <b>المشاركين</b>، وشريط تداول مباشر — كل ذلك لإطلاق واحد.",
+ "open_the_feed_sort_by_conviction_click": "افتح الموجز، رتب حسب القناعة، انقر على أي عملة. يعرض الدرج الأعمدة الأربعة وسببًا باللغة الإنجليزية المبسّطة لكل نقطة. النتيجة العالية هي حجة، وليست وعدًا — اقرأ الأسباب.",
+ "open_the_live_oracle": "افتح أوراكل المباشر ←",
+ "operational_safeguards_layer_up_a_global_kil": "تتعدد الضمانات التشغيلية: مفتاح إيقاف عالمي، حد أقصى صارم لـ SOL لكل صفقة يتم فرضه في المنفذ (مستقل عن أي إعداد لكل وكيل)، حدود الإنفاق اليومي والمراكز المفتوحة لكل مراقبة، مهلة تأكيد 60 ثانية حتى لا تحظر المعاملات العالقة الحلقة، وذاكرة تخزين مؤقتة لمدة 60 ثانية على أزواج المفاتيح المشفرة للحد من حمل فك التشفير أثناء الاندفاعات. <b>المحاكاة هي الإعداد الافتراضي</b> — يسجل العامل إجراءات واقعية بدون إنفاق ما لم يتم التبديل صراحةً إلى الوضع المباشر.",
+ "oracle": "أوراكل",
+ "oracle_as_a_calibrated_scoring_classifier": "أوراكل كمصنف تسجيل معاير",
+ "oracle_is_a_thin_fast_conviction_layer": "أوراكل هي طبقة قناعة سريعة وخفيفة فوق pump.funعقل بيانات شامل. لا تعيد استيعاب السلسلة — بل تقرأ جداول العقل، وتضيف شيئين لا يملكهما العقل (سرد ثقافي وحلقة عمل)، وتغلق الحلقة مقابل النتائج.",
+ "oracle_is_an_analytics_and_automation_tool": "أوراكل هي أداة تحليل وأتمتة. درجات القناعة والإشارات وإجراءات الوكيل هي معلوماتية. التداول المباشر ينطوي على مخاطر أموال حقيقية؛ قم بالمحاكاة أولاً، ضع حدودًا صارمة، وتعامل مع كل رقم كمدخل واحد من بين العديد.",
"oracle_owns_five_tables_classified_story_vir": "تمتلك Oracle خمسة جداول: <code class=\"t\">oracle_narrative</code> (القصة المصنفة + الانتشار الفيروسي)، <code class=\"t\">oracle_conviction</code> (ذاكرة التخزين المؤقت للحكم المباشر، صف واحد لكل سك)، <code class=\"t\">oracle_conviction_history</code> (سلسلة زمنية للنتائج، تُكتب فقط عند تغيير ≥3 نقاط، احتفاظ لمدة 72 ساعة)، <code class=\"t\">oracle_agent_watch</code> (إعدادات الوكيل المسلح)، و <code class=\"t\">oracle_watch_actions</code> (سجل الإجراءات). الأعمدة الكاملة في <a class=\"inl\" href=\"#schema\">نموذج البيانات</a>.",
"oracle_owns_five_tables_the_verdict_cache": "تمتلك Oracle خمسة جداول. ذاكرة التخزين المؤقت للحكم هي القلب؛ والبقية هي السجل، والإعدادات، وسجل الإجراءات.",
"oracle_reads_every_pump_fun_launch_the": "تقرأ Oracle كل إطلاق لـ <b>pump.fun</b> لحظة ظهوره وتجيب على سؤال واحد: <b>ما مدى القناعة التي تدعمها الأدلة على السلسلة فعليًا؟</b> إنها تدمج أربع قراءات مستقلة — <b>من</b> يشتري، <b>كيف</b> يتم هيكلة الإطلاق، <b>ما</b> هي القصة التي يركبها، و <b>كيف</b> يتحرك — في <b>نتيجة شفافة واحدة من 0 إلى 100</b>، ثم تتيح لوكيلك ثلاثي الأبعاد التصرف بناءً على التحركات التي تتجاوز معاييرك. هذا هو المرجع الكامل: الأطروحة، الرياضيات الدقيقة، البيانات، الأدلة، واجهة برمجة التطبيقات (API)، الحدود، وإلى أين يتجه بعد ذلك.",
@@ -1198,82 +1198,82 @@
"the_improvement_path_formally": "مسار التحسين، رسميًا",
"the_intended_semantics_is_that_where_calibra": "المعنى المقصود هو أن <code class=\"t\">s(x)/100 ≈ P(win | x)</code>، حيث <code class=\"t\">win = graduated ∨ ATH ≥ 2×</code>. تقيس المعايرة الفجوة بين القصد والواقع.",
"the_live_floor_every_agent_action_simulated": "المنصة الحية — كل إجراء للوكيل، سواء كان محاكيًا أو مباشرًا، فور حدوثه.",
- "the_live_oracle_is_eight_views_over": "",
- "the_live_surface_every_launch_in_the": "",
- "the_lowest_cap_triggered_wins_this_is": "",
- "the_machine_ready_endpoint_and_the_action": "",
- "the_one_sentence_version": "",
- "the_pedigree_graph_made_browsable_every_wall": "",
- "the_pedigree_leaderboard_every_judged_wallet": "",
- "the_pillars_are_venue_agnostic_who_how": "",
- "the_problem_asymmetric_information_at_the_sp": "",
- "the_product_is_keyboard_driven_focuses_searc": "",
- "the_proven_wins_gallery_ordered_by_ath": "",
- "the_question_is_real_buying_pressure_actuall": "",
- "the_question_is_this_a_fair_launch": "",
- "the_question_what_is_this_coin_about": "",
- "the_question_who_is_already_in_this": "",
- "the_scoring_is_a_pure_function_of": "",
- "the_snapshot_above_is_a_thin_low": "",
- "the_system_at_a_glance": "",
- "the_system_gets_sharper_the_more_it": "",
- "the_thesis": "",
- "the_thesis_2": "",
- "the_tier_ladder": "",
- "the_watch_isn_t_armed": "",
- "the_what_pillar_depends_on_a_language": "",
- "the_what_pillar_is_the_only_place": "",
- "the_wins_gallery_resolved_calls_with_their": "",
- "the_worker": "",
- "the_worker_2": "",
- "the_worker_3": "",
- "the_worker_is_configured_entirely_by_environ": "",
- "these_docs_are_written_in_two_layers": "",
- "this_buy_would_exceed_the_24h_spend": "",
- "three_ways_in_depending_on_what_you": "",
- "three_ws": "",
- "three_ws_2": "",
- "tier": "",
- "top_10_wallets_hold_80_60": "",
- "top_holder_50_30": "",
- "top_wallets": "",
- "transparency_over_magic_every_score_ships_wi": "",
- "two_coins_can_both_score_70_for": "",
- "two_design_commitments_make_that_bet_honest": "",
- "two_win_rates_are_published_deliberately_kep": "",
- "unlike_the_normal_approximation_the_wilson_i": "",
- "updated_2026_06_30": "",
- "view": "",
- "walking_the_drawer_top_to_bottom_mirrors": "",
- "watch": "",
- "weighted_average_of_the_four_pillar_scores": "",
- "weights_are_expert_priors_for_now": "",
- "what_it_s_for": "",
- "what_narrative": "",
- "what_narrative_2": "",
- "what_the_brain_provides_read_only": "",
- "what_win_means": "",
- "when_a_coin_launches_the_people_who": "",
- "when_a_coin_s_outcome_resolves_the": "",
- "where_it_scales": "",
- "where_it_scales_2": "",
- "who_and_how_together_carry_nearly_two": "",
- "who_base": "",
- "who_how": "",
- "who_labels": "",
- "who_pedigree": "",
- "who_pedigree_2": "",
- "who_s_in_is_the_live_pedigree": "",
- "why_it_compounds": "",
- "why_this_score_is_the_array_each": "",
- "wilson_1927_probable_inference_the_law_of": "",
- "wilson_interval": "",
- "wilson_interval_the_95_score_interval_on": "",
- "win_loss_flat": "",
- "win_loss_isn_t_known_until_a": "",
- "win_rate_by_tier_with_honest_error": "",
- "win_rate_by_tier_with_wilson_cis": "",
- "win_the_coin_graduated_or_its_peak": "",
+ "the_live_oracle_is_eight_views_over": "أوراكل المباشر هو ثمانية عروض على محرك واحد. كل حالة — التحميل، فارغة، خطأ، مأهولة — مصممة؛ والحالات الفارغة أدناه هي المنتج الحقيقي الذي يخبرك بما هو قادم، وليست أخطاء.",
+ "the_live_surface_every_launch_in_the": "<b>الواجهة الحية.</b> كل إطلاق في آخر 12 ساعة، تم تقييمه وتصنيفه، مع شريط حيوية الثقة المباشر ومتوسطات لكل سرد. <a class=\"inl\" href=\"/oracle\">three.ws/oracle</a>",
+ "the_lowest_cap_triggered_wins_this_is": "الحد الأدنى المحفز هو الفائز. هذا هو البيان الرسمي بأن \"الهيكل حق نقض\": الإطلاق الذي يعاني من عيب هيكلي خطير يكون محدود السقف <i>قبل</i> أخذ المتوسط المرجح، لذا لا يمكن لأي قدر من السمعة أو السرد أن يرفعه إلى مستوى عالٍ.",
+ "the_machine_ready_endpoint_and_the_action": "نقطة النهاية الجاهزة للآلة <code class=\"t\">/signal</code> وحلقة الإجراءات تجعلان أوراكل أساسًا تبني عليه الوكلاء الآخرون — قابل للاكتشاف، قابل للدفع، وقابل للتركيب عبر اقتصاد الوكلاء three.ws و MCP.",
+ "the_one_sentence_version": "النسخة المختصرة",
+ "the_pedigree_graph_made_browsable_every_wall": "<b>رسم بياني السمعة، أصبح قابلاً للتصفح.</b> كل محفظة حكم عليها أوراكل، مصنفة حسب سجلها — معدل الفوز بالشراء المبكر مقابل سلوك التخلص/الاحتيال. هذه هي المادة الخام التي يقرأها عمود WHO. <a class=\"inl\" href=\"/oracle\">Top wallets tab</a>",
+ "the_pedigree_leaderboard_every_judged_wallet": "لوحة صدارة السمعة — كل محفظة تم الحكم عليها مصنفة حسب سجلها.",
+ "the_pillars_are_venue_agnostic_who_how": "الأركان مستقلة عن المنصة — من/كيف/ماذا/تحرك تعمم على أي مكان إطلاق له بصمات على السلسلة. تجريد الدماغ هو النقطة التي تتصل فيها سلسلة جديدة.",
+ "the_problem_asymmetric_information_at_the_sp": "المشكلة: معلومات غير متماثلة بسرعة الكتلة",
+ "the_product_is_keyboard_driven_focuses_searc": "المنتج يعتمد على لوحة المفاتيح (<kbd>/</kbd> تركز البحث، مفاتيح الأرقام تقفز بين علامات التبويب، الأسهم تتحرك بينها)، متجاوب بالكامل، ومبني على لوحة ألوان أحادية اللون رمادية باردة حيث تشير الإضاءة إلى القوة — الأكثر إشراقًا يعني قناعة أقوى.",
+ "the_proven_wins_gallery_ordered_by_ath": "معرض الانتصارات المؤكدة، مرتبة حسب مضاعف ATH، مع ملخص.",
+ "the_question_is_real_buying_pressure_actuall": "<b>السؤال:</b> هل يظهر ضغط الشراء الحقيقي بالفعل، الآن؟ الزخم يقرأ أقدم بصمة — توازن الشراء/البيع، مدى سرعة تدفق المشترين الفريدين، وحجم شراء المطور نفسه كدليل.",
+ "the_question_is_this_a_fair_launch": "<b>السؤال:</b> هل هذا إطلاق عادل أم مصمم؟ الهيكل هو الحاجز الواقي. يقرأ توزيع وتوقيت الإطلاق — احتمالية التجميع، تركيز الحائزين، ضغط القنص، زراعة المحافظ الجديدة، تجمعات الممولين الفرديين، بيع المطورين — ويكافئ القواعد الواسعة والعضوية بينما يعاقب التنسيق والتركيز.",
+ "the_question_what_is_this_coin_about": "<b>السؤال:</b> ما هو موضوع هذه العملة، وهل للقصة امتداد ثقافي؟ يصنف السرد الإطلاق إلى إحدى عشرة فئة (ميم، ذكاء اصطناعي، ثقافة، أخبار، حيوان، مشاهير، سياسي، مجتمع، تقنية، منفعة، غير معروف) ويقدر مدى انتشاره — يفضل باستخدام نموذج لغوي يُعطى <b>عناوين أخبار العملات المشفرة المباشرة</b> حتى يتمكن من التعرف على عملة تواكب أخبار اليوم.",
+ "the_question_who_is_already_in_this": "<b>السؤال:</b> من يمتلك هذه العملة بالفعل، وما هو سجلهم؟ تكافئ السمعة الإطلاقات التي تشتري فيها المحافظ ذات السجل <i>المثبت</i> في الدخول المبكر للفائزين — وتعاقب وجود المحتالين المعروفين، المفرغين، ومنشئي الإطلاقات الفاشلة المتسلسلين.",
+ "the_scoring_is_a_pure_function_of": "التسجيل هو <b>دالة نقية للمعلومات المجمعة</b>. كل شيء ذو حالة — الاستيعاب، الثبات، التنفيذ، التسوية — يعيش خارجه. هذا الحد هو السبب في أن الرياضيات قابلة للاختبار، والأحكام قابلة للتكرار، ونفس المحرك يشغل البث المباشر، وواجهة برمجة التطبيقات (API)، وقرار الوكيل بنتائج متطابقة.",
+ "the_snapshot_above_is_a_thin_low": "اللقطة أعلاه هي نافذة رقيقة ذات قناعة منخفضة — تجلس معدلات الفوز المحققة تحت نقاط منتصف النطاق وعدد قليل من العملات وصل إلى المستويات الأعلى. هذا معروض، وليس مخفيًا. تم بناء الصفحة لعرض ميزة ضعيفة بسهولة مثل الميزة القوية، لأن الاختبار الخلفي الذي تثق به فقط عندما يرضيك ليس اختبارًا خلفيًا حقيقيًا.",
+ "the_system_at_a_glance": "النظام في لمحة",
+ "the_system_gets_sharper_the_more_it": "النظام يصبح أكثر دقة كلما زادت مراقبته، وذلك عبر عجلتي دفع. عجلة دفع البيانات <b></b>: كل نتيجة محسومة تُحدّث مخطط سمعة المحافظ الذي يغذي ركيزة WHO، ليعاد تعريف \"الأموال الذكية\" باستمرار، ولا يُرمّز بشكل ثابت أبدًا. عجلة دفع المعايرة <b></b>: كل نتيجة مقيّمة تُحكِم الاختبارات السابقة، كاشفةً بدقة أين تكون النتيجة مفرطة الثقة أو ناقصة الثقة، ليتم إعادة وزن النموذج بناءً على الواقع بدلاً من الحدس.",
+ "the_thesis": "الأطروحة",
+ "the_thesis_2": "الأطروحة",
+ "the_tier_ladder": "سلم المستويات",
+ "the_watch_isn_t_armed": "المراقبة غير مفعلة",
+ "the_what_pillar_depends_on_a_language": "تعتمد ركيزة WHAT على نموذج لغوي وموجز إخباري. قد يسيء كلاهما قراءة قصة أو يفوّت خبرًا عاجلاً. لهذا السبب، هي الركيزة الأقل وزنًا، وتتحول إلى مصنف حتمي بدلاً من الفشل.",
+ "the_what_pillar_is_the_only_place": "ركيزة WHAT هي النقطة الوحيدة التي يتواصل فيها Oracle مع العالم الخارجي. لتصنيف قصة إطلاق، تستجلب <b>عناوين أخبار العملات المشفرة الحية</b> من واجهة برمجة تطبيقات إخبارية عامة (مخزنة مؤقتًا لمدة ~90 ثانية)، وتُدخلها في موجه النموذج اللغوي، وتطلب فئة، وسردًا من سطر واحد، وتقديرًا للانتشار، ومستوى ثقة. العملة التي تتصدر عناوين الأخبار اليوم يتم التعرف عليها على هذا النحو وتحصل على درجة أعلى. إذا كان النموذج غير متاح، يتولى مصنف الكلمات المفتاحية الحتمي المهمة لضمان إصدار قرار دائمًا.",
+ "the_wins_gallery_resolved_calls_with_their": "معرض المكاسب — الاستدعاءات المحسومة مع نتيجتها عند الدخول مقابل النتيجة المحققة.",
+ "the_worker": "العامل",
+ "the_worker_2": "العامل",
+ "the_worker_3": "العامل",
+ "the_worker_is_configured_entirely_by_environ": "يتم تكوين العامل بالكامل من خلال البيئة. إعدادات مختارة (مع القيم الافتراضية): <code class=\"t\">ORACLE_MODE=simulate</code>، <code class=\"t\">ORACLE_NETWORK=mainnet</code>، <code class=\"t\">ORACLE_SCORE_INTERVAL_MS=15000</code>، <code class=\"t\">ORACLE_AGENT_INTERVAL_MS=3000</code>، <code class=\"t\">ORACLE_SETTLE_INTERVAL_MS=60000</code>، <code class=\"t\">ORACLE_SCORE_BATCH=20</code>، <code class=\"t\">ORACLE_RESCORE_AFTER_SEC=180</code>، <code class=\"t\">ORACLE_MAX_TRADE_SOL=0.25</code> (الحد الأقصى المطلق لكل صفقة)، و <code class=\"t\">ORACLE_GLOBAL_KILL=1</code> (يوقف جميع أنشطة الوكيل + التسوية بينما يستمر التسجيل). يتطلب الوضع المباشر أيضًا السر المستخدم لفك تشفير محافظ الوكيل، ويرفض البدء بدونه.",
+ "these_docs_are_written_in_two_layers": "هذه المستندات مكتوبة بطبقتين بحيث تخدم نفس الصفحة المبتدئ الفضولي والمحلل الكمي الذي يريد الصيغة المغلقة.",
+ "this_buy_would_exceed_the_24h_spend": "سيتجاوز هذا الشراء سقف الإنفاق المحدد لـ 24 ساعة.",
+ "three_ways_in_depending_on_what_you": "ثلاثة مسارات، بناءً على ما تبحث عنه في Oracle اليوم.",
+ "three_ws": "three.ws",
+ "three_ws_2": "three.ws",
+ "tier": "<b>فئة</b>",
+ "top_10_wallets_hold_80_60": "أكبر 10 محافظ تستحوذ على ≥80% (≥60%)",
+ "top_holder_50_30": "أعلى حائز ≥50% (≥30%)",
+ "top_wallets": "<b>أبرز المحافظ</b>",
+ "transparency_over_magic_every_score_ships_wi": "<b>الشفافية لا السحر.</b> كل تقييم يأتي مع الأسباب التي بنيت عليها. لا توجد مخرجات نموذجية غامضة تطلب منك الثقة بها — يمكنك معرفة سبب حصول عملة على 82 أو تحديد سقفها عند 46.",
+ "two_coins_can_both_score_70_for": "يمكن لعملتين أن تحصلا على درجة 70 لأسباب مختلفة تمامًا — إحداهما لأصالتها النقية وزخمها الضعيف، والأخرى لسردية فيروسية على أساس هش. يخبرك التصنيف <i>مدى القوة</i>؛ وتكشف الأسباب <i>السبب</i>، وهذا السبب هو ما تبني عليه تداولاتك.",
+ "two_design_commitments_make_that_bet_honest": "تعهدان تصميميان يضمنان نزاهة هذا الرهان:",
+ "two_win_rates_are_published_deliberately_kep": "نشرنا معدلين للربح، مفصولين عمدًا: <b>معدل ربح التوصيات</b> (العملات التي حُسمت وصنّفها Oracle كـ Lean أو Strong أو Prime — وهي المستويات التي يوجهك للتحرك بناءً عليها) و<b>معدل السوق الأساسي</b> (كل إطلاق تم تقييمه — أي ما ستحققه بشراء كل شيء بشكل أعمى). حتى تُحسم التوصيات الفعلية، يظهر معدل ربح التوصيات \"لم تُحسم أي توصيات بعد\"؛ ولا يُقدم المعدل الأساسي أبدًا كمهارة للمحرك.",
+ "unlike_the_normal_approximation_the_wilson_i": "على عكس التقريب الطبيعي <code class=\"t\">p ± z·√(p(1−p)/n)</code>، تبقى فترة ويلسون محصورة ضمن [0,1]، ولا تنهار إلى عرض صفري عند p=0 أو p=1، وتعمل بشكل صحيح مع قيم <code class=\"t\">n</code> الصغيرة التي تتميز بها الاختبارات الخلفية الحديثة. إنه الفارق بين \"لا نعرف بعد\" الصادقة و\"0% ± 0%\" غير النزيهة.",
+ "updated_2026_06_30": "مُحدّث <b>2026-06-30</b>",
+ "view": "عرض",
+ "walking_the_drawer_top_to_bottom_mirrors": "التنقل في الدرج من الأعلى إلى الأسفل يعكس النموذج تمامًا:",
+ "watch": "شاهد",
+ "weighted_average_of_the_four_pillar_scores": "# المتوسط الموزون لدرجات الركائز الأربع",
+ "weights_are_expert_priors_for_now": "الأوزان هي تقديرات أولية من خبراء (مؤقتًا)",
+ "what_it_s_for": "ما الغرض منه",
+ "what_narrative": "ماذا · السرد",
+ "what_narrative_2": "③ ما هو — السرد",
+ "what_the_brain_provides_read_only": "ما يوفره الدماغ (للقراءة فقط)",
+ "what_win_means": "ماذا يعني \"الفوز\"",
+ "when_a_coin_launches_the_people_who": "عند إطلاق عملة، الفائزون هم من يعرفون مسبقًا أشياء لا يمكنك رؤيتها بالسرعة الكافية: <b>من هي المحافظ التي تشتري</b> (وما إذا كانت تلك المحافظ لديها سجل حافل أو تاريخ احتيال)، <b>ما إذا كان الإطلاق طبيعيًا أم حزمة منسقة</b>، <b>ما إذا كان \"المجتمع\" يتكون من 200 شخص حقيقي أو 200 محفظة حارقة ممولة حديثًا</b>، و<b>ما إذا كانت القصة لها امتداد ثقافي</b>. بحلول الوقت الذي يقرأ فيه الإنسان الرسم البياني، يكون عدم التماثل قد أتى بثماره بالفعل.",
+ "when_a_coin_s_outcome_resolves_the": "عندما يتم حسم نتيجة عملة ما، تقوم حلقة التسوية بتقييم أي إجراء مفتوح عليها:",
+ "where_it_scales": "أين يتوسع",
+ "where_it_scales_2": "أين يتوسع",
+ "who_and_how_together_carry_nearly_two": "من وكيف معًا يحملان ما يقرب من ثلثي الوزن لأن <b>من يشتري</b> و <b>مدى عدالة الإطلاق</b> هما الحقيقتان اللتان تفصلان بشكل موثوق بين الناجحين والمحتالين. ماذا والتحرك أخف وزنًا — فهما يحسمان التعادلات ويؤكدان، لكن قصة جيدة أو دقيقة أولى خضراء لا يمكنها إنقاذ عملة تدينها الركائز الأقوى.",
+ "who_base": "مَن (قاعدة)",
+ "who_how": "مَن، كيف",
+ "who_labels": "مَن (تصنيفات)",
+ "who_pedigree": "مَن · السجل",
+ "who_pedigree_2": "① مَن — السجل",
+ "who_s_in_is_the_live_pedigree": "<b>Who's-in</b> هو كشف السجل المباشر — كل محفظة بارزة، وتصنيفها، وسجلها الحافل.",
+ "why_it_compounds": "لماذا يتضاعف",
+ "why_this_score_is_the_array_each": "<b>“لماذا هذه النتيجة”</b> هي مصفوفة <code class=\"t\">الأسباب[]</code>، كل سطر منها مصنف تحت الركيزة التي ولدته. على سبيل المثال: \"لم يتم تحديد محافظ موثوقة بعد\" (مَن)، \"هيكل إطلاق نظيف وموزع\" (كيف)، \"سرد الميم، انتشار فيروسي 45/100\" (ماذا)، \"لا يوجد زخم واضح بعد — مبكر جداً\" (تحرك). إطلاق ناشئ نظيف لكن غير مؤكد — يستحق <b>المراقبة</b> بشكل صحيح، وليس للتجنب ولا للشراء.",
+ "wilson_1927_probable_inference_the_law_of": "ويلسون (1927)، <i>الاستدلال الاحتمالي، قانون التعاقب، والاستدلال الإحصائي</i> — فترة النتيجة. براير (1950)، <i>التحقق من التنبؤات المعبر عنها بدلالة الاحتمال</i>. بلات (1999)، مخرجات احتمالية لـ SVMs (مقياس بلات). زادروزني وإلكان (2002)، المعايرة متساوية التوتر. نيكوليسكو-ميزيل وكاروانا (2005)، <i>التنبؤ باحتمالات جيدة باستخدام التعلم الخاضع للإشراف</i>.",
+ "wilson_interval": "<b>فترة ويلسون</b>",
+ "wilson_interval_the_95_score_interval_on": "<b>فترة ويلسون:</b> فترة النتيجة 95% على معدل الفوز لكل مستوى/فئة (الاشتقاق في التحليل المتعمق للأدلة)، صحيحة لـ <code class=\"t\">n</code> الصغيرة ومحدودة بـ [0,1].",
+ "win_loss_flat": "<b>فوز / خسارة / تعادل</b>",
+ "win_loss_isn_t_known_until_a": "لا يُعرف الفوز/الخسارة إلا بعد حسم العملة، لذا فإن الاختبار الخلفي يتأخر دائمًا عن الوقت الحاضر. النوافذ الحديثة ضئيلة ونطاقات الثقة الخاصة بها واسعة — وتُظهر الصفحة الاتساع بدلاً من إخفائه.",
+ "win_rate_by_tier_with_honest_error": "معدل الفوز حسب المستوى، مع أشرطة خطأ واقعية.",
+ "win_rate_by_tier_with_wilson_cis": "معدل الفوز حسب المستوى مع فترات ثقة ويلسون (Wilson CIs)، سلم المعايرة، براير، وملخص الأفضلية. الفلاتر: <code>الفترة، المستوى، الشبكة</code>.",
+ "win_the_coin_graduated_or_its_peak": "<b>فوز</b> — العملة تخرجت، أو وصل مضاعف ذروتها إلى ≥2× على عملة لم تتعرض للسحب البساط ولم يتم وضع علامة عليها بأقل من نصف سعر الدخول.",
"with_no_signal_yet_it_returns_too": "بدون إشارة بعد، تعيد \"مبكر جداً\"، مما يحافظ على حيادية الركيزة بدلاً من اختلاق زخم غير موجود.",
"write_endpoints_auth": "نقاط نهاية الكتابة (مصادقة)"
},
@@ -1833,23 +1833,23 @@
"pbr_hdr": "PBR + HDR",
"phase_0_is_shipped_phase_1_is": "المرحلة&nbsp;0 <em>تم إطلاقها.</em><br>المرحلة&nbsp;1 <em>قيد الإنشاء.</em>",
"postmessage_api": "postMessage API",
- "pulled_directly_from_x_analytics_for_trythre": "",
- "reputation_markets_staking_on_agents_signed": "",
- "selfie_avatar_engine": "",
- "shipped": "",
- "skill_registry": "",
- "solana_siws_metaplex": "",
- "text": "",
- "the_custom_element_loads_lazily_on_intersect": "",
- "the_google_cloud_announcement_was_the_single": "",
- "the_inside_the_3d_agent_web_podcast": "",
- "the_platform_shipped_as_a_partner_listing": "",
- "the_roadmap_closes_the_gap_from_use": "",
- "the_runtime_drives_a_claude_tool_loop": "",
- "the_three_ws_x_community_is_the": "",
- "the_whole_stack_in_one_repo": "",
- "three_js_r184": "",
- "three_selfies_left_center_right_gpu_backed": "",
+ "pulled_directly_from_x_analytics_for_trythre": "مستقاة مباشرة من تحليلات X لـ <a href=\"https://x.com/trythreews\" style=\"color:var(--accent);text-decoration:underline;\">@trythreews</a> في الفترة ما بين 29 أبريل و 9 مايو. بدون تصفية، ولا تلاعب بالمتوسطات: الأرقام الرئيسية أدناه والرسوم البيانية في الأسفل مأخوذة من نفس لقطة الشاشة.",
+ "reputation_markets_staking_on_agents_signed": "أسواق السمعة التي تتيح الرهن على سجلات الإجراءات الموقعة للوكلاء، إتاوات المهارات تُدفع لمؤلفي المهارات عند كل استدعاء، ومدفوعات ذاتية من وكيل لوكيل عبر محافظ توقيع مفوضة.",
+ "selfie_avatar_engine": "محرك تحويل السيلفي إلى أفاتار.",
+ "shipped": "تم الإطلاق.",
+ "skill_registry": "سجل المهارات.",
+ "solana_siws_metaplex": "Solana SIWS + Metaplex",
+ "text": "<agent-3d>",
+ "the_custom_element_loads_lazily_on_intersect": "العنصر المخصص <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">&lt;agent-3d&gt;</code> يُحمّل بشكل كسول عند التداخل، ويدعم خمسة متغيرات للـ Widget (عرض 360 درجة، معرض رسوم متحركة، وكيل متحدث، بطاقة جواز سفر ERC-8004، جولة تفاعلية)، ويُصدر بيانات وصفية لـ Open Graph و oEmbed لتظهر الروابط بمعاينات غنية. استوديو Widget سهل الاستخدام يُنشئ رمز تضمين قابل للنسخ واللصق على <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">/studio</code>. وتُشحن حزم CDN ذات الإصدارات على <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">/agent-3d/x.y.z/</code>.",
+ "the_google_cloud_announcement_was_the_single": "كان إعلان Google Cloud المنشور الأكثر تفاعلاً لهذا الأسبوع (<strong>حوالي 6.9 ألف مشاهدة، 263 إعجابًا، 24 إعادة نشر</strong>)، وهو البنية التحتية السحابية التي تدعم المرحلة التالية من المنصة.",
+ "the_inside_the_3d_agent_web_podcast": "صدرت حلقة البودكاست \"Inside The 3D Agent Web\" على Amazon Music، وصدرت المدونة المصاحبة \"Beyond Chatbots: Why Your AI Agent Needs a 3D Body\" عبر منظومة Spotify-on-chain. منصتا توزيع إضافيتان، أسبوع آخر.",
+ "the_platform_shipped_as_a_partner_listing": "أُطلقت المنصة كعرض شريك على Alibaba Cloud، أول قناة توزيع لنا في سوق السحابة. وحققت تغريدة الإطلاق المرتبطة <strong>حوالي 7.1 ألف ظهور</strong> وحدها.",
+ "the_roadmap_closes_the_gap_from_use": "The roadmap closes the gap from “use a 3D artist” to “take a selfie”. Four phases, scoped end-to-end in the public README.",
+ "the_runtime_drives_a_claude_tool_loop": "يدير وقت التشغيل حلقة أدوات كلود بما يصل إلى ثماني تكرارات في كل دورة وست أدوات مدمجة (<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">wave</code>، <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">lookAt</code>، <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">play_clip</code>، <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">setExpression</code>، <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">speak</code>، <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">remember</code>). طبقة التعاطف ليست آلة حالات، بل هي مزيج وزني مستمر من خمسة مشاعر (الاحتفال، القلق، الفضول، التعاطف، الصبر)، لكل منها عمر نصف اضمحلال خاص به، تدفع أهداف التحويل ووضعية الرأس للرمز الافتراضي في كل إطار. المهارات هي حزم مستقلة بذاتها قابلة للتوزيع عبر IPFS أو Arweave أو HTTP. الذاكرة قائمة على الملفات بأربعة أنماط تخزين (محلي، IPFS، IPFS مشفر، لا شيء).",
+ "the_three_ws_x_community_is_the": "مجتمع <a href=\"https://x.com/i/communities\" style=\"color:var(--accent);text-decoration:underline;\">three.ws X</a> هو الجمهور المتجمع — من المطورين، والبناة المهتمين بالوكلاء، وطاقم من المتابعين مباشرة. إنه المكان الذي ستنطلق منه الموجة التالية من مالكي الوكلاء.",
+ "the_whole_stack_in_one_repo": "المكدس بأكمله، <em>في مستودع واحد.</em>",
+ "three_js_r184": "three.js r184",
+ "three_selfies_left_center_right_gpu_backed": "ثلاث صور سيلفي (يسار، وسط، يمين)، إعادة بناء الوجه متعددة العرض المدعومة بوحدة معالجة الرسوميات (GPU)، ورمز افتراضي (avatar) مجهز وقابل للتحريك يُسك كرمز ERC-8004 مسودة في أقل من ستين ثانية. تجربة مستخدم التقاط (UX) تعتمد على الجوال أولاً مع بوابات جودة في الوقت الفعلي.",
"three_solidity_contracts_make_up_the_erc": "تتكون ثلاثة عقود Solidity من تطبيق ERC-8004: <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">IdentityRegistry</code> (رموز وكيل ERC-721 مع موقّعين مفوضين EIP-712)، و<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">ReputationRegistry</code> (ملاحظات المراجعين الموقعة، يتم حساب متوسطها على السلسلة)، و<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">ValidationRegistry</code> (شهادات المدققين للإثباتات خارج السلسلة). يتم توقيع وتسجيل كل حدث <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">speak</code> و<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">remember</code> و<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">skill-done</code>. يشحن Solana نظيرًا باستخدام Metaplex Core NFTs بالإضافة إلى شهادات SPL Memo الموقعة &mdash; بنفس الشكل، ولا يتطلب برنامجًا مخصصًا.",
"three_ws": "three.ws",
"three_ws_is_an_open_source_browser": "three.ws هي منصة وكلاء ذكاء اصطناعي ثلاثية الأبعاد مفتوحة المصدر وتعمل مباشرة في المتصفح. لقد أطلقنا الحزمة الكاملة — العارض، بيئة تشغيل الوكيل، الهوية على السلسلة، خادم OAuth 2.1، نقطة نهاية MCP، ومكون ويب قابل للتضمين — ثم تابعنا إطلاقها. إليك ما حدث.",
@@ -1917,54 +1917,54 @@
"create_your_mascot": "أنشئ تميمتك ←",
"drop_it_into_its_own_3d_world": "ضعه في عالمه ثلاثي الأبعاد الخاص الذي يمكن للناس استكشافه.",
"embed_widget": "تضمين ويدجت",
- "embeddable_widgettwo_lines_of_html_drop_your": "",
- "explore_worlds": "",
- "for_builders_tinkerers": "",
- "for_businesses": "",
- "for_communities": "",
- "for_streamers_creators": "",
- "forge_or_create_your_mascot_character": "",
- "four_ways_people_use_it": "",
- "give_it_a_personality_and_the_knowledge": "",
- "in_one_sentence": "",
- "it_lip_syncs_your_voice_and_reacts": "",
- "make_one_in_a_few_minutes": "",
- "make_your_agent": "",
- "meta_description": "",
- "meta_og_description": "",
- "meta_og_title": "",
- "meta_title": "",
- "meta_twitter_description": "",
- "meta_twitter_title": "",
- "new_here_start_here": "",
- "one_platform_not_seven_tools": "",
- "open_the_obs_overlay": "",
- "optional_paymentscharge_per_chat_or_give_you": "",
- "optionally_give_it_a_token_and_on": "",
- "paste_it_on_your_site_visitors_chat": "",
- "same_platform_very_different_jobs_find_the": "",
- "sample_avatar_drag_to_orbit": "",
- "scan_your_avatar": "",
- "scan_your_selfie_into_a_rigged_3d": "",
- "sdk_and_api": "",
- "see_what_you_can_build": "",
- "see_widget_studio": "",
- "start_free": "",
- "start_free_2": "",
- "the_avatar_creator_the_animation_the_ai": "",
- "three_ws": "",
- "three_ws_is_one_platform_for_making": "",
- "three_ws_lets_anyone_turn_a_selfie": "",
- "tour_every_feature": "",
- "try_the_chat": "",
- "what_is_three_ws": "",
- "your_own_assistant_you_can_actually_look": ""
+ "embeddable_widgettwo_lines_of_html_drop_your": "<span class=\"wi-piece-ico\" aria-hidden=\"true\">▦</span> <span ><span class=\"wi-piece-t\">أداة قابلة للتضمين</span><span class=\"wi-piece-d\" >سطران من HTML يضعان وكيلك على أي موقع</span></span>",
+ "explore_worlds": "استكشف العوالم",
+ "for_builders_tinkerers": "للمطورين والمبتكرين",
+ "for_businesses": "للشركات",
+ "for_communities": "للمجتمعات",
+ "for_streamers_creators": "للبثوث والمبدعين",
+ "forge_or_create_your_mascot_character": "Forge أو أنشئ شخصية التميمة الخاصة بك.",
+ "four_ways_people_use_it": "أربع طرق يستخدمها الناس",
+ "give_it_a_personality_and_the_knowledge": "امنحه شخصية والمعرفة التي يحتاجها.",
+ "in_one_sentence": "في جملة واحدة",
+ "it_lip_syncs_your_voice_and_reacts": "يقوم بمزامنة شفتيه مع صوتك ويتفاعل مع مفاتيح الاختصار، مباشرةً.",
+ "make_one_in_a_few_minutes": "أنشئ واحدًا في بضع دقائق",
+ "make_your_agent": "أنشئ وكيلك ←",
+ "meta_description": "three.ws هي منصة واحدة لبناء وكيل ذكاء اصطناعي ثلاثي الأبعاد — شخصية ذات وجه ودماغ وصوت — يمكنك تضمينها في أي مكان. اكتشف أربع طرق حقيقية يستخدمها الناس: صور رمزية للدعم، شخصيات للبثوث، تمائم مجتمعية، ووكلاء ذكاء اصطناعي شخصيين.",
+ "meta_og_description": "أنشئ وكيل ذكاء اصطناعي ثلاثي الأبعاد بوجه ودماغ وصوت — وقم بتضمينه في أي مكان. أربع حالات استخدام حقيقية، مسار واحد للبدء مجانًا.",
+ "meta_og_title": "ما هو three.ws؟ — منصة واحدة لوكلاء الذكاء الاصطناعي ثلاثي الأبعاد",
+ "meta_title": "ما هو three.ws؟ — منصة واحدة لوكلاء الذكاء الاصطناعي ثلاثي الأبعاد · three.ws",
+ "meta_twitter_description": "أنشئ وكيل ذكاء اصطناعي ثلاثي الأبعاد بوجه ودماغ وصوت — وقم بتضمينه في أي مكان.",
+ "meta_twitter_title": "ما هو three.ws؟ — منصة واحدة لوكلاء الذكاء الاصطناعي ثلاثي الأبعاد",
+ "new_here_start_here": "<span class=\"fl-eyebrow-dot\" aria-hidden=\"true\"></span>جديد هنا؟ ابدأ من هنا",
+ "one_platform_not_seven_tools": "منصة واحدة، لا سبع أدوات",
+ "open_the_obs_overlay": "افتح تراكب OBS",
+ "optional_paymentscharge_per_chat_or_give_you": "<span class=\"wi-piece-ico\" aria-hidden=\"true\">◈</span> <span ><span class=\"wi-piece-t\">مدفوعات اختيارية</span><span class=\"wi-piece-d\" >احصل على مقابل لكل محادثة، أو امنح وكيلك هوية خاصة به على السلسلة</span></span>",
+ "optionally_give_it_a_token_and_on": "اختياريًا، امنحه رمزًا مميزًا وهوية على السلسلة.",
+ "paste_it_on_your_site_visitors_chat": "الصقه على موقعك — يتحدث الزوار معه فورًا.",
+ "same_platform_very_different_jobs_find_the": "نفس المنصة، وظائف مختلفة جدًا. ابحث عن ما يناسبك — كل خطوة أدناه ترتبط بمسار عملي وحقيقي.",
+ "sample_avatar_drag_to_orbit": "صورة رمزية نموذجية · اسحب للدوران",
+ "scan_your_avatar": "امسح صورتك الرمزية ←",
+ "scan_your_selfie_into_a_rigged_3d": "امسح صورتك السيلفي لتحويلها إلى صورة رمزية ثلاثية الأبعاد جاهزة للتحريك.",
+ "sdk_and_api": "SDK و API",
+ "see_what_you_can_build": "شاهد ما يمكنك بناءه",
+ "see_widget_studio": "شاهد استوديو الأدوات",
+ "start_free": "ابدأ مجانًا ←",
+ "start_free_2": "ابدأ مجانًا ←",
+ "the_avatar_creator_the_animation_the_ai": "منشئ الصور الرمزية، الرسوم المتحركة، محادثة الذكاء الاصطناعي، أداة التضمين، والعوالم كلها لبنات بناء لنفس الوكيل. أنشئه مرة واحدة — استخدمه في كل مكان.",
+ "three_ws": "three.ws",
+ "three_ws_is_one_platform_for_making": "three.ws هي منصة واحدة لإنشاء شخصية ثلاثية الأبعاد ذات وجه ودماغ وصوت — ووضعها للعمل على موقعك الإلكتروني، بثك، مجتمعك، أو سطح مكتبك.",
+ "three_ws_lets_anyone_turn_a_selfie": "three.ws يتيح لـ <strong>أي شخص</strong> تحويل صورة سيلفي أو وصف إلى <strong>وكيل ذكاء اصطناعي ثلاثي الأبعاد</strong> — شخصية يمكنك التحدث إليها، تحريكها، وتضمينها في أي موقع إلكتروني بسطرين من التعليمات البرمجية. <span class=\"wi-dim\" >لا يتطلب الأمر نمذجة ثلاثية الأبعاد، ولا محرك ألعاب، ولا عملات مشفرة للبدء.</span>",
+ "tour_every_feature": "جولة في كل ميزة",
+ "try_the_chat": "جرب المحادثة",
+ "what_is_three_ws": "ما هو three.ws؟",
+ "your_own_assistant_you_can_actually_look": "مساعدك الخاص الذي يمكنك رؤيته والتحدث إليه بالفعل — استشر عقله، امنحه شخصية، ثم تحدث معه أو استدعه من الـ API."
},
"world_lines": {
- "close_arialabel": "",
- "create": "",
- "every_world_line_is_an_ai_agent": "",
- "explore": "",
+ "close_arialabel": "إغلاق",
+ "create": "إنشاء",
+ "every_world_line_is_an_ai_agent": "كل خط عالم هو وكيل ذكاء اصطناعي ينتظر في موقع حقيقي. انتقل إليه، أكمل تحدي الواقع المعزز الخاص به، ومحفظة الوكيل نفسها توقع على <strong>إثبات وجود</strong> — قابل للتحقق بشكل مستقل وحقيقي مشفر. موقعك الدقيق لا يغادر جهازك أبدًا؛ الإثبات يعرف فقط منطقة تبلغ حوالي 1 كيلومتر مربع.",
+ "explore": "استكشف",
"irl_map": "خريطة الواقع",
"meta_description": "توجّه إلى موقع وكيل في العالم الحقيقي، أنجز مهمة الواقع المعزز الخاصة به، واكسب إثبات وجود حقيقي مشفّر وموقّع من الوكيل — يحافظ على الخصوصية، قابل للتحقق، وقابل للتملك.",
"meta_og_description": "مثل Pokémon GO، لكن كل لقاء هو وكيل ذكاء اصطناعي مستقل وكل مكافأة هي إثبات وجود موقّع من الوكيل.",
diff --git a/public/locales/fr.json b/public/locales/fr.json
index 3c663294c..09305672f 100644
--- a/public/locales/fr.json
+++ b/public/locales/fr.json
@@ -1833,23 +1833,23 @@
"pbr_hdr": "PBR + HDR",
"phase_0_is_shipped_phase_1_is": "La phase&nbsp;0 est <em>livrée.</em><br>La phase&nbsp;1 est <em>en cours de construction.</em>",
"postmessage_api": "API postMessage",
- "pulled_directly_from_x_analytics_for_trythre": "",
- "reputation_markets_staking_on_agents_signed": "",
- "selfie_avatar_engine": "",
- "shipped": "",
- "skill_registry": "",
- "solana_siws_metaplex": "",
- "text": "",
- "the_custom_element_loads_lazily_on_intersect": "",
- "the_google_cloud_announcement_was_the_single": "",
- "the_inside_the_3d_agent_web_podcast": "",
- "the_platform_shipped_as_a_partner_listing": "",
- "the_roadmap_closes_the_gap_from_use": "",
- "the_runtime_drives_a_claude_tool_loop": "",
- "the_three_ws_x_community_is_the": "",
- "the_whole_stack_in_one_repo": "",
- "three_js_r184": "",
- "three_selfies_left_center_right_gpu_backed": "",
+ "pulled_directly_from_x_analytics_for_trythre": "Tiré directement des analyses X pour <a href=\"https://x.com/trythreews\" style=\"color:var(--accent);text-decoration:underline;\">@trythreews</a> entre le 29 avril et le 9 mai. Pas de filtrage, pas d'astuces de moyenne &mdash; les chiffres clés ci-dessous et les graphiques plus bas proviennent de la même capture d'écran.",
+ "reputation_markets_staking_on_agents_signed": "Marchés de réputation misant sur l'historique d'actions signées des agents, redevances de compétences EIP-7710 versées aux auteurs de compétences par appel, et paiements autonomes d'agent à agent via des portefeuilles de signataires délégués.",
+ "selfie_avatar_engine": "Moteur Selfie → Avatar.",
+ "shipped": "LIVRÉ",
+ "skill_registry": "Registre de compétences",
+ "solana_siws_metaplex": "Solana SIWS + Metaplex",
+ "text": "<agent-3d>",
+ "the_custom_element_loads_lazily_on_intersect": "L'élément personnalisé <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">&lt;agent-3d&gt;</code> se charge paresseusement à l'intersection, prend en charge cinq variantes de widgets (platine, galerie d'animations, agent parlant, carte passeport ERC-8004, visite interactive), et émet des métadonnées Open Graph et oEmbed afin que les liens se déploient avec des aperçus enrichis. Un Widget Studio pointer-cliquer génère du code d'intégration à copier-coller à l'adresse <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">/studio</code>. Les bundles CDN versionnés sont livrés à l'adresse <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">/agent-3d/x.y.z/</code>.",
+ "the_google_cloud_announcement_was_the_single": "L'annonce de Google Cloud a été la publication la plus engageante de la semaine (<strong>~6,9K impressions, 263 mentions J'aime, 24 republications</strong>) et l'infrastructure cloud qui soutient la prochaine phase de la plateforme.",
+ "the_inside_the_3d_agent_web_podcast": "L'épisode de podcast « Inside The 3D Agent Web » est publié sur Amazon Music et l'article de blog complémentaire « Beyond Chatbots: Why Your AI Agent Needs a 3D Body » a été diffusé via l'écosystème Spotify on-chain. Deux surfaces de distribution supplémentaires, une semaine de plus.",
+ "the_platform_shipped_as_a_partner_listing": "La plateforme a été lancée en tant que listing partenaire sur Alibaba Cloud, notre premier canal de distribution sur le marché cloud. Le tweet de lancement associé a généré à lui seul <strong>~7,1K impressions</strong>.",
+ "the_roadmap_closes_the_gap_from_use": "La feuille de route comble l'écart entre « utiliser un artiste 3D » et « prendre un selfie ». Quatre phases, définies de bout en bout dans le README public.",
+ "the_runtime_drives_a_claude_tool_loop": "Le runtime pilote une boucle d'outils Claude avec jusqu'à huit itérations par tour et six outils intégrés (<code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">wave</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">lookAt</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">play_clip</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">setExpression</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">speak</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">remember</code>). La couche d'empathie n'est pas une machine à états &mdash; c'est un mélange pondéré continu de cinq émotions (célébration, préoccupation, curiosité, empathie, patience), chacune avec sa propre demi-vie de déclin, pilotant les cibles de morphing et la pose de la tête de l'avatar à chaque image. Les compétences sont des bundles autonomes distribuables via IPFS, Arweave ou HTTP. La mémoire est basée sur des fichiers avec quatre modes de stockage (local, IPFS, IPFS chiffré, aucun).",
+ "the_three_ws_x_community_is_the": "La communauté X <a href=\"https://x.com/i/communities\" style=\"color:var(--accent);text-decoration:underline;\">three.ws</a> est l'audience rassemblée &mdash; développeurs, constructeurs curieux des agents, et une équipe de personnes suivant en direct. C'est de là que viendra la prochaine vague de propriétaires d'agents.",
+ "the_whole_stack_in_one_repo": "Toute la stack, <em>dans un seul repo.</em>",
+ "three_js_r184": "three.js r184",
+ "three_selfies_left_center_right_gpu_backed": "Trois selfies (gauche, centre, droite), reconstruction faciale multi-vue accélérée par GPU, et un avatar truqué et animable, minté comme un token ERC-8004 brouillon en moins de soixante secondes. UX de capture mobile-first avec des contrôles qualité en temps réel.",
"three_solidity_contracts_make_up_the_erc": "L'implémentation ERC-8004 est composée de trois contrats Solidity : <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">IdentityRegistry</code> (jetons d'agent ERC-721 avec signataires EIP-712 délégués), <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">ReputationRegistry</code> (commentaires de réviseurs signés, moyennés on-chain) et <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">ValidationRegistry</code> (attestations de validateurs pour les preuves off-chain). Chaque événement <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">speak</code>, <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">remember</code> et <code style=\"font-family:'JetBrains Mono',monospace;color:var(--accent)\">skill-done</code> est signé et enregistré. Solana propose un équivalent utilisant des NFT Metaplex Core et des attestations SPL Memo signées — même forme, aucun programme personnalisé requis.",
"three_ws": "three.ws",
"three_ws_is_an_open_source_browser": "three.ws est une plateforme d'agents IA 3D open-source, native au navigateur. Nous avons livré la pile complète — visionneuse, runtime d'agent, identité on-chain, serveur OAuth 2.1, endpoint MCP et un composant web intégrable — puis nous avons assisté au succès du lancement. Voici ce qui s'est passé.",
diff --git a/public/locales/hi.json b/public/locales/hi.json
index cb34d476c..d1183636a 100644
--- a/public/locales/hi.json
+++ b/public/locales/hi.json
@@ -46,70 +46,70 @@
"replay_aloud_title": "जोर से फिर से चलाएं",
"scored_today": "आज स्कोर किया गया",
"speaks_its_verdict_aloud": "<span class=\"ac-hero-dot\"></span> अपना फैसला जोर से बताता है",
- "this_is_an_agent_s_opinion_grounded": "",
- "total_wins": "",
- "use_an_agent_id": "",
- "win_rate": ""
+ "this_is_an_agent_s_opinion_grounded": "यह एक एजेंट की राय है जो वास्तविक ऑन-चेन डेटा पर आधारित है — न तो वित्तीय सलाह है और न ही कोई गारंटीशुदा कॉल। यह जो भी संख्या बताता है, उसे दिखाए गए लाइव सिग्नलों से जाँचा जाता है; मनगढ़ंत आंकड़े अस्वीकृत किए जाते हैं, कभी नहीं बताए जाते। कार्य केवल एजेंट के सुरक्षित वॉलेट के माध्यम से निष्पादित होते हैं, जो उसकी खर्च नीति से बंधे होते हैं और पूरी तरह से ऑडिट किए जाते हैं।",
+ "total_wins": "कुल जीत",
+ "use_an_agent_id": "एक एजेंट आईडी का उपयोग करें",
+ "win_rate": "जीत दर"
},
"avatar_sdk": {
- "0_deps": "",
- "2_lines": "",
- "30_clips": "",
- "50_mixamo_clips_bundled": "",
- "50kb": "",
- "add_the_web_component": "",
- "agent_3d_full_runtime": "",
- "all_four_exports_are_typed_and_tree": "",
- "altaccessibility_label_caption": "",
- "animation_library": "",
- "apache_2_0_open_source": "",
- "apioriginoverride_api_host_for_self_hosting": "",
- "arkit_viseme_morphs": "",
- "auto_generated_server_side": "",
- "auto_rotate": "",
- "avatar": "",
- "avatar_idthree_ws_avatar_uuid_resolved_via": "",
- "avatarcreator": "",
- "avatarcreator_2": "",
- "avatarcreator_class": "",
- "background": "",
- "backgroundcss_color_or_transparent": "",
- "bearertokenrequired_avatars_write_scope": "",
- "beyond_three_js": "",
- "bundler_esm": "",
- "character_builder": "",
- "charcoal_1c1c1c": "",
- "class": "",
- "click_the_button_to_open_the_avatar": "",
- "closed": "",
- "closed_to_new_apps": "",
- "cloud_upload": "",
- "community_only": "",
- "component": "",
- "configuration": "",
- "configure_the_viewer_see_the_result_in": "",
- "copy": "",
- "copy_2": "",
- "copy_3": "",
- "copy_4": "",
- "copy_5": "",
- "copy_6": "",
- "copy_7": "",
- "copy_arialabel": "",
- "copy_code": "",
- "create_your_first_avatar_free_no_credit": "",
- "creator_flow_js": "",
- "creator_iframe": "",
- "creator_minimal_js": "",
- "cz_avatar": "",
- "dark_090909": "",
- "default_avatar": "",
- "drop_in_web_component_react_bindings_iframe": "",
- "drop_or_the_lightweight_into_any_html": "",
- "element": "",
- "element_2": "",
- "everything_in_one_package": "",
- "everything_the_package_surfaces": "",
+ "0_deps": "0<span class=\"sdk-stat-unit\"> deps</span>",
+ "2_lines": "2<span class=\"sdk-stat-unit\"> लाइनें</span>",
+ "30_clips": "~30 क्लिप्स",
+ "50_mixamo_clips_bundled": "<span class=\"check\">✓</span> 50+ मिक्सामो क्लिप्स शामिल",
+ "50kb": "&lt;50<span class=\"sdk-stat-unit\">KB</span>",
+ "add_the_web_component": "वेब कंपोनेंट जोड़ें",
+ "agent_3d_full_runtime": "agent-3d (पूर्ण रनटाइम)",
+ "all_four_exports_are_typed_and_tree": "सभी चार एक्सपोर्ट्स टाइप्ड और ट्री-शेकेबल हैं। Next.js ऐप राउटर के लिए <code>'use client'</code> के रूप में चिह्नित।",
+ "altaccessibility_label_caption": "<span class=\"sdk-api-prop-name\">alt</span><span class=\"sdk-api-prop-desc\">एक्सेसिबिलिटी लेबल + कैप्शन</span>",
+ "animation_library": "एनिमेशन लाइब्रेरी",
+ "apache_2_0_open_source": "<span class=\"check\">✓</span> Apache-2.0 ओपन सोर्स",
+ "apioriginoverride_api_host_for_self_hosting": "<span class=\"sdk-api-prop-name\">apiOrigin</span><span class=\"sdk-api-prop-desc\">API होस्ट को ओवरराइड करें (सेल्फ-होस्टिंग के लिए)</span>",
+ "arkit_viseme_morphs": "ARKit विज़ेम मॉर्फ्स",
+ "auto_generated_server_side": "<span class=\"check\">✓</span> सर्वर-साइड पर स्वतः-जनरेटेड",
+ "auto_rotate": "स्वतः घुमाएँ",
+ "avatar": "अवतार",
+ "avatar_idthree_ws_avatar_uuid_resolved_via": "<span class=\"sdk-api-prop-name\">avatar-id</span><span class=\"sdk-api-prop-desc\">three.ws अवतार UUID — /api/avatars/:id के माध्यम से हल किया गया</span>",
+ "avatarcreator": "AvatarCreator",
+ "avatarcreator_2": "AvatarCreator",
+ "avatarcreator_class": "AvatarCreator क्लास",
+ "background": "बैकग्राउंड",
+ "backgroundcss_color_or_transparent": "<span class=\"sdk-api-prop-name\">background</span><span class=\"sdk-api-prop-desc\">CSS रंग या \"पारदर्शी\"</span>",
+ "bearertokenrequired_avatars_write_scope": "<span class=\"sdk-api-prop-name\">bearerToken</span><span class=\"sdk-api-prop-desc\">आवश्यक — avatars:write स्कोप</span>",
+ "beyond_three_js": "Three.js से परे",
+ "bundler_esm": "बंडलर (ESM)",
+ "character_builder": "<span class=\"check\">✓</span> कैरेक्टर बिल्डर",
+ "charcoal_1c1c1c": "चारकोल (#1c1c1c)",
+ "class": "क्लास",
+ "click_the_button_to_open_the_avatar": "यहीं पर अवतार स्टूडियो खोलने के लिए बटन पर क्लिक करें। अवतार एक्सपोर्ट करने के बाद, फ़ाइल का आकार नीचे दिखाई देगा।",
+ "closed": "<span class=\"cross\">✕</span> बंद",
+ "closed_to_new_apps": "<span class=\"cross\">✕</span> नए ऐप्स के लिए बंद",
+ "cloud_upload": "क्लाउड अपलोड",
+ "community_only": "केवल समुदाय के लिए",
+ "component": "कंपोनेंट",
+ "configuration": "कॉन्फ़िगरेशन",
+ "configure_the_viewer_see_the_result_in": "व्यूअर को कॉन्फ़िगर करें, परिणाम वास्तविक समय में देखें, कोड कॉपी करें।",
+ "copy": "कॉपी करें",
+ "copy_2": "कॉपी करें",
+ "copy_3": "कॉपी करें",
+ "copy_4": "कॉपी करें",
+ "copy_5": "कॉपी करें",
+ "copy_6": "कॉपी करें",
+ "copy_7": "कॉपी करें",
+ "copy_arialabel": "कॉपी करें",
+ "copy_code": "कोड कॉपी करें",
+ "create_your_first_avatar_free_no_credit": "अपना पहला अवतार मुफ्त में बनाएँ। कोई क्रेडिट कार्ड नहीं। मिनटों में प्रोडक्शन में डिप्लॉय करें।",
+ "creator_flow_js": "creator-flow.js",
+ "creator_iframe": "क्रिएटर आईफ्रेम",
+ "creator_minimal_js": "creator-minimal.js",
+ "cz_avatar": "CZ अवतार",
+ "dark_090909": "डार्क (#090909)",
+ "default_avatar": "डिफ़ॉल्ट अवतार",
+ "drop_in_web_component_react_bindings_iframe": "ड्रॉप-इन <strong>वेब कंपोनेंट</strong>, रिएक्ट बाइंडिंग, आईफ्रेम क्रिएटर, और क्लाउड अपलोड — एक पूर्ण <strong>ओपन अवतार SDK</strong>, सेल्फ-होस्ट करने योग्य, बिना किसी वेंडर लॉक-इन के।",
+ "drop_or_the_lightweight_into_any_html": "<code>&lt;agent-3d&gt;</code> या हल्के <code>&lt;three-ws-viewer&gt;</code> को किसी भी HTML पेज या फ्रेमवर्क में डालें। इम्पोर्ट करने पर स्वतः-रजिस्टर हो जाता है।",
+ "element": "एलिमेंट",
+ "element_2": "एलिमेंट",
+ "everything_in_one_package": "सब कुछ एक ही पैकेज में",
+ "everything_the_package_surfaces": "पैकेज में उपलब्ध सभी कुछ।",
"exports": "निर्यात",
"feature": "सुविधा",
"first_class_react_18_components_and_a": "फर्स्ट-क्लास React 18+ कंपोनेंट्स — <code>&lt;Avatar&gt;</code>, <code>&lt;AgentAvatar&gt;</code>, <code>&lt;AvatarCreator&gt;</code> और एक <code>useAvatar(id)</code> हुक।",
@@ -1135,43 +1135,43 @@
"responsive_by_default_the_full_engine_on": "<b>डिफ़ॉल्ट रूप से रिस्पॉन्सिव।</b> पूरा इंजन, फ़ोन पर।",
"returns": "रिटर्न",
"returns_a_recommendation_an_agent_can_act": "<code class=\"t\">GET /api/oracle/signal?mint=…</code> एक ऐसी रिकमेंडेशन देता है जिस पर एक एजेंट सीधे कार्रवाई कर सकता है:",
- "returns_the_is_a_hard_ceiling_on": "",
- "richer_signals": "",
- "round_clamp_to_the_0_100_integer": "",
- "rug_pattern_hard_ceiling": "",
- "score_loop": "",
- "see_the_proof": "",
- "send_a_test_telegram_alert_to_verify": "",
- "settle_loop": "",
- "signal": "",
- "signal_2": "",
- "signal_3": "",
- "simulate_the_default_logs_a_realistic_action": "",
- "simulate_vs_live": "",
- "single_funder_cluster_50_30": "",
- "smart_money_is_not_a_hard_coded": "",
- "smart_money_score_smart_wallet_count_proven": "",
- "smart_money_sold_50_of_position": "",
- "snipe_ratio_70_45": "",
- "so_high_model_confidence_leans_on_the": "",
- "starts_at_a_neutral_50": "",
- "streams": "",
- "streams_poll_the_database_today_for_serverle": "",
- "streams_sse": "",
- "strong": "",
- "structure_and_pedigree_can_veto_the_lowest": "",
- "structure_wallet_graph_buy_pattern_expose_th": "",
- "subscribe_a_telegram_chat_to_an_agent": "",
- "symbol_name_image_category_creator_bundle_sc": "",
- "system_at_a_glance": "",
- "table": "",
- "term": "",
- "the_0_34_0_30_0_18": "",
- "the_95_confidence_band_on_a_win": "",
- "the_agent_action_loop": "",
- "the_agent_action_loop_2": "",
- "the_agent_is_already_at_its_concurrency": "",
- "the_agent_leaderboard_armed_agents_ranked_by": "",
+ "returns_the_is_a_hard_ceiling_on": "<code class=\"t\">{ score, reasons[], cap }</code> लौटाता है। <code class=\"t\">cap</code> <i>अंतिम</i> फ्यूज्ड स्कोर पर एक कड़ी ऊपरी सीमा है — वह तंत्र जिसके द्वारा एक सीरियल रगर कभी भी \"प्राइम\" कॉइन नहीं बना सकता, चाहे अन्य पिलर कितने भी अच्छे क्यों न दिखें। एक वॉलेट को \"प्रमाणित\" माना जाता है यदि उसे <code class=\"t\">smart_money</code>/<code class=\"t\">kol</code> लेबल किया गया हो या उसका प्रतिष्ठा स्कोर ≥70 हो।",
+ "richer_signals": "समृद्ध सिग्नल",
+ "round_clamp_to_the_0_100_integer": "# 0–100 पूर्णांक रेखा तक राउंड और क्लैंप करें",
+ "rug_pattern_hard_ceiling": "रग पैटर्न → कड़ी ऊपरी सीमा",
+ "score_loop": "स्कोर लूप",
+ "see_the_proof": "प्रमाण देखें",
+ "send_a_test_telegram_alert_to_verify": "सेटअप सत्यापित करने के लिए एक परीक्षण टेलीग्राम अलर्ट भेजें।",
+ "settle_loop": "सेटल लूप",
+ "signal": "सिग्नल",
+ "signal_2": "सिग्नल",
+ "signal_3": "सिग्नल",
+ "simulate_the_default_logs_a_realistic_action": "<b>सिम्युलेट</b> (डिफ़ॉल्ट) एक यथार्थवादी कार्रवाई लॉग करता है — समान गेट्स, समान साइज़िंग, समान ग्रेडिंग — लेकिन कुछ भी खर्च नहीं करता, ताकि एक एजेंट एक पैसा भी जोखिम में डाले बिना एक सत्यापन योग्य पेपर ट्रैक रिकॉर्ड बना सके। <b>लाइव</b> एजेंट के वॉलेट को डिक्रिप्ट करता है, स्लिपेज सुरक्षा के साथ एक pump.fun खरीद बनाता है, वैकल्पिक रूप से MEV सुरक्षा के लिए एक Jito बंडल के माध्यम से रूट करता है, ऑन-चेन पुष्टि करता है, और हस्ताक्षर रिकॉर्ड करता है। दोनों रास्ते एक ही लेजर पर लिखते हैं और सेटल लूप द्वारा समान रूप से ग्रेड किए जाते हैं।",
+ "simulate_vs_live": "सिम्युलेट बनाम लाइव",
+ "single_funder_cluster_50_30": "सिंगल-फंडर क्लस्टर ≥50% (≥30%)",
+ "smart_money_is_not_a_hard_coded": "\"स्मार्ट मनी\" कोई हार्ड-कोडेड सूची नहीं है — इसे <code class=\"t\">wallet_reputation</code> ग्राफ में परिणामों से लगातार फिर से अर्जित किया जाता है। जिन वॉलेट्स को ब्रेन ने अभी तक जज नहीं किया है, उनके लिए ओरेकल एक क्यूरेटेड ज्ञात-वॉलेट सेट (सार्वजनिक KOL/वॉलेट इंटेलिजेंस से प्राप्त) से एक <b>कोल्ड-स्टार्ट प्रायर</b> सीड करता है, ताकि एक बिल्कुल नए कॉइन को भी उसके पहले स्कोरिंग पास पर एक उपयोगी पेडिग्री रीड मिल सके। प्राथमिकता हमेशा <b>अर्जित प्रतिष्ठा &gt; प्रायर &gt; अप्रमाणित</b> होती है।",
+ "smart_money_score_smart_wallet_count_proven": "smart_money_score, smart_wallet_count, सिद्ध/कुल खरीद लैंपोर्ट्स, उल्लेखनीय[]",
+ "smart_money_sold_50_of_position": "स्मार्ट मनी ने स्थिति का ≥50% बेचा",
+ "snipe_ratio_70_45": "स्नाइप अनुपात ≥70% (≥45%)",
+ "so_high_model_confidence_leans_on_the": "इसलिए उच्च मॉडल आत्मविश्वास वायरल होने के अनुमान पर निर्भर करता है; कम आत्मविश्वास श्रेणी प्रायर की ओर लौटता है। कोई अनुमान न होने पर, <code class=\"t\">स्कोर = प्रायर</code>। एक <code class=\"t\">न्यूज़</code> कॉइन \"तेज़ लेकिन नाजुक\" कारण जोड़ता है; एक <code class=\"t\">अज्ञात</code> कॉइन \"सावधानी से व्यवहार करें\" जोड़ता है।",
+ "starts_at_a_neutral_50": "तटस्थ 50 से शुरू होता है।",
+ "streams": "स्ट्रीम्स",
+ "streams_poll_the_database_today_for_serverle": "स्ट्रीम्स सर्वरलेस सरलता के लिए आज डेटाबेस को पोल करती हैं। इवेंट-ड्रिवन पुश (LISTEN/NOTIFY या एक लॉग टेल) ब्लॉक की ओर निर्णय-से-स्क्रीन विलंबता को कम करता है, जो pump.fun पर पूरा खेल है।",
+ "streams_sse": "स्ट्रीम्स (SSE)",
+ "strong": "मजबूत",
+ "structure_and_pedigree_can_veto_the_lowest": "# संरचना (और वंशावली) वीटो कर सकती है — सबसे कम कैप जीतता है",
+ "structure_wallet_graph_buy_pattern_expose_th": "<b>संरचना / वॉलेट-ग्राफ / खरीद-पैटर्न</b> कच्चे HOW इनपुट (ऑर्गेनिक-खरीद %, बंडल %, फंडर्स ग्राफ) को उजागर करते हैं ताकि आप गार्डरेल का ऑडिट कर सकें।",
+ "subscribe_a_telegram_chat_to_an_agent": "किसी एजेंट के दृढ़ विश्वास संकेतों के लिए एक टेलीग्राम चैट को सब्सक्राइब करें।",
+ "symbol_name_image_category_creator_bundle_sc": "सिंबल, नाम, इमेज, कैटेगरी, क्रिएटर, बंडल_स्कोर, ऑर्गेनिक_स्कोर, स्नाइप_रेशियो, फ्रेश_वॉलेट_रेशियो, कंसंट्रेशन_टॉप10, बबलमैप_कनेक्टिविटी, रिस्क_फ्लैग्स, खरीद/बिक्री काउंट, देव खरीद/बिक्री",
+ "system_at_a_glance": "सिस्टम एक नज़र में",
+ "table": "तालिका",
+ "term": "शब्द",
+ "the_0_34_0_30_0_18": "0.34 / 0.30 / 0.18 / 0.18 वेट और हर थ्रेशोल्ड डोमेन ज्ञान से मैन्युअल रूप से सेट किए गए हैं, परिणामों से अभी तक सीखे नहीं गए हैं। यह एक जानबूझकर, पारदर्शी शुरुआती बिंदु है — और सबसे बड़ा अवसर, जिसे आगे कवर किया गया है।",
+ "the_95_confidence_band_on_a_win": "जीत-दर अनुमान पर 95% कॉन्फिडेंस बैंड, छोटे नमूनों के लिए सही।",
+ "the_agent_action_loop": "एजेंट एक्शन लूप",
+ "the_agent_action_loop_2": "एजेंट एक्शन लूप",
+ "the_agent_is_already_at_its_concurrency": "एजेंट पहले से ही अपनी समवर्ती कैप पर है।",
+ "the_agent_leaderboard_armed_agents_ranked_by": "एजेंट लीडरबोर्ड — परिणाम-ग्रेड किए गए रिकॉर्ड के आधार पर रैंक किए गए सशस्त्र एजेंट।",
"the_api_ui": "एपीआई + यूआई",
"the_architecture_pure_scoring_over_a_coverag": "वास्तुकला — कवरेज ब्रेन पर शुद्ध स्कोरिंग, एक कैश्ड एपीआई के पीछे, एक बंद परिणाम लूप के साथ — को इसलिए चुना गया क्योंकि यह बिना किसी पुनर्लेखन के एक साथ कई अक्षों पर फैलता है।",
"the_backtest_win_rate_by_tier_calibration": "बैकटेस्ट — टियर के अनुसार जीत दर, कैलिब्रेशन, ब्रियर, एज मल्टीपल।",
diff --git a/public/locales/ko.json b/public/locales/ko.json
index 1df36eeec..afb96e265 100644
--- a/public/locales/ko.json
+++ b/public/locales/ko.json
@@ -1028,32 +1028,32 @@
"how_to_read_this": "읽는 방법",
"how_to_read_this_2": "읽는 방법",
"how_what_metadata": "방법, 내용, 메타데이터",
- "if_the_conviction_cache_is_empty_fresh": "",
- "ingest_tweets_to_additively_boost_a_coin": "",
- "is_real_buying_pressure_actually_showing_up": "",
- "it_is_a_probability_not_a_prophecy": "",
- "key_columns_oracle_reads": "",
- "label_smart_money_score_win_rate_early": "",
- "lean": "",
- "learned_weights_logistic_calibration": "",
- "let_a_launch_be_a_feature_vector": "",
- "lifecycle_a_coin_must_be_actually_first": "",
- "limits_failure_modes": "",
- "limits_failure_modes_2": "",
- "live_conviction": "",
- "live_conviction_feed_scored_coins_with_pilla": "",
- "live_market_half_of_the_coin_page": "",
- "live_oracle": "",
- "live_routing_builds_buy_instructions_via_the": "",
- "live_trades_streams_the_coin_s_buys": "",
- "loss_the_coin_rugged_or_marked_below": "",
- "machine_ready_a_buy_watch_skip_recommendatio": "",
- "max_open_positions": "",
- "meaning": "",
- "measure": "",
- "meta_description": "",
- "meta_og_description": "",
- "meta_og_title": "",
+ "if_the_conviction_cache_is_empty_fresh": "확신 캐시가 비어 있으면 (새로 배포된 경우), 피드 엔드포인트는 최근 코인 몇 개를 즉시 점수화합니다(데이터베이스 전용, LLM 없음). 이는 점수 루프가 따라잡는 동안 UI가 비어 있지 않도록 하기 위함입니다. 모든 브레인 쿼리는 누락된 테이블이 null 슬라이스를 반환하도록 래핑되어, 오류로 인해 중단되지 않습니다.",
+ "ingest_tweets_to_additively_boost_a_coin": "트윗을 수집하여 코인의 바이럴리티를 추가적으로 증폭시킵니다(LLM 판독값을 저하시키지 않습니다).",
+ "is_real_buying_pressure_actually_showing_up": "— 실제 매수 압력이 나타나고 있는가?",
+ "it_is_a_probability_not_a_prophecy": "이는 확률이지, 예언이 아닙니다.",
+ "key_columns_oracle_reads": "Oracle이 읽는 주요 컬럼",
+ "label_smart_money_score_win_rate_early": "라벨, 스마트 머니 점수, 승률, 초기 승률, 덤프율, 거래된 코인 수, 생성자 수, 생성자 승리",
+ "lean": "간결한",
+ "learned_weights_logistic_calibration": "학습된 가중치 및 로지스틱 보정",
+ "let_a_launch_be_a_feature_vector": "런칭을 특징 벡터 <code class=\"t\">x</code>로 간주합니다. Oracle은 <code class=\"t\">k ∈ {ped, str, nar, mom}</code>에 대해 네 가지 핵심 함수 <code class=\"t\">f_k(x) ∈ [0,100]</code>, 가중 점수, 그리고 상한/하한이 적용된 출력을 계산합니다.",
+ "lifecycle_a_coin_must_be_actually_first": "라이프사이클: 코인은 점수 산정에 들어가려면 실제로 최초 발견되어 12시간 이내여야 합니다. 점수화되고, 분류되며, 캐시됩니다. 데이터가 새로 도착하면 만료 시 다시 점수화됩니다(약 3분마다). 중요한 변경이 있을 때 이력이 추가됩니다. 인용/스테이블코인 발행(USDC, wSOL 등)은 제외되고 제거됩니다. 점수는 시간 경과에 따라 순수하게 감소하지 않습니다. 엔진은 시계가 아닌 새로운 지갑 활동에 반응하는 이벤트 기반입니다.",
+ "limits_failure_modes": "한계 및 실패 모드",
+ "limits_failure_modes_2": "한계 및 실패 모드",
+ "live_conviction": "<b>실시간 확신</b>",
+ "live_conviction_feed_scored_coins_with_pilla": "실시간 확신 피드 — 핵심 요소, 배지, 카테고리, 스파크라인으로 점수화된 코인; 더불어 티어별 백테스트 요약. 필터: <code>티어, 카테고리, 최소 점수, 제한, 네트워크</code>.",
+ "live_market_half_of_the_coin_page": "단일 민트 코인 페이지의 실시간 시장 정보 — 가격 + 5분/1시간/6시간/24시간 변동, 시가총액, FDV, 유동성, 24시간 거래량, 보유자, 공급량, 본딩 커브 진행률, 보안(발행/동결 권한, 변경 가능한 메타데이터, 전송 수수료, 상위 10개 집중도), DEX 페어, 상장 코인의 ATH/ATL, 그리고 모든 소셜/탐색기 링크. DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye, CoinGecko에서 실시간으로 통합됩니다.",
+ "live_oracle": "실시간 Oracle",
+ "live_routing_builds_buy_instructions_via_the": "실시간 라우팅은 펌프 SDK를 통해 10% 슬리피지로 매수 지시를 생성하고, 새로운 블록 해시를 가져와서, 원시 트랜잭션을 전송하거나 (사전 검사 건너뛰기 비활성화, 최대 3회 재시도, 60초 확인 경쟁), Jito가 활성화된 경우, 회전하는 팁 계정으로 소액 팁 전송을 선행하고 해당 쌍을 번들로 블록 엔진 엔드포인트에 제출합니다. 이 작업은 서명과 함께 <code class=\"t\">filled</code>로 기록됩니다 (또는 <code class=\"t\">jito:&lt;bundleId&gt;</code>). 에이전트에 지갑이 없으면 <code class=\"t\">skipped</code>로, 온체인 오류 발생 시 <code class=\"t\">failed</code>로 기록되며, 절대 조용히 삭제되지 않습니다.",
+ "live_trades_streams_the_coin_s_buys": "<b>실시간 거래</b>는 코인의 매수 및 매도를 실시간으로 스트리밍하며, 각 거래에는 트레이더의 지갑 아키타입이 주석으로 표시됩니다.",
+ "loss_the_coin_rugged_or_marked_below": "<b>손실</b> — 코인이 러그풀되었거나, 0.5배 미만으로 표시되었거나 / 1.2배 미만으로 최고점을 찍었습니다. 손실 조건은 최고점 기반의 승리보다 우선합니다. 현재 0인 포지션에서 2배의 윅(wick)은 청산 유동성이었을 뿐, 승리가 아닙니다.",
+ "machine_ready_a_buy_watch_skip_recommendatio": "<b>머신 준비 완료.</b> 신뢰도와 규모 요소를 포함한 매수/관찰/건너뛰기 추천(민트별 또는 상위 N개 플레이) — 에이전트 폴링을 위해 구축되었습니다.",
+ "max_open_positions": "최대 개방 포지션",
+ "meaning": "의미",
+ "measure": "측정",
+ "meta_description": "완전한 Oracle 레퍼런스: 융합된 pump.fun 확신의 배경 이론, 4가지 핵심 요소 점수 모델과 정확한 수학, 데이터 파이프라인 및 워커 루프, 보정 및 백테스트 증거, 에이전트 액션 루프, 전체 API, 데이터 모델, 한계, 그리고 확장성 — 초심자부터 연구원까지 모두를 위해 작성되었습니다.",
+ "meta_og_description": "Oracle이 모든 pump.fun 런칭을 투명한 0-100 확신 점수로 전환하는 방법 — 이론, 수학, 데이터, 증거, API, 그리고 확장성.",
+ "meta_og_title": "Oracle 문서 · three.ws",
"meta_title": "오라클 문서 — 확신 엔진, 엔드 투 엔드 · three.ws",
"meta_twitter_description": "평이한 언어부터 심층 분석까지: 오라클이 모든 pump.fun 론칭을 실제 수학적 근거와 증거를 바탕으로 어떻게 평가하는지.",
"meta_twitter_title": "오라클 문서 — 확신 엔진, 엔드 투 엔드",
@@ -1172,32 +1172,32 @@
"the_agent_action_loop_2": "에이전트 액션 루프",
"the_agent_is_already_at_its_concurrency": "에이전트가 이미 동시성 상한선에 도달했습니다.",
"the_agent_leaderboard_armed_agents_ranked_by": "에이전트 리더보드 — 결과 등급 기록에 따라 순위가 매겨진 운용 중인 에이전트.",
- "the_api_ui": "",
- "the_architecture_pure_scoring_over_a_coverag": "",
- "the_backtest_win_rate_by_tier_calibration": "",
- "the_base_is_anchored_to_the_brain": "",
- "the_bet_fuse_full_coverage_data_into": "",
- "the_biggest_lever_replace_the_hand_set": "",
- "the_blob_on_each_conviction_row_is": "",
- "the_cap_step_is_the_whole_philosophy": "",
- "the_coarse_band_a_score_falls_in": "",
- "the_conviction_library": "",
- "the_default_feed_every_launch_in_the": "",
- "the_edge": "",
- "the_fair_launch_guardrail_also_imposes_hard": "",
- "the_final_integer_maps_to_one_of": "",
- "the_first_seconds_of_a_launch_are": "",
- "the_formal_view_for_readers_who_want": "",
- "the_four_pillar_bars_who_how_what": "",
- "the_four_pillar_scores_collapse_into_one": "",
- "the_four_pillars": "",
- "the_four_pillars_2": "",
- "the_four_things_the_backtest_publishes": "",
- "the_fused_0_100_score_the_weight": "",
- "the_how_pillar_is_a_guardrail_against": "",
- "the_improvement_path_formally": "",
- "the_intended_semantics_is_that_where_calibra": "",
- "the_live_floor_every_agent_action_simulated": "",
+ "the_api_ui": "API + UI",
+ "the_architecture_pure_scoring_over_a_coverag": "아키텍처 — 커버리지 브레인 위에 순수 스코어링, 캐시된 API 뒤, 폐쇄형 결과 루프 — 는 재작성 없이 여러 축으로 동시에 확장 가능하도록 설계되었습니다.",
+ "the_backtest_win_rate_by_tier_calibration": "백테스트 — 티어별 승률, 캘리브레이션, 브라이어, 엣지 멀티플.",
+ "the_base_is_anchored_to_the_brain": "기본 점수는 브레인의 유기적 수요 점수에 고정됩니다: <code class=\"t\">base = 30 + organic·0.55</code> (구조만으로 ~30–85 범위), 유기적 수요 점수가 없을 때는 중립적인 62점. 이후 여러 위험 신호 검사가 점수를 차감하며, 심각한 경우에는 강력한 상한선을 설정합니다.",
+ "the_bet_fuse_full_coverage_data_into": "핵심 목표: 전체 커버리지 데이터를 하나의 정직한 숫자로 통합하는 것",
+ "the_biggest_lever_replace_the_hand_set": "가장 큰 지렛대. 수동으로 설정된 필러 가중치를 결과에 맞는 가중치(동일한 특징에 대한 로지스틱 회귀 / 그래디언트 부스팅)로 대체하고, 원시 점수를 플랫 스케일링 또는 등방성 회귀를 통해 후처리하여 해당 숫자가 <i>is</i> 확률이 되도록 합니다. 이득을 측정하기 위한 백테스트 인프라는 이미 존재합니다.",
+ "the_blob_on_each_conviction_row_is": "각 확신(conviction) 행의 <code class=\"t\">components</code> 블롭은 점수를 생성한 정규화된 입력값들의 완전한 감사 추적이며 — 저장 형태의 재현성 보장입니다.",
+ "the_cap_step_is_the_whole_philosophy": "캡 단계는 전체 철학을 한 줄로 요약한 것입니다: 필러는 <i>합산되지만</i>, HOW(방법)에서 심각한 위험 신호가 있거나 WHO(주체)에서 러거 생성자가 있다면, 평균이 초과할 수 없는 상한선을 설정합니다. 뛰어난 혈통과 번들 플래그가 있는 코인이라도 \"꽤 좋다\"고 평균화되지 않습니다 — 약 46점으로 제한되어 <b>watch</b>에 속하며, 이는 정확히 제자리를 찾은 것입니다.",
+ "the_coarse_band_a_score_falls_in": "점수가 속하는 대략적인 범위: prime / strong / lean / watch / avoid.",
+ "the_conviction_library": "확신 라이브러리",
+ "the_default_feed_every_launch_in_the": "기본 피드 — 지난 12시간 동안의 모든 출시작, 점수화됨, 티어/카테고리/최소 점수로 필터링 가능, 점수/인기/신규 순으로 정렬 가능, 확신 폭 바와 카드별 필러 분석 + 스파크라인 포함.",
+ "the_edge": "<b>The edge</b>",
+ "the_fair_launch_guardrail_also_imposes_hard": "— 공정한 출시 가드레일; 또한 강력한 상한선을 부과합니다.",
+ "the_final_integer_maps_to_one_of": "최종 정수는 5개 티어 중 하나로 매핑됩니다. 티어는 사람이 피드를 빠르게 훑어보고 에이전트가 기준을 설정하는 방식입니다.",
+ "the_first_seconds_of_a_launch_are": "런칭 초기 몇 초는 데이터가 부족합니다. 혈통과 모멘텀은 지갑이 나타나야 비로소 의미를 가지며, 신규 코인은 구조와 이전 카테고리에 의존합니다. 발자취가 채워지면서 점수는 명확해집니다. 이것이 바로 역사와 무버가 존재하는 이유입니다.",
+ "the_formal_view_for_readers_who_want": "모델을 모델로 명시하려는 독자를 위한 공식적인 관점.",
+ "the_four_pillar_bars_who_how_what": "<b>네 가지 핵심 지표</b> — WHO / HOW / WHAT / MOVE —는 위 섹션의 하위 점수입니다. 최종 점수는 이들의 상한이 적용된 가중 융합 점수입니다.",
+ "the_four_pillar_scores_collapse_into_one": "네 가지 핵심 지표 점수는 가중 평균을 통해 하나의 숫자로 통합됩니다. 이후 구조적 및 혈통 상한선이 적용되고, 반올림되어 최종 티어에 할당됩니다.",
+ "the_four_pillars": "네 가지 핵심 지표",
+ "the_four_pillars_2": "네 가지 핵심 지표",
+ "the_four_things_the_backtest_publishes": "백테스트가 공개하는 네 가지.",
+ "the_fused_0_100_score_the_weight": "융합된 0-100점 점수 — 런칭 성공 가능성을 보여주는 온체인 증거의 가중치.",
+ "the_how_pillar_is_a_guardrail_against": "HOW 지표는 번들, 신규 지갑 팜, 펀더 클러스터와 같은 알려진 조작에 대한 방어벽입니다. 하지만 자금 세탁자들은 계속해서 새로운 수법을 만듭니다. 새로운 회피 패턴은 규칙에 의해 포착되기 전에 결과 루프(러그 풀, 평판 업데이트)에 의해 감지됩니다. 방어는 단일 검사가 아닌 폐쇄 루프입니다.",
+ "the_improvement_path_formally": "공식적인 개선 경로.",
+ "the_intended_semantics_is_that_where_calibra": "의도된 의미는 <code class=\"t\">s(x)/100 ≈ P(win | x)</code>이며, 여기서 <code class=\"t\">win = graduated ∨ ATH ≥ 2×</code>입니다. 보정은 의도와 현실 간의 격차를 측정합니다.",
+ "the_live_floor_every_agent_action_simulated": "라이브 플로어 — 시뮬레이션 또는 라이브를 불문하고 모든 에이전트 동작이 실시간으로 발생합니다.",
"the_live_oracle_is_eight_views_over": "라이브 오라클은 하나의 엔진 위에 8가지 뷰를 제공합니다. 로딩, 비어있음, 오류, 채워짐 등 모든 상태는 세심하게 설계되었습니다. 아래의 비어있는 상태는 버그가 아니라, 앞으로 나올 기능을 알려주는 실제 제품입니다.",
"the_live_surface_every_launch_in_the": "<b>라이브 서피스.</b> 지난 12시간 동안의 모든 런치(launch)를 점수화하고 순위를 매겼으며, 실시간 확신도 막대와 내러티브별 평균을 함께 제공합니다. <a class=\"inl\" href=\"/oracle\">three.ws/oracle</a>",
"the_lowest_cap_triggered_wins_this_is": "가장 낮은 캡(cap)이 트리거된 것이 승리합니다. 이는 \"구조가 거부권이다\"라는 공식적인 선언입니다. 심각한 구조적 결함이 있는 런치는 가중 평균이 계산되기 <i>전에</i> 상한선이 제한되므로, 아무리 좋은 혈통이나 내러티브가 있어도 높은 등급으로 올라갈 수 없습니다.",
@@ -1274,69 +1274,69 @@
"win_rate_by_tier_with_honest_error": "정직한 오차 막대를 포함한 티어별 승률",
"win_rate_by_tier_with_wilson_cis": "윌슨 신뢰 구간(CI), 캘리브레이션 래더, 브라이어 점수, 그리고 엣지 요약을 포함한 티어별 승률. 필터: <code>기간, 티어, 네트워크</code>.",
"win_the_coin_graduated_or_its_peak": "<b>승리</b> — 코인이 졸업했거나, 러그 풀이 아니며 진입가의 절반 이하로 표시되지 않은 코인에서 최고 배율이 2배 이상에 도달했습니다.",
- "with_no_signal_yet_it_returns_too": "",
- "write_endpoints_auth": ""
+ "with_no_signal_yet_it_returns_too": "아직 신호가 없는데도 \"너무 이르다\"고 반환하여, 존재하지 않는 모멘텀을 만들어내기보다 기둥을 중립적으로 유지합니다.",
+ "write_endpoints_auth": "쓰기 엔드포인트 (인증)"
},
"partners": {
- "ace": "",
- "agents_earn_and_spend_using_the_x402": "",
- "ai": "",
- "alibaba_cloud": "",
- "alibaba_cloud_extends_three_ws_into_apac": "",
- "amazon_web_services": "",
- "apac": "",
- "audio2face": "",
- "azure_openai": "",
- "azure_openai_and_microsoft_copilot_integrati": "",
- "bare_metal": "",
- "become_a_partner": "",
- "become_a_partner_2": "",
- "built_on_the_world_s_best_infrastructure": "",
- "cloud": "",
- "cloud_2": "",
- "cloud_3": "",
- "cloud_4": "",
- "cloud_run": "",
- "copilot": "",
- "deploy_an_agent": "",
- "deployed_on_aws_infrastructure_with_marketpl": "",
- "ec2": "",
- "every_agent_gets_a_verifiable_on_chain": "",
- "gaudi": "",
- "gemini": "",
- "get_in_touch": "",
- "google_cloud": "",
- "google_cloud_powers_three_ws_inference_stora": "",
- "gpu": "",
- "granite": "",
- "hardware": "",
- "hardware_2": "",
- "iam": "",
- "ibm": "",
- "if_your_platform_powers_ai_cloud_or": "",
- "inference": "",
- "infrastructure": "",
- "intel": "",
- "intel_gaudi_accelerators_provide_an_alternat": "",
- "marketplace": "",
- "mcp": "",
- "mcp_2": "",
- "meta_description": "",
- "meta_og_description": "",
- "meta_og_title": "",
- "meta_title": "",
- "meta_twitter_description": "",
- "meta_twitter_title": "",
- "microsoft": "",
- "multi_chain": "",
- "nim": "",
- "nvidia": "",
- "nvidia_nim_microservices_power_real_time_inf": "",
- "oci": "",
- "openvino": "",
- "oracle": "",
- "oracle_cloud_infrastructure_provides_bare_me": "",
- "quicknode": "",
+ "ace": "ACE",
+ "agents_earn_and_spend_using_the_x402": "에이전트는 x402 결제 프로토콜을 사용하여 수익을 창출하고 지출합니다. 파트너는 에이전트 간 소액 결제를 통해 API 표면을 수익화할 수 있습니다.",
+ "ai": "AI",
+ "alibaba_cloud": "알리바바 클라우드",
+ "alibaba_cloud_extends_three_ws_into_apac": "알리바바 클라우드는 Qwen 모델 통합 및 지역 MCP 서버 배포를 통해 three.ws를 APAC 시장으로 확장합니다. three.ws 에이전트는 아시아 사용자에게 가까운 저지연 추론으로 전 세계 사용자에게 도달합니다.",
+ "amazon_web_services": "아마존 웹 서비스",
+ "apac": "APAC",
+ "audio2face": "Audio2Face",
+ "azure_openai": "Azure OpenAI",
+ "azure_openai_and_microsoft_copilot_integrati": "Azure OpenAI 및 Microsoft Copilot 통합을 통해 three.ws 에이전트는 엔터프라이즈 Azure 테넌트 내에서 GPT-4급 모델을 실행할 수 있으며, 데이터 상주, 규정 준수, 엔터프라이즈 SSO가 자동으로 상속됩니다.",
+ "bare_metal": "베어메탈",
+ "become_a_partner": "파트너 되기 →",
+ "become_a_partner_2": "파트너 되기",
+ "built_on_the_world_s_best_infrastructure": "세계 <br><em>최고의 인프라 위에 구축되었습니다.</em>",
+ "cloud": "클라우드",
+ "cloud_2": "클라우드",
+ "cloud_3": "클라우드",
+ "cloud_4": "클라우드",
+ "cloud_run": "Cloud Run",
+ "copilot": "Copilot",
+ "deploy_an_agent": "에이전트 배포",
+ "deployed_on_aws_infrastructure_with_marketpl": "AWS 인프라에 배포되며 마켓플레이스에서 이용 가능합니다. 기업은 기존 AWS 청구를 통해 three.ws 에이전트 기능을 직접 프로비저닝할 수 있으며, VPC 배포 및 IAM 통합 액세스 제어를 지원합니다.",
+ "ec2": "EC2",
+ "every_agent_gets_a_verifiable_on_chain": "모든 에이전트는 검증 가능한 온체인 신원을 얻습니다. 귀하의 플랫폼은 무허가 에이전트 경제의 일부가 됩니다.",
+ "gaudi": "Gaudi",
+ "gemini": "Gemini",
+ "get_in_touch": "문의하기",
+ "google_cloud": "Google Cloud",
+ "google_cloud_powers_three_ws_inference_stora": "Google Cloud는 전 세계적으로 three.ws 추론, 스토리지 및 실시간 서비스를 제공합니다. Vertex AI 통합을 통해 에이전트는 three.ws 신원 및 결제 레이어와 함께 Gemini 모델을 활용할 수 있습니다.",
+ "gpu": "GPU",
+ "granite": "Granite",
+ "hardware": "하드웨어",
+ "hardware_2": "하드웨어",
+ "iam": "IAM",
+ "ibm": "IBM",
+ "if_your_platform_powers_ai_cloud_or": "귀사의 플랫폼이 AI, 클라우드, 개발자 도구를 지원하며, 차세대 인터넷을 구축하는 에이전트들에게 이를 선보이고 싶다면, 지금 바로 문의하세요.",
+ "inference": "추론",
+ "infrastructure": "인프라",
+ "intel": "인텔",
+ "intel_gaudi_accelerators_provide_an_alternat": "인텔 가우디 가속기는 three.ws 모델 추론을 위한 대안적인 고성능 컴퓨팅 경로를 제공합니다. 개방적이고 상호 운용 가능한 하드웨어 지원으로 기업 배포는 속도 저하 없이 GPU 벤더 종속을 피할 수 있습니다.",
+ "marketplace": "마켓플레이스",
+ "mcp": "MCP",
+ "mcp_2": "MCP",
+ "meta_description": "three.ws 파트너 에코시스템 — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, Quicknode. 엔터프라이즈 규모의 3D AI 에이전트를 지원하는 클라우드, AI, 블록체인 인프라 플랫폼.",
+ "meta_og_description": "엔터프라이즈 규모의 3D AI 에이전트를 지원하는 클라우드 및 AI 플랫폼.",
+ "meta_og_title": "파트너 에코시스템 — three.ws",
+ "meta_title": "파트너 에코시스템 — three.ws",
+ "meta_twitter_description": "엔터프라이즈 규모의 3D AI 에이전트를 지원하는 클라우드 및 AI 플랫폼.",
+ "meta_twitter_title": "파트너 에코시스템 — three.ws",
+ "microsoft": "마이크로소프트",
+ "multi_chain": "멀티체인",
+ "nim": "NIM",
+ "nvidia": "엔비디아",
+ "nvidia_nim_microservices_power_real_time_inf": "엔비디아 NIM 마이크로서비스는 three.ws 에이전트의 실시간 추론을 지원합니다. 얼굴 애니메이션, 음성 합성, 언어 모델 등 모든 기능이 엔비디아 인프라에서 실행되어 최저 지연 시간의 3D 에이전트 경험을 제공합니다.",
+ "oci": "OCI",
+ "openvino": "OpenVINO",
+ "oracle": "오라클",
+ "oracle_cloud_infrastructure_provides_bare_me": "오라클 클라우드 인프라(OCI)는 고밀도 three.ws 에이전트 배포를 위한 베어메탈 및 GPU 컴퓨팅 옵션을 제공합니다. OCI의 낮은 송신 비용은 대규모 컴퓨팅 집약적인 실시간 3D 파이프라인에 최적의 선택입니다.",
+ "quicknode": "퀵노드",
"qwen": "Qwen",
"reach_developers_and_enterprises_building_th": "모든 주요 시장에서 차세대 AI 에이전트를 구축하는 개발자 및 기업과 연결하세요.",
"see_all_integrations": "모든 통합 보기 →",
diff --git a/public/locales/pt-BR.json b/public/locales/pt-BR.json
index f0efe763f..f590d1e0a 100644
--- a/public/locales/pt-BR.json
+++ b/public/locales/pt-BR.json
@@ -1054,38 +1054,38 @@
"meta_description": "A referência completa do Oracle: a tese por trás da convicção pump.fun fundida, o modelo de pontuação de quatro pilares e sua matemática exata, o pipeline de dados e os loops de worker, a calibração e a evidência de backtest, o loop de ação do agente, a API completa, o modelo de dados, as limitações e onde ele escala — escrito para todos, desde leitores iniciantes até pesquisadores.",
"meta_og_description": "Como o Oracle transforma cada lançamento pump.fun em uma pontuação de convicção transparente de 0 a 100 — a tese, a matemática, os dados, as evidências, a API e onde ele escala.",
"meta_og_title": "Docs do Oracle · three.ws",
- "meta_title": "",
- "meta_twitter_description": "",
- "meta_twitter_title": "",
- "min_score_tier": "",
- "monotonicity_edge_require_non_decreasing_in": "",
- "more_chains_more_venues": "",
- "more_wallets_more_density": "",
- "move_momentum": "",
- "move_momentum_2": "",
- "movers": "",
- "movers_with_its_designed_empty_state_what": "",
- "narrative_a_model_with_the_news_on": "",
- "narrative_filter": "",
- "narrative_lag_model_error": "",
- "new_agent_actions_and_outcome_settlements_as": "",
- "new_updated_conviction_verdicts_as_they_re": "",
- "no": "",
- "no_proven_wallet_is_in_yet_if": "",
- "not_financial_advice": "",
- "notable_columns": "",
- "note": "",
- "numbers_and_thresholds_quoted_here_are_the": "",
- "one_number_for_overall_calibration_error_the": "",
- "one_of_the_four_independent_reads_who": "",
- "one_verdict_fully_unpacked_conviction_35_wat": "",
- "open_the_feed_sort_by_conviction_click": "",
- "open_the_live_oracle": "",
- "operational_safeguards_layer_up_a_global_kil": "",
- "oracle": "",
- "oracle_as_a_calibrated_scoring_classifier": "",
- "oracle_is_a_thin_fast_conviction_layer": "",
- "oracle_is_an_analytics_and_automation_tool": "",
+ "meta_title": "Documentos do Oracle — o motor de convicção, de ponta a ponta · three.ws",
+ "meta_twitter_description": "Do inglês simples ao nível de PhD: como o Oracle pontua cada lançamento pump.fun, com a matemática real e as evidências concretas.",
+ "meta_twitter_title": "Documentos do Oracle — o motor de convicção, de ponta a ponta",
+ "min_score_tier": "Pontuação mínima / nível",
+ "monotonicity_edge_require_non_decreasing_in": "<b>Monotonicidade &amp; limite:</b> exigem que <code class=\"t\">ŷ</code> seja não decrescente no intervalo de pontuação (dentro da tolerância); definem o múltiplo de limite = <code class=\"t\">P(win | prime) / P(win | any)</code> e o lift = a diferença, ambos reportados com seus CIs.",
+ "more_chains_more_venues": "Mais blockchains, mais plataformas",
+ "more_wallets_more_density": "Mais carteiras, mais densidade",
+ "move_momentum": "MOVE · Momento",
+ "move_momentum_2": "④ MOVE — Momento",
+ "movers": "<b>Movers</b>",
+ "movers_with_its_designed_empty_state_what": "<b>Movers</b>, com seu estado vazio projetado — o que você vê antes que convicção suficiente tenha se movido na janela.",
+ "narrative_a_model_with_the_news_on": "Narrativa: um modelo que acompanha as notícias",
+ "narrative_filter": "Filtro de narrativa",
+ "narrative_lag_model_error": "Atraso da narrativa & erro do modelo",
+ "new_agent_actions_and_outcome_settlements_as": "Novas ações de agente e liquidações de resultados à medida que chegam.",
+ "new_updated_conviction_verdicts_as_they_re": "Novos / veredictos de convicção atualizados à medida que são pontuados (filtro <code>min_score</code>).",
+ "no": "não",
+ "no_proven_wallet_is_in_yet_if": "ainda não há carteira comprovada (se necessário)",
+ "not_financial_advice": "Não é aconselhamento financeiro",
+ "notable_columns": "Colunas notáveis",
+ "note": "Nota",
+ "numbers_and_thresholds_quoted_here_are_the": "Os números e limites citados aqui são as <b>constantes de produção reais</b> do motor. Os nomes dos níveis são <code class=\"t\">prime · strong · lean · watch · avoid</code>. Os pilares são apelidados de <b>WHO</b> (pedigree), <b>HOW</b> (estrutura), <b>WHAT</b> (narrativa), <b>MOVE</b> (momento) em todo o produto e nestes documentos.",
+ "one_number_for_overall_calibration_error_the": "Um número para o erro de calibração geral — o erro quadrático médio de (pontuação/100) em relação ao resultado binário. Menor é melhor; 0 é perfeito, 0,25 é um cara ou coroa.",
+ "one_of_the_four_independent_reads_who": "Uma das quatro leituras independentes: WHO (pedigree), HOW (estrutura), WHAT (narrativa), MOVE (momento).",
+ "one_verdict_fully_unpacked_conviction_35_wat": "<b>Um veredicto, totalmente detalhado.</b> Convicção <b>35</b> (observar): os pilares WHO/HOW/WHAT/MOVE no topo, uma lista em inglês simples <b>“por que esta pontuação”</b>, a leitura da estrutura (compra orgânica vs. pacote), a lista de carteiras <b>participantes</b> e um feed de negociações ao vivo — tudo para um único lançamento.",
+ "open_the_feed_sort_by_conviction_click": "Abra o feed, ordene por convicção, clique em qualquer moeda. A gaveta mostra os quatro pilares e uma razão em inglês simples para cada ponto. Uma pontuação alta é um argumento, não uma promessa — leia as razões.",
+ "open_the_live_oracle": "Abra o Oracle ao vivo →",
+ "operational_safeguards_layer_up_a_global_kil": "Salvaguardas operacionais em camadas: um kill switch global, um limite rígido de SOL por negociação imposto no executor (independente de qualquer configuração por agente), limites de gasto diário por observação e de posições abertas, um tempo limite de confirmação de 60 segundos para que transações travadas não bloqueiem o loop, e um cache de 60 segundos em pares de chaves descriptografados para limitar a sobrecarga de descriptografia durante picos. <b>Simular é o padrão</b> — o worker registra ações realistas com gasto zero, a menos que seja explicitamente alternado para o modo ao vivo.",
+ "oracle": "Oracle",
+ "oracle_as_a_calibrated_scoring_classifier": "Oracle como um classificador de pontuação calibrado",
+ "oracle_is_a_thin_fast_conviction_layer": "Oracle é uma camada de convicção fina e rápida sobre um pump.fun data brain de cobertura total. Ele não reingere a blockchain — ele lê as tabelas do brain, adiciona duas coisas que o brain não possui (narrativa cultural e um loop de ação), e fecha o loop contra os resultados.",
+ "oracle_is_an_analytics_and_automation_tool": "Oracle é uma ferramenta de análise e automação. Pontuações de convicção, sinais e ações de agente são informativos. Negociações ao vivo arriscam fundos reais; simule primeiro, defina limites rígidos e trate cada número como uma entrada entre muitas.",
"oracle_owns_five_tables_classified_story_vir": "Oracle possui cinco tabelas: <code class=\"t\">oracle_narrative</code> (história classificada + viralidade), <code class=\"t\">oracle_conviction</code> (o cache de veredito ao vivo, uma linha por mint), <code class=\"t\">oracle_conviction_history</code> (série temporal de pontuação, escrita apenas em uma mudança de ≥3 pontos, retenção de 72h), <code class=\"t\">oracle_agent_watch</code> (configuração de agente armado), e <code class=\"t\">oracle_watch_actions</code> (o registro de ações). Colunas completas no <a class=\"inl\" href=\"#schema\">modelo de dados</a>.",
"oracle_owns_five_tables_the_verdict_cache": "Oracle possui cinco tabelas. O cache de veredito é o coração; o restante é histórico, configuração e o registro de ações.",
"oracle_reads_every_pump_fun_launch_the": "Oracle lê cada lançamento <b>pump.fun</b> no momento em que aparece e responde a uma pergunta: <b>quanta convicção a evidência on-chain realmente suporta?</b> Ele funde quatro leituras independentes — <b>quem</b> está comprando, <b>como</b> o lançamento está estruturado, <b>qual</b> história ele segue e <b>como</b> ele está se movendo — em uma única pontuação transparente de <b>0 a 100</b>, e então permite que seu agente 3D atue nas jogadas que superam seu limite. Esta é a referência completa: a tese, a matemática exata, os dados, as evidências, a API, os limites e para onde vai em seguida.",
diff --git a/public/locales/ru.json b/public/locales/ru.json
index a9a2640ff..231d1e68c 100644
--- a/public/locales/ru.json
+++ b/public/locales/ru.json
@@ -1173,31 +1173,31 @@
"the_agent_is_already_at_its_concurrency": "агент уже достиг своего лимита параллелизма",
"the_agent_leaderboard_armed_agents_ranked_by": "Таблица лидеров агентов — вооружённые агенты, ранжированные по их оценённым результатам.",
"the_api_ui": "API + UI",
- "the_architecture_pure_scoring_over_a_coverag": "",
- "the_backtest_win_rate_by_tier_calibration": "",
- "the_base_is_anchored_to_the_brain": "",
- "the_bet_fuse_full_coverage_data_into": "",
- "the_biggest_lever_replace_the_hand_set": "",
- "the_blob_on_each_conviction_row_is": "",
- "the_cap_step_is_the_whole_philosophy": "",
- "the_coarse_band_a_score_falls_in": "",
- "the_conviction_library": "",
- "the_default_feed_every_launch_in_the": "",
- "the_edge": "",
- "the_fair_launch_guardrail_also_imposes_hard": "",
- "the_final_integer_maps_to_one_of": "",
- "the_first_seconds_of_a_launch_are": "",
- "the_formal_view_for_readers_who_want": "",
- "the_four_pillar_bars_who_how_what": "",
- "the_four_pillar_scores_collapse_into_one": "",
- "the_four_pillars": "",
- "the_four_pillars_2": "",
- "the_four_things_the_backtest_publishes": "",
- "the_fused_0_100_score_the_weight": "",
- "the_how_pillar_is_a_guardrail_against": "",
- "the_improvement_path_formally": "",
- "the_intended_semantics_is_that_where_calibra": "",
- "the_live_floor_every_agent_action_simulated": "",
+ "the_architecture_pure_scoring_over_a_coverag": "Архитектура — чистый скоринг на основе охватывающего ИИ, за кешированным API, с замкнутым циклом обратной связи по результатам — была выбрана, потому что позволяет масштабироваться по нескольким осям одновременно без переписывания кода.",
+ "the_backtest_win_rate_by_tier_calibration": "Бэктест — процент выигрышей по уровням, калибровка, Брайер, мультипликатор преимущества.",
+ "the_base_is_anchored_to_the_brain": "База привязана к оценке органического спроса ИИ: <code class=\"t\">base = 30 + organic·0.55</code> (таким образом, только структура находится в диапазоне ~30–85), или нейтральное значение 62, когда органический спрос недоступен. Затем ряд проверок на «красные флаги» вычитает баллы, а для серьезных случаев устанавливает жесткий потолок.",
+ "the_bet_fuse_full_coverage_data_into": "Суть ставки: объединить данные полного охвата в одно честное число.",
+ "the_biggest_lever_replace_the_hand_set": "Самый мощный рычаг. Заменить заданные вручную веса столпов весами, соответствующими результатам (логистическая регрессия / градиентный бустинг на тех же признаках), и постобработать сырой балл с помощью масштабирования Платта или изотонической регрессии, чтобы число <i>было</i> вероятностью. Инфраструктура бэктеста для измерения прироста уже существует.",
+ "the_blob_on_each_conviction_row_is": "Блоб <code class=\"t\">компонентов</code> в каждой строке убеждений — это полный аудиторский след нормализованных входных данных, которые дали оценку, — гарантия воспроизводимости в форме хранения.",
+ "the_cap_step_is_the_whole_philosophy": "Шаг ограничения — это вся философия в одной строке: столпы <i>суммируются</i>, но серьезный «красный флаг» в КАК (или создатель-скамер в КТО) устанавливает потолок, который среднее значение не может превысить. Монета с безупречной репутацией и флагом бандла не усредняется до «довольно хорошо» — она ограничена на уровне ~46 и попадает в <b>watch</b>, именно туда, где ей место.",
+ "the_coarse_band_a_score_falls_in": "Грубый диапазон, в который попадает оценка: prime / strong / lean / watch / avoid.",
+ "the_conviction_library": "Библиотека убеждений",
+ "the_default_feed_every_launch_in_the": "Лента по умолчанию — все запуски за последние 12 часов, оцененные, фильтруемые по уровню/категории/мин. баллу, сортируемые по баллу/популярности/новизне, с полосой широты убеждений и разбивкой столпов по каждой карточке + спарклайн.",
+ "the_edge": "<b>Преимущество</b>",
+ "the_fair_launch_guardrail_also_imposes_hard": "— защитный механизм честного запуска; также устанавливает жесткие потолки.",
+ "the_final_integer_maps_to_one_of": "Итоговое целое число соответствует одному из пяти уровней. Уровни — это то, как люди просматривают ленту и как агенты устанавливают планку.",
+ "the_first_seconds_of_a_launch_are": "Первые секунды запуска бедны данными. Репутация и импульс требуют появления кошельков, прежде чем они станут значимыми; совершенно новая монета опирается на структуру и категориальный приоритет. Оценки уточняются по мере накопления данных — именно поэтому существуют история и движущие силы.",
+ "the_formal_view_for_readers_who_want": "Формальное представление, для читателей, которые хотят, чтобы модель была представлена как модель.",
+ "the_four_pillar_bars_who_how_what": "<b>Четыре столпа</b> — КТО / КАК / ЧТО / ДВИЖЕНИЕ — это под-оценки из раздела выше. Большое число — это их ограниченное, взвешенное слияние.",
+ "the_four_pillar_scores_collapse_into_one": "Оценки четырех столпов сводятся к одному числу с помощью взвешенного среднего — затем структурные ограничения и ограничения по репутации сжимают его, оно округляется и попадает в определенный уровень.",
+ "the_four_pillars": "Четыре столпа",
+ "the_four_pillars_2": "Четыре столпа",
+ "the_four_things_the_backtest_publishes": "Четыре показателя, которые публикует бэктест",
+ "the_fused_0_100_score_the_weight": "Объединенная оценка от 0 до 100 — вес ончейн-доказательств того, что запуск будет успешным.",
+ "the_how_pillar_is_a_guardrail_against": "Столп КАК — это защита от известных манипуляций — бандлы, фермы свежих кошельков, кластеры фондов — но отмыватели постоянно совершенствуются. Новые схемы обхода обнаруживаются циклом обратной связи по результатам (они скамят, репутация обновляется) до того, как их поймает какое-либо правило. Защита — это замкнутый цикл, а не какая-либо отдельная проверка.",
+ "the_improvement_path_formally": "Путь улучшения, формально",
+ "the_intended_semantics_is_that_where_calibra": "Предполагаемая семантика заключается в том, что <code class=\"t\">s(x)/100 ≈ P(win | x)</code>, где <code class=\"t\">win = graduated ∨ ATH ≥ 2×</code>. Калибровка измеряет разрыв между намерением и реальностью.",
+ "the_live_floor_every_agent_action_simulated": "Живая среда — каждое действие агента, симулированное или реальное, по мере его возникновения.",
"the_live_oracle_is_eight_views_over": "Живой Oracle — это восемь представлений поверх одного движка. Каждое состояние — загрузка, пусто, ошибка, заполнено — продумано; пустые состояния ниже — это настоящий продукт, который показывает, что будет, а не баги.",
"the_live_surface_every_launch_in_the": "<b>Живая поверхность.</b> Каждый запуск за последние 12 часов, оцененный и ранжированный, с живой шкалой убежденности и средними значениями по нарративам. <a class=\"inl\" href=\"/oracle\">three.ws/oracle</a>",
"the_lowest_cap_triggered_wins_this_is": "Побеждает самый низкий сработавший лимит. Это формальное утверждение: «структура — это вето»: запуск с серьезным структурным дефектом ограничивается <i>до</i> вычисления взвешенного среднего, поэтому ни родословная, ни нарратив не поднимут его на высокий уровень.",
diff --git a/public/viewer.html b/public/viewer.html
index f40df90e2..afdd0f394 100644
--- a/public/viewer.html
+++ b/public/viewer.html
@@ -163,14 +163,14 @@
<div class="stage">
<model-viewer id="mv" class="veiled" camera-controls auto-rotate touch-action="pan-y"
- rotation-per-second="14deg" interaction-prompt="none"
+ rotation-per-second="14deg" interaction-prompt="auto"
shadow-intensity="1" shadow-softness="0.9" exposure="1.5" environment-image="/environments/gallery/env.hdr" tone-mapping="aces"
ar ar-modes="webxr scene-viewer quick-look" ar-scale="auto" reveal="auto" alt="Generated 3D model">
</model-viewer>
<div id="loading" class="overlay">
<div class="spinner" aria-hidden="true"></div>
- <div class="h">Loading model…</div>
+ <div class="h">Loading model<span id="load-pct"></span></div>
<div class="muted">Fetching and rendering the GLB. Large or high-detail models take a few seconds.</div>
</div>
@@ -275,7 +275,20 @@
show(loading);
mv.setAttribute('src', src);
+ // Real download progress: model-viewer emits `progress` with a 0..1
+ // totalProgress. Surface it as a live percent on the loading overlay so a big
+ // GLB on a slow connection reads as "62%", not an infinite spinner.
+ var loadPct = document.getElementById('load-pct');
+ mv.addEventListener('progress', function (e) {
+ var p = e && e.detail ? e.detail.totalProgress : 0;
+ if (!loadPct || typeof p !== 'number') return;
+ // model-viewer reports 1 at the end of the fetch, before render finishes;
+ // keep the label honest by capping the shown value at 99% until `load`.
+ var pct = Math.max(0, Math.min(99, Math.round(p * 100)));
+ loadPct.textContent = p >= 1 ? '' : ' · ' + pct + '%';
+ });
mv.addEventListener('load', function () {
+ if (loadPct) loadPct.textContent = '';
show(null);
mv.classList.remove('veiled');
// Expose the AR button only when the device/model can actually enter AR.
@@ -497,7 +510,9 @@
// decoder wedge): surface the error state with the download link instead of
// an infinite spinner. 90s clears even huge GLBs on slow connections.
setTimeout(function () {
- if (loading && !loading.classList.contains('hidden')) {
+ // Guard on mv.loaded too: a slow-but-successful load whose `load` event we
+ // somehow missed must not be flipped to an error after the fact.
+ if (loading && !loading.classList.contains('hidden') && !mv.loaded) {
fail('This model is taking too long to display. Download the GLB and open it in any 3D viewer.');
}
}, 90000);
diff --git a/scripts/i18n-annotate.mjs b/scripts/i18n-annotate.mjs
index 5c26f6247..a06aa7c36 100644
--- a/scripts/i18n-annotate.mjs
+++ b/scripts/i18n-annotate.mjs
@@ -1,18 +1,18 @@
#!/usr/bin/env node
-// i18n-annotate — automatically annotate static HTML copy for translation.
+// i18n-annotate, automatically annotate static HTML copy for translation.
//
// The i18n pipeline (docs/i18n.md) derives its source catalog from `data-i18n*`
// attributes in the markup. Hand-adding those to 200+ pages is the bottleneck
// that kept only the home hero translated. This tool closes that gap: it finds
// user-visible static copy, injects the right annotation attribute with a
// stable, human-readable key, and (optionally) wires the runtime script +
-// <lang-switcher> into the page — so `npm run i18n:extract && npm run
+// <lang-switcher> into the page, so `npm run i18n:extract && npm run
// i18n:translate` then localize the whole page across every committed locale.
//
// Design guarantees that make auto-annotating hand-authored HTML safe:
// • Surgical, byte-precise edits. We parse to LOCATE elements (node-html-parser
// exposes source `.range` offsets), then splice ` data-i18n="…"` into the
-// original string. Untouched bytes are preserved exactly — no whole-file
+// original string. Untouched bytes are preserved exactly, no whole-file
// reserialization, so diffs are minimal and reviewable.
// • Idempotent. An element that already carries a data-i18n* attribute is left
// alone, so re-runs only pick up newly-added copy.
@@ -58,7 +58,7 @@ const COPY_TAGS = new Set([
'em', 'small', 'b', 'i', 'q', 'cite', 'mark',
]);
-// Inline formatting tags allowed *inside* a translated element — the value is
+// Inline formatting tags allowed *inside* a translated element, the value is
// stored as innerHTML (data-i18n-html) so the markup round-trips. A child tag
// outside this set means the element is a layout container, not a copy leaf.
const INLINE_TAGS = new Set([
@@ -66,7 +66,7 @@ const INLINE_TAGS = new Set([
'u', 'mark', 'abbr', 'q', 'cite', 'time', 'wbr', 'kbd', 'samp', 'bdi', 'bdo',
]);
-// Never descend into these — their text is code, not copy.
+// Never descend into these, their text is code, not copy.
const OPAQUE_ANCESTORS = new Set([
'script', 'style', 'svg', 'pre', 'code', 'textarea', 'template', 'noscript', 'math',
]);
@@ -138,7 +138,7 @@ function alreadyAnnotated(el) {
);
}
-// True when a descendant already carries an annotation — that descendant is the
+// True when a descendant already carries an annotation, that descendant is the
// translation unit, so wrapping it here would double-annotate and capture the
// child's data-i18n* attribute into this element's innerHTML.
function wrapsAnnotated(el) {
@@ -359,7 +359,7 @@ async function main() {
console.log(
`\ni18n-annotate: ${totalEdits} annotation(s) across ${filesChanged} file(s)` +
- (APPLY ? ' (written)' : ' (dry-run — pass --apply to write)'),
+ (APPLY ? ' (written)' : ' (dry-run, pass --apply to write)'),
);
}
diff --git a/scripts/i18n-translate.mjs b/scripts/i18n-translate.mjs
index 9baf663e1..3994b3e62 100644
--- a/scripts/i18n-translate.mjs
+++ b/scripts/i18n-translate.mjs
@@ -28,6 +28,7 @@
import { writeFileSync, existsSync } from 'node:fs';
import { resolve } from 'node:path';
+import JSON5 from 'json5';
import {
ROOT,
loadConfig,
@@ -361,11 +362,16 @@ function parseModelJSON(raw) {
} catch {
const start = text.indexOf('{');
const end = text.lastIndexOf('}');
- if (start !== -1 && end > start) {
- const span = text.slice(start, end + 1).replace(/,\s*([}\]])/g, '$1');
- return JSON.parse(span); // may throw — caller treats as a failed chunk
+ if (start === -1 || end <= start) throw new Error('no JSON object in response');
+ const span = text.slice(start, end + 1).replace(/,\s*([}\]])/g, '$1');
+ try {
+ return JSON.parse(span);
+ } catch {
+ // JSON5 tolerates single quotes, unquoted keys, and trailing commas that
+ // small models sometimes emit. It still can't fix a truly broken string
+ // (an unescaped quote) — that key drops to the per-key split retry.
+ return JSON5.parse(span);
}
- throw new Error('no JSON object in response');
}
}
@@ -432,9 +438,15 @@ async function translateLocale(code) {
const translatedFlat = {};
let done = 0;
- let failedChunks = 0;
- await pool(chunks, cfg.concurrency || 4, async (keys) => {
- // Mask source values; remember tokens per key to restore afterwards.
+ let failedKeys = 0;
+
+ // Translate one set of keys. On a hard failure (a model reply that never
+ // parses, a persistent 5xx) the set is split in half and each half retried,
+ // down to a single key. This isolates the one value whose translation the
+ // model keeps mangling (a stray unescaped quote in Arabic, an empty Korean
+ // reply) so it can't sink the dozens of good keys chunked alongside it; only
+ // that lone key falls back to English, and the rest land.
+ async function translateKeySet(keys) {
const payload = {};
const tokenMap = {};
for (const k of keys) {
@@ -442,15 +454,25 @@ async function translateLocale(code) {
payload[k] = masked;
tokenMap[k] = tokens;
}
- // Isolate each chunk: a chunk that fails every retry (bad JSON, 5xx, a
- // model that won't return valid output) must not abort the whole run —
- // its keys stay missing and the next incremental run retries just them.
let out;
try {
out = await translateChunk(langName, payload, 0);
} catch (err) {
- failedChunks++;
- console.warn(` ! ${code}: chunk of ${keys.length} key(s) failed (${err.message}); left for next run`);
+ if (keys.length > 1) {
+ const mid = Math.ceil(keys.length / 2);
+ await translateKeySet(keys.slice(0, mid));
+ await translateKeySet(keys.slice(mid));
+ return;
+ }
+ // A lone key that fails every retry is one the model genuinely can't
+ // render as valid JSON (usually a value it mangles into an unescaped
+ // quote). Bake the English source so the catalog stays complete and
+ // lint-clean, the runtime shows English (the same graceful fallback an
+ // empty value would trigger), and re-runs don't loop on it forever.
+ failedKeys++;
+ translatedFlat[keys[0]] = getDeep(source, keys[0]);
+ if (cfg.saveImmediately) persist(code, existing, translatedFlat);
+ console.warn(` ! ${code} ${keys[0]}: unrenderable after retries (${err.message}); English fallback baked`);
return;
}
for (const k of keys) {
@@ -463,12 +485,12 @@ async function translateLocale(code) {
translatedFlat[k] = masker.unmask(val, tokenMap[k]);
}
done += keys.length;
- if (cfg.saveImmediately) {
- persist(code, existing, translatedFlat);
- }
+ if (cfg.saveImmediately) persist(code, existing, translatedFlat);
console.log(` ${code}: ${done}/${todo.length}`);
- });
- if (failedChunks) console.warn(` ⚠ ${code}: ${failedChunks} chunk(s) incomplete — re-run to fill`);
+ }
+
+ await pool(chunks, cfg.concurrency || 4, (keys) => translateKeySet(keys));
+ if (failedKeys) console.warn(` ⚠ ${code}: ${failedKeys} key(s) left as English fallback — re-run to retry`);
persist(code, existing, translatedFlat);
return { code, translated: todo.length };
diff --git a/src/forge.js b/src/forge.js
index be2cb2a04..4bf110911 100644
--- a/src/forge.js
+++ b/src/forge.js
@@ -14,6 +14,7 @@ import { injectFestivePresets } from './shared/festive-presets.js';
import { renderLock, lockStateFromAccess } from './three-lock.js';
import { payForHighGeneration } from './forge-pay.js';
import { initWalletButton, getConnectedWalletAddress } from './wallet.js';
+import { generateForgePrompt } from './forge-prompt-gen.js';
ensureStateKitStyles();
//
// Drives /api/forge. Three paths share one polling loop:
@@ -101,6 +102,7 @@ const els = {
errorTitle: document.getElementById('error-title'),
errorMessage: document.getElementById('error-message'),
emptyStarters: document.getElementById('empty-starters'),
+ rollForge: document.getElementById('roll-forge'),
forgeShareBtn: document.getElementById('forge-share-btn'),
segmentBtn: document.getElementById('forge-segment-btn'),
openInComposer: document.getElementById('open-in-composer'),
@@ -2754,6 +2756,18 @@ document.addEventListener('forge:run-prompt', (e) => {
if (text) runExamplePrompt(text);
});
+// Roll & Forge is the zero-typing path. One click picks a curated random prompt
+// (the same slot grammars behind "Surprise me", every one shaped to reconstruct
+// cleanly) and generates it immediately, so a first-timer reaches a real model
+// without ever facing a blank prompt box. The die spins for feedback (motion-safe).
+els.rollForge?.addEventListener('click', () => {
+ if (els.rollForge.dataset.busy === '1' || els.generate?.dataset.busy === '1') return;
+ els.rollForge.classList.remove('is-rolling');
+ void els.rollForge.offsetWidth; // reflow so the spin restarts on rapid clicks
+ els.rollForge.classList.add('is-rolling');
+ runExamplePrompt(generateForgePrompt());
+});
+
// Independence Day (July 1–5): a few festive single-object prompts so the
// seasonal moment reaches the Forge too. They carry the `.chip` class, so the
// delegation above generates them one-click; the `.chip--festive` modifier both
diff --git a/src/irl.js b/src/irl.js
index f710a47f6..696357f67 100644
--- a/src/irl.js
+++ b/src/irl.js
@@ -60,6 +60,7 @@ import { reserveWebGLContext, releaseWebGLContext } from './webgl-budget.js';
import { detectTier, BUDGETS, TIER_ORDER, shiftTier } from './irl/perf-budget.js';
import { sharedGLTFLoader, createLoadQueue } from './irl/load-queue.js';
import { mountPinIdle, getIdleClipJson } from './irl/pin-idle.js';
+import { celebrationRingFrame, CELEBRATION_DURATION } from './irl/pin-celebration.js';
import { createWealthAura3D } from './shared/wealth-aura-3d.js';
import { fetchWealthState } from './shared/agent-wealth-state.js';
import { trackLevelUp, installLevelUpCelebrations } from './shared/wealth-levelup.js';
@@ -2760,6 +2761,8 @@ function commitPin(pinLat, pinLng, headingDeg, caption, source = 'gyro-gps') {
if (result?.ok && gpsPin) {
gpsPin.id = result.id;
_myPinIds.add(result.id);
+ // Anchored for real: ripple the lock-in celebration at the avatar's feet.
+ playPinCelebration();
const dir = compassLabel(headingDeg);
setStatus(result.permanent
? `Pinned facing ${dir}${accNote} — permanently visible to nearby users`
@@ -4303,6 +4306,56 @@ function updatePinRing(pin) {
m.opacity = low ? 0.62 : 0.5;
}
+// ── Pin-success "lock-in" celebration ───────────────────────────────────────
+// Anchoring your agent into the real world is the payoff of the whole flow, and it
+// used to land as a single line of status text. Now two green rings ripple out from
+// the avatar's feet with a short haptic, so the moment feels earned. Green matches
+// the "live / anchored" language everywhere else in the UI. Self-disposing and
+// gated on reduced-motion (haptic still fires; the rings don't).
+const CELEBRATION_COLOR = 0x4ade80;
+const _celebrations = []; // [{ rings: Mesh[], t }] advanced by updateCelebrations(dt)
+
+function playPinCelebration() {
+ try { navigator.vibrate?.([12, 30, 24]); } catch { /* haptic is a bonus */ }
+ if (prefersReducedMotion()) return; // motion-sensitive users get the haptic only
+ const base = avatarRig.position;
+ const rings = [];
+ for (let i = 0; i < 2; i++) {
+ const ring = new Mesh(
+ new TorusGeometry(1, 0.028, 8, 48),
+ new MeshBasicMaterial({ color: CELEBRATION_COLOR, transparent: true, opacity: 0, depthWrite: false }),
+ );
+ ring.rotation.x = Math.PI / 2;
+ ring.position.set(base.x, 0.02, base.z);
+ ring.renderOrder = 3;
+ scene.add(ring);
+ rings.push(ring);
+ }
+ _celebrations.push({ rings, t: 0 });
+}
+
+// Advance every live ripple: age it, drive each ring's scale/opacity from the pure
+// frame math, and dispose the whole set once its life is spent. Early-outs cheaply
+// when nothing is celebrating.
+function updateCelebrations(dt) {
+ if (_celebrations.length === 0) return;
+ for (let i = _celebrations.length - 1; i >= 0; i--) {
+ const c = _celebrations[i];
+ c.t += dt / CELEBRATION_DURATION;
+ for (let r = 0; r < c.rings.length; r++) {
+ const ring = c.rings[r];
+ const f = celebrationRingFrame(c.t, r * 0.18);
+ ring.visible = f.visible;
+ ring.scale.set(f.scale, f.scale, 1);
+ ring.material.opacity = f.opacity;
+ }
+ if (c.t >= 1) {
+ for (const ring of c.rings) { scene.remove(ring); disposeObject3D(ring); }
+ _celebrations.splice(i, 1);
+ }
+ }
+}
+
function spawnNearbyPin(pin) {
const g = new Group();
const wp = pinWorldPos(pin);
@@ -7157,6 +7210,8 @@ function tick() {
updateLabels();
// Advance any live ambient interaction reactions (D3): age, reproject, retire.
updateReactions(dt);
+ // Advance the pin-success "lock-in" ripple, if one is playing (cheap early-out).
+ updateCelebrations(dt);
// Gentle pulse on live presence ghosts (D2) — early-outs when none are present.
updateGhosts(dt);
// Non-map directional hint (task 03): point the edge glow toward the nearest
diff --git a/src/irl/pin-celebration.js b/src/irl/pin-celebration.js
new file mode 100644
index 000000000..5bb249035
--- /dev/null
+++ b/src/irl/pin-celebration.js
@@ -0,0 +1,38 @@
+// Pin-success "lock-in" celebration: the ripple timing.
+//
+// Anchoring your agent into the real world is the emotional payoff of IRL, and it
+// used to land as nothing but a line of status text. Now a green ring pulses out
+// from the avatar's feet (plus a short haptic) so pinning feels earned and worth
+// doing again. This module owns the pure timing math, so it is unit-testable; the
+// scene meshes live in irl.js next to the existing confidence-ring code.
+
+// Total ripple lifetime, in seconds.
+export const CELEBRATION_DURATION = 0.8;
+
+// How far (world-radius multiplier) a ring expands over its life.
+const MAX_SCALE = 2.1;
+const START_SCALE = 0.15;
+const PEAK_OPACITY = 0.85;
+
+/**
+ * Frame of one expanding ring at normalized celebration time `t` (0..1 across the
+ * whole ripple), started after `delay` (also normalized, so a second ring can trail
+ * the first). Returns the ring's scale (world-radius multiplier) and opacity;
+ * `visible` is false before the ring's delay has elapsed.
+ *
+ * @param {number} t normalized elapsed time, 0..1
+ * @param {number} [delay] normalized start offset, 0..1
+ * @returns {{ visible: boolean, scale: number, opacity: number }}
+ */
+export function celebrationRingFrame(t, delay = 0) {
+ const span = 1 - delay;
+ const local = span > 1e-6 ? (t - delay) / span : 0;
+ if (local <= 0) return { visible: false, scale: START_SCALE, opacity: 0 };
+ const clamped = local < 1 ? local : 1;
+ const ease = 1 - Math.pow(1 - clamped, 3); // cubic ease-out
+ return {
+ visible: true,
+ scale: START_SCALE + ease * MAX_SCALE,
+ opacity: (1 - clamped) * PEAK_OPACITY,
+ };
+}
diff --git a/src/privy-login.js b/src/privy-login.js
index 8b6f96e9e..483f6b322 100644
--- a/src/privy-login.js
+++ b/src/privy-login.js
@@ -366,47 +366,87 @@ function mountPrivyUI(privy, captchaConfigPromise) {
const address = resp.publicKey.toString();
setWalletStatus('Generating sign-in message…');
- const nonceRes = await fetch('/api/auth/siws/nonce', { credentials: 'include' });
- if (!nonceRes.ok) throw new Error('Failed to get nonce');
- const { nonce, csrf, domain: serverDomain, uri: serverUri } = await nonceRes.json();
+ const fetchNonce = async () => {
+ const r = await fetch('/api/auth/siws/nonce', { credentials: 'include' });
+ if (!r.ok) throw new Error('Failed to get nonce');
+ return r.json();
+ };
+ let { nonce, csrf, domain: serverDomain, uri: serverUri } = await fetchNonce();
const domain = serverDomain || location.host;
const uri = serverUri || location.origin;
+ const statement = 'Sign in to three.ws. This request will not trigger any blockchain transaction or cost any fees. By signing, you agree to the Terms of Service (https://three.ws/legal/tos) and Privacy Policy (https://three.ws/legal/privacy).';
const issuedAt = new Date().toISOString();
const expirationTime = new Date(Date.now() + 5 * 60 * 1000).toISOString();
- const message = [
- `${domain} wants you to sign in with your Solana account:`,
- address,
- '',
- 'Sign in to three.ws. This request will not trigger any blockchain transaction or cost any fees. By signing, you agree to the Terms of Service (https://three.ws/legal/tos) and Privacy Policy (https://three.ws/legal/privacy).',
- '',
- `URI: ${uri}`,
- 'Version: 1',
- 'Chain ID: mainnet',
- `Nonce: ${nonce}`,
- `Issued At: ${issuedAt}`,
- `Expiration Time: ${expirationTime}`,
- ].join('\n');
- setWalletStatus('Sign the message in your wallet…');
- const { signature: sigBytes } = await withTimeout(
- provider.signMessage(new TextEncoder().encode(message), 'utf8'),
- 60_000,
- 'Signature timed out. Check your wallet extension and try again.',
- );
- const signature = btoa(String.fromCharCode(...sigBytes));
-
- setWalletStatus('Signing in…');
- const verifyRes = await fetch('/api/auth/siws/verify', {
+ const postVerify = (message, signature, csrfToken) => fetch('/api/auth/siws/verify', {
method: 'POST',
credentials: 'include',
- headers: { 'content-type': 'application/json', 'x-csrf-token': csrf },
+ headers: { 'content-type': 'application/json', 'x-csrf-token': csrfToken },
// tosAccepted: the signed statement carries the agreement; the flag
// tells the server to stamp acceptance on the user record.
body: JSON.stringify({ message, signature, tosAccepted: true }),
});
- const data = await verifyRes.json().catch(() => ({}));
- if (!verifyRes.ok) throw new Error(data.error_description || 'Sign-in failed.');
+
+ let data = null;
+ let verified = false;
+
+ // One-tap SIWS (Seeker / Seed Vault): authorization and the sign-in
+ // signature happen in a SINGLE wallet interaction. The wallet builds
+ // the canonical SIWS message and we forward the exact bytes it signed.
+ // Any wallet without supportsSignIn (Phantom/Backpack/Solflare) — or a
+ // one-tap failure that isn't a user cancel — falls through to the
+ // two-step path below with a fresh nonce.
+ if (provider.supportsSignIn && typeof provider.signIn === 'function') {
+ setWalletStatus('Approve sign-in in your wallet…');
+ try {
+ const siws = await withTimeout(
+ provider.signIn({ domain, statement, uri, version: '1', chainId: 'mainnet', nonce, issuedAt, expirationTime }),
+ 60_000,
+ 'Sign-in timed out. Try again.',
+ );
+ if (siws?.signedMessageText && siws.signature) {
+ const signature = btoa(String.fromCharCode(...siws.signature));
+ const res = await postVerify(siws.signedMessageText, signature, csrf);
+ data = await res.json().catch(() => ({}));
+ if (res.ok) verified = true;
+ else ({ nonce, csrf } = await fetchNonce()); // burned — refresh for fallback
+ }
+ } catch (e) {
+ if (/reject|denied|cancel|refused/i.test(e?.message || '') || e?.code === 4001) throw e;
+ // Non-cancel failure: refresh the nonce and fall through.
+ ({ nonce, csrf } = await fetchNonce());
+ }
+ }
+
+ if (!verified) {
+ const message = [
+ `${domain} wants you to sign in with your Solana account:`,
+ address,
+ '',
+ statement,
+ '',
+ `URI: ${uri}`,
+ 'Version: 1',
+ 'Chain ID: mainnet',
+ `Nonce: ${nonce}`,
+ `Issued At: ${issuedAt}`,
+ `Expiration Time: ${expirationTime}`,
+ ].join('\n');
+
+ setWalletStatus('Sign the message in your wallet…');
+ const { signature: sigBytes } = await withTimeout(
+ provider.signMessage(new TextEncoder().encode(message), 'utf8'),
+ 60_000,
+ 'Signature timed out. Check your wallet extension and try again.',
+ );
+ const signature = btoa(String.fromCharCode(...sigBytes));
+
+ setWalletStatus('Signing in…');
+ const verifyRes = await postVerify(message, signature, csrf);
+ data = await verifyRes.json().catch(() => ({}));
+ if (!verifyRes.ok) throw new Error(data.error_description || 'Sign-in failed.');
+ }
try {
localStorage.setItem(
diff --git a/src/wallet.js b/src/wallet.js
index 108f4a7d1..f12100edf 100644
--- a/src/wallet.js
+++ b/src/wallet.js
@@ -4,10 +4,15 @@
// window.solana that signs through the on-device Seed Vault. On every other
// platform the import is a no-op (it checks display-mode + UA + referrer).
import '../solana-mobile/src/index.js';
+import { isSolanaMobileTwa, isSolanaMobileDevice } from '../solana-mobile/src/seeker-detect.js';
+import { isUserRejection } from '../solana-mobile/src/mwa-errors.js';
import { log } from './shared/log.js';
+import { showToast } from './ui-helpers.js';
+import { resolveError } from './shared/error-messages.js';
let connectedWalletAddress = null;
let listenersBound = false;
+let connecting = false;
function getPhantom() {
const provider = typeof window !== 'undefined' ? window.solana : null;
@@ -19,6 +24,16 @@ function getPhantom() {
return null;
}
+// On a Seeker, the wallet IS the on-device Seed Vault — name it that so the
+// affordance reads native instead of a generic "Connect Wallet". Detection is
+// wrapped because it touches navigator/matchMedia which can be absent in odd
+// embeddings.
+function onSeeker() {
+ try { return isSolanaMobileTwa() || isSolanaMobileDevice(); } catch { return false; }
+}
+function defaultLabel() { return onSeeker() ? 'Sign in with Seed Vault' : 'Connect Wallet'; }
+function defaultHint() { return onSeeker() ? 'Sign in with your Seed Vault' : 'Connect your Solana wallet'; }
+
function bindPhantomListeners(provider) {
if (listenersBound || !provider) return;
listenersBound = true;
@@ -32,28 +47,85 @@ function bindPhantomListeners(provider) {
});
}
+// Visually mark the button busy during an async connect: a disabled button
+// reading "Connecting…" is unambiguous feedback and blocks double-clicks. On
+// settle we hand the label back to updateWalletState so it reflects the real
+// outcome (short address on success, default prompt on failure).
+function setConnecting(btn, on) {
+ if (!btn) return;
+ btn.classList.toggle('is-connecting', on);
+ if (on) {
+ btn.setAttribute('aria-busy', 'true');
+ btn.disabled = true;
+ const label = btn.querySelector('[data-wallet-label]') || btn;
+ label.textContent = 'Connecting…';
+ } else {
+ btn.removeAttribute('aria-busy');
+ btn.disabled = false;
+ // Reconcile only the label — the connect/disconnect side of state (class,
+ // dataset, a11y, and the wallet:changed broadcast) is owned by
+ // updateWalletState and already fired on the actual outcome. Re-running it
+ // here would double-broadcast on success.
+ const label = btn.querySelector('[data-wallet-label]') || btn;
+ label.textContent = connectedWalletAddress
+ ? `${connectedWalletAddress.slice(0, 4)}...${connectedWalletAddress.slice(-4)}`
+ : defaultLabel();
+ }
+}
+
async function onConnectWallet() {
+ if (connecting) return;
+ const btn = document.getElementById('connect-wallet-btn');
const provider = getPhantom();
+
if (!provider) {
- // No injected wallet AND not running inside the Seeker TWA — point
- // the user at Phantom, which is the most common web fallback.
- window.open('https://phantom.app/', '_blank', 'noopener');
+ // No injected wallet AND not on Seeker. Don't hijack the tab with a
+ // surprise popup — offer Phantom as an explicit, dismissible choice.
+ showToast('No Solana wallet detected. Get Phantom to connect and start building.', {
+ type: 'info',
+ duration: 8000,
+ action: {
+ label: 'Get Phantom',
+ onClick: (dismiss) => {
+ window.open('https://phantom.app/', '_blank', 'noopener');
+ dismiss();
+ },
+ },
+ });
return;
}
+
bindPhantomListeners(provider);
+ connecting = true;
+ setConnecting(btn, true);
try {
const res = await provider.connect();
connectedWalletAddress = res?.publicKey?.toString?.() || null;
updateWalletState(connectedWalletAddress);
+ if (connectedWalletAddress) {
+ showToast(onSeeker() ? 'Seed Vault connected' : 'Wallet connected', { type: 'success' });
+ }
} catch (err) {
+ // A user cancel is a choice, not an error — don't nag. Everything else
+ // gets a clear message with a one-tap retry.
+ if (!isUserRejection(err)) {
+ const message = err?.userMessage || resolveError(err, 'wallet-connect').body;
+ showToast(message, {
+ type: 'error',
+ action: { label: 'Try again', onClick: (dismiss) => { dismiss(); onConnectWallet(); } },
+ });
+ }
log.error('Wallet connection failed:', err);
+ } finally {
+ connecting = false;
+ setConnecting(btn, false);
}
}
export function updateWalletState(address) {
const btn = document.getElementById('connect-wallet-btn');
if (btn) {
- const short = address ? `${address.slice(0, 4)}...${address.slice(-4)}` : 'Connect Wallet';
+ const short = address ? `${address.slice(0, 4)}...${address.slice(-4)}` : defaultLabel();
// Buttons that wrap their text in a [data-wallet-label] span keep their
// icon/markup intact across state changes; plain-text buttons (e.g. the
// pump dashboard) fall back to replacing textContent.
@@ -66,8 +138,8 @@ export function updateWalletState(address) {
btn.setAttribute('aria-label', `Solana wallet connected: ${address}`);
btn.dataset.address = address;
} else {
- btn.title = 'Connect your Solana wallet';
- btn.setAttribute('aria-label', 'Connect your Solana wallet');
+ btn.title = defaultHint();
+ btn.setAttribute('aria-label', defaultHint());
delete btn.dataset.address;
}
}
@@ -84,7 +156,12 @@ export function initWalletButton() {
if (btn) btn.addEventListener('click', onConnectWallet);
const provider = getPhantom();
- if (!provider) return;
+ if (!provider) {
+ // Paint the Seeker-native label even before any wallet event fires, so a
+ // Seeker user sees "Sign in with Seed Vault" from first render.
+ if (btn && onSeeker()) updateWalletState(null);
+ return;
+ }
bindPhantomListeners(provider);
provider.connect({ onlyIfTrusted: true })
.then((res) => {
diff --git a/tests/avatar-sdk-viewer-state.test.js b/tests/avatar-sdk-viewer-state.test.js
new file mode 100644
index 000000000..d16b78583
--- /dev/null
+++ b/tests/avatar-sdk-viewer-state.test.js
@@ -0,0 +1,57 @@
+/**
+ * <three-ws-viewer> load-lifecycle helpers: unit tests.
+ *
+ * The published SDK viewer can't render in Node (no WebGL), so its overlay logic
+ * is split into pure helpers (avatar-sdk/src/viewer-state.js) that ARE testable.
+ */
+
+import { describe, it, expect } from 'vitest';
+import { loadPercent, progressLabel, nextViewerState } from '../avatar-sdk/src/viewer-state.js';
+
+describe('loadPercent', () => {
+ it('returns a whole-number percent when total is known', () => {
+ expect(loadPercent(0, 100)).toBe(0);
+ expect(loadPercent(50, 100)).toBe(50);
+ expect(loadPercent(100, 100)).toBe(100);
+ expect(loadPercent(33, 99)).toBe(33);
+ });
+
+ it('returns null when total is unknown (non-computable stream)', () => {
+ expect(loadPercent(1234, 0)).toBeNull();
+ expect(loadPercent(1234, undefined)).toBeNull();
+ expect(loadPercent(1234, NaN)).toBeNull();
+ });
+
+ it('clamps out-of-range inputs into 0..100', () => {
+ expect(loadPercent(-5, 100)).toBe(0);
+ expect(loadPercent(200, 100)).toBe(100);
+ });
+});
+
+describe('progressLabel', () => {
+ it('shows a percent when known and a plain word when not', () => {
+ expect(progressLabel(0)).toBe('0%');
+ expect(progressLabel(72)).toBe('72%');
+ expect(progressLabel(null)).toBe('Loading');
+ });
+});
+
+describe('nextViewerState', () => {
+ it('is empty with no src, regardless of other flags', () => {
+ expect(nextViewerState({ hasSrc: false })).toBe('empty');
+ expect(nextViewerState({ hasSrc: false, loading: true, error: true })).toBe('empty');
+ });
+
+ it('prioritizes error over loading', () => {
+ expect(nextViewerState({ hasSrc: true, loading: true, error: true })).toBe('error');
+ expect(nextViewerState({ hasSrc: true, error: true })).toBe('error');
+ });
+
+ it('is loading while a src is in flight', () => {
+ expect(nextViewerState({ hasSrc: true, loading: true })).toBe('loading');
+ });
+
+ it('is ready once a src has loaded with no error', () => {
+ expect(nextViewerState({ hasSrc: true })).toBe('ready');
+ });
+});
diff --git a/tests/forge-thumbs.test.js b/tests/forge-thumbs.test.js
new file mode 100644
index 000000000..ec7a68aba
--- /dev/null
+++ b/tests/forge-thumbs.test.js
@@ -0,0 +1,89 @@
+// api/_lib/forge-thumbs.js — server-side thumbnail backfill for the Forge.
+//
+// The invariant under test: a `preview_image_url` is only ever persisted AFTER
+// the PNG behind it has been uploaded to R2, and only when the slot is still
+// empty (fill-only). Violating the first half puts a card's <img> at a missing
+// object (net::ERR_BLOCKED_BY_ORB); violating the second clobbers a poster the
+// maker captured. These tests pin both on the render path.
+
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+
+// `sql` is a tagged template; route each call by its text and record order so a
+// test can assert the R2-before-DB sequencing.
+const sqlCalls = [];
+let sqlRoutes = [];
+const order = [];
+const defaultSqlImpl = (strings, ...vals) => {
+ const text = Array.isArray(strings) ? strings.join('?') : String(strings);
+ sqlCalls.push({ text, vals });
+ if (/UPDATE forge_creations/i.test(text)) order.push('db');
+ const handler = sqlRoutes.find((r) => r.match.test(text));
+ return Promise.resolve(handler ? handler.rows : []);
+};
+const sqlMock = vi.fn(defaultSqlImpl);
+vi.mock('../api/_lib/db.js', () => ({ sql: (...a) => sqlMock(...a) }));
+
+const putObjectMock = vi.fn(async () => order.push('r2'));
+vi.mock('../api/_lib/r2.js', () => ({
+ putObject: (...a) => putObjectMock(...a),
+ publicUrl: (key) => `https://cdn.example/${key}`,
+}));
+
+const renderGlbToPngMock = vi.fn(async () => Buffer.from('x'.repeat(5000)));
+vi.mock('../api/_lib/render-glb.js', () => ({
+ renderGlbToPng: (...a) => renderGlbToPngMock(...a),
+ isBrowserInfrastructureError: () => false,
+}));
+
+// avatar-thumbs is imported only for thumbBackdropFor (a pure helper).
+vi.mock('../api/_lib/avatar-thumbs.js', () => ({
+ thumbBackdropFor: (id) => ({ inner: '#111', outer: '#000', _id: id }),
+}));
+
+const { renderThumbnail, forgeThumbKeyFor } = await import('../api/_lib/forge-thumbs.js');
+
+beforeEach(() => {
+ sqlCalls.length = 0;
+ order.length = 0;
+ sqlRoutes = [];
+ sqlMock.mockClear();
+ putObjectMock.mockClear();
+ renderGlbToPngMock.mockClear();
+});
+
+describe('renderThumbnail', () => {
+ it('uploads to R2 before it commits the preview key (ORB-safety)', async () => {
+ sqlRoutes = [{ match: /UPDATE forge_creations/i, rows: [{ id: 'c-1' }] }];
+ await renderThumbnail({ id: 'c-1', glb_url: 'https://cdn/x.glb' });
+ expect(putObjectMock).toHaveBeenCalledTimes(1);
+ // R2 write happens strictly before the DB commit.
+ expect(order).toEqual(['r2', 'db']);
+ });
+
+ it('writes the PNG at the forge/thumb/<id>.png key and fills preview + preview_key', async () => {
+ sqlRoutes = [{ match: /UPDATE forge_creations/i, rows: [{ id: 'c-2' }] }];
+ const r = await renderThumbnail({ id: 'c-2', glb_url: 'https://cdn/y.glb' });
+ expect(putObjectMock.mock.calls[0][0].key).toBe(forgeThumbKeyFor('c-2'));
+ expect(r.key).toBe('forge/thumb/c-2.png');
+ expect(r.url).toBe('https://cdn.example/forge/thumb/c-2.png');
+ expect(r.filled).toBe(true);
+ // The UPDATE is fill-only — guarded by preview_image_url IS NULL.
+ const upd = sqlCalls.find((c) => /UPDATE forge_creations/i.test(c.text));
+ expect(upd.text).toMatch(/preview_image_url IS NULL/i);
+ });
+
+ it('reports filled:false when the slot was already taken (a poster won the race)', async () => {
+ sqlRoutes = [{ match: /UPDATE forge_creations/i, rows: [] }]; // no row updated
+ const r = await renderThumbnail({ id: 'c-3', glb_url: 'https://cdn/z.glb' });
+ expect(r.filled).toBe(false);
+ // Object was still uploaded (idempotent key), just not committed as the preview.
+ expect(putObjectMock).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws (and never commits) when the renderer returns no bytes', async () => {
+ renderGlbToPngMock.mockResolvedValueOnce(Buffer.alloc(0));
+ await expect(renderThumbnail({ id: 'c-4', glb_url: 'https://cdn/e.glb' })).rejects.toThrow(/no bytes/);
+ expect(putObjectMock).not.toHaveBeenCalled();
+ expect(sqlCalls.some((c) => /UPDATE forge_creations/i.test(c.text))).toBe(false);
+ });
+});
diff --git a/tests/i18n-annotate.test.js b/tests/i18n-annotate.test.js
index 233cedda9..df2e84a10 100644
--- a/tests/i18n-annotate.test.js
+++ b/tests/i18n-annotate.test.js
@@ -1,12 +1,12 @@
/**
- * i18n auto-annotator — unit tests.
+ * i18n auto-annotator, unit tests.
*
* The annotator injects data-i18n* attributes into static copy so the extract →
* translate pipeline can localize a page. These tests pin the two properties
* that make auto-editing hand-authored HTML safe:
- * 1. edits are byte-surgical — output equals input plus only the inserted
+ * 1. edits are byte-surgical, output equals input plus only the inserted
* attribute strings (never a reserialization);
- * 2. selection is conservative and idempotent — code/dynamic/opt-out/nested
+ * 2. selection is conservative and idempotent, code/dynamic/opt-out/nested
* copy is skipped, and a second pass is a no-op.
*/
@@ -20,7 +20,7 @@ const annotate = (html, file = 'pages/sample.html') => {
return applyEdits(html, edits);
};
-describe('planAnnotations — selection', () => {
+describe('planAnnotations, selection', () => {
it('annotates a plain-text copy element with data-i18n', () => {
const { keys } = plan('<h1>Build agents</h1>');
const [k, v] = [...keys][0];
@@ -91,7 +91,7 @@ describe('planAnnotations — selection', () => {
});
});
-describe('planAnnotations — safety properties', () => {
+describe('planAnnotations, safety properties', () => {
const sample = `<!doctype html><html><head><title>Home</title></head>
<body>
<h1 class="hero">The <em>3D</em> agent layer</h1>
@@ -101,14 +101,14 @@ describe('planAnnotations — safety properties', () => {
<script>ignore("me")</script>
</body></html>`;
- it('is byte-surgical — stripping inserted attrs reproduces the original', () => {
+ it('is byte-surgical, stripping inserted attrs reproduces the original', () => {
const out = annotate(sample);
const strip = (s) => s.replace(/ data-i18n(?:-html|-attr)?="[^"]*"/g, '');
expect(strip(out)).toBe(sample);
expect(out.length).toBeGreaterThan(sample.length);
});
- it('is idempotent — a second pass finds nothing to do', () => {
+ it('is idempotent, a second pass finds nothing to do', () => {
const once = annotate(sample);
expect(plan(once).edits.length).toBe(0);
});
diff --git a/tests/irl-pin-celebration.test.js b/tests/irl-pin-celebration.test.js
new file mode 100644
index 000000000..fe772f321
--- /dev/null
+++ b/tests/irl-pin-celebration.test.js
@@ -0,0 +1,58 @@
+/**
+ * Pin-success "lock-in" celebration ripple timing: unit tests.
+ *
+ * Covers the pure frame math irl.js drives the ground-ring meshes with: the
+ * pre-delay gate, the eased expansion, the opacity fade to zero, and monotonic
+ * growth. The scene meshes themselves live in irl.js next to attachPinRing.
+ */
+
+import { describe, it, expect } from 'vitest';
+import { celebrationRingFrame, CELEBRATION_DURATION } from '../src/irl/pin-celebration.js';
+
+describe('celebrationRingFrame', () => {
+ it('is invisible before its delay elapses', () => {
+ expect(celebrationRingFrame(0, 0).visible).toBe(false);
+ expect(celebrationRingFrame(0.1, 0.18).visible).toBe(false);
+ expect(celebrationRingFrame(0.18, 0.18).visible).toBe(false);
+ });
+
+ it('becomes visible after the delay and expands from the start scale', () => {
+ const f = celebrationRingFrame(0.3, 0.18);
+ expect(f.visible).toBe(true);
+ expect(f.scale).toBeGreaterThan(0.15);
+ });
+
+ it('fades opacity to zero and reaches full scale at the end', () => {
+ const end = celebrationRingFrame(1, 0);
+ expect(end.opacity).toBeCloseTo(0, 5);
+ expect(end.scale).toBeGreaterThan(2);
+ });
+
+ it('opacity peaks early and only decreases over the ring life', () => {
+ const a = celebrationRingFrame(0.1, 0);
+ const b = celebrationRingFrame(0.5, 0);
+ const c = celebrationRingFrame(0.9, 0);
+ expect(a.opacity).toBeGreaterThan(b.opacity);
+ expect(b.opacity).toBeGreaterThan(c.opacity);
+ });
+
+ it('scale grows monotonically across the ring life', () => {
+ let last = -Infinity;
+ for (let t = 0.05; t <= 1; t += 0.05) {
+ const s = celebrationRingFrame(t, 0).scale;
+ expect(s).toBeGreaterThanOrEqual(last);
+ last = s;
+ }
+ });
+
+ it('clamps past t=1 instead of overshooting', () => {
+ const over = celebrationRingFrame(1.5, 0);
+ expect(over.opacity).toBeCloseTo(0, 5);
+ expect(over.scale).toBeLessThanOrEqual(0.15 + 2.1 + 1e-9);
+ });
+
+ it('exposes a sane duration constant', () => {
+ expect(CELEBRATION_DURATION).toBeGreaterThan(0);
+ expect(CELEBRATION_DURATION).toBeLessThan(3);
+ });
+});
diff --git a/tests/src/wallet-connect-button.test.js b/tests/src/wallet-connect-button.test.js
index 17e727e63..e9d1b3036 100644
--- a/tests/src/wallet-connect-button.test.js
+++ b/tests/src/wallet-connect-button.test.js
@@ -80,12 +80,50 @@ describe('connect-wallet button state', () => {
expect(() => updateWalletState(ADDR)).not.toThrow();
});
- it('initWalletButton binds a click that points users at Phantom when no wallet is injected', () => {
+ it('offers an explicit Get-Phantom toast (no surprise tab) when no wallet is injected', () => {
const btn = mountIconButton();
const openSpy = vi.spyOn(window, 'open').mockImplementation(() => null);
initWalletButton(); // window.solana undefined → no provider, auto-connect skipped
btn.click();
+
+ // Clicking Connect does NOT hijack the tab...
+ expect(openSpy).not.toHaveBeenCalled();
+ // ...it surfaces a dismissible toast with a Get Phantom action.
+ const toast = document.querySelector('.three-toast');
+ expect(toast).toBeTruthy();
+ const action = [...toast.querySelectorAll('button')].find((b) => /get phantom/i.test(b.textContent));
+ expect(action).toBeTruthy();
+
+ // The user chooses to open Phantom.
+ action.click();
expect(openSpy).toHaveBeenCalledWith('https://phantom.app/', '_blank', 'noopener');
expect(getConnectedWalletAddress()).toBe(null);
});
+
+ it('shows a Connecting… busy state during an in-flight connect, then the address', async () => {
+ const btn = mountIconButton();
+ let resolveConnect;
+ window.solana = {
+ isPhantom: true,
+ isConnected: false,
+ on: () => {},
+ connect: () => new Promise((r) => { resolveConnect = r; }),
+ };
+ initWalletButton();
+ btn.click();
+
+ // Mid-flight: disabled + busy + "Connecting…".
+ expect(btn.disabled).toBe(true);
+ expect(btn.getAttribute('aria-busy')).toBe('true');
+ expect(btn.querySelector('[data-wallet-label]').textContent).toBe('Connecting…');
+
+ resolveConnect({ publicKey: { toString: () => ADDR } });
+ await Promise.resolve();
+ await Promise.resolve();
+
+ expect(btn.disabled).toBe(false);
+ expect(btn.getAttribute('aria-busy')).toBe(null);
+ expect(btn.querySelector('[data-wallet-label]').textContent).toBe(SHORT);
+ delete window.solana;
+ });
});