Expand consensus, agents, indexes, economy, pear, and observability modules

Add raft clearLog and logEntryAt, workflow nodeIds and failAllPending,
runtime session endAllActive, message envelope resetStats, trie removeBatch,
fulltext and marketplace clear helpers, credit accountCount, trace span
bulk end, link probe clearAll, import map clearAll, grow-only set clearAll,
and geo router peer listing utilities.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:58:47 -04:00
co-authored by Cursor
parent 5a24a4eec8
commit de7dcc38be
13 changed files with 116 additions and 0 deletions
@@ -60,6 +60,14 @@ class HyperP2PRaftLite extends EventEmitter {
return removed
}
clearLog () {
return this.truncateLog(0)
}
logEntryAt (index) {
return this._log[index] || null
}
currentTerm () {
return this._currentTerm
}