pcbjam/web/standalone/src/wasm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 8de7695f28
feat: load-path §5 client — gateway transport behind the YjsProvider seam
One websocket per project (GatewayConnection, refcounted per endpoint+project,
single reconnect ladder) with per-doc facades: a mini y-websocket client over
varint-channel-tagged frames (y-protocols sync + awareness, own Awareness per
facade so skeleton presence stays per-room). connectProvider's partykit kind
routes every parseable board/presence room through the gateway; the per-room
dial remains only for unparseable operator rooms.

Laziness contract (0001 §5 amendment): sheet-manager warms the hierarchy with
PASSIVE subscriptions — no SyncStep1, no BoardRoom wake; touched hints drive
the parked dirty flag; doSwitch awaits the new provider.activate() sync
barrier before bind/seed; syncLayoutFromSave activates before writing; a stray
local write into a passive doc auto-activates. suberr (invalid-file 409,
presence 403) surfaces as CollabSubRejectedError — terminal in the switch
retry ladder like SexprVersionError, ending the old blind re-dial.

Verified: standalone 346 unit tests green (10 new facade tests incl. the
no-doc-frame passive pin); browser on the dev stack: pcbnew demo = 1 gateway
socket / 0 board-rooms with live collab, eeschema Arduino Leonardo = 2 sockets
total, sub table presence+root active / 3 children passive. tests/web: no
regressions (4 failures reproduced identically without this diff —
pre-existing on the JSPI line; 1 parallel-load flake passes alone).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VLSht9cadprtT2mhynawWu
2026-08-18 14:02:40 +02:00
..
collab feat: load-path §5 client — gateway transport behind the YjsProvider seam 2026-08-18 14:02:40 +02:00
libs feat: consume the boot payload (load-path-rework 0001 §6, client) 2026-08-18 12:17:29 +02:00
themes comments-ux: figma bubble pins, floating panel, seen/reactions/mentions UI, theme follow (0001 A–E + 0002) 2026-07-24 13:21:22 +02:00
boot.test.ts fix(editor): boot fan-out — parallel presync/doc-room/files, lib-editor enumerate gate, My Symbols 409 (load-ux 0003) 2026-07-30 10:37:12 +02:00
boot.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
constants.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
fatal-screen.ts feat(editor): console copy button + collapsible DOM-floor console + one blue family 2026-08-01 19:50:01 +02:00
gerber-set.test.ts fix(load): close the dispatch-interlock hole at open + open gerbers from a project route 2026-07-30 19:08:57 +02:00
global.d.ts feat(editor): File→Quit navigates back to the project page 2026-07-08 18:19:24 +02:00
kicad-runner.test.ts fix(editor): boot fan-out — parallel presync/doc-room/files, lib-editor enumerate gate, My Symbols 409 (load-ux 0003) 2026-07-30 10:37:12 +02:00
kicad-runner.ts feat: consume the boot payload (load-path-rework 0001 §6, client) 2026-08-18 12:17:29 +02:00
load-trace.test.ts chore(editor): load timeline with heap tracking, dumped on any fatal 2026-07-31 11:47:14 +02:00
load-trace.ts chore(editor): load timeline with heap tracking, dumped on any fatal 2026-07-31 11:47:14 +02:00
mailbox.test.ts mailbox S1: shim delivery tick, embind audit, app-side WasmMailbox 2026-08-10 10:14:12 +02:00
mailbox.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
ngspice-service.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
ngspice-worker.js jspi: fix the dead-tools ownership bug, emscripten-6 fallout, and green the full suite on Playwright 1.62 2026-08-13 17:41:28 +02:00
occ-service.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
occ-worker.js jspi: fix the dead-tools ownership bug, emscripten-6 fallout, and green the full suite on Playwright 1.62 2026-08-13 17:41:28 +02:00
open-flow.test.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
open-flow.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
project-stage-sync.test.ts feat: consume the boot payload (load-path-rework 0001 §6, client) 2026-08-18 12:17:29 +02:00
save-flow.test.ts feat(ysync): lib_symbols travel + layout save-sync (miss 08), TS hot-path opts (12), diff-on-rebind adopt (13) — doc 18 2026-07-06 08:57:58 +02:00
save-flow.ts feat(ysync): lib_symbols travel + layout save-sync (miss 08), TS hot-path opts (12), diff-on-rebind adopt (13) — doc 18 2026-07-06 08:57:58 +02:00
scheduler-shim.test.ts jspi cleanup: remove the asyncify-era residue — dead code, conditionals, pipeline scaffolding, stale prose 2026-08-14 09:25:32 +02:00
terminal-error.test.ts feat(editor): report uncaught errors to Better Stack 2026-08-03 12:24:30 +02:00
terminal-error.ts feat(editor): report uncaught errors to Better Stack 2026-08-03 12:24:30 +02:00
touch-gestures.test.ts feat(mobile): canvas-only mobile mode — pinch-zoom/pan/tap gestures + chrome-less editors 2026-07-09 16:15:37 +02:00
touch-gestures.ts feat(mobile): canvas-only mobile mode — pinch-zoom/pan/tap gestures + chrome-less editors 2026-07-09 16:15:37 +02:00
wasm-assets.test.ts feat: standalone download-consent gate + truthful loading states (standalone-load-ux 0001/0002) 2026-07-29 07:48:25 +02:00
wasm-assets.ts feat: standalone download-consent gate + truthful loading states (standalone-load-ux 0001/0002) 2026-07-29 07:48:25 +02:00