feat(supercomputer,experimental): expand thermal, RAM, disk, paradox APIs

Thermal hottest peer and sample clear, RAM pool reset, disk stripe
missing shards, paradox clock/merge helpers, mycelium top donors.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:33:33 -04:00
co-authored by Cursor
parent d285079522
commit 84bc18bc6e
7 changed files with 78 additions and 0 deletions
@@ -111,6 +111,20 @@ class HyperP2PDiskStripe extends EventEmitter {
return stripe.shards.size / stripe.pathCount
}
dropStripe (stripeId) {
return this._stripes.delete(String(stripeId))
}
missingShards (stripeId) {
const stripe = this._stripes.get(stripeId)
if (!stripe) return []
const out = []
for (let i = 0; i < stripe.pathCount; i++) {
if (!stripe.shards.has(i)) out.push(i)
}
return out
}
getStats () {
return clusterStats(this._stats, PROTOCOL, {
open: this._stripes.size,