Add features across agents, collab, trust, indexes, and hyperbee.

Manual pass: task cancelTask, workflow topologicalOrder/fail/reset, collab kick/replay, trust trustedPeers and multisig TTL sweep, graph shortestPath, inverted topTerms, dedup filterNew, bee notifyBatch/seekVersion — all with tests.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 01:04:42 -04:00
co-authored by Cursor
parent cb9caad46c
commit b8b815fce6
25 changed files with 386 additions and 6 deletions
@@ -46,3 +46,16 @@ test('watch notify aliases listWatches', async (t) => {
t.is(m.listWatches().length, 1)
await m.close()
})
test('notifyBatch', async (t) => {
const m = new HyperP2PBeeRangeWatch()
let hit = 0
m.watchRange('a', 'z', () => { hit++ })
const n = m.notifyBatch([
{ key: 'b', value: 1 },
{ key: 'c', value: 2 }
])
t.is(n, 2)
t.is(hit, 2)
await m.close()
})