Expand media-streaming, agents, applications, and experimental module APIs.
Add batch helpers, counts, and clear utilities across chunking, ladders, trees, workflows, collab rooms, and economy ledgers. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -245,6 +245,20 @@ class CapabilityManager extends EventEmitter {
|
||||
return n
|
||||
}
|
||||
|
||||
clearIssued () {
|
||||
const n = this.issued.size
|
||||
this.issued.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
clearAll () {
|
||||
return {
|
||||
issued: this.clearIssued(),
|
||||
received: this.clearReceived(),
|
||||
revoked: this.revoked.size
|
||||
}
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return {
|
||||
...this._stats,
|
||||
|
||||
Reference in New Issue
Block a user