Expand network, consensus, observability, storage, and pear modules

Add manual helpers across connection pool release/close, health probe
clear and peer listing, quorum and distributed lock bulk operations,
session rotation revoke-all, reputation peer reset, flow shaper flush,
circuit breaker reset-all, RPC unregister and pending count, seeder
registry topic management, activity queue clear, semantic vector remove,
core priority fetch pending clear, trust gate untrust-all, and process
spawn kill-all.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:53:38 -04:00
co-authored by Cursor
parent 61abf1d069
commit 105e69eb7b
20 changed files with 228 additions and 2 deletions
@@ -207,6 +207,23 @@ class HyperP2PActivityQueue extends EventEmitter {
return n
}
clearAll () {
const pending = this._queue.length
const claimed = this._claimed.size
const dead = this._deadLetter.length
this._queue = []
this._claimed.clear()
this._deadLetter = []
this._dedupe.clear()
return { pending, claimed, dead }
}
drainDeadLetters () {
const out = [...this._deadLetter]
this._deadLetter = []
return out
}
getStats () {
return {
...this._stats,