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
@@ -36,3 +36,12 @@ test('getStats', async (t) => {
t.is(m.getStats().created, 1)
await m.close()
})
test('ttl sweep and listProposals', async (t) => {
const m = new HyperP2PMultisigThreshold()
m.createProposal('exp', ['a', 'b'], 2, { expiresAt: Date.now() - 1 })
t.is(m.listProposals().length, 1)
t.is(m.sweepExpired(), 1)
t.is(m.listProposals().length, 0)
await m.close()
})