swactor/docs/development_history/in-browser
Claude 82e72ff235 feat: generic browser runtime API with typed handles (Stage 2)
Evolved crates/wasm/ from hardcoded PoC to a generic browser runtime:
- WasmRuntime: wraps Runtime, provides tick/send/stop/stats/inbox creation
- WasmAddr: opaque actor address handle for JS (replaces fragile indices)
- WasmInboxU32, WasmInboxBytes: typed inboxes for receiving actor results
- Free-standing spawn_counter/spawn_relay demonstrate the actor pattern
- 10 Node.js tests pass (accumulator, relay, multi-counter, stop, bytes)

Authored by Claude, lovingly guided by Zachery Aaron Shores-Chmielewski
2026-02-13 20:20:09 +07:00
..
BROWSER_RUNTIME.md feat: generic browser runtime API with typed handles (Stage 2) 2026-02-13 20:20:09 +07:00
PLATFORM_ABSTRACTION.md feat: platform abstraction layer for wasm32 compilation (Stage 1) 2026-02-13 20:20:09 +07:00