feat(sim): F4.2 the sim protocol, the simulation room and LocalSimHost; M9 measured
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>
This commit is contained in:
@@ -28,6 +28,8 @@ die Herkunft je Paket. Lizenz dieses Repos: **GPL-3.0** (`LICENSE`).
|
||||
| `packages/core` | Simulationskern: Modell, Ereignis-Warteschlange, Protokolle, Anwendungen — ohne DOM, ohne Node |
|
||||
| `packages/fls` | `.fls` lesen, schreiben, Unbekanntes bewahren |
|
||||
| `packages/doc` | gemeinsames Dokument (Yjs): Projekt ⇄ Dokument, Schnappschuss des Kerns, Hausmeister |
|
||||
| `packages/protocol` | die eine Nachrichtenliste zwischen Editor und Simulationsraum (`/sim`) |
|
||||
| `packages/sim` | Simulationsraum (für Server F und den Web Worker) und `LocalSimHost` |
|
||||
| `packages/editor` | Oberfläche im Iframe des Dashboards *(folgt)* |
|
||||
| `server` | Filius-Dienst auf Server F *(folgt)* |
|
||||
|
||||
@@ -39,6 +41,7 @@ Plan und Entscheidungen: `knowledge/plans/FILIUS_WEB_PLAN.md` im Dashboard.
|
||||
npm install
|
||||
npm run hooks # Sprachprüfung vor jedem Commit (braucht das Dashboard drumherum)
|
||||
npm run check # Typprüfung + Tests
|
||||
npm run test:browser # Tests im echten Browser (Playwright, Chromium aus dem Cache)
|
||||
```
|
||||
|
||||
Code, Kommentare und Testnamen sind englisch; sichtbare Texte stehen hinter
|
||||
|
||||
Reference in New Issue
Block a user