Offload functions to worker threads with shared memory primitives for Node.js.

refactor: rename sync protocol to shared (Symbol, markers) master

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>