servers
servers copied to clipboard
fix: include outgoing relations in open_nodes
Summary
Fix for issue #3137 - open_nodes returns empty relations array even when entities have outgoing relations.
Changes
- Modified openNodes to return outgoing relations (where the entity is the from endpoint) in addition to relations between opened nodes
- Updated tool description to reflect new behavior
- Updated tests to match new expected behavior
Why
Previously, open_nodes only returned relations where both endpoints were in the requested node list. This made it impossible to traverse the graph from specific nodes without reading the entire graph.
Now, when you open a node, you also get its outgoing relations, enabling graph traversal.
Test
All tests pass (42/42)
Code Review
PR: fix: include outgoing relations in open_nodes by @Limitless2023
- ✅ Bug/security fix
Wallet: 0xdaE5d307339074A24F579dB48e7c639359D94904
Code review