G4: a page that makes 3D models, and ctl 3d

/3d beside /images, while some model makes meshes: a picture chosen, the
job asked for through the same path an API client's takes, its progress
shown (waiting for the card, n ahead; making it, the node and percent),
and the mesh in a viewer — model-viewer 4.4.0 (Apache 2.0, with three.js
and lit), served from the gateway since the page's policy loads scripts
from nowhere else — with a download and the model's licence. The mesh is
served to its owner from /3d/jobs/{id}/file; another project's person is
told there is no such job.

A job made from the portal acted for a key that does not exist: the
worker now rebuilds a session's principal from the account that made it,
while it is active and still in the project the job is charged to.

ctl 3d list|get|cancel, over /api/v1/client-jobs (/api/v1/jobs is the
control plane's own work, which ctl jobs shows).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-10 19:16:20 +02:00
1 parent dfc2f0bf15
commit 2f54780802
30 files changed
+2323 -15

No files matched your search

+6
View File
@@ -927,3 +927,9 @@ a.sel-link.small { font-size: .78rem; color: var(--muted); margin-left: .4rem; }
.images-gallery img { display: block; width: 100%; height: auto; }
.images-gallery figcaption { font-size: .8rem; color: var(--muted); padding: .45rem .6rem 0; }
.images-prompt { font-size: .82rem; margin: .25rem .6rem .55rem; overflow-wrap: anywhere; }
/* The 3D page: the picture asked about, and each mesh in a viewer. */
.meshes-picture { display: block; margin: .6rem 0; font-size: .85rem; font-weight: 600; }
.meshes-picture input { display: block; margin-top: .3rem; font-weight: 400; }
.meshes-preview { max-width: min(100%, 16rem); max-height: 16rem; border: 1px solid var(--line); border-radius: 6px; }
.meshes-viewer { display: block; width: 100%; height: 22rem; background: var(--card); }