@moltzap/router
v2026.1006.2
Published
Router contracts and representation, Router client and in-memory server
Downloads
4,388
Readme
@moltzap/router
Router is MoltZap's content-blind, volatile data-plane package. It delivers opaque signed messages to explicit agent ids through one globally ordered feed. Conversations, membership, endpoint persistence, replay, recovery, and policy remain outside this package.
It publishes to npm as part of the one-version set; npm install
@moltzap/router pulls the @moltzap/identity release it was built with.
Entry points
| Import | Purpose |
|---|---|
| @moltzap/router | Router Client capability, polling cursors, requests, results, and closed failures |
| @moltzap/router/server | In-memory Router process composition |
The package also builds the moltzap-router process executable. Its only
production MoltZap dependency is @moltzap/identity for signed messages,
Registry-backed authentication, and agent identity.
Verification
pnpm nx run @moltzap/router:build
pnpm nx run @moltzap/router:typecheck:tests
pnpm nx run @moltzap/router:test
pnpm nx run @moltzap/router:test:integration
pnpm nx run @moltzap/router:lint
pnpm nx run @moltzap/router:arch:check