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:
@@ -91,6 +91,16 @@ class HyperPearWorkerPipe extends EventEmitter {
|
||||
return n
|
||||
}
|
||||
|
||||
openPipes () {
|
||||
return [...this._pipes.values()].filter((p) => p.open)
|
||||
}
|
||||
|
||||
closeAll () {
|
||||
const ids = [...this._pipes.keys()]
|
||||
for (const id of ids) this.close(id)
|
||||
return ids.length
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return platformStats(this._stats, PROTOCOL, { pipes: this._pipes.size })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user