servers icon indicating copy to clipboard operation
servers copied to clipboard

fix: include outgoing relations in open_nodes

Open Limitless2023 opened this issue 9 months ago • 1 comments

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)

Limitless2023 avatar Feb 14 '26 15:02 Limitless2023

Code Review

PR: fix: include outgoing relations in open_nodes by @Limitless2023

  • ✅ Bug/security fix

Wallet: 0xdaE5d307339074A24F579dB48e7c639359D94904

Code review

BossChaos avatar May 17 '26 15:05 BossChaos