packages/protocol holds the one list of /sim messages and checks every field, naming what is wrong. packages/sim has the simulation room for F and the web worker: the document's snapshot at start, the engine's clock on the wall clock with Java's speed as cable delay, subscriptions to cable activity, a card's new frames and a program's new window lines, capture and clock kept over a stop, the command line as first action, a core failure told to every client. LocalSimHost mirrors the document into the worker and back without echo. M9 in Chromium: 17 examples give the same capture as in Node, character for character; the room runs in a real worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
183 B
TypeScript
6 lines
183 B
TypeScript
// The browser's side of M9: the same function on the page.
|
|
|
|
import { traceText } from './traceDigest.js';
|
|
|
|
(globalThis as unknown as { filiusM9: unknown }).filiusM9 = { traceText };
|