| … | … | @@ -592,7 +592,12 @@ export async function bootSwarmDevice ({ storage, deviceMnemonic, did, signingKe |
| 592 | 592 | // `blobs` is exposed because an IN-PROCESS consumer needs it: favela-android runs this daemon inside |
| 593 | 593 | // the app, so its UI reaches blobs through the object rather than the `upload-blob`/`get-blob` RPCs the |
| 594 | 594 | // co-located (favela-web over UDS) and remote (bridge over swarm) consumers use. Same store, no surface. |
| 595 | | return { device, sb, did, self, blobs: blobStore, control: serving, membrane: membraneServing, controlSwarm, overlay: recordOverlay, repoRoot, reconcile, close, _sideStore: resyncStore, _statebaseStore: keepLocalStatebase ? sb.store : null } |
| 595 | // `uds` is the LOCAL control socket path (or null if that surface failed to come up). Exposed because |
| 596 | // the co-located consumer needs to NAME it: favela-web reaches this device over that socket, and the |
| 597 | // only alternative is for the caller to re-derive `<storage>/dids/<roomId>/control.sock` from hpp's |
| 598 | // internal directory layout — a private path rebuilt by hand in another repo, which breaks the day this |
| 599 | // moves and surfaces as "writes are disabled" nowhere near the cause. hpp knows the path; hpp says it. |
| 600 | return { device, sb, did, self, blobs: blobStore, control: serving, membrane: membraneServing, controlSwarm, overlay: recordOverlay, repoRoot, reconcile, close, uds: udsServing ? udsServing.uds : null, _sideStore: resyncStore, _statebaseStore: keepLocalStatebase ? sb.store : null } |
| 596 | 601 | } |
| 597 | 602 | |
| 598 | 603 | // ── RESYNC (fresh-corestore re-join) index ──────────────────────────────────────────────────────── |