[perplexity] WebSocket bridge to Timmy + trim fat (2211→1181 lines) #514
Reference in New Issue
Block a user
Delete Branch "perplexity/ws-agent-bridge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Wire the Nexus 3D client to Timmy's real backend via WebSocket. Replace all fake/simulated agent behaviors with live cognitive state.
Changes
WebSocket Bridge (~80 lines added)
?ws=URL (defaultws://localhost:8765)agent_state,agent_move,chat_response,system_metrics,dual_brain,heartbeatFake Behaviors Removed
simulateAgentThought()deleted (was 38 lines of hardcoded strings)sendChatMessage()no longer fakes responses; routes through WSFat Trimmed (1030 lines cut, 47% reduction)
Line Count
Refs #8