Expand category docs and module APIs across the library.

Manual pass adds helpers (listChannels, taskCounts, openProposals), richer getStats with protocol fields, category README hubs, and tightened api.md for core, messaging, network, routing, supercomputer, and consensus modules.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 00:54:19 -04:00
co-authored by Cursor
parent e67097f62b
commit 17876e6284
75 changed files with 1534 additions and 2462 deletions
@@ -73,6 +73,12 @@ class HyperP2PTopicChannel extends EventEmitter {
return this._retained.get(channel) || null
}
listChannels () { return [...this._subs.keys()] }
hasSubscription (channel) { return this._subs.has(channel) }
retainedCount () { return this._retained.size }
_deliverLocal (channel, payload, meta) {
const handler = this._subs.get(channel)
if (handler) {