Consent hook, outcome observer, web bridge options, the hand-off opener and the torrent backend.
A BridgeRegistry.
createDefaultBridges().forScheme('magnet')?.availability(); // { available: false, reason: 'no-backend' }
createDefaultBridges({ blossomServers: (requester) => serversOf(requester) }).forScheme('blossom')?.id; // 'blossom'
const bridges = createDefaultBridges({ handoff: (uri) => host.openLink(uri) });
bridges.forScheme('magnet')?.availability(); // { available: true, handoff: true }
const inKernl = createDefaultBridges({ handoff, torrent: createWebTorrentBackend({ client }) });
inKernl.forScheme('magnet')?.availability(); // { available: true }
The shell's bridge registry: the web bridge, complete, the Blossom bridge, which fetches through the same web policy and verifies every blob's hash (D-055), plus the downloads, sharing and mail bridges. With a
handoffopener those four hand each locator to an app on the user's device; without one they reportunavailable(D-010). Atorrentbackend replaces the hand-off for magnet links, so they download inside kernl (D-017).