codex-memory 0.1.37

An advanced hierarchical memory system for AI agents with MCP integration
Documentation
#!/usr/bin/env python3
"""Test the proxy to see if it's receiving messages"""
import json
import subprocess
import time

# Send a test message to the proxy
test_message = {
    "jsonrpc": "2.0",
    "method": "tools/list",
    "params": {},
    "id": "test_1"
}

print("Testing proxy...")
print(f"Sending: {json.dumps(test_message, indent=2)}")

# Start proxy and send message
proc = subprocess.Popen(
    ['/usr/bin/python3', '/Users/ladvien/codex/mcp_harvest_proxy.py'],
    stdin=subprocess.PIPE,
    stdout=subprocess.PIPE,
    stderr=subprocess.PIPE,
    text=True
)

# Send test message
proc.stdin.write(json.dumps(test_message) + '\n')
proc.stdin.flush()

# Wait for response
time.sleep(2)

# Check stderr for proxy messages
stderr_output = proc.stderr.read()
print("\nProxy debug output:")
print(stderr_output)

# Kill the process
proc.terminate()