Expand media, agents, applications, and messaging module APIs on main.

Adds snapshot(), batch helpers, and clearAll aliases across media-streaming (20), agents-workflows, applications-collab/economy, messaging pubsub/streams/gossip.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 03:58:35 -04:00
co-authored by Cursor
parent 24a9fde231
commit 3b47859bf7
40 changed files with 220 additions and 2 deletions
@@ -91,6 +91,10 @@ class HyperP2PStreamTee extends EventEmitter {
return n
}
snapshot () {
return { branches: this._branches.size }
}
getStats () {
return { ...this._stats, branchCount: this._branches.size, protocol: PROTOCOL }
}