Expand experimental, supercomputer, pear, collab, and messaging modules
Add manual API helpers across categories: entropy spiral prune, paradox clock compare/clear, mycelium pool borrow checks, pheromone and memetic batch helpers, phase-shift align, paradox merge all-open, mirror realm clear, work-stealer and thermal clearAll, cache warmBatch, GPU releaseAll, disk stripe completion, pear worker-pipe and channel registry, OTA history clear, import-map has/count, collab whiteboard batch and line locks, cursor presence, gossip mesh publishBatch, dedup allSeen, key rotation revokeAll, similarity LSH embedBatch, and bandwidth offer listing. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -73,6 +73,20 @@ class HyperP2PPhaseShiftClock extends EventEmitter {
|
||||
return max
|
||||
}
|
||||
|
||||
alignToPeer (peer) {
|
||||
const remote = this._peerPhases.get(peer)
|
||||
if (remote == null) return this._phaseMs
|
||||
this._phaseMs = remote
|
||||
this.emit('align', { peer, phaseMs: this._phaseMs })
|
||||
return this._phaseMs
|
||||
}
|
||||
|
||||
clearPeerPhases () {
|
||||
const n = this._peerPhases.size
|
||||
this._peerPhases.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
_gossip (data) {
|
||||
if (!this._peerMsgs) return
|
||||
gossipSend(this, data)
|
||||
|
||||
Reference in New Issue
Block a user