Declare major and minor once at admission and preserve each session's numbers beside its signing key. Equal majors admit different minors; incompatible majors reject before consuming launch authority and identify the older side. App discovery, Native readiness and Web diagnostics keep that direction. Resolve build identity before compilation. Browser values and displayed version share the same build input; the Node SDK reads its actual WASM version. Remove the two private wire identifiers without aliases for obsolete internal builds. Basis: the accepted compatibility rule in Versioning and ADR-0017. Validated Core, Web/WASM, Windows reader and App discovery controls. Real packaged SDK 3.0 and 3.1 each completed signed conversation and private-room history against the other Linux Server minor. Browser/App mixed-artifact acceptance remains open.
Browser room adapter
The shared Rust core RoomHost owns room commands, authorized views and history operations. IndexedDB supplies
transactional storage; shared Rust prepares confirmations and history pages.
The caller supplies authenticated domain member facts, without a credential database,
and delivers its returned projection/reply after commit. Vite resolves this adapter
into the 3.0 frontend bundle; regular 2.x builds do not require generated WASM.
Chat and history reach the room host over the authenticated domain connection
and use that same serialized storage turn. The shared Rust core verifies their
origin and current room authority before execution; reading does not wait for P2P.
The same module exposes incremental attachment hashing and the shared file-range
engine. Browser adapters supply readable Files, temporary OPFS sinks and existing
peer DataChannels; they do not implement another route or transfer controller.
The current room binding also owns writes to the room store. Claiming it reloads policy in the same IndexedDB transaction; old pages cannot overwrite a successor. Concurrent takeover rejects the conflicting instance. Reconnect opens the saved room again rather than letting that instance reclaim it. This uses IndexedDB's transaction scheduling, without holding a page-wide lock or adding a separate lease service.
Requires the repository's Rust/Node environment, wasm32-unknown-unknown,
wasm-bindgen CLI 0.2.129, and a browser available to agent-browser.
Set AGENT_BROWSER_EXECUTABLE_PATH to use an installed Chrome executable.
Set WASM_BINDGEN to the CLI path if it is outside PATH. From the repository root:
node prototype/channel-browser/build.mjs
npx tsc -p prototype/channel-browser/tsconfig.json
node prototype/channel-browser/check.mjs
To build the standalone frontend, install cargo-about 0.9.3 and run the shared build entry point. It generates the adapter, Web/WASM notices and Vite bundle:
node scripts/build-channel-web.mjs
The ignored build/channel-web/ directory contains the HTML, styles, JavaScript
and WASM. The
Rust service can serve this directory directly.
A separate web host must serve index.html for /,
route the existing /prototype/channel WebSocket to the domain service on the
same origin, and serve WASM as application/wasm.
Node, Vite and the WASM tools are build dependencies; the deployed App or Server
needs no Node runtime or source-file routes.
pkg/ and Cargo target/ are generated and ignored. The finite check owns its
loopback server and isolated browser session, then closes both. Evidence stays under
build/channel-browser-check/. It tests real WASM and IndexedDB, including
reopen, original nonce confirmation, abort after insert success and pagination.
Browser-hosted rooms deliver files through their base paths; no file bytes go to
the domain. This adapter does not provide a second room UI or file service.