@classcad/mcp 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +20 -2
  2. package/dist/auth.d.ts +7 -0
  3. package/dist/auth.js +2 -2
  4. package/dist/auth.js.map +1 -1
  5. package/dist/client.js +27 -0
  6. package/dist/client.js.map +1 -1
  7. package/dist/mcp-server.d.ts +1 -1
  8. package/dist/mcp-server.js +9 -3
  9. package/dist/mcp-server.js.map +1 -1
  10. package/dist/queue.d.ts +7 -0
  11. package/dist/queue.js +22 -9
  12. package/dist/queue.js.map +1 -1
  13. package/dist/tools/auth.js +1 -1
  14. package/dist/tools/auth.js.map +1 -1
  15. package/dist/tools/docs.js +1 -0
  16. package/dist/tools/docs.js.map +1 -1
  17. package/dist/tools/lifecycle.js +41 -19
  18. package/dist/tools/lifecycle.js.map +1 -1
  19. package/dist/tools/viewer.d.ts +6 -0
  20. package/dist/tools/viewer.js +110 -0
  21. package/dist/tools/viewer.js.map +1 -0
  22. package/dist/viewer/scene.d.ts +60 -0
  23. package/dist/viewer/scene.js +271 -0
  24. package/dist/viewer/scene.js.map +1 -0
  25. package/dist/viewer/server.d.ts +27 -0
  26. package/dist/viewer/server.js +229 -0
  27. package/dist/viewer/server.js.map +1 -0
  28. package/dist/viewer-page/cube.svg +15 -0
  29. package/dist/viewer-page/fonts/LICENSE.txt +3 -0
  30. package/dist/viewer-page/fonts/jetbrains-mono-latin.woff2 +0 -0
  31. package/dist/viewer-page/index.html +135 -0
  32. package/dist/viewer-page/vendor/LICENSE.txt +21 -0
  33. package/dist/viewer-page/vendor/VERSION.txt +1 -0
  34. package/dist/viewer-page/vendor/addons/controls/OrbitControls.js +1963 -0
  35. package/dist/viewer-page/vendor/addons/lines/LineMaterial.js +726 -0
  36. package/dist/viewer-page/vendor/addons/lines/LineSegments2.js +434 -0
  37. package/dist/viewer-page/vendor/addons/lines/LineSegmentsGeometry.js +298 -0
  38. package/dist/viewer-page/vendor/three.core.min.js +6 -0
  39. package/dist/viewer-page/vendor/three.module.min.js +6 -0
  40. package/dist/viewer-page/viewer.css +717 -0
  41. package/dist/viewer-page/viewer.js +530 -0
  42. package/package.json +3 -2
@@ -0,0 +1,229 @@
1
+ // viewer/server.ts — the live 3D view of a session, served to the user's
2
+ // browser from this machine.
3
+ //
4
+ // http://127.0.0.1:<port>/v/<token> the page (viewer-page/)
5
+ // …/v/<token>/scene what to draw, as JSON
6
+ // …/v/<token>/events server-sent events: "scene" whenever the model changed
7
+ // …/v/<token>/export/<name>.{stp,stl,glb} the model as a file
8
+ // …/assets/… the page's own files (three.js, the font)
9
+ //
10
+ // One listener per MCP process (the daemon, or a shim serving in-process),
11
+ // shared by all of its sessions. Each session has its own unguessable token:
12
+ // a page shows the model of exactly one session, and two sessions never see
13
+ // each other's. The listener binds 127.0.0.1 and answers only requests that
14
+ // name it as their host.
15
+ //
16
+ // The engine is read in the session's own tool queue (`load`, `exportModel`
17
+ // are queued by the caller), never in the middle of a script.
18
+ import { createServer } from 'node:http';
19
+ import { randomBytes } from 'node:crypto';
20
+ import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
21
+ import { dirname, extname, join, relative, sep } from 'node:path';
22
+ import { fileURLToPath } from 'node:url';
23
+ import { gzipSync } from 'node:zlib';
24
+ import { openBrowser } from '../auth.js';
25
+ import { buildScene, sceneToGlb } from './scene.js';
26
+ const PAGE_DIR = join(dirname(fileURLToPath(import.meta.url)), '..', 'viewer-page');
27
+ const DEFAULT_PORT = 9098;
28
+ const sessions = new Map();
29
+ let listener = null;
30
+ const MIME = {
31
+ '.html': 'text/html; charset=utf-8',
32
+ '.js': 'text/javascript; charset=utf-8',
33
+ '.css': 'text/css; charset=utf-8',
34
+ '.woff2': 'font/woff2',
35
+ '.svg': 'image/svg+xml',
36
+ '.txt': 'text/plain; charset=utf-8',
37
+ };
38
+ /** The page's files, read once: path under /assets/ → bytes. */
39
+ let assets = null;
40
+ function loadAssets() {
41
+ if (assets)
42
+ return assets;
43
+ assets = new Map();
44
+ const walk = (dir) => {
45
+ for (const name of readdirSync(dir)) {
46
+ const file = join(dir, name);
47
+ if (statSync(file).isDirectory())
48
+ walk(file);
49
+ else
50
+ assets.set(relative(PAGE_DIR, file).split(sep).join('/'), { body: readFileSync(file), type: MIME[extname(name)] ?? 'application/octet-stream' });
51
+ }
52
+ };
53
+ if (existsSync(PAGE_DIR))
54
+ walk(PAGE_DIR);
55
+ return assets;
56
+ }
57
+ function listen() {
58
+ listener ??= new Promise((resolve, reject) => {
59
+ const server = createServer((req, res) => {
60
+ handle(req, res).catch(err => {
61
+ if (!res.headersSent)
62
+ res.writeHead(500, { 'content-type': 'text/plain; charset=utf-8' });
63
+ res.end(String(err?.message ?? err));
64
+ });
65
+ });
66
+ const wanted = Number(process.env.CLASSCAD_VIEWER_PORT ?? DEFAULT_PORT);
67
+ const bound = () => {
68
+ server.unref();
69
+ resolve({ server, port: server.address().port });
70
+ };
71
+ server.once('error', (err) => {
72
+ // Another MCP process of this machine has the port: any free one will do.
73
+ if (err.code === 'EADDRINUSE' && wanted !== 0) {
74
+ server.once('error', reject);
75
+ server.listen(0, '127.0.0.1', bound);
76
+ }
77
+ else
78
+ reject(err);
79
+ });
80
+ server.listen(wanted, '127.0.0.1', bound);
81
+ });
82
+ return listener;
83
+ }
84
+ /** A session's view. The listener starts with the first one. */
85
+ export async function openViewerSession(source) {
86
+ const { port } = await listen();
87
+ const entry = { token: randomBytes(18).toString('base64url'), source, scene: null, body: null, version: 0, dirty: true, building: null, streams: new Set(), opened: false };
88
+ sessions.set(entry.token, entry);
89
+ const url = `http://127.0.0.1:${port}/v/${entry.token}`;
90
+ const open = () => {
91
+ entry.opened = true;
92
+ return process.env.CLASSCAD_VIEWER_NO_BROWSER === '1' ? false : openBrowser(url);
93
+ };
94
+ return {
95
+ url,
96
+ open,
97
+ touch: () => {
98
+ entry.dirty = true;
99
+ // Nobody watching and the view already offered: the next page load rebuilds.
100
+ if (!entry.streams.size && entry.opened)
101
+ return;
102
+ void rebuild(entry).then(() => {
103
+ broadcast(entry, 'scene', { version: entry.version });
104
+ // The first model of a session brings its view up, once.
105
+ if (!entry.opened && entry.scene?.bodies.length) {
106
+ entry.opened = true;
107
+ if (process.env.CLASSCAD_VIEWER_OPEN !== '0' && process.env.CLASSCAD_VIEWER_NO_BROWSER !== '1' && !entry.streams.size)
108
+ openBrowser(url);
109
+ }
110
+ }, err => source.log?.(`viewer: ${err?.message ?? err}`));
111
+ },
112
+ close: () => {
113
+ broadcast(entry, 'closed', {});
114
+ for (const res of entry.streams)
115
+ res.end();
116
+ entry.streams.clear();
117
+ sessions.delete(entry.token);
118
+ },
119
+ };
120
+ }
121
+ /** Reads the session and packs what the page draws. One build at a time per session. */
122
+ function rebuild(entry) {
123
+ entry.building ??= (async () => {
124
+ entry.dirty = false;
125
+ const state = await entry.source.load();
126
+ const scene = buildScene(state?.tree, state?.graphic);
127
+ entry.scene = scene;
128
+ entry.version++;
129
+ entry.body = gzipSync(JSON.stringify({ version: entry.version, host: entry.source.host() ?? null, engine: entry.source.engine(), scene }));
130
+ })().finally(() => {
131
+ entry.building = null;
132
+ });
133
+ return entry.building;
134
+ }
135
+ function broadcast(entry, event, data) {
136
+ const frame = `event: ${event}\ndata: ${JSON.stringify(data)}\n\n`;
137
+ for (const res of entry.streams)
138
+ res.write(frame);
139
+ }
140
+ const SAFE_HEADERS = { 'cache-control': 'no-store', 'x-content-type-options': 'nosniff', 'referrer-policy': 'no-referrer' };
141
+ async function handle(req, res) {
142
+ const port = (req.socket.localPort ?? 0);
143
+ // Only this listener's own address: no DNS rebinding, no other sites' pages.
144
+ if (req.headers.host !== `127.0.0.1:${port}` && req.headers.host !== `localhost:${port}`)
145
+ return text(res, 403, 'forbidden');
146
+ if (req.method !== 'GET' && req.method !== 'HEAD')
147
+ return text(res, 405, 'method not allowed');
148
+ const path = decodeURIComponent(new URL(req.url ?? '/', `http://127.0.0.1:${port}`).pathname);
149
+ if (path.startsWith('/assets/')) {
150
+ const asset = loadAssets().get(path.slice('/assets/'.length));
151
+ if (!asset || path.endsWith('index.html'))
152
+ return text(res, 404, 'not found');
153
+ res.writeHead(200, { ...SAFE_HEADERS, 'content-type': asset.type, 'cache-control': 'no-cache' });
154
+ return void res.end(asset.body);
155
+ }
156
+ const m = /^\/v\/([A-Za-z0-9_-]{16,64})(\/.*)?$/.exec(path);
157
+ if (!m)
158
+ return text(res, 404, 'not found');
159
+ const entry = sessions.get(m[1]);
160
+ const rest = m[2] ?? '';
161
+ if (rest === '' || rest === '/') {
162
+ // The page is served for an ended session too: it says so itself.
163
+ const page = loadAssets().get('index.html');
164
+ if (!page)
165
+ return text(res, 500, 'the viewer page is missing from this build');
166
+ const nonce = randomBytes(12).toString('base64');
167
+ res.writeHead(200, {
168
+ ...SAFE_HEADERS,
169
+ 'content-type': page.type,
170
+ 'content-security-policy': `default-src 'self'; script-src 'self' 'nonce-${nonce}'; style-src 'self'; img-src 'self' data: blob:; connect-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'none'`,
171
+ });
172
+ return void res.end(page.body.toString('utf8').replaceAll('__NONCE__', nonce));
173
+ }
174
+ if (!entry)
175
+ return json(res, 404, { error: 'This view has ended: its session is over.' });
176
+ if (rest === '/scene') {
177
+ // A build in flight may have read the model before the last change: wait for it, then look again.
178
+ if (entry.building)
179
+ await entry.building;
180
+ if (entry.dirty || !entry.body)
181
+ await rebuild(entry);
182
+ res.writeHead(200, { ...SAFE_HEADERS, 'content-type': 'application/json; charset=utf-8', 'content-encoding': 'gzip' });
183
+ return void res.end(entry.body);
184
+ }
185
+ if (rest === '/events') {
186
+ res.writeHead(200, { ...SAFE_HEADERS, 'content-type': 'text/event-stream; charset=utf-8', connection: 'keep-alive' });
187
+ res.write(`retry: 2000\nevent: hello\ndata: ${JSON.stringify({ version: entry.version })}\n\n`);
188
+ entry.streams.add(res);
189
+ entry.opened = true;
190
+ const beat = setInterval(() => res.write(': still here\n\n'), 20_000);
191
+ beat.unref();
192
+ req.on('close', () => {
193
+ clearInterval(beat);
194
+ entry.streams.delete(res);
195
+ });
196
+ return;
197
+ }
198
+ const file = /^\/export\/([^/]{1,80})\.(stp|step|stl|glb)$/i.exec(rest);
199
+ if (file) {
200
+ const ext = file[2].toLowerCase();
201
+ let body;
202
+ let type;
203
+ if (ext === 'glb') {
204
+ if (entry.building)
205
+ await entry.building;
206
+ if (entry.dirty || !entry.scene)
207
+ await rebuild(entry);
208
+ body = sceneToGlb(entry.scene);
209
+ type = 'model/gltf-binary';
210
+ }
211
+ else {
212
+ body = await entry.source.exportModel(ext === 'stl' ? 'STL' : 'STP');
213
+ type = ext === 'stl' ? 'model/stl' : 'model/step';
214
+ }
215
+ const name = file[1].replace(/[^A-Za-z0-9._ -]/g, '_');
216
+ res.writeHead(200, { ...SAFE_HEADERS, 'content-type': type, 'content-length': String(body.length), 'content-disposition': `attachment; filename="${name}.${ext}"` });
217
+ return void res.end(body);
218
+ }
219
+ return text(res, 404, 'not found');
220
+ }
221
+ function text(res, status, body) {
222
+ res.writeHead(status, { ...SAFE_HEADERS, 'content-type': 'text/plain; charset=utf-8' });
223
+ res.end(body);
224
+ }
225
+ function json(res, status, body) {
226
+ res.writeHead(status, { ...SAFE_HEADERS, 'content-type': 'application/json; charset=utf-8' });
227
+ res.end(JSON.stringify(body));
228
+ }
229
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/viewer/server.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,6BAA6B;AAC7B,EAAE;AACF,yEAAyE;AACzE,uEAAuE;AACvE,wGAAwG;AACxG,qEAAqE;AACrE,2FAA2F;AAC3F,EAAE;AACF,2EAA2E;AAC3E,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,yBAAyB;AACzB,EAAE;AACF,4EAA4E;AAC5E,8DAA8D;AAC9D,OAAO,EAAE,YAAY,EAA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,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAED,SAAS,IAAI,CAAC,GAAmB,EAAE,MAAc,EAAE,IAAa;IAC9D,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,GAAG,YAAY,EAAE,cAAc,EAAE,iCAAiC,EAAE,CAAC,CAAA;IAC7F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC/B,CAAC"}
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 200 200">
2
+ <title>ClassCAD</title>
3
+ <defs>
4
+ <mask id="cube">
5
+ <rect width="200" height="200" fill="#fff"/>
6
+ <path d="M100 -4V204M100 100L4 44.5M100 100L196 44.5" stroke="#000" stroke-width="10"/>
7
+ </mask>
8
+ </defs>
9
+ <g mask="url(#cube)">
10
+ <path d="M100 0L13 50L100 100Z" fill="#8f0d10"/>
11
+ <path d="M100 0L187 50L100 100Z" fill="#e8232a"/>
12
+ <path d="M13 50L100 100V200L13 150Z" fill="#e8232a"/>
13
+ <path d="M187 50L100 100V200L187 150Z" fill="#8f0d10"/>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,3 @@
1
+ JetBrains Mono (latin subset, variable weight 100–800)
2
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
3
+ Licensed under the SIL Open Font License, Version 1.1: https://openfontlicense.org
@@ -0,0 +1,135 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="color-scheme" content="light dark" />
7
+ <title>ClassCAD</title>
8
+ <link rel="icon" href="/assets/cube.svg" />
9
+ <link rel="stylesheet" href="/assets/viewer.css" />
10
+ <!-- the theme, before the first paint -->
11
+ <script nonce="__NONCE__">
12
+ ;(() => {
13
+ let pick = null
14
+ try {
15
+ pick = localStorage.getItem('classcad-mcp:theme')
16
+ } catch {}
17
+ const dark = pick ? pick === 'dark' : matchMedia('(prefers-color-scheme: dark)').matches
18
+ document.documentElement.dataset.theme = dark ? 'dark' : 'light'
19
+ })()
20
+ </script>
21
+ <script type="importmap" nonce="__NONCE__">
22
+ { "imports": { "three": "/assets/vendor/three.module.min.js", "three/addons/": "/assets/vendor/addons/" } }
23
+ </script>
24
+ </head>
25
+ <body>
26
+ <div class="app" id="app" data-state="loading">
27
+ <header class="bar">
28
+ <div class="bar__lead">
29
+ <svg class="mark" viewBox="0 0 200 200" width="20" height="20" aria-hidden="true">
30
+ <defs>
31
+ <mask id="cube">
32
+ <rect width="200" height="200" fill="#fff" />
33
+ <path d="M100 -4V204M100 100L4 44.5M100 100L196 44.5" stroke="#000" stroke-width="10" />
34
+ </mask>
35
+ </defs>
36
+ <g mask="url(#cube)">
37
+ <path d="M100 0L13 50L100 100Z" class="mark__b" />
38
+ <path d="M100 0L187 50L100 100Z" class="mark__a" />
39
+ <path d="M13 50L100 100V200L13 150Z" class="mark__a" />
40
+ <path d="M187 50L100 100V200L187 150Z" class="mark__b" />
41
+ </g>
42
+ </svg>
43
+ <span class="bar__name">ClassCAD</span>
44
+ <span class="bar__rule" aria-hidden="true"></span>
45
+ <div class="menu" id="export">
46
+ <button type="button" class="tool tool--word" id="export-button" aria-haspopup="menu" aria-expanded="false">
47
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen" d="M10 3v9M6.5 8.5 10 12l3.5-3.5" /><path class="pen" d="M4 14v2.5h12V14" /></svg>
48
+ <span>Export</span>
49
+ </button>
50
+ <div class="menu__list" role="menu" hidden>
51
+ <p class="menu__title">The model as a file</p>
52
+ <a role="menuitem" class="menu__row" data-export="stp" href="#"><span class="menu__name">STEP</span><span class="call">.stp · exact geometry</span></a>
53
+ <a role="menuitem" class="menu__row" data-export="stl" href="#"><span class="menu__name">STL</span><span class="call">.stl · triangles</span></a>
54
+ <a role="menuitem" class="menu__row" data-export="glb" href="#"><span class="menu__name">glTF</span><span class="call">.glb · triangles, colours</span></a>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ <div class="bar__trail">
59
+ <button type="button" class="theme" id="theme" aria-pressed="false" aria-label="Dark mode" title="Light or dark">
60
+ <span class="theme__disc" aria-hidden="true"></span>
61
+ </button>
62
+ </div>
63
+ </header>
64
+
65
+ <aside class="side" aria-label="The model">
66
+ <div class="head">
67
+ <p class="kicker" id="kind">Part</p>
68
+ <h1 class="docname" id="name">&nbsp;</h1>
69
+ </div>
70
+ <section class="pane">
71
+ <div class="pane__label"><span>Features</span><span class="num" id="feature-count"></span></div>
72
+ <ol class="rows" id="features"></ol>
73
+ </section>
74
+ <section class="pane">
75
+ <div class="pane__label"><span>Bodies</span><span class="num" id="body-count"></span></div>
76
+ <ul class="rows" id="bodies"></ul>
77
+ </section>
78
+ </aside>
79
+
80
+ <main class="stage" id="stage">
81
+ <canvas id="canvas" aria-label="The model, in 3D"></canvas>
82
+ <i class="corner corner--tl" aria-hidden="true"></i><i class="corner corner--tr" aria-hidden="true"></i>
83
+ <i class="corner corner--bl" aria-hidden="true"></i><i class="corner corner--br" aria-hidden="true"></i>
84
+ <p class="hud" id="hud"></p>
85
+ <div class="dock" role="toolbar" aria-label="View">
86
+ <button type="button" class="tool" data-view="iso" aria-label="Isometric view" data-tip="Isometric">
87
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen" d="M10 3 16 6.5v7L10 17l-6-3.5v-7zM10 10v7M10 10 4 6.5M10 10l6-3.5" /></svg>
88
+ </button>
89
+ <button type="button" class="tool" data-view="front" aria-label="Front view" data-tip="Front">
90
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen pen--pale" d="M4 7 7 4h9v9l-3 3M13 7l3-3" /><path class="pen pen--face" d="M4 7h9v9H4z" /></svg>
91
+ </button>
92
+ <button type="button" class="tool" data-view="top" aria-label="Top view" data-tip="Top">
93
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen pen--pale" d="M4 7v9h9l3-3V4M13 7v9" /><path class="pen pen--face" d="M4 7 7 4h9l-3 3z" /></svg>
94
+ </button>
95
+ <button type="button" class="tool" data-view="right" aria-label="Right view" data-tip="Right">
96
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen pen--pale" d="M13 7H4v9h9M4 7l3-3h9" /><path class="pen pen--face" d="M13 7l3-3v9l-3 3z" /></svg>
97
+ </button>
98
+ <span class="dock__rule" aria-hidden="true"></span>
99
+ <button type="button" class="tool" id="fit" aria-label="Fit the model in view" data-tip="Fit">
100
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen" d="M3 7V3h4M13 3h4v4M17 13v4h-4M7 17H3v-4" /><path class="pen pen--face" d="M7.5 7.5h5v5h-5z" /></svg>
101
+ </button>
102
+ <button type="button" class="tool" id="edges" aria-pressed="true" aria-label="Edges" data-tip="Edges">
103
+ <svg viewBox="0 0 20 20" width="20" height="20" aria-hidden="true"><path class="pen pen--pale" d="M10 10v7M10 10 4 6.5M10 10l6-3.5" /><path class="pen" d="M10 3 16 6.5v7L10 17l-6-3.5v-7z" /></svg>
104
+ </button>
105
+ </div>
106
+ <svg class="triad" id="triad" viewBox="-30 -30 60 60" width="60" height="60" aria-hidden="true">
107
+ <line id="triad-x" class="triad__x" x1="0" y1="0" /><line id="triad-y" class="triad__y" x1="0" y1="0" /><line id="triad-z" class="triad__z" x1="0" y1="0" />
108
+ <text id="triad-lx" class="triad__x">X</text><text id="triad-ly" class="triad__y">Y</text><text id="triad-lz" class="triad__z">Z</text>
109
+ </svg>
110
+ <div class="waiting" id="waiting">
111
+ <p class="waiting__line"><span class="arc" aria-hidden="true"></span><span id="waiting-label">Waiting for the model</span></p>
112
+ <p class="waiting__note" id="waiting-note">No model yet. What your agent builds appears here.</p>
113
+ </div>
114
+ <div class="scrim" id="scrim" hidden>
115
+ <div class="card">
116
+ <p class="card__label">Disconnected</p>
117
+ <p class="card__text" id="scrim-text">The session behind this view has ended. What you see is its last model.</p>
118
+ </div>
119
+ </div>
120
+ </main>
121
+
122
+ <footer class="title" aria-label="Status">
123
+ <div class="cell cell--live"><span class="dot" id="dot" aria-hidden="true"></span><span id="engine">ClassCAD</span></div>
124
+ <div class="cell cell--fill" id="doing"></div>
125
+ <div class="cell"><span class="cell__k">Bodies</span><b id="s-bodies">0</b></div>
126
+ <div class="cell cell--wider"><span class="cell__k">Faces</span><b id="s-faces">0</b></div>
127
+ <div class="cell cell--wider"><span class="cell__k">Triangles</span><b id="s-tris">0</b></div>
128
+ <div class="cell"><span class="cell__k">Size</span><b id="s-size">–</b></div>
129
+ <div class="cell cell--wide"><span class="cell__k">Host</span><b id="s-host">–</b></div>
130
+ </footer>
131
+ <div class="tip" id="tip" role="tooltip" hidden></div>
132
+ </div>
133
+ <script type="module" src="/assets/viewer.js" nonce="__NONCE__"></script>
134
+ </body>
135
+ </html>
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright © 2010-2026 three.js authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ three 0.185.1 (MIT), copied at build time