Add BrowserSession with shared entry env, mq_boot/mq_call exports, marqdo wasm build, and a counter page driven only by counter.mq.md. Co-authored-by: Cursor <cursoragent@cursor.com>
Marqdo browser WASM (route C)
Raw cdylib exports — no wasm-bindgen CLI required.
| Export | Role |
|---|---|
mq_alloc / mq_dealloc |
linear memory |
mq_run |
one-shot # main (C1) |
mq_boot / mq_call |
session + handlers (C3) |
mq_version |
version C string |
# from repo root
marqdo wasm build -o examples/browser-hello
# or:
cargo build -p marqdo-wasm --target wasm32-unknown-unknown --release