Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(forge-nim,converter): finish the page markup and styling with the changelog entry

nirholasd8d59bb09f90
diff --git a/data/changelog.json b/data/changelog.json
index 4aafff66f..233db7335 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,16 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-08-17",
+ "title": "Building an agent no longer throws you out to the login page, and the wizard answers the keyboard",
+ "summary": "The six-step agent builder at /create-agent was audited end to end in a real browser: naming an agent, generating a whole spec from one sentence, choosing a body from the starter library, the skills and personality steps, the voice step, and the review screen, plus the loading, empty and error states at phone, tablet and desktop widths. The worst finding was that the wizard broke its own promise. It is built so anyone can construct an entire agent before making an account, and sign in only at the final step where the agent gets its wallet. But opening the My avatars tab without an account threw the visitor straight out to the login page, mid-build, with no warning and no explanation, because that tab asked for avatars you can only have if you are signed in. It now recognises a visitor who has no account, says so in the tab, and points at the Starter library and Upload tabs, which both work without one, alongside a Sign in button that saves the build first so nothing is lost either way. The step markers across the top of the wizard could only be used with a mouse. They are the only way back to an earlier step from the review screen, so anyone working by keyboard reached the end of the flow with no way to correct anything; they are now real buttons that take focus, show a focus ring, and respond to Enter and Space, with the completed steps marked as such for screen readers. The four tabs on the body step also announced themselves as tabs without ever telling a screen reader which panel each one opens, and left the arrow keys dead; the arrow keys, Home and End now move between them the way tabs are meant to work. Finally, a first-time visitor generating an agent from a description no longer sees a failed request in the browser console.",
+ "tags": [
+ "fix",
+ "improvement"
+ ],
+ "link": "/create-agent"
+ },
{
"date": "2026-08-17",
"title": "The Create page no longer black-screens when the sign-in check stalls, and a broken remix link no longer kills every button on it",
@@ -24335,16 +24345,6 @@
],
"link": "/play"
},
- {
- "date": "2026-08-17",
- "title": "Building an agent no longer throws you out to the login page, and the wizard answers the keyboard",
- "summary": "The six-step agent builder at /create-agent was audited end to end in a real browser: naming an agent, generating a whole spec from one sentence, choosing a body from the starter library, the skills and personality steps, the voice step, and the review screen, plus the loading, empty and error states at phone, tablet and desktop widths. The worst finding was that the wizard broke its own promise. It is built so anyone can construct an entire agent before making an account, and sign in only at the final step where the agent gets its wallet. But opening the My avatars tab without an account threw the visitor straight out to the login page, mid-build, with no warning and no explanation, because that tab asked for avatars you can only have if you are signed in. It now recognises a visitor who has no account, says so in the tab, and points at the Starter library and Upload tabs, which both work without one, alongside a Sign in button that saves the build first so nothing is lost either way. The step markers across the top of the wizard could only be used with a mouse. They are the only way back to an earlier step from the review screen, so anyone working by keyboard reached the end of the flow with no way to correct anything; they are now real buttons that take focus, show a focus ring, and respond to Enter and Space, with the completed steps marked as such for screen readers. The four tabs on the body step also announced themselves as tabs without ever telling a screen reader which panel each one opens, and left the arrow keys dead; the arrow keys, Home and End now move between them the way tabs are meant to work. Finally, a first-time visitor generating an agent from a description no longer sees a failed request in the browser console.",
- "tags": [
- "fix",
- "improvement"
- ],
- "link": "/create-agent"
- },
{
"date": "2026-08-17",
"title": "Token in 3D paints in seconds instead of waiting on the slowest lookup, and the trade tape stops reporting every swap as $0",
diff --git a/pages/forge-nim.html b/pages/forge-nim.html
index de7e18e41..727e5209f 100644
--- a/pages/forge-nim.html
+++ b/pages/forge-nim.html
@@ -656,7 +656,7 @@
<header class="forge-head">
<div>
<h1 data-i18n="forge_nim.h1">Self-hosted TRELLIS NIM</h1>
- <p class="forge-sub" data-i18n="forge_nim.subtitle">
+ <p class="forge-sub" data-i18n-html="forge_nim.subtitle">
Drop a photo, POST it once to <code>/v1/infer</code>, and a textured GLB comes back synchronously as
base64: rendered live here, downloadable, AR-ready. No async poll, no storage round trip.
</p>
@@ -791,7 +791,7 @@
<line x1="6" y1="17.5" x2="6.01" y2="17.5" />
</svg>
<h3 data-i18n="forge_nim.unconfigured_title">Point this at your NIM</h3>
- <p id="unconfigured-msg" data-i18n="forge_nim.unconfigured_body">
+ <p id="unconfigured-msg" data-i18n-html="forge_nim.unconfigured_body">
This page drives a TRELLIS NIM you host yourself, and no endpoint is wired to this
deployment. Paste the base URL of your own <code>nvcr.io/nim/microsoft/trellis</code>
container to reconstruct right here, or set <code>NIM_TRELLIS_URL</code> on the deployment
@@ -952,8 +952,9 @@
function setStatus(s, text) {
els.status.dataset.state = s;
els.statusText.textContent = text;
- // The pill is live copy from here on; stop i18n from restoring the boot label.
- els.statusText.removeAttribute('data-i18n');
+ // The pill reports live state from here on; claim it so a locale switch
+ // cannot restore the boot label over a real verdict.
+ els.statusText.dataset.i18nOwned = '1';
}
// Reflect endpoint availability in the composer and the stage. Only run while
@@ -1112,6 +1113,10 @@
function showError(title, msg) {
els.errorTitle.textContent = title;
els.errorMsg.textContent = msg;
+ // This copy is the specific failure, not translatable boilerplate: claim both
+ // nodes so switching language mid-error cannot replace it with the generic line.
+ els.errorTitle.dataset.i18nOwned = '1';
+ els.errorMsg.dataset.i18nOwned = '1';
showState('error');
stopTimers();
}
@@ -1209,7 +1214,7 @@
function renderResult(d) {
// Decode the synchronous { artifacts:[{ base64 }] } GLB into a Blob and
- // hand it straight to the viewer — the NIM's wire shape, end to end.
+ // hand it straight to the viewer: the NIM's wire shape, end to end.
const bytes = base64ToBytes(d.glb_base64);
const blob = new Blob([bytes], { type: 'model/gltf-binary' });
if (state.objectUrl) URL.revokeObjectURL(state.objectUrl);
diff --git a/public/changelog.json b/public/changelog.json
index 098231289..f64fac35e 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-17T04:49:46.210Z",
+ "generated_at": "2026-08-17T04:51:04.345Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/features.json b/public/features.json
index 7cf4d1eec..71cfdf471 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-17T04:49:46.030Z",
+ "generated_at": "2026-08-17T04:51:04.131Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/locales/en.json b/public/locales/en.json
index 344504799..9fe1d945c 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -7859,15 +7859,15 @@
"from_text": "From text",
"high_40_steps": "High · 40 steps",
"image": "image",
- "meta_description": "Drive a self-hosted TRELLIS NIM (nvcr.io/nim/microsoft/trellis) directly. Drop a photo, hit /v1/infer, and get the GLB back synchronously as base64 — rendered live, downloadable.",
+ "meta_description": "Drive a self-hosted TRELLIS NIM (nvcr.io/nim/microsoft/trellis) directly. Drop a photo, hit /v1/infer, and get the textured GLB back synchronously as base64: rendered live and downloadable.",
"meta_og_description": "A forge-styled demo for a self-hosted TRELLIS NIM. Real photo in, synchronous GLB out of /v1/infer. No async poll, no mocks.",
- "meta_og_title": "Forge — Self-Hosted NIM · Image → 3D · three.ws",
+ "meta_og_title": "Forge · Self-Hosted NIM · Image to 3D · three.ws",
"meta_title": "Forge · NIM Self-Host · Image → 3D · three.ws",
"meta_twitter_description": "Drive a self-hosted TRELLIS NIM directly: photo in, synchronous GLB out of /v1/infer.",
"meta_twitter_title": "Forge · NIM Self-Host · Image → 3D · three.ws",
"mode": "mode",
"nim_endpoint_wire_contract": "NIM endpoint & wire contract",
- "one_clear_subject_plain_background_the_self": "One clear subject, plain background. The self-hosted NIM reconstructs a textured GLB in a single hop — then orbit, AR, or download it here.",
+ "one_clear_subject_plain_background_the_self": "One clear subject, plain background. The self-hosted NIM reconstructs a textured GLB in a single hop, then orbit, AR, or download it here.",
"output_format": "output_format",
"post_v1_infer": "POST /v1/infer",
"quality": "Quality",
@@ -7876,7 +7876,15 @@
"remove_image_arialabel": "Remove image",
"something_went_wrong": "Something went wrong.",
"try_a_text_prompt": "<span class=\"sample-row\" id=\"sample-row\"> <button type=\"button\" data-sample=\"text\" data-prompt=\"a worn brass pocket watch, studio lighting\">Try a text prompt</button> </span>",
- "try_again": "Try again"
+ "try_again": "Try again",
+ "h1": "Self-hosted TRELLIS NIM",
+ "subtitle": "Drop a photo, POST it once to <code>/v1/infer</code>, and a textured GLB comes back synchronously as base64: rendered live here, downloadable, AR-ready. No async poll, no storage round trip.",
+ "status_checking": "Checking NIM",
+ "unconfigured_title": "Point this at your NIM",
+ "unconfigured_body": "This page drives a TRELLIS NIM you host yourself, and no endpoint is wired to this deployment. Paste the base URL of your own <code>nvcr.io/nim/microsoft/trellis</code> container to reconstruct right here, or set <code>NIM_TRELLIS_URL</code> on the deployment to wire it for everyone.",
+ "set_endpoint": "Set the endpoint",
+ "link_hosted_forge": "Use the hosted forge instead",
+ "link_nvidia_docs": "NVIDIA model docs"
},
"forge_spark": {
"1_nemotron_refines_your_prompt_idle": "<span class=\"num\">1</span> <span><span class=\"who\">Nemotron</span><br><span class=\"does\">refines your prompt</span></span> <span class=\"state\">idle</span>",
diff --git a/src/constellation/main.js b/src/constellation/main.js
index 4313d64f9..7d3b73f69 100644
--- a/src/constellation/main.js
+++ b/src/constellation/main.js
@@ -362,17 +362,24 @@ function onPointerMove(e) {
}
}
-let downAt = 0; let downXY = [0, 0];
-function onPointerDown(e) { downAt = performance.now(); downXY = [e.clientX, e.clientY]; }
+let downAt = 0; let downXY = [0, 0]; let downNode = null;
+function onPointerDown(e) {
+ downAt = performance.now();
+ downXY = [e.clientX, e.clientY];
+ // Resolve the target at press time as well. The galaxy keeps auto-rotating,
+ // so the star can slide out from under a stationary cursor between the press
+ // and the release; what the visitor aimed at is what they pressed on.
+ updatePointer(e);
+ downNode = pickNode() || hovered;
+}
function onPointerUp(e) {
const moved = Math.hypot(e.clientX - downXY[0], e.clientY - downXY[1]);
if (moved >= 6 || performance.now() - downAt >= 450) return; // an orbit drag, not a tap
updatePointer(e);
- // The star under the release wins; if the ray and the proximity sweep both
- // come up empty, fall back to whatever the tooltip was naming, that is the
- // star the visitor was aiming at, and the scene keeps auto-rotating under the
- // cursor between the hover and the release.
- const node = pickNode() || hovered;
+ // The star under the release wins; then the star the tooltip is naming; then
+ // the one that was under the press. Any of the three is the intended target.
+ const node = pickNode() || hovered || downNode;
+ downNode = null;
if (node) { keyboardFocused = false; selectNode(node.mesh.userData.index, { fromKeyboard: false }); }
}
diff --git a/src/converter.css b/src/converter.css
index cfa5329b4..c9b5b87a0 100644
--- a/src/converter.css
+++ b/src/converter.css
@@ -90,8 +90,12 @@
padding: 1rem 1.125rem;
transition: border-color 0.15s;
}
+/* The amount input is deliberately borderless, so the side card carries its
+ focus indicator. A border shade alone was too faint to read as focus; this
+ matches the ring the picker's search box uses. */
.cvt-side:focus-within {
- border-color: var(--cv-border-hover);
+ border-color: var(--cv-accent);
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cv-accent) 20%, transparent);
}
.cvt-label {