Files
modules/storage-hyperdrive/hyper-p2p-drive-mount-bridge
Raven ScottandCursor a974294e74 Expand storage, transport, routing, agents, and messaging event bus modules
Add session bridge pair management, core replicator policy clear, drive
mount unmount-all, relay tunnel bulk close, compact codec resetStats, peer
bootstrap and noise session listing, graph and disk stripe clear, memetic
clear, retry policy route management, bitfield drain, task orchestrator
cancelAllPending, and distributed event bus topic/unsubscribe helpers.

Co-authored-by: Cursor <[email protected]>
2026-05-21 03:00:55 -04:00
..
2026-05-21 02:00:00 -04:00
2026-05-21 02:00:00 -04:00

hyper-p2p-drive-mount-bridge

Maps local drive path prefixes to remote prefixes with gossip sync; session-scoped mounts pair with hyper-p2p-session-bridge. Hyperswarm gossip when topic is set.

Category: Storage (Hyperdrive)

Composes with: hyper-p2p-session-bridge

Protocol: drive-mount-bridge/v1

When to use

Federated drive trees expose a unified path namespace across peers.

When not to use

Flat drives without mount indirection.

Quick start

const { HyperP2PDriveMountBridge } = require('hyper-p2p-drive-mount-bridge')
const topic = process.argv[2] // 64-char hex or string
const mod = new HyperP2PDriveMountBridge({ topic })
await mod.ready()   // joins swarm when topic set
// ... application logic ...
await mod.close()

Docs

Test

npm install && npm test