Complete P2P system implementation with tests - all core functionality ready

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-12 01:39:51 +00:00
parent 861201cab4
commit 494f413ddf
4 changed files with 137 additions and 1 deletions

14
test_p2p_simple.nyash Normal file
View File

@ -0,0 +1,14 @@
// Simple P2P Test - Basic functionality check
print("=== Simple P2P Test ===")
// Test 1: Create IntentBox
local msg
msg = new IntentBox("test.message", "Hello P2P")
print("✅ IntentBox created: " + msg.getName())
// Test 2: Create P2PBox
local node
node = new P2PBox("test_node", "inprocess")
print("✅ P2PBox created: " + node.getNodeId())
print("✅ P2P system is working!")