Expand supercomputer, pear, storage, network, and workflow modules

Add manual API helpers across categories: net gateway capacity,
compute shard plan cancel, ram pool lease release, pear target matrix
and bundle/detached registry clears, argv flag reset, autobase writer
full/slots, view sync isSynced, indexer bus batch publish, inverted
index clear, blind relay and DHT hint listing, blind pair handoff
cleanup, retransmission resolve all, version vector and OR-map clear,
workflow graph complete-all-ready, and wire registry decode batch.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:48:14 -04:00
co-authored by Cursor
parent a8d1430ce9
commit 78ea930da6
21 changed files with 205 additions and 2 deletions
@@ -115,6 +115,17 @@ class HyperP2PInvertedIndex extends EventEmitter {
return ranked.slice(0, Math.max(0, limit | 0))
}
termCount () {
return this._terms.size
}
clearAll () {
const docs = this._docs.size
this._terms.clear()
this._docs.clear()
return docs
}
_gossip (data) {
if (!this._peerMsgs) return
gossipSend(this, data)